tapimo 0.4.4 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (162) hide show
  1. package/dist/App.d.ts +7403 -6127
  2. package/dist/App.d.ts.map +1 -1
  3. package/dist/App.js +4 -0
  4. package/dist/App.js.map +1 -1
  5. package/dist/Scope.d.ts +18 -1
  6. package/dist/Scope.d.ts.map +1 -1
  7. package/dist/Scope.js +24 -3
  8. package/dist/Scope.js.map +1 -1
  9. package/dist/admin/apps/verified-tokens.d.ts +115 -115
  10. package/dist/apps/data/App.d.ts +1838 -1534
  11. package/dist/apps/data/App.d.ts.map +1 -1
  12. package/dist/apps/data/App.js +135 -44
  13. package/dist/apps/data/App.js.map +1 -1
  14. package/dist/apps/data/{FundingRouteProviders.d.ts → FundingQuoteProviders.d.ts} +7 -7
  15. package/dist/apps/data/{FundingRouteProviders.d.ts.map → FundingQuoteProviders.d.ts.map} +1 -1
  16. package/dist/apps/data/{FundingRouteProviders.js → FundingQuoteProviders.js} +36 -91
  17. package/dist/apps/data/FundingQuoteProviders.js.map +1 -0
  18. package/dist/apps/data/index.d.ts +1 -1
  19. package/dist/apps/data/index.js +1 -1
  20. package/dist/apps/data/routes/activities.d.ts +242 -242
  21. package/dist/apps/data/routes/addresses.d.ts +227 -227
  22. package/dist/apps/data/routes/balances.d.ts +12 -12
  23. package/dist/apps/data/routes/balances.d.ts.map +1 -1
  24. package/dist/apps/data/routes/balances.js +67 -149
  25. package/dist/apps/data/routes/balances.js.map +1 -1
  26. package/dist/apps/data/routes/blocks.d.ts +125 -126
  27. package/dist/apps/data/routes/blocks.d.ts.map +1 -1
  28. package/dist/apps/data/routes/blocks.js +3 -5
  29. package/dist/apps/data/routes/blocks.js.map +1 -1
  30. package/dist/apps/data/routes/coingecko.d.ts +55 -54
  31. package/dist/apps/data/routes/coingecko.d.ts.map +1 -1
  32. package/dist/apps/data/routes/coingecko.js +3 -8
  33. package/dist/apps/data/routes/coingecko.js.map +1 -1
  34. package/dist/apps/data/routes/funding.d.ts +207 -388
  35. package/dist/apps/data/routes/funding.d.ts.map +1 -1
  36. package/dist/apps/data/routes/funding.js +143 -221
  37. package/dist/apps/data/routes/funding.js.map +1 -1
  38. package/dist/apps/data/routes/rpc.d.ts.map +1 -1
  39. package/dist/apps/data/routes/rpc.js +86 -16
  40. package/dist/apps/data/routes/rpc.js.map +1 -1
  41. package/dist/apps/data/routes/tokenlist.d.ts +33 -33
  42. package/dist/apps/data/routes/transactions.d.ts +281 -281
  43. package/dist/apps/data/routes/transfers.d.ts +58 -58
  44. package/dist/apps/data/routes/verified-tokens.d.ts +86 -86
  45. package/dist/apps/data/routes/webhooks.d.ts +340 -0
  46. package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
  47. package/dist/apps/data/routes/webhooks.js +13 -1
  48. package/dist/apps/data/routes/webhooks.js.map +1 -1
  49. package/dist/apps/index.d.ts +1 -1
  50. package/dist/apps/index.js +1 -1
  51. package/dist/apps/management/App.d.ts +1090 -108
  52. package/dist/apps/management/App.d.ts.map +1 -1
  53. package/dist/apps/management/App.js +4 -0
  54. package/dist/apps/management/App.js.map +1 -1
  55. package/dist/apps/management/routes/api-keys.d.ts +118 -118
  56. package/dist/apps/management/routes/api-keys.js +2 -2
  57. package/dist/apps/management/routes/api-keys.js.map +1 -1
  58. package/dist/apps/management/routes/billing.d.ts +207 -207
  59. package/dist/apps/management/routes/invite-links.d.ts +1100 -0
  60. package/dist/apps/management/routes/invite-links.d.ts.map +1 -0
  61. package/dist/apps/management/routes/invite-links.js +411 -0
  62. package/dist/apps/management/routes/invite-links.js.map +1 -0
  63. package/dist/apps/management/routes/me.d.ts +17 -17
  64. package/dist/apps/management/routes/members.d.ts +71 -71
  65. package/dist/apps/management/routes/orgs.d.ts +12 -12
  66. package/dist/apps/management/routes/projects.d.ts +70 -70
  67. package/dist/apps/management/routes/scopes.d.ts +11 -11
  68. package/dist/apps/management/routes/scopes.d.ts.map +1 -1
  69. package/dist/apps/management/routes/scopes.js +2 -2
  70. package/dist/apps/management/routes/scopes.js.map +1 -1
  71. package/dist/apps/management/routes/usage.d.ts +75 -75
  72. package/dist/apps/relay/App.d.ts.map +1 -1
  73. package/dist/apps/relay/App.js +42 -4
  74. package/dist/apps/relay/App.js.map +1 -1
  75. package/dist/db/Db.d.ts +3 -0
  76. package/dist/db/Db.d.ts.map +1 -1
  77. package/dist/db/Db.js +57 -0
  78. package/dist/db/Db.js.map +1 -1
  79. package/dist/db/Schema.d.ts +31 -0
  80. package/dist/db/Schema.d.ts.map +1 -1
  81. package/dist/db/Schema.js +31 -0
  82. package/dist/db/Schema.js.map +1 -1
  83. package/dist/db/tables/inviteLinks.d.ts +42 -0
  84. package/dist/db/tables/inviteLinks.d.ts.map +1 -0
  85. package/dist/db/tables/inviteLinks.js +148 -0
  86. package/dist/db/tables/inviteLinks.js.map +1 -0
  87. package/dist/db/tables/organizations.d.ts.map +1 -1
  88. package/dist/db/tables/organizations.js +2 -0
  89. package/dist/db/tables/organizations.js.map +1 -1
  90. package/dist/handlers/relay.d.ts.map +1 -1
  91. package/dist/handlers/relay.js +13 -3
  92. package/dist/handlers/relay.js.map +1 -1
  93. package/dist/internal/Auth.d.ts +9 -1
  94. package/dist/internal/Auth.d.ts.map +1 -1
  95. package/dist/internal/Auth.js +130 -10
  96. package/dist/internal/Auth.js.map +1 -1
  97. package/dist/internal/EdgeCache.d.ts +3 -1
  98. package/dist/internal/EdgeCache.d.ts.map +1 -1
  99. package/dist/internal/EdgeCache.js +17 -2
  100. package/dist/internal/EdgeCache.js.map +1 -1
  101. package/dist/internal/{FundingRoutes.d.ts → FundingQuotes.d.ts} +185 -428
  102. package/dist/internal/FundingQuotes.d.ts.map +1 -0
  103. package/dist/internal/{FundingRoutes.js → FundingQuotes.js} +93 -218
  104. package/dist/internal/FundingQuotes.js.map +1 -0
  105. package/dist/internal/Viem.d.ts +3 -1
  106. package/dist/internal/Viem.d.ts.map +1 -1
  107. package/dist/internal/Viem.js +11 -2
  108. package/dist/internal/Viem.js.map +1 -1
  109. package/dist/internal/index.d.ts +1 -1
  110. package/dist/internal/index.js +1 -1
  111. package/package.json +1 -1
  112. package/src/ApiKeys.test.ts +23 -0
  113. package/src/App.test-d.ts +2 -0
  114. package/src/App.ts +6 -0
  115. package/src/Client.test-d.ts +20 -11
  116. package/src/Scope.test.ts +1 -0
  117. package/src/Scope.ts +30 -4
  118. package/src/apps/data/App.test.ts +354 -0
  119. package/src/apps/data/App.ts +159 -52
  120. package/src/apps/data/FundingQuoteProviders.test.ts +151 -0
  121. package/src/apps/data/{FundingRouteProviders.ts → FundingQuoteProviders.ts} +40 -101
  122. package/src/apps/data/index.ts +1 -1
  123. package/src/apps/data/routes/balances.test.ts +64 -18
  124. package/src/apps/data/routes/balances.ts +76 -177
  125. package/src/apps/data/routes/blocks.ts +3 -5
  126. package/src/apps/data/routes/coingecko.ts +3 -8
  127. package/src/apps/data/routes/funding.test.ts +151 -206
  128. package/src/apps/data/routes/funding.ts +156 -291
  129. package/src/apps/data/routes/indexer.test.ts +97 -1
  130. package/src/apps/data/routes/rpc.test.ts +219 -0
  131. package/src/apps/data/routes/rpc.ts +92 -17
  132. package/src/apps/data/routes/webhooks.test.ts +21 -0
  133. package/src/apps/data/routes/webhooks.ts +13 -1
  134. package/src/apps/index.ts +1 -1
  135. package/src/apps/management/App.ts +4 -0
  136. package/src/apps/management/routes/api-keys.test.ts +47 -3
  137. package/src/apps/management/routes/api-keys.ts +2 -2
  138. package/src/apps/management/routes/invite-links.test.ts +385 -0
  139. package/src/apps/management/routes/invite-links.ts +570 -0
  140. package/src/apps/management/routes/scopes.test.ts +3 -2
  141. package/src/apps/management/routes/scopes.ts +4 -2
  142. package/src/apps/relay/App.test.ts +324 -4
  143. package/src/apps/relay/App.ts +40 -4
  144. package/src/db/Db.ts +65 -0
  145. package/src/db/Schema.ts +39 -0
  146. package/src/db/tables/inviteLinks.ts +187 -0
  147. package/src/db/tables/organizations.ts +2 -0
  148. package/src/handlers/relay.ts +16 -4
  149. package/src/internal/Auth.test.ts +132 -22
  150. package/src/internal/Auth.ts +171 -14
  151. package/src/internal/EdgeCache.test.ts +24 -3
  152. package/src/internal/EdgeCache.ts +18 -2
  153. package/src/internal/FundingQuotes.test.ts +174 -0
  154. package/src/internal/{FundingRoutes.ts → FundingQuotes.ts} +153 -312
  155. package/src/internal/Viem.ts +14 -5
  156. package/src/internal/index.test.ts +1 -1
  157. package/src/internal/index.ts +1 -1
  158. package/dist/apps/data/FundingRouteProviders.js.map +0 -1
  159. package/dist/internal/FundingRoutes.d.ts.map +0 -1
  160. package/dist/internal/FundingRoutes.js.map +0 -1
  161. package/src/apps/data/FundingRouteProviders.test.ts +0 -225
  162. package/src/internal/FundingRoutes.test.ts +0 -213
@@ -72,15 +72,16 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
72
72
  "/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/members": {
73
73
  $get: {
74
74
  output: {
75
- error: {
76
- code: "upstream_error";
77
- details?: readonly Response.error.Detail[] | undefined;
78
- message: string;
79
- };
80
- requestId: string;
75
+ data: {
76
+ address?: string | undefined;
77
+ createdAt: string;
78
+ email?: string | undefined;
79
+ role: "admin" | "member" | "owner";
80
+ userId: string;
81
+ }[];
81
82
  };
82
83
  outputFormat: "json";
83
- status: 502;
84
+ status: 200;
84
85
  input: {
85
86
  param: {
86
87
  orgId: string;
@@ -105,14 +106,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
105
106
  } | {
106
107
  output: {
107
108
  error: {
108
- code: "api_key_invalid" | "api_key_missing";
109
+ code: "param_invalid";
109
110
  details?: readonly Response.error.Detail[] | undefined;
110
111
  message: string;
111
112
  };
112
113
  requestId: string;
113
114
  };
114
115
  outputFormat: "json";
115
- status: 401;
116
+ status: 400;
116
117
  input: {
117
118
  param: {
118
119
  orgId: string;
@@ -121,14 +122,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
121
122
  } | {
122
123
  output: {
123
124
  error: {
124
- code: "api_key_forbidden";
125
+ code: "api_key_invalid" | "api_key_missing";
125
126
  details?: readonly Response.error.Detail[] | undefined;
126
127
  message: string;
127
128
  };
128
129
  requestId: string;
129
130
  };
130
131
  outputFormat: "json";
131
- status: 403;
132
+ status: 401;
132
133
  input: {
133
134
  param: {
134
135
  orgId: string;
@@ -137,14 +138,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
137
138
  } | {
138
139
  output: {
139
140
  error: {
140
- code: "payment_required" | "rate_limit_exceeded";
141
+ code: "api_key_forbidden";
141
142
  details?: readonly Response.error.Detail[] | undefined;
142
143
  message: string;
143
144
  };
144
145
  requestId: string;
145
146
  };
146
147
  outputFormat: "json";
147
- status: 429;
148
+ status: 403;
148
149
  input: {
149
150
  param: {
150
151
  orgId: string;
@@ -153,14 +154,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
153
154
  } | {
154
155
  output: {
155
156
  error: {
156
- code: "param_invalid";
157
+ code: "organization_not_found";
157
158
  details?: readonly Response.error.Detail[] | undefined;
158
159
  message: string;
159
160
  };
160
161
  requestId: string;
161
162
  };
162
163
  outputFormat: "json";
163
- status: 400;
164
+ status: 404;
164
165
  input: {
165
166
  param: {
166
167
  orgId: string;
@@ -169,14 +170,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
169
170
  } | {
170
171
  output: {
171
172
  error: {
172
- code: "organization_not_found";
173
+ code: "payment_required" | "rate_limit_exceeded";
173
174
  details?: readonly Response.error.Detail[] | undefined;
174
175
  message: string;
175
176
  };
176
177
  requestId: string;
177
178
  };
178
179
  outputFormat: "json";
179
- status: 404;
180
+ status: 429;
180
181
  input: {
181
182
  param: {
182
183
  orgId: string;
@@ -184,16 +185,15 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
184
185
  };
185
186
  } | {
186
187
  output: {
187
- data: {
188
- address?: string | undefined;
189
- createdAt: string;
190
- email?: string | undefined;
191
- role: "admin" | "member" | "owner";
192
- userId: string;
193
- }[];
188
+ error: {
189
+ code: "upstream_error";
190
+ details?: readonly Response.error.Detail[] | undefined;
191
+ message: string;
192
+ };
193
+ requestId: string;
194
194
  };
195
195
  outputFormat: "json";
196
- status: 200;
196
+ status: 502;
197
197
  input: {
198
198
  param: {
199
199
  orgId: string;
@@ -205,15 +205,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
205
205
  "/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/members/:userId{usr_[A-Za-z0-9_-]+}": {
206
206
  $patch: {
207
207
  output: {
208
- error: {
209
- code: "upstream_error";
210
- details?: readonly Response.error.Detail[] | undefined;
211
- message: string;
212
- };
213
- requestId: string;
208
+ address?: string | undefined;
209
+ createdAt: string;
210
+ email?: string | undefined;
211
+ role: "admin" | "member" | "owner";
212
+ userId: string;
214
213
  };
215
214
  outputFormat: "json";
216
- status: 502;
215
+ status: 200;
217
216
  input: {
218
217
  param: {
219
218
  orgId: string;
@@ -248,14 +247,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
248
247
  } | {
249
248
  output: {
250
249
  error: {
251
- code: "api_key_invalid" | "api_key_missing";
250
+ code: "param_invalid";
252
251
  details?: readonly Response.error.Detail[] | undefined;
253
252
  message: string;
254
253
  };
255
254
  requestId: string;
256
255
  };
257
256
  outputFormat: "json";
258
- status: 401;
257
+ status: 400;
259
258
  input: {
260
259
  param: {
261
260
  orgId: string;
@@ -269,14 +268,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
269
268
  } | {
270
269
  output: {
271
270
  error: {
272
- code: "api_key_forbidden";
271
+ code: "body_invalid";
273
272
  details?: readonly Response.error.Detail[] | undefined;
274
273
  message: string;
275
274
  };
276
275
  requestId: string;
277
276
  };
278
277
  outputFormat: "json";
279
- status: 403;
278
+ status: 400;
280
279
  input: {
281
280
  param: {
282
281
  orgId: string;
@@ -290,14 +289,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
290
289
  } | {
291
290
  output: {
292
291
  error: {
293
- code: "payment_required" | "rate_limit_exceeded";
292
+ code: "api_key_invalid" | "api_key_missing";
294
293
  details?: readonly Response.error.Detail[] | undefined;
295
294
  message: string;
296
295
  };
297
296
  requestId: string;
298
297
  };
299
298
  outputFormat: "json";
300
- status: 429;
299
+ status: 401;
301
300
  input: {
302
301
  param: {
303
302
  orgId: string;
@@ -311,14 +310,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
311
310
  } | {
312
311
  output: {
313
312
  error: {
314
- code: "param_invalid";
313
+ code: "api_key_forbidden";
315
314
  details?: readonly Response.error.Detail[] | undefined;
316
315
  message: string;
317
316
  };
318
317
  requestId: string;
319
318
  };
320
319
  outputFormat: "json";
321
- status: 400;
320
+ status: 403;
322
321
  input: {
323
322
  param: {
324
323
  orgId: string;
@@ -332,14 +331,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
332
331
  } | {
333
332
  output: {
334
333
  error: {
335
- code: "body_invalid";
334
+ code: "organization_not_found";
336
335
  details?: readonly Response.error.Detail[] | undefined;
337
336
  message: string;
338
337
  };
339
338
  requestId: string;
340
339
  };
341
340
  outputFormat: "json";
342
- status: 400;
341
+ status: 404;
343
342
  input: {
344
343
  param: {
345
344
  orgId: string;
@@ -353,7 +352,7 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
353
352
  } | {
354
353
  output: {
355
354
  error: {
356
- code: "organization_not_found";
355
+ code: "member_not_found";
357
356
  details?: readonly Response.error.Detail[] | undefined;
358
357
  message: string;
359
358
  };
@@ -395,14 +394,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
395
394
  } | {
396
395
  output: {
397
396
  error: {
398
- code: "member_not_found";
397
+ code: "payment_required" | "rate_limit_exceeded";
399
398
  details?: readonly Response.error.Detail[] | undefined;
400
399
  message: string;
401
400
  };
402
401
  requestId: string;
403
402
  };
404
403
  outputFormat: "json";
405
- status: 404;
404
+ status: 429;
406
405
  input: {
407
406
  param: {
408
407
  orgId: string;
@@ -415,14 +414,15 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
415
414
  };
416
415
  } | {
417
416
  output: {
418
- address?: string | undefined;
419
- createdAt: string;
420
- email?: string | undefined;
421
- role: "admin" | "member" | "owner";
422
- userId: string;
417
+ error: {
418
+ code: "upstream_error";
419
+ details?: readonly Response.error.Detail[] | undefined;
420
+ message: string;
421
+ };
422
+ requestId: string;
423
423
  };
424
424
  outputFormat: "json";
425
- status: 200;
425
+ status: 502;
426
426
  input: {
427
427
  param: {
428
428
  orgId: string;
@@ -439,15 +439,10 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
439
439
  "/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/members/:userId{usr_[A-Za-z0-9_-]+}": {
440
440
  $delete: {
441
441
  output: {
442
- error: {
443
- code: "upstream_error";
444
- details?: readonly Response.error.Detail[] | undefined;
445
- message: string;
446
- };
447
- requestId: string;
442
+ userId: string;
448
443
  };
449
444
  outputFormat: "json";
450
- status: 502;
445
+ status: 200;
451
446
  input: {
452
447
  param: {
453
448
  orgId: string;
@@ -474,14 +469,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
474
469
  } | {
475
470
  output: {
476
471
  error: {
477
- code: "api_key_invalid" | "api_key_missing";
472
+ code: "param_invalid";
478
473
  details?: readonly Response.error.Detail[] | undefined;
479
474
  message: string;
480
475
  };
481
476
  requestId: string;
482
477
  };
483
478
  outputFormat: "json";
484
- status: 401;
479
+ status: 400;
485
480
  input: {
486
481
  param: {
487
482
  orgId: string;
@@ -491,14 +486,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
491
486
  } | {
492
487
  output: {
493
488
  error: {
494
- code: "api_key_forbidden";
489
+ code: "api_key_invalid" | "api_key_missing";
495
490
  details?: readonly Response.error.Detail[] | undefined;
496
491
  message: string;
497
492
  };
498
493
  requestId: string;
499
494
  };
500
495
  outputFormat: "json";
501
- status: 403;
496
+ status: 401;
502
497
  input: {
503
498
  param: {
504
499
  orgId: string;
@@ -508,14 +503,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
508
503
  } | {
509
504
  output: {
510
505
  error: {
511
- code: "payment_required" | "rate_limit_exceeded";
506
+ code: "api_key_forbidden";
512
507
  details?: readonly Response.error.Detail[] | undefined;
513
508
  message: string;
514
509
  };
515
510
  requestId: string;
516
511
  };
517
512
  outputFormat: "json";
518
- status: 429;
513
+ status: 403;
519
514
  input: {
520
515
  param: {
521
516
  orgId: string;
@@ -542,14 +537,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
542
537
  } | {
543
538
  output: {
544
539
  error: {
545
- code: "param_invalid";
540
+ code: "organization_not_found";
546
541
  details?: readonly Response.error.Detail[] | undefined;
547
542
  message: string;
548
543
  };
549
544
  requestId: string;
550
545
  };
551
546
  outputFormat: "json";
552
- status: 400;
547
+ status: 404;
553
548
  input: {
554
549
  param: {
555
550
  orgId: string;
@@ -559,7 +554,7 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
559
554
  } | {
560
555
  output: {
561
556
  error: {
562
- code: "organization_not_found";
557
+ code: "member_not_found";
563
558
  details?: readonly Response.error.Detail[] | undefined;
564
559
  message: string;
565
560
  };
@@ -593,14 +588,14 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
593
588
  } | {
594
589
  output: {
595
590
  error: {
596
- code: "member_not_found";
591
+ code: "payment_required" | "rate_limit_exceeded";
597
592
  details?: readonly Response.error.Detail[] | undefined;
598
593
  message: string;
599
594
  };
600
595
  requestId: string;
601
596
  };
602
597
  outputFormat: "json";
603
- status: 404;
598
+ status: 429;
604
599
  input: {
605
600
  param: {
606
601
  orgId: string;
@@ -609,10 +604,15 @@ export declare function members(): import("hono/hono-base").HonoBase<App.Environ
609
604
  };
610
605
  } | {
611
606
  output: {
612
- userId: string;
607
+ error: {
608
+ code: "upstream_error";
609
+ details?: readonly Response.error.Detail[] | undefined;
610
+ message: string;
611
+ };
612
+ requestId: string;
613
613
  };
614
614
  outputFormat: "json";
615
- status: 200;
615
+ status: 502;
616
616
  input: {
617
617
  param: {
618
618
  orgId: string;
@@ -296,14 +296,14 @@ export declare function orgs(): import("hono/hono-base").HonoBase<App.Environmen
296
296
  } | {
297
297
  output: {
298
298
  error: {
299
- code: "organization_not_found";
299
+ code: "param_invalid";
300
300
  details?: readonly Response.error.Detail[] | undefined;
301
301
  message: string;
302
302
  };
303
303
  requestId: string;
304
304
  };
305
305
  outputFormat: "json";
306
- status: 404;
306
+ status: 400;
307
307
  input: {
308
308
  param: {
309
309
  orgId: string;
@@ -312,14 +312,14 @@ export declare function orgs(): import("hono/hono-base").HonoBase<App.Environmen
312
312
  } | {
313
313
  output: {
314
314
  error: {
315
- code: "param_invalid";
315
+ code: "organization_not_found";
316
316
  details?: readonly Response.error.Detail[] | undefined;
317
317
  message: string;
318
318
  };
319
319
  requestId: string;
320
320
  };
321
321
  outputFormat: "json";
322
- status: 400;
322
+ status: 404;
323
323
  input: {
324
324
  param: {
325
325
  orgId: string;
@@ -447,14 +447,14 @@ export declare function orgs(): import("hono/hono-base").HonoBase<App.Environmen
447
447
  } | {
448
448
  output: {
449
449
  error: {
450
- code: "organization_not_found";
450
+ code: "body_invalid";
451
451
  details?: readonly Response.error.Detail[] | undefined;
452
452
  message: string;
453
453
  };
454
454
  requestId: string;
455
455
  };
456
456
  outputFormat: "json";
457
- status: 404;
457
+ status: 400;
458
458
  input: {
459
459
  param: {
460
460
  orgId: string;
@@ -487,14 +487,14 @@ export declare function orgs(): import("hono/hono-base").HonoBase<App.Environmen
487
487
  } | {
488
488
  output: {
489
489
  error: {
490
- code: "body_invalid";
490
+ code: "organization_not_found";
491
491
  details?: readonly Response.error.Detail[] | undefined;
492
492
  message: string;
493
493
  };
494
494
  requestId: string;
495
495
  };
496
496
  outputFormat: "json";
497
- status: 400;
497
+ status: 404;
498
498
  input: {
499
499
  param: {
500
500
  orgId: string;
@@ -610,14 +610,14 @@ export declare function orgs(): import("hono/hono-base").HonoBase<App.Environmen
610
610
  } | {
611
611
  output: {
612
612
  error: {
613
- code: "organization_not_found";
613
+ code: "param_invalid";
614
614
  details?: readonly Response.error.Detail[] | undefined;
615
615
  message: string;
616
616
  };
617
617
  requestId: string;
618
618
  };
619
619
  outputFormat: "json";
620
- status: 404;
620
+ status: 400;
621
621
  input: {
622
622
  param: {
623
623
  orgId: string;
@@ -626,14 +626,14 @@ export declare function orgs(): import("hono/hono-base").HonoBase<App.Environmen
626
626
  } | {
627
627
  output: {
628
628
  error: {
629
- code: "param_invalid";
629
+ code: "organization_not_found";
630
630
  details?: readonly Response.error.Detail[] | undefined;
631
631
  message: string;
632
632
  };
633
633
  requestId: string;
634
634
  };
635
635
  outputFormat: "json";
636
- status: 400;
636
+ status: 404;
637
637
  input: {
638
638
  param: {
639
639
  orgId: string;