tapimo 0.5.0 → 0.5.2

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 (197) hide show
  1. package/dist/App.d.ts +4854 -4829
  2. package/dist/App.d.ts.map +1 -1
  3. package/dist/App.js +20 -2
  4. package/dist/App.js.map +1 -1
  5. package/dist/Assets.js +3 -3
  6. package/dist/Assets.js.map +1 -1
  7. package/dist/Scope.d.ts.map +1 -1
  8. package/dist/Scope.js +1 -2
  9. package/dist/Scope.js.map +1 -1
  10. package/dist/Webhooks.d.ts +1 -1
  11. package/dist/Webhooks.d.ts.map +1 -1
  12. package/dist/Webhooks.js +5 -10
  13. package/dist/Webhooks.js.map +1 -1
  14. package/dist/admin/App.d.ts +6 -34
  15. package/dist/admin/App.d.ts.map +1 -1
  16. package/dist/admin/apps/api-keys.d.ts +3 -3
  17. package/dist/admin/apps/api-keys.d.ts.map +1 -1
  18. package/dist/admin/apps/api-keys.js +4 -1
  19. package/dist/admin/apps/api-keys.js.map +1 -1
  20. package/dist/admin/apps/scopes.d.ts +6 -34
  21. package/dist/admin/apps/scopes.d.ts.map +1 -1
  22. package/dist/admin/apps/scopes.js +2 -2
  23. package/dist/admin/apps/scopes.js.map +1 -1
  24. package/dist/admin/apps/verified-tokens.d.ts +2 -2
  25. package/dist/admin/ui.generated.d.ts +1 -1
  26. package/dist/admin/ui.generated.js +33 -33
  27. package/dist/admin/ui.generated.js.map +1 -1
  28. package/dist/apps/data/App.d.ts +1398 -1405
  29. package/dist/apps/data/App.d.ts.map +1 -1
  30. package/dist/apps/data/App.js +25 -38
  31. package/dist/apps/data/App.js.map +1 -1
  32. package/dist/apps/data/FundingQuoteProviders.d.ts +108 -3
  33. package/dist/apps/data/FundingQuoteProviders.d.ts.map +1 -1
  34. package/dist/apps/data/FundingQuoteProviders.js +409 -2
  35. package/dist/apps/data/FundingQuoteProviders.js.map +1 -1
  36. package/dist/apps/data/routes/activities.d.ts +245 -245
  37. package/dist/apps/data/routes/blocks.d.ts +123 -123
  38. package/dist/apps/data/routes/funding.d.ts +236 -146
  39. package/dist/apps/data/routes/funding.d.ts.map +1 -1
  40. package/dist/apps/data/routes/funding.js +23 -12
  41. package/dist/apps/data/routes/funding.js.map +1 -1
  42. package/dist/apps/data/routes/indexer.d.ts.map +1 -1
  43. package/dist/apps/data/routes/indexer.js +9 -2
  44. package/dist/apps/data/routes/indexer.js.map +1 -1
  45. package/dist/apps/data/routes/rpc.d.ts +31 -31
  46. package/dist/apps/data/routes/tokenlist.d.ts +36 -36
  47. package/dist/apps/data/routes/transactions.d.ts +281 -281
  48. package/dist/apps/data/routes/transfers.d.ts +66 -73
  49. package/dist/apps/data/routes/transfers.d.ts.map +1 -1
  50. package/dist/apps/data/routes/transfers.js +21 -27
  51. package/dist/apps/data/routes/transfers.js.map +1 -1
  52. package/dist/apps/data/routes/verified-tokens.d.ts +86 -86
  53. package/dist/apps/data/routes/webhooks.d.ts +35 -35
  54. package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
  55. package/dist/apps/data/routes/webhooks.js +176 -42
  56. package/dist/apps/data/routes/webhooks.js.map +1 -1
  57. package/dist/apps/management/App.d.ts +520 -504
  58. package/dist/apps/management/App.d.ts.map +1 -1
  59. package/dist/apps/management/Billing.d.ts.map +1 -1
  60. package/dist/apps/management/Billing.js +5 -4
  61. package/dist/apps/management/Billing.js.map +1 -1
  62. package/dist/apps/management/routes/api-keys.d.ts +120 -120
  63. package/dist/apps/management/routes/billing.d.ts +211 -211
  64. package/dist/apps/management/routes/billing.d.ts.map +1 -1
  65. package/dist/apps/management/routes/billing.js +1 -1
  66. package/dist/apps/management/routes/billing.js.map +1 -1
  67. package/dist/apps/management/routes/invitations.d.ts +72 -72
  68. package/dist/apps/management/routes/invite-links.d.ts +159 -159
  69. package/dist/apps/management/routes/me.d.ts +17 -17
  70. package/dist/apps/management/routes/members.d.ts +80 -80
  71. package/dist/apps/management/routes/orgs.d.ts +59 -43
  72. package/dist/apps/management/routes/orgs.d.ts.map +1 -1
  73. package/dist/apps/management/routes/orgs.js +18 -1
  74. package/dist/apps/management/routes/orgs.js.map +1 -1
  75. package/dist/apps/management/routes/projects.d.ts +109 -109
  76. package/dist/apps/management/routes/scopes.d.ts +11 -11
  77. package/dist/apps/management/routes/usage.d.ts +79 -79
  78. package/dist/apps/mcp.js +2 -2
  79. package/dist/apps/mcp.js.map +1 -1
  80. package/dist/apps/relay/App.d.ts +2 -2
  81. package/dist/apps/relay/App.js +2 -2
  82. package/dist/apps/relay/Sponsorships.d.ts +3 -0
  83. package/dist/apps/relay/Sponsorships.d.ts.map +1 -1
  84. package/dist/apps/relay/Sponsorships.js +15 -1
  85. package/dist/apps/relay/Sponsorships.js.map +1 -1
  86. package/dist/db/Db.d.ts.map +1 -1
  87. package/dist/db/Db.js +4 -0
  88. package/dist/db/Db.js.map +1 -1
  89. package/dist/db/Schema.js +1 -1
  90. package/dist/db/Schema.js.map +1 -1
  91. package/dist/db/tables/organizations.d.ts +6 -0
  92. package/dist/db/tables/organizations.d.ts.map +1 -1
  93. package/dist/db/tables/organizations.js +26 -0
  94. package/dist/db/tables/organizations.js.map +1 -1
  95. package/dist/db/tables/requestUsage.d.ts +2 -11
  96. package/dist/db/tables/requestUsage.d.ts.map +1 -1
  97. package/dist/db/tables/requestUsage.js +1 -20
  98. package/dist/db/tables/requestUsage.js.map +1 -1
  99. package/dist/db/tables/sponsoredTransactions.d.ts +2 -1
  100. package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -1
  101. package/dist/db/tables/sponsoredTransactions.js +52 -10
  102. package/dist/db/tables/sponsoredTransactions.js.map +1 -1
  103. package/dist/internal/Auth.d.ts +4 -0
  104. package/dist/internal/Auth.d.ts.map +1 -1
  105. package/dist/internal/Auth.js +15 -8
  106. package/dist/internal/Auth.js.map +1 -1
  107. package/dist/internal/Cache.d.ts.map +1 -1
  108. package/dist/internal/Cache.js +9 -1
  109. package/dist/internal/Cache.js.map +1 -1
  110. package/dist/internal/EdgeCache.d.ts.map +1 -1
  111. package/dist/internal/EdgeCache.js +12 -3
  112. package/dist/internal/EdgeCache.js.map +1 -1
  113. package/dist/internal/FundingQuotes.d.ts +176 -56
  114. package/dist/internal/FundingQuotes.d.ts.map +1 -1
  115. package/dist/internal/FundingQuotes.js +100 -5
  116. package/dist/internal/FundingQuotes.js.map +1 -1
  117. package/dist/internal/Log.d.ts +18 -12
  118. package/dist/internal/Log.d.ts.map +1 -1
  119. package/dist/internal/Log.js +2 -0
  120. package/dist/internal/Log.js.map +1 -1
  121. package/dist/internal/RateLimit.d.ts +2 -0
  122. package/dist/internal/RateLimit.d.ts.map +1 -1
  123. package/dist/internal/RateLimit.js +4 -4
  124. package/dist/internal/RateLimit.js.map +1 -1
  125. package/dist/internal/Tidx.d.ts +9 -3
  126. package/dist/internal/Tidx.d.ts.map +1 -1
  127. package/dist/internal/Tidx.js +13 -7
  128. package/dist/internal/Tidx.js.map +1 -1
  129. package/dist/internal/Viem.d.ts +14 -1
  130. package/dist/internal/Viem.d.ts.map +1 -1
  131. package/dist/internal/Viem.js +19 -1
  132. package/dist/internal/Viem.js.map +1 -1
  133. package/package.json +7 -2
  134. package/src/ApiKeys.test.ts +2 -0
  135. package/src/App.test.ts +15 -4
  136. package/src/App.ts +31 -5
  137. package/src/Assets.ts +3 -3
  138. package/src/Client.test-d.ts +30 -3
  139. package/src/Scope.ts +4 -2
  140. package/src/Webhooks.ts +5 -10
  141. package/src/admin/apps/api-keys.test.ts +27 -0
  142. package/src/admin/apps/api-keys.ts +8 -1
  143. package/src/admin/apps/scopes.test.ts +7 -2
  144. package/src/admin/apps/scopes.ts +2 -2
  145. package/src/admin/ui/src/components/Dialog.tsx +8 -2
  146. package/src/admin/ui/src/lib/scopes.test.ts +19 -0
  147. package/src/admin/ui/src/lib/scopes.ts +12 -0
  148. package/src/admin/ui/src/routes/api-keys.tsx +128 -27
  149. package/src/admin/ui.generated.ts +33 -33
  150. package/src/apps/composition.test.ts +77 -0
  151. package/src/apps/data/App.ts +25 -45
  152. package/src/apps/data/FundingQuoteProviders.test.ts +615 -5
  153. package/src/apps/data/FundingQuoteProviders.ts +570 -4
  154. package/src/apps/data/routes/funding.test.ts +181 -7
  155. package/src/apps/data/routes/funding.ts +27 -12
  156. package/src/apps/data/routes/indexer.test.ts +82 -20
  157. package/src/apps/data/routes/indexer.ts +8 -2
  158. package/src/apps/data/routes/tokens.test.ts +54 -0
  159. package/src/apps/data/routes/transfers.test.ts +73 -1
  160. package/src/apps/data/routes/transfers.ts +24 -30
  161. package/src/apps/data/routes/webhooks.test.ts +203 -0
  162. package/src/apps/data/routes/webhooks.ts +191 -54
  163. package/src/apps/management/Billing.test.ts +52 -3
  164. package/src/apps/management/Billing.ts +5 -4
  165. package/src/apps/management/routes/billing.ts +6 -1
  166. package/src/apps/management/routes/orgs.ts +19 -1
  167. package/src/apps/mcp.test.ts +18 -0
  168. package/src/apps/mcp.ts +2 -2
  169. package/src/apps/relay/App.test.ts +6 -5
  170. package/src/apps/relay/App.ts +2 -2
  171. package/src/apps/relay/Sponsorships.test.ts +2 -2
  172. package/src/apps/relay/Sponsorships.ts +24 -1
  173. package/src/db/Db.test.ts +5 -5
  174. package/src/db/Db.ts +4 -0
  175. package/src/db/Schema.ts +1 -1
  176. package/src/db/tables/billingSettings.test.ts +2 -2
  177. package/src/db/tables/organizations.test.ts +32 -2
  178. package/src/db/tables/organizations.ts +28 -0
  179. package/src/db/tables/requestUsage.ts +3 -23
  180. package/src/db/tables/sponsoredTransactions.test.ts +60 -2
  181. package/src/db/tables/sponsoredTransactions.ts +67 -21
  182. package/src/db/tables/stripeCustomers.test.ts +2 -2
  183. package/src/internal/Auth.test.ts +63 -10
  184. package/src/internal/Auth.ts +21 -9
  185. package/src/internal/Cache.test.ts +19 -0
  186. package/src/internal/Cache.ts +13 -1
  187. package/src/internal/EdgeCache.test.ts +40 -0
  188. package/src/internal/EdgeCache.ts +11 -3
  189. package/src/internal/FundingQuotes.test.ts +130 -3
  190. package/src/internal/FundingQuotes.ts +113 -6
  191. package/src/internal/Log.ts +21 -14
  192. package/src/internal/RateLimit.test.ts +12 -0
  193. package/src/internal/RateLimit.ts +4 -4
  194. package/src/internal/Tidx.test.ts +48 -0
  195. package/src/internal/Tidx.ts +21 -7
  196. package/src/internal/Viem.test.ts +46 -0
  197. package/src/internal/Viem.ts +34 -1
@@ -79,38 +79,38 @@ export declare function management(options?: management.Options): import("hono/h
79
79
  $get: {
80
80
  output: {
81
81
  error: {
82
- code: "api_key_malformed";
82
+ code: "upstream_error";
83
83
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
84
84
  message: string;
85
85
  };
86
86
  requestId: string;
87
87
  };
88
88
  outputFormat: "json";
89
- status: 400;
89
+ status: 502;
90
90
  input: {};
91
91
  } | {
92
92
  output: {
93
93
  error: {
94
- code: "api_key_invalid" | "api_key_missing";
94
+ code: "api_key_malformed";
95
95
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
96
96
  message: string;
97
97
  };
98
98
  requestId: string;
99
99
  };
100
100
  outputFormat: "json";
101
- status: 401;
101
+ status: 400;
102
102
  input: {};
103
103
  } | {
104
104
  output: {
105
105
  error: {
106
- code: "upstream_error";
106
+ code: "api_key_invalid" | "api_key_missing";
107
107
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
108
108
  message: string;
109
109
  };
110
110
  requestId: string;
111
111
  };
112
112
  outputFormat: "json";
113
- status: 502;
113
+ status: 401;
114
114
  input: {};
115
115
  } | {
116
116
  output: {
@@ -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: "api_key_malformed";
220
+ code: "upstream_error";
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: 400;
227
+ status: 502;
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_invalid" | "api_key_missing";
244
+ code: "api_key_malformed";
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: 401;
251
+ status: 400;
252
252
  input: {
253
253
  param: {
254
254
  orgId: string;
@@ -265,14 +265,14 @@ export declare function management(options?: management.Options): import("hono/h
265
265
  } | {
266
266
  output: {
267
267
  error: {
268
- code: "api_key_forbidden";
268
+ code: "api_key_invalid" | "api_key_missing";
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: 403;
275
+ status: 401;
276
276
  input: {
277
277
  param: {
278
278
  orgId: string;
@@ -289,14 +289,14 @@ export declare function management(options?: management.Options): import("hono/h
289
289
  } | {
290
290
  output: {
291
291
  error: {
292
- code: "payment_required" | "rate_limit_exceeded";
292
+ code: "api_key_forbidden";
293
293
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
294
294
  message: string;
295
295
  };
296
296
  requestId: string;
297
297
  };
298
298
  outputFormat: "json";
299
- status: 429;
299
+ status: 403;
300
300
  input: {
301
301
  param: {
302
302
  orgId: string;
@@ -313,14 +313,14 @@ export declare function management(options?: management.Options): import("hono/h
313
313
  } | {
314
314
  output: {
315
315
  error: {
316
- code: "query_invalid";
316
+ code: "payment_required" | "rate_limit_exceeded";
317
317
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
318
318
  message: string;
319
319
  };
320
320
  requestId: string;
321
321
  };
322
322
  outputFormat: "json";
323
- status: 400;
323
+ status: 429;
324
324
  input: {
325
325
  param: {
326
326
  orgId: string;
@@ -337,14 +337,14 @@ export declare function management(options?: management.Options): import("hono/h
337
337
  } | {
338
338
  output: {
339
339
  error: {
340
- code: "upstream_error";
340
+ code: "query_invalid";
341
341
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
342
342
  message: string;
343
343
  };
344
344
  requestId: string;
345
345
  };
346
346
  outputFormat: "json";
347
- status: 502;
347
+ status: 400;
348
348
  input: {
349
349
  param: {
350
350
  orgId: string;
@@ -361,14 +361,14 @@ export declare function management(options?: management.Options): import("hono/h
361
361
  } | {
362
362
  output: {
363
363
  error: {
364
- code: "param_invalid";
364
+ code: "organization_not_found";
365
365
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
366
366
  message: string;
367
367
  };
368
368
  requestId: string;
369
369
  };
370
370
  outputFormat: "json";
371
- status: 400;
371
+ status: 404;
372
372
  input: {
373
373
  param: {
374
374
  orgId: string;
@@ -385,14 +385,14 @@ export declare function management(options?: management.Options): import("hono/h
385
385
  } | {
386
386
  output: {
387
387
  error: {
388
- code: "organization_not_found";
388
+ code: "param_invalid";
389
389
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
390
390
  message: string;
391
391
  };
392
392
  requestId: string;
393
393
  };
394
394
  outputFormat: "json";
395
- status: 404;
395
+ status: 400;
396
396
  input: {
397
397
  param: {
398
398
  orgId: string;
@@ -484,14 +484,14 @@ export declare function management(options?: management.Options): import("hono/h
484
484
  $get: {
485
485
  output: {
486
486
  error: {
487
- code: "api_key_malformed";
487
+ code: "upstream_error";
488
488
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
489
489
  message: string;
490
490
  };
491
491
  requestId: string;
492
492
  };
493
493
  outputFormat: "json";
494
- status: 400;
494
+ status: 502;
495
495
  input: {
496
496
  param: {
497
497
  orgId: string;
@@ -508,14 +508,14 @@ export declare function management(options?: management.Options): import("hono/h
508
508
  } | {
509
509
  output: {
510
510
  error: {
511
- code: "api_key_invalid" | "api_key_missing";
511
+ code: "api_key_malformed";
512
512
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
513
513
  message: string;
514
514
  };
515
515
  requestId: string;
516
516
  };
517
517
  outputFormat: "json";
518
- status: 401;
518
+ status: 400;
519
519
  input: {
520
520
  param: {
521
521
  orgId: string;
@@ -532,14 +532,14 @@ export declare function management(options?: management.Options): import("hono/h
532
532
  } | {
533
533
  output: {
534
534
  error: {
535
- code: "api_key_forbidden";
535
+ code: "api_key_invalid" | "api_key_missing";
536
536
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
537
537
  message: string;
538
538
  };
539
539
  requestId: string;
540
540
  };
541
541
  outputFormat: "json";
542
- status: 403;
542
+ status: 401;
543
543
  input: {
544
544
  param: {
545
545
  orgId: string;
@@ -556,14 +556,14 @@ export declare function management(options?: management.Options): import("hono/h
556
556
  } | {
557
557
  output: {
558
558
  error: {
559
- code: "payment_required" | "rate_limit_exceeded";
559
+ code: "api_key_forbidden";
560
560
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
561
561
  message: string;
562
562
  };
563
563
  requestId: string;
564
564
  };
565
565
  outputFormat: "json";
566
- status: 429;
566
+ status: 403;
567
567
  input: {
568
568
  param: {
569
569
  orgId: string;
@@ -580,14 +580,14 @@ export declare function management(options?: management.Options): import("hono/h
580
580
  } | {
581
581
  output: {
582
582
  error: {
583
- code: "query_invalid";
583
+ code: "payment_required" | "rate_limit_exceeded";
584
584
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
585
585
  message: string;
586
586
  };
587
587
  requestId: string;
588
588
  };
589
589
  outputFormat: "json";
590
- status: 400;
590
+ status: 429;
591
591
  input: {
592
592
  param: {
593
593
  orgId: string;
@@ -604,14 +604,14 @@ export declare function management(options?: management.Options): import("hono/h
604
604
  } | {
605
605
  output: {
606
606
  error: {
607
- code: "upstream_error";
607
+ code: "query_invalid";
608
608
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
609
609
  message: string;
610
610
  };
611
611
  requestId: string;
612
612
  };
613
613
  outputFormat: "json";
614
- status: 502;
614
+ status: 400;
615
615
  input: {
616
616
  param: {
617
617
  orgId: string;
@@ -628,14 +628,14 @@ export declare function management(options?: management.Options): import("hono/h
628
628
  } | {
629
629
  output: {
630
630
  error: {
631
- code: "param_invalid";
631
+ code: "organization_not_found";
632
632
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
633
633
  message: string;
634
634
  };
635
635
  requestId: string;
636
636
  };
637
637
  outputFormat: "json";
638
- status: 400;
638
+ status: 404;
639
639
  input: {
640
640
  param: {
641
641
  orgId: string;
@@ -652,14 +652,14 @@ export declare function management(options?: management.Options): import("hono/h
652
652
  } | {
653
653
  output: {
654
654
  error: {
655
- code: "organization_not_found";
655
+ code: "param_invalid";
656
656
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
657
657
  message: string;
658
658
  };
659
659
  requestId: string;
660
660
  };
661
661
  outputFormat: "json";
662
- status: 404;
662
+ status: 400;
663
663
  input: {
664
664
  param: {
665
665
  orgId: string;
@@ -706,14 +706,14 @@ export declare function management(options?: management.Options): import("hono/h
706
706
  $get: {
707
707
  output: {
708
708
  error: {
709
- code: "api_key_malformed";
709
+ code: "upstream_error";
710
710
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
711
711
  message: string;
712
712
  };
713
713
  requestId: string;
714
714
  };
715
715
  outputFormat: "json";
716
- status: 400;
716
+ status: 502;
717
717
  input: {
718
718
  param: {
719
719
  orgId: string;
@@ -722,14 +722,14 @@ export declare function management(options?: management.Options): import("hono/h
722
722
  } | {
723
723
  output: {
724
724
  error: {
725
- code: "api_key_invalid" | "api_key_missing";
725
+ code: "api_key_malformed";
726
726
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
727
727
  message: string;
728
728
  };
729
729
  requestId: string;
730
730
  };
731
731
  outputFormat: "json";
732
- status: 401;
732
+ status: 400;
733
733
  input: {
734
734
  param: {
735
735
  orgId: string;
@@ -738,14 +738,14 @@ export declare function management(options?: management.Options): import("hono/h
738
738
  } | {
739
739
  output: {
740
740
  error: {
741
- code: "api_key_forbidden";
741
+ code: "api_key_invalid" | "api_key_missing";
742
742
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
743
743
  message: string;
744
744
  };
745
745
  requestId: string;
746
746
  };
747
747
  outputFormat: "json";
748
- status: 403;
748
+ status: 401;
749
749
  input: {
750
750
  param: {
751
751
  orgId: string;
@@ -754,14 +754,14 @@ export declare function management(options?: management.Options): import("hono/h
754
754
  } | {
755
755
  output: {
756
756
  error: {
757
- code: "payment_required" | "rate_limit_exceeded";
757
+ code: "api_key_forbidden";
758
758
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
759
759
  message: string;
760
760
  };
761
761
  requestId: string;
762
762
  };
763
763
  outputFormat: "json";
764
- status: 429;
764
+ status: 403;
765
765
  input: {
766
766
  param: {
767
767
  orgId: string;
@@ -770,14 +770,14 @@ export declare function management(options?: management.Options): import("hono/h
770
770
  } | {
771
771
  output: {
772
772
  error: {
773
- code: "upstream_error";
773
+ code: "payment_required" | "rate_limit_exceeded";
774
774
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
775
775
  message: string;
776
776
  };
777
777
  requestId: string;
778
778
  };
779
779
  outputFormat: "json";
780
- status: 502;
780
+ status: 429;
781
781
  input: {
782
782
  param: {
783
783
  orgId: string;
@@ -786,14 +786,14 @@ export declare function management(options?: management.Options): import("hono/h
786
786
  } | {
787
787
  output: {
788
788
  error: {
789
- code: "param_invalid";
789
+ code: "organization_not_found";
790
790
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
791
791
  message: string;
792
792
  };
793
793
  requestId: string;
794
794
  };
795
795
  outputFormat: "json";
796
- status: 400;
796
+ status: 404;
797
797
  input: {
798
798
  param: {
799
799
  orgId: string;
@@ -802,14 +802,14 @@ export declare function management(options?: management.Options): import("hono/h
802
802
  } | {
803
803
  output: {
804
804
  error: {
805
- code: "organization_not_found";
805
+ code: "param_invalid";
806
806
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
807
807
  message: string;
808
808
  };
809
809
  requestId: string;
810
810
  };
811
811
  outputFormat: "json";
812
- status: 404;
812
+ status: 400;
813
813
  input: {
814
814
  param: {
815
815
  orgId: string;
@@ -839,14 +839,14 @@ export declare function management(options?: management.Options): import("hono/h
839
839
  $patch: {
840
840
  output: {
841
841
  error: {
842
- code: "api_key_malformed";
842
+ code: "upstream_error";
843
843
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
844
844
  message: string;
845
845
  };
846
846
  requestId: string;
847
847
  };
848
848
  outputFormat: "json";
849
- status: 400;
849
+ status: 502;
850
850
  input: {
851
851
  param: {
852
852
  orgId: string;
@@ -860,14 +860,14 @@ export declare function management(options?: management.Options): import("hono/h
860
860
  } | {
861
861
  output: {
862
862
  error: {
863
- code: "api_key_invalid" | "api_key_missing";
863
+ code: "api_key_malformed";
864
864
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
865
865
  message: string;
866
866
  };
867
867
  requestId: string;
868
868
  };
869
869
  outputFormat: "json";
870
- status: 401;
870
+ status: 400;
871
871
  input: {
872
872
  param: {
873
873
  orgId: string;
@@ -881,14 +881,14 @@ export declare function management(options?: management.Options): import("hono/h
881
881
  } | {
882
882
  output: {
883
883
  error: {
884
- code: "api_key_forbidden";
884
+ code: "api_key_invalid" | "api_key_missing";
885
885
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
886
886
  message: string;
887
887
  };
888
888
  requestId: string;
889
889
  };
890
890
  outputFormat: "json";
891
- status: 403;
891
+ status: 401;
892
892
  input: {
893
893
  param: {
894
894
  orgId: string;
@@ -902,14 +902,14 @@ export declare function management(options?: management.Options): import("hono/h
902
902
  } | {
903
903
  output: {
904
904
  error: {
905
- code: "payment_required" | "rate_limit_exceeded";
905
+ code: "api_key_forbidden";
906
906
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
907
907
  message: string;
908
908
  };
909
909
  requestId: string;
910
910
  };
911
911
  outputFormat: "json";
912
- status: 429;
912
+ status: 403;
913
913
  input: {
914
914
  param: {
915
915
  orgId: string;
@@ -923,14 +923,14 @@ export declare function management(options?: management.Options): import("hono/h
923
923
  } | {
924
924
  output: {
925
925
  error: {
926
- code: "upstream_error";
926
+ code: "payment_required" | "rate_limit_exceeded";
927
927
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
928
928
  message: string;
929
929
  };
930
930
  requestId: string;
931
931
  };
932
932
  outputFormat: "json";
933
- status: 502;
933
+ status: 429;
934
934
  input: {
935
935
  param: {
936
936
  orgId: string;
@@ -944,14 +944,14 @@ export declare function management(options?: management.Options): import("hono/h
944
944
  } | {
945
945
  output: {
946
946
  error: {
947
- code: "body_invalid";
947
+ code: "organization_not_found";
948
948
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
949
949
  message: string;
950
950
  };
951
951
  requestId: string;
952
952
  };
953
953
  outputFormat: "json";
954
- status: 400;
954
+ status: 404;
955
955
  input: {
956
956
  param: {
957
957
  orgId: string;
@@ -965,7 +965,7 @@ export declare function management(options?: management.Options): import("hono/h
965
965
  } | {
966
966
  output: {
967
967
  error: {
968
- code: "param_invalid";
968
+ code: "body_invalid";
969
969
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
970
970
  message: string;
971
971
  };
@@ -986,14 +986,14 @@ export declare function management(options?: management.Options): import("hono/h
986
986
  } | {
987
987
  output: {
988
988
  error: {
989
- code: "organization_not_found";
989
+ code: "param_invalid";
990
990
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
991
991
  message: string;
992
992
  };
993
993
  requestId: string;
994
994
  };
995
995
  outputFormat: "json";
996
- status: 404;
996
+ status: 400;
997
997
  input: {
998
998
  param: {
999
999
  orgId: string;
@@ -1073,14 +1073,14 @@ export declare function management(options?: management.Options): import("hono/h
1073
1073
  $delete: {
1074
1074
  output: {
1075
1075
  error: {
1076
- code: "api_key_malformed";
1076
+ code: "upstream_error";
1077
1077
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1078
1078
  message: string;
1079
1079
  };
1080
1080
  requestId: string;
1081
1081
  };
1082
1082
  outputFormat: "json";
1083
- status: 400;
1083
+ status: 502;
1084
1084
  input: {
1085
1085
  param: {
1086
1086
  orgId: string;
@@ -1090,14 +1090,14 @@ export declare function management(options?: management.Options): import("hono/h
1090
1090
  } | {
1091
1091
  output: {
1092
1092
  error: {
1093
- code: "api_key_invalid" | "api_key_missing";
1093
+ code: "api_key_malformed";
1094
1094
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1095
1095
  message: string;
1096
1096
  };
1097
1097
  requestId: string;
1098
1098
  };
1099
1099
  outputFormat: "json";
1100
- status: 401;
1100
+ status: 400;
1101
1101
  input: {
1102
1102
  param: {
1103
1103
  orgId: string;
@@ -1107,14 +1107,14 @@ export declare function management(options?: management.Options): import("hono/h
1107
1107
  } | {
1108
1108
  output: {
1109
1109
  error: {
1110
- code: "api_key_forbidden";
1110
+ code: "api_key_invalid" | "api_key_missing";
1111
1111
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1112
1112
  message: string;
1113
1113
  };
1114
1114
  requestId: string;
1115
1115
  };
1116
1116
  outputFormat: "json";
1117
- status: 403;
1117
+ status: 401;
1118
1118
  input: {
1119
1119
  param: {
1120
1120
  orgId: string;
@@ -1124,14 +1124,14 @@ export declare function management(options?: management.Options): import("hono/h
1124
1124
  } | {
1125
1125
  output: {
1126
1126
  error: {
1127
- code: "payment_required" | "rate_limit_exceeded";
1127
+ code: "api_key_forbidden";
1128
1128
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1129
1129
  message: string;
1130
1130
  };
1131
1131
  requestId: string;
1132
1132
  };
1133
1133
  outputFormat: "json";
1134
- status: 429;
1134
+ status: 403;
1135
1135
  input: {
1136
1136
  param: {
1137
1137
  orgId: string;
@@ -1141,14 +1141,14 @@ export declare function management(options?: management.Options): import("hono/h
1141
1141
  } | {
1142
1142
  output: {
1143
1143
  error: {
1144
- code: "upstream_error";
1144
+ code: "payment_required" | "rate_limit_exceeded";
1145
1145
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1146
1146
  message: string;
1147
1147
  };
1148
1148
  requestId: string;
1149
1149
  };
1150
1150
  outputFormat: "json";
1151
- status: 502;
1151
+ status: 429;
1152
1152
  input: {
1153
1153
  param: {
1154
1154
  orgId: string;
@@ -1158,14 +1158,14 @@ export declare function management(options?: management.Options): import("hono/h
1158
1158
  } | {
1159
1159
  output: {
1160
1160
  error: {
1161
- code: "param_invalid";
1161
+ code: "organization_not_found";
1162
1162
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1163
1163
  message: string;
1164
1164
  };
1165
1165
  requestId: string;
1166
1166
  };
1167
1167
  outputFormat: "json";
1168
- status: 400;
1168
+ status: 404;
1169
1169
  input: {
1170
1170
  param: {
1171
1171
  orgId: string;
@@ -1175,14 +1175,14 @@ export declare function management(options?: management.Options): import("hono/h
1175
1175
  } | {
1176
1176
  output: {
1177
1177
  error: {
1178
- code: "organization_not_found";
1178
+ code: "forbidden";
1179
1179
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1180
1180
  message: string;
1181
1181
  };
1182
1182
  requestId: string;
1183
1183
  };
1184
1184
  outputFormat: "json";
1185
- status: 404;
1185
+ status: 403;
1186
1186
  input: {
1187
1187
  param: {
1188
1188
  orgId: string;
@@ -1192,14 +1192,14 @@ export declare function management(options?: management.Options): import("hono/h
1192
1192
  } | {
1193
1193
  output: {
1194
1194
  error: {
1195
- code: "forbidden";
1195
+ code: "param_invalid";
1196
1196
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1197
1197
  message: string;
1198
1198
  };
1199
1199
  requestId: string;
1200
1200
  };
1201
1201
  outputFormat: "json";
1202
- status: 403;
1202
+ status: 400;
1203
1203
  input: {
1204
1204
  param: {
1205
1205
  orgId: string;
@@ -1259,14 +1259,14 @@ export declare function management(options?: management.Options): import("hono/h
1259
1259
  $post: {
1260
1260
  output: {
1261
1261
  error: {
1262
- code: "api_key_malformed";
1262
+ code: "upstream_error";
1263
1263
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1264
1264
  message: string;
1265
1265
  };
1266
1266
  requestId: string;
1267
1267
  };
1268
1268
  outputFormat: "json";
1269
- status: 400;
1269
+ status: 502;
1270
1270
  input: {
1271
1271
  param: {
1272
1272
  orgId: string;
@@ -1282,14 +1282,14 @@ export declare function management(options?: management.Options): import("hono/h
1282
1282
  } | {
1283
1283
  output: {
1284
1284
  error: {
1285
- code: "api_key_invalid" | "api_key_missing";
1285
+ code: "api_key_malformed";
1286
1286
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1287
1287
  message: string;
1288
1288
  };
1289
1289
  requestId: string;
1290
1290
  };
1291
1291
  outputFormat: "json";
1292
- status: 401;
1292
+ status: 400;
1293
1293
  input: {
1294
1294
  param: {
1295
1295
  orgId: string;
@@ -1305,14 +1305,14 @@ export declare function management(options?: management.Options): import("hono/h
1305
1305
  } | {
1306
1306
  output: {
1307
1307
  error: {
1308
- code: "upstream_error";
1308
+ code: "api_key_invalid" | "api_key_missing";
1309
1309
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1310
1310
  message: string;
1311
1311
  };
1312
1312
  requestId: string;
1313
1313
  };
1314
1314
  outputFormat: "json";
1315
- status: 502;
1315
+ status: 401;
1316
1316
  input: {
1317
1317
  param: {
1318
1318
  orgId: string;
@@ -1328,14 +1328,14 @@ export declare function management(options?: management.Options): import("hono/h
1328
1328
  } | {
1329
1329
  output: {
1330
1330
  error: {
1331
- code: "body_invalid";
1331
+ code: "forbidden";
1332
1332
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1333
1333
  message: string;
1334
1334
  };
1335
1335
  requestId: string;
1336
1336
  };
1337
1337
  outputFormat: "json";
1338
- status: 400;
1338
+ status: 403;
1339
1339
  input: {
1340
1340
  param: {
1341
1341
  orgId: string;
@@ -1351,14 +1351,14 @@ export declare function management(options?: management.Options): import("hono/h
1351
1351
  } | {
1352
1352
  output: {
1353
1353
  error: {
1354
- code: "param_invalid";
1354
+ code: "organization_not_found" | "project_not_found";
1355
1355
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1356
1356
  message: string;
1357
1357
  };
1358
1358
  requestId: string;
1359
1359
  };
1360
1360
  outputFormat: "json";
1361
- status: 400;
1361
+ status: 404;
1362
1362
  input: {
1363
1363
  param: {
1364
1364
  orgId: string;
@@ -1374,14 +1374,14 @@ export declare function management(options?: management.Options): import("hono/h
1374
1374
  } | {
1375
1375
  output: {
1376
1376
  error: {
1377
- code: "forbidden";
1377
+ code: "body_invalid";
1378
1378
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1379
1379
  message: string;
1380
1380
  };
1381
1381
  requestId: string;
1382
1382
  };
1383
1383
  outputFormat: "json";
1384
- status: 403;
1384
+ status: 400;
1385
1385
  input: {
1386
1386
  param: {
1387
1387
  orgId: string;
@@ -1397,14 +1397,14 @@ export declare function management(options?: management.Options): import("hono/h
1397
1397
  } | {
1398
1398
  output: {
1399
1399
  error: {
1400
- code: "organization_not_found" | "project_not_found";
1400
+ code: "param_invalid";
1401
1401
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1402
1402
  message: string;
1403
1403
  };
1404
1404
  requestId: string;
1405
1405
  };
1406
1406
  outputFormat: "json";
1407
- status: 404;
1407
+ status: 400;
1408
1408
  input: {
1409
1409
  param: {
1410
1410
  orgId: string;
@@ -1498,14 +1498,14 @@ export declare function management(options?: management.Options): import("hono/h
1498
1498
  $get: {
1499
1499
  output: {
1500
1500
  error: {
1501
- code: "api_key_malformed";
1501
+ code: "upstream_error";
1502
1502
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1503
1503
  message: string;
1504
1504
  };
1505
1505
  requestId: string;
1506
1506
  };
1507
1507
  outputFormat: "json";
1508
- status: 400;
1508
+ status: 502;
1509
1509
  input: {
1510
1510
  param: {
1511
1511
  orgId: string;
@@ -1519,14 +1519,14 @@ export declare function management(options?: management.Options): import("hono/h
1519
1519
  } | {
1520
1520
  output: {
1521
1521
  error: {
1522
- code: "api_key_invalid" | "api_key_missing";
1522
+ code: "api_key_malformed";
1523
1523
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1524
1524
  message: string;
1525
1525
  };
1526
1526
  requestId: string;
1527
1527
  };
1528
1528
  outputFormat: "json";
1529
- status: 401;
1529
+ status: 400;
1530
1530
  input: {
1531
1531
  param: {
1532
1532
  orgId: string;
@@ -1540,14 +1540,14 @@ export declare function management(options?: management.Options): import("hono/h
1540
1540
  } | {
1541
1541
  output: {
1542
1542
  error: {
1543
- code: "api_key_forbidden";
1543
+ code: "api_key_invalid" | "api_key_missing";
1544
1544
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1545
1545
  message: string;
1546
1546
  };
1547
1547
  requestId: string;
1548
1548
  };
1549
1549
  outputFormat: "json";
1550
- status: 403;
1550
+ status: 401;
1551
1551
  input: {
1552
1552
  param: {
1553
1553
  orgId: string;
@@ -1561,14 +1561,14 @@ export declare function management(options?: management.Options): import("hono/h
1561
1561
  } | {
1562
1562
  output: {
1563
1563
  error: {
1564
- code: "payment_required" | "rate_limit_exceeded";
1564
+ code: "api_key_forbidden";
1565
1565
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1566
1566
  message: string;
1567
1567
  };
1568
1568
  requestId: string;
1569
1569
  };
1570
1570
  outputFormat: "json";
1571
- status: 429;
1571
+ status: 403;
1572
1572
  input: {
1573
1573
  param: {
1574
1574
  orgId: string;
@@ -1582,14 +1582,14 @@ export declare function management(options?: management.Options): import("hono/h
1582
1582
  } | {
1583
1583
  output: {
1584
1584
  error: {
1585
- code: "query_invalid";
1585
+ code: "payment_required" | "rate_limit_exceeded";
1586
1586
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1587
1587
  message: string;
1588
1588
  };
1589
1589
  requestId: string;
1590
1590
  };
1591
1591
  outputFormat: "json";
1592
- status: 400;
1592
+ status: 429;
1593
1593
  input: {
1594
1594
  param: {
1595
1595
  orgId: string;
@@ -1603,14 +1603,14 @@ export declare function management(options?: management.Options): import("hono/h
1603
1603
  } | {
1604
1604
  output: {
1605
1605
  error: {
1606
- code: "upstream_error";
1606
+ code: "query_invalid";
1607
1607
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1608
1608
  message: string;
1609
1609
  };
1610
1610
  requestId: string;
1611
1611
  };
1612
1612
  outputFormat: "json";
1613
- status: 502;
1613
+ status: 400;
1614
1614
  input: {
1615
1615
  param: {
1616
1616
  orgId: string;
@@ -1624,14 +1624,14 @@ export declare function management(options?: management.Options): import("hono/h
1624
1624
  } | {
1625
1625
  output: {
1626
1626
  error: {
1627
- code: "param_invalid";
1627
+ code: "organization_not_found" | "project_not_found";
1628
1628
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1629
1629
  message: string;
1630
1630
  };
1631
1631
  requestId: string;
1632
1632
  };
1633
1633
  outputFormat: "json";
1634
- status: 400;
1634
+ status: 404;
1635
1635
  input: {
1636
1636
  param: {
1637
1637
  orgId: string;
@@ -1645,14 +1645,14 @@ export declare function management(options?: management.Options): import("hono/h
1645
1645
  } | {
1646
1646
  output: {
1647
1647
  error: {
1648
- code: "organization_not_found" | "project_not_found";
1648
+ code: "param_invalid";
1649
1649
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1650
1650
  message: string;
1651
1651
  };
1652
1652
  requestId: string;
1653
1653
  };
1654
1654
  outputFormat: "json";
1655
- status: 404;
1655
+ status: 400;
1656
1656
  input: {
1657
1657
  param: {
1658
1658
  orgId: string;
@@ -1716,6 +1716,26 @@ export declare function management(options?: management.Options): import("hono/h
1716
1716
  } & {
1717
1717
  "/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/api-keys": {
1718
1718
  $get: {
1719
+ output: {
1720
+ error: {
1721
+ code: "upstream_error";
1722
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1723
+ message: string;
1724
+ };
1725
+ requestId: string;
1726
+ };
1727
+ outputFormat: "json";
1728
+ status: 502;
1729
+ input: {
1730
+ param: {
1731
+ orgId: string;
1732
+ };
1733
+ } & {
1734
+ query?: {
1735
+ environment?: string | string[];
1736
+ } | undefined;
1737
+ };
1738
+ } | {
1719
1739
  output: {
1720
1740
  error: {
1721
1741
  code: "api_key_malformed";
@@ -1818,14 +1838,14 @@ export declare function management(options?: management.Options): import("hono/h
1818
1838
  } | {
1819
1839
  output: {
1820
1840
  error: {
1821
- code: "upstream_error";
1841
+ code: "organization_not_found";
1822
1842
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1823
1843
  message: string;
1824
1844
  };
1825
1845
  requestId: string;
1826
1846
  };
1827
1847
  outputFormat: "json";
1828
- status: 502;
1848
+ status: 404;
1829
1849
  input: {
1830
1850
  param: {
1831
1851
  orgId: string;
@@ -1858,27 +1878,7 @@ export declare function management(options?: management.Options): import("hono/h
1858
1878
  } | {
1859
1879
  output: {
1860
1880
  error: {
1861
- code: "organization_not_found";
1862
- details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1863
- message: string;
1864
- };
1865
- requestId: string;
1866
- };
1867
- outputFormat: "json";
1868
- status: 404;
1869
- input: {
1870
- param: {
1871
- orgId: string;
1872
- };
1873
- } & {
1874
- query?: {
1875
- environment?: string | string[];
1876
- } | undefined;
1877
- };
1878
- } | {
1879
- output: {
1880
- error: {
1881
- code: "api_keys_not_enabled";
1881
+ code: "api_keys_not_enabled";
1882
1882
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1883
1883
  message: string;
1884
1884
  };
@@ -1928,14 +1928,14 @@ export declare function management(options?: management.Options): import("hono/h
1928
1928
  $delete: {
1929
1929
  output: {
1930
1930
  error: {
1931
- code: "api_key_malformed";
1931
+ code: "upstream_error";
1932
1932
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1933
1933
  message: string;
1934
1934
  };
1935
1935
  requestId: string;
1936
1936
  };
1937
1937
  outputFormat: "json";
1938
- status: 400;
1938
+ status: 502;
1939
1939
  input: {
1940
1940
  param: {
1941
1941
  keyId: string;
@@ -1946,14 +1946,14 @@ export declare function management(options?: management.Options): import("hono/h
1946
1946
  } | {
1947
1947
  output: {
1948
1948
  error: {
1949
- code: "api_key_invalid" | "api_key_missing";
1949
+ code: "api_key_malformed";
1950
1950
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1951
1951
  message: string;
1952
1952
  };
1953
1953
  requestId: string;
1954
1954
  };
1955
1955
  outputFormat: "json";
1956
- status: 401;
1956
+ status: 400;
1957
1957
  input: {
1958
1958
  param: {
1959
1959
  keyId: string;
@@ -1964,14 +1964,14 @@ export declare function management(options?: management.Options): import("hono/h
1964
1964
  } | {
1965
1965
  output: {
1966
1966
  error: {
1967
- code: "api_key_forbidden";
1967
+ code: "api_key_invalid" | "api_key_missing";
1968
1968
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1969
1969
  message: string;
1970
1970
  };
1971
1971
  requestId: string;
1972
1972
  };
1973
1973
  outputFormat: "json";
1974
- status: 403;
1974
+ status: 401;
1975
1975
  input: {
1976
1976
  param: {
1977
1977
  keyId: string;
@@ -1982,14 +1982,14 @@ export declare function management(options?: management.Options): import("hono/h
1982
1982
  } | {
1983
1983
  output: {
1984
1984
  error: {
1985
- code: "payment_required" | "rate_limit_exceeded";
1985
+ code: "api_key_forbidden";
1986
1986
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1987
1987
  message: string;
1988
1988
  };
1989
1989
  requestId: string;
1990
1990
  };
1991
1991
  outputFormat: "json";
1992
- status: 429;
1992
+ status: 403;
1993
1993
  input: {
1994
1994
  param: {
1995
1995
  keyId: string;
@@ -2000,14 +2000,14 @@ export declare function management(options?: management.Options): import("hono/h
2000
2000
  } | {
2001
2001
  output: {
2002
2002
  error: {
2003
- code: "upstream_error";
2003
+ code: "payment_required" | "rate_limit_exceeded";
2004
2004
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2005
2005
  message: string;
2006
2006
  };
2007
2007
  requestId: string;
2008
2008
  };
2009
2009
  outputFormat: "json";
2010
- status: 502;
2010
+ status: 429;
2011
2011
  input: {
2012
2012
  param: {
2013
2013
  keyId: string;
@@ -2018,14 +2018,14 @@ export declare function management(options?: management.Options): import("hono/h
2018
2018
  } | {
2019
2019
  output: {
2020
2020
  error: {
2021
- code: "param_invalid";
2021
+ code: "organization_not_found" | "project_not_found";
2022
2022
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2023
2023
  message: string;
2024
2024
  };
2025
2025
  requestId: string;
2026
2026
  };
2027
2027
  outputFormat: "json";
2028
- status: 400;
2028
+ status: 404;
2029
2029
  input: {
2030
2030
  param: {
2031
2031
  keyId: string;
@@ -2036,14 +2036,14 @@ export declare function management(options?: management.Options): import("hono/h
2036
2036
  } | {
2037
2037
  output: {
2038
2038
  error: {
2039
- code: "organization_not_found" | "project_not_found";
2039
+ code: "param_invalid";
2040
2040
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2041
2041
  message: string;
2042
2042
  };
2043
2043
  requestId: string;
2044
2044
  };
2045
2045
  outputFormat: "json";
2046
- status: 404;
2046
+ status: 400;
2047
2047
  input: {
2048
2048
  param: {
2049
2049
  keyId: string;
@@ -2107,62 +2107,62 @@ export declare function management(options?: management.Options): import("hono/h
2107
2107
  $get: {
2108
2108
  output: {
2109
2109
  error: {
2110
- code: "api_key_malformed";
2110
+ code: "upstream_error";
2111
2111
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2112
2112
  message: string;
2113
2113
  };
2114
2114
  requestId: string;
2115
2115
  };
2116
2116
  outputFormat: "json";
2117
- status: 400;
2117
+ status: 502;
2118
2118
  input: {};
2119
2119
  } | {
2120
2120
  output: {
2121
2121
  error: {
2122
- code: "api_key_invalid" | "api_key_missing";
2122
+ code: "api_key_malformed";
2123
2123
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2124
2124
  message: string;
2125
2125
  };
2126
2126
  requestId: string;
2127
2127
  };
2128
2128
  outputFormat: "json";
2129
- status: 401;
2129
+ status: 400;
2130
2130
  input: {};
2131
2131
  } | {
2132
2132
  output: {
2133
2133
  error: {
2134
- code: "api_key_forbidden";
2134
+ code: "api_key_invalid" | "api_key_missing";
2135
2135
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2136
2136
  message: string;
2137
2137
  };
2138
2138
  requestId: string;
2139
2139
  };
2140
2140
  outputFormat: "json";
2141
- status: 403;
2141
+ status: 401;
2142
2142
  input: {};
2143
2143
  } | {
2144
2144
  output: {
2145
2145
  error: {
2146
- code: "payment_required" | "rate_limit_exceeded";
2146
+ code: "api_key_forbidden";
2147
2147
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2148
2148
  message: string;
2149
2149
  };
2150
2150
  requestId: string;
2151
2151
  };
2152
2152
  outputFormat: "json";
2153
- status: 429;
2153
+ status: 403;
2154
2154
  input: {};
2155
2155
  } | {
2156
2156
  output: {
2157
2157
  error: {
2158
- code: "upstream_error";
2158
+ code: "payment_required" | "rate_limit_exceeded";
2159
2159
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2160
2160
  message: string;
2161
2161
  };
2162
2162
  requestId: string;
2163
2163
  };
2164
2164
  outputFormat: "json";
2165
- status: 502;
2165
+ status: 429;
2166
2166
  input: {};
2167
2167
  } | {
2168
2168
  output: {
@@ -2184,14 +2184,14 @@ export declare function management(options?: management.Options): import("hono/h
2184
2184
  $post: {
2185
2185
  output: {
2186
2186
  error: {
2187
- code: "api_key_malformed";
2187
+ code: "upstream_error";
2188
2188
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2189
2189
  message: string;
2190
2190
  };
2191
2191
  requestId: string;
2192
2192
  };
2193
2193
  outputFormat: "json";
2194
- status: 400;
2194
+ status: 502;
2195
2195
  input: {
2196
2196
  json: {
2197
2197
  name: string;
@@ -2200,14 +2200,14 @@ export declare function management(options?: management.Options): import("hono/h
2200
2200
  } | {
2201
2201
  output: {
2202
2202
  error: {
2203
- code: "api_key_invalid" | "api_key_missing";
2203
+ code: "api_key_malformed";
2204
2204
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2205
2205
  message: string;
2206
2206
  };
2207
2207
  requestId: string;
2208
2208
  };
2209
2209
  outputFormat: "json";
2210
- status: 401;
2210
+ status: 400;
2211
2211
  input: {
2212
2212
  json: {
2213
2213
  name: string;
@@ -2216,14 +2216,14 @@ export declare function management(options?: management.Options): import("hono/h
2216
2216
  } | {
2217
2217
  output: {
2218
2218
  error: {
2219
- code: "upstream_error";
2219
+ code: "api_key_invalid" | "api_key_missing";
2220
2220
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2221
2221
  message: string;
2222
2222
  };
2223
2223
  requestId: string;
2224
2224
  };
2225
2225
  outputFormat: "json";
2226
- status: 502;
2226
+ status: 401;
2227
2227
  input: {
2228
2228
  json: {
2229
2229
  name: string;
@@ -2232,14 +2232,14 @@ export declare function management(options?: management.Options): import("hono/h
2232
2232
  } | {
2233
2233
  output: {
2234
2234
  error: {
2235
- code: "body_invalid";
2235
+ code: "forbidden";
2236
2236
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2237
2237
  message: string;
2238
2238
  };
2239
2239
  requestId: string;
2240
2240
  };
2241
2241
  outputFormat: "json";
2242
- status: 400;
2242
+ status: 403;
2243
2243
  input: {
2244
2244
  json: {
2245
2245
  name: string;
@@ -2248,14 +2248,14 @@ export declare function management(options?: management.Options): import("hono/h
2248
2248
  } | {
2249
2249
  output: {
2250
2250
  error: {
2251
- code: "forbidden";
2251
+ code: "body_invalid";
2252
2252
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2253
2253
  message: string;
2254
2254
  };
2255
2255
  requestId: string;
2256
2256
  };
2257
2257
  outputFormat: "json";
2258
- status: 403;
2258
+ status: 400;
2259
2259
  input: {
2260
2260
  json: {
2261
2261
  name: string;
@@ -2347,14 +2347,14 @@ export declare function management(options?: management.Options): import("hono/h
2347
2347
  } | {
2348
2348
  output: {
2349
2349
  error: {
2350
- code: "param_invalid";
2350
+ code: "organization_not_found";
2351
2351
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2352
2352
  message: string;
2353
2353
  };
2354
2354
  requestId: string;
2355
2355
  };
2356
2356
  outputFormat: "json";
2357
- status: 400;
2357
+ status: 404;
2358
2358
  input: {
2359
2359
  param: {
2360
2360
  orgId: string;
@@ -2363,14 +2363,14 @@ export declare function management(options?: management.Options): import("hono/h
2363
2363
  } | {
2364
2364
  output: {
2365
2365
  error: {
2366
- code: "organization_not_found";
2366
+ code: "param_invalid";
2367
2367
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2368
2368
  message: string;
2369
2369
  };
2370
2370
  requestId: string;
2371
2371
  };
2372
2372
  outputFormat: "json";
2373
- status: 404;
2373
+ status: 400;
2374
2374
  input: {
2375
2375
  param: {
2376
2376
  orgId: string;
@@ -2398,14 +2398,14 @@ export declare function management(options?: management.Options): import("hono/h
2398
2398
  $patch: {
2399
2399
  output: {
2400
2400
  error: {
2401
- code: "api_key_malformed";
2401
+ code: "upstream_error";
2402
2402
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2403
2403
  message: string;
2404
2404
  };
2405
2405
  requestId: string;
2406
2406
  };
2407
2407
  outputFormat: "json";
2408
- status: 400;
2408
+ status: 502;
2409
2409
  input: {
2410
2410
  param: {
2411
2411
  orgId: string;
@@ -2418,14 +2418,14 @@ export declare function management(options?: management.Options): import("hono/h
2418
2418
  } | {
2419
2419
  output: {
2420
2420
  error: {
2421
- code: "api_key_invalid" | "api_key_missing";
2421
+ code: "api_key_malformed";
2422
2422
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2423
2423
  message: string;
2424
2424
  };
2425
2425
  requestId: string;
2426
2426
  };
2427
2427
  outputFormat: "json";
2428
- status: 401;
2428
+ status: 400;
2429
2429
  input: {
2430
2430
  param: {
2431
2431
  orgId: string;
@@ -2438,14 +2438,14 @@ export declare function management(options?: management.Options): import("hono/h
2438
2438
  } | {
2439
2439
  output: {
2440
2440
  error: {
2441
- code: "api_key_forbidden";
2441
+ code: "api_key_invalid" | "api_key_missing";
2442
2442
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2443
2443
  message: string;
2444
2444
  };
2445
2445
  requestId: string;
2446
2446
  };
2447
2447
  outputFormat: "json";
2448
- status: 403;
2448
+ status: 401;
2449
2449
  input: {
2450
2450
  param: {
2451
2451
  orgId: string;
@@ -2458,14 +2458,14 @@ export declare function management(options?: management.Options): import("hono/h
2458
2458
  } | {
2459
2459
  output: {
2460
2460
  error: {
2461
- code: "payment_required" | "rate_limit_exceeded";
2461
+ code: "api_key_forbidden";
2462
2462
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2463
2463
  message: string;
2464
2464
  };
2465
2465
  requestId: string;
2466
2466
  };
2467
2467
  outputFormat: "json";
2468
- status: 429;
2468
+ status: 403;
2469
2469
  input: {
2470
2470
  param: {
2471
2471
  orgId: string;
@@ -2478,14 +2478,14 @@ export declare function management(options?: management.Options): import("hono/h
2478
2478
  } | {
2479
2479
  output: {
2480
2480
  error: {
2481
- code: "upstream_error";
2481
+ code: "payment_required" | "rate_limit_exceeded";
2482
2482
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2483
2483
  message: string;
2484
2484
  };
2485
2485
  requestId: string;
2486
2486
  };
2487
2487
  outputFormat: "json";
2488
- status: 502;
2488
+ status: 429;
2489
2489
  input: {
2490
2490
  param: {
2491
2491
  orgId: string;
@@ -2498,14 +2498,14 @@ export declare function management(options?: management.Options): import("hono/h
2498
2498
  } | {
2499
2499
  output: {
2500
2500
  error: {
2501
- code: "body_invalid";
2501
+ code: "organization_not_found";
2502
2502
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2503
2503
  message: string;
2504
2504
  };
2505
2505
  requestId: string;
2506
2506
  };
2507
2507
  outputFormat: "json";
2508
- status: 400;
2508
+ status: 404;
2509
2509
  input: {
2510
2510
  param: {
2511
2511
  orgId: string;
@@ -2518,7 +2518,7 @@ export declare function management(options?: management.Options): import("hono/h
2518
2518
  } | {
2519
2519
  output: {
2520
2520
  error: {
2521
- code: "param_invalid";
2521
+ code: "body_invalid";
2522
2522
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2523
2523
  message: string;
2524
2524
  };
@@ -2538,14 +2538,14 @@ export declare function management(options?: management.Options): import("hono/h
2538
2538
  } | {
2539
2539
  output: {
2540
2540
  error: {
2541
- code: "organization_not_found";
2541
+ code: "param_invalid";
2542
2542
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2543
2543
  message: string;
2544
2544
  };
2545
2545
  requestId: string;
2546
2546
  };
2547
2547
  outputFormat: "json";
2548
- status: 404;
2548
+ status: 400;
2549
2549
  input: {
2550
2550
  param: {
2551
2551
  orgId: string;
@@ -2579,6 +2579,22 @@ export declare function management(options?: management.Options): import("hono/h
2579
2579
  } & {
2580
2580
  "/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}": {
2581
2581
  $delete: {
2582
+ output: {
2583
+ error: {
2584
+ code: "upstream_error";
2585
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2586
+ message: string;
2587
+ };
2588
+ requestId: string;
2589
+ };
2590
+ outputFormat: "json";
2591
+ status: 502;
2592
+ input: {
2593
+ param: {
2594
+ orgId: string;
2595
+ };
2596
+ };
2597
+ } | {
2582
2598
  output: {
2583
2599
  error: {
2584
2600
  code: "api_key_malformed";
@@ -2645,14 +2661,14 @@ export declare function management(options?: management.Options): import("hono/h
2645
2661
  } | {
2646
2662
  output: {
2647
2663
  error: {
2648
- code: "upstream_error";
2664
+ code: "organization_not_found";
2649
2665
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2650
2666
  message: string;
2651
2667
  };
2652
2668
  requestId: string;
2653
2669
  };
2654
2670
  outputFormat: "json";
2655
- status: 502;
2671
+ status: 404;
2656
2672
  input: {
2657
2673
  param: {
2658
2674
  orgId: string;
@@ -2677,14 +2693,14 @@ export declare function management(options?: management.Options): import("hono/h
2677
2693
  } | {
2678
2694
  output: {
2679
2695
  error: {
2680
- code: "organization_not_found";
2696
+ code: "sponsorships_unreported";
2681
2697
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2682
2698
  message: string;
2683
2699
  };
2684
2700
  requestId: string;
2685
2701
  };
2686
2702
  outputFormat: "json";
2687
- status: 404;
2703
+ status: 409;
2688
2704
  input: {
2689
2705
  param: {
2690
2706
  orgId: string;
@@ -2708,14 +2724,14 @@ export declare function management(options?: management.Options): import("hono/h
2708
2724
  $get: {
2709
2725
  output: {
2710
2726
  error: {
2711
- code: "api_key_malformed";
2727
+ code: "upstream_error";
2712
2728
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2713
2729
  message: string;
2714
2730
  };
2715
2731
  requestId: string;
2716
2732
  };
2717
2733
  outputFormat: "json";
2718
- status: 400;
2734
+ status: 502;
2719
2735
  input: {
2720
2736
  param: {
2721
2737
  orgId: string;
@@ -2724,14 +2740,14 @@ export declare function management(options?: management.Options): import("hono/h
2724
2740
  } | {
2725
2741
  output: {
2726
2742
  error: {
2727
- code: "api_key_invalid" | "api_key_missing";
2743
+ code: "api_key_malformed";
2728
2744
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2729
2745
  message: string;
2730
2746
  };
2731
2747
  requestId: string;
2732
2748
  };
2733
2749
  outputFormat: "json";
2734
- status: 401;
2750
+ status: 400;
2735
2751
  input: {
2736
2752
  param: {
2737
2753
  orgId: string;
@@ -2740,14 +2756,14 @@ export declare function management(options?: management.Options): import("hono/h
2740
2756
  } | {
2741
2757
  output: {
2742
2758
  error: {
2743
- code: "api_key_forbidden";
2759
+ code: "api_key_invalid" | "api_key_missing";
2744
2760
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2745
2761
  message: string;
2746
2762
  };
2747
2763
  requestId: string;
2748
2764
  };
2749
2765
  outputFormat: "json";
2750
- status: 403;
2766
+ status: 401;
2751
2767
  input: {
2752
2768
  param: {
2753
2769
  orgId: string;
@@ -2756,14 +2772,14 @@ export declare function management(options?: management.Options): import("hono/h
2756
2772
  } | {
2757
2773
  output: {
2758
2774
  error: {
2759
- code: "payment_required" | "rate_limit_exceeded";
2775
+ code: "api_key_forbidden";
2760
2776
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2761
2777
  message: string;
2762
2778
  };
2763
2779
  requestId: string;
2764
2780
  };
2765
2781
  outputFormat: "json";
2766
- status: 429;
2782
+ status: 403;
2767
2783
  input: {
2768
2784
  param: {
2769
2785
  orgId: string;
@@ -2772,14 +2788,14 @@ export declare function management(options?: management.Options): import("hono/h
2772
2788
  } | {
2773
2789
  output: {
2774
2790
  error: {
2775
- code: "upstream_error";
2791
+ code: "payment_required" | "rate_limit_exceeded";
2776
2792
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2777
2793
  message: string;
2778
2794
  };
2779
2795
  requestId: string;
2780
2796
  };
2781
2797
  outputFormat: "json";
2782
- status: 502;
2798
+ status: 429;
2783
2799
  input: {
2784
2800
  param: {
2785
2801
  orgId: string;
@@ -2788,14 +2804,14 @@ export declare function management(options?: management.Options): import("hono/h
2788
2804
  } | {
2789
2805
  output: {
2790
2806
  error: {
2791
- code: "param_invalid";
2807
+ code: "organization_not_found";
2792
2808
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2793
2809
  message: string;
2794
2810
  };
2795
2811
  requestId: string;
2796
2812
  };
2797
2813
  outputFormat: "json";
2798
- status: 400;
2814
+ status: 404;
2799
2815
  input: {
2800
2816
  param: {
2801
2817
  orgId: string;
@@ -2804,14 +2820,14 @@ export declare function management(options?: management.Options): import("hono/h
2804
2820
  } | {
2805
2821
  output: {
2806
2822
  error: {
2807
- code: "organization_not_found";
2823
+ code: "param_invalid";
2808
2824
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2809
2825
  message: string;
2810
2826
  };
2811
2827
  requestId: string;
2812
2828
  };
2813
2829
  outputFormat: "json";
2814
- status: 404;
2830
+ status: 400;
2815
2831
  input: {
2816
2832
  param: {
2817
2833
  orgId: string;
@@ -2842,14 +2858,14 @@ export declare function management(options?: management.Options): import("hono/h
2842
2858
  $post: {
2843
2859
  output: {
2844
2860
  error: {
2845
- code: "api_key_malformed";
2861
+ code: "upstream_error";
2846
2862
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2847
2863
  message: string;
2848
2864
  };
2849
2865
  requestId: string;
2850
2866
  };
2851
2867
  outputFormat: "json";
2852
- status: 400;
2868
+ status: 502;
2853
2869
  input: {
2854
2870
  param: {
2855
2871
  orgId: string;
@@ -2862,14 +2878,14 @@ export declare function management(options?: management.Options): import("hono/h
2862
2878
  } | {
2863
2879
  output: {
2864
2880
  error: {
2865
- code: "api_key_invalid" | "api_key_missing";
2881
+ code: "api_key_malformed";
2866
2882
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2867
2883
  message: string;
2868
2884
  };
2869
2885
  requestId: string;
2870
2886
  };
2871
2887
  outputFormat: "json";
2872
- status: 401;
2888
+ status: 400;
2873
2889
  input: {
2874
2890
  param: {
2875
2891
  orgId: string;
@@ -2882,14 +2898,14 @@ export declare function management(options?: management.Options): import("hono/h
2882
2898
  } | {
2883
2899
  output: {
2884
2900
  error: {
2885
- code: "api_key_forbidden";
2901
+ code: "api_key_invalid" | "api_key_missing";
2886
2902
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2887
2903
  message: string;
2888
2904
  };
2889
2905
  requestId: string;
2890
2906
  };
2891
2907
  outputFormat: "json";
2892
- status: 403;
2908
+ status: 401;
2893
2909
  input: {
2894
2910
  param: {
2895
2911
  orgId: string;
@@ -2902,14 +2918,14 @@ export declare function management(options?: management.Options): import("hono/h
2902
2918
  } | {
2903
2919
  output: {
2904
2920
  error: {
2905
- code: "payment_required" | "rate_limit_exceeded";
2921
+ code: "api_key_forbidden";
2906
2922
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2907
2923
  message: string;
2908
2924
  };
2909
2925
  requestId: string;
2910
2926
  };
2911
2927
  outputFormat: "json";
2912
- status: 429;
2928
+ status: 403;
2913
2929
  input: {
2914
2930
  param: {
2915
2931
  orgId: string;
@@ -2922,14 +2938,14 @@ export declare function management(options?: management.Options): import("hono/h
2922
2938
  } | {
2923
2939
  output: {
2924
2940
  error: {
2925
- code: "upstream_error";
2941
+ code: "payment_required" | "rate_limit_exceeded";
2926
2942
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2927
2943
  message: string;
2928
2944
  };
2929
2945
  requestId: string;
2930
2946
  };
2931
2947
  outputFormat: "json";
2932
- status: 502;
2948
+ status: 429;
2933
2949
  input: {
2934
2950
  param: {
2935
2951
  orgId: string;
@@ -2942,14 +2958,14 @@ export declare function management(options?: management.Options): import("hono/h
2942
2958
  } | {
2943
2959
  output: {
2944
2960
  error: {
2945
- code: "body_invalid";
2961
+ code: "organization_not_found";
2946
2962
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2947
2963
  message: string;
2948
2964
  };
2949
2965
  requestId: string;
2950
2966
  };
2951
2967
  outputFormat: "json";
2952
- status: 400;
2968
+ status: 404;
2953
2969
  input: {
2954
2970
  param: {
2955
2971
  orgId: string;
@@ -2962,7 +2978,7 @@ export declare function management(options?: management.Options): import("hono/h
2962
2978
  } | {
2963
2979
  output: {
2964
2980
  error: {
2965
- code: "param_invalid";
2981
+ code: "body_invalid";
2966
2982
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2967
2983
  message: string;
2968
2984
  };
@@ -2982,14 +2998,14 @@ export declare function management(options?: management.Options): import("hono/h
2982
2998
  } | {
2983
2999
  output: {
2984
3000
  error: {
2985
- code: "organization_not_found";
3001
+ code: "param_invalid";
2986
3002
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2987
3003
  message: string;
2988
3004
  };
2989
3005
  requestId: string;
2990
3006
  };
2991
3007
  outputFormat: "json";
2992
- status: 404;
3008
+ status: 400;
2993
3009
  input: {
2994
3010
  param: {
2995
3011
  orgId: string;
@@ -3094,14 +3110,14 @@ export declare function management(options?: management.Options): import("hono/h
3094
3110
  } | {
3095
3111
  output: {
3096
3112
  error: {
3097
- code: "param_invalid";
3113
+ code: "organization_not_found" | "project_not_found";
3098
3114
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3099
3115
  message: string;
3100
3116
  };
3101
3117
  requestId: string;
3102
3118
  };
3103
3119
  outputFormat: "json";
3104
- status: 400;
3120
+ status: 404;
3105
3121
  input: {
3106
3122
  param: {
3107
3123
  orgId: string;
@@ -3111,14 +3127,14 @@ export declare function management(options?: management.Options): import("hono/h
3111
3127
  } | {
3112
3128
  output: {
3113
3129
  error: {
3114
- code: "organization_not_found" | "project_not_found";
3130
+ code: "param_invalid";
3115
3131
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3116
3132
  message: string;
3117
3133
  };
3118
3134
  requestId: string;
3119
3135
  };
3120
3136
  outputFormat: "json";
3121
- status: 404;
3137
+ status: 400;
3122
3138
  input: {
3123
3139
  param: {
3124
3140
  orgId: string;
@@ -3149,14 +3165,14 @@ export declare function management(options?: management.Options): import("hono/h
3149
3165
  $patch: {
3150
3166
  output: {
3151
3167
  error: {
3152
- code: "api_key_malformed";
3168
+ code: "upstream_error";
3153
3169
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3154
3170
  message: string;
3155
3171
  };
3156
3172
  requestId: string;
3157
3173
  };
3158
3174
  outputFormat: "json";
3159
- status: 400;
3175
+ status: 502;
3160
3176
  input: {
3161
3177
  param: {
3162
3178
  orgId: string;
@@ -3170,14 +3186,14 @@ export declare function management(options?: management.Options): import("hono/h
3170
3186
  } | {
3171
3187
  output: {
3172
3188
  error: {
3173
- code: "api_key_invalid" | "api_key_missing";
3189
+ code: "api_key_malformed";
3174
3190
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3175
3191
  message: string;
3176
3192
  };
3177
3193
  requestId: string;
3178
3194
  };
3179
3195
  outputFormat: "json";
3180
- status: 401;
3196
+ status: 400;
3181
3197
  input: {
3182
3198
  param: {
3183
3199
  orgId: string;
@@ -3191,14 +3207,14 @@ export declare function management(options?: management.Options): import("hono/h
3191
3207
  } | {
3192
3208
  output: {
3193
3209
  error: {
3194
- code: "api_key_forbidden";
3210
+ code: "api_key_invalid" | "api_key_missing";
3195
3211
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3196
3212
  message: string;
3197
3213
  };
3198
3214
  requestId: string;
3199
3215
  };
3200
3216
  outputFormat: "json";
3201
- status: 403;
3217
+ status: 401;
3202
3218
  input: {
3203
3219
  param: {
3204
3220
  orgId: string;
@@ -3212,14 +3228,14 @@ export declare function management(options?: management.Options): import("hono/h
3212
3228
  } | {
3213
3229
  output: {
3214
3230
  error: {
3215
- code: "payment_required" | "rate_limit_exceeded";
3231
+ code: "api_key_forbidden";
3216
3232
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3217
3233
  message: string;
3218
3234
  };
3219
3235
  requestId: string;
3220
3236
  };
3221
3237
  outputFormat: "json";
3222
- status: 429;
3238
+ status: 403;
3223
3239
  input: {
3224
3240
  param: {
3225
3241
  orgId: string;
@@ -3233,14 +3249,14 @@ export declare function management(options?: management.Options): import("hono/h
3233
3249
  } | {
3234
3250
  output: {
3235
3251
  error: {
3236
- code: "upstream_error";
3252
+ code: "payment_required" | "rate_limit_exceeded";
3237
3253
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3238
3254
  message: string;
3239
3255
  };
3240
3256
  requestId: string;
3241
3257
  };
3242
3258
  outputFormat: "json";
3243
- status: 502;
3259
+ status: 429;
3244
3260
  input: {
3245
3261
  param: {
3246
3262
  orgId: string;
@@ -3254,14 +3270,14 @@ export declare function management(options?: management.Options): import("hono/h
3254
3270
  } | {
3255
3271
  output: {
3256
3272
  error: {
3257
- code: "body_invalid";
3273
+ code: "organization_not_found" | "project_not_found";
3258
3274
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3259
3275
  message: string;
3260
3276
  };
3261
3277
  requestId: string;
3262
3278
  };
3263
3279
  outputFormat: "json";
3264
- status: 400;
3280
+ status: 404;
3265
3281
  input: {
3266
3282
  param: {
3267
3283
  orgId: string;
@@ -3275,7 +3291,7 @@ export declare function management(options?: management.Options): import("hono/h
3275
3291
  } | {
3276
3292
  output: {
3277
3293
  error: {
3278
- code: "param_invalid";
3294
+ code: "body_invalid";
3279
3295
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3280
3296
  message: string;
3281
3297
  };
@@ -3296,14 +3312,14 @@ export declare function management(options?: management.Options): import("hono/h
3296
3312
  } | {
3297
3313
  output: {
3298
3314
  error: {
3299
- code: "organization_not_found" | "project_not_found";
3315
+ code: "param_invalid";
3300
3316
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3301
3317
  message: string;
3302
3318
  };
3303
3319
  requestId: string;
3304
3320
  };
3305
3321
  outputFormat: "json";
3306
- status: 404;
3322
+ status: 400;
3307
3323
  input: {
3308
3324
  param: {
3309
3325
  orgId: string;
@@ -3342,14 +3358,14 @@ export declare function management(options?: management.Options): import("hono/h
3342
3358
  $delete: {
3343
3359
  output: {
3344
3360
  error: {
3345
- code: "api_key_malformed";
3361
+ code: "upstream_error";
3346
3362
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3347
3363
  message: string;
3348
3364
  };
3349
3365
  requestId: string;
3350
3366
  };
3351
3367
  outputFormat: "json";
3352
- status: 400;
3368
+ status: 502;
3353
3369
  input: {
3354
3370
  param: {
3355
3371
  orgId: string;
@@ -3359,14 +3375,14 @@ export declare function management(options?: management.Options): import("hono/h
3359
3375
  } | {
3360
3376
  output: {
3361
3377
  error: {
3362
- code: "api_key_invalid" | "api_key_missing";
3378
+ code: "api_key_malformed";
3363
3379
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3364
3380
  message: string;
3365
3381
  };
3366
3382
  requestId: string;
3367
3383
  };
3368
3384
  outputFormat: "json";
3369
- status: 401;
3385
+ status: 400;
3370
3386
  input: {
3371
3387
  param: {
3372
3388
  orgId: string;
@@ -3376,14 +3392,14 @@ export declare function management(options?: management.Options): import("hono/h
3376
3392
  } | {
3377
3393
  output: {
3378
3394
  error: {
3379
- code: "api_key_forbidden";
3395
+ code: "api_key_invalid" | "api_key_missing";
3380
3396
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3381
3397
  message: string;
3382
3398
  };
3383
3399
  requestId: string;
3384
3400
  };
3385
3401
  outputFormat: "json";
3386
- status: 403;
3402
+ status: 401;
3387
3403
  input: {
3388
3404
  param: {
3389
3405
  orgId: string;
@@ -3393,14 +3409,14 @@ export declare function management(options?: management.Options): import("hono/h
3393
3409
  } | {
3394
3410
  output: {
3395
3411
  error: {
3396
- code: "payment_required" | "rate_limit_exceeded";
3412
+ code: "api_key_forbidden";
3397
3413
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3398
3414
  message: string;
3399
3415
  };
3400
3416
  requestId: string;
3401
3417
  };
3402
3418
  outputFormat: "json";
3403
- status: 429;
3419
+ status: 403;
3404
3420
  input: {
3405
3421
  param: {
3406
3422
  orgId: string;
@@ -3410,14 +3426,14 @@ export declare function management(options?: management.Options): import("hono/h
3410
3426
  } | {
3411
3427
  output: {
3412
3428
  error: {
3413
- code: "upstream_error";
3429
+ code: "payment_required" | "rate_limit_exceeded";
3414
3430
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3415
3431
  message: string;
3416
3432
  };
3417
3433
  requestId: string;
3418
3434
  };
3419
3435
  outputFormat: "json";
3420
- status: 502;
3436
+ status: 429;
3421
3437
  input: {
3422
3438
  param: {
3423
3439
  orgId: string;
@@ -3427,14 +3443,14 @@ export declare function management(options?: management.Options): import("hono/h
3427
3443
  } | {
3428
3444
  output: {
3429
3445
  error: {
3430
- code: "param_invalid";
3446
+ code: "organization_not_found" | "project_not_found";
3431
3447
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3432
3448
  message: string;
3433
3449
  };
3434
3450
  requestId: string;
3435
3451
  };
3436
3452
  outputFormat: "json";
3437
- status: 400;
3453
+ status: 404;
3438
3454
  input: {
3439
3455
  param: {
3440
3456
  orgId: string;
@@ -3444,14 +3460,14 @@ export declare function management(options?: management.Options): import("hono/h
3444
3460
  } | {
3445
3461
  output: {
3446
3462
  error: {
3447
- code: "organization_not_found" | "project_not_found";
3463
+ code: "param_invalid";
3448
3464
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3449
3465
  message: string;
3450
3466
  };
3451
3467
  requestId: string;
3452
3468
  };
3453
3469
  outputFormat: "json";
3454
- status: 404;
3470
+ status: 400;
3455
3471
  input: {
3456
3472
  param: {
3457
3473
  orgId: string;
@@ -3477,14 +3493,14 @@ export declare function management(options?: management.Options): import("hono/h
3477
3493
  $post: {
3478
3494
  output: {
3479
3495
  error: {
3480
- code: "api_key_malformed";
3496
+ code: "upstream_error";
3481
3497
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3482
3498
  message: string;
3483
3499
  };
3484
3500
  requestId: string;
3485
3501
  };
3486
3502
  outputFormat: "json";
3487
- status: 400;
3503
+ status: 502;
3488
3504
  input: {
3489
3505
  param: {
3490
3506
  orgId: string;
@@ -3498,14 +3514,14 @@ export declare function management(options?: management.Options): import("hono/h
3498
3514
  } | {
3499
3515
  output: {
3500
3516
  error: {
3501
- code: "api_key_invalid" | "api_key_missing";
3517
+ code: "api_key_malformed";
3502
3518
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3503
3519
  message: string;
3504
3520
  };
3505
3521
  requestId: string;
3506
3522
  };
3507
3523
  outputFormat: "json";
3508
- status: 401;
3524
+ status: 400;
3509
3525
  input: {
3510
3526
  param: {
3511
3527
  orgId: string;
@@ -3519,14 +3535,14 @@ export declare function management(options?: management.Options): import("hono/h
3519
3535
  } | {
3520
3536
  output: {
3521
3537
  error: {
3522
- code: "api_key_forbidden";
3538
+ code: "api_key_invalid" | "api_key_missing";
3523
3539
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3524
3540
  message: string;
3525
3541
  };
3526
3542
  requestId: string;
3527
3543
  };
3528
3544
  outputFormat: "json";
3529
- status: 403;
3545
+ status: 401;
3530
3546
  input: {
3531
3547
  param: {
3532
3548
  orgId: string;
@@ -3540,14 +3556,14 @@ export declare function management(options?: management.Options): import("hono/h
3540
3556
  } | {
3541
3557
  output: {
3542
3558
  error: {
3543
- code: "payment_required" | "rate_limit_exceeded";
3559
+ code: "api_key_forbidden";
3544
3560
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3545
3561
  message: string;
3546
3562
  };
3547
3563
  requestId: string;
3548
3564
  };
3549
3565
  outputFormat: "json";
3550
- status: 429;
3566
+ status: 403;
3551
3567
  input: {
3552
3568
  param: {
3553
3569
  orgId: string;
@@ -3561,14 +3577,14 @@ export declare function management(options?: management.Options): import("hono/h
3561
3577
  } | {
3562
3578
  output: {
3563
3579
  error: {
3564
- code: "upstream_error";
3580
+ code: "payment_required" | "rate_limit_exceeded";
3565
3581
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3566
3582
  message: string;
3567
3583
  };
3568
3584
  requestId: string;
3569
3585
  };
3570
3586
  outputFormat: "json";
3571
- status: 502;
3587
+ status: 429;
3572
3588
  input: {
3573
3589
  param: {
3574
3590
  orgId: string;
@@ -3582,14 +3598,14 @@ export declare function management(options?: management.Options): import("hono/h
3582
3598
  } | {
3583
3599
  output: {
3584
3600
  error: {
3585
- code: "body_invalid";
3601
+ code: "organization_not_found";
3586
3602
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3587
3603
  message: string;
3588
3604
  };
3589
3605
  requestId: string;
3590
3606
  };
3591
3607
  outputFormat: "json";
3592
- status: 400;
3608
+ status: 404;
3593
3609
  input: {
3594
3610
  param: {
3595
3611
  orgId: string;
@@ -3603,14 +3619,14 @@ export declare function management(options?: management.Options): import("hono/h
3603
3619
  } | {
3604
3620
  output: {
3605
3621
  error: {
3606
- code: "param_invalid";
3622
+ code: "forbidden";
3607
3623
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3608
3624
  message: string;
3609
3625
  };
3610
3626
  requestId: string;
3611
3627
  };
3612
3628
  outputFormat: "json";
3613
- status: 400;
3629
+ status: 403;
3614
3630
  input: {
3615
3631
  param: {
3616
3632
  orgId: string;
@@ -3624,14 +3640,14 @@ export declare function management(options?: management.Options): import("hono/h
3624
3640
  } | {
3625
3641
  output: {
3626
3642
  error: {
3627
- code: "organization_not_found";
3643
+ code: "body_invalid";
3628
3644
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3629
3645
  message: string;
3630
3646
  };
3631
3647
  requestId: string;
3632
3648
  };
3633
3649
  outputFormat: "json";
3634
- status: 404;
3650
+ status: 400;
3635
3651
  input: {
3636
3652
  param: {
3637
3653
  orgId: string;
@@ -3645,14 +3661,14 @@ export declare function management(options?: management.Options): import("hono/h
3645
3661
  } | {
3646
3662
  output: {
3647
3663
  error: {
3648
- code: "forbidden";
3664
+ code: "param_invalid";
3649
3665
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3650
3666
  message: string;
3651
3667
  };
3652
3668
  requestId: string;
3653
3669
  };
3654
3670
  outputFormat: "json";
3655
- status: 403;
3671
+ status: 400;
3656
3672
  input: {
3657
3673
  param: {
3658
3674
  orgId: string;
@@ -3692,14 +3708,14 @@ export declare function management(options?: management.Options): import("hono/h
3692
3708
  $get: {
3693
3709
  output: {
3694
3710
  error: {
3695
- code: "api_key_malformed";
3711
+ code: "upstream_error";
3696
3712
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3697
3713
  message: string;
3698
3714
  };
3699
3715
  requestId: string;
3700
3716
  };
3701
3717
  outputFormat: "json";
3702
- status: 400;
3718
+ status: 502;
3703
3719
  input: {
3704
3720
  param: {
3705
3721
  orgId: string;
@@ -3708,14 +3724,14 @@ export declare function management(options?: management.Options): import("hono/h
3708
3724
  } | {
3709
3725
  output: {
3710
3726
  error: {
3711
- code: "api_key_invalid" | "api_key_missing";
3727
+ code: "api_key_malformed";
3712
3728
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3713
3729
  message: string;
3714
3730
  };
3715
3731
  requestId: string;
3716
3732
  };
3717
3733
  outputFormat: "json";
3718
- status: 401;
3734
+ status: 400;
3719
3735
  input: {
3720
3736
  param: {
3721
3737
  orgId: string;
@@ -3724,14 +3740,14 @@ export declare function management(options?: management.Options): import("hono/h
3724
3740
  } | {
3725
3741
  output: {
3726
3742
  error: {
3727
- code: "api_key_forbidden";
3743
+ code: "api_key_invalid" | "api_key_missing";
3728
3744
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3729
3745
  message: string;
3730
3746
  };
3731
3747
  requestId: string;
3732
3748
  };
3733
3749
  outputFormat: "json";
3734
- status: 403;
3750
+ status: 401;
3735
3751
  input: {
3736
3752
  param: {
3737
3753
  orgId: string;
@@ -3740,14 +3756,14 @@ export declare function management(options?: management.Options): import("hono/h
3740
3756
  } | {
3741
3757
  output: {
3742
3758
  error: {
3743
- code: "payment_required" | "rate_limit_exceeded";
3759
+ code: "api_key_forbidden";
3744
3760
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3745
3761
  message: string;
3746
3762
  };
3747
3763
  requestId: string;
3748
3764
  };
3749
3765
  outputFormat: "json";
3750
- status: 429;
3766
+ status: 403;
3751
3767
  input: {
3752
3768
  param: {
3753
3769
  orgId: string;
@@ -3756,14 +3772,14 @@ export declare function management(options?: management.Options): import("hono/h
3756
3772
  } | {
3757
3773
  output: {
3758
3774
  error: {
3759
- code: "upstream_error";
3775
+ code: "payment_required" | "rate_limit_exceeded";
3760
3776
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3761
3777
  message: string;
3762
3778
  };
3763
3779
  requestId: string;
3764
3780
  };
3765
3781
  outputFormat: "json";
3766
- status: 502;
3782
+ status: 429;
3767
3783
  input: {
3768
3784
  param: {
3769
3785
  orgId: string;
@@ -3772,14 +3788,14 @@ export declare function management(options?: management.Options): import("hono/h
3772
3788
  } | {
3773
3789
  output: {
3774
3790
  error: {
3775
- code: "param_invalid";
3791
+ code: "organization_not_found";
3776
3792
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3777
3793
  message: string;
3778
3794
  };
3779
3795
  requestId: string;
3780
3796
  };
3781
3797
  outputFormat: "json";
3782
- status: 400;
3798
+ status: 404;
3783
3799
  input: {
3784
3800
  param: {
3785
3801
  orgId: string;
@@ -3788,14 +3804,14 @@ export declare function management(options?: management.Options): import("hono/h
3788
3804
  } | {
3789
3805
  output: {
3790
3806
  error: {
3791
- code: "organization_not_found";
3807
+ code: "param_invalid";
3792
3808
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3793
3809
  message: string;
3794
3810
  };
3795
3811
  requestId: string;
3796
3812
  };
3797
3813
  outputFormat: "json";
3798
- status: 404;
3814
+ status: 400;
3799
3815
  input: {
3800
3816
  param: {
3801
3817
  orgId: string;
@@ -3827,14 +3843,14 @@ export declare function management(options?: management.Options): import("hono/h
3827
3843
  $delete: {
3828
3844
  output: {
3829
3845
  error: {
3830
- code: "api_key_malformed";
3846
+ code: "upstream_error";
3831
3847
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3832
3848
  message: string;
3833
3849
  };
3834
3850
  requestId: string;
3835
3851
  };
3836
3852
  outputFormat: "json";
3837
- status: 400;
3853
+ status: 502;
3838
3854
  input: {
3839
3855
  param: {
3840
3856
  invitationId: string;
@@ -3844,14 +3860,14 @@ export declare function management(options?: management.Options): import("hono/h
3844
3860
  } | {
3845
3861
  output: {
3846
3862
  error: {
3847
- code: "api_key_invalid" | "api_key_missing";
3863
+ code: "api_key_malformed";
3848
3864
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3849
3865
  message: string;
3850
3866
  };
3851
3867
  requestId: string;
3852
3868
  };
3853
3869
  outputFormat: "json";
3854
- status: 401;
3870
+ status: 400;
3855
3871
  input: {
3856
3872
  param: {
3857
3873
  invitationId: string;
@@ -3861,14 +3877,14 @@ export declare function management(options?: management.Options): import("hono/h
3861
3877
  } | {
3862
3878
  output: {
3863
3879
  error: {
3864
- code: "api_key_forbidden";
3880
+ code: "api_key_invalid" | "api_key_missing";
3865
3881
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3866
3882
  message: string;
3867
3883
  };
3868
3884
  requestId: string;
3869
3885
  };
3870
3886
  outputFormat: "json";
3871
- status: 403;
3887
+ status: 401;
3872
3888
  input: {
3873
3889
  param: {
3874
3890
  invitationId: string;
@@ -3878,14 +3894,14 @@ export declare function management(options?: management.Options): import("hono/h
3878
3894
  } | {
3879
3895
  output: {
3880
3896
  error: {
3881
- code: "payment_required" | "rate_limit_exceeded";
3897
+ code: "api_key_forbidden";
3882
3898
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3883
3899
  message: string;
3884
3900
  };
3885
3901
  requestId: string;
3886
3902
  };
3887
3903
  outputFormat: "json";
3888
- status: 429;
3904
+ status: 403;
3889
3905
  input: {
3890
3906
  param: {
3891
3907
  invitationId: string;
@@ -3895,14 +3911,14 @@ export declare function management(options?: management.Options): import("hono/h
3895
3911
  } | {
3896
3912
  output: {
3897
3913
  error: {
3898
- code: "upstream_error";
3914
+ code: "payment_required" | "rate_limit_exceeded";
3899
3915
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3900
3916
  message: string;
3901
3917
  };
3902
3918
  requestId: string;
3903
3919
  };
3904
3920
  outputFormat: "json";
3905
- status: 502;
3921
+ status: 429;
3906
3922
  input: {
3907
3923
  param: {
3908
3924
  invitationId: string;
@@ -3912,14 +3928,14 @@ export declare function management(options?: management.Options): import("hono/h
3912
3928
  } | {
3913
3929
  output: {
3914
3930
  error: {
3915
- code: "param_invalid";
3931
+ code: "organization_not_found";
3916
3932
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3917
3933
  message: string;
3918
3934
  };
3919
3935
  requestId: string;
3920
3936
  };
3921
3937
  outputFormat: "json";
3922
- status: 400;
3938
+ status: 404;
3923
3939
  input: {
3924
3940
  param: {
3925
3941
  invitationId: string;
@@ -3929,14 +3945,14 @@ export declare function management(options?: management.Options): import("hono/h
3929
3945
  } | {
3930
3946
  output: {
3931
3947
  error: {
3932
- code: "organization_not_found";
3948
+ code: "param_invalid";
3933
3949
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3934
3950
  message: string;
3935
3951
  };
3936
3952
  requestId: string;
3937
3953
  };
3938
3954
  outputFormat: "json";
3939
- status: 404;
3955
+ status: 400;
3940
3956
  input: {
3941
3957
  param: {
3942
3958
  invitationId: string;
@@ -3979,38 +3995,38 @@ export declare function management(options?: management.Options): import("hono/h
3979
3995
  $get: {
3980
3996
  output: {
3981
3997
  error: {
3982
- code: "api_key_malformed";
3998
+ code: "upstream_error";
3983
3999
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3984
4000
  message: string;
3985
4001
  };
3986
4002
  requestId: string;
3987
4003
  };
3988
4004
  outputFormat: "json";
3989
- status: 400;
4005
+ status: 502;
3990
4006
  input: {};
3991
4007
  } | {
3992
4008
  output: {
3993
4009
  error: {
3994
- code: "api_key_invalid" | "api_key_missing";
4010
+ code: "api_key_malformed";
3995
4011
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3996
4012
  message: string;
3997
4013
  };
3998
4014
  requestId: string;
3999
4015
  };
4000
4016
  outputFormat: "json";
4001
- status: 401;
4017
+ status: 400;
4002
4018
  input: {};
4003
4019
  } | {
4004
4020
  output: {
4005
4021
  error: {
4006
- code: "upstream_error";
4022
+ code: "api_key_invalid" | "api_key_missing";
4007
4023
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4008
4024
  message: string;
4009
4025
  };
4010
4026
  requestId: string;
4011
4027
  };
4012
4028
  outputFormat: "json";
4013
- status: 502;
4029
+ status: 401;
4014
4030
  input: {};
4015
4031
  } | {
4016
4032
  output: {
@@ -4047,14 +4063,14 @@ export declare function management(options?: management.Options): import("hono/h
4047
4063
  $post: {
4048
4064
  output: {
4049
4065
  error: {
4050
- code: "api_key_malformed";
4066
+ code: "upstream_error";
4051
4067
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4052
4068
  message: string;
4053
4069
  };
4054
4070
  requestId: string;
4055
4071
  };
4056
4072
  outputFormat: "json";
4057
- status: 400;
4073
+ status: 502;
4058
4074
  input: {
4059
4075
  param: {
4060
4076
  invitationId: string;
@@ -4063,14 +4079,14 @@ export declare function management(options?: management.Options): import("hono/h
4063
4079
  } | {
4064
4080
  output: {
4065
4081
  error: {
4066
- code: "api_key_invalid" | "api_key_missing";
4082
+ code: "api_key_malformed";
4067
4083
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4068
4084
  message: string;
4069
4085
  };
4070
4086
  requestId: string;
4071
4087
  };
4072
4088
  outputFormat: "json";
4073
- status: 401;
4089
+ status: 400;
4074
4090
  input: {
4075
4091
  param: {
4076
4092
  invitationId: string;
@@ -4079,14 +4095,14 @@ export declare function management(options?: management.Options): import("hono/h
4079
4095
  } | {
4080
4096
  output: {
4081
4097
  error: {
4082
- code: "upstream_error";
4098
+ code: "api_key_invalid" | "api_key_missing";
4083
4099
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4084
4100
  message: string;
4085
4101
  };
4086
4102
  requestId: string;
4087
4103
  };
4088
4104
  outputFormat: "json";
4089
- status: 502;
4105
+ status: 401;
4090
4106
  input: {
4091
4107
  param: {
4092
4108
  invitationId: string;
@@ -4095,14 +4111,14 @@ export declare function management(options?: management.Options): import("hono/h
4095
4111
  } | {
4096
4112
  output: {
4097
4113
  error: {
4098
- code: "param_invalid";
4114
+ code: "forbidden";
4099
4115
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4100
4116
  message: string;
4101
4117
  };
4102
4118
  requestId: string;
4103
4119
  };
4104
4120
  outputFormat: "json";
4105
- status: 400;
4121
+ status: 403;
4106
4122
  input: {
4107
4123
  param: {
4108
4124
  invitationId: string;
@@ -4111,14 +4127,14 @@ export declare function management(options?: management.Options): import("hono/h
4111
4127
  } | {
4112
4128
  output: {
4113
4129
  error: {
4114
- code: "forbidden";
4130
+ code: "param_invalid";
4115
4131
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4116
4132
  message: string;
4117
4133
  };
4118
4134
  requestId: string;
4119
4135
  };
4120
4136
  outputFormat: "json";
4121
- status: 403;
4137
+ status: 400;
4122
4138
  input: {
4123
4139
  param: {
4124
4140
  invitationId: string;
@@ -4160,14 +4176,14 @@ export declare function management(options?: management.Options): import("hono/h
4160
4176
  $post: {
4161
4177
  output: {
4162
4178
  error: {
4163
- code: "api_key_malformed";
4179
+ code: "upstream_error";
4164
4180
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4165
4181
  message: string;
4166
4182
  };
4167
4183
  requestId: string;
4168
4184
  };
4169
4185
  outputFormat: "json";
4170
- status: 400;
4186
+ status: 502;
4171
4187
  input: {
4172
4188
  param: {
4173
4189
  invitationId: string;
@@ -4176,14 +4192,14 @@ export declare function management(options?: management.Options): import("hono/h
4176
4192
  } | {
4177
4193
  output: {
4178
4194
  error: {
4179
- code: "api_key_invalid" | "api_key_missing";
4195
+ code: "api_key_malformed";
4180
4196
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4181
4197
  message: string;
4182
4198
  };
4183
4199
  requestId: string;
4184
4200
  };
4185
4201
  outputFormat: "json";
4186
- status: 401;
4202
+ status: 400;
4187
4203
  input: {
4188
4204
  param: {
4189
4205
  invitationId: string;
@@ -4192,14 +4208,14 @@ export declare function management(options?: management.Options): import("hono/h
4192
4208
  } | {
4193
4209
  output: {
4194
4210
  error: {
4195
- code: "upstream_error";
4211
+ code: "api_key_invalid" | "api_key_missing";
4196
4212
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4197
4213
  message: string;
4198
4214
  };
4199
4215
  requestId: string;
4200
4216
  };
4201
4217
  outputFormat: "json";
4202
- status: 502;
4218
+ status: 401;
4203
4219
  input: {
4204
4220
  param: {
4205
4221
  invitationId: string;
@@ -4208,14 +4224,14 @@ export declare function management(options?: management.Options): import("hono/h
4208
4224
  } | {
4209
4225
  output: {
4210
4226
  error: {
4211
- code: "param_invalid";
4227
+ code: "forbidden";
4212
4228
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4213
4229
  message: string;
4214
4230
  };
4215
4231
  requestId: string;
4216
4232
  };
4217
4233
  outputFormat: "json";
4218
- status: 400;
4234
+ status: 403;
4219
4235
  input: {
4220
4236
  param: {
4221
4237
  invitationId: string;
@@ -4224,14 +4240,14 @@ export declare function management(options?: management.Options): import("hono/h
4224
4240
  } | {
4225
4241
  output: {
4226
4242
  error: {
4227
- code: "forbidden";
4243
+ code: "param_invalid";
4228
4244
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4229
4245
  message: string;
4230
4246
  };
4231
4247
  requestId: string;
4232
4248
  };
4233
4249
  outputFormat: "json";
4234
- status: 403;
4250
+ status: 400;
4235
4251
  input: {
4236
4252
  param: {
4237
4253
  invitationId: string;
@@ -4271,14 +4287,14 @@ export declare function management(options?: management.Options): import("hono/h
4271
4287
  $get: {
4272
4288
  output: {
4273
4289
  error: {
4274
- code: "api_key_malformed";
4290
+ code: "upstream_error";
4275
4291
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4276
4292
  message: string;
4277
4293
  };
4278
4294
  requestId: string;
4279
4295
  };
4280
4296
  outputFormat: "json";
4281
- status: 400;
4297
+ status: 502;
4282
4298
  input: {
4283
4299
  param: {
4284
4300
  orgId: string;
@@ -4291,14 +4307,14 @@ export declare function management(options?: management.Options): import("hono/h
4291
4307
  } | {
4292
4308
  output: {
4293
4309
  error: {
4294
- code: "api_key_invalid" | "api_key_missing";
4310
+ code: "api_key_malformed";
4295
4311
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4296
4312
  message: string;
4297
4313
  };
4298
4314
  requestId: string;
4299
4315
  };
4300
4316
  outputFormat: "json";
4301
- status: 401;
4317
+ status: 400;
4302
4318
  input: {
4303
4319
  param: {
4304
4320
  orgId: string;
@@ -4311,14 +4327,14 @@ export declare function management(options?: management.Options): import("hono/h
4311
4327
  } | {
4312
4328
  output: {
4313
4329
  error: {
4314
- code: "api_key_forbidden";
4330
+ code: "api_key_invalid" | "api_key_missing";
4315
4331
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4316
4332
  message: string;
4317
4333
  };
4318
4334
  requestId: string;
4319
4335
  };
4320
4336
  outputFormat: "json";
4321
- status: 403;
4337
+ status: 401;
4322
4338
  input: {
4323
4339
  param: {
4324
4340
  orgId: string;
@@ -4331,14 +4347,14 @@ export declare function management(options?: management.Options): import("hono/h
4331
4347
  } | {
4332
4348
  output: {
4333
4349
  error: {
4334
- code: "payment_required" | "rate_limit_exceeded";
4350
+ code: "api_key_forbidden";
4335
4351
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4336
4352
  message: string;
4337
4353
  };
4338
4354
  requestId: string;
4339
4355
  };
4340
4356
  outputFormat: "json";
4341
- status: 429;
4357
+ status: 403;
4342
4358
  input: {
4343
4359
  param: {
4344
4360
  orgId: string;
@@ -4351,14 +4367,14 @@ export declare function management(options?: management.Options): import("hono/h
4351
4367
  } | {
4352
4368
  output: {
4353
4369
  error: {
4354
- code: "query_invalid";
4370
+ code: "payment_required" | "rate_limit_exceeded";
4355
4371
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4356
4372
  message: string;
4357
4373
  };
4358
4374
  requestId: string;
4359
4375
  };
4360
4376
  outputFormat: "json";
4361
- status: 400;
4377
+ status: 429;
4362
4378
  input: {
4363
4379
  param: {
4364
4380
  orgId: string;
@@ -4371,14 +4387,14 @@ export declare function management(options?: management.Options): import("hono/h
4371
4387
  } | {
4372
4388
  output: {
4373
4389
  error: {
4374
- code: "upstream_error";
4390
+ code: "query_invalid";
4375
4391
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4376
4392
  message: string;
4377
4393
  };
4378
4394
  requestId: string;
4379
4395
  };
4380
4396
  outputFormat: "json";
4381
- status: 502;
4397
+ status: 400;
4382
4398
  input: {
4383
4399
  param: {
4384
4400
  orgId: string;
@@ -4391,14 +4407,14 @@ export declare function management(options?: management.Options): import("hono/h
4391
4407
  } | {
4392
4408
  output: {
4393
4409
  error: {
4394
- code: "param_invalid";
4410
+ code: "organization_not_found";
4395
4411
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4396
4412
  message: string;
4397
4413
  };
4398
4414
  requestId: string;
4399
4415
  };
4400
4416
  outputFormat: "json";
4401
- status: 400;
4417
+ status: 404;
4402
4418
  input: {
4403
4419
  param: {
4404
4420
  orgId: string;
@@ -4411,14 +4427,14 @@ export declare function management(options?: management.Options): import("hono/h
4411
4427
  } | {
4412
4428
  output: {
4413
4429
  error: {
4414
- code: "organization_not_found";
4430
+ code: "param_invalid";
4415
4431
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4416
4432
  message: string;
4417
4433
  };
4418
4434
  requestId: string;
4419
4435
  };
4420
4436
  outputFormat: "json";
4421
- status: 404;
4437
+ status: 400;
4422
4438
  input: {
4423
4439
  param: {
4424
4440
  orgId: string;
@@ -4485,14 +4501,14 @@ export declare function management(options?: management.Options): import("hono/h
4485
4501
  $patch: {
4486
4502
  output: {
4487
4503
  error: {
4488
- code: "api_key_malformed";
4504
+ code: "upstream_error";
4489
4505
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4490
4506
  message: string;
4491
4507
  };
4492
4508
  requestId: string;
4493
4509
  };
4494
4510
  outputFormat: "json";
4495
- status: 400;
4511
+ status: 502;
4496
4512
  input: {
4497
4513
  param: {
4498
4514
  orgId: string;
@@ -4517,14 +4533,14 @@ export declare function management(options?: management.Options): import("hono/h
4517
4533
  } | {
4518
4534
  output: {
4519
4535
  error: {
4520
- code: "api_key_invalid" | "api_key_missing";
4536
+ code: "api_key_malformed";
4521
4537
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4522
4538
  message: string;
4523
4539
  };
4524
4540
  requestId: string;
4525
4541
  };
4526
4542
  outputFormat: "json";
4527
- status: 401;
4543
+ status: 400;
4528
4544
  input: {
4529
4545
  param: {
4530
4546
  orgId: string;
@@ -4549,14 +4565,14 @@ export declare function management(options?: management.Options): import("hono/h
4549
4565
  } | {
4550
4566
  output: {
4551
4567
  error: {
4552
- code: "api_key_forbidden";
4568
+ code: "api_key_invalid" | "api_key_missing";
4553
4569
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4554
4570
  message: string;
4555
4571
  };
4556
4572
  requestId: string;
4557
4573
  };
4558
4574
  outputFormat: "json";
4559
- status: 403;
4575
+ status: 401;
4560
4576
  input: {
4561
4577
  param: {
4562
4578
  orgId: string;
@@ -4581,14 +4597,14 @@ export declare function management(options?: management.Options): import("hono/h
4581
4597
  } | {
4582
4598
  output: {
4583
4599
  error: {
4584
- code: "payment_required" | "rate_limit_exceeded";
4600
+ code: "api_key_forbidden";
4585
4601
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4586
4602
  message: string;
4587
4603
  };
4588
4604
  requestId: string;
4589
4605
  };
4590
4606
  outputFormat: "json";
4591
- status: 429;
4607
+ status: 403;
4592
4608
  input: {
4593
4609
  param: {
4594
4610
  orgId: string;
@@ -4613,14 +4629,14 @@ export declare function management(options?: management.Options): import("hono/h
4613
4629
  } | {
4614
4630
  output: {
4615
4631
  error: {
4616
- code: "query_invalid";
4632
+ code: "payment_required" | "rate_limit_exceeded";
4617
4633
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4618
4634
  message: string;
4619
4635
  };
4620
4636
  requestId: string;
4621
4637
  };
4622
4638
  outputFormat: "json";
4623
- status: 400;
4639
+ status: 429;
4624
4640
  input: {
4625
4641
  param: {
4626
4642
  orgId: string;
@@ -4645,14 +4661,14 @@ export declare function management(options?: management.Options): import("hono/h
4645
4661
  } | {
4646
4662
  output: {
4647
4663
  error: {
4648
- code: "upstream_error";
4664
+ code: "query_invalid";
4649
4665
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4650
4666
  message: string;
4651
4667
  };
4652
4668
  requestId: string;
4653
4669
  };
4654
4670
  outputFormat: "json";
4655
- status: 502;
4671
+ status: 400;
4656
4672
  input: {
4657
4673
  param: {
4658
4674
  orgId: string;
@@ -4677,14 +4693,14 @@ export declare function management(options?: management.Options): import("hono/h
4677
4693
  } | {
4678
4694
  output: {
4679
4695
  error: {
4680
- code: "body_invalid";
4696
+ code: "organization_not_found";
4681
4697
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4682
4698
  message: string;
4683
4699
  };
4684
4700
  requestId: string;
4685
4701
  };
4686
4702
  outputFormat: "json";
4687
- status: 400;
4703
+ status: 404;
4688
4704
  input: {
4689
4705
  param: {
4690
4706
  orgId: string;
@@ -4709,7 +4725,7 @@ export declare function management(options?: management.Options): import("hono/h
4709
4725
  } | {
4710
4726
  output: {
4711
4727
  error: {
4712
- code: "param_invalid";
4728
+ code: "body_invalid";
4713
4729
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4714
4730
  message: string;
4715
4731
  };
@@ -4741,14 +4757,14 @@ export declare function management(options?: management.Options): import("hono/h
4741
4757
  } | {
4742
4758
  output: {
4743
4759
  error: {
4744
- code: "organization_not_found";
4760
+ code: "param_invalid";
4745
4761
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4746
4762
  message: string;
4747
4763
  };
4748
4764
  requestId: string;
4749
4765
  };
4750
4766
  outputFormat: "json";
4751
- status: 404;
4767
+ status: 400;
4752
4768
  input: {
4753
4769
  param: {
4754
4770
  orgId: string;
@@ -4851,14 +4867,14 @@ export declare function management(options?: management.Options): import("hono/h
4851
4867
  $post: {
4852
4868
  output: {
4853
4869
  error: {
4854
- code: "api_key_malformed";
4870
+ code: "upstream_error";
4855
4871
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4856
4872
  message: string;
4857
4873
  };
4858
4874
  requestId: string;
4859
4875
  };
4860
4876
  outputFormat: "json";
4861
- status: 400;
4877
+ status: 502;
4862
4878
  input: {
4863
4879
  param: {
4864
4880
  orgId: string;
@@ -4871,14 +4887,14 @@ export declare function management(options?: management.Options): import("hono/h
4871
4887
  } | {
4872
4888
  output: {
4873
4889
  error: {
4874
- code: "api_key_invalid" | "api_key_missing";
4890
+ code: "api_key_malformed";
4875
4891
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4876
4892
  message: string;
4877
4893
  };
4878
4894
  requestId: string;
4879
4895
  };
4880
4896
  outputFormat: "json";
4881
- status: 401;
4897
+ status: 400;
4882
4898
  input: {
4883
4899
  param: {
4884
4900
  orgId: string;
@@ -4891,14 +4907,14 @@ export declare function management(options?: management.Options): import("hono/h
4891
4907
  } | {
4892
4908
  output: {
4893
4909
  error: {
4894
- code: "api_key_forbidden";
4910
+ code: "api_key_invalid" | "api_key_missing";
4895
4911
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4896
4912
  message: string;
4897
4913
  };
4898
4914
  requestId: string;
4899
4915
  };
4900
4916
  outputFormat: "json";
4901
- status: 403;
4917
+ status: 401;
4902
4918
  input: {
4903
4919
  param: {
4904
4920
  orgId: string;
@@ -4911,14 +4927,14 @@ export declare function management(options?: management.Options): import("hono/h
4911
4927
  } | {
4912
4928
  output: {
4913
4929
  error: {
4914
- code: "payment_required" | "rate_limit_exceeded";
4930
+ code: "api_key_forbidden";
4915
4931
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4916
4932
  message: string;
4917
4933
  };
4918
4934
  requestId: string;
4919
4935
  };
4920
4936
  outputFormat: "json";
4921
- status: 429;
4937
+ status: 403;
4922
4938
  input: {
4923
4939
  param: {
4924
4940
  orgId: string;
@@ -4931,14 +4947,14 @@ export declare function management(options?: management.Options): import("hono/h
4931
4947
  } | {
4932
4948
  output: {
4933
4949
  error: {
4934
- code: "query_invalid";
4950
+ code: "payment_required" | "rate_limit_exceeded";
4935
4951
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4936
4952
  message: string;
4937
4953
  };
4938
4954
  requestId: string;
4939
4955
  };
4940
4956
  outputFormat: "json";
4941
- status: 400;
4957
+ status: 429;
4942
4958
  input: {
4943
4959
  param: {
4944
4960
  orgId: string;
@@ -4951,14 +4967,14 @@ export declare function management(options?: management.Options): import("hono/h
4951
4967
  } | {
4952
4968
  output: {
4953
4969
  error: {
4954
- code: "upstream_error";
4970
+ code: "query_invalid";
4955
4971
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4956
4972
  message: string;
4957
4973
  };
4958
4974
  requestId: string;
4959
4975
  };
4960
4976
  outputFormat: "json";
4961
- status: 502;
4977
+ status: 400;
4962
4978
  input: {
4963
4979
  param: {
4964
4980
  orgId: string;
@@ -4971,14 +4987,14 @@ export declare function management(options?: management.Options): import("hono/h
4971
4987
  } | {
4972
4988
  output: {
4973
4989
  error: {
4974
- code: "param_invalid";
4990
+ code: "organization_not_found";
4975
4991
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4976
4992
  message: string;
4977
4993
  };
4978
4994
  requestId: string;
4979
4995
  };
4980
4996
  outputFormat: "json";
4981
- status: 400;
4997
+ status: 404;
4982
4998
  input: {
4983
4999
  param: {
4984
5000
  orgId: string;
@@ -4991,14 +5007,14 @@ export declare function management(options?: management.Options): import("hono/h
4991
5007
  } | {
4992
5008
  output: {
4993
5009
  error: {
4994
- code: "organization_not_found";
5010
+ code: "param_invalid";
4995
5011
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
4996
5012
  message: string;
4997
5013
  };
4998
5014
  requestId: string;
4999
5015
  };
5000
5016
  outputFormat: "json";
5001
- status: 404;
5017
+ status: 400;
5002
5018
  input: {
5003
5019
  param: {
5004
5020
  orgId: string;
@@ -5050,14 +5066,14 @@ export declare function management(options?: management.Options): import("hono/h
5050
5066
  $post: {
5051
5067
  output: {
5052
5068
  error: {
5053
- code: "api_key_malformed";
5069
+ code: "upstream_error";
5054
5070
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5055
5071
  message: string;
5056
5072
  };
5057
5073
  requestId: string;
5058
5074
  };
5059
5075
  outputFormat: "json";
5060
- status: 400;
5076
+ status: 502;
5061
5077
  input: {
5062
5078
  param: {
5063
5079
  orgId: string;
@@ -5070,14 +5086,14 @@ export declare function management(options?: management.Options): import("hono/h
5070
5086
  } | {
5071
5087
  output: {
5072
5088
  error: {
5073
- code: "api_key_invalid" | "api_key_missing";
5089
+ code: "api_key_malformed";
5074
5090
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5075
5091
  message: string;
5076
5092
  };
5077
5093
  requestId: string;
5078
5094
  };
5079
5095
  outputFormat: "json";
5080
- status: 401;
5096
+ status: 400;
5081
5097
  input: {
5082
5098
  param: {
5083
5099
  orgId: string;
@@ -5090,14 +5106,14 @@ export declare function management(options?: management.Options): import("hono/h
5090
5106
  } | {
5091
5107
  output: {
5092
5108
  error: {
5093
- code: "api_key_forbidden";
5109
+ code: "api_key_invalid" | "api_key_missing";
5094
5110
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5095
5111
  message: string;
5096
5112
  };
5097
5113
  requestId: string;
5098
5114
  };
5099
5115
  outputFormat: "json";
5100
- status: 403;
5116
+ status: 401;
5101
5117
  input: {
5102
5118
  param: {
5103
5119
  orgId: string;
@@ -5110,14 +5126,14 @@ export declare function management(options?: management.Options): import("hono/h
5110
5126
  } | {
5111
5127
  output: {
5112
5128
  error: {
5113
- code: "payment_required" | "rate_limit_exceeded";
5129
+ code: "api_key_forbidden";
5114
5130
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5115
5131
  message: string;
5116
5132
  };
5117
5133
  requestId: string;
5118
5134
  };
5119
5135
  outputFormat: "json";
5120
- status: 429;
5136
+ status: 403;
5121
5137
  input: {
5122
5138
  param: {
5123
5139
  orgId: string;
@@ -5130,14 +5146,14 @@ export declare function management(options?: management.Options): import("hono/h
5130
5146
  } | {
5131
5147
  output: {
5132
5148
  error: {
5133
- code: "query_invalid";
5149
+ code: "payment_required" | "rate_limit_exceeded";
5134
5150
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5135
5151
  message: string;
5136
5152
  };
5137
5153
  requestId: string;
5138
5154
  };
5139
5155
  outputFormat: "json";
5140
- status: 400;
5156
+ status: 429;
5141
5157
  input: {
5142
5158
  param: {
5143
5159
  orgId: string;
@@ -5150,14 +5166,14 @@ export declare function management(options?: management.Options): import("hono/h
5150
5166
  } | {
5151
5167
  output: {
5152
5168
  error: {
5153
- code: "upstream_error";
5169
+ code: "query_invalid";
5154
5170
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5155
5171
  message: string;
5156
5172
  };
5157
5173
  requestId: string;
5158
5174
  };
5159
5175
  outputFormat: "json";
5160
- status: 502;
5176
+ status: 400;
5161
5177
  input: {
5162
5178
  param: {
5163
5179
  orgId: string;
@@ -5170,14 +5186,14 @@ export declare function management(options?: management.Options): import("hono/h
5170
5186
  } | {
5171
5187
  output: {
5172
5188
  error: {
5173
- code: "param_invalid";
5189
+ code: "organization_not_found";
5174
5190
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5175
5191
  message: string;
5176
5192
  };
5177
5193
  requestId: string;
5178
5194
  };
5179
5195
  outputFormat: "json";
5180
- status: 400;
5196
+ status: 404;
5181
5197
  input: {
5182
5198
  param: {
5183
5199
  orgId: string;
@@ -5190,14 +5206,14 @@ export declare function management(options?: management.Options): import("hono/h
5190
5206
  } | {
5191
5207
  output: {
5192
5208
  error: {
5193
- code: "organization_not_found";
5209
+ code: "param_invalid";
5194
5210
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5195
5211
  message: string;
5196
5212
  };
5197
5213
  requestId: string;
5198
5214
  };
5199
5215
  outputFormat: "json";
5200
- status: 404;
5216
+ status: 400;
5201
5217
  input: {
5202
5218
  param: {
5203
5219
  orgId: string;
@@ -5269,14 +5285,14 @@ export declare function management(options?: management.Options): import("hono/h
5269
5285
  $get: {
5270
5286
  output: {
5271
5287
  error: {
5272
- code: "api_key_malformed";
5288
+ code: "upstream_error";
5273
5289
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5274
5290
  message: string;
5275
5291
  };
5276
5292
  requestId: string;
5277
5293
  };
5278
5294
  outputFormat: "json";
5279
- status: 400;
5295
+ status: 502;
5280
5296
  input: {
5281
5297
  param: {
5282
5298
  orgId: string;
@@ -5289,14 +5305,14 @@ export declare function management(options?: management.Options): import("hono/h
5289
5305
  } | {
5290
5306
  output: {
5291
5307
  error: {
5292
- code: "api_key_invalid" | "api_key_missing";
5308
+ code: "api_key_malformed";
5293
5309
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5294
5310
  message: string;
5295
5311
  };
5296
5312
  requestId: string;
5297
5313
  };
5298
5314
  outputFormat: "json";
5299
- status: 401;
5315
+ status: 400;
5300
5316
  input: {
5301
5317
  param: {
5302
5318
  orgId: string;
@@ -5309,14 +5325,14 @@ export declare function management(options?: management.Options): import("hono/h
5309
5325
  } | {
5310
5326
  output: {
5311
5327
  error: {
5312
- code: "api_key_forbidden";
5328
+ code: "api_key_invalid" | "api_key_missing";
5313
5329
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5314
5330
  message: string;
5315
5331
  };
5316
5332
  requestId: string;
5317
5333
  };
5318
5334
  outputFormat: "json";
5319
- status: 403;
5335
+ status: 401;
5320
5336
  input: {
5321
5337
  param: {
5322
5338
  orgId: string;
@@ -5329,14 +5345,14 @@ export declare function management(options?: management.Options): import("hono/h
5329
5345
  } | {
5330
5346
  output: {
5331
5347
  error: {
5332
- code: "payment_required" | "rate_limit_exceeded";
5348
+ code: "api_key_forbidden";
5333
5349
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5334
5350
  message: string;
5335
5351
  };
5336
5352
  requestId: string;
5337
5353
  };
5338
5354
  outputFormat: "json";
5339
- status: 429;
5355
+ status: 403;
5340
5356
  input: {
5341
5357
  param: {
5342
5358
  orgId: string;
@@ -5349,14 +5365,14 @@ export declare function management(options?: management.Options): import("hono/h
5349
5365
  } | {
5350
5366
  output: {
5351
5367
  error: {
5352
- code: "query_invalid";
5368
+ code: "payment_required" | "rate_limit_exceeded";
5353
5369
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5354
5370
  message: string;
5355
5371
  };
5356
5372
  requestId: string;
5357
5373
  };
5358
5374
  outputFormat: "json";
5359
- status: 400;
5375
+ status: 429;
5360
5376
  input: {
5361
5377
  param: {
5362
5378
  orgId: string;
@@ -5369,14 +5385,14 @@ export declare function management(options?: management.Options): import("hono/h
5369
5385
  } | {
5370
5386
  output: {
5371
5387
  error: {
5372
- code: "upstream_error";
5388
+ code: "query_invalid";
5373
5389
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5374
5390
  message: string;
5375
5391
  };
5376
5392
  requestId: string;
5377
5393
  };
5378
5394
  outputFormat: "json";
5379
- status: 502;
5395
+ status: 400;
5380
5396
  input: {
5381
5397
  param: {
5382
5398
  orgId: string;
@@ -5389,14 +5405,14 @@ export declare function management(options?: management.Options): import("hono/h
5389
5405
  } | {
5390
5406
  output: {
5391
5407
  error: {
5392
- code: "param_invalid";
5408
+ code: "organization_not_found";
5393
5409
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5394
5410
  message: string;
5395
5411
  };
5396
5412
  requestId: string;
5397
5413
  };
5398
5414
  outputFormat: "json";
5399
- status: 400;
5415
+ status: 404;
5400
5416
  input: {
5401
5417
  param: {
5402
5418
  orgId: string;
@@ -5409,14 +5425,14 @@ export declare function management(options?: management.Options): import("hono/h
5409
5425
  } | {
5410
5426
  output: {
5411
5427
  error: {
5412
- code: "organization_not_found";
5428
+ code: "param_invalid";
5413
5429
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5414
5430
  message: string;
5415
5431
  };
5416
5432
  requestId: string;
5417
5433
  };
5418
5434
  outputFormat: "json";
5419
- status: 404;
5435
+ status: 400;
5420
5436
  input: {
5421
5437
  param: {
5422
5438
  orgId: string;
@@ -5480,14 +5496,14 @@ export declare function management(options?: management.Options): import("hono/h
5480
5496
  $delete: {
5481
5497
  output: {
5482
5498
  error: {
5483
- code: "api_key_malformed";
5499
+ code: "upstream_error";
5484
5500
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5485
5501
  message: string;
5486
5502
  };
5487
5503
  requestId: string;
5488
5504
  };
5489
5505
  outputFormat: "json";
5490
- status: 400;
5506
+ status: 502;
5491
5507
  input: {
5492
5508
  param: {
5493
5509
  methodId: string;
@@ -5501,14 +5517,14 @@ export declare function management(options?: management.Options): import("hono/h
5501
5517
  } | {
5502
5518
  output: {
5503
5519
  error: {
5504
- code: "api_key_invalid" | "api_key_missing";
5520
+ code: "api_key_malformed";
5505
5521
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5506
5522
  message: string;
5507
5523
  };
5508
5524
  requestId: string;
5509
5525
  };
5510
5526
  outputFormat: "json";
5511
- status: 401;
5527
+ status: 400;
5512
5528
  input: {
5513
5529
  param: {
5514
5530
  methodId: string;
@@ -5522,14 +5538,14 @@ export declare function management(options?: management.Options): import("hono/h
5522
5538
  } | {
5523
5539
  output: {
5524
5540
  error: {
5525
- code: "api_key_forbidden";
5541
+ code: "api_key_invalid" | "api_key_missing";
5526
5542
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5527
5543
  message: string;
5528
5544
  };
5529
5545
  requestId: string;
5530
5546
  };
5531
5547
  outputFormat: "json";
5532
- status: 403;
5548
+ status: 401;
5533
5549
  input: {
5534
5550
  param: {
5535
5551
  methodId: string;
@@ -5543,14 +5559,14 @@ export declare function management(options?: management.Options): import("hono/h
5543
5559
  } | {
5544
5560
  output: {
5545
5561
  error: {
5546
- code: "payment_required" | "rate_limit_exceeded";
5562
+ code: "api_key_forbidden";
5547
5563
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5548
5564
  message: string;
5549
5565
  };
5550
5566
  requestId: string;
5551
5567
  };
5552
5568
  outputFormat: "json";
5553
- status: 429;
5569
+ status: 403;
5554
5570
  input: {
5555
5571
  param: {
5556
5572
  methodId: string;
@@ -5564,14 +5580,14 @@ export declare function management(options?: management.Options): import("hono/h
5564
5580
  } | {
5565
5581
  output: {
5566
5582
  error: {
5567
- code: "query_invalid";
5583
+ code: "payment_required" | "rate_limit_exceeded";
5568
5584
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5569
5585
  message: string;
5570
5586
  };
5571
5587
  requestId: string;
5572
5588
  };
5573
5589
  outputFormat: "json";
5574
- status: 400;
5590
+ status: 429;
5575
5591
  input: {
5576
5592
  param: {
5577
5593
  methodId: string;
@@ -5585,14 +5601,14 @@ export declare function management(options?: management.Options): import("hono/h
5585
5601
  } | {
5586
5602
  output: {
5587
5603
  error: {
5588
- code: "upstream_error";
5604
+ code: "query_invalid";
5589
5605
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5590
5606
  message: string;
5591
5607
  };
5592
5608
  requestId: string;
5593
5609
  };
5594
5610
  outputFormat: "json";
5595
- status: 502;
5611
+ status: 400;
5596
5612
  input: {
5597
5613
  param: {
5598
5614
  methodId: string;
@@ -5606,14 +5622,14 @@ export declare function management(options?: management.Options): import("hono/h
5606
5622
  } | {
5607
5623
  output: {
5608
5624
  error: {
5609
- code: "param_invalid";
5625
+ code: "organization_not_found";
5610
5626
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5611
5627
  message: string;
5612
5628
  };
5613
5629
  requestId: string;
5614
5630
  };
5615
5631
  outputFormat: "json";
5616
- status: 400;
5632
+ status: 404;
5617
5633
  input: {
5618
5634
  param: {
5619
5635
  methodId: string;
@@ -5627,14 +5643,14 @@ export declare function management(options?: management.Options): import("hono/h
5627
5643
  } | {
5628
5644
  output: {
5629
5645
  error: {
5630
- code: "organization_not_found";
5646
+ code: "param_invalid";
5631
5647
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5632
5648
  message: string;
5633
5649
  };
5634
5650
  requestId: string;
5635
5651
  };
5636
5652
  outputFormat: "json";
5637
- status: 404;
5653
+ status: 400;
5638
5654
  input: {
5639
5655
  param: {
5640
5656
  methodId: string;
@@ -5793,14 +5809,14 @@ export declare function management(options?: management.Options): import("hono/h
5793
5809
  $post: {
5794
5810
  output: {
5795
5811
  error: {
5796
- code: "api_key_malformed";
5812
+ code: "upstream_error";
5797
5813
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5798
5814
  message: string;
5799
5815
  };
5800
5816
  requestId: string;
5801
5817
  };
5802
5818
  outputFormat: "json";
5803
- status: 400;
5819
+ status: 502;
5804
5820
  input: {
5805
5821
  param: {
5806
5822
  orgId: string;
@@ -5816,14 +5832,14 @@ export declare function management(options?: management.Options): import("hono/h
5816
5832
  } | {
5817
5833
  output: {
5818
5834
  error: {
5819
- code: "api_key_invalid" | "api_key_missing";
5835
+ code: "api_key_malformed";
5820
5836
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5821
5837
  message: string;
5822
5838
  };
5823
5839
  requestId: string;
5824
5840
  };
5825
5841
  outputFormat: "json";
5826
- status: 401;
5842
+ status: 400;
5827
5843
  input: {
5828
5844
  param: {
5829
5845
  orgId: string;
@@ -5839,14 +5855,14 @@ export declare function management(options?: management.Options): import("hono/h
5839
5855
  } | {
5840
5856
  output: {
5841
5857
  error: {
5842
- code: "upstream_error";
5858
+ code: "api_key_invalid" | "api_key_missing";
5843
5859
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5844
5860
  message: string;
5845
5861
  };
5846
5862
  requestId: string;
5847
5863
  };
5848
5864
  outputFormat: "json";
5849
- status: 502;
5865
+ status: 401;
5850
5866
  input: {
5851
5867
  param: {
5852
5868
  orgId: string;
@@ -5862,14 +5878,14 @@ export declare function management(options?: management.Options): import("hono/h
5862
5878
  } | {
5863
5879
  output: {
5864
5880
  error: {
5865
- code: "body_invalid";
5881
+ code: "organization_not_found";
5866
5882
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5867
5883
  message: string;
5868
5884
  };
5869
5885
  requestId: string;
5870
5886
  };
5871
5887
  outputFormat: "json";
5872
- status: 400;
5888
+ status: 404;
5873
5889
  input: {
5874
5890
  param: {
5875
5891
  orgId: string;
@@ -5885,14 +5901,14 @@ export declare function management(options?: management.Options): import("hono/h
5885
5901
  } | {
5886
5902
  output: {
5887
5903
  error: {
5888
- code: "organization_not_found";
5904
+ code: "forbidden";
5889
5905
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5890
5906
  message: string;
5891
5907
  };
5892
5908
  requestId: string;
5893
5909
  };
5894
5910
  outputFormat: "json";
5895
- status: 404;
5911
+ status: 403;
5896
5912
  input: {
5897
5913
  param: {
5898
5914
  orgId: string;
@@ -5908,14 +5924,14 @@ export declare function management(options?: management.Options): import("hono/h
5908
5924
  } | {
5909
5925
  output: {
5910
5926
  error: {
5911
- code: "forbidden";
5927
+ code: "body_invalid";
5912
5928
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5913
5929
  message: string;
5914
5930
  };
5915
5931
  requestId: string;
5916
5932
  };
5917
5933
  outputFormat: "json";
5918
- status: 403;
5934
+ status: 400;
5919
5935
  input: {
5920
5936
  param: {
5921
5937
  orgId: string;
@@ -5966,14 +5982,14 @@ export declare function management(options?: management.Options): import("hono/h
5966
5982
  $get: {
5967
5983
  output: {
5968
5984
  error: {
5969
- code: "api_key_malformed";
5985
+ code: "upstream_error";
5970
5986
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5971
5987
  message: string;
5972
5988
  };
5973
5989
  requestId: string;
5974
5990
  };
5975
5991
  outputFormat: "json";
5976
- status: 400;
5992
+ status: 502;
5977
5993
  input: {
5978
5994
  param: {
5979
5995
  orgId: string;
@@ -5982,14 +5998,14 @@ export declare function management(options?: management.Options): import("hono/h
5982
5998
  } | {
5983
5999
  output: {
5984
6000
  error: {
5985
- code: "api_key_invalid" | "api_key_missing";
6001
+ code: "api_key_malformed";
5986
6002
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
5987
6003
  message: string;
5988
6004
  };
5989
6005
  requestId: string;
5990
6006
  };
5991
6007
  outputFormat: "json";
5992
- status: 401;
6008
+ status: 400;
5993
6009
  input: {
5994
6010
  param: {
5995
6011
  orgId: string;
@@ -5998,14 +6014,14 @@ export declare function management(options?: management.Options): import("hono/h
5998
6014
  } | {
5999
6015
  output: {
6000
6016
  error: {
6001
- code: "upstream_error";
6017
+ code: "api_key_invalid" | "api_key_missing";
6002
6018
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6003
6019
  message: string;
6004
6020
  };
6005
6021
  requestId: string;
6006
6022
  };
6007
6023
  outputFormat: "json";
6008
- status: 502;
6024
+ status: 401;
6009
6025
  input: {
6010
6026
  param: {
6011
6027
  orgId: string;
@@ -6014,14 +6030,14 @@ export declare function management(options?: management.Options): import("hono/h
6014
6030
  } | {
6015
6031
  output: {
6016
6032
  error: {
6017
- code: "param_invalid";
6033
+ code: "organization_not_found";
6018
6034
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6019
6035
  message: string;
6020
6036
  };
6021
6037
  requestId: string;
6022
6038
  };
6023
6039
  outputFormat: "json";
6024
- status: 400;
6040
+ status: 404;
6025
6041
  input: {
6026
6042
  param: {
6027
6043
  orgId: string;
@@ -6030,14 +6046,14 @@ export declare function management(options?: management.Options): import("hono/h
6030
6046
  } | {
6031
6047
  output: {
6032
6048
  error: {
6033
- code: "organization_not_found";
6049
+ code: "forbidden";
6034
6050
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6035
6051
  message: string;
6036
6052
  };
6037
6053
  requestId: string;
6038
6054
  };
6039
6055
  outputFormat: "json";
6040
- status: 404;
6056
+ status: 403;
6041
6057
  input: {
6042
6058
  param: {
6043
6059
  orgId: string;
@@ -6046,14 +6062,14 @@ export declare function management(options?: management.Options): import("hono/h
6046
6062
  } | {
6047
6063
  output: {
6048
6064
  error: {
6049
- code: "forbidden";
6065
+ code: "param_invalid";
6050
6066
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6051
6067
  message: string;
6052
6068
  };
6053
6069
  requestId: string;
6054
6070
  };
6055
6071
  outputFormat: "json";
6056
- status: 403;
6072
+ status: 400;
6057
6073
  input: {
6058
6074
  param: {
6059
6075
  orgId: string;
@@ -6092,14 +6108,14 @@ export declare function management(options?: management.Options): import("hono/h
6092
6108
  $patch: {
6093
6109
  output: {
6094
6110
  error: {
6095
- code: "api_key_malformed";
6111
+ code: "upstream_error";
6096
6112
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6097
6113
  message: string;
6098
6114
  };
6099
6115
  requestId: string;
6100
6116
  };
6101
6117
  outputFormat: "json";
6102
- status: 400;
6118
+ status: 502;
6103
6119
  input: {
6104
6120
  param: {
6105
6121
  inviteLinkId: string;
@@ -6113,14 +6129,14 @@ export declare function management(options?: management.Options): import("hono/h
6113
6129
  } | {
6114
6130
  output: {
6115
6131
  error: {
6116
- code: "api_key_invalid" | "api_key_missing";
6132
+ code: "api_key_malformed";
6117
6133
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6118
6134
  message: string;
6119
6135
  };
6120
6136
  requestId: string;
6121
6137
  };
6122
6138
  outputFormat: "json";
6123
- status: 401;
6139
+ status: 400;
6124
6140
  input: {
6125
6141
  param: {
6126
6142
  inviteLinkId: string;
@@ -6134,14 +6150,14 @@ export declare function management(options?: management.Options): import("hono/h
6134
6150
  } | {
6135
6151
  output: {
6136
6152
  error: {
6137
- code: "upstream_error";
6153
+ code: "api_key_invalid" | "api_key_missing";
6138
6154
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6139
6155
  message: string;
6140
6156
  };
6141
6157
  requestId: string;
6142
6158
  };
6143
6159
  outputFormat: "json";
6144
- status: 502;
6160
+ status: 401;
6145
6161
  input: {
6146
6162
  param: {
6147
6163
  inviteLinkId: string;
@@ -6155,14 +6171,14 @@ export declare function management(options?: management.Options): import("hono/h
6155
6171
  } | {
6156
6172
  output: {
6157
6173
  error: {
6158
- code: "body_invalid";
6174
+ code: "organization_not_found";
6159
6175
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6160
6176
  message: string;
6161
6177
  };
6162
6178
  requestId: string;
6163
6179
  };
6164
6180
  outputFormat: "json";
6165
- status: 400;
6181
+ status: 404;
6166
6182
  input: {
6167
6183
  param: {
6168
6184
  inviteLinkId: string;
@@ -6176,14 +6192,14 @@ export declare function management(options?: management.Options): import("hono/h
6176
6192
  } | {
6177
6193
  output: {
6178
6194
  error: {
6179
- code: "organization_not_found";
6195
+ code: "forbidden";
6180
6196
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6181
6197
  message: string;
6182
6198
  };
6183
6199
  requestId: string;
6184
6200
  };
6185
6201
  outputFormat: "json";
6186
- status: 404;
6202
+ status: 403;
6187
6203
  input: {
6188
6204
  param: {
6189
6205
  inviteLinkId: string;
@@ -6197,14 +6213,14 @@ export declare function management(options?: management.Options): import("hono/h
6197
6213
  } | {
6198
6214
  output: {
6199
6215
  error: {
6200
- code: "forbidden";
6216
+ code: "body_invalid";
6201
6217
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6202
6218
  message: string;
6203
6219
  };
6204
6220
  requestId: string;
6205
6221
  };
6206
6222
  outputFormat: "json";
6207
- status: 403;
6223
+ status: 400;
6208
6224
  input: {
6209
6225
  param: {
6210
6226
  inviteLinkId: string;
@@ -6272,14 +6288,14 @@ export declare function management(options?: management.Options): import("hono/h
6272
6288
  $delete: {
6273
6289
  output: {
6274
6290
  error: {
6275
- code: "api_key_malformed";
6291
+ code: "upstream_error";
6276
6292
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6277
6293
  message: string;
6278
6294
  };
6279
6295
  requestId: string;
6280
6296
  };
6281
6297
  outputFormat: "json";
6282
- status: 400;
6298
+ status: 502;
6283
6299
  input: {
6284
6300
  param: {
6285
6301
  inviteLinkId: string;
@@ -6289,14 +6305,14 @@ export declare function management(options?: management.Options): import("hono/h
6289
6305
  } | {
6290
6306
  output: {
6291
6307
  error: {
6292
- code: "api_key_invalid" | "api_key_missing";
6308
+ code: "api_key_malformed";
6293
6309
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6294
6310
  message: string;
6295
6311
  };
6296
6312
  requestId: string;
6297
6313
  };
6298
6314
  outputFormat: "json";
6299
- status: 401;
6315
+ status: 400;
6300
6316
  input: {
6301
6317
  param: {
6302
6318
  inviteLinkId: string;
@@ -6306,14 +6322,14 @@ export declare function management(options?: management.Options): import("hono/h
6306
6322
  } | {
6307
6323
  output: {
6308
6324
  error: {
6309
- code: "upstream_error";
6325
+ code: "api_key_invalid" | "api_key_missing";
6310
6326
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6311
6327
  message: string;
6312
6328
  };
6313
6329
  requestId: string;
6314
6330
  };
6315
6331
  outputFormat: "json";
6316
- status: 502;
6332
+ status: 401;
6317
6333
  input: {
6318
6334
  param: {
6319
6335
  inviteLinkId: string;
@@ -6323,14 +6339,14 @@ export declare function management(options?: management.Options): import("hono/h
6323
6339
  } | {
6324
6340
  output: {
6325
6341
  error: {
6326
- code: "param_invalid";
6342
+ code: "organization_not_found";
6327
6343
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6328
6344
  message: string;
6329
6345
  };
6330
6346
  requestId: string;
6331
6347
  };
6332
6348
  outputFormat: "json";
6333
- status: 400;
6349
+ status: 404;
6334
6350
  input: {
6335
6351
  param: {
6336
6352
  inviteLinkId: string;
@@ -6340,14 +6356,14 @@ export declare function management(options?: management.Options): import("hono/h
6340
6356
  } | {
6341
6357
  output: {
6342
6358
  error: {
6343
- code: "organization_not_found";
6359
+ code: "forbidden";
6344
6360
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6345
6361
  message: string;
6346
6362
  };
6347
6363
  requestId: string;
6348
6364
  };
6349
6365
  outputFormat: "json";
6350
- status: 404;
6366
+ status: 403;
6351
6367
  input: {
6352
6368
  param: {
6353
6369
  inviteLinkId: string;
@@ -6357,14 +6373,14 @@ export declare function management(options?: management.Options): import("hono/h
6357
6373
  } | {
6358
6374
  output: {
6359
6375
  error: {
6360
- code: "forbidden";
6376
+ code: "param_invalid";
6361
6377
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6362
6378
  message: string;
6363
6379
  };
6364
6380
  requestId: string;
6365
6381
  };
6366
6382
  outputFormat: "json";
6367
- status: 403;
6383
+ status: 400;
6368
6384
  input: {
6369
6385
  param: {
6370
6386
  inviteLinkId: string;
@@ -6407,14 +6423,14 @@ export declare function management(options?: management.Options): import("hono/h
6407
6423
  $get: {
6408
6424
  output: {
6409
6425
  error: {
6410
- code: "api_key_malformed";
6426
+ code: "upstream_error";
6411
6427
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6412
6428
  message: string;
6413
6429
  };
6414
6430
  requestId: string;
6415
6431
  };
6416
6432
  outputFormat: "json";
6417
- status: 400;
6433
+ status: 502;
6418
6434
  input: {
6419
6435
  param: {
6420
6436
  inviteLinkId: string;
@@ -6424,14 +6440,14 @@ export declare function management(options?: management.Options): import("hono/h
6424
6440
  } | {
6425
6441
  output: {
6426
6442
  error: {
6427
- code: "api_key_invalid" | "api_key_missing";
6443
+ code: "api_key_malformed";
6428
6444
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6429
6445
  message: string;
6430
6446
  };
6431
6447
  requestId: string;
6432
6448
  };
6433
6449
  outputFormat: "json";
6434
- status: 401;
6450
+ status: 400;
6435
6451
  input: {
6436
6452
  param: {
6437
6453
  inviteLinkId: string;
@@ -6441,14 +6457,14 @@ export declare function management(options?: management.Options): import("hono/h
6441
6457
  } | {
6442
6458
  output: {
6443
6459
  error: {
6444
- code: "upstream_error";
6460
+ code: "api_key_invalid" | "api_key_missing";
6445
6461
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6446
6462
  message: string;
6447
6463
  };
6448
6464
  requestId: string;
6449
6465
  };
6450
6466
  outputFormat: "json";
6451
- status: 502;
6467
+ status: 401;
6452
6468
  input: {
6453
6469
  param: {
6454
6470
  inviteLinkId: string;
@@ -6458,14 +6474,14 @@ export declare function management(options?: management.Options): import("hono/h
6458
6474
  } | {
6459
6475
  output: {
6460
6476
  error: {
6461
- code: "param_invalid";
6477
+ code: "organization_not_found";
6462
6478
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6463
6479
  message: string;
6464
6480
  };
6465
6481
  requestId: string;
6466
6482
  };
6467
6483
  outputFormat: "json";
6468
- status: 400;
6484
+ status: 404;
6469
6485
  input: {
6470
6486
  param: {
6471
6487
  inviteLinkId: string;
@@ -6475,14 +6491,14 @@ export declare function management(options?: management.Options): import("hono/h
6475
6491
  } | {
6476
6492
  output: {
6477
6493
  error: {
6478
- code: "organization_not_found";
6494
+ code: "forbidden";
6479
6495
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6480
6496
  message: string;
6481
6497
  };
6482
6498
  requestId: string;
6483
6499
  };
6484
6500
  outputFormat: "json";
6485
- status: 404;
6501
+ status: 403;
6486
6502
  input: {
6487
6503
  param: {
6488
6504
  inviteLinkId: string;
@@ -6492,14 +6508,14 @@ export declare function management(options?: management.Options): import("hono/h
6492
6508
  } | {
6493
6509
  output: {
6494
6510
  error: {
6495
- code: "forbidden";
6511
+ code: "param_invalid";
6496
6512
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6497
6513
  message: string;
6498
6514
  };
6499
6515
  requestId: string;
6500
6516
  };
6501
6517
  outputFormat: "json";
6502
- status: 403;
6518
+ status: 400;
6503
6519
  input: {
6504
6520
  param: {
6505
6521
  inviteLinkId: string;
@@ -6550,14 +6566,14 @@ export declare function management(options?: management.Options): import("hono/h
6550
6566
  $post: {
6551
6567
  output: {
6552
6568
  error: {
6553
- code: "api_key_malformed";
6569
+ code: "upstream_error";
6554
6570
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6555
6571
  message: string;
6556
6572
  };
6557
6573
  requestId: string;
6558
6574
  };
6559
6575
  outputFormat: "json";
6560
- status: 400;
6576
+ status: 502;
6561
6577
  input: {
6562
6578
  json: {
6563
6579
  token: string;
@@ -6566,14 +6582,14 @@ export declare function management(options?: management.Options): import("hono/h
6566
6582
  } | {
6567
6583
  output: {
6568
6584
  error: {
6569
- code: "api_key_invalid" | "api_key_missing";
6585
+ code: "api_key_malformed";
6570
6586
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6571
6587
  message: string;
6572
6588
  };
6573
6589
  requestId: string;
6574
6590
  };
6575
6591
  outputFormat: "json";
6576
- status: 401;
6592
+ status: 400;
6577
6593
  input: {
6578
6594
  json: {
6579
6595
  token: string;
@@ -6582,14 +6598,14 @@ export declare function management(options?: management.Options): import("hono/h
6582
6598
  } | {
6583
6599
  output: {
6584
6600
  error: {
6585
- code: "upstream_error";
6601
+ code: "api_key_invalid" | "api_key_missing";
6586
6602
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6587
6603
  message: string;
6588
6604
  };
6589
6605
  requestId: string;
6590
6606
  };
6591
6607
  outputFormat: "json";
6592
- status: 502;
6608
+ status: 401;
6593
6609
  input: {
6594
6610
  json: {
6595
6611
  token: string;
@@ -6598,14 +6614,14 @@ export declare function management(options?: management.Options): import("hono/h
6598
6614
  } | {
6599
6615
  output: {
6600
6616
  error: {
6601
- code: "body_invalid";
6617
+ code: "forbidden";
6602
6618
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6603
6619
  message: string;
6604
6620
  };
6605
6621
  requestId: string;
6606
6622
  };
6607
6623
  outputFormat: "json";
6608
- status: 400;
6624
+ status: 403;
6609
6625
  input: {
6610
6626
  json: {
6611
6627
  token: string;
@@ -6614,14 +6630,14 @@ export declare function management(options?: management.Options): import("hono/h
6614
6630
  } | {
6615
6631
  output: {
6616
6632
  error: {
6617
- code: "forbidden";
6633
+ code: "body_invalid";
6618
6634
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6619
6635
  message: string;
6620
6636
  };
6621
6637
  requestId: string;
6622
6638
  };
6623
6639
  outputFormat: "json";
6624
- status: 403;
6640
+ status: 400;
6625
6641
  input: {
6626
6642
  json: {
6627
6643
  token: string;
@@ -6662,14 +6678,14 @@ export declare function management(options?: management.Options): import("hono/h
6662
6678
  $post: {
6663
6679
  output: {
6664
6680
  error: {
6665
- code: "api_key_malformed";
6681
+ code: "upstream_error";
6666
6682
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6667
6683
  message: string;
6668
6684
  };
6669
6685
  requestId: string;
6670
6686
  };
6671
6687
  outputFormat: "json";
6672
- status: 400;
6688
+ status: 502;
6673
6689
  input: {
6674
6690
  json: {
6675
6691
  token: string;
@@ -6678,14 +6694,14 @@ export declare function management(options?: management.Options): import("hono/h
6678
6694
  } | {
6679
6695
  output: {
6680
6696
  error: {
6681
- code: "api_key_invalid" | "api_key_missing";
6697
+ code: "api_key_malformed";
6682
6698
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6683
6699
  message: string;
6684
6700
  };
6685
6701
  requestId: string;
6686
6702
  };
6687
6703
  outputFormat: "json";
6688
- status: 401;
6704
+ status: 400;
6689
6705
  input: {
6690
6706
  json: {
6691
6707
  token: string;
@@ -6694,14 +6710,14 @@ export declare function management(options?: management.Options): import("hono/h
6694
6710
  } | {
6695
6711
  output: {
6696
6712
  error: {
6697
- code: "upstream_error";
6713
+ code: "api_key_invalid" | "api_key_missing";
6698
6714
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6699
6715
  message: string;
6700
6716
  };
6701
6717
  requestId: string;
6702
6718
  };
6703
6719
  outputFormat: "json";
6704
- status: 502;
6720
+ status: 401;
6705
6721
  input: {
6706
6722
  json: {
6707
6723
  token: string;
@@ -6710,14 +6726,14 @@ export declare function management(options?: management.Options): import("hono/h
6710
6726
  } | {
6711
6727
  output: {
6712
6728
  error: {
6713
- code: "body_invalid";
6729
+ code: "forbidden";
6714
6730
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6715
6731
  message: string;
6716
6732
  };
6717
6733
  requestId: string;
6718
6734
  };
6719
6735
  outputFormat: "json";
6720
- status: 400;
6736
+ status: 403;
6721
6737
  input: {
6722
6738
  json: {
6723
6739
  token: string;
@@ -6726,14 +6742,14 @@ export declare function management(options?: management.Options): import("hono/h
6726
6742
  } | {
6727
6743
  output: {
6728
6744
  error: {
6729
- code: "forbidden";
6745
+ code: "body_invalid";
6730
6746
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
6731
6747
  message: string;
6732
6748
  };
6733
6749
  requestId: string;
6734
6750
  };
6735
6751
  outputFormat: "json";
6736
- status: 403;
6752
+ status: 400;
6737
6753
  input: {
6738
6754
  json: {
6739
6755
  token: string;