tapimo 0.13.0 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/App.d.ts +6064 -4829
- package/dist/App.d.ts.map +1 -1
- package/dist/App.js +1 -0
- package/dist/App.js.map +1 -1
- package/dist/Webhooks.js +2 -2
- package/dist/Webhooks.js.map +1 -1
- package/dist/admin/App.d.ts +1008 -917
- package/dist/admin/App.d.ts.map +1 -1
- package/dist/admin/apps/earn-vaults.d.ts +48 -0
- package/dist/admin/apps/earn-vaults.d.ts.map +1 -1
- package/dist/admin/apps/earn-vaults.js +2 -1
- package/dist/admin/apps/earn-vaults.js.map +1 -1
- package/dist/admin/apps/organizations.d.ts +92 -3
- package/dist/admin/apps/organizations.d.ts.map +1 -1
- package/dist/admin/apps/organizations.js +69 -7
- package/dist/admin/apps/organizations.js.map +1 -1
- package/dist/admin/apps/verified-tokens.d.ts +74 -74
- package/dist/admin/ui.generated.d.ts +1 -1
- package/dist/admin/ui.generated.js +69 -69
- package/dist/admin/ui.generated.js.map +1 -1
- package/dist/apps/Zones.d.ts +12 -12
- package/dist/apps/Zones.js +3 -3
- package/dist/apps/data/App.d.ts +2909 -2523
- package/dist/apps/data/App.d.ts.map +1 -1
- package/dist/apps/data/App.js +11 -6
- package/dist/apps/data/App.js.map +1 -1
- package/dist/apps/data/routes/addresses.d.ts +22 -22
- package/dist/apps/data/routes/earn.d.ts +183 -7
- package/dist/apps/data/routes/earn.d.ts.map +1 -1
- package/dist/apps/data/routes/earn.js +434 -75
- package/dist/apps/data/routes/earn.js.map +1 -1
- package/dist/apps/data/routes/exchanges.d.ts +15 -0
- package/dist/apps/data/routes/exchanges.d.ts.map +1 -1
- package/dist/apps/data/routes/exchanges.js +180 -114
- package/dist/apps/data/routes/exchanges.js.map +1 -1
- package/dist/apps/data/routes/fee-amm.d.ts.map +1 -1
- package/dist/apps/data/routes/fee-amm.js +18 -19
- package/dist/apps/data/routes/fee-amm.js.map +1 -1
- package/dist/apps/data/routes/tokens.d.ts +93 -93
- package/dist/apps/data/routes/transfers.d.ts +12 -12
- package/dist/apps/data/routes/valuation.d.ts +30 -30
- package/dist/apps/data/routes/verified-tokens.d.ts +5 -5
- package/dist/apps/data/routes/webhooks.d.ts +805 -102
- package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/data/routes/webhooks.js +47 -5
- package/dist/apps/data/routes/webhooks.js.map +1 -1
- package/dist/apps/funding/App.d.ts +456 -45
- package/dist/apps/funding/App.d.ts.map +1 -1
- package/dist/apps/funding/App.js +1 -1
- package/dist/apps/funding/App.js.map +1 -1
- package/dist/apps/funding/routes/deposit-addresses.d.ts +17 -17
- package/dist/apps/funding/routes/deposit-addresses.d.ts.map +1 -1
- package/dist/apps/funding/routes/deposit-addresses.js +1 -1
- package/dist/apps/funding/routes/deposit-addresses.js.map +1 -1
- package/dist/apps/funding/routes/transfers.d.ts +654 -73
- package/dist/apps/funding/routes/transfers.d.ts.map +1 -1
- package/dist/apps/funding/routes/transfers.js +211 -5
- package/dist/apps/funding/routes/transfers.js.map +1 -1
- package/dist/apps/management/App.d.ts +831 -387
- package/dist/apps/management/App.d.ts.map +1 -1
- package/dist/apps/management/Billing.d.ts +1 -1
- package/dist/apps/management/Billing.d.ts.map +1 -1
- package/dist/apps/management/Billing.js +17 -1
- package/dist/apps/management/Billing.js.map +1 -1
- package/dist/apps/management/routes/api-keys.d.ts +76 -76
- package/dist/apps/management/routes/billing.d.ts +76 -76
- package/dist/apps/management/routes/faucet.d.ts +12 -12
- package/dist/apps/management/routes/invitations.d.ts +24 -24
- package/dist/apps/management/routes/invite-links.d.ts +46 -46
- package/dist/apps/management/routes/members.d.ts +46 -46
- package/dist/apps/management/routes/orgs.d.ts +20 -20
- package/dist/apps/management/routes/projects.d.ts +44 -44
- package/dist/apps/management/routes/usage.d.ts +32 -32
- package/dist/apps/management/routes/verified-token-requests.d.ts +16 -16
- package/dist/apps/management/routes/webhooks.d.ts +707 -57
- package/dist/apps/management/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/management/routes/webhooks.js +21 -21
- package/dist/apps/management/routes/webhooks.js.map +1 -1
- package/dist/apps/relay/App.d.ts.map +1 -1
- package/dist/apps/relay/App.js +115 -23
- package/dist/apps/relay/App.js.map +1 -1
- package/dist/apps/relay/Sponsorships.d.ts.map +1 -1
- package/dist/apps/relay/Sponsorships.js +27 -1
- package/dist/apps/relay/Sponsorships.js.map +1 -1
- package/dist/db/Db.d.ts.map +1 -1
- package/dist/db/Db.js +22 -0
- package/dist/db/Db.js.map +1 -1
- package/dist/db/Schema.d.ts +8 -3
- package/dist/db/Schema.d.ts.map +1 -1
- package/dist/db/Schema.js +16 -1
- package/dist/db/Schema.js.map +1 -1
- package/dist/db/tables/fundingTransferTransactions.d.ts +38 -0
- package/dist/db/tables/fundingTransferTransactions.d.ts.map +1 -1
- package/dist/db/tables/fundingTransferTransactions.js +44 -3
- package/dist/db/tables/fundingTransferTransactions.js.map +1 -1
- package/dist/db/tables/fundingTransfers.d.ts +17 -0
- package/dist/db/tables/fundingTransfers.d.ts.map +1 -1
- package/dist/db/tables/fundingTransfers.js +21 -0
- package/dist/db/tables/fundingTransfers.js.map +1 -1
- package/dist/db/tables/organizations.d.ts +24 -0
- package/dist/db/tables/organizations.d.ts.map +1 -1
- package/dist/db/tables/organizations.js +27 -0
- package/dist/db/tables/organizations.js.map +1 -1
- package/dist/db/tables/projects.d.ts +25 -1
- package/dist/db/tables/projects.d.ts.map +1 -1
- package/dist/db/tables/projects.js +26 -0
- package/dist/db/tables/projects.js.map +1 -1
- package/dist/db/tables/sponsoredTransactions.d.ts +44 -0
- package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -1
- package/dist/db/tables/sponsoredTransactions.js +146 -13
- package/dist/db/tables/sponsoredTransactions.js.map +1 -1
- package/dist/db/tables/webhookSubscriptions.d.ts +10 -6
- package/dist/db/tables/webhookSubscriptions.d.ts.map +1 -1
- package/dist/db/tables/webhookSubscriptions.js +9 -6
- package/dist/db/tables/webhookSubscriptions.js.map +1 -1
- package/dist/internal/EarnVaults.js +5 -5
- package/dist/internal/EarnVaults.js.map +1 -1
- package/dist/internal/Log.d.ts +1 -1
- package/dist/internal/Log.d.ts.map +1 -1
- package/dist/internal/Log.js.map +1 -1
- package/dist/internal/Viem.d.ts +16 -1
- package/dist/internal/Viem.d.ts.map +1 -1
- package/dist/internal/Viem.js +12 -2
- package/dist/internal/Viem.js.map +1 -1
- package/dist/internal/funding/DepositWebhook.d.ts.map +1 -1
- package/dist/internal/funding/DepositWebhook.js +2 -1
- package/dist/internal/funding/DepositWebhook.js.map +1 -1
- package/dist/internal/funding/Evidence.d.ts.map +1 -1
- package/dist/internal/funding/Evidence.js +2 -10
- package/dist/internal/funding/Evidence.js.map +1 -1
- package/dist/internal/funding/Provider.d.ts +40 -0
- package/dist/internal/funding/Provider.d.ts.map +1 -1
- package/dist/internal/funding/Provider.js +5 -0
- package/dist/internal/funding/Provider.js.map +1 -1
- package/dist/internal/funding/SourceObservation.d.ts.map +1 -1
- package/dist/internal/funding/SourceObservation.js +5 -7
- package/dist/internal/funding/SourceObservation.js.map +1 -1
- package/dist/internal/funding/Transfer.d.ts +101 -6
- package/dist/internal/funding/Transfer.d.ts.map +1 -1
- package/dist/internal/funding/Transfer.js +162 -34
- package/dist/internal/funding/Transfer.js.map +1 -1
- package/dist/internal/funding/TransferReconciliation.d.ts +52 -0
- package/dist/internal/funding/TransferReconciliation.d.ts.map +1 -0
- package/dist/internal/funding/TransferReconciliation.js +192 -0
- package/dist/internal/funding/TransferReconciliation.js.map +1 -0
- package/dist/internal/funding/TransferWebhook.d.ts +21 -0
- package/dist/internal/funding/TransferWebhook.d.ts.map +1 -0
- package/dist/internal/funding/TransferWebhook.js +43 -0
- package/dist/internal/funding/TransferWebhook.js.map +1 -0
- package/dist/internal/funding/index.d.ts +1 -0
- package/dist/internal/funding/index.d.ts.map +1 -1
- package/dist/internal/funding/index.js +1 -0
- package/dist/internal/funding/index.js.map +1 -1
- package/dist/internal/funding/providers/relay.d.ts.map +1 -1
- package/dist/internal/funding/providers/relay.js +3 -12
- package/dist/internal/funding/providers/relay.js.map +1 -1
- package/dist/internal/funding/providers/stargate.d.ts +99 -0
- package/dist/internal/funding/providers/stargate.d.ts.map +1 -1
- package/dist/internal/funding/providers/stargate.js +337 -35
- package/dist/internal/funding/providers/stargate.js.map +1 -1
- package/dist/internal/webhookDestinations/slack.d.ts.map +1 -1
- package/dist/internal/webhookDestinations/slack.js +16 -0
- package/dist/internal/webhookDestinations/slack.js.map +1 -1
- package/package.json +1 -1
- package/src/App.ts +1 -0
- package/src/Client.test-d.ts +83 -2
- package/src/Webhooks.ts +2 -2
- package/src/admin/apps/earn-vaults.ts +2 -1
- package/src/admin/apps/organizations.test.ts +53 -1
- package/src/admin/apps/organizations.ts +90 -5
- package/src/admin/ui/src/lib/organizations.test.ts +112 -1
- package/src/admin/ui/src/lib/organizations.ts +55 -0
- package/src/admin/ui/src/routes/organizations_.$orgId.tsx +116 -0
- package/src/admin/ui.generated.ts +69 -69
- package/src/apps/Zones.test.ts +3 -3
- package/src/apps/Zones.ts +3 -3
- package/src/apps/composition.test.ts +1 -0
- package/src/apps/data/App.ts +15 -6
- package/src/apps/data/routes/earn.test.ts +369 -14
- package/src/apps/data/routes/earn.ts +548 -79
- package/src/apps/data/routes/exchanges.test.ts +740 -15
- package/src/apps/data/routes/exchanges.ts +954 -753
- package/src/apps/data/routes/fee-amm.ts +17 -18
- package/src/apps/data/routes/webhooks.test.ts +21 -5
- package/src/apps/data/routes/webhooks.ts +63 -8
- package/src/apps/funding/App.ts +12 -2
- package/src/apps/funding/routes/deposit-addresses.test.ts +4 -4
- package/src/apps/funding/routes/deposit-addresses.ts +2 -2
- package/src/apps/funding/routes/transfers.test.ts +510 -19
- package/src/apps/funding/routes/transfers.ts +271 -5
- package/src/apps/management/Billing.ts +18 -5
- package/src/apps/management/routes/webhooks.test.ts +3 -3
- package/src/apps/management/routes/webhooks.ts +24 -25
- package/src/apps/relay/App.test.ts +212 -1
- package/src/apps/relay/App.ts +158 -29
- package/src/apps/relay/Sponsorships.ts +24 -1
- package/src/db/Db.ts +35 -0
- package/src/db/Schema.ts +17 -2
- package/src/db/tables/fundingTransferTransactions.test.ts +43 -0
- package/src/db/tables/fundingTransferTransactions.ts +79 -3
- package/src/db/tables/fundingTransfers.test.ts +26 -0
- package/src/db/tables/fundingTransfers.ts +36 -0
- package/src/db/tables/organizations.test.ts +41 -0
- package/src/db/tables/organizations.ts +49 -0
- package/src/db/tables/projects.test.ts +55 -0
- package/src/db/tables/projects.ts +46 -1
- package/src/db/tables/sponsoredTransactions.test.ts +338 -0
- package/src/db/tables/sponsoredTransactions.ts +197 -13
- package/src/db/tables/webhookSubscriptions.ts +18 -11
- package/src/internal/EarnVaults.ts +5 -5
- package/src/internal/Log.test-d.ts +2 -0
- package/src/internal/Log.ts +2 -0
- package/src/internal/Viem.ts +39 -3
- package/src/internal/Webhooks.test.ts +45 -0
- package/src/internal/funding/DepositWebhook.ts +2 -1
- package/src/internal/funding/Evidence.ts +2 -13
- package/src/internal/funding/Provider.ts +43 -0
- package/src/internal/funding/SourceObservation.ts +5 -9
- package/src/internal/funding/Transfer.test.ts +155 -0
- package/src/internal/funding/Transfer.ts +254 -37
- package/src/internal/funding/TransferReconciliation.test.ts +147 -0
- package/src/internal/funding/TransferReconciliation.ts +264 -0
- package/src/internal/funding/TransferWebhook.test.ts +128 -0
- package/src/internal/funding/TransferWebhook.ts +67 -0
- package/src/internal/funding/index.test.ts +1 -0
- package/src/internal/funding/index.ts +1 -0
- package/src/internal/funding/providers/relay.ts +3 -15
- package/src/internal/funding/providers/stargate.test.ts +169 -4
- package/src/internal/funding/providers/stargate.ts +498 -51
- package/src/internal/webhookDestinations/slack.ts +15 -0
|
@@ -198,14 +198,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
198
198
|
$post: {
|
|
199
199
|
output: {
|
|
200
200
|
error: {
|
|
201
|
-
code: "
|
|
201
|
+
code: "api_key_malformed";
|
|
202
202
|
details?: readonly Response.error.Detail[] | undefined;
|
|
203
203
|
message: string;
|
|
204
204
|
};
|
|
205
205
|
requestId: string;
|
|
206
206
|
};
|
|
207
207
|
outputFormat: "json";
|
|
208
|
-
status:
|
|
208
|
+
status: 400;
|
|
209
209
|
input: {
|
|
210
210
|
param: {
|
|
211
211
|
orgId: string;
|
|
@@ -222,14 +222,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
222
222
|
} | {
|
|
223
223
|
output: {
|
|
224
224
|
error: {
|
|
225
|
-
code: "
|
|
225
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
226
226
|
details?: readonly Response.error.Detail[] | undefined;
|
|
227
227
|
message: string;
|
|
228
228
|
};
|
|
229
229
|
requestId: string;
|
|
230
230
|
};
|
|
231
231
|
outputFormat: "json";
|
|
232
|
-
status:
|
|
232
|
+
status: 401;
|
|
233
233
|
input: {
|
|
234
234
|
param: {
|
|
235
235
|
orgId: string;
|
|
@@ -246,14 +246,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
246
246
|
} | {
|
|
247
247
|
output: {
|
|
248
248
|
error: {
|
|
249
|
-
code: "
|
|
249
|
+
code: "upstream_error";
|
|
250
250
|
details?: readonly Response.error.Detail[] | undefined;
|
|
251
251
|
message: string;
|
|
252
252
|
};
|
|
253
253
|
requestId: string;
|
|
254
254
|
};
|
|
255
255
|
outputFormat: "json";
|
|
256
|
-
status:
|
|
256
|
+
status: 502;
|
|
257
257
|
input: {
|
|
258
258
|
param: {
|
|
259
259
|
orgId: string;
|
|
@@ -270,7 +270,7 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
270
270
|
} | {
|
|
271
271
|
output: {
|
|
272
272
|
error: {
|
|
273
|
-
code: "
|
|
273
|
+
code: "body_invalid";
|
|
274
274
|
details?: readonly Response.error.Detail[] | undefined;
|
|
275
275
|
message: string;
|
|
276
276
|
};
|
|
@@ -294,7 +294,7 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
294
294
|
} | {
|
|
295
295
|
output: {
|
|
296
296
|
error: {
|
|
297
|
-
code: "
|
|
297
|
+
code: "param_invalid";
|
|
298
298
|
details?: readonly Response.error.Detail[] | undefined;
|
|
299
299
|
message: string;
|
|
300
300
|
};
|
|
@@ -449,14 +449,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
449
449
|
$get: {
|
|
450
450
|
output: {
|
|
451
451
|
error: {
|
|
452
|
-
code: "
|
|
452
|
+
code: "api_key_malformed";
|
|
453
453
|
details?: readonly Response.error.Detail[] | undefined;
|
|
454
454
|
message: string;
|
|
455
455
|
};
|
|
456
456
|
requestId: string;
|
|
457
457
|
};
|
|
458
458
|
outputFormat: "json";
|
|
459
|
-
status:
|
|
459
|
+
status: 400;
|
|
460
460
|
input: {
|
|
461
461
|
param: {
|
|
462
462
|
orgId: string;
|
|
@@ -470,14 +470,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
470
470
|
} | {
|
|
471
471
|
output: {
|
|
472
472
|
error: {
|
|
473
|
-
code: "
|
|
473
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
474
474
|
details?: readonly Response.error.Detail[] | undefined;
|
|
475
475
|
message: string;
|
|
476
476
|
};
|
|
477
477
|
requestId: string;
|
|
478
478
|
};
|
|
479
479
|
outputFormat: "json";
|
|
480
|
-
status:
|
|
480
|
+
status: 401;
|
|
481
481
|
input: {
|
|
482
482
|
param: {
|
|
483
483
|
orgId: string;
|
|
@@ -491,14 +491,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
491
491
|
} | {
|
|
492
492
|
output: {
|
|
493
493
|
error: {
|
|
494
|
-
code: "
|
|
494
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
495
495
|
details?: readonly Response.error.Detail[] | undefined;
|
|
496
496
|
message: string;
|
|
497
497
|
};
|
|
498
498
|
requestId: string;
|
|
499
499
|
};
|
|
500
500
|
outputFormat: "json";
|
|
501
|
-
status:
|
|
501
|
+
status: 403;
|
|
502
502
|
input: {
|
|
503
503
|
param: {
|
|
504
504
|
orgId: string;
|
|
@@ -512,14 +512,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
512
512
|
} | {
|
|
513
513
|
output: {
|
|
514
514
|
error: {
|
|
515
|
-
code: "
|
|
515
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
516
516
|
details?: readonly Response.error.Detail[] | undefined;
|
|
517
517
|
message: string;
|
|
518
518
|
};
|
|
519
519
|
requestId: string;
|
|
520
520
|
};
|
|
521
521
|
outputFormat: "json";
|
|
522
|
-
status:
|
|
522
|
+
status: 429;
|
|
523
523
|
input: {
|
|
524
524
|
param: {
|
|
525
525
|
orgId: string;
|
|
@@ -533,14 +533,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
533
533
|
} | {
|
|
534
534
|
output: {
|
|
535
535
|
error: {
|
|
536
|
-
code: "
|
|
536
|
+
code: "query_invalid";
|
|
537
537
|
details?: readonly Response.error.Detail[] | undefined;
|
|
538
538
|
message: string;
|
|
539
539
|
};
|
|
540
540
|
requestId: string;
|
|
541
541
|
};
|
|
542
542
|
outputFormat: "json";
|
|
543
|
-
status:
|
|
543
|
+
status: 400;
|
|
544
544
|
input: {
|
|
545
545
|
param: {
|
|
546
546
|
orgId: string;
|
|
@@ -554,14 +554,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
554
554
|
} | {
|
|
555
555
|
output: {
|
|
556
556
|
error: {
|
|
557
|
-
code: "
|
|
557
|
+
code: "upstream_error";
|
|
558
558
|
details?: readonly Response.error.Detail[] | undefined;
|
|
559
559
|
message: string;
|
|
560
560
|
};
|
|
561
561
|
requestId: string;
|
|
562
562
|
};
|
|
563
563
|
outputFormat: "json";
|
|
564
|
-
status:
|
|
564
|
+
status: 502;
|
|
565
565
|
input: {
|
|
566
566
|
param: {
|
|
567
567
|
orgId: string;
|
|
@@ -671,14 +671,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
671
671
|
$get: {
|
|
672
672
|
output: {
|
|
673
673
|
error: {
|
|
674
|
-
code: "
|
|
674
|
+
code: "api_key_malformed";
|
|
675
675
|
details?: readonly Response.error.Detail[] | undefined;
|
|
676
676
|
message: string;
|
|
677
677
|
};
|
|
678
678
|
requestId: string;
|
|
679
679
|
};
|
|
680
680
|
outputFormat: "json";
|
|
681
|
-
status:
|
|
681
|
+
status: 400;
|
|
682
682
|
input: {
|
|
683
683
|
param: {
|
|
684
684
|
orgId: string;
|
|
@@ -691,14 +691,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
691
691
|
} | {
|
|
692
692
|
output: {
|
|
693
693
|
error: {
|
|
694
|
-
code: "
|
|
694
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
695
695
|
details?: readonly Response.error.Detail[] | undefined;
|
|
696
696
|
message: string;
|
|
697
697
|
};
|
|
698
698
|
requestId: string;
|
|
699
699
|
};
|
|
700
700
|
outputFormat: "json";
|
|
701
|
-
status:
|
|
701
|
+
status: 401;
|
|
702
702
|
input: {
|
|
703
703
|
param: {
|
|
704
704
|
orgId: string;
|
|
@@ -711,14 +711,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
711
711
|
} | {
|
|
712
712
|
output: {
|
|
713
713
|
error: {
|
|
714
|
-
code: "
|
|
714
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
715
715
|
details?: readonly Response.error.Detail[] | undefined;
|
|
716
716
|
message: string;
|
|
717
717
|
};
|
|
718
718
|
requestId: string;
|
|
719
719
|
};
|
|
720
720
|
outputFormat: "json";
|
|
721
|
-
status:
|
|
721
|
+
status: 403;
|
|
722
722
|
input: {
|
|
723
723
|
param: {
|
|
724
724
|
orgId: string;
|
|
@@ -731,14 +731,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
731
731
|
} | {
|
|
732
732
|
output: {
|
|
733
733
|
error: {
|
|
734
|
-
code: "
|
|
734
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
735
735
|
details?: readonly Response.error.Detail[] | undefined;
|
|
736
736
|
message: string;
|
|
737
737
|
};
|
|
738
738
|
requestId: string;
|
|
739
739
|
};
|
|
740
740
|
outputFormat: "json";
|
|
741
|
-
status:
|
|
741
|
+
status: 429;
|
|
742
742
|
input: {
|
|
743
743
|
param: {
|
|
744
744
|
orgId: string;
|
|
@@ -751,14 +751,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
751
751
|
} | {
|
|
752
752
|
output: {
|
|
753
753
|
error: {
|
|
754
|
-
code: "
|
|
754
|
+
code: "query_invalid";
|
|
755
755
|
details?: readonly Response.error.Detail[] | undefined;
|
|
756
756
|
message: string;
|
|
757
757
|
};
|
|
758
758
|
requestId: string;
|
|
759
759
|
};
|
|
760
760
|
outputFormat: "json";
|
|
761
|
-
status:
|
|
761
|
+
status: 400;
|
|
762
762
|
input: {
|
|
763
763
|
param: {
|
|
764
764
|
orgId: string;
|
|
@@ -771,14 +771,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
771
771
|
} | {
|
|
772
772
|
output: {
|
|
773
773
|
error: {
|
|
774
|
-
code: "
|
|
774
|
+
code: "upstream_error";
|
|
775
775
|
details?: readonly Response.error.Detail[] | undefined;
|
|
776
776
|
message: string;
|
|
777
777
|
};
|
|
778
778
|
requestId: string;
|
|
779
779
|
};
|
|
780
780
|
outputFormat: "json";
|
|
781
|
-
status:
|
|
781
|
+
status: 502;
|
|
782
782
|
input: {
|
|
783
783
|
param: {
|
|
784
784
|
orgId: string;
|
|
@@ -883,14 +883,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
883
883
|
$post: {
|
|
884
884
|
output: {
|
|
885
885
|
error: {
|
|
886
|
-
code: "
|
|
886
|
+
code: "api_key_malformed";
|
|
887
887
|
details?: readonly Response.error.Detail[] | undefined;
|
|
888
888
|
message: string;
|
|
889
889
|
};
|
|
890
890
|
requestId: string;
|
|
891
891
|
};
|
|
892
892
|
outputFormat: "json";
|
|
893
|
-
status:
|
|
893
|
+
status: 400;
|
|
894
894
|
input: {
|
|
895
895
|
param: {
|
|
896
896
|
keyId: string;
|
|
@@ -900,14 +900,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
900
900
|
} | {
|
|
901
901
|
output: {
|
|
902
902
|
error: {
|
|
903
|
-
code: "
|
|
903
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
904
904
|
details?: readonly Response.error.Detail[] | undefined;
|
|
905
905
|
message: string;
|
|
906
906
|
};
|
|
907
907
|
requestId: string;
|
|
908
908
|
};
|
|
909
909
|
outputFormat: "json";
|
|
910
|
-
status:
|
|
910
|
+
status: 401;
|
|
911
911
|
input: {
|
|
912
912
|
param: {
|
|
913
913
|
keyId: string;
|
|
@@ -917,14 +917,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
917
917
|
} | {
|
|
918
918
|
output: {
|
|
919
919
|
error: {
|
|
920
|
-
code: "
|
|
920
|
+
code: "upstream_error";
|
|
921
921
|
details?: readonly Response.error.Detail[] | undefined;
|
|
922
922
|
message: string;
|
|
923
923
|
};
|
|
924
924
|
requestId: string;
|
|
925
925
|
};
|
|
926
926
|
outputFormat: "json";
|
|
927
|
-
status:
|
|
927
|
+
status: 502;
|
|
928
928
|
input: {
|
|
929
929
|
param: {
|
|
930
930
|
keyId: string;
|
|
@@ -1047,14 +1047,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1047
1047
|
$delete: {
|
|
1048
1048
|
output: {
|
|
1049
1049
|
error: {
|
|
1050
|
-
code: "
|
|
1050
|
+
code: "api_key_malformed";
|
|
1051
1051
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1052
1052
|
message: string;
|
|
1053
1053
|
};
|
|
1054
1054
|
requestId: string;
|
|
1055
1055
|
};
|
|
1056
1056
|
outputFormat: "json";
|
|
1057
|
-
status:
|
|
1057
|
+
status: 400;
|
|
1058
1058
|
input: {
|
|
1059
1059
|
param: {
|
|
1060
1060
|
keyId: string;
|
|
@@ -1064,14 +1064,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1064
1064
|
} | {
|
|
1065
1065
|
output: {
|
|
1066
1066
|
error: {
|
|
1067
|
-
code: "
|
|
1067
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1068
1068
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1069
1069
|
message: string;
|
|
1070
1070
|
};
|
|
1071
1071
|
requestId: string;
|
|
1072
1072
|
};
|
|
1073
1073
|
outputFormat: "json";
|
|
1074
|
-
status:
|
|
1074
|
+
status: 401;
|
|
1075
1075
|
input: {
|
|
1076
1076
|
param: {
|
|
1077
1077
|
keyId: string;
|
|
@@ -1081,14 +1081,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1081
1081
|
} | {
|
|
1082
1082
|
output: {
|
|
1083
1083
|
error: {
|
|
1084
|
-
code: "
|
|
1084
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
1085
1085
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1086
1086
|
message: string;
|
|
1087
1087
|
};
|
|
1088
1088
|
requestId: string;
|
|
1089
1089
|
};
|
|
1090
1090
|
outputFormat: "json";
|
|
1091
|
-
status:
|
|
1091
|
+
status: 403;
|
|
1092
1092
|
input: {
|
|
1093
1093
|
param: {
|
|
1094
1094
|
keyId: string;
|
|
@@ -1098,14 +1098,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1098
1098
|
} | {
|
|
1099
1099
|
output: {
|
|
1100
1100
|
error: {
|
|
1101
|
-
code: "
|
|
1101
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1102
1102
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1103
1103
|
message: string;
|
|
1104
1104
|
};
|
|
1105
1105
|
requestId: string;
|
|
1106
1106
|
};
|
|
1107
1107
|
outputFormat: "json";
|
|
1108
|
-
status:
|
|
1108
|
+
status: 429;
|
|
1109
1109
|
input: {
|
|
1110
1110
|
param: {
|
|
1111
1111
|
keyId: string;
|
|
@@ -1115,14 +1115,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1115
1115
|
} | {
|
|
1116
1116
|
output: {
|
|
1117
1117
|
error: {
|
|
1118
|
-
code: "
|
|
1118
|
+
code: "upstream_error";
|
|
1119
1119
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1120
1120
|
message: string;
|
|
1121
1121
|
};
|
|
1122
1122
|
requestId: string;
|
|
1123
1123
|
};
|
|
1124
1124
|
outputFormat: "json";
|
|
1125
|
-
status:
|
|
1125
|
+
status: 502;
|
|
1126
1126
|
input: {
|
|
1127
1127
|
param: {
|
|
1128
1128
|
keyId: string;
|
|
@@ -1216,14 +1216,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1216
1216
|
$patch: {
|
|
1217
1217
|
output: {
|
|
1218
1218
|
error: {
|
|
1219
|
-
code: "
|
|
1219
|
+
code: "api_key_malformed";
|
|
1220
1220
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1221
1221
|
message: string;
|
|
1222
1222
|
};
|
|
1223
1223
|
requestId: string;
|
|
1224
1224
|
};
|
|
1225
1225
|
outputFormat: "json";
|
|
1226
|
-
status:
|
|
1226
|
+
status: 400;
|
|
1227
1227
|
input: {
|
|
1228
1228
|
param: {
|
|
1229
1229
|
keyId: string;
|
|
@@ -1238,14 +1238,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1238
1238
|
} | {
|
|
1239
1239
|
output: {
|
|
1240
1240
|
error: {
|
|
1241
|
-
code: "
|
|
1241
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1242
1242
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1243
1243
|
message: string;
|
|
1244
1244
|
};
|
|
1245
1245
|
requestId: string;
|
|
1246
1246
|
};
|
|
1247
1247
|
outputFormat: "json";
|
|
1248
|
-
status:
|
|
1248
|
+
status: 401;
|
|
1249
1249
|
input: {
|
|
1250
1250
|
param: {
|
|
1251
1251
|
keyId: string;
|
|
@@ -1260,14 +1260,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1260
1260
|
} | {
|
|
1261
1261
|
output: {
|
|
1262
1262
|
error: {
|
|
1263
|
-
code: "
|
|
1263
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
1264
1264
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1265
1265
|
message: string;
|
|
1266
1266
|
};
|
|
1267
1267
|
requestId: string;
|
|
1268
1268
|
};
|
|
1269
1269
|
outputFormat: "json";
|
|
1270
|
-
status:
|
|
1270
|
+
status: 403;
|
|
1271
1271
|
input: {
|
|
1272
1272
|
param: {
|
|
1273
1273
|
keyId: string;
|
|
@@ -1282,14 +1282,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1282
1282
|
} | {
|
|
1283
1283
|
output: {
|
|
1284
1284
|
error: {
|
|
1285
|
-
code: "
|
|
1285
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1286
1286
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1287
1287
|
message: string;
|
|
1288
1288
|
};
|
|
1289
1289
|
requestId: string;
|
|
1290
1290
|
};
|
|
1291
1291
|
outputFormat: "json";
|
|
1292
|
-
status:
|
|
1292
|
+
status: 429;
|
|
1293
1293
|
input: {
|
|
1294
1294
|
param: {
|
|
1295
1295
|
keyId: string;
|
|
@@ -1304,14 +1304,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1304
1304
|
} | {
|
|
1305
1305
|
output: {
|
|
1306
1306
|
error: {
|
|
1307
|
-
code: "
|
|
1307
|
+
code: "upstream_error";
|
|
1308
1308
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1309
1309
|
message: string;
|
|
1310
1310
|
};
|
|
1311
1311
|
requestId: string;
|
|
1312
1312
|
};
|
|
1313
1313
|
outputFormat: "json";
|
|
1314
|
-
status:
|
|
1314
|
+
status: 502;
|
|
1315
1315
|
input: {
|
|
1316
1316
|
param: {
|
|
1317
1317
|
keyId: string;
|
|
@@ -1326,7 +1326,7 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1326
1326
|
} | {
|
|
1327
1327
|
output: {
|
|
1328
1328
|
error: {
|
|
1329
|
-
code: "
|
|
1329
|
+
code: "body_invalid";
|
|
1330
1330
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1331
1331
|
message: string;
|
|
1332
1332
|
};
|
|
@@ -1348,7 +1348,7 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1348
1348
|
} | {
|
|
1349
1349
|
output: {
|
|
1350
1350
|
error: {
|
|
1351
|
-
code: "
|
|
1351
|
+
code: "param_invalid";
|
|
1352
1352
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1353
1353
|
message: string;
|
|
1354
1354
|
};
|
|
@@ -1490,14 +1490,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1490
1490
|
$post: {
|
|
1491
1491
|
output: {
|
|
1492
1492
|
error: {
|
|
1493
|
-
code: "
|
|
1493
|
+
code: "api_key_malformed";
|
|
1494
1494
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1495
1495
|
message: string;
|
|
1496
1496
|
};
|
|
1497
1497
|
requestId: string;
|
|
1498
1498
|
};
|
|
1499
1499
|
outputFormat: "json";
|
|
1500
|
-
status:
|
|
1500
|
+
status: 400;
|
|
1501
1501
|
input: {
|
|
1502
1502
|
param: {
|
|
1503
1503
|
keyId: string;
|
|
@@ -1508,14 +1508,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1508
1508
|
} | {
|
|
1509
1509
|
output: {
|
|
1510
1510
|
error: {
|
|
1511
|
-
code: "
|
|
1511
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1512
1512
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1513
1513
|
message: string;
|
|
1514
1514
|
};
|
|
1515
1515
|
requestId: string;
|
|
1516
1516
|
};
|
|
1517
1517
|
outputFormat: "json";
|
|
1518
|
-
status:
|
|
1518
|
+
status: 401;
|
|
1519
1519
|
input: {
|
|
1520
1520
|
param: {
|
|
1521
1521
|
keyId: string;
|
|
@@ -1526,14 +1526,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1526
1526
|
} | {
|
|
1527
1527
|
output: {
|
|
1528
1528
|
error: {
|
|
1529
|
-
code: "
|
|
1529
|
+
code: "upstream_error";
|
|
1530
1530
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1531
1531
|
message: string;
|
|
1532
1532
|
};
|
|
1533
1533
|
requestId: string;
|
|
1534
1534
|
};
|
|
1535
1535
|
outputFormat: "json";
|
|
1536
|
-
status:
|
|
1536
|
+
status: 502;
|
|
1537
1537
|
input: {
|
|
1538
1538
|
param: {
|
|
1539
1539
|
keyId: string;
|
|
@@ -1681,14 +1681,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1681
1681
|
$delete: {
|
|
1682
1682
|
output: {
|
|
1683
1683
|
error: {
|
|
1684
|
-
code: "
|
|
1684
|
+
code: "api_key_malformed";
|
|
1685
1685
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1686
1686
|
message: string;
|
|
1687
1687
|
};
|
|
1688
1688
|
requestId: string;
|
|
1689
1689
|
};
|
|
1690
1690
|
outputFormat: "json";
|
|
1691
|
-
status:
|
|
1691
|
+
status: 400;
|
|
1692
1692
|
input: {
|
|
1693
1693
|
param: {
|
|
1694
1694
|
keyId: string;
|
|
@@ -1699,14 +1699,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1699
1699
|
} | {
|
|
1700
1700
|
output: {
|
|
1701
1701
|
error: {
|
|
1702
|
-
code: "
|
|
1702
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1703
1703
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1704
1704
|
message: string;
|
|
1705
1705
|
};
|
|
1706
1706
|
requestId: string;
|
|
1707
1707
|
};
|
|
1708
1708
|
outputFormat: "json";
|
|
1709
|
-
status:
|
|
1709
|
+
status: 401;
|
|
1710
1710
|
input: {
|
|
1711
1711
|
param: {
|
|
1712
1712
|
keyId: string;
|
|
@@ -1717,14 +1717,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1717
1717
|
} | {
|
|
1718
1718
|
output: {
|
|
1719
1719
|
error: {
|
|
1720
|
-
code: "
|
|
1720
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
1721
1721
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1722
1722
|
message: string;
|
|
1723
1723
|
};
|
|
1724
1724
|
requestId: string;
|
|
1725
1725
|
};
|
|
1726
1726
|
outputFormat: "json";
|
|
1727
|
-
status:
|
|
1727
|
+
status: 403;
|
|
1728
1728
|
input: {
|
|
1729
1729
|
param: {
|
|
1730
1730
|
keyId: string;
|
|
@@ -1735,14 +1735,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1735
1735
|
} | {
|
|
1736
1736
|
output: {
|
|
1737
1737
|
error: {
|
|
1738
|
-
code: "
|
|
1738
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1739
1739
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1740
1740
|
message: string;
|
|
1741
1741
|
};
|
|
1742
1742
|
requestId: string;
|
|
1743
1743
|
};
|
|
1744
1744
|
outputFormat: "json";
|
|
1745
|
-
status:
|
|
1745
|
+
status: 429;
|
|
1746
1746
|
input: {
|
|
1747
1747
|
param: {
|
|
1748
1748
|
keyId: string;
|
|
@@ -1753,14 +1753,14 @@ export declare function apiKeys(options?: apiKeys.Options): import("hono/hono-ba
|
|
|
1753
1753
|
} | {
|
|
1754
1754
|
output: {
|
|
1755
1755
|
error: {
|
|
1756
|
-
code: "
|
|
1756
|
+
code: "upstream_error";
|
|
1757
1757
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1758
1758
|
message: string;
|
|
1759
1759
|
};
|
|
1760
1760
|
requestId: string;
|
|
1761
1761
|
};
|
|
1762
1762
|
outputFormat: "json";
|
|
1763
|
-
status:
|
|
1763
|
+
status: 502;
|
|
1764
1764
|
input: {
|
|
1765
1765
|
param: {
|
|
1766
1766
|
keyId: string;
|