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.
- package/dist/App.d.ts +26 -26
- package/dist/admin/App.d.ts +3 -0
- package/dist/admin/App.d.ts.map +1 -1
- package/dist/admin/apps/api-keys.d.ts +41 -41
- package/dist/admin/apps/routes.d.ts +64 -64
- package/dist/admin/apps/verified-tokens.d.ts +161 -155
- package/dist/admin/apps/verified-tokens.d.ts.map +1 -1
- package/dist/admin/apps/verified-tokens.js +24 -4
- package/dist/admin/apps/verified-tokens.js.map +1 -1
- package/dist/admin/ui.generated.d.ts +1 -1
- package/dist/admin/ui.generated.d.ts.map +1 -1
- package/dist/admin/ui.generated.js +201 -209
- package/dist/admin/ui.generated.js.map +1 -1
- package/dist/apps/data/routes/activities.d.ts +357 -357
- package/dist/apps/data/routes/blocks.d.ts +125 -125
- package/dist/apps/data/routes/fee-amm.d.ts +108 -108
- package/dist/apps/data/routes/fee-amm.d.ts.map +1 -1
- package/dist/apps/data/routes/fee-amm.js +10 -2
- package/dist/apps/data/routes/fee-amm.js.map +1 -1
- package/dist/apps/data/routes/indexer.d.ts +43 -43
- package/dist/apps/data/routes/receipts.d.ts +235 -235
- package/dist/apps/data/routes/rpc.js +45 -11
- package/dist/apps/data/routes/rpc.js.map +1 -1
- package/dist/apps/data/routes/transfers.d.ts +81 -81
- package/dist/apps/data/routes/valuation.d.ts +32 -32
- package/dist/apps/data/routes/verified-tokens.d.ts +86 -86
- package/dist/apps/data/routes/webhooks.d.ts +1 -1
- package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/data/routes/webhooks.js +17 -10
- package/dist/apps/data/routes/webhooks.js.map +1 -1
- package/dist/apps/data/routes/zones.d.ts +31 -31
- package/dist/apps/management/App.d.ts +26 -26
- package/dist/apps/management/routes/api-keys.d.ts +246 -246
- package/dist/apps/management/routes/invitations.d.ts +138 -138
- package/dist/apps/management/routes/invite-links.d.ts +168 -168
- package/dist/apps/management/routes/orgs.d.ts +98 -98
- package/dist/apps/management/routes/projects.d.ts +125 -125
- package/dist/apps/management/routes/verified-token-requests.d.ts +95 -95
- package/dist/apps/management/routes/verified-token-requests.d.ts.map +1 -1
- package/dist/apps/management/routes/verified-token-requests.js +7 -9
- package/dist/apps/management/routes/verified-token-requests.js.map +1 -1
- package/dist/apps/management/routes/webhooks.d.ts +423 -423
- package/dist/apps/mcp.d.ts.map +1 -1
- package/dist/apps/mcp.js +16 -3
- package/dist/apps/mcp.js.map +1 -1
- package/dist/apps/mpp/App.d.ts +44 -44
- package/dist/apps/routes/routes/chains.d.ts +25 -25
- package/dist/apps/routes/routes/quotes.d.ts +87 -87
- package/dist/apps/routes/routes/transfers.d.ts +438 -438
- package/dist/db/Db.d.ts.map +1 -1
- package/dist/db/Db.js +5 -0
- package/dist/db/Db.js.map +1 -1
- package/dist/db/tables/verifiedTokenRequests.d.ts +21 -4
- package/dist/db/tables/verifiedTokenRequests.d.ts.map +1 -1
- package/dist/db/tables/verifiedTokenRequests.js +65 -44
- package/dist/db/tables/verifiedTokenRequests.js.map +1 -1
- package/dist/internal/Auth.d.ts +16 -0
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +31 -8
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/routes/providers/relay.d.ts +1 -1
- package/dist/internal/routes/providers/relay.js +1 -1
- package/dist/internal/routes/providers/relay.js.map +1 -1
- package/package.json +1 -1
- package/src/admin/apps/verified-tokens.test.ts +32 -0
- package/src/admin/apps/verified-tokens.ts +30 -4
- package/src/admin/ui/src/lib/verified-tokens.ts +24 -9
- package/src/admin/ui/src/routes/__root.tsx +1 -1
- package/src/admin/ui/src/routes/organizations.tsx +34 -4
- package/src/admin/ui/src/routes/verified-tokens.tsx +64 -20
- package/src/admin/ui.generated.ts +202 -263
- package/src/apps/data/App.test.ts +26 -0
- package/src/apps/data/routes/fee-amm.test.ts +19 -0
- package/src/apps/data/routes/fee-amm.ts +10 -2
- package/src/apps/data/routes/rpc.test.ts +32 -0
- package/src/apps/data/routes/rpc.ts +47 -10
- package/src/apps/data/routes/webhooks.scan.test.ts +29 -0
- package/src/apps/data/routes/webhooks.test.ts +6 -0
- package/src/apps/data/routes/webhooks.ts +25 -12
- package/src/apps/management/routes/verified-token-requests.test.ts +16 -2
- package/src/apps/management/routes/verified-token-requests.ts +7 -10
- package/src/apps/mcp.test.ts +108 -25
- package/src/apps/mcp.ts +15 -3
- package/src/db/Db.ts +9 -0
- package/src/db/tables/routesDeposits.test.ts +72 -0
- package/src/db/tables/verifiedTokenRequests.test.ts +39 -20
- package/src/db/tables/verifiedTokenRequests.ts +80 -44
- package/src/internal/Auth.test.ts +92 -0
- package/src/internal/Auth.ts +51 -9
- package/src/internal/routes/providers/relay.test.ts +59 -0
- package/src/internal/routes/providers/relay.ts +1 -1
|
@@ -203,15 +203,22 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
203
203
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}/api-keys": {
|
|
204
204
|
$post: {
|
|
205
205
|
output: {
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
206
|
+
allowedIps: readonly string[];
|
|
207
|
+
createdAt: string;
|
|
208
|
+
createdBy?: string | undefined;
|
|
209
|
+
environment: "production" | "sandbox";
|
|
210
|
+
expiresAt?: string | undefined;
|
|
211
|
+
id: string;
|
|
212
|
+
lastUsedAt?: string | undefined;
|
|
213
|
+
name?: string | undefined;
|
|
214
|
+
orgId: string;
|
|
215
|
+
projectId?: string | undefined;
|
|
216
|
+
scopes: string[];
|
|
217
|
+
tokenLast4: string;
|
|
218
|
+
token: string;
|
|
212
219
|
};
|
|
213
220
|
outputFormat: "json";
|
|
214
|
-
status:
|
|
221
|
+
status: 200;
|
|
215
222
|
input: {
|
|
216
223
|
param: {
|
|
217
224
|
orgId: string;
|
|
@@ -228,14 +235,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
228
235
|
} | {
|
|
229
236
|
output: {
|
|
230
237
|
error: {
|
|
231
|
-
code: "
|
|
238
|
+
code: "api_key_malformed";
|
|
232
239
|
details?: readonly Response.error.Detail[] | undefined;
|
|
233
240
|
message: string;
|
|
234
241
|
};
|
|
235
242
|
requestId: string;
|
|
236
243
|
};
|
|
237
244
|
outputFormat: "json";
|
|
238
|
-
status:
|
|
245
|
+
status: 400;
|
|
239
246
|
input: {
|
|
240
247
|
param: {
|
|
241
248
|
orgId: string;
|
|
@@ -252,14 +259,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
252
259
|
} | {
|
|
253
260
|
output: {
|
|
254
261
|
error: {
|
|
255
|
-
code: "
|
|
262
|
+
code: "param_invalid";
|
|
256
263
|
details?: readonly Response.error.Detail[] | undefined;
|
|
257
264
|
message: string;
|
|
258
265
|
};
|
|
259
266
|
requestId: string;
|
|
260
267
|
};
|
|
261
268
|
outputFormat: "json";
|
|
262
|
-
status:
|
|
269
|
+
status: 400;
|
|
263
270
|
input: {
|
|
264
271
|
param: {
|
|
265
272
|
orgId: string;
|
|
@@ -276,7 +283,7 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
276
283
|
} | {
|
|
277
284
|
output: {
|
|
278
285
|
error: {
|
|
279
|
-
code: "
|
|
286
|
+
code: "body_invalid";
|
|
280
287
|
details?: readonly Response.error.Detail[] | undefined;
|
|
281
288
|
message: string;
|
|
282
289
|
};
|
|
@@ -300,14 +307,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
300
307
|
} | {
|
|
301
308
|
output: {
|
|
302
309
|
error: {
|
|
303
|
-
code: "
|
|
310
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
304
311
|
details?: readonly Response.error.Detail[] | undefined;
|
|
305
312
|
message: string;
|
|
306
313
|
};
|
|
307
314
|
requestId: string;
|
|
308
315
|
};
|
|
309
316
|
outputFormat: "json";
|
|
310
|
-
status:
|
|
317
|
+
status: 401;
|
|
311
318
|
input: {
|
|
312
319
|
param: {
|
|
313
320
|
orgId: string;
|
|
@@ -348,14 +355,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
348
355
|
} | {
|
|
349
356
|
output: {
|
|
350
357
|
error: {
|
|
351
|
-
code: "
|
|
358
|
+
code: "scope_not_issuable";
|
|
352
359
|
details?: readonly Response.error.Detail[] | undefined;
|
|
353
360
|
message: string;
|
|
354
361
|
};
|
|
355
362
|
requestId: string;
|
|
356
363
|
};
|
|
357
364
|
outputFormat: "json";
|
|
358
|
-
status:
|
|
365
|
+
status: 403;
|
|
359
366
|
input: {
|
|
360
367
|
param: {
|
|
361
368
|
orgId: string;
|
|
@@ -372,7 +379,7 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
372
379
|
} | {
|
|
373
380
|
output: {
|
|
374
381
|
error: {
|
|
375
|
-
code: "
|
|
382
|
+
code: "organization_not_found" | "project_not_found";
|
|
376
383
|
details?: readonly Response.error.Detail[] | undefined;
|
|
377
384
|
message: string;
|
|
378
385
|
};
|
|
@@ -396,14 +403,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
396
403
|
} | {
|
|
397
404
|
output: {
|
|
398
405
|
error: {
|
|
399
|
-
code: "
|
|
406
|
+
code: "api_keys_not_enabled";
|
|
400
407
|
details?: readonly Response.error.Detail[] | undefined;
|
|
401
408
|
message: string;
|
|
402
409
|
};
|
|
403
410
|
requestId: string;
|
|
404
411
|
};
|
|
405
412
|
outputFormat: "json";
|
|
406
|
-
status:
|
|
413
|
+
status: 404;
|
|
407
414
|
input: {
|
|
408
415
|
param: {
|
|
409
416
|
orgId: string;
|
|
@@ -419,22 +426,15 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
419
426
|
};
|
|
420
427
|
} | {
|
|
421
428
|
output: {
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
lastUsedAt?: string | undefined;
|
|
429
|
-
name?: string | undefined;
|
|
430
|
-
orgId: string;
|
|
431
|
-
projectId?: string | undefined;
|
|
432
|
-
scopes: string[];
|
|
433
|
-
tokenLast4: string;
|
|
434
|
-
token: string;
|
|
429
|
+
error: {
|
|
430
|
+
code: "api_key_limit_reached";
|
|
431
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
432
|
+
message: string;
|
|
433
|
+
};
|
|
434
|
+
requestId: string;
|
|
435
435
|
};
|
|
436
436
|
outputFormat: "json";
|
|
437
|
-
status:
|
|
437
|
+
status: 409;
|
|
438
438
|
input: {
|
|
439
439
|
param: {
|
|
440
440
|
orgId: string;
|
|
@@ -451,14 +451,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
451
451
|
} | {
|
|
452
452
|
output: {
|
|
453
453
|
error: {
|
|
454
|
-
code: "
|
|
454
|
+
code: "upstream_error";
|
|
455
455
|
details?: readonly Response.error.Detail[] | undefined;
|
|
456
456
|
message: string;
|
|
457
457
|
};
|
|
458
458
|
requestId: string;
|
|
459
459
|
};
|
|
460
460
|
outputFormat: "json";
|
|
461
|
-
status:
|
|
461
|
+
status: 502;
|
|
462
462
|
input: {
|
|
463
463
|
param: {
|
|
464
464
|
orgId: string;
|
|
@@ -477,6 +477,36 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
477
477
|
} & {
|
|
478
478
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}/api-keys": {
|
|
479
479
|
$get: {
|
|
480
|
+
output: {
|
|
481
|
+
data: {
|
|
482
|
+
allowedIps: readonly string[];
|
|
483
|
+
createdAt: string;
|
|
484
|
+
createdBy?: string | undefined;
|
|
485
|
+
environment: "production" | "sandbox";
|
|
486
|
+
expiresAt?: string | undefined;
|
|
487
|
+
id: string;
|
|
488
|
+
lastUsedAt?: string | undefined;
|
|
489
|
+
name?: string | undefined;
|
|
490
|
+
orgId: string;
|
|
491
|
+
projectId?: string | undefined;
|
|
492
|
+
scopes: string[];
|
|
493
|
+
tokenLast4: string;
|
|
494
|
+
}[];
|
|
495
|
+
};
|
|
496
|
+
outputFormat: "json";
|
|
497
|
+
status: 200;
|
|
498
|
+
input: {
|
|
499
|
+
param: {
|
|
500
|
+
orgId: string;
|
|
501
|
+
projectId: string;
|
|
502
|
+
};
|
|
503
|
+
} & {
|
|
504
|
+
query?: {
|
|
505
|
+
environment?: string | string[];
|
|
506
|
+
include?: string | string[];
|
|
507
|
+
} | undefined;
|
|
508
|
+
};
|
|
509
|
+
} | {
|
|
480
510
|
output: {
|
|
481
511
|
error: {
|
|
482
512
|
code: "api_key_malformed";
|
|
@@ -501,14 +531,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
501
531
|
} | {
|
|
502
532
|
output: {
|
|
503
533
|
error: {
|
|
504
|
-
code: "
|
|
534
|
+
code: "query_invalid";
|
|
505
535
|
details?: readonly Response.error.Detail[] | undefined;
|
|
506
536
|
message: string;
|
|
507
537
|
};
|
|
508
538
|
requestId: string;
|
|
509
539
|
};
|
|
510
540
|
outputFormat: "json";
|
|
511
|
-
status:
|
|
541
|
+
status: 400;
|
|
512
542
|
input: {
|
|
513
543
|
param: {
|
|
514
544
|
orgId: string;
|
|
@@ -523,14 +553,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
523
553
|
} | {
|
|
524
554
|
output: {
|
|
525
555
|
error: {
|
|
526
|
-
code: "
|
|
556
|
+
code: "param_invalid";
|
|
527
557
|
details?: readonly Response.error.Detail[] | undefined;
|
|
528
558
|
message: string;
|
|
529
559
|
};
|
|
530
560
|
requestId: string;
|
|
531
561
|
};
|
|
532
562
|
outputFormat: "json";
|
|
533
|
-
status:
|
|
563
|
+
status: 400;
|
|
534
564
|
input: {
|
|
535
565
|
param: {
|
|
536
566
|
orgId: string;
|
|
@@ -545,14 +575,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
545
575
|
} | {
|
|
546
576
|
output: {
|
|
547
577
|
error: {
|
|
548
|
-
code: "
|
|
578
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
549
579
|
details?: readonly Response.error.Detail[] | undefined;
|
|
550
580
|
message: string;
|
|
551
581
|
};
|
|
552
582
|
requestId: string;
|
|
553
583
|
};
|
|
554
584
|
outputFormat: "json";
|
|
555
|
-
status:
|
|
585
|
+
status: 401;
|
|
556
586
|
input: {
|
|
557
587
|
param: {
|
|
558
588
|
orgId: string;
|
|
@@ -567,14 +597,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
567
597
|
} | {
|
|
568
598
|
output: {
|
|
569
599
|
error: {
|
|
570
|
-
code: "
|
|
600
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
571
601
|
details?: readonly Response.error.Detail[] | undefined;
|
|
572
602
|
message: string;
|
|
573
603
|
};
|
|
574
604
|
requestId: string;
|
|
575
605
|
};
|
|
576
606
|
outputFormat: "json";
|
|
577
|
-
status:
|
|
607
|
+
status: 403;
|
|
578
608
|
input: {
|
|
579
609
|
param: {
|
|
580
610
|
orgId: string;
|
|
@@ -589,14 +619,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
589
619
|
} | {
|
|
590
620
|
output: {
|
|
591
621
|
error: {
|
|
592
|
-
code: "
|
|
622
|
+
code: "organization_not_found" | "project_not_found";
|
|
593
623
|
details?: readonly Response.error.Detail[] | undefined;
|
|
594
624
|
message: string;
|
|
595
625
|
};
|
|
596
626
|
requestId: string;
|
|
597
627
|
};
|
|
598
628
|
outputFormat: "json";
|
|
599
|
-
status:
|
|
629
|
+
status: 404;
|
|
600
630
|
input: {
|
|
601
631
|
param: {
|
|
602
632
|
orgId: string;
|
|
@@ -611,14 +641,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
611
641
|
} | {
|
|
612
642
|
output: {
|
|
613
643
|
error: {
|
|
614
|
-
code: "
|
|
644
|
+
code: "api_keys_not_enabled";
|
|
615
645
|
details?: readonly Response.error.Detail[] | undefined;
|
|
616
646
|
message: string;
|
|
617
647
|
};
|
|
618
648
|
requestId: string;
|
|
619
649
|
};
|
|
620
650
|
outputFormat: "json";
|
|
621
|
-
status:
|
|
651
|
+
status: 404;
|
|
622
652
|
input: {
|
|
623
653
|
param: {
|
|
624
654
|
orgId: string;
|
|
@@ -633,14 +663,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
633
663
|
} | {
|
|
634
664
|
output: {
|
|
635
665
|
error: {
|
|
636
|
-
code: "
|
|
666
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
637
667
|
details?: readonly Response.error.Detail[] | undefined;
|
|
638
668
|
message: string;
|
|
639
669
|
};
|
|
640
670
|
requestId: string;
|
|
641
671
|
};
|
|
642
672
|
outputFormat: "json";
|
|
643
|
-
status:
|
|
673
|
+
status: 429;
|
|
644
674
|
input: {
|
|
645
675
|
param: {
|
|
646
676
|
orgId: string;
|
|
@@ -655,14 +685,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
655
685
|
} | {
|
|
656
686
|
output: {
|
|
657
687
|
error: {
|
|
658
|
-
code: "
|
|
688
|
+
code: "upstream_error";
|
|
659
689
|
details?: readonly Response.error.Detail[] | undefined;
|
|
660
690
|
message: string;
|
|
661
691
|
};
|
|
662
692
|
requestId: string;
|
|
663
693
|
};
|
|
664
694
|
outputFormat: "json";
|
|
665
|
-
status:
|
|
695
|
+
status: 502;
|
|
666
696
|
input: {
|
|
667
697
|
param: {
|
|
668
698
|
orgId: string;
|
|
@@ -674,7 +704,11 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
674
704
|
include?: string | string[];
|
|
675
705
|
} | undefined;
|
|
676
706
|
};
|
|
677
|
-
}
|
|
707
|
+
};
|
|
708
|
+
};
|
|
709
|
+
} & {
|
|
710
|
+
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/api-keys": {
|
|
711
|
+
$get: {
|
|
678
712
|
output: {
|
|
679
713
|
data: {
|
|
680
714
|
allowedIps: readonly string[];
|
|
@@ -696,7 +730,6 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
696
730
|
input: {
|
|
697
731
|
param: {
|
|
698
732
|
orgId: string;
|
|
699
|
-
projectId: string;
|
|
700
733
|
};
|
|
701
734
|
} & {
|
|
702
735
|
query?: {
|
|
@@ -704,11 +737,7 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
704
737
|
include?: string | string[];
|
|
705
738
|
} | undefined;
|
|
706
739
|
};
|
|
707
|
-
}
|
|
708
|
-
};
|
|
709
|
-
} & {
|
|
710
|
-
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/api-keys": {
|
|
711
|
-
$get: {
|
|
740
|
+
} | {
|
|
712
741
|
output: {
|
|
713
742
|
error: {
|
|
714
743
|
code: "api_key_malformed";
|
|
@@ -732,14 +761,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
732
761
|
} | {
|
|
733
762
|
output: {
|
|
734
763
|
error: {
|
|
735
|
-
code: "
|
|
764
|
+
code: "query_invalid";
|
|
736
765
|
details?: readonly Response.error.Detail[] | undefined;
|
|
737
766
|
message: string;
|
|
738
767
|
};
|
|
739
768
|
requestId: string;
|
|
740
769
|
};
|
|
741
770
|
outputFormat: "json";
|
|
742
|
-
status:
|
|
771
|
+
status: 400;
|
|
743
772
|
input: {
|
|
744
773
|
param: {
|
|
745
774
|
orgId: string;
|
|
@@ -753,14 +782,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
753
782
|
} | {
|
|
754
783
|
output: {
|
|
755
784
|
error: {
|
|
756
|
-
code: "
|
|
785
|
+
code: "param_invalid";
|
|
757
786
|
details?: readonly Response.error.Detail[] | undefined;
|
|
758
787
|
message: string;
|
|
759
788
|
};
|
|
760
789
|
requestId: string;
|
|
761
790
|
};
|
|
762
791
|
outputFormat: "json";
|
|
763
|
-
status:
|
|
792
|
+
status: 400;
|
|
764
793
|
input: {
|
|
765
794
|
param: {
|
|
766
795
|
orgId: string;
|
|
@@ -774,14 +803,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
774
803
|
} | {
|
|
775
804
|
output: {
|
|
776
805
|
error: {
|
|
777
|
-
code: "
|
|
806
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
778
807
|
details?: readonly Response.error.Detail[] | undefined;
|
|
779
808
|
message: string;
|
|
780
809
|
};
|
|
781
810
|
requestId: string;
|
|
782
811
|
};
|
|
783
812
|
outputFormat: "json";
|
|
784
|
-
status:
|
|
813
|
+
status: 401;
|
|
785
814
|
input: {
|
|
786
815
|
param: {
|
|
787
816
|
orgId: string;
|
|
@@ -795,14 +824,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
795
824
|
} | {
|
|
796
825
|
output: {
|
|
797
826
|
error: {
|
|
798
|
-
code: "
|
|
827
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
799
828
|
details?: readonly Response.error.Detail[] | undefined;
|
|
800
829
|
message: string;
|
|
801
830
|
};
|
|
802
831
|
requestId: string;
|
|
803
832
|
};
|
|
804
833
|
outputFormat: "json";
|
|
805
|
-
status:
|
|
834
|
+
status: 403;
|
|
806
835
|
input: {
|
|
807
836
|
param: {
|
|
808
837
|
orgId: string;
|
|
@@ -816,14 +845,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
816
845
|
} | {
|
|
817
846
|
output: {
|
|
818
847
|
error: {
|
|
819
|
-
code: "
|
|
848
|
+
code: "api_keys_not_enabled";
|
|
820
849
|
details?: readonly Response.error.Detail[] | undefined;
|
|
821
850
|
message: string;
|
|
822
851
|
};
|
|
823
852
|
requestId: string;
|
|
824
853
|
};
|
|
825
854
|
outputFormat: "json";
|
|
826
|
-
status:
|
|
855
|
+
status: 404;
|
|
827
856
|
input: {
|
|
828
857
|
param: {
|
|
829
858
|
orgId: string;
|
|
@@ -837,14 +866,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
837
866
|
} | {
|
|
838
867
|
output: {
|
|
839
868
|
error: {
|
|
840
|
-
code: "
|
|
869
|
+
code: "organization_not_found";
|
|
841
870
|
details?: readonly Response.error.Detail[] | undefined;
|
|
842
871
|
message: string;
|
|
843
872
|
};
|
|
844
873
|
requestId: string;
|
|
845
874
|
};
|
|
846
875
|
outputFormat: "json";
|
|
847
|
-
status:
|
|
876
|
+
status: 404;
|
|
848
877
|
input: {
|
|
849
878
|
param: {
|
|
850
879
|
orgId: string;
|
|
@@ -858,43 +887,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
858
887
|
} | {
|
|
859
888
|
output: {
|
|
860
889
|
error: {
|
|
861
|
-
code: "
|
|
890
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
862
891
|
details?: readonly Response.error.Detail[] | undefined;
|
|
863
892
|
message: string;
|
|
864
893
|
};
|
|
865
894
|
requestId: string;
|
|
866
895
|
};
|
|
867
896
|
outputFormat: "json";
|
|
868
|
-
status:
|
|
869
|
-
input: {
|
|
870
|
-
param: {
|
|
871
|
-
orgId: string;
|
|
872
|
-
};
|
|
873
|
-
} & {
|
|
874
|
-
query?: {
|
|
875
|
-
environment?: string | string[];
|
|
876
|
-
include?: string | string[];
|
|
877
|
-
} | undefined;
|
|
878
|
-
};
|
|
879
|
-
} | {
|
|
880
|
-
output: {
|
|
881
|
-
data: {
|
|
882
|
-
allowedIps: readonly string[];
|
|
883
|
-
createdAt: string;
|
|
884
|
-
createdBy?: string | undefined;
|
|
885
|
-
environment: "production" | "sandbox";
|
|
886
|
-
expiresAt?: string | undefined;
|
|
887
|
-
id: string;
|
|
888
|
-
lastUsedAt?: string | undefined;
|
|
889
|
-
name?: string | undefined;
|
|
890
|
-
orgId: string;
|
|
891
|
-
projectId?: string | undefined;
|
|
892
|
-
scopes: string[];
|
|
893
|
-
tokenLast4: string;
|
|
894
|
-
}[];
|
|
895
|
-
};
|
|
896
|
-
outputFormat: "json";
|
|
897
|
-
status: 200;
|
|
897
|
+
status: 429;
|
|
898
898
|
input: {
|
|
899
899
|
param: {
|
|
900
900
|
orgId: string;
|
|
@@ -908,14 +908,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
908
908
|
} | {
|
|
909
909
|
output: {
|
|
910
910
|
error: {
|
|
911
|
-
code: "
|
|
911
|
+
code: "upstream_error";
|
|
912
912
|
details?: readonly Response.error.Detail[] | undefined;
|
|
913
913
|
message: string;
|
|
914
914
|
};
|
|
915
915
|
requestId: string;
|
|
916
916
|
};
|
|
917
917
|
outputFormat: "json";
|
|
918
|
-
status:
|
|
918
|
+
status: 502;
|
|
919
919
|
input: {
|
|
920
920
|
param: {
|
|
921
921
|
orgId: string;
|
|
@@ -931,6 +931,30 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
931
931
|
} & {
|
|
932
932
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/api-keys/:keyId{key_[A-Za-z0-9_-]+}/rotate": {
|
|
933
933
|
$post: {
|
|
934
|
+
output: {
|
|
935
|
+
allowedIps: readonly string[];
|
|
936
|
+
createdAt: string;
|
|
937
|
+
createdBy?: string | undefined;
|
|
938
|
+
environment: "production" | "sandbox";
|
|
939
|
+
expiresAt?: string | undefined;
|
|
940
|
+
id: string;
|
|
941
|
+
lastUsedAt?: string | undefined;
|
|
942
|
+
name?: string | undefined;
|
|
943
|
+
orgId: string;
|
|
944
|
+
projectId?: string | undefined;
|
|
945
|
+
scopes: string[];
|
|
946
|
+
tokenLast4: string;
|
|
947
|
+
token: string;
|
|
948
|
+
};
|
|
949
|
+
outputFormat: "json";
|
|
950
|
+
status: 200;
|
|
951
|
+
input: {
|
|
952
|
+
param: {
|
|
953
|
+
keyId: string;
|
|
954
|
+
orgId: string;
|
|
955
|
+
};
|
|
956
|
+
};
|
|
957
|
+
} | {
|
|
934
958
|
output: {
|
|
935
959
|
error: {
|
|
936
960
|
code: "api_key_malformed";
|
|
@@ -950,14 +974,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
950
974
|
} | {
|
|
951
975
|
output: {
|
|
952
976
|
error: {
|
|
953
|
-
code: "
|
|
977
|
+
code: "param_invalid";
|
|
954
978
|
details?: readonly Response.error.Detail[] | undefined;
|
|
955
979
|
message: string;
|
|
956
980
|
};
|
|
957
981
|
requestId: string;
|
|
958
982
|
};
|
|
959
983
|
outputFormat: "json";
|
|
960
|
-
status:
|
|
984
|
+
status: 400;
|
|
961
985
|
input: {
|
|
962
986
|
param: {
|
|
963
987
|
keyId: string;
|
|
@@ -967,14 +991,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
967
991
|
} | {
|
|
968
992
|
output: {
|
|
969
993
|
error: {
|
|
970
|
-
code: "
|
|
994
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
971
995
|
details?: readonly Response.error.Detail[] | undefined;
|
|
972
996
|
message: string;
|
|
973
997
|
};
|
|
974
998
|
requestId: string;
|
|
975
999
|
};
|
|
976
1000
|
outputFormat: "json";
|
|
977
|
-
status:
|
|
1001
|
+
status: 401;
|
|
978
1002
|
input: {
|
|
979
1003
|
param: {
|
|
980
1004
|
keyId: string;
|
|
@@ -984,14 +1008,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
984
1008
|
} | {
|
|
985
1009
|
output: {
|
|
986
1010
|
error: {
|
|
987
|
-
code: "
|
|
1011
|
+
code: "forbidden";
|
|
988
1012
|
details?: readonly Response.error.Detail[] | undefined;
|
|
989
1013
|
message: string;
|
|
990
1014
|
};
|
|
991
1015
|
requestId: string;
|
|
992
1016
|
};
|
|
993
1017
|
outputFormat: "json";
|
|
994
|
-
status:
|
|
1018
|
+
status: 403;
|
|
995
1019
|
input: {
|
|
996
1020
|
param: {
|
|
997
1021
|
keyId: string;
|
|
@@ -1001,7 +1025,7 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1001
1025
|
} | {
|
|
1002
1026
|
output: {
|
|
1003
1027
|
error: {
|
|
1004
|
-
code: "
|
|
1028
|
+
code: "scope_not_issuable";
|
|
1005
1029
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1006
1030
|
message: string;
|
|
1007
1031
|
};
|
|
@@ -1035,14 +1059,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1035
1059
|
} | {
|
|
1036
1060
|
output: {
|
|
1037
1061
|
error: {
|
|
1038
|
-
code: "
|
|
1062
|
+
code: "organization_not_found";
|
|
1039
1063
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1040
1064
|
message: string;
|
|
1041
1065
|
};
|
|
1042
1066
|
requestId: string;
|
|
1043
1067
|
};
|
|
1044
1068
|
outputFormat: "json";
|
|
1045
|
-
status:
|
|
1069
|
+
status: 404;
|
|
1046
1070
|
input: {
|
|
1047
1071
|
param: {
|
|
1048
1072
|
keyId: string;
|
|
@@ -1052,14 +1076,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1052
1076
|
} | {
|
|
1053
1077
|
output: {
|
|
1054
1078
|
error: {
|
|
1055
|
-
code: "
|
|
1079
|
+
code: "api_key_not_found";
|
|
1056
1080
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1057
1081
|
message: string;
|
|
1058
1082
|
};
|
|
1059
1083
|
requestId: string;
|
|
1060
1084
|
};
|
|
1061
1085
|
outputFormat: "json";
|
|
1062
|
-
status:
|
|
1086
|
+
status: 404;
|
|
1063
1087
|
input: {
|
|
1064
1088
|
param: {
|
|
1065
1089
|
keyId: string;
|
|
@@ -1069,14 +1093,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1069
1093
|
} | {
|
|
1070
1094
|
output: {
|
|
1071
1095
|
error: {
|
|
1072
|
-
code: "
|
|
1096
|
+
code: "api_key_limit_reached";
|
|
1073
1097
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1074
1098
|
message: string;
|
|
1075
1099
|
};
|
|
1076
1100
|
requestId: string;
|
|
1077
1101
|
};
|
|
1078
1102
|
outputFormat: "json";
|
|
1079
|
-
status:
|
|
1103
|
+
status: 409;
|
|
1080
1104
|
input: {
|
|
1081
1105
|
param: {
|
|
1082
1106
|
keyId: string;
|
|
@@ -1086,35 +1110,27 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1086
1110
|
} | {
|
|
1087
1111
|
output: {
|
|
1088
1112
|
error: {
|
|
1089
|
-
code: "
|
|
1113
|
+
code: "upstream_error";
|
|
1090
1114
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1091
1115
|
message: string;
|
|
1092
1116
|
};
|
|
1093
1117
|
requestId: string;
|
|
1094
1118
|
};
|
|
1095
1119
|
outputFormat: "json";
|
|
1096
|
-
status:
|
|
1120
|
+
status: 502;
|
|
1097
1121
|
input: {
|
|
1098
1122
|
param: {
|
|
1099
1123
|
keyId: string;
|
|
1100
1124
|
orgId: string;
|
|
1101
1125
|
};
|
|
1102
1126
|
};
|
|
1103
|
-
}
|
|
1127
|
+
};
|
|
1128
|
+
};
|
|
1129
|
+
} & {
|
|
1130
|
+
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/api-keys/:keyId{key_[A-Za-z0-9_-]+}": {
|
|
1131
|
+
$delete: {
|
|
1104
1132
|
output: {
|
|
1105
|
-
allowedIps: readonly string[];
|
|
1106
|
-
createdAt: string;
|
|
1107
|
-
createdBy?: string | undefined;
|
|
1108
|
-
environment: "production" | "sandbox";
|
|
1109
|
-
expiresAt?: string | undefined;
|
|
1110
1133
|
id: string;
|
|
1111
|
-
lastUsedAt?: string | undefined;
|
|
1112
|
-
name?: string | undefined;
|
|
1113
|
-
orgId: string;
|
|
1114
|
-
projectId?: string | undefined;
|
|
1115
|
-
scopes: string[];
|
|
1116
|
-
tokenLast4: string;
|
|
1117
|
-
token: string;
|
|
1118
1134
|
};
|
|
1119
1135
|
outputFormat: "json";
|
|
1120
1136
|
status: 200;
|
|
@@ -1124,11 +1140,7 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1124
1140
|
orgId: string;
|
|
1125
1141
|
};
|
|
1126
1142
|
};
|
|
1127
|
-
}
|
|
1128
|
-
};
|
|
1129
|
-
} & {
|
|
1130
|
-
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/api-keys/:keyId{key_[A-Za-z0-9_-]+}": {
|
|
1131
|
-
$delete: {
|
|
1143
|
+
} | {
|
|
1132
1144
|
output: {
|
|
1133
1145
|
error: {
|
|
1134
1146
|
code: "api_key_malformed";
|
|
@@ -1148,14 +1160,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1148
1160
|
} | {
|
|
1149
1161
|
output: {
|
|
1150
1162
|
error: {
|
|
1151
|
-
code: "
|
|
1163
|
+
code: "param_invalid";
|
|
1152
1164
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1153
1165
|
message: string;
|
|
1154
1166
|
};
|
|
1155
1167
|
requestId: string;
|
|
1156
1168
|
};
|
|
1157
1169
|
outputFormat: "json";
|
|
1158
|
-
status:
|
|
1170
|
+
status: 400;
|
|
1159
1171
|
input: {
|
|
1160
1172
|
param: {
|
|
1161
1173
|
keyId: string;
|
|
@@ -1165,14 +1177,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1165
1177
|
} | {
|
|
1166
1178
|
output: {
|
|
1167
1179
|
error: {
|
|
1168
|
-
code: "
|
|
1180
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1169
1181
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1170
1182
|
message: string;
|
|
1171
1183
|
};
|
|
1172
1184
|
requestId: string;
|
|
1173
1185
|
};
|
|
1174
1186
|
outputFormat: "json";
|
|
1175
|
-
status:
|
|
1187
|
+
status: 401;
|
|
1176
1188
|
input: {
|
|
1177
1189
|
param: {
|
|
1178
1190
|
keyId: string;
|
|
@@ -1182,14 +1194,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1182
1194
|
} | {
|
|
1183
1195
|
output: {
|
|
1184
1196
|
error: {
|
|
1185
|
-
code: "
|
|
1197
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
1186
1198
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1187
1199
|
message: string;
|
|
1188
1200
|
};
|
|
1189
1201
|
requestId: string;
|
|
1190
1202
|
};
|
|
1191
1203
|
outputFormat: "json";
|
|
1192
|
-
status:
|
|
1204
|
+
status: 403;
|
|
1193
1205
|
input: {
|
|
1194
1206
|
param: {
|
|
1195
1207
|
keyId: string;
|
|
@@ -1199,14 +1211,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1199
1211
|
} | {
|
|
1200
1212
|
output: {
|
|
1201
1213
|
error: {
|
|
1202
|
-
code: "
|
|
1214
|
+
code: "forbidden";
|
|
1203
1215
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1204
1216
|
message: string;
|
|
1205
1217
|
};
|
|
1206
1218
|
requestId: string;
|
|
1207
1219
|
};
|
|
1208
1220
|
outputFormat: "json";
|
|
1209
|
-
status:
|
|
1221
|
+
status: 403;
|
|
1210
1222
|
input: {
|
|
1211
1223
|
param: {
|
|
1212
1224
|
keyId: string;
|
|
@@ -1216,14 +1228,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1216
1228
|
} | {
|
|
1217
1229
|
output: {
|
|
1218
1230
|
error: {
|
|
1219
|
-
code: "
|
|
1231
|
+
code: "api_keys_not_enabled";
|
|
1220
1232
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1221
1233
|
message: string;
|
|
1222
1234
|
};
|
|
1223
1235
|
requestId: string;
|
|
1224
1236
|
};
|
|
1225
1237
|
outputFormat: "json";
|
|
1226
|
-
status:
|
|
1238
|
+
status: 404;
|
|
1227
1239
|
input: {
|
|
1228
1240
|
param: {
|
|
1229
1241
|
keyId: string;
|
|
@@ -1233,14 +1245,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1233
1245
|
} | {
|
|
1234
1246
|
output: {
|
|
1235
1247
|
error: {
|
|
1236
|
-
code: "
|
|
1248
|
+
code: "api_key_not_found";
|
|
1237
1249
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1238
1250
|
message: string;
|
|
1239
1251
|
};
|
|
1240
1252
|
requestId: string;
|
|
1241
1253
|
};
|
|
1242
1254
|
outputFormat: "json";
|
|
1243
|
-
status:
|
|
1255
|
+
status: 404;
|
|
1244
1256
|
input: {
|
|
1245
1257
|
param: {
|
|
1246
1258
|
keyId: string;
|
|
@@ -1250,14 +1262,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1250
1262
|
} | {
|
|
1251
1263
|
output: {
|
|
1252
1264
|
error: {
|
|
1253
|
-
code: "
|
|
1265
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1254
1266
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1255
1267
|
message: string;
|
|
1256
1268
|
};
|
|
1257
1269
|
requestId: string;
|
|
1258
1270
|
};
|
|
1259
1271
|
outputFormat: "json";
|
|
1260
|
-
status:
|
|
1272
|
+
status: 429;
|
|
1261
1273
|
input: {
|
|
1262
1274
|
param: {
|
|
1263
1275
|
keyId: string;
|
|
@@ -1267,23 +1279,38 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1267
1279
|
} | {
|
|
1268
1280
|
output: {
|
|
1269
1281
|
error: {
|
|
1270
|
-
code: "
|
|
1282
|
+
code: "upstream_error";
|
|
1271
1283
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1272
1284
|
message: string;
|
|
1273
1285
|
};
|
|
1274
1286
|
requestId: string;
|
|
1275
1287
|
};
|
|
1276
1288
|
outputFormat: "json";
|
|
1277
|
-
status:
|
|
1289
|
+
status: 502;
|
|
1278
1290
|
input: {
|
|
1279
1291
|
param: {
|
|
1280
1292
|
keyId: string;
|
|
1281
1293
|
orgId: string;
|
|
1282
1294
|
};
|
|
1283
1295
|
};
|
|
1284
|
-
}
|
|
1296
|
+
};
|
|
1297
|
+
};
|
|
1298
|
+
} & {
|
|
1299
|
+
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}/api-keys/:keyId{key_[A-Za-z0-9_-]+}": {
|
|
1300
|
+
$patch: {
|
|
1285
1301
|
output: {
|
|
1302
|
+
allowedIps: readonly string[];
|
|
1303
|
+
createdAt: string;
|
|
1304
|
+
createdBy?: string | undefined;
|
|
1305
|
+
environment: "production" | "sandbox";
|
|
1306
|
+
expiresAt?: string | undefined;
|
|
1286
1307
|
id: string;
|
|
1308
|
+
lastUsedAt?: string | undefined;
|
|
1309
|
+
name?: string | undefined;
|
|
1310
|
+
orgId: string;
|
|
1311
|
+
projectId?: string | undefined;
|
|
1312
|
+
scopes: string[];
|
|
1313
|
+
tokenLast4: string;
|
|
1287
1314
|
};
|
|
1288
1315
|
outputFormat: "json";
|
|
1289
1316
|
status: 200;
|
|
@@ -1291,13 +1318,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1291
1318
|
param: {
|
|
1292
1319
|
keyId: string;
|
|
1293
1320
|
orgId: string;
|
|
1321
|
+
projectId: string;
|
|
1322
|
+
};
|
|
1323
|
+
} & {
|
|
1324
|
+
json: {
|
|
1325
|
+
allowedIps: readonly string[];
|
|
1294
1326
|
};
|
|
1295
1327
|
};
|
|
1296
|
-
}
|
|
1297
|
-
};
|
|
1298
|
-
} & {
|
|
1299
|
-
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}/api-keys/:keyId{key_[A-Za-z0-9_-]+}": {
|
|
1300
|
-
$patch: {
|
|
1328
|
+
} | {
|
|
1301
1329
|
output: {
|
|
1302
1330
|
error: {
|
|
1303
1331
|
code: "api_key_malformed";
|
|
@@ -1322,14 +1350,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1322
1350
|
} | {
|
|
1323
1351
|
output: {
|
|
1324
1352
|
error: {
|
|
1325
|
-
code: "
|
|
1353
|
+
code: "param_invalid";
|
|
1326
1354
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1327
1355
|
message: string;
|
|
1328
1356
|
};
|
|
1329
1357
|
requestId: string;
|
|
1330
1358
|
};
|
|
1331
1359
|
outputFormat: "json";
|
|
1332
|
-
status:
|
|
1360
|
+
status: 400;
|
|
1333
1361
|
input: {
|
|
1334
1362
|
param: {
|
|
1335
1363
|
keyId: string;
|
|
@@ -1344,14 +1372,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1344
1372
|
} | {
|
|
1345
1373
|
output: {
|
|
1346
1374
|
error: {
|
|
1347
|
-
code: "
|
|
1375
|
+
code: "body_invalid";
|
|
1348
1376
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1349
1377
|
message: string;
|
|
1350
1378
|
};
|
|
1351
1379
|
requestId: string;
|
|
1352
1380
|
};
|
|
1353
1381
|
outputFormat: "json";
|
|
1354
|
-
status:
|
|
1382
|
+
status: 400;
|
|
1355
1383
|
input: {
|
|
1356
1384
|
param: {
|
|
1357
1385
|
keyId: string;
|
|
@@ -1366,14 +1394,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1366
1394
|
} | {
|
|
1367
1395
|
output: {
|
|
1368
1396
|
error: {
|
|
1369
|
-
code: "
|
|
1397
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1370
1398
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1371
1399
|
message: string;
|
|
1372
1400
|
};
|
|
1373
1401
|
requestId: string;
|
|
1374
1402
|
};
|
|
1375
1403
|
outputFormat: "json";
|
|
1376
|
-
status:
|
|
1404
|
+
status: 401;
|
|
1377
1405
|
input: {
|
|
1378
1406
|
param: {
|
|
1379
1407
|
keyId: string;
|
|
@@ -1388,14 +1416,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1388
1416
|
} | {
|
|
1389
1417
|
output: {
|
|
1390
1418
|
error: {
|
|
1391
|
-
code: "
|
|
1419
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
1392
1420
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1393
1421
|
message: string;
|
|
1394
1422
|
};
|
|
1395
1423
|
requestId: string;
|
|
1396
1424
|
};
|
|
1397
1425
|
outputFormat: "json";
|
|
1398
|
-
status:
|
|
1426
|
+
status: 403;
|
|
1399
1427
|
input: {
|
|
1400
1428
|
param: {
|
|
1401
1429
|
keyId: string;
|
|
@@ -1410,14 +1438,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1410
1438
|
} | {
|
|
1411
1439
|
output: {
|
|
1412
1440
|
error: {
|
|
1413
|
-
code: "
|
|
1441
|
+
code: "forbidden";
|
|
1414
1442
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1415
1443
|
message: string;
|
|
1416
1444
|
};
|
|
1417
1445
|
requestId: string;
|
|
1418
1446
|
};
|
|
1419
1447
|
outputFormat: "json";
|
|
1420
|
-
status:
|
|
1448
|
+
status: 403;
|
|
1421
1449
|
input: {
|
|
1422
1450
|
param: {
|
|
1423
1451
|
keyId: string;
|
|
@@ -1432,14 +1460,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1432
1460
|
} | {
|
|
1433
1461
|
output: {
|
|
1434
1462
|
error: {
|
|
1435
|
-
code: "
|
|
1463
|
+
code: "organization_not_found" | "project_not_found";
|
|
1436
1464
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1437
1465
|
message: string;
|
|
1438
1466
|
};
|
|
1439
1467
|
requestId: string;
|
|
1440
1468
|
};
|
|
1441
1469
|
outputFormat: "json";
|
|
1442
|
-
status:
|
|
1470
|
+
status: 404;
|
|
1443
1471
|
input: {
|
|
1444
1472
|
param: {
|
|
1445
1473
|
keyId: string;
|
|
@@ -1454,14 +1482,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1454
1482
|
} | {
|
|
1455
1483
|
output: {
|
|
1456
1484
|
error: {
|
|
1457
|
-
code: "
|
|
1485
|
+
code: "api_keys_not_enabled";
|
|
1458
1486
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1459
1487
|
message: string;
|
|
1460
1488
|
};
|
|
1461
1489
|
requestId: string;
|
|
1462
1490
|
};
|
|
1463
1491
|
outputFormat: "json";
|
|
1464
|
-
status:
|
|
1492
|
+
status: 404;
|
|
1465
1493
|
input: {
|
|
1466
1494
|
param: {
|
|
1467
1495
|
keyId: string;
|
|
@@ -1476,7 +1504,7 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1476
1504
|
} | {
|
|
1477
1505
|
output: {
|
|
1478
1506
|
error: {
|
|
1479
|
-
code: "
|
|
1507
|
+
code: "api_key_not_found";
|
|
1480
1508
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1481
1509
|
message: string;
|
|
1482
1510
|
};
|
|
@@ -1498,14 +1526,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1498
1526
|
} | {
|
|
1499
1527
|
output: {
|
|
1500
1528
|
error: {
|
|
1501
|
-
code: "
|
|
1529
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1502
1530
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1503
1531
|
message: string;
|
|
1504
1532
|
};
|
|
1505
1533
|
requestId: string;
|
|
1506
1534
|
};
|
|
1507
1535
|
outputFormat: "json";
|
|
1508
|
-
status:
|
|
1536
|
+
status: 429;
|
|
1509
1537
|
input: {
|
|
1510
1538
|
param: {
|
|
1511
1539
|
keyId: string;
|
|
@@ -1520,14 +1548,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1520
1548
|
} | {
|
|
1521
1549
|
output: {
|
|
1522
1550
|
error: {
|
|
1523
|
-
code: "
|
|
1551
|
+
code: "upstream_error";
|
|
1524
1552
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1525
1553
|
message: string;
|
|
1526
1554
|
};
|
|
1527
1555
|
requestId: string;
|
|
1528
1556
|
};
|
|
1529
1557
|
outputFormat: "json";
|
|
1530
|
-
status:
|
|
1558
|
+
status: 502;
|
|
1531
1559
|
input: {
|
|
1532
1560
|
param: {
|
|
1533
1561
|
keyId: string;
|
|
@@ -1539,7 +1567,11 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1539
1567
|
allowedIps: readonly string[];
|
|
1540
1568
|
};
|
|
1541
1569
|
};
|
|
1542
|
-
}
|
|
1570
|
+
};
|
|
1571
|
+
};
|
|
1572
|
+
} & {
|
|
1573
|
+
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}/api-keys/:keyId{key_[A-Za-z0-9_-]+}/rotate": {
|
|
1574
|
+
$post: {
|
|
1543
1575
|
output: {
|
|
1544
1576
|
allowedIps: readonly string[];
|
|
1545
1577
|
createdAt: string;
|
|
@@ -1553,6 +1585,7 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1553
1585
|
projectId?: string | undefined;
|
|
1554
1586
|
scopes: string[];
|
|
1555
1587
|
tokenLast4: string;
|
|
1588
|
+
token: string;
|
|
1556
1589
|
};
|
|
1557
1590
|
outputFormat: "json";
|
|
1558
1591
|
status: 200;
|
|
@@ -1562,16 +1595,8 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1562
1595
|
orgId: string;
|
|
1563
1596
|
projectId: string;
|
|
1564
1597
|
};
|
|
1565
|
-
} & {
|
|
1566
|
-
json: {
|
|
1567
|
-
allowedIps: readonly string[];
|
|
1568
|
-
};
|
|
1569
1598
|
};
|
|
1570
|
-
}
|
|
1571
|
-
};
|
|
1572
|
-
} & {
|
|
1573
|
-
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}/api-keys/:keyId{key_[A-Za-z0-9_-]+}/rotate": {
|
|
1574
|
-
$post: {
|
|
1599
|
+
} | {
|
|
1575
1600
|
output: {
|
|
1576
1601
|
error: {
|
|
1577
1602
|
code: "api_key_malformed";
|
|
@@ -1592,14 +1617,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1592
1617
|
} | {
|
|
1593
1618
|
output: {
|
|
1594
1619
|
error: {
|
|
1595
|
-
code: "
|
|
1620
|
+
code: "param_invalid";
|
|
1596
1621
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1597
1622
|
message: string;
|
|
1598
1623
|
};
|
|
1599
1624
|
requestId: string;
|
|
1600
1625
|
};
|
|
1601
1626
|
outputFormat: "json";
|
|
1602
|
-
status:
|
|
1627
|
+
status: 400;
|
|
1603
1628
|
input: {
|
|
1604
1629
|
param: {
|
|
1605
1630
|
keyId: string;
|
|
@@ -1610,14 +1635,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1610
1635
|
} | {
|
|
1611
1636
|
output: {
|
|
1612
1637
|
error: {
|
|
1613
|
-
code: "
|
|
1638
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1614
1639
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1615
1640
|
message: string;
|
|
1616
1641
|
};
|
|
1617
1642
|
requestId: string;
|
|
1618
1643
|
};
|
|
1619
1644
|
outputFormat: "json";
|
|
1620
|
-
status:
|
|
1645
|
+
status: 401;
|
|
1621
1646
|
input: {
|
|
1622
1647
|
param: {
|
|
1623
1648
|
keyId: string;
|
|
@@ -1628,14 +1653,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1628
1653
|
} | {
|
|
1629
1654
|
output: {
|
|
1630
1655
|
error: {
|
|
1631
|
-
code: "
|
|
1656
|
+
code: "forbidden";
|
|
1632
1657
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1633
1658
|
message: string;
|
|
1634
1659
|
};
|
|
1635
1660
|
requestId: string;
|
|
1636
1661
|
};
|
|
1637
1662
|
outputFormat: "json";
|
|
1638
|
-
status:
|
|
1663
|
+
status: 403;
|
|
1639
1664
|
input: {
|
|
1640
1665
|
param: {
|
|
1641
1666
|
keyId: string;
|
|
@@ -1646,7 +1671,7 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1646
1671
|
} | {
|
|
1647
1672
|
output: {
|
|
1648
1673
|
error: {
|
|
1649
|
-
code: "
|
|
1674
|
+
code: "scope_not_issuable";
|
|
1650
1675
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1651
1676
|
message: string;
|
|
1652
1677
|
};
|
|
@@ -1700,14 +1725,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1700
1725
|
} | {
|
|
1701
1726
|
output: {
|
|
1702
1727
|
error: {
|
|
1703
|
-
code: "
|
|
1728
|
+
code: "api_key_not_found";
|
|
1704
1729
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1705
1730
|
message: string;
|
|
1706
1731
|
};
|
|
1707
1732
|
requestId: string;
|
|
1708
1733
|
};
|
|
1709
1734
|
outputFormat: "json";
|
|
1710
|
-
status:
|
|
1735
|
+
status: 404;
|
|
1711
1736
|
input: {
|
|
1712
1737
|
param: {
|
|
1713
1738
|
keyId: string;
|
|
@@ -1736,14 +1761,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1736
1761
|
} | {
|
|
1737
1762
|
output: {
|
|
1738
1763
|
error: {
|
|
1739
|
-
code: "
|
|
1764
|
+
code: "upstream_error";
|
|
1740
1765
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1741
1766
|
message: string;
|
|
1742
1767
|
};
|
|
1743
1768
|
requestId: string;
|
|
1744
1769
|
};
|
|
1745
1770
|
outputFormat: "json";
|
|
1746
|
-
status:
|
|
1771
|
+
status: 502;
|
|
1747
1772
|
input: {
|
|
1748
1773
|
param: {
|
|
1749
1774
|
keyId: string;
|
|
@@ -1751,21 +1776,13 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1751
1776
|
projectId: string;
|
|
1752
1777
|
};
|
|
1753
1778
|
};
|
|
1754
|
-
}
|
|
1779
|
+
};
|
|
1780
|
+
};
|
|
1781
|
+
} & {
|
|
1782
|
+
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}/api-keys/:keyId{key_[A-Za-z0-9_-]+}": {
|
|
1783
|
+
$delete: {
|
|
1755
1784
|
output: {
|
|
1756
|
-
allowedIps: readonly string[];
|
|
1757
|
-
createdAt: string;
|
|
1758
|
-
createdBy?: string | undefined;
|
|
1759
|
-
environment: "production" | "sandbox";
|
|
1760
|
-
expiresAt?: string | undefined;
|
|
1761
1785
|
id: string;
|
|
1762
|
-
lastUsedAt?: string | undefined;
|
|
1763
|
-
name?: string | undefined;
|
|
1764
|
-
orgId: string;
|
|
1765
|
-
projectId?: string | undefined;
|
|
1766
|
-
scopes: string[];
|
|
1767
|
-
tokenLast4: string;
|
|
1768
|
-
token: string;
|
|
1769
1786
|
};
|
|
1770
1787
|
outputFormat: "json";
|
|
1771
1788
|
status: 200;
|
|
@@ -1776,11 +1793,7 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1776
1793
|
projectId: string;
|
|
1777
1794
|
};
|
|
1778
1795
|
};
|
|
1779
|
-
}
|
|
1780
|
-
};
|
|
1781
|
-
} & {
|
|
1782
|
-
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}/api-keys/:keyId{key_[A-Za-z0-9_-]+}": {
|
|
1783
|
-
$delete: {
|
|
1796
|
+
} | {
|
|
1784
1797
|
output: {
|
|
1785
1798
|
error: {
|
|
1786
1799
|
code: "api_key_malformed";
|
|
@@ -1801,14 +1814,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1801
1814
|
} | {
|
|
1802
1815
|
output: {
|
|
1803
1816
|
error: {
|
|
1804
|
-
code: "
|
|
1817
|
+
code: "param_invalid";
|
|
1805
1818
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1806
1819
|
message: string;
|
|
1807
1820
|
};
|
|
1808
1821
|
requestId: string;
|
|
1809
1822
|
};
|
|
1810
1823
|
outputFormat: "json";
|
|
1811
|
-
status:
|
|
1824
|
+
status: 400;
|
|
1812
1825
|
input: {
|
|
1813
1826
|
param: {
|
|
1814
1827
|
keyId: string;
|
|
@@ -1819,14 +1832,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1819
1832
|
} | {
|
|
1820
1833
|
output: {
|
|
1821
1834
|
error: {
|
|
1822
|
-
code: "
|
|
1835
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1823
1836
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1824
1837
|
message: string;
|
|
1825
1838
|
};
|
|
1826
1839
|
requestId: string;
|
|
1827
1840
|
};
|
|
1828
1841
|
outputFormat: "json";
|
|
1829
|
-
status:
|
|
1842
|
+
status: 401;
|
|
1830
1843
|
input: {
|
|
1831
1844
|
param: {
|
|
1832
1845
|
keyId: string;
|
|
@@ -1837,14 +1850,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1837
1850
|
} | {
|
|
1838
1851
|
output: {
|
|
1839
1852
|
error: {
|
|
1840
|
-
code: "
|
|
1853
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
1841
1854
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1842
1855
|
message: string;
|
|
1843
1856
|
};
|
|
1844
1857
|
requestId: string;
|
|
1845
1858
|
};
|
|
1846
1859
|
outputFormat: "json";
|
|
1847
|
-
status:
|
|
1860
|
+
status: 403;
|
|
1848
1861
|
input: {
|
|
1849
1862
|
param: {
|
|
1850
1863
|
keyId: string;
|
|
@@ -1855,14 +1868,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1855
1868
|
} | {
|
|
1856
1869
|
output: {
|
|
1857
1870
|
error: {
|
|
1858
|
-
code: "
|
|
1871
|
+
code: "forbidden";
|
|
1859
1872
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1860
1873
|
message: string;
|
|
1861
1874
|
};
|
|
1862
1875
|
requestId: string;
|
|
1863
1876
|
};
|
|
1864
1877
|
outputFormat: "json";
|
|
1865
|
-
status:
|
|
1878
|
+
status: 403;
|
|
1866
1879
|
input: {
|
|
1867
1880
|
param: {
|
|
1868
1881
|
keyId: string;
|
|
@@ -1873,14 +1886,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1873
1886
|
} | {
|
|
1874
1887
|
output: {
|
|
1875
1888
|
error: {
|
|
1876
|
-
code: "
|
|
1889
|
+
code: "organization_not_found" | "project_not_found";
|
|
1877
1890
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1878
1891
|
message: string;
|
|
1879
1892
|
};
|
|
1880
1893
|
requestId: string;
|
|
1881
1894
|
};
|
|
1882
1895
|
outputFormat: "json";
|
|
1883
|
-
status:
|
|
1896
|
+
status: 404;
|
|
1884
1897
|
input: {
|
|
1885
1898
|
param: {
|
|
1886
1899
|
keyId: string;
|
|
@@ -1891,14 +1904,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1891
1904
|
} | {
|
|
1892
1905
|
output: {
|
|
1893
1906
|
error: {
|
|
1894
|
-
code: "
|
|
1907
|
+
code: "api_keys_not_enabled";
|
|
1895
1908
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1896
1909
|
message: string;
|
|
1897
1910
|
};
|
|
1898
1911
|
requestId: string;
|
|
1899
1912
|
};
|
|
1900
1913
|
outputFormat: "json";
|
|
1901
|
-
status:
|
|
1914
|
+
status: 404;
|
|
1902
1915
|
input: {
|
|
1903
1916
|
param: {
|
|
1904
1917
|
keyId: string;
|
|
@@ -1909,7 +1922,7 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1909
1922
|
} | {
|
|
1910
1923
|
output: {
|
|
1911
1924
|
error: {
|
|
1912
|
-
code: "
|
|
1925
|
+
code: "api_key_not_found";
|
|
1913
1926
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1914
1927
|
message: string;
|
|
1915
1928
|
};
|
|
@@ -1927,14 +1940,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1927
1940
|
} | {
|
|
1928
1941
|
output: {
|
|
1929
1942
|
error: {
|
|
1930
|
-
code: "
|
|
1943
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1931
1944
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1932
1945
|
message: string;
|
|
1933
1946
|
};
|
|
1934
1947
|
requestId: string;
|
|
1935
1948
|
};
|
|
1936
1949
|
outputFormat: "json";
|
|
1937
|
-
status:
|
|
1950
|
+
status: 429;
|
|
1938
1951
|
input: {
|
|
1939
1952
|
param: {
|
|
1940
1953
|
keyId: string;
|
|
@@ -1945,27 +1958,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1945
1958
|
} | {
|
|
1946
1959
|
output: {
|
|
1947
1960
|
error: {
|
|
1948
|
-
code: "
|
|
1961
|
+
code: "upstream_error";
|
|
1949
1962
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1950
1963
|
message: string;
|
|
1951
1964
|
};
|
|
1952
1965
|
requestId: string;
|
|
1953
1966
|
};
|
|
1954
1967
|
outputFormat: "json";
|
|
1955
|
-
status:
|
|
1956
|
-
input: {
|
|
1957
|
-
param: {
|
|
1958
|
-
keyId: string;
|
|
1959
|
-
orgId: string;
|
|
1960
|
-
projectId: string;
|
|
1961
|
-
};
|
|
1962
|
-
};
|
|
1963
|
-
} | {
|
|
1964
|
-
output: {
|
|
1965
|
-
id: string;
|
|
1966
|
-
};
|
|
1967
|
-
outputFormat: "json";
|
|
1968
|
-
status: 200;
|
|
1968
|
+
status: 502;
|
|
1969
1969
|
input: {
|
|
1970
1970
|
param: {
|
|
1971
1971
|
keyId: string;
|