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
@@ -59,16 +59,34 @@ export declare namespace schema {
59
59
  export declare function projects(): import("hono/hono-base").HonoBase<App.Environment, {
60
60
  "/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects": {
61
61
  $get: {
62
+ output: {
63
+ data: {
64
+ createdAt: string;
65
+ environments: ("production" | "sandbox")[];
66
+ id: string;
67
+ name: string;
68
+ orgId: string;
69
+ updatedAt: string;
70
+ }[];
71
+ };
72
+ outputFormat: "json";
73
+ status: 200;
74
+ input: {
75
+ param: {
76
+ orgId: string;
77
+ };
78
+ };
79
+ } | {
62
80
  output: {
63
81
  error: {
64
- code: "upstream_error";
82
+ code: "api_key_malformed";
65
83
  details?: readonly Response.error.Detail[] | undefined;
66
84
  message: string;
67
85
  };
68
86
  requestId: string;
69
87
  };
70
88
  outputFormat: "json";
71
- status: 502;
89
+ status: 400;
72
90
  input: {
73
91
  param: {
74
92
  orgId: string;
@@ -77,7 +95,7 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
77
95
  } | {
78
96
  output: {
79
97
  error: {
80
- code: "api_key_malformed";
98
+ code: "param_invalid";
81
99
  details?: readonly Response.error.Detail[] | undefined;
82
100
  message: string;
83
101
  };
@@ -125,14 +143,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
125
143
  } | {
126
144
  output: {
127
145
  error: {
128
- code: "payment_required" | "rate_limit_exceeded";
146
+ code: "organization_not_found";
129
147
  details?: readonly Response.error.Detail[] | undefined;
130
148
  message: string;
131
149
  };
132
150
  requestId: string;
133
151
  };
134
152
  outputFormat: "json";
135
- status: 429;
153
+ status: 404;
136
154
  input: {
137
155
  param: {
138
156
  orgId: string;
@@ -141,14 +159,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
141
159
  } | {
142
160
  output: {
143
161
  error: {
144
- code: "organization_not_found";
162
+ code: "payment_required" | "rate_limit_exceeded";
145
163
  details?: readonly Response.error.Detail[] | undefined;
146
164
  message: string;
147
165
  };
148
166
  requestId: string;
149
167
  };
150
168
  outputFormat: "json";
151
- status: 404;
169
+ status: 429;
152
170
  input: {
153
171
  param: {
154
172
  orgId: string;
@@ -157,29 +175,31 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
157
175
  } | {
158
176
  output: {
159
177
  error: {
160
- code: "param_invalid";
178
+ code: "upstream_error";
161
179
  details?: readonly Response.error.Detail[] | undefined;
162
180
  message: string;
163
181
  };
164
182
  requestId: string;
165
183
  };
166
184
  outputFormat: "json";
167
- status: 400;
185
+ status: 502;
168
186
  input: {
169
187
  param: {
170
188
  orgId: string;
171
189
  };
172
190
  };
173
- } | {
191
+ };
192
+ };
193
+ } & {
194
+ "/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects": {
195
+ $post: {
174
196
  output: {
175
- data: {
176
- createdAt: string;
177
- environments: ("production" | "sandbox")[];
178
- id: string;
179
- name: string;
180
- orgId: string;
181
- updatedAt: string;
182
- }[];
197
+ createdAt: string;
198
+ environments: ("production" | "sandbox")[];
199
+ id: string;
200
+ name: string;
201
+ orgId: string;
202
+ updatedAt: string;
183
203
  };
184
204
  outputFormat: "json";
185
205
  status: 200;
@@ -187,22 +207,22 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
187
207
  param: {
188
208
  orgId: string;
189
209
  };
210
+ } & {
211
+ json: {
212
+ name: string;
213
+ };
190
214
  };
191
- };
192
- };
193
- } & {
194
- "/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects": {
195
- $post: {
215
+ } | {
196
216
  output: {
197
217
  error: {
198
- code: "upstream_error";
218
+ code: "api_key_malformed";
199
219
  details?: readonly Response.error.Detail[] | undefined;
200
220
  message: string;
201
221
  };
202
222
  requestId: string;
203
223
  };
204
224
  outputFormat: "json";
205
- status: 502;
225
+ status: 400;
206
226
  input: {
207
227
  param: {
208
228
  orgId: string;
@@ -215,7 +235,7 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
215
235
  } | {
216
236
  output: {
217
237
  error: {
218
- code: "api_key_malformed";
238
+ code: "body_invalid";
219
239
  details?: readonly Response.error.Detail[] | undefined;
220
240
  message: string;
221
241
  };
@@ -235,14 +255,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
235
255
  } | {
236
256
  output: {
237
257
  error: {
238
- code: "api_key_invalid" | "api_key_missing";
258
+ code: "param_invalid";
239
259
  details?: readonly Response.error.Detail[] | undefined;
240
260
  message: string;
241
261
  };
242
262
  requestId: string;
243
263
  };
244
264
  outputFormat: "json";
245
- status: 401;
265
+ status: 400;
246
266
  input: {
247
267
  param: {
248
268
  orgId: string;
@@ -255,14 +275,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
255
275
  } | {
256
276
  output: {
257
277
  error: {
258
- code: "api_key_forbidden";
278
+ code: "api_key_invalid" | "api_key_missing";
259
279
  details?: readonly Response.error.Detail[] | undefined;
260
280
  message: string;
261
281
  };
262
282
  requestId: string;
263
283
  };
264
284
  outputFormat: "json";
265
- status: 403;
285
+ status: 401;
266
286
  input: {
267
287
  param: {
268
288
  orgId: string;
@@ -275,14 +295,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
275
295
  } | {
276
296
  output: {
277
297
  error: {
278
- code: "payment_required" | "rate_limit_exceeded";
298
+ code: "api_key_forbidden";
279
299
  details?: readonly Response.error.Detail[] | undefined;
280
300
  message: string;
281
301
  };
282
302
  requestId: string;
283
303
  };
284
304
  outputFormat: "json";
285
- status: 429;
305
+ status: 403;
286
306
  input: {
287
307
  param: {
288
308
  orgId: string;
@@ -315,14 +335,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
315
335
  } | {
316
336
  output: {
317
337
  error: {
318
- code: "body_invalid";
338
+ code: "payment_required" | "rate_limit_exceeded";
319
339
  details?: readonly Response.error.Detail[] | undefined;
320
340
  message: string;
321
341
  };
322
342
  requestId: string;
323
343
  };
324
344
  outputFormat: "json";
325
- status: 400;
345
+ status: 429;
326
346
  input: {
327
347
  param: {
328
348
  orgId: string;
@@ -335,14 +355,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
335
355
  } | {
336
356
  output: {
337
357
  error: {
338
- code: "param_invalid";
358
+ code: "upstream_error";
339
359
  details?: readonly Response.error.Detail[] | undefined;
340
360
  message: string;
341
361
  };
342
362
  requestId: string;
343
363
  };
344
364
  outputFormat: "json";
345
- status: 400;
365
+ status: 502;
346
366
  input: {
347
367
  param: {
348
368
  orgId: string;
@@ -352,7 +372,11 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
352
372
  name: string;
353
373
  };
354
374
  };
355
- } | {
375
+ };
376
+ };
377
+ } & {
378
+ "/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}": {
379
+ $get: {
356
380
  output: {
357
381
  createdAt: string;
358
382
  environments: ("production" | "sandbox")[];
@@ -366,17 +390,10 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
366
390
  input: {
367
391
  param: {
368
392
  orgId: string;
369
- };
370
- } & {
371
- json: {
372
- name: string;
393
+ projectId: string;
373
394
  };
374
395
  };
375
- };
376
- };
377
- } & {
378
- "/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}": {
379
- $get: {
396
+ } | {
380
397
  output: {
381
398
  error: {
382
399
  code: "api_key_malformed";
@@ -396,14 +413,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
396
413
  } | {
397
414
  output: {
398
415
  error: {
399
- code: "api_key_invalid" | "api_key_missing";
416
+ code: "param_invalid";
400
417
  details?: readonly Response.error.Detail[] | undefined;
401
418
  message: string;
402
419
  };
403
420
  requestId: string;
404
421
  };
405
422
  outputFormat: "json";
406
- status: 401;
423
+ status: 400;
407
424
  input: {
408
425
  param: {
409
426
  orgId: string;
@@ -413,14 +430,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
413
430
  } | {
414
431
  output: {
415
432
  error: {
416
- code: "api_key_forbidden";
433
+ code: "api_key_invalid" | "api_key_missing";
417
434
  details?: readonly Response.error.Detail[] | undefined;
418
435
  message: string;
419
436
  };
420
437
  requestId: string;
421
438
  };
422
439
  outputFormat: "json";
423
- status: 403;
440
+ status: 401;
424
441
  input: {
425
442
  param: {
426
443
  orgId: string;
@@ -430,14 +447,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
430
447
  } | {
431
448
  output: {
432
449
  error: {
433
- code: "payment_required" | "rate_limit_exceeded";
450
+ code: "api_key_forbidden";
434
451
  details?: readonly Response.error.Detail[] | undefined;
435
452
  message: string;
436
453
  };
437
454
  requestId: string;
438
455
  };
439
456
  outputFormat: "json";
440
- status: 429;
457
+ status: 403;
441
458
  input: {
442
459
  param: {
443
460
  orgId: string;
@@ -464,21 +481,25 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
464
481
  } | {
465
482
  output: {
466
483
  error: {
467
- code: "param_invalid";
484
+ code: "payment_required" | "rate_limit_exceeded";
468
485
  details?: readonly Response.error.Detail[] | undefined;
469
486
  message: string;
470
487
  };
471
488
  requestId: string;
472
489
  };
473
490
  outputFormat: "json";
474
- status: 400;
491
+ status: 429;
475
492
  input: {
476
493
  param: {
477
494
  orgId: string;
478
495
  projectId: string;
479
496
  };
480
497
  };
481
- } | {
498
+ };
499
+ };
500
+ } & {
501
+ "/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}": {
502
+ $patch: {
482
503
  output: {
483
504
  createdAt: string;
484
505
  environments: ("production" | "sandbox")[];
@@ -494,22 +515,22 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
494
515
  orgId: string;
495
516
  projectId: string;
496
517
  };
518
+ } & {
519
+ json: {
520
+ name: string;
521
+ };
497
522
  };
498
- };
499
- };
500
- } & {
501
- "/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}": {
502
- $patch: {
523
+ } | {
503
524
  output: {
504
525
  error: {
505
- code: "upstream_error";
526
+ code: "api_key_malformed";
506
527
  details?: readonly Response.error.Detail[] | undefined;
507
528
  message: string;
508
529
  };
509
530
  requestId: string;
510
531
  };
511
532
  outputFormat: "json";
512
- status: 502;
533
+ status: 400;
513
534
  input: {
514
535
  param: {
515
536
  orgId: string;
@@ -523,7 +544,7 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
523
544
  } | {
524
545
  output: {
525
546
  error: {
526
- code: "api_key_malformed";
547
+ code: "body_invalid";
527
548
  details?: readonly Response.error.Detail[] | undefined;
528
549
  message: string;
529
550
  };
@@ -544,14 +565,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
544
565
  } | {
545
566
  output: {
546
567
  error: {
547
- code: "api_key_invalid" | "api_key_missing";
568
+ code: "param_invalid";
548
569
  details?: readonly Response.error.Detail[] | undefined;
549
570
  message: string;
550
571
  };
551
572
  requestId: string;
552
573
  };
553
574
  outputFormat: "json";
554
- status: 401;
575
+ status: 400;
555
576
  input: {
556
577
  param: {
557
578
  orgId: string;
@@ -565,14 +586,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
565
586
  } | {
566
587
  output: {
567
588
  error: {
568
- code: "api_key_forbidden";
589
+ code: "api_key_invalid" | "api_key_missing";
569
590
  details?: readonly Response.error.Detail[] | undefined;
570
591
  message: string;
571
592
  };
572
593
  requestId: string;
573
594
  };
574
595
  outputFormat: "json";
575
- status: 403;
596
+ status: 401;
576
597
  input: {
577
598
  param: {
578
599
  orgId: string;
@@ -586,14 +607,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
586
607
  } | {
587
608
  output: {
588
609
  error: {
589
- code: "payment_required" | "rate_limit_exceeded";
610
+ code: "api_key_forbidden";
590
611
  details?: readonly Response.error.Detail[] | undefined;
591
612
  message: string;
592
613
  };
593
614
  requestId: string;
594
615
  };
595
616
  outputFormat: "json";
596
- status: 429;
617
+ status: 403;
597
618
  input: {
598
619
  param: {
599
620
  orgId: string;
@@ -628,14 +649,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
628
649
  } | {
629
650
  output: {
630
651
  error: {
631
- code: "body_invalid";
652
+ code: "payment_required" | "rate_limit_exceeded";
632
653
  details?: readonly Response.error.Detail[] | undefined;
633
654
  message: string;
634
655
  };
635
656
  requestId: string;
636
657
  };
637
658
  outputFormat: "json";
638
- status: 400;
659
+ status: 429;
639
660
  input: {
640
661
  param: {
641
662
  orgId: string;
@@ -649,14 +670,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
649
670
  } | {
650
671
  output: {
651
672
  error: {
652
- code: "param_invalid";
673
+ code: "upstream_error";
653
674
  details?: readonly Response.error.Detail[] | undefined;
654
675
  message: string;
655
676
  };
656
677
  requestId: string;
657
678
  };
658
679
  outputFormat: "json";
659
- status: 400;
680
+ status: 502;
660
681
  input: {
661
682
  param: {
662
683
  orgId: string;
@@ -667,14 +688,13 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
667
688
  name: string;
668
689
  };
669
690
  };
670
- } | {
691
+ };
692
+ };
693
+ } & {
694
+ "/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}": {
695
+ $delete: {
671
696
  output: {
672
- createdAt: string;
673
- environments: ("production" | "sandbox")[];
674
697
  id: string;
675
- name: string;
676
- orgId: string;
677
- updatedAt: string;
678
698
  };
679
699
  outputFormat: "json";
680
700
  status: 200;
@@ -683,26 +703,18 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
683
703
  orgId: string;
684
704
  projectId: string;
685
705
  };
686
- } & {
687
- json: {
688
- name: string;
689
- };
690
706
  };
691
- };
692
- };
693
- } & {
694
- "/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}": {
695
- $delete: {
707
+ } | {
696
708
  output: {
697
709
  error: {
698
- code: "upstream_error";
710
+ code: "api_key_malformed";
699
711
  details?: readonly Response.error.Detail[] | undefined;
700
712
  message: string;
701
713
  };
702
714
  requestId: string;
703
715
  };
704
716
  outputFormat: "json";
705
- status: 502;
717
+ status: 400;
706
718
  input: {
707
719
  param: {
708
720
  orgId: string;
@@ -712,7 +724,7 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
712
724
  } | {
713
725
  output: {
714
726
  error: {
715
- code: "api_key_malformed";
727
+ code: "param_invalid";
716
728
  details?: readonly Response.error.Detail[] | undefined;
717
729
  message: string;
718
730
  };
@@ -763,14 +775,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
763
775
  } | {
764
776
  output: {
765
777
  error: {
766
- code: "payment_required" | "rate_limit_exceeded";
778
+ code: "organization_not_found" | "project_not_found";
767
779
  details?: readonly Response.error.Detail[] | undefined;
768
780
  message: string;
769
781
  };
770
782
  requestId: string;
771
783
  };
772
784
  outputFormat: "json";
773
- status: 429;
785
+ status: 404;
774
786
  input: {
775
787
  param: {
776
788
  orgId: string;
@@ -780,14 +792,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
780
792
  } | {
781
793
  output: {
782
794
  error: {
783
- code: "organization_not_found" | "project_not_found";
795
+ code: "payment_required" | "rate_limit_exceeded";
784
796
  details?: readonly Response.error.Detail[] | undefined;
785
797
  message: string;
786
798
  };
787
799
  requestId: string;
788
800
  };
789
801
  outputFormat: "json";
790
- status: 404;
802
+ status: 429;
791
803
  input: {
792
804
  param: {
793
805
  orgId: string;
@@ -797,26 +809,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
797
809
  } | {
798
810
  output: {
799
811
  error: {
800
- code: "param_invalid";
812
+ code: "upstream_error";
801
813
  details?: readonly Response.error.Detail[] | undefined;
802
814
  message: string;
803
815
  };
804
816
  requestId: string;
805
817
  };
806
818
  outputFormat: "json";
807
- status: 400;
808
- input: {
809
- param: {
810
- orgId: string;
811
- projectId: string;
812
- };
813
- };
814
- } | {
815
- output: {
816
- id: string;
817
- };
818
- outputFormat: "json";
819
- status: 200;
819
+ status: 502;
820
820
  input: {
821
821
  param: {
822
822
  orgId: string;
@@ -29,17 +29,6 @@ export declare namespace schema {
29
29
  export declare function scopes(): import("hono/hono-base").HonoBase<App.Environment, {
30
30
  "/v1/scopes": {
31
31
  $get: {
32
- output: {
33
- data: {
34
- description: string;
35
- scope: string;
36
- selfServe: boolean;
37
- }[];
38
- };
39
- outputFormat: "json";
40
- status: 200;
41
- input: {};
42
- } | {
43
32
  output: {
44
33
  error: {
45
34
  code: "api_key_malformed";
@@ -87,6 +76,17 @@ export declare function scopes(): import("hono/hono-base").HonoBase<App.Environm
87
76
  outputFormat: "json";
88
77
  status: 429;
89
78
  input: {};
79
+ } | {
80
+ output: {
81
+ data: {
82
+ description: string;
83
+ scope: string;
84
+ selfServe: boolean;
85
+ }[];
86
+ };
87
+ outputFormat: "json";
88
+ status: 200;
89
+ input: {};
90
90
  };
91
91
  };
92
92
  }, "/", "/v1/scopes">;