tapimo 0.7.2 → 0.8.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/README.md +10 -7
- package/dist/ApiKey.d.ts +3 -0
- package/dist/ApiKey.d.ts.map +1 -1
- package/dist/ApiKey.js +10 -0
- package/dist/ApiKey.js.map +1 -1
- package/dist/ApiKeys.d.ts +7 -3
- package/dist/ApiKeys.d.ts.map +1 -1
- package/dist/ApiKeys.js +9 -2
- package/dist/ApiKeys.js.map +1 -1
- package/dist/App.d.ts +20434 -19484
- package/dist/App.d.ts.map +1 -1
- package/dist/App.js +62 -4
- package/dist/App.js.map +1 -1
- package/dist/admin/App.d.ts +84 -74
- package/dist/admin/App.d.ts.map +1 -1
- package/dist/admin/apps/api-keys.d.ts +14 -1
- package/dist/admin/apps/api-keys.d.ts.map +1 -1
- package/dist/admin/apps/api-keys.js +6 -2
- package/dist/admin/apps/api-keys.js.map +1 -1
- package/dist/admin/apps/organizations.d.ts +2 -0
- package/dist/admin/apps/organizations.d.ts.map +1 -1
- package/dist/admin/apps/verified-tokens.d.ts +168 -168
- package/dist/admin/ui.generated.d.ts +1 -1
- package/dist/admin/ui.generated.js +67 -67
- package/dist/admin/ui.generated.js.map +1 -1
- package/dist/analytics/Analytics.d.ts +2 -0
- package/dist/analytics/Analytics.d.ts.map +1 -1
- package/dist/analytics/Analytics.js +3 -0
- package/dist/analytics/Analytics.js.map +1 -1
- package/dist/apps/data/App.d.ts +10305 -12785
- package/dist/apps/data/App.d.ts.map +1 -1
- package/dist/apps/data/App.js +4 -8
- package/dist/apps/data/App.js.map +1 -1
- package/dist/apps/data/routes/activities.d.ts +24 -24
- package/dist/apps/data/routes/addresses.d.ts +288 -288
- package/dist/apps/data/routes/balances.d.ts +6 -6
- package/dist/apps/data/routes/blocks.d.ts +39 -39
- package/dist/apps/data/routes/coingecko.d.ts +170 -170
- package/dist/apps/data/routes/earn.d.ts +436 -6
- package/dist/apps/data/routes/earn.d.ts.map +1 -1
- package/dist/apps/data/routes/earn.js +631 -4
- package/dist/apps/data/routes/earn.js.map +1 -1
- package/dist/apps/data/routes/exchanges.d.ts +10 -10
- package/dist/apps/data/routes/fee-amm.d.ts +2 -2
- package/dist/apps/data/routes/indexer.d.ts +6 -6
- package/dist/apps/data/routes/indexer.js +4 -1
- package/dist/apps/data/routes/indexer.js.map +1 -1
- package/dist/apps/data/routes/receipts.d.ts +235 -235
- package/dist/apps/data/routes/rpc.d.ts +1 -1
- package/dist/apps/data/routes/rpc.js +4 -1
- package/dist/apps/data/routes/rpc.js.map +1 -1
- package/dist/apps/data/routes/tokenlist.d.ts +36 -36
- package/dist/apps/data/routes/tokens.d.ts +6 -6
- package/dist/apps/data/routes/transactions.d.ts +2 -2
- package/dist/apps/data/routes/transfers.d.ts +1 -1
- package/dist/apps/data/routes/valuation.d.ts +1 -1
- package/dist/apps/data/routes/verified-tokens.d.ts +36 -36
- package/dist/apps/data/routes/webhooks.d.ts +9 -9
- package/dist/apps/data/routes/zones.d.ts +14 -14
- package/dist/apps/funding/Access.d.ts +16 -0
- package/dist/apps/funding/Access.d.ts.map +1 -0
- package/dist/apps/funding/Access.js +22 -0
- package/dist/apps/funding/Access.js.map +1 -0
- package/dist/apps/{data/routes/funding.d.ts → funding/App.d.ts} +1717 -3035
- package/dist/apps/funding/App.d.ts.map +1 -0
- package/dist/apps/funding/App.js +46 -0
- package/dist/apps/funding/App.js.map +1 -0
- package/dist/apps/funding/Inventory.d.ts +5 -0
- package/dist/apps/funding/Inventory.d.ts.map +1 -0
- package/dist/apps/funding/Inventory.js +25 -0
- package/dist/apps/funding/Inventory.js.map +1 -0
- package/dist/apps/funding/ProviderAttempts.d.ts +5 -0
- package/dist/apps/funding/ProviderAttempts.d.ts.map +1 -0
- package/dist/apps/funding/ProviderAttempts.js +24 -0
- package/dist/apps/funding/ProviderAttempts.js.map +1 -0
- package/dist/apps/funding/index.d.ts +2 -0
- package/dist/apps/funding/index.d.ts.map +1 -0
- package/dist/apps/funding/index.js +2 -0
- package/dist/apps/funding/index.js.map +1 -0
- package/dist/apps/funding/routes/chains.d.ts +169 -0
- package/dist/apps/funding/routes/chains.d.ts.map +1 -0
- package/dist/apps/funding/routes/chains.js +80 -0
- package/dist/apps/funding/routes/chains.js.map +1 -0
- package/dist/apps/funding/routes/deposit-addresses.d.ts +2388 -0
- package/dist/apps/funding/routes/deposit-addresses.d.ts.map +1 -0
- package/dist/apps/funding/routes/deposit-addresses.js +860 -0
- package/dist/apps/funding/routes/deposit-addresses.js.map +1 -0
- package/dist/apps/funding/routes/providers.d.ts +91 -0
- package/dist/apps/funding/routes/providers.d.ts.map +1 -0
- package/dist/apps/funding/routes/providers.js +56 -0
- package/dist/apps/funding/routes/providers.js.map +1 -0
- package/dist/apps/funding/routes/quotes.d.ts +426 -0
- package/dist/apps/funding/routes/quotes.d.ts.map +1 -0
- package/dist/apps/funding/routes/quotes.js +188 -0
- package/dist/apps/funding/routes/quotes.js.map +1 -0
- package/dist/apps/funding/routes/transfers.d.ts +1999 -0
- package/dist/apps/funding/routes/transfers.d.ts.map +1 -0
- package/dist/apps/funding/routes/transfers.js +614 -0
- package/dist/apps/funding/routes/transfers.js.map +1 -0
- package/dist/apps/index.d.ts +1 -0
- package/dist/apps/index.d.ts.map +1 -1
- package/dist/apps/index.js +1 -0
- package/dist/apps/index.js.map +1 -1
- package/dist/apps/management/App.d.ts +430 -165
- package/dist/apps/management/App.d.ts.map +1 -1
- package/dist/apps/management/routes/api-keys.d.ts +298 -21
- package/dist/apps/management/routes/api-keys.d.ts.map +1 -1
- package/dist/apps/management/routes/api-keys.js +75 -1
- package/dist/apps/management/routes/api-keys.js.map +1 -1
- package/dist/apps/management/routes/billing.d.ts +6 -6
- package/dist/apps/management/routes/faucet.d.ts +35 -35
- package/dist/apps/management/routes/invitations.d.ts +48 -48
- package/dist/apps/management/routes/invite-links.d.ts +38 -38
- package/dist/apps/management/routes/members.d.ts +69 -69
- package/dist/apps/management/routes/orgs.d.ts +37 -37
- package/dist/apps/management/routes/projects.d.ts +25 -25
- package/dist/apps/management/routes/scopes.d.ts +1 -1
- package/dist/apps/management/routes/usage.d.ts +72 -72
- package/dist/apps/management/routes/verified-token-requests.d.ts +18 -18
- package/dist/apps/management/routes/webhooks.d.ts +128 -128
- package/dist/apps/mcp.d.ts +2 -3
- package/dist/apps/mcp.d.ts.map +1 -1
- package/dist/apps/mcp.js +16 -14
- package/dist/apps/mcp.js.map +1 -1
- package/dist/apps/metadata.d.ts +4 -0
- package/dist/apps/metadata.d.ts.map +1 -1
- package/dist/apps/metadata.js +10 -0
- package/dist/apps/metadata.js.map +1 -1
- package/dist/apps/mpp/App.d.ts +2 -2
- package/dist/cloudflare.d.ts +50 -0
- package/dist/cloudflare.d.ts.map +1 -1
- package/dist/cloudflare.js +178 -0
- package/dist/cloudflare.js.map +1 -1
- package/dist/db/Db.d.ts +2 -0
- package/dist/db/Db.d.ts.map +1 -1
- package/dist/db/Db.js +37 -0
- package/dist/db/Db.js.map +1 -1
- package/dist/db/Schema.d.ts +12 -0
- package/dist/db/Schema.d.ts.map +1 -1
- package/dist/db/Schema.js +20 -0
- package/dist/db/Schema.js.map +1 -1
- package/dist/db/tables/fundingDepositAddresses.d.ts +13 -0
- package/dist/db/tables/fundingDepositAddresses.d.ts.map +1 -1
- package/dist/db/tables/fundingDepositAddresses.js +12 -0
- package/dist/db/tables/fundingDepositAddresses.js.map +1 -1
- package/dist/db/tables/fundingDepositRequestObservations.d.ts +45 -0
- package/dist/db/tables/fundingDepositRequestObservations.d.ts.map +1 -0
- package/dist/db/tables/fundingDepositRequestObservations.js +46 -0
- package/dist/db/tables/fundingDepositRequestObservations.js.map +1 -0
- package/dist/db/tables/fundingDeposits.d.ts +57 -1
- package/dist/db/tables/fundingDeposits.d.ts.map +1 -1
- package/dist/db/tables/fundingDeposits.js +82 -0
- package/dist/db/tables/fundingDeposits.js.map +1 -1
- package/dist/internal/Auth.d.ts +11 -11
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +41 -15
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/Cache.js +1 -1
- package/dist/internal/Cache.js.map +1 -1
- package/dist/internal/EdgeCache.d.ts +2 -2
- package/dist/internal/EdgeCache.d.ts.map +1 -1
- package/dist/internal/EdgeCache.js +10 -4
- package/dist/internal/EdgeCache.js.map +1 -1
- package/dist/internal/IpAllowlist.d.ts +15 -0
- package/dist/internal/IpAllowlist.d.ts.map +1 -0
- package/dist/internal/IpAllowlist.js +27 -0
- package/dist/internal/IpAllowlist.js.map +1 -0
- package/dist/internal/OpenApi.d.ts +1 -1
- package/dist/internal/OpenApi.js +1 -1
- package/dist/internal/OpenApi.js.map +1 -1
- package/dist/internal/Tidx.d.ts +6 -0
- package/dist/internal/Tidx.d.ts.map +1 -1
- package/dist/internal/Tidx.js +13 -3
- package/dist/internal/Tidx.js.map +1 -1
- package/dist/internal/Viem.d.ts +8 -0
- package/dist/internal/Viem.d.ts.map +1 -1
- package/dist/internal/Viem.js +12 -5
- package/dist/internal/Viem.js.map +1 -1
- package/dist/internal/funding/Deposit.d.ts +42 -0
- package/dist/internal/funding/Deposit.d.ts.map +1 -1
- package/dist/internal/funding/Deposit.js +37 -5
- package/dist/internal/funding/Deposit.js.map +1 -1
- package/dist/internal/funding/Evidence.d.ts +1 -5
- package/dist/internal/funding/Evidence.d.ts.map +1 -1
- package/dist/internal/funding/Evidence.js +4 -3
- package/dist/internal/funding/Evidence.js.map +1 -1
- package/dist/internal/funding/Provider.d.ts +102 -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/Reconciliation.d.ts +16 -2
- package/dist/internal/funding/Reconciliation.d.ts.map +1 -1
- package/dist/internal/funding/Reconciliation.js +257 -48
- package/dist/internal/funding/Reconciliation.js.map +1 -1
- package/dist/internal/funding/SourceObservation.d.ts +108 -0
- package/dist/internal/funding/SourceObservation.d.ts.map +1 -0
- package/dist/internal/funding/SourceObservation.js +143 -0
- package/dist/internal/funding/SourceObservation.js.map +1 -0
- package/dist/internal/funding/Subsidy.d.ts +2 -2
- package/dist/internal/funding/Subsidy.d.ts.map +1 -1
- package/dist/internal/funding/Subsidy.js +1 -1
- package/dist/internal/funding/Subsidy.js.map +1 -1
- 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 +43 -1
- package/dist/internal/funding/providers/relay.d.ts.map +1 -1
- package/dist/internal/funding/providers/relay.js +434 -27
- package/dist/internal/funding/providers/relay.js.map +1 -1
- package/package.json +3 -3
- package/src/ApiKey.test.ts +35 -0
- package/src/ApiKey.ts +27 -0
- package/src/ApiKeys.test.ts +29 -0
- package/src/ApiKeys.ts +11 -3
- package/src/App.test.ts +23 -5
- package/src/App.ts +76 -5
- package/src/Client.test-d.ts +171 -19
- package/src/admin/apps/api-keys.test.ts +25 -1
- package/src/admin/apps/api-keys.ts +6 -2
- package/src/admin/ui.generated.ts +67 -67
- package/src/analytics/Analytics.ts +4 -0
- package/src/apps/composition.test.ts +100 -2
- package/src/apps/data/App.test.ts +0 -12
- package/src/apps/data/App.ts +4 -8
- package/src/apps/data/routes/earn.test.ts +283 -0
- package/src/apps/data/routes/earn.ts +800 -3
- package/src/apps/data/routes/indexer.ts +2 -1
- package/src/apps/data/routes/rpc.ts +2 -0
- package/src/apps/data/routes/tokens.test.ts +6 -8
- package/src/apps/funding/Access.ts +26 -0
- package/src/apps/funding/App.test.ts +78 -0
- package/src/apps/funding/App.ts +63 -0
- package/src/apps/funding/Inventory.ts +30 -0
- package/src/apps/funding/ProviderAttempts.ts +26 -0
- package/src/apps/funding/index.ts +1 -0
- package/src/apps/funding/routes/chains.test.ts +78 -0
- package/src/apps/funding/routes/chains.ts +101 -0
- package/src/apps/funding/routes/deposit-addresses.test.ts +1628 -0
- package/src/apps/funding/routes/deposit-addresses.ts +1015 -0
- package/src/apps/funding/routes/providers.test.ts +165 -0
- package/src/apps/funding/routes/providers.ts +73 -0
- package/src/apps/funding/routes/quotes.test.ts +511 -0
- package/src/apps/funding/routes/quotes.ts +205 -0
- package/src/apps/funding/routes/transfers.test.ts +1255 -0
- package/src/apps/funding/routes/transfers.ts +704 -0
- package/src/apps/index.ts +1 -0
- package/src/apps/management/routes/api-keys.test.ts +98 -0
- package/src/apps/management/routes/api-keys.ts +96 -1
- package/src/apps/mcp.test.ts +17 -2
- package/src/apps/mcp.ts +18 -13
- package/src/apps/metadata.ts +12 -0
- package/src/apps/mpp/internal/Policy.test.ts +7 -1
- package/src/cloudflare.ts +279 -0
- package/src/db/Db.ts +62 -0
- package/src/db/Schema.ts +24 -0
- package/src/db/tables/fundingDepositAddresses.ts +28 -0
- package/src/db/tables/fundingDepositRequestObservations.test.ts +106 -0
- package/src/db/tables/fundingDepositRequestObservations.ts +99 -0
- package/src/db/tables/fundingDeposits.test.ts +138 -0
- package/src/db/tables/fundingDeposits.ts +145 -1
- package/src/internal/Auth.test.ts +177 -5
- package/src/internal/Auth.ts +48 -18
- package/src/internal/Cache.test.ts +37 -3
- package/src/internal/Cache.ts +1 -1
- package/src/internal/EdgeCache.test.ts +7 -7
- package/src/internal/EdgeCache.ts +13 -4
- package/src/internal/IpAllowlist.test.ts +52 -0
- package/src/internal/IpAllowlist.ts +39 -0
- package/src/internal/Log.test.ts +7 -1
- package/src/internal/OpenApi.ts +1 -1
- package/src/internal/Tidx.test.ts +28 -0
- package/src/internal/Tidx.ts +19 -3
- package/src/internal/Viem.test.ts +28 -0
- package/src/internal/Viem.ts +21 -5
- package/src/internal/funding/Deposit.ts +74 -5
- package/src/internal/funding/Evidence.test.ts +2 -2
- package/src/internal/funding/Evidence.ts +4 -9
- package/src/internal/funding/Provider.ts +115 -0
- package/src/internal/funding/Reconciliation.local.test.ts +7 -0
- package/src/internal/funding/Reconciliation.test.ts +1052 -35
- package/src/internal/funding/Reconciliation.ts +328 -56
- package/src/internal/funding/SourceObservation.test.ts +301 -0
- package/src/internal/funding/SourceObservation.ts +267 -0
- package/src/internal/funding/Subsidy.ts +2 -2
- package/src/internal/funding/index.test.ts +1 -0
- package/src/internal/funding/index.ts +1 -0
- package/src/internal/funding/providers/relay.test.ts +94 -4
- package/src/internal/funding/providers/relay.ts +528 -27
- package/dist/apps/data/routes/funding.d.ts.map +0 -1
- package/dist/apps/data/routes/funding.js +0 -1557
- package/dist/apps/data/routes/funding.js.map +0 -1
- package/src/apps/data/routes/funding.test.ts +0 -2994
- package/src/apps/data/routes/funding.ts +0 -1821
package/dist/admin/App.d.ts
CHANGED
|
@@ -656,6 +656,7 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
656
656
|
status: 502;
|
|
657
657
|
input: {
|
|
658
658
|
json: {
|
|
659
|
+
allowedIps?: readonly string[] | undefined;
|
|
659
660
|
billingActive?: boolean | undefined;
|
|
660
661
|
environment?: "production" | "sandbox" | undefined;
|
|
661
662
|
projectId?: string | undefined;
|
|
@@ -681,6 +682,7 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
681
682
|
status: 404;
|
|
682
683
|
input: {
|
|
683
684
|
json: {
|
|
685
|
+
allowedIps?: readonly string[] | undefined;
|
|
684
686
|
billingActive?: boolean | undefined;
|
|
685
687
|
environment?: "production" | "sandbox" | undefined;
|
|
686
688
|
projectId?: string | undefined;
|
|
@@ -695,6 +697,7 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
695
697
|
};
|
|
696
698
|
} | {
|
|
697
699
|
output: {
|
|
700
|
+
allowedIps: readonly string[];
|
|
698
701
|
billingActive?: boolean | undefined;
|
|
699
702
|
environment: "production" | "sandbox";
|
|
700
703
|
id: string;
|
|
@@ -717,6 +720,7 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
717
720
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
718
721
|
input: {
|
|
719
722
|
json: {
|
|
723
|
+
allowedIps?: readonly string[] | undefined;
|
|
720
724
|
billingActive?: boolean | undefined;
|
|
721
725
|
environment?: "production" | "sandbox" | undefined;
|
|
722
726
|
projectId?: string | undefined;
|
|
@@ -736,6 +740,7 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
736
740
|
$get: {
|
|
737
741
|
output: {
|
|
738
742
|
data: {
|
|
743
|
+
allowedIps: readonly string[];
|
|
739
744
|
billingActive?: boolean | undefined;
|
|
740
745
|
environment: "production" | "sandbox";
|
|
741
746
|
id: string;
|
|
@@ -816,6 +821,7 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
816
821
|
};
|
|
817
822
|
} & {
|
|
818
823
|
json: {
|
|
824
|
+
allowedIps?: readonly string[] | undefined;
|
|
819
825
|
name?: string | undefined;
|
|
820
826
|
orgId?: string | undefined;
|
|
821
827
|
projectId?: string | undefined;
|
|
@@ -838,6 +844,7 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
838
844
|
};
|
|
839
845
|
} & {
|
|
840
846
|
json: {
|
|
847
|
+
allowedIps?: readonly string[] | undefined;
|
|
841
848
|
name?: string | undefined;
|
|
842
849
|
orgId?: string | undefined;
|
|
843
850
|
projectId?: string | undefined;
|
|
@@ -845,6 +852,7 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
845
852
|
};
|
|
846
853
|
} | {
|
|
847
854
|
output: {
|
|
855
|
+
allowedIps: readonly string[];
|
|
848
856
|
billingActive?: boolean | undefined;
|
|
849
857
|
environment: "production" | "sandbox";
|
|
850
858
|
id: string;
|
|
@@ -870,6 +878,7 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
870
878
|
};
|
|
871
879
|
} & {
|
|
872
880
|
json: {
|
|
881
|
+
allowedIps?: readonly string[] | undefined;
|
|
873
882
|
name?: string | undefined;
|
|
874
883
|
orgId?: string | undefined;
|
|
875
884
|
projectId?: string | undefined;
|
|
@@ -1282,6 +1291,7 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1282
1291
|
} | {
|
|
1283
1292
|
output: {
|
|
1284
1293
|
data: {
|
|
1294
|
+
allowedIps: readonly string[];
|
|
1285
1295
|
billingActive?: boolean | undefined;
|
|
1286
1296
|
environment: "production" | "sandbox";
|
|
1287
1297
|
id: string;
|
|
@@ -1545,14 +1555,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1545
1555
|
$post: {
|
|
1546
1556
|
output: {
|
|
1547
1557
|
error: {
|
|
1548
|
-
code:
|
|
1558
|
+
code: "upstream_error";
|
|
1549
1559
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1550
1560
|
message: string;
|
|
1551
1561
|
};
|
|
1552
1562
|
requestId: string;
|
|
1553
1563
|
};
|
|
1554
1564
|
outputFormat: "json";
|
|
1555
|
-
status:
|
|
1565
|
+
status: 502;
|
|
1556
1566
|
input: {
|
|
1557
1567
|
json: {
|
|
1558
1568
|
address: `0x${string}`;
|
|
@@ -1568,14 +1578,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1568
1578
|
} | {
|
|
1569
1579
|
output: {
|
|
1570
1580
|
error: {
|
|
1571
|
-
code: "
|
|
1581
|
+
code: "verified_token_not_found";
|
|
1572
1582
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1573
1583
|
message: string;
|
|
1574
1584
|
};
|
|
1575
1585
|
requestId: string;
|
|
1576
1586
|
};
|
|
1577
1587
|
outputFormat: "json";
|
|
1578
|
-
status:
|
|
1588
|
+
status: 404;
|
|
1579
1589
|
input: {
|
|
1580
1590
|
json: {
|
|
1581
1591
|
address: `0x${string}`;
|
|
@@ -1591,7 +1601,7 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1591
1601
|
} | {
|
|
1592
1602
|
output: {
|
|
1593
1603
|
error: {
|
|
1594
|
-
code: "
|
|
1604
|
+
code: "assets_not_enabled";
|
|
1595
1605
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1596
1606
|
message: string;
|
|
1597
1607
|
};
|
|
@@ -1613,15 +1623,19 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1613
1623
|
};
|
|
1614
1624
|
} | {
|
|
1615
1625
|
output: {
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1626
|
+
data: {
|
|
1627
|
+
address: `0x${string}`;
|
|
1628
|
+
currency: string;
|
|
1629
|
+
decimals: number;
|
|
1630
|
+
logoUri?: string | undefined;
|
|
1631
|
+
name: string;
|
|
1632
|
+
symbol: string;
|
|
1633
|
+
id: string;
|
|
1620
1634
|
};
|
|
1621
|
-
|
|
1635
|
+
version: string;
|
|
1622
1636
|
};
|
|
1623
1637
|
outputFormat: "json";
|
|
1624
|
-
status:
|
|
1638
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1625
1639
|
input: {
|
|
1626
1640
|
json: {
|
|
1627
1641
|
address: `0x${string}`;
|
|
@@ -1636,19 +1650,15 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1636
1650
|
};
|
|
1637
1651
|
} | {
|
|
1638
1652
|
output: {
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
logoUri?: string | undefined;
|
|
1644
|
-
name: string;
|
|
1645
|
-
symbol: string;
|
|
1646
|
-
id: string;
|
|
1653
|
+
error: {
|
|
1654
|
+
code: string;
|
|
1655
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1656
|
+
message: string;
|
|
1647
1657
|
};
|
|
1648
|
-
|
|
1658
|
+
requestId: string;
|
|
1649
1659
|
};
|
|
1650
1660
|
outputFormat: "json";
|
|
1651
|
-
status:
|
|
1661
|
+
status: 400 | 413 | 415;
|
|
1652
1662
|
input: {
|
|
1653
1663
|
json: {
|
|
1654
1664
|
address: `0x${string}`;
|
|
@@ -1737,14 +1747,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1737
1747
|
$put: {
|
|
1738
1748
|
output: {
|
|
1739
1749
|
error: {
|
|
1740
|
-
code:
|
|
1750
|
+
code: "upstream_error";
|
|
1741
1751
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1742
1752
|
message: string;
|
|
1743
1753
|
};
|
|
1744
1754
|
requestId: string;
|
|
1745
1755
|
};
|
|
1746
1756
|
outputFormat: "json";
|
|
1747
|
-
status:
|
|
1757
|
+
status: 502;
|
|
1748
1758
|
input: {
|
|
1749
1759
|
query: {
|
|
1750
1760
|
chainId: string | string[];
|
|
@@ -1764,14 +1774,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1764
1774
|
} | {
|
|
1765
1775
|
output: {
|
|
1766
1776
|
error: {
|
|
1767
|
-
code: "
|
|
1777
|
+
code: "verified_token_not_found";
|
|
1768
1778
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1769
1779
|
message: string;
|
|
1770
1780
|
};
|
|
1771
1781
|
requestId: string;
|
|
1772
1782
|
};
|
|
1773
1783
|
outputFormat: "json";
|
|
1774
|
-
status:
|
|
1784
|
+
status: 404;
|
|
1775
1785
|
input: {
|
|
1776
1786
|
query: {
|
|
1777
1787
|
chainId: string | string[];
|
|
@@ -1791,14 +1801,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1791
1801
|
} | {
|
|
1792
1802
|
output: {
|
|
1793
1803
|
error: {
|
|
1794
|
-
code:
|
|
1804
|
+
code: string;
|
|
1795
1805
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1796
1806
|
message: string;
|
|
1797
1807
|
};
|
|
1798
1808
|
requestId: string;
|
|
1799
1809
|
};
|
|
1800
1810
|
outputFormat: "json";
|
|
1801
|
-
status:
|
|
1811
|
+
status: 400 | 413 | 415;
|
|
1802
1812
|
input: {
|
|
1803
1813
|
query: {
|
|
1804
1814
|
chainId: string | string[];
|
|
@@ -1934,14 +1944,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1934
1944
|
$patch: {
|
|
1935
1945
|
output: {
|
|
1936
1946
|
error: {
|
|
1937
|
-
code:
|
|
1947
|
+
code: "upstream_error";
|
|
1938
1948
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1939
1949
|
message: string;
|
|
1940
1950
|
};
|
|
1941
1951
|
requestId: string;
|
|
1942
1952
|
};
|
|
1943
1953
|
outputFormat: "json";
|
|
1944
|
-
status:
|
|
1954
|
+
status: 502;
|
|
1945
1955
|
input: {
|
|
1946
1956
|
param: {
|
|
1947
1957
|
address: `0x${string}`;
|
|
@@ -1962,14 +1972,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1962
1972
|
} | {
|
|
1963
1973
|
output: {
|
|
1964
1974
|
error: {
|
|
1965
|
-
code: "
|
|
1975
|
+
code: "verified_token_not_found";
|
|
1966
1976
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1967
1977
|
message: string;
|
|
1968
1978
|
};
|
|
1969
1979
|
requestId: string;
|
|
1970
1980
|
};
|
|
1971
1981
|
outputFormat: "json";
|
|
1972
|
-
status:
|
|
1982
|
+
status: 404;
|
|
1973
1983
|
input: {
|
|
1974
1984
|
param: {
|
|
1975
1985
|
address: `0x${string}`;
|
|
@@ -1989,15 +1999,19 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1989
1999
|
};
|
|
1990
2000
|
} | {
|
|
1991
2001
|
output: {
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
2002
|
+
data: {
|
|
2003
|
+
address: `0x${string}`;
|
|
2004
|
+
currency: string;
|
|
2005
|
+
decimals: number;
|
|
2006
|
+
logoUri?: string | undefined;
|
|
2007
|
+
name: string;
|
|
2008
|
+
symbol: string;
|
|
2009
|
+
id: string;
|
|
1996
2010
|
};
|
|
1997
|
-
|
|
2011
|
+
version: string;
|
|
1998
2012
|
};
|
|
1999
2013
|
outputFormat: "json";
|
|
2000
|
-
status:
|
|
2014
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
2001
2015
|
input: {
|
|
2002
2016
|
param: {
|
|
2003
2017
|
address: `0x${string}`;
|
|
@@ -2017,19 +2031,15 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
2017
2031
|
};
|
|
2018
2032
|
} | {
|
|
2019
2033
|
output: {
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
logoUri?: string | undefined;
|
|
2025
|
-
name: string;
|
|
2026
|
-
symbol: string;
|
|
2027
|
-
id: string;
|
|
2034
|
+
error: {
|
|
2035
|
+
code: string;
|
|
2036
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
2037
|
+
message: string;
|
|
2028
2038
|
};
|
|
2029
|
-
|
|
2039
|
+
requestId: string;
|
|
2030
2040
|
};
|
|
2031
2041
|
outputFormat: "json";
|
|
2032
|
-
status:
|
|
2042
|
+
status: 400 | 413 | 415;
|
|
2033
2043
|
input: {
|
|
2034
2044
|
param: {
|
|
2035
2045
|
address: `0x${string}`;
|
|
@@ -2138,14 +2148,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
2138
2148
|
$delete: {
|
|
2139
2149
|
output: {
|
|
2140
2150
|
error: {
|
|
2141
|
-
code:
|
|
2151
|
+
code: "upstream_error";
|
|
2142
2152
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2143
2153
|
message: string;
|
|
2144
2154
|
};
|
|
2145
2155
|
requestId: string;
|
|
2146
2156
|
};
|
|
2147
2157
|
outputFormat: "json";
|
|
2148
|
-
status:
|
|
2158
|
+
status: 502;
|
|
2149
2159
|
input: {
|
|
2150
2160
|
param: {
|
|
2151
2161
|
address: `0x${string}`;
|
|
@@ -2158,14 +2168,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
2158
2168
|
} | {
|
|
2159
2169
|
output: {
|
|
2160
2170
|
error: {
|
|
2161
|
-
code: "
|
|
2171
|
+
code: "verified_token_not_found";
|
|
2162
2172
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2163
2173
|
message: string;
|
|
2164
2174
|
};
|
|
2165
2175
|
requestId: string;
|
|
2166
2176
|
};
|
|
2167
2177
|
outputFormat: "json";
|
|
2168
|
-
status:
|
|
2178
|
+
status: 404;
|
|
2169
2179
|
input: {
|
|
2170
2180
|
param: {
|
|
2171
2181
|
address: `0x${string}`;
|
|
@@ -2178,14 +2188,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
2178
2188
|
} | {
|
|
2179
2189
|
output: {
|
|
2180
2190
|
error: {
|
|
2181
|
-
code:
|
|
2191
|
+
code: string;
|
|
2182
2192
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2183
2193
|
message: string;
|
|
2184
2194
|
};
|
|
2185
2195
|
requestId: string;
|
|
2186
2196
|
};
|
|
2187
2197
|
outputFormat: "json";
|
|
2188
|
-
status:
|
|
2198
|
+
status: 400 | 413 | 415;
|
|
2189
2199
|
input: {
|
|
2190
2200
|
param: {
|
|
2191
2201
|
address: `0x${string}`;
|
|
@@ -2449,14 +2459,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
2449
2459
|
$post: {
|
|
2450
2460
|
output: {
|
|
2451
2461
|
error: {
|
|
2452
|
-
code:
|
|
2462
|
+
code: "upstream_error";
|
|
2453
2463
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2454
2464
|
message: string;
|
|
2455
2465
|
};
|
|
2456
2466
|
requestId: string;
|
|
2457
2467
|
};
|
|
2458
2468
|
outputFormat: "json";
|
|
2459
|
-
status:
|
|
2469
|
+
status: 502;
|
|
2460
2470
|
input: {
|
|
2461
2471
|
param: {
|
|
2462
2472
|
requestId: string;
|
|
@@ -2465,14 +2475,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
2465
2475
|
} | {
|
|
2466
2476
|
output: {
|
|
2467
2477
|
error: {
|
|
2468
|
-
code: "
|
|
2478
|
+
code: "verified_token_not_found";
|
|
2469
2479
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2470
2480
|
message: string;
|
|
2471
2481
|
};
|
|
2472
2482
|
requestId: string;
|
|
2473
2483
|
};
|
|
2474
2484
|
outputFormat: "json";
|
|
2475
|
-
status:
|
|
2485
|
+
status: 404;
|
|
2476
2486
|
input: {
|
|
2477
2487
|
param: {
|
|
2478
2488
|
requestId: string;
|
|
@@ -2481,14 +2491,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
2481
2491
|
} | {
|
|
2482
2492
|
output: {
|
|
2483
2493
|
error: {
|
|
2484
|
-
code: "
|
|
2494
|
+
code: "request_not_pending";
|
|
2485
2495
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2486
2496
|
message: string;
|
|
2487
2497
|
};
|
|
2488
2498
|
requestId: string;
|
|
2489
2499
|
};
|
|
2490
2500
|
outputFormat: "json";
|
|
2491
|
-
status:
|
|
2501
|
+
status: 409;
|
|
2492
2502
|
input: {
|
|
2493
2503
|
param: {
|
|
2494
2504
|
requestId: string;
|
|
@@ -2497,14 +2507,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
2497
2507
|
} | {
|
|
2498
2508
|
output: {
|
|
2499
2509
|
error: {
|
|
2500
|
-
code: "
|
|
2510
|
+
code: "verified_token_request_not_found";
|
|
2501
2511
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2502
2512
|
message: string;
|
|
2503
2513
|
};
|
|
2504
2514
|
requestId: string;
|
|
2505
2515
|
};
|
|
2506
2516
|
outputFormat: "json";
|
|
2507
|
-
status:
|
|
2517
|
+
status: 404;
|
|
2508
2518
|
input: {
|
|
2509
2519
|
param: {
|
|
2510
2520
|
requestId: string;
|
|
@@ -2513,7 +2523,7 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
2513
2523
|
} | {
|
|
2514
2524
|
output: {
|
|
2515
2525
|
error: {
|
|
2516
|
-
code: "
|
|
2526
|
+
code: "assets_not_enabled";
|
|
2517
2527
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2518
2528
|
message: string;
|
|
2519
2529
|
};
|
|
@@ -2529,14 +2539,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
2529
2539
|
} | {
|
|
2530
2540
|
output: {
|
|
2531
2541
|
error: {
|
|
2532
|
-
code:
|
|
2542
|
+
code: string;
|
|
2533
2543
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2534
2544
|
message: string;
|
|
2535
2545
|
};
|
|
2536
2546
|
requestId: string;
|
|
2537
2547
|
};
|
|
2538
2548
|
outputFormat: "json";
|
|
2539
|
-
status:
|
|
2549
|
+
status: 400 | 413 | 415;
|
|
2540
2550
|
input: {
|
|
2541
2551
|
param: {
|
|
2542
2552
|
requestId: string;
|
|
@@ -2628,14 +2638,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
2628
2638
|
$post: {
|
|
2629
2639
|
output: {
|
|
2630
2640
|
error: {
|
|
2631
|
-
code:
|
|
2641
|
+
code: "upstream_error";
|
|
2632
2642
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2633
2643
|
message: string;
|
|
2634
2644
|
};
|
|
2635
2645
|
requestId: string;
|
|
2636
2646
|
};
|
|
2637
2647
|
outputFormat: "json";
|
|
2638
|
-
status:
|
|
2648
|
+
status: 502;
|
|
2639
2649
|
input: {
|
|
2640
2650
|
param: {
|
|
2641
2651
|
requestId: string;
|
|
@@ -2648,14 +2658,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
2648
2658
|
} | {
|
|
2649
2659
|
output: {
|
|
2650
2660
|
error: {
|
|
2651
|
-
code: "
|
|
2661
|
+
code: "verified_token_not_found";
|
|
2652
2662
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2653
2663
|
message: string;
|
|
2654
2664
|
};
|
|
2655
2665
|
requestId: string;
|
|
2656
2666
|
};
|
|
2657
2667
|
outputFormat: "json";
|
|
2658
|
-
status:
|
|
2668
|
+
status: 404;
|
|
2659
2669
|
input: {
|
|
2660
2670
|
param: {
|
|
2661
2671
|
requestId: string;
|
|
@@ -2668,14 +2678,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
2668
2678
|
} | {
|
|
2669
2679
|
output: {
|
|
2670
2680
|
error: {
|
|
2671
|
-
code: "
|
|
2681
|
+
code: "request_not_pending";
|
|
2672
2682
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2673
2683
|
message: string;
|
|
2674
2684
|
};
|
|
2675
2685
|
requestId: string;
|
|
2676
2686
|
};
|
|
2677
2687
|
outputFormat: "json";
|
|
2678
|
-
status:
|
|
2688
|
+
status: 409;
|
|
2679
2689
|
input: {
|
|
2680
2690
|
param: {
|
|
2681
2691
|
requestId: string;
|
|
@@ -2688,14 +2698,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
2688
2698
|
} | {
|
|
2689
2699
|
output: {
|
|
2690
2700
|
error: {
|
|
2691
|
-
code: "
|
|
2701
|
+
code: "verified_token_request_not_found";
|
|
2692
2702
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2693
2703
|
message: string;
|
|
2694
2704
|
};
|
|
2695
2705
|
requestId: string;
|
|
2696
2706
|
};
|
|
2697
2707
|
outputFormat: "json";
|
|
2698
|
-
status:
|
|
2708
|
+
status: 404;
|
|
2699
2709
|
input: {
|
|
2700
2710
|
param: {
|
|
2701
2711
|
requestId: string;
|
|
@@ -2708,14 +2718,14 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
2708
2718
|
} | {
|
|
2709
2719
|
output: {
|
|
2710
2720
|
error: {
|
|
2711
|
-
code:
|
|
2721
|
+
code: string;
|
|
2712
2722
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2713
2723
|
message: string;
|
|
2714
2724
|
};
|
|
2715
2725
|
requestId: string;
|
|
2716
2726
|
};
|
|
2717
2727
|
outputFormat: "json";
|
|
2718
|
-
status:
|
|
2728
|
+
status: 400 | 413 | 415;
|
|
2719
2729
|
input: {
|
|
2720
2730
|
param: {
|
|
2721
2731
|
requestId: string;
|
package/dist/admin/App.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MAAM,GAAG,MAAM,CAAC,MAAM,CAAA;IAE3B,kCAAkC;IAClC,KAAK,OAAO,GAAG;QACb,mEAAmE;QACnE,SAAS,EAAE,SAAS,CAAC,MAAM,CAAA;QAC3B;;;WAGG;QACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;QAC3B;;;;WAIG;QACH,EAAE,EAAE,EAAE,CAAC,MAAM,CAAA;QACb;;;;WAIG;QACH,QAAQ,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,QAAQ,GAAG,IAAI,GAAG,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC,CAAA;QAC1E;;;WAGG;QACH,EAAE,EAAE;YAAE,KAAK,EAAE,KAAK,CAAC,KAAK,CAAA;SAAE,CAAA;QAC1B,sDAAsD;QACtD,GAAG,CAAC,EAAE,IAAI,CAAC,SAAS,CAAC,GAAG,GAAG,SAAS,CAAA;QACpC;;;WAGG;QACH,EAAE,CAAC,EAAE,EAAE,GAAG,KAAK,GAAG,SAAS,CAAA;QAC3B,oFAAoF;QACpF,KAAK,CAAC,EAAE,IAAI,GAAG,SAAS,KAAK,EAAE,GAAG,SAAS,CAAA;KAC5C,CAAA;IAED,mEAAmE;IACnE,KAAK,EAAE,GAAG;QACR,2EAA2E;QAC3E,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;QAC7B,0EAA0E;QAC1E,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;KAC/B,CAAA;CACF"}
|
|
@@ -10,6 +10,7 @@ export declare namespace schema {
|
|
|
10
10
|
* the verified identity so it cannot be spoofed.
|
|
11
11
|
*/
|
|
12
12
|
const Body: z.ZodMiniObject<{
|
|
13
|
+
allowedIps: z.ZodMiniDefault<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniString<string>>>>;
|
|
13
14
|
billingActive: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
14
15
|
environment: z.ZodMiniDefault<z.ZodMiniEnum<{
|
|
15
16
|
production: "production";
|
|
@@ -39,6 +40,7 @@ export declare namespace schema {
|
|
|
39
40
|
}, z.core.$strip>;
|
|
40
41
|
/** Response: the record plus the one-time plaintext token. */
|
|
41
42
|
const Response: z.ZodMiniObject<{
|
|
43
|
+
allowedIps: z.ZodMiniDefault<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniString<string>>>>;
|
|
42
44
|
billingActive: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
43
45
|
environment: z.ZodMiniDefault<z.ZodMiniEnum<{
|
|
44
46
|
production: "production";
|
|
@@ -68,6 +70,7 @@ export declare namespace schema {
|
|
|
68
70
|
/** Response body: a list of key records (metadata only — never tokens). */
|
|
69
71
|
const Response: z.ZodMiniObject<{
|
|
70
72
|
data: z.ZodMiniArray<z.ZodMiniObject<{
|
|
73
|
+
allowedIps: z.ZodMiniDefault<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniString<string>>>>;
|
|
71
74
|
billingActive: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
72
75
|
environment: z.ZodMiniDefault<z.ZodMiniEnum<{
|
|
73
76
|
production: "production";
|
|
@@ -95,6 +98,7 @@ export declare namespace schema {
|
|
|
95
98
|
namespace updateApiKey {
|
|
96
99
|
/** Request body updating a key; omitted fields keep their value. */
|
|
97
100
|
const Body: z.ZodMiniObject<{
|
|
101
|
+
allowedIps: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniString<string>>>>;
|
|
98
102
|
name: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<string, string>>>;
|
|
99
103
|
orgId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
100
104
|
projectId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -131,7 +135,7 @@ export declare namespace schema {
|
|
|
131
135
|
* returning the one-time token.
|
|
132
136
|
* - `GET /` lists key records (metadata only), optionally filtered by `orgId`.
|
|
133
137
|
* - `DELETE /:id` revokes a key by id (`404` if absent).
|
|
134
|
-
* - `PATCH /:id` updates a key's name or project, or assigns its first organization.
|
|
138
|
+
* - `PATCH /:id` updates a key's allowlist, name, or project, or assigns its first organization.
|
|
135
139
|
* - `POST /backfill` rebuilds the id and org index entries for every record.
|
|
136
140
|
*/
|
|
137
141
|
export declare function apiKeys(): import("hono/hono-base").HonoBase<App.Environment, {
|
|
@@ -161,6 +165,7 @@ export declare function apiKeys(): import("hono/hono-base").HonoBase<App.Environ
|
|
|
161
165
|
status: 502;
|
|
162
166
|
input: {
|
|
163
167
|
json: {
|
|
168
|
+
allowedIps?: readonly string[] | undefined;
|
|
164
169
|
billingActive?: boolean | undefined;
|
|
165
170
|
environment?: "production" | "sandbox" | undefined;
|
|
166
171
|
projectId?: string | undefined;
|
|
@@ -186,6 +191,7 @@ export declare function apiKeys(): import("hono/hono-base").HonoBase<App.Environ
|
|
|
186
191
|
status: 404;
|
|
187
192
|
input: {
|
|
188
193
|
json: {
|
|
194
|
+
allowedIps?: readonly string[] | undefined;
|
|
189
195
|
billingActive?: boolean | undefined;
|
|
190
196
|
environment?: "production" | "sandbox" | undefined;
|
|
191
197
|
projectId?: string | undefined;
|
|
@@ -200,6 +206,7 @@ export declare function apiKeys(): import("hono/hono-base").HonoBase<App.Environ
|
|
|
200
206
|
};
|
|
201
207
|
} | {
|
|
202
208
|
output: {
|
|
209
|
+
allowedIps: readonly string[];
|
|
203
210
|
billingActive?: boolean | undefined;
|
|
204
211
|
environment: "production" | "sandbox";
|
|
205
212
|
id: string;
|
|
@@ -222,6 +229,7 @@ export declare function apiKeys(): import("hono/hono-base").HonoBase<App.Environ
|
|
|
222
229
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
223
230
|
input: {
|
|
224
231
|
json: {
|
|
232
|
+
allowedIps?: readonly string[] | undefined;
|
|
225
233
|
billingActive?: boolean | undefined;
|
|
226
234
|
environment?: "production" | "sandbox" | undefined;
|
|
227
235
|
projectId?: string | undefined;
|
|
@@ -241,6 +249,7 @@ export declare function apiKeys(): import("hono/hono-base").HonoBase<App.Environ
|
|
|
241
249
|
$get: {
|
|
242
250
|
output: {
|
|
243
251
|
data: {
|
|
252
|
+
allowedIps: readonly string[];
|
|
244
253
|
billingActive?: boolean | undefined;
|
|
245
254
|
environment: "production" | "sandbox";
|
|
246
255
|
id: string;
|
|
@@ -321,6 +330,7 @@ export declare function apiKeys(): import("hono/hono-base").HonoBase<App.Environ
|
|
|
321
330
|
};
|
|
322
331
|
} & {
|
|
323
332
|
json: {
|
|
333
|
+
allowedIps?: readonly string[] | undefined;
|
|
324
334
|
name?: string | undefined;
|
|
325
335
|
orgId?: string | undefined;
|
|
326
336
|
projectId?: string | undefined;
|
|
@@ -343,6 +353,7 @@ export declare function apiKeys(): import("hono/hono-base").HonoBase<App.Environ
|
|
|
343
353
|
};
|
|
344
354
|
} & {
|
|
345
355
|
json: {
|
|
356
|
+
allowedIps?: readonly string[] | undefined;
|
|
346
357
|
name?: string | undefined;
|
|
347
358
|
orgId?: string | undefined;
|
|
348
359
|
projectId?: string | undefined;
|
|
@@ -350,6 +361,7 @@ export declare function apiKeys(): import("hono/hono-base").HonoBase<App.Environ
|
|
|
350
361
|
};
|
|
351
362
|
} | {
|
|
352
363
|
output: {
|
|
364
|
+
allowedIps: readonly string[];
|
|
353
365
|
billingActive?: boolean | undefined;
|
|
354
366
|
environment: "production" | "sandbox";
|
|
355
367
|
id: string;
|
|
@@ -375,6 +387,7 @@ export declare function apiKeys(): import("hono/hono-base").HonoBase<App.Environ
|
|
|
375
387
|
};
|
|
376
388
|
} & {
|
|
377
389
|
json: {
|
|
390
|
+
allowedIps?: readonly string[] | undefined;
|
|
378
391
|
name?: string | undefined;
|
|
379
392
|
orgId?: string | undefined;
|
|
380
393
|
projectId?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-keys.d.ts","sourceRoot":"","sources":["../../../src/admin/apps/api-keys.ts"],"names":[],"m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