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.
- package/dist/App.d.ts +4854 -4829
- package/dist/App.d.ts.map +1 -1
- package/dist/App.js +20 -2
- package/dist/App.js.map +1 -1
- package/dist/Assets.js +3 -3
- package/dist/Assets.js.map +1 -1
- package/dist/Scope.d.ts.map +1 -1
- package/dist/Scope.js +1 -2
- package/dist/Scope.js.map +1 -1
- package/dist/Webhooks.d.ts +1 -1
- package/dist/Webhooks.d.ts.map +1 -1
- package/dist/Webhooks.js +5 -10
- package/dist/Webhooks.js.map +1 -1
- package/dist/admin/App.d.ts +6 -34
- package/dist/admin/App.d.ts.map +1 -1
- package/dist/admin/apps/api-keys.d.ts +3 -3
- package/dist/admin/apps/api-keys.d.ts.map +1 -1
- package/dist/admin/apps/api-keys.js +4 -1
- package/dist/admin/apps/api-keys.js.map +1 -1
- package/dist/admin/apps/scopes.d.ts +6 -34
- package/dist/admin/apps/scopes.d.ts.map +1 -1
- package/dist/admin/apps/scopes.js +2 -2
- package/dist/admin/apps/scopes.js.map +1 -1
- package/dist/admin/apps/verified-tokens.d.ts +2 -2
- package/dist/admin/ui.generated.d.ts +1 -1
- package/dist/admin/ui.generated.js +33 -33
- package/dist/admin/ui.generated.js.map +1 -1
- package/dist/apps/data/App.d.ts +1398 -1405
- package/dist/apps/data/App.d.ts.map +1 -1
- package/dist/apps/data/App.js +25 -38
- package/dist/apps/data/App.js.map +1 -1
- package/dist/apps/data/FundingQuoteProviders.d.ts +108 -3
- package/dist/apps/data/FundingQuoteProviders.d.ts.map +1 -1
- package/dist/apps/data/FundingQuoteProviders.js +409 -2
- package/dist/apps/data/FundingQuoteProviders.js.map +1 -1
- package/dist/apps/data/routes/activities.d.ts +245 -245
- package/dist/apps/data/routes/blocks.d.ts +123 -123
- package/dist/apps/data/routes/funding.d.ts +236 -146
- package/dist/apps/data/routes/funding.d.ts.map +1 -1
- package/dist/apps/data/routes/funding.js +23 -12
- package/dist/apps/data/routes/funding.js.map +1 -1
- package/dist/apps/data/routes/indexer.d.ts.map +1 -1
- package/dist/apps/data/routes/indexer.js +9 -2
- package/dist/apps/data/routes/indexer.js.map +1 -1
- package/dist/apps/data/routes/rpc.d.ts +31 -31
- package/dist/apps/data/routes/tokenlist.d.ts +36 -36
- package/dist/apps/data/routes/transactions.d.ts +281 -281
- package/dist/apps/data/routes/transfers.d.ts +66 -73
- package/dist/apps/data/routes/transfers.d.ts.map +1 -1
- package/dist/apps/data/routes/transfers.js +21 -27
- package/dist/apps/data/routes/transfers.js.map +1 -1
- package/dist/apps/data/routes/verified-tokens.d.ts +86 -86
- package/dist/apps/data/routes/webhooks.d.ts +35 -35
- package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/data/routes/webhooks.js +176 -42
- package/dist/apps/data/routes/webhooks.js.map +1 -1
- package/dist/apps/management/App.d.ts +520 -504
- package/dist/apps/management/App.d.ts.map +1 -1
- package/dist/apps/management/Billing.d.ts.map +1 -1
- package/dist/apps/management/Billing.js +5 -4
- package/dist/apps/management/Billing.js.map +1 -1
- package/dist/apps/management/routes/api-keys.d.ts +120 -120
- package/dist/apps/management/routes/billing.d.ts +211 -211
- package/dist/apps/management/routes/billing.d.ts.map +1 -1
- package/dist/apps/management/routes/billing.js +1 -1
- package/dist/apps/management/routes/billing.js.map +1 -1
- package/dist/apps/management/routes/invitations.d.ts +72 -72
- package/dist/apps/management/routes/invite-links.d.ts +159 -159
- package/dist/apps/management/routes/me.d.ts +17 -17
- package/dist/apps/management/routes/members.d.ts +80 -80
- package/dist/apps/management/routes/orgs.d.ts +59 -43
- package/dist/apps/management/routes/orgs.d.ts.map +1 -1
- package/dist/apps/management/routes/orgs.js +18 -1
- package/dist/apps/management/routes/orgs.js.map +1 -1
- package/dist/apps/management/routes/projects.d.ts +109 -109
- package/dist/apps/management/routes/scopes.d.ts +11 -11
- package/dist/apps/management/routes/usage.d.ts +79 -79
- package/dist/apps/mcp.js +2 -2
- package/dist/apps/mcp.js.map +1 -1
- package/dist/apps/relay/App.d.ts +2 -2
- package/dist/apps/relay/App.js +2 -2
- package/dist/apps/relay/Sponsorships.d.ts +3 -0
- package/dist/apps/relay/Sponsorships.d.ts.map +1 -1
- package/dist/apps/relay/Sponsorships.js +15 -1
- package/dist/apps/relay/Sponsorships.js.map +1 -1
- package/dist/db/Db.d.ts.map +1 -1
- package/dist/db/Db.js +4 -0
- package/dist/db/Db.js.map +1 -1
- package/dist/db/Schema.js +1 -1
- package/dist/db/Schema.js.map +1 -1
- package/dist/db/tables/organizations.d.ts +6 -0
- package/dist/db/tables/organizations.d.ts.map +1 -1
- package/dist/db/tables/organizations.js +26 -0
- package/dist/db/tables/organizations.js.map +1 -1
- package/dist/db/tables/requestUsage.d.ts +2 -11
- package/dist/db/tables/requestUsage.d.ts.map +1 -1
- package/dist/db/tables/requestUsage.js +1 -20
- package/dist/db/tables/requestUsage.js.map +1 -1
- package/dist/db/tables/sponsoredTransactions.d.ts +2 -1
- package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -1
- package/dist/db/tables/sponsoredTransactions.js +52 -10
- package/dist/db/tables/sponsoredTransactions.js.map +1 -1
- package/dist/internal/Auth.d.ts +4 -0
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +15 -8
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/Cache.d.ts.map +1 -1
- package/dist/internal/Cache.js +9 -1
- package/dist/internal/Cache.js.map +1 -1
- package/dist/internal/EdgeCache.d.ts.map +1 -1
- package/dist/internal/EdgeCache.js +12 -3
- package/dist/internal/EdgeCache.js.map +1 -1
- package/dist/internal/FundingQuotes.d.ts +176 -56
- package/dist/internal/FundingQuotes.d.ts.map +1 -1
- package/dist/internal/FundingQuotes.js +100 -5
- package/dist/internal/FundingQuotes.js.map +1 -1
- package/dist/internal/Log.d.ts +18 -12
- package/dist/internal/Log.d.ts.map +1 -1
- package/dist/internal/Log.js +2 -0
- package/dist/internal/Log.js.map +1 -1
- package/dist/internal/RateLimit.d.ts +2 -0
- package/dist/internal/RateLimit.d.ts.map +1 -1
- package/dist/internal/RateLimit.js +4 -4
- package/dist/internal/RateLimit.js.map +1 -1
- package/dist/internal/Tidx.d.ts +9 -3
- package/dist/internal/Tidx.d.ts.map +1 -1
- package/dist/internal/Tidx.js +13 -7
- package/dist/internal/Tidx.js.map +1 -1
- package/dist/internal/Viem.d.ts +14 -1
- package/dist/internal/Viem.d.ts.map +1 -1
- package/dist/internal/Viem.js +19 -1
- package/dist/internal/Viem.js.map +1 -1
- package/package.json +7 -2
- package/src/ApiKeys.test.ts +2 -0
- package/src/App.test.ts +15 -4
- package/src/App.ts +31 -5
- package/src/Assets.ts +3 -3
- package/src/Client.test-d.ts +30 -3
- package/src/Scope.ts +4 -2
- package/src/Webhooks.ts +5 -10
- package/src/admin/apps/api-keys.test.ts +27 -0
- package/src/admin/apps/api-keys.ts +8 -1
- package/src/admin/apps/scopes.test.ts +7 -2
- package/src/admin/apps/scopes.ts +2 -2
- package/src/admin/ui/src/components/Dialog.tsx +8 -2
- package/src/admin/ui/src/lib/scopes.test.ts +19 -0
- package/src/admin/ui/src/lib/scopes.ts +12 -0
- package/src/admin/ui/src/routes/api-keys.tsx +128 -27
- package/src/admin/ui.generated.ts +33 -33
- package/src/apps/composition.test.ts +77 -0
- package/src/apps/data/App.ts +25 -45
- package/src/apps/data/FundingQuoteProviders.test.ts +615 -5
- package/src/apps/data/FundingQuoteProviders.ts +570 -4
- package/src/apps/data/routes/funding.test.ts +181 -7
- package/src/apps/data/routes/funding.ts +27 -12
- package/src/apps/data/routes/indexer.test.ts +82 -20
- package/src/apps/data/routes/indexer.ts +8 -2
- package/src/apps/data/routes/tokens.test.ts +54 -0
- package/src/apps/data/routes/transfers.test.ts +73 -1
- package/src/apps/data/routes/transfers.ts +24 -30
- package/src/apps/data/routes/webhooks.test.ts +203 -0
- package/src/apps/data/routes/webhooks.ts +191 -54
- package/src/apps/management/Billing.test.ts +52 -3
- package/src/apps/management/Billing.ts +5 -4
- package/src/apps/management/routes/billing.ts +6 -1
- package/src/apps/management/routes/orgs.ts +19 -1
- package/src/apps/mcp.test.ts +18 -0
- package/src/apps/mcp.ts +2 -2
- package/src/apps/relay/App.test.ts +6 -5
- package/src/apps/relay/App.ts +2 -2
- package/src/apps/relay/Sponsorships.test.ts +2 -2
- package/src/apps/relay/Sponsorships.ts +24 -1
- package/src/db/Db.test.ts +5 -5
- package/src/db/Db.ts +4 -0
- package/src/db/Schema.ts +1 -1
- package/src/db/tables/billingSettings.test.ts +2 -2
- package/src/db/tables/organizations.test.ts +32 -2
- package/src/db/tables/organizations.ts +28 -0
- package/src/db/tables/requestUsage.ts +3 -23
- package/src/db/tables/sponsoredTransactions.test.ts +60 -2
- package/src/db/tables/sponsoredTransactions.ts +67 -21
- package/src/db/tables/stripeCustomers.test.ts +2 -2
- package/src/internal/Auth.test.ts +63 -10
- package/src/internal/Auth.ts +21 -9
- package/src/internal/Cache.test.ts +19 -0
- package/src/internal/Cache.ts +13 -1
- package/src/internal/EdgeCache.test.ts +40 -0
- package/src/internal/EdgeCache.ts +11 -3
- package/src/internal/FundingQuotes.test.ts +130 -3
- package/src/internal/FundingQuotes.ts +113 -6
- package/src/internal/Log.ts +21 -14
- package/src/internal/RateLimit.test.ts +12 -0
- package/src/internal/RateLimit.ts +4 -4
- package/src/internal/Tidx.test.ts +48 -0
- package/src/internal/Tidx.ts +21 -7
- package/src/internal/Viem.test.ts +46 -0
- package/src/internal/Viem.ts +34 -1
|
@@ -134,20 +134,15 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
134
134
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}/api-keys": {
|
|
135
135
|
$post: {
|
|
136
136
|
output: {
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
orgId: string;
|
|
144
|
-
projectId?: string | undefined;
|
|
145
|
-
scopes: string[];
|
|
146
|
-
tokenLast4: string;
|
|
147
|
-
token: string;
|
|
137
|
+
error: {
|
|
138
|
+
code: "api_key_malformed";
|
|
139
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
140
|
+
message: string;
|
|
141
|
+
};
|
|
142
|
+
requestId: string;
|
|
148
143
|
};
|
|
149
144
|
outputFormat: "json";
|
|
150
|
-
status:
|
|
145
|
+
status: 400;
|
|
151
146
|
input: {
|
|
152
147
|
param: {
|
|
153
148
|
orgId: string;
|
|
@@ -163,14 +158,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
163
158
|
} | {
|
|
164
159
|
output: {
|
|
165
160
|
error: {
|
|
166
|
-
code: "
|
|
161
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
167
162
|
details?: readonly Response.error.Detail[] | undefined;
|
|
168
163
|
message: string;
|
|
169
164
|
};
|
|
170
165
|
requestId: string;
|
|
171
166
|
};
|
|
172
167
|
outputFormat: "json";
|
|
173
|
-
status:
|
|
168
|
+
status: 401;
|
|
174
169
|
input: {
|
|
175
170
|
param: {
|
|
176
171
|
orgId: string;
|
|
@@ -186,14 +181,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
186
181
|
} | {
|
|
187
182
|
output: {
|
|
188
183
|
error: {
|
|
189
|
-
code: "
|
|
184
|
+
code: "upstream_error";
|
|
190
185
|
details?: readonly Response.error.Detail[] | undefined;
|
|
191
186
|
message: string;
|
|
192
187
|
};
|
|
193
188
|
requestId: string;
|
|
194
189
|
};
|
|
195
190
|
outputFormat: "json";
|
|
196
|
-
status:
|
|
191
|
+
status: 502;
|
|
197
192
|
input: {
|
|
198
193
|
param: {
|
|
199
194
|
orgId: string;
|
|
@@ -209,14 +204,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
209
204
|
} | {
|
|
210
205
|
output: {
|
|
211
206
|
error: {
|
|
212
|
-
code: "
|
|
207
|
+
code: "forbidden";
|
|
213
208
|
details?: readonly Response.error.Detail[] | undefined;
|
|
214
209
|
message: string;
|
|
215
210
|
};
|
|
216
211
|
requestId: string;
|
|
217
212
|
};
|
|
218
213
|
outputFormat: "json";
|
|
219
|
-
status:
|
|
214
|
+
status: 403;
|
|
220
215
|
input: {
|
|
221
216
|
param: {
|
|
222
217
|
orgId: string;
|
|
@@ -232,14 +227,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
232
227
|
} | {
|
|
233
228
|
output: {
|
|
234
229
|
error: {
|
|
235
|
-
code: "
|
|
230
|
+
code: "organization_not_found" | "project_not_found";
|
|
236
231
|
details?: readonly Response.error.Detail[] | undefined;
|
|
237
232
|
message: string;
|
|
238
233
|
};
|
|
239
234
|
requestId: string;
|
|
240
235
|
};
|
|
241
236
|
outputFormat: "json";
|
|
242
|
-
status:
|
|
237
|
+
status: 404;
|
|
243
238
|
input: {
|
|
244
239
|
param: {
|
|
245
240
|
orgId: string;
|
|
@@ -255,14 +250,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
255
250
|
} | {
|
|
256
251
|
output: {
|
|
257
252
|
error: {
|
|
258
|
-
code: "
|
|
253
|
+
code: "param_invalid";
|
|
259
254
|
details?: readonly Response.error.Detail[] | undefined;
|
|
260
255
|
message: string;
|
|
261
256
|
};
|
|
262
257
|
requestId: string;
|
|
263
258
|
};
|
|
264
259
|
outputFormat: "json";
|
|
265
|
-
status:
|
|
260
|
+
status: 400;
|
|
266
261
|
input: {
|
|
267
262
|
param: {
|
|
268
263
|
orgId: string;
|
|
@@ -278,14 +273,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
278
273
|
} | {
|
|
279
274
|
output: {
|
|
280
275
|
error: {
|
|
281
|
-
code: "
|
|
276
|
+
code: "body_invalid";
|
|
282
277
|
details?: readonly Response.error.Detail[] | undefined;
|
|
283
278
|
message: string;
|
|
284
279
|
};
|
|
285
280
|
requestId: string;
|
|
286
281
|
};
|
|
287
282
|
outputFormat: "json";
|
|
288
|
-
status:
|
|
283
|
+
status: 400;
|
|
289
284
|
input: {
|
|
290
285
|
param: {
|
|
291
286
|
orgId: string;
|
|
@@ -301,7 +296,7 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
301
296
|
} | {
|
|
302
297
|
output: {
|
|
303
298
|
error: {
|
|
304
|
-
code: "
|
|
299
|
+
code: "api_keys_not_enabled";
|
|
305
300
|
details?: readonly Response.error.Detail[] | undefined;
|
|
306
301
|
message: string;
|
|
307
302
|
};
|
|
@@ -324,14 +319,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
324
319
|
} | {
|
|
325
320
|
output: {
|
|
326
321
|
error: {
|
|
327
|
-
code: "
|
|
322
|
+
code: "scope_not_issuable";
|
|
328
323
|
details?: readonly Response.error.Detail[] | undefined;
|
|
329
324
|
message: string;
|
|
330
325
|
};
|
|
331
326
|
requestId: string;
|
|
332
327
|
};
|
|
333
328
|
outputFormat: "json";
|
|
334
|
-
status:
|
|
329
|
+
status: 403;
|
|
335
330
|
input: {
|
|
336
331
|
param: {
|
|
337
332
|
orgId: string;
|
|
@@ -346,15 +341,20 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
346
341
|
};
|
|
347
342
|
} | {
|
|
348
343
|
output: {
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
344
|
+
createdAt: string;
|
|
345
|
+
createdBy?: string | undefined;
|
|
346
|
+
environment: "production" | "sandbox";
|
|
347
|
+
expiresAt?: string | undefined;
|
|
348
|
+
id: string;
|
|
349
|
+
name?: string | undefined;
|
|
350
|
+
orgId: string;
|
|
351
|
+
projectId?: string | undefined;
|
|
352
|
+
scopes: string[];
|
|
353
|
+
tokenLast4: string;
|
|
354
|
+
token: string;
|
|
355
355
|
};
|
|
356
356
|
outputFormat: "json";
|
|
357
|
-
status:
|
|
357
|
+
status: 200;
|
|
358
358
|
input: {
|
|
359
359
|
param: {
|
|
360
360
|
orgId: string;
|
|
@@ -372,33 +372,6 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
372
372
|
} & {
|
|
373
373
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}/api-keys": {
|
|
374
374
|
$get: {
|
|
375
|
-
output: {
|
|
376
|
-
data: {
|
|
377
|
-
createdAt: string;
|
|
378
|
-
createdBy?: string | undefined;
|
|
379
|
-
environment: "production" | "sandbox";
|
|
380
|
-
expiresAt?: string | undefined;
|
|
381
|
-
id: string;
|
|
382
|
-
name?: string | undefined;
|
|
383
|
-
orgId: string;
|
|
384
|
-
projectId?: string | undefined;
|
|
385
|
-
scopes: string[];
|
|
386
|
-
tokenLast4: string;
|
|
387
|
-
}[];
|
|
388
|
-
};
|
|
389
|
-
outputFormat: "json";
|
|
390
|
-
status: 200;
|
|
391
|
-
input: {
|
|
392
|
-
param: {
|
|
393
|
-
orgId: string;
|
|
394
|
-
projectId: string;
|
|
395
|
-
};
|
|
396
|
-
} & {
|
|
397
|
-
query?: {
|
|
398
|
-
environment?: string | string[];
|
|
399
|
-
} | undefined;
|
|
400
|
-
};
|
|
401
|
-
} | {
|
|
402
375
|
output: {
|
|
403
376
|
error: {
|
|
404
377
|
code: "api_key_malformed";
|
|
@@ -422,14 +395,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
422
395
|
} | {
|
|
423
396
|
output: {
|
|
424
397
|
error: {
|
|
425
|
-
code: "
|
|
398
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
426
399
|
details?: readonly Response.error.Detail[] | undefined;
|
|
427
400
|
message: string;
|
|
428
401
|
};
|
|
429
402
|
requestId: string;
|
|
430
403
|
};
|
|
431
404
|
outputFormat: "json";
|
|
432
|
-
status:
|
|
405
|
+
status: 401;
|
|
433
406
|
input: {
|
|
434
407
|
param: {
|
|
435
408
|
orgId: string;
|
|
@@ -443,14 +416,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
443
416
|
} | {
|
|
444
417
|
output: {
|
|
445
418
|
error: {
|
|
446
|
-
code: "
|
|
419
|
+
code: "api_key_forbidden";
|
|
447
420
|
details?: readonly Response.error.Detail[] | undefined;
|
|
448
421
|
message: string;
|
|
449
422
|
};
|
|
450
423
|
requestId: string;
|
|
451
424
|
};
|
|
452
425
|
outputFormat: "json";
|
|
453
|
-
status:
|
|
426
|
+
status: 403;
|
|
454
427
|
input: {
|
|
455
428
|
param: {
|
|
456
429
|
orgId: string;
|
|
@@ -464,14 +437,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
464
437
|
} | {
|
|
465
438
|
output: {
|
|
466
439
|
error: {
|
|
467
|
-
code: "
|
|
440
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
468
441
|
details?: readonly Response.error.Detail[] | undefined;
|
|
469
442
|
message: string;
|
|
470
443
|
};
|
|
471
444
|
requestId: string;
|
|
472
445
|
};
|
|
473
446
|
outputFormat: "json";
|
|
474
|
-
status:
|
|
447
|
+
status: 429;
|
|
475
448
|
input: {
|
|
476
449
|
param: {
|
|
477
450
|
orgId: string;
|
|
@@ -485,14 +458,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
485
458
|
} | {
|
|
486
459
|
output: {
|
|
487
460
|
error: {
|
|
488
|
-
code: "
|
|
461
|
+
code: "query_invalid";
|
|
489
462
|
details?: readonly Response.error.Detail[] | undefined;
|
|
490
463
|
message: string;
|
|
491
464
|
};
|
|
492
465
|
requestId: string;
|
|
493
466
|
};
|
|
494
467
|
outputFormat: "json";
|
|
495
|
-
status:
|
|
468
|
+
status: 400;
|
|
496
469
|
input: {
|
|
497
470
|
param: {
|
|
498
471
|
orgId: string;
|
|
@@ -506,14 +479,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
506
479
|
} | {
|
|
507
480
|
output: {
|
|
508
481
|
error: {
|
|
509
|
-
code: "
|
|
482
|
+
code: "upstream_error";
|
|
510
483
|
details?: readonly Response.error.Detail[] | undefined;
|
|
511
484
|
message: string;
|
|
512
485
|
};
|
|
513
486
|
requestId: string;
|
|
514
487
|
};
|
|
515
488
|
outputFormat: "json";
|
|
516
|
-
status:
|
|
489
|
+
status: 502;
|
|
517
490
|
input: {
|
|
518
491
|
param: {
|
|
519
492
|
orgId: string;
|
|
@@ -527,7 +500,7 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
527
500
|
} | {
|
|
528
501
|
output: {
|
|
529
502
|
error: {
|
|
530
|
-
code: "
|
|
503
|
+
code: "organization_not_found" | "project_not_found";
|
|
531
504
|
details?: readonly Response.error.Detail[] | undefined;
|
|
532
505
|
message: string;
|
|
533
506
|
};
|
|
@@ -548,14 +521,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
548
521
|
} | {
|
|
549
522
|
output: {
|
|
550
523
|
error: {
|
|
551
|
-
code: "
|
|
524
|
+
code: "param_invalid";
|
|
552
525
|
details?: readonly Response.error.Detail[] | undefined;
|
|
553
526
|
message: string;
|
|
554
527
|
};
|
|
555
528
|
requestId: string;
|
|
556
529
|
};
|
|
557
530
|
outputFormat: "json";
|
|
558
|
-
status:
|
|
531
|
+
status: 400;
|
|
559
532
|
input: {
|
|
560
533
|
param: {
|
|
561
534
|
orgId: string;
|
|
@@ -569,14 +542,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
569
542
|
} | {
|
|
570
543
|
output: {
|
|
571
544
|
error: {
|
|
572
|
-
code: "
|
|
545
|
+
code: "api_keys_not_enabled";
|
|
573
546
|
details?: readonly Response.error.Detail[] | undefined;
|
|
574
547
|
message: string;
|
|
575
548
|
};
|
|
576
549
|
requestId: string;
|
|
577
550
|
};
|
|
578
551
|
outputFormat: "json";
|
|
579
|
-
status:
|
|
552
|
+
status: 404;
|
|
580
553
|
input: {
|
|
581
554
|
param: {
|
|
582
555
|
orgId: string;
|
|
@@ -587,11 +560,7 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
587
560
|
environment?: string | string[];
|
|
588
561
|
} | undefined;
|
|
589
562
|
};
|
|
590
|
-
}
|
|
591
|
-
};
|
|
592
|
-
} & {
|
|
593
|
-
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/api-keys": {
|
|
594
|
-
$get: {
|
|
563
|
+
} | {
|
|
595
564
|
output: {
|
|
596
565
|
data: {
|
|
597
566
|
createdAt: string;
|
|
@@ -611,13 +580,18 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
611
580
|
input: {
|
|
612
581
|
param: {
|
|
613
582
|
orgId: string;
|
|
583
|
+
projectId: string;
|
|
614
584
|
};
|
|
615
585
|
} & {
|
|
616
586
|
query?: {
|
|
617
587
|
environment?: string | string[];
|
|
618
588
|
} | undefined;
|
|
619
589
|
};
|
|
620
|
-
}
|
|
590
|
+
};
|
|
591
|
+
};
|
|
592
|
+
} & {
|
|
593
|
+
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/api-keys": {
|
|
594
|
+
$get: {
|
|
621
595
|
output: {
|
|
622
596
|
error: {
|
|
623
597
|
code: "api_key_malformed";
|
|
@@ -640,14 +614,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
640
614
|
} | {
|
|
641
615
|
output: {
|
|
642
616
|
error: {
|
|
643
|
-
code: "
|
|
617
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
644
618
|
details?: readonly Response.error.Detail[] | undefined;
|
|
645
619
|
message: string;
|
|
646
620
|
};
|
|
647
621
|
requestId: string;
|
|
648
622
|
};
|
|
649
623
|
outputFormat: "json";
|
|
650
|
-
status:
|
|
624
|
+
status: 401;
|
|
651
625
|
input: {
|
|
652
626
|
param: {
|
|
653
627
|
orgId: string;
|
|
@@ -660,14 +634,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
660
634
|
} | {
|
|
661
635
|
output: {
|
|
662
636
|
error: {
|
|
663
|
-
code: "
|
|
637
|
+
code: "api_key_forbidden";
|
|
664
638
|
details?: readonly Response.error.Detail[] | undefined;
|
|
665
639
|
message: string;
|
|
666
640
|
};
|
|
667
641
|
requestId: string;
|
|
668
642
|
};
|
|
669
643
|
outputFormat: "json";
|
|
670
|
-
status:
|
|
644
|
+
status: 403;
|
|
671
645
|
input: {
|
|
672
646
|
param: {
|
|
673
647
|
orgId: string;
|
|
@@ -680,14 +654,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
680
654
|
} | {
|
|
681
655
|
output: {
|
|
682
656
|
error: {
|
|
683
|
-
code: "
|
|
657
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
684
658
|
details?: readonly Response.error.Detail[] | undefined;
|
|
685
659
|
message: string;
|
|
686
660
|
};
|
|
687
661
|
requestId: string;
|
|
688
662
|
};
|
|
689
663
|
outputFormat: "json";
|
|
690
|
-
status:
|
|
664
|
+
status: 429;
|
|
691
665
|
input: {
|
|
692
666
|
param: {
|
|
693
667
|
orgId: string;
|
|
@@ -700,14 +674,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
700
674
|
} | {
|
|
701
675
|
output: {
|
|
702
676
|
error: {
|
|
703
|
-
code: "
|
|
677
|
+
code: "query_invalid";
|
|
704
678
|
details?: readonly Response.error.Detail[] | undefined;
|
|
705
679
|
message: string;
|
|
706
680
|
};
|
|
707
681
|
requestId: string;
|
|
708
682
|
};
|
|
709
683
|
outputFormat: "json";
|
|
710
|
-
status:
|
|
684
|
+
status: 400;
|
|
711
685
|
input: {
|
|
712
686
|
param: {
|
|
713
687
|
orgId: string;
|
|
@@ -720,14 +694,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
720
694
|
} | {
|
|
721
695
|
output: {
|
|
722
696
|
error: {
|
|
723
|
-
code: "
|
|
697
|
+
code: "upstream_error";
|
|
724
698
|
details?: readonly Response.error.Detail[] | undefined;
|
|
725
699
|
message: string;
|
|
726
700
|
};
|
|
727
701
|
requestId: string;
|
|
728
702
|
};
|
|
729
703
|
outputFormat: "json";
|
|
730
|
-
status:
|
|
704
|
+
status: 502;
|
|
731
705
|
input: {
|
|
732
706
|
param: {
|
|
733
707
|
orgId: string;
|
|
@@ -740,14 +714,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
740
714
|
} | {
|
|
741
715
|
output: {
|
|
742
716
|
error: {
|
|
743
|
-
code: "
|
|
717
|
+
code: "param_invalid";
|
|
744
718
|
details?: readonly Response.error.Detail[] | undefined;
|
|
745
719
|
message: string;
|
|
746
720
|
};
|
|
747
721
|
requestId: string;
|
|
748
722
|
};
|
|
749
723
|
outputFormat: "json";
|
|
750
|
-
status:
|
|
724
|
+
status: 400;
|
|
751
725
|
input: {
|
|
752
726
|
param: {
|
|
753
727
|
orgId: string;
|
|
@@ -760,14 +734,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
760
734
|
} | {
|
|
761
735
|
output: {
|
|
762
736
|
error: {
|
|
763
|
-
code: "
|
|
737
|
+
code: "api_keys_not_enabled";
|
|
764
738
|
details?: readonly Response.error.Detail[] | undefined;
|
|
765
739
|
message: string;
|
|
766
740
|
};
|
|
767
741
|
requestId: string;
|
|
768
742
|
};
|
|
769
743
|
outputFormat: "json";
|
|
770
|
-
status:
|
|
744
|
+
status: 404;
|
|
771
745
|
input: {
|
|
772
746
|
param: {
|
|
773
747
|
orgId: string;
|
|
@@ -780,14 +754,40 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
780
754
|
} | {
|
|
781
755
|
output: {
|
|
782
756
|
error: {
|
|
783
|
-
code: "
|
|
757
|
+
code: "organization_not_found";
|
|
784
758
|
details?: readonly Response.error.Detail[] | undefined;
|
|
785
759
|
message: string;
|
|
786
760
|
};
|
|
787
761
|
requestId: string;
|
|
788
762
|
};
|
|
789
763
|
outputFormat: "json";
|
|
790
|
-
status:
|
|
764
|
+
status: 404;
|
|
765
|
+
input: {
|
|
766
|
+
param: {
|
|
767
|
+
orgId: string;
|
|
768
|
+
};
|
|
769
|
+
} & {
|
|
770
|
+
query?: {
|
|
771
|
+
environment?: string | string[];
|
|
772
|
+
} | undefined;
|
|
773
|
+
};
|
|
774
|
+
} | {
|
|
775
|
+
output: {
|
|
776
|
+
data: {
|
|
777
|
+
createdAt: string;
|
|
778
|
+
createdBy?: string | undefined;
|
|
779
|
+
environment: "production" | "sandbox";
|
|
780
|
+
expiresAt?: string | undefined;
|
|
781
|
+
id: string;
|
|
782
|
+
name?: string | undefined;
|
|
783
|
+
orgId: string;
|
|
784
|
+
projectId?: string | undefined;
|
|
785
|
+
scopes: string[];
|
|
786
|
+
tokenLast4: string;
|
|
787
|
+
}[];
|
|
788
|
+
};
|
|
789
|
+
outputFormat: "json";
|
|
790
|
+
status: 200;
|
|
791
791
|
input: {
|
|
792
792
|
param: {
|
|
793
793
|
orgId: string;
|
|
@@ -803,10 +803,15 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
803
803
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}/api-keys/:keyId{key_[A-Za-z0-9_-]+}": {
|
|
804
804
|
$delete: {
|
|
805
805
|
output: {
|
|
806
|
-
|
|
806
|
+
error: {
|
|
807
|
+
code: "api_key_malformed";
|
|
808
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
809
|
+
message: string;
|
|
810
|
+
};
|
|
811
|
+
requestId: string;
|
|
807
812
|
};
|
|
808
813
|
outputFormat: "json";
|
|
809
|
-
status:
|
|
814
|
+
status: 400;
|
|
810
815
|
input: {
|
|
811
816
|
param: {
|
|
812
817
|
keyId: string;
|
|
@@ -817,14 +822,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
817
822
|
} | {
|
|
818
823
|
output: {
|
|
819
824
|
error: {
|
|
820
|
-
code: "
|
|
825
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
821
826
|
details?: readonly Response.error.Detail[] | undefined;
|
|
822
827
|
message: string;
|
|
823
828
|
};
|
|
824
829
|
requestId: string;
|
|
825
830
|
};
|
|
826
831
|
outputFormat: "json";
|
|
827
|
-
status:
|
|
832
|
+
status: 401;
|
|
828
833
|
input: {
|
|
829
834
|
param: {
|
|
830
835
|
keyId: string;
|
|
@@ -835,14 +840,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
835
840
|
} | {
|
|
836
841
|
output: {
|
|
837
842
|
error: {
|
|
838
|
-
code: "
|
|
843
|
+
code: "api_key_forbidden";
|
|
839
844
|
details?: readonly Response.error.Detail[] | undefined;
|
|
840
845
|
message: string;
|
|
841
846
|
};
|
|
842
847
|
requestId: string;
|
|
843
848
|
};
|
|
844
849
|
outputFormat: "json";
|
|
845
|
-
status:
|
|
850
|
+
status: 403;
|
|
846
851
|
input: {
|
|
847
852
|
param: {
|
|
848
853
|
keyId: string;
|
|
@@ -853,14 +858,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
853
858
|
} | {
|
|
854
859
|
output: {
|
|
855
860
|
error: {
|
|
856
|
-
code: "
|
|
861
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
857
862
|
details?: readonly Response.error.Detail[] | undefined;
|
|
858
863
|
message: string;
|
|
859
864
|
};
|
|
860
865
|
requestId: string;
|
|
861
866
|
};
|
|
862
867
|
outputFormat: "json";
|
|
863
|
-
status:
|
|
868
|
+
status: 429;
|
|
864
869
|
input: {
|
|
865
870
|
param: {
|
|
866
871
|
keyId: string;
|
|
@@ -871,14 +876,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
871
876
|
} | {
|
|
872
877
|
output: {
|
|
873
878
|
error: {
|
|
874
|
-
code: "
|
|
879
|
+
code: "upstream_error";
|
|
875
880
|
details?: readonly Response.error.Detail[] | undefined;
|
|
876
881
|
message: string;
|
|
877
882
|
};
|
|
878
883
|
requestId: string;
|
|
879
884
|
};
|
|
880
885
|
outputFormat: "json";
|
|
881
|
-
status:
|
|
886
|
+
status: 502;
|
|
882
887
|
input: {
|
|
883
888
|
param: {
|
|
884
889
|
keyId: string;
|
|
@@ -907,14 +912,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
907
912
|
} | {
|
|
908
913
|
output: {
|
|
909
914
|
error: {
|
|
910
|
-
code: "
|
|
915
|
+
code: "param_invalid";
|
|
911
916
|
details?: readonly Response.error.Detail[] | undefined;
|
|
912
917
|
message: string;
|
|
913
918
|
};
|
|
914
919
|
requestId: string;
|
|
915
920
|
};
|
|
916
921
|
outputFormat: "json";
|
|
917
|
-
status:
|
|
922
|
+
status: 400;
|
|
918
923
|
input: {
|
|
919
924
|
param: {
|
|
920
925
|
keyId: string;
|
|
@@ -925,7 +930,7 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
925
930
|
} | {
|
|
926
931
|
output: {
|
|
927
932
|
error: {
|
|
928
|
-
code: "
|
|
933
|
+
code: "api_keys_not_enabled";
|
|
929
934
|
details?: readonly Response.error.Detail[] | undefined;
|
|
930
935
|
message: string;
|
|
931
936
|
};
|
|
@@ -943,14 +948,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
943
948
|
} | {
|
|
944
949
|
output: {
|
|
945
950
|
error: {
|
|
946
|
-
code: "
|
|
951
|
+
code: "api_key_not_found";
|
|
947
952
|
details?: readonly Response.error.Detail[] | undefined;
|
|
948
953
|
message: string;
|
|
949
954
|
};
|
|
950
955
|
requestId: string;
|
|
951
956
|
};
|
|
952
957
|
outputFormat: "json";
|
|
953
|
-
status:
|
|
958
|
+
status: 404;
|
|
954
959
|
input: {
|
|
955
960
|
param: {
|
|
956
961
|
keyId: string;
|
|
@@ -960,15 +965,10 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
960
965
|
};
|
|
961
966
|
} | {
|
|
962
967
|
output: {
|
|
963
|
-
|
|
964
|
-
code: "upstream_error";
|
|
965
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
966
|
-
message: string;
|
|
967
|
-
};
|
|
968
|
-
requestId: string;
|
|
968
|
+
id: string;
|
|
969
969
|
};
|
|
970
970
|
outputFormat: "json";
|
|
971
|
-
status:
|
|
971
|
+
status: 200;
|
|
972
972
|
input: {
|
|
973
973
|
param: {
|
|
974
974
|
keyId: string;
|