tapimo 0.15.0 → 0.15.1

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 (91) hide show
  1. package/dist/App.d.ts +26 -26
  2. package/dist/admin/App.d.ts +3 -0
  3. package/dist/admin/App.d.ts.map +1 -1
  4. package/dist/admin/apps/api-keys.d.ts +41 -41
  5. package/dist/admin/apps/routes.d.ts +64 -64
  6. package/dist/admin/apps/verified-tokens.d.ts +161 -155
  7. package/dist/admin/apps/verified-tokens.d.ts.map +1 -1
  8. package/dist/admin/apps/verified-tokens.js +24 -4
  9. package/dist/admin/apps/verified-tokens.js.map +1 -1
  10. package/dist/admin/ui.generated.d.ts +1 -1
  11. package/dist/admin/ui.generated.d.ts.map +1 -1
  12. package/dist/admin/ui.generated.js +201 -209
  13. package/dist/admin/ui.generated.js.map +1 -1
  14. package/dist/apps/data/routes/activities.d.ts +357 -357
  15. package/dist/apps/data/routes/blocks.d.ts +125 -125
  16. package/dist/apps/data/routes/fee-amm.d.ts +108 -108
  17. package/dist/apps/data/routes/fee-amm.d.ts.map +1 -1
  18. package/dist/apps/data/routes/fee-amm.js +10 -2
  19. package/dist/apps/data/routes/fee-amm.js.map +1 -1
  20. package/dist/apps/data/routes/indexer.d.ts +43 -43
  21. package/dist/apps/data/routes/receipts.d.ts +235 -235
  22. package/dist/apps/data/routes/rpc.js +45 -11
  23. package/dist/apps/data/routes/rpc.js.map +1 -1
  24. package/dist/apps/data/routes/transfers.d.ts +81 -81
  25. package/dist/apps/data/routes/valuation.d.ts +32 -32
  26. package/dist/apps/data/routes/verified-tokens.d.ts +86 -86
  27. package/dist/apps/data/routes/webhooks.d.ts +1 -1
  28. package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
  29. package/dist/apps/data/routes/webhooks.js +17 -10
  30. package/dist/apps/data/routes/webhooks.js.map +1 -1
  31. package/dist/apps/data/routes/zones.d.ts +31 -31
  32. package/dist/apps/management/App.d.ts +26 -26
  33. package/dist/apps/management/routes/api-keys.d.ts +246 -246
  34. package/dist/apps/management/routes/invitations.d.ts +138 -138
  35. package/dist/apps/management/routes/invite-links.d.ts +168 -168
  36. package/dist/apps/management/routes/orgs.d.ts +98 -98
  37. package/dist/apps/management/routes/projects.d.ts +125 -125
  38. package/dist/apps/management/routes/verified-token-requests.d.ts +95 -95
  39. package/dist/apps/management/routes/verified-token-requests.d.ts.map +1 -1
  40. package/dist/apps/management/routes/verified-token-requests.js +7 -9
  41. package/dist/apps/management/routes/verified-token-requests.js.map +1 -1
  42. package/dist/apps/management/routes/webhooks.d.ts +423 -423
  43. package/dist/apps/mcp.d.ts.map +1 -1
  44. package/dist/apps/mcp.js +16 -3
  45. package/dist/apps/mcp.js.map +1 -1
  46. package/dist/apps/mpp/App.d.ts +44 -44
  47. package/dist/apps/routes/routes/chains.d.ts +25 -25
  48. package/dist/apps/routes/routes/quotes.d.ts +87 -87
  49. package/dist/apps/routes/routes/transfers.d.ts +438 -438
  50. package/dist/db/Db.d.ts.map +1 -1
  51. package/dist/db/Db.js +5 -0
  52. package/dist/db/Db.js.map +1 -1
  53. package/dist/db/tables/verifiedTokenRequests.d.ts +21 -4
  54. package/dist/db/tables/verifiedTokenRequests.d.ts.map +1 -1
  55. package/dist/db/tables/verifiedTokenRequests.js +65 -44
  56. package/dist/db/tables/verifiedTokenRequests.js.map +1 -1
  57. package/dist/internal/Auth.d.ts +16 -0
  58. package/dist/internal/Auth.d.ts.map +1 -1
  59. package/dist/internal/Auth.js +31 -8
  60. package/dist/internal/Auth.js.map +1 -1
  61. package/dist/internal/routes/providers/relay.d.ts +1 -1
  62. package/dist/internal/routes/providers/relay.js +1 -1
  63. package/dist/internal/routes/providers/relay.js.map +1 -1
  64. package/package.json +1 -1
  65. package/src/admin/apps/verified-tokens.test.ts +32 -0
  66. package/src/admin/apps/verified-tokens.ts +30 -4
  67. package/src/admin/ui/src/lib/verified-tokens.ts +24 -9
  68. package/src/admin/ui/src/routes/__root.tsx +1 -1
  69. package/src/admin/ui/src/routes/organizations.tsx +34 -4
  70. package/src/admin/ui/src/routes/verified-tokens.tsx +64 -20
  71. package/src/admin/ui.generated.ts +202 -263
  72. package/src/apps/data/App.test.ts +26 -0
  73. package/src/apps/data/routes/fee-amm.test.ts +19 -0
  74. package/src/apps/data/routes/fee-amm.ts +10 -2
  75. package/src/apps/data/routes/rpc.test.ts +32 -0
  76. package/src/apps/data/routes/rpc.ts +47 -10
  77. package/src/apps/data/routes/webhooks.scan.test.ts +29 -0
  78. package/src/apps/data/routes/webhooks.test.ts +6 -0
  79. package/src/apps/data/routes/webhooks.ts +25 -12
  80. package/src/apps/management/routes/verified-token-requests.test.ts +16 -2
  81. package/src/apps/management/routes/verified-token-requests.ts +7 -10
  82. package/src/apps/mcp.test.ts +108 -25
  83. package/src/apps/mcp.ts +15 -3
  84. package/src/db/Db.ts +9 -0
  85. package/src/db/tables/routesDeposits.test.ts +72 -0
  86. package/src/db/tables/verifiedTokenRequests.test.ts +39 -20
  87. package/src/db/tables/verifiedTokenRequests.ts +80 -44
  88. package/src/internal/Auth.test.ts +92 -0
  89. package/src/internal/Auth.ts +51 -9
  90. package/src/internal/routes/providers/relay.test.ts +59 -0
  91. package/src/internal/routes/providers/relay.ts +1 -1
@@ -63,6 +63,24 @@ export declare namespace schema {
63
63
  export declare function projects(): import("hono/hono-base").HonoBase<App.Environment, {
64
64
  "/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects": {
65
65
  $get: {
66
+ output: {
67
+ data: {
68
+ createdAt: string;
69
+ environments: ("production" | "sandbox")[];
70
+ id: string;
71
+ name: string;
72
+ orgId: string;
73
+ updatedAt: string;
74
+ }[];
75
+ };
76
+ outputFormat: "json";
77
+ status: 200;
78
+ input: {
79
+ param: {
80
+ orgId: string;
81
+ };
82
+ };
83
+ } | {
66
84
  output: {
67
85
  error: {
68
86
  code: "api_key_malformed";
@@ -81,14 +99,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
81
99
  } | {
82
100
  output: {
83
101
  error: {
84
- code: "api_key_invalid" | "api_key_missing";
102
+ code: "param_invalid";
85
103
  details?: readonly Response.error.Detail[] | undefined;
86
104
  message: string;
87
105
  };
88
106
  requestId: string;
89
107
  };
90
108
  outputFormat: "json";
91
- status: 401;
109
+ status: 400;
92
110
  input: {
93
111
  param: {
94
112
  orgId: string;
@@ -97,14 +115,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
97
115
  } | {
98
116
  output: {
99
117
  error: {
100
- code: "api_key_forbidden" | "api_key_ip_forbidden";
118
+ code: "api_key_invalid" | "api_key_missing";
101
119
  details?: readonly Response.error.Detail[] | undefined;
102
120
  message: string;
103
121
  };
104
122
  requestId: string;
105
123
  };
106
124
  outputFormat: "json";
107
- status: 403;
125
+ status: 401;
108
126
  input: {
109
127
  param: {
110
128
  orgId: string;
@@ -113,14 +131,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
113
131
  } | {
114
132
  output: {
115
133
  error: {
116
- code: "payment_required" | "rate_limit_exceeded";
134
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
117
135
  details?: readonly Response.error.Detail[] | undefined;
118
136
  message: string;
119
137
  };
120
138
  requestId: string;
121
139
  };
122
140
  outputFormat: "json";
123
- status: 429;
141
+ status: 403;
124
142
  input: {
125
143
  param: {
126
144
  orgId: string;
@@ -129,14 +147,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
129
147
  } | {
130
148
  output: {
131
149
  error: {
132
- code: "upstream_error";
150
+ code: "organization_not_found";
133
151
  details?: readonly Response.error.Detail[] | undefined;
134
152
  message: string;
135
153
  };
136
154
  requestId: string;
137
155
  };
138
156
  outputFormat: "json";
139
- status: 502;
157
+ status: 404;
140
158
  input: {
141
159
  param: {
142
160
  orgId: string;
@@ -145,14 +163,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
145
163
  } | {
146
164
  output: {
147
165
  error: {
148
- code: "param_invalid";
166
+ code: "payment_required" | "rate_limit_exceeded";
149
167
  details?: readonly Response.error.Detail[] | undefined;
150
168
  message: string;
151
169
  };
152
170
  requestId: string;
153
171
  };
154
172
  outputFormat: "json";
155
- status: 400;
173
+ status: 429;
156
174
  input: {
157
175
  param: {
158
176
  orgId: string;
@@ -161,29 +179,31 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
161
179
  } | {
162
180
  output: {
163
181
  error: {
164
- code: "organization_not_found";
182
+ code: "upstream_error";
165
183
  details?: readonly Response.error.Detail[] | undefined;
166
184
  message: string;
167
185
  };
168
186
  requestId: string;
169
187
  };
170
188
  outputFormat: "json";
171
- status: 404;
189
+ status: 502;
172
190
  input: {
173
191
  param: {
174
192
  orgId: string;
175
193
  };
176
194
  };
177
- } | {
195
+ };
196
+ };
197
+ } & {
198
+ "/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects": {
199
+ $post: {
178
200
  output: {
179
- data: {
180
- createdAt: string;
181
- environments: ("production" | "sandbox")[];
182
- id: string;
183
- name: string;
184
- orgId: string;
185
- updatedAt: string;
186
- }[];
201
+ createdAt: string;
202
+ environments: ("production" | "sandbox")[];
203
+ id: string;
204
+ name: string;
205
+ orgId: string;
206
+ updatedAt: string;
187
207
  };
188
208
  outputFormat: "json";
189
209
  status: 200;
@@ -191,12 +211,12 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
191
211
  param: {
192
212
  orgId: string;
193
213
  };
214
+ } & {
215
+ json: {
216
+ name: string;
217
+ };
194
218
  };
195
- };
196
- };
197
- } & {
198
- "/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects": {
199
- $post: {
219
+ } | {
200
220
  output: {
201
221
  error: {
202
222
  code: "api_key_malformed";
@@ -219,14 +239,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
219
239
  } | {
220
240
  output: {
221
241
  error: {
222
- code: "api_key_invalid" | "api_key_missing";
242
+ code: "param_invalid";
223
243
  details?: readonly Response.error.Detail[] | undefined;
224
244
  message: string;
225
245
  };
226
246
  requestId: string;
227
247
  };
228
248
  outputFormat: "json";
229
- status: 401;
249
+ status: 400;
230
250
  input: {
231
251
  param: {
232
252
  orgId: string;
@@ -239,14 +259,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
239
259
  } | {
240
260
  output: {
241
261
  error: {
242
- code: "api_key_forbidden" | "api_key_ip_forbidden";
262
+ code: "body_invalid";
243
263
  details?: readonly Response.error.Detail[] | undefined;
244
264
  message: string;
245
265
  };
246
266
  requestId: string;
247
267
  };
248
268
  outputFormat: "json";
249
- status: 403;
269
+ status: 400;
250
270
  input: {
251
271
  param: {
252
272
  orgId: string;
@@ -259,14 +279,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
259
279
  } | {
260
280
  output: {
261
281
  error: {
262
- code: "payment_required" | "rate_limit_exceeded";
282
+ code: "api_key_invalid" | "api_key_missing";
263
283
  details?: readonly Response.error.Detail[] | undefined;
264
284
  message: string;
265
285
  };
266
286
  requestId: string;
267
287
  };
268
288
  outputFormat: "json";
269
- status: 429;
289
+ status: 401;
270
290
  input: {
271
291
  param: {
272
292
  orgId: string;
@@ -279,14 +299,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
279
299
  } | {
280
300
  output: {
281
301
  error: {
282
- code: "upstream_error";
302
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
283
303
  details?: readonly Response.error.Detail[] | undefined;
284
304
  message: string;
285
305
  };
286
306
  requestId: string;
287
307
  };
288
308
  outputFormat: "json";
289
- status: 502;
309
+ status: 403;
290
310
  input: {
291
311
  param: {
292
312
  orgId: string;
@@ -299,14 +319,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
299
319
  } | {
300
320
  output: {
301
321
  error: {
302
- code: "param_invalid";
322
+ code: "forbidden";
303
323
  details?: readonly Response.error.Detail[] | undefined;
304
324
  message: string;
305
325
  };
306
326
  requestId: string;
307
327
  };
308
328
  outputFormat: "json";
309
- status: 400;
329
+ status: 403;
310
330
  input: {
311
331
  param: {
312
332
  orgId: string;
@@ -319,14 +339,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
319
339
  } | {
320
340
  output: {
321
341
  error: {
322
- code: "body_invalid";
342
+ code: "organization_not_found";
323
343
  details?: readonly Response.error.Detail[] | undefined;
324
344
  message: string;
325
345
  };
326
346
  requestId: string;
327
347
  };
328
348
  outputFormat: "json";
329
- status: 400;
349
+ status: 404;
330
350
  input: {
331
351
  param: {
332
352
  orgId: string;
@@ -339,14 +359,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
339
359
  } | {
340
360
  output: {
341
361
  error: {
342
- code: "forbidden";
362
+ code: "payment_required" | "rate_limit_exceeded";
343
363
  details?: readonly Response.error.Detail[] | undefined;
344
364
  message: string;
345
365
  };
346
366
  requestId: string;
347
367
  };
348
368
  outputFormat: "json";
349
- status: 403;
369
+ status: 429;
350
370
  input: {
351
371
  param: {
352
372
  orgId: string;
@@ -359,14 +379,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
359
379
  } | {
360
380
  output: {
361
381
  error: {
362
- code: "organization_not_found";
382
+ code: "upstream_error";
363
383
  details?: readonly Response.error.Detail[] | undefined;
364
384
  message: string;
365
385
  };
366
386
  requestId: string;
367
387
  };
368
388
  outputFormat: "json";
369
- status: 404;
389
+ status: 502;
370
390
  input: {
371
391
  param: {
372
392
  orgId: string;
@@ -376,7 +396,11 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
376
396
  name: string;
377
397
  };
378
398
  };
379
- } | {
399
+ };
400
+ };
401
+ } & {
402
+ "/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}": {
403
+ $get: {
380
404
  output: {
381
405
  createdAt: string;
382
406
  environments: ("production" | "sandbox")[];
@@ -390,17 +414,10 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
390
414
  input: {
391
415
  param: {
392
416
  orgId: string;
393
- };
394
- } & {
395
- json: {
396
- name: string;
417
+ projectId: string;
397
418
  };
398
419
  };
399
- };
400
- };
401
- } & {
402
- "/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}": {
403
- $get: {
420
+ } | {
404
421
  output: {
405
422
  error: {
406
423
  code: "api_key_malformed";
@@ -420,14 +437,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
420
437
  } | {
421
438
  output: {
422
439
  error: {
423
- code: "api_key_invalid" | "api_key_missing";
440
+ code: "param_invalid";
424
441
  details?: readonly Response.error.Detail[] | undefined;
425
442
  message: string;
426
443
  };
427
444
  requestId: string;
428
445
  };
429
446
  outputFormat: "json";
430
- status: 401;
447
+ status: 400;
431
448
  input: {
432
449
  param: {
433
450
  orgId: string;
@@ -437,14 +454,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
437
454
  } | {
438
455
  output: {
439
456
  error: {
440
- code: "api_key_forbidden" | "api_key_ip_forbidden";
457
+ code: "api_key_invalid" | "api_key_missing";
441
458
  details?: readonly Response.error.Detail[] | undefined;
442
459
  message: string;
443
460
  };
444
461
  requestId: string;
445
462
  };
446
463
  outputFormat: "json";
447
- status: 403;
464
+ status: 401;
448
465
  input: {
449
466
  param: {
450
467
  orgId: string;
@@ -454,14 +471,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
454
471
  } | {
455
472
  output: {
456
473
  error: {
457
- code: "payment_required" | "rate_limit_exceeded";
474
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
458
475
  details?: readonly Response.error.Detail[] | undefined;
459
476
  message: string;
460
477
  };
461
478
  requestId: string;
462
479
  };
463
480
  outputFormat: "json";
464
- status: 429;
481
+ status: 403;
465
482
  input: {
466
483
  param: {
467
484
  orgId: string;
@@ -471,14 +488,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
471
488
  } | {
472
489
  output: {
473
490
  error: {
474
- code: "param_invalid";
491
+ code: "organization_not_found" | "project_not_found";
475
492
  details?: readonly Response.error.Detail[] | undefined;
476
493
  message: string;
477
494
  };
478
495
  requestId: string;
479
496
  };
480
497
  outputFormat: "json";
481
- status: 400;
498
+ status: 404;
482
499
  input: {
483
500
  param: {
484
501
  orgId: string;
@@ -488,21 +505,25 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
488
505
  } | {
489
506
  output: {
490
507
  error: {
491
- code: "organization_not_found" | "project_not_found";
508
+ code: "payment_required" | "rate_limit_exceeded";
492
509
  details?: readonly Response.error.Detail[] | undefined;
493
510
  message: string;
494
511
  };
495
512
  requestId: string;
496
513
  };
497
514
  outputFormat: "json";
498
- status: 404;
515
+ status: 429;
499
516
  input: {
500
517
  param: {
501
518
  orgId: string;
502
519
  projectId: string;
503
520
  };
504
521
  };
505
- } | {
522
+ };
523
+ };
524
+ } & {
525
+ "/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}": {
526
+ $patch: {
506
527
  output: {
507
528
  createdAt: string;
508
529
  environments: ("production" | "sandbox")[];
@@ -518,12 +539,12 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
518
539
  orgId: string;
519
540
  projectId: string;
520
541
  };
542
+ } & {
543
+ json: {
544
+ name: string;
545
+ };
521
546
  };
522
- };
523
- };
524
- } & {
525
- "/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}": {
526
- $patch: {
547
+ } | {
527
548
  output: {
528
549
  error: {
529
550
  code: "api_key_malformed";
@@ -547,14 +568,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
547
568
  } | {
548
569
  output: {
549
570
  error: {
550
- code: "api_key_invalid" | "api_key_missing";
571
+ code: "param_invalid";
551
572
  details?: readonly Response.error.Detail[] | undefined;
552
573
  message: string;
553
574
  };
554
575
  requestId: string;
555
576
  };
556
577
  outputFormat: "json";
557
- status: 401;
578
+ status: 400;
558
579
  input: {
559
580
  param: {
560
581
  orgId: string;
@@ -568,14 +589,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
568
589
  } | {
569
590
  output: {
570
591
  error: {
571
- code: "api_key_forbidden" | "api_key_ip_forbidden";
592
+ code: "body_invalid";
572
593
  details?: readonly Response.error.Detail[] | undefined;
573
594
  message: string;
574
595
  };
575
596
  requestId: string;
576
597
  };
577
598
  outputFormat: "json";
578
- status: 403;
599
+ status: 400;
579
600
  input: {
580
601
  param: {
581
602
  orgId: string;
@@ -589,14 +610,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
589
610
  } | {
590
611
  output: {
591
612
  error: {
592
- code: "payment_required" | "rate_limit_exceeded";
613
+ code: "api_key_invalid" | "api_key_missing";
593
614
  details?: readonly Response.error.Detail[] | undefined;
594
615
  message: string;
595
616
  };
596
617
  requestId: string;
597
618
  };
598
619
  outputFormat: "json";
599
- status: 429;
620
+ status: 401;
600
621
  input: {
601
622
  param: {
602
623
  orgId: string;
@@ -610,14 +631,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
610
631
  } | {
611
632
  output: {
612
633
  error: {
613
- code: "upstream_error";
634
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
614
635
  details?: readonly Response.error.Detail[] | undefined;
615
636
  message: string;
616
637
  };
617
638
  requestId: string;
618
639
  };
619
640
  outputFormat: "json";
620
- status: 502;
641
+ status: 403;
621
642
  input: {
622
643
  param: {
623
644
  orgId: string;
@@ -631,14 +652,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
631
652
  } | {
632
653
  output: {
633
654
  error: {
634
- code: "param_invalid";
655
+ code: "forbidden";
635
656
  details?: readonly Response.error.Detail[] | undefined;
636
657
  message: string;
637
658
  };
638
659
  requestId: string;
639
660
  };
640
661
  outputFormat: "json";
641
- status: 400;
662
+ status: 403;
642
663
  input: {
643
664
  param: {
644
665
  orgId: string;
@@ -652,14 +673,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
652
673
  } | {
653
674
  output: {
654
675
  error: {
655
- code: "body_invalid";
676
+ code: "organization_not_found" | "project_not_found";
656
677
  details?: readonly Response.error.Detail[] | undefined;
657
678
  message: string;
658
679
  };
659
680
  requestId: string;
660
681
  };
661
682
  outputFormat: "json";
662
- status: 400;
683
+ status: 404;
663
684
  input: {
664
685
  param: {
665
686
  orgId: string;
@@ -673,14 +694,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
673
694
  } | {
674
695
  output: {
675
696
  error: {
676
- code: "forbidden";
697
+ code: "payment_required" | "rate_limit_exceeded";
677
698
  details?: readonly Response.error.Detail[] | undefined;
678
699
  message: string;
679
700
  };
680
701
  requestId: string;
681
702
  };
682
703
  outputFormat: "json";
683
- status: 403;
704
+ status: 429;
684
705
  input: {
685
706
  param: {
686
707
  orgId: string;
@@ -694,14 +715,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
694
715
  } | {
695
716
  output: {
696
717
  error: {
697
- code: "organization_not_found" | "project_not_found";
718
+ code: "upstream_error";
698
719
  details?: readonly Response.error.Detail[] | undefined;
699
720
  message: string;
700
721
  };
701
722
  requestId: string;
702
723
  };
703
724
  outputFormat: "json";
704
- status: 404;
725
+ status: 502;
705
726
  input: {
706
727
  param: {
707
728
  orgId: string;
@@ -712,14 +733,13 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
712
733
  name: string;
713
734
  };
714
735
  };
715
- } | {
736
+ };
737
+ };
738
+ } & {
739
+ "/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}": {
740
+ $delete: {
716
741
  output: {
717
- createdAt: string;
718
- environments: ("production" | "sandbox")[];
719
742
  id: string;
720
- name: string;
721
- orgId: string;
722
- updatedAt: string;
723
743
  };
724
744
  outputFormat: "json";
725
745
  status: 200;
@@ -728,16 +748,8 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
728
748
  orgId: string;
729
749
  projectId: string;
730
750
  };
731
- } & {
732
- json: {
733
- name: string;
734
- };
735
751
  };
736
- };
737
- };
738
- } & {
739
- "/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}": {
740
- $delete: {
752
+ } | {
741
753
  output: {
742
754
  error: {
743
755
  code: "api_key_malformed";
@@ -757,14 +769,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
757
769
  } | {
758
770
  output: {
759
771
  error: {
760
- code: "api_key_invalid" | "api_key_missing";
772
+ code: "param_invalid";
761
773
  details?: readonly Response.error.Detail[] | undefined;
762
774
  message: string;
763
775
  };
764
776
  requestId: string;
765
777
  };
766
778
  outputFormat: "json";
767
- status: 401;
779
+ status: 400;
768
780
  input: {
769
781
  param: {
770
782
  orgId: string;
@@ -774,14 +786,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
774
786
  } | {
775
787
  output: {
776
788
  error: {
777
- code: "api_key_forbidden" | "api_key_ip_forbidden";
789
+ code: "api_key_invalid" | "api_key_missing";
778
790
  details?: readonly Response.error.Detail[] | undefined;
779
791
  message: string;
780
792
  };
781
793
  requestId: string;
782
794
  };
783
795
  outputFormat: "json";
784
- status: 403;
796
+ status: 401;
785
797
  input: {
786
798
  param: {
787
799
  orgId: string;
@@ -791,14 +803,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
791
803
  } | {
792
804
  output: {
793
805
  error: {
794
- code: "payment_required" | "rate_limit_exceeded";
806
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
795
807
  details?: readonly Response.error.Detail[] | undefined;
796
808
  message: string;
797
809
  };
798
810
  requestId: string;
799
811
  };
800
812
  outputFormat: "json";
801
- status: 429;
813
+ status: 403;
802
814
  input: {
803
815
  param: {
804
816
  orgId: string;
@@ -808,14 +820,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
808
820
  } | {
809
821
  output: {
810
822
  error: {
811
- code: "upstream_error";
823
+ code: "forbidden";
812
824
  details?: readonly Response.error.Detail[] | undefined;
813
825
  message: string;
814
826
  };
815
827
  requestId: string;
816
828
  };
817
829
  outputFormat: "json";
818
- status: 502;
830
+ status: 403;
819
831
  input: {
820
832
  param: {
821
833
  orgId: string;
@@ -825,14 +837,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
825
837
  } | {
826
838
  output: {
827
839
  error: {
828
- code: "param_invalid";
840
+ code: "organization_not_found" | "project_not_found";
829
841
  details?: readonly Response.error.Detail[] | undefined;
830
842
  message: string;
831
843
  };
832
844
  requestId: string;
833
845
  };
834
846
  outputFormat: "json";
835
- status: 400;
847
+ status: 404;
836
848
  input: {
837
849
  param: {
838
850
  orgId: string;
@@ -842,14 +854,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
842
854
  } | {
843
855
  output: {
844
856
  error: {
845
- code: "forbidden";
857
+ code: "payment_required" | "rate_limit_exceeded";
846
858
  details?: readonly Response.error.Detail[] | undefined;
847
859
  message: string;
848
860
  };
849
861
  requestId: string;
850
862
  };
851
863
  outputFormat: "json";
852
- status: 403;
864
+ status: 429;
853
865
  input: {
854
866
  param: {
855
867
  orgId: string;
@@ -859,26 +871,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
859
871
  } | {
860
872
  output: {
861
873
  error: {
862
- code: "organization_not_found" | "project_not_found";
874
+ code: "upstream_error";
863
875
  details?: readonly Response.error.Detail[] | undefined;
864
876
  message: string;
865
877
  };
866
878
  requestId: string;
867
879
  };
868
880
  outputFormat: "json";
869
- status: 404;
870
- input: {
871
- param: {
872
- orgId: string;
873
- projectId: string;
874
- };
875
- };
876
- } | {
877
- output: {
878
- id: string;
879
- };
880
- outputFormat: "json";
881
- status: 200;
881
+ status: 502;
882
882
  input: {
883
883
  param: {
884
884
  orgId: string;