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
package/dist/admin/App.d.ts
CHANGED
|
@@ -196,6 +196,12 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
196
196
|
description: string | null;
|
|
197
197
|
id: `0x${string}`;
|
|
198
198
|
instantLiquidity: string | null;
|
|
199
|
+
instantLiquidityValue?: {
|
|
200
|
+
amount: string;
|
|
201
|
+
currency: string;
|
|
202
|
+
decimals: number;
|
|
203
|
+
formatted: string;
|
|
204
|
+
} | null | undefined;
|
|
199
205
|
label: string;
|
|
200
206
|
sharePrice: {
|
|
201
207
|
amount: string;
|
|
@@ -358,6 +364,12 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
358
364
|
};
|
|
359
365
|
id: `0x${string}`;
|
|
360
366
|
instantLiquidity: string | null;
|
|
367
|
+
instantLiquidityValue?: {
|
|
368
|
+
amount: string;
|
|
369
|
+
currency: string;
|
|
370
|
+
decimals: number;
|
|
371
|
+
formatted: string;
|
|
372
|
+
} | null | undefined;
|
|
361
373
|
label: string;
|
|
362
374
|
sharePrice: {
|
|
363
375
|
amount: string;
|
|
@@ -566,6 +578,12 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
566
578
|
description: string | null;
|
|
567
579
|
id: `0x${string}`;
|
|
568
580
|
instantLiquidity: string | null;
|
|
581
|
+
instantLiquidityValue?: {
|
|
582
|
+
amount: string;
|
|
583
|
+
currency: string;
|
|
584
|
+
decimals: number;
|
|
585
|
+
formatted: string;
|
|
586
|
+
} | null | undefined;
|
|
569
587
|
label: string;
|
|
570
588
|
sharePrice: {
|
|
571
589
|
amount: string;
|
|
@@ -993,51 +1011,30 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
993
1011
|
}, "/api-keys"> | import("hono/types").MergeSchemaPath<{
|
|
994
1012
|
"/": {
|
|
995
1013
|
$get: {
|
|
996
|
-
output: {
|
|
997
|
-
error: {
|
|
998
|
-
code: "upstream_error";
|
|
999
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
1000
|
-
message: string;
|
|
1001
|
-
};
|
|
1002
|
-
requestId: string;
|
|
1003
|
-
};
|
|
1004
|
-
outputFormat: "json";
|
|
1005
|
-
status: 502;
|
|
1006
|
-
input: {
|
|
1007
|
-
query?: {
|
|
1008
|
-
cursor?: string | string[];
|
|
1009
|
-
limit?: string | string[];
|
|
1010
|
-
query?: string | string[];
|
|
1011
|
-
} | undefined;
|
|
1012
|
-
};
|
|
1013
|
-
} | {
|
|
1014
1014
|
output: {
|
|
1015
1015
|
data: {
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1016
|
+
address: `0x${string}`;
|
|
1017
|
+
currency: string;
|
|
1018
|
+
decimals: number;
|
|
1019
|
+
logoUri?: string | undefined;
|
|
1019
1020
|
name: string;
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
memberCount: number;
|
|
1023
|
-
projectCount: number;
|
|
1021
|
+
symbol: string;
|
|
1022
|
+
id: string;
|
|
1024
1023
|
}[];
|
|
1025
|
-
|
|
1024
|
+
version: string | null;
|
|
1026
1025
|
};
|
|
1027
1026
|
outputFormat: "json";
|
|
1028
|
-
status:
|
|
1027
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1029
1028
|
input: {
|
|
1030
|
-
query
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
query?: string | string[];
|
|
1034
|
-
} | undefined;
|
|
1029
|
+
query: {
|
|
1030
|
+
chainId: string | string[];
|
|
1031
|
+
};
|
|
1035
1032
|
};
|
|
1036
1033
|
};
|
|
1037
1034
|
};
|
|
1038
1035
|
} & {
|
|
1039
|
-
"
|
|
1040
|
-
$
|
|
1036
|
+
"/": {
|
|
1037
|
+
$post: {
|
|
1041
1038
|
output: {
|
|
1042
1039
|
error: {
|
|
1043
1040
|
code: "upstream_error";
|
|
@@ -1049,14 +1046,21 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1049
1046
|
outputFormat: "json";
|
|
1050
1047
|
status: 502;
|
|
1051
1048
|
input: {
|
|
1052
|
-
|
|
1053
|
-
|
|
1049
|
+
json: {
|
|
1050
|
+
address: `0x${string}`;
|
|
1051
|
+
currency: string;
|
|
1052
|
+
decimals: number;
|
|
1053
|
+
logoUri?: string | undefined;
|
|
1054
|
+
name: string;
|
|
1055
|
+
symbol: string;
|
|
1056
|
+
chainId: unknown;
|
|
1057
|
+
logo?: string | undefined;
|
|
1054
1058
|
};
|
|
1055
1059
|
};
|
|
1056
1060
|
} | {
|
|
1057
1061
|
output: {
|
|
1058
1062
|
error: {
|
|
1059
|
-
code: "
|
|
1063
|
+
code: "verified_token_not_found";
|
|
1060
1064
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1061
1065
|
message: string;
|
|
1062
1066
|
};
|
|
@@ -1065,164 +1069,164 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1065
1069
|
outputFormat: "json";
|
|
1066
1070
|
status: 404;
|
|
1067
1071
|
input: {
|
|
1068
|
-
|
|
1069
|
-
|
|
1072
|
+
json: {
|
|
1073
|
+
address: `0x${string}`;
|
|
1074
|
+
currency: string;
|
|
1075
|
+
decimals: number;
|
|
1076
|
+
logoUri?: string | undefined;
|
|
1077
|
+
name: string;
|
|
1078
|
+
symbol: string;
|
|
1079
|
+
chainId: unknown;
|
|
1080
|
+
logo?: string | undefined;
|
|
1070
1081
|
};
|
|
1071
1082
|
};
|
|
1072
1083
|
} | {
|
|
1073
1084
|
output: {
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
updatedAt: string;
|
|
1079
|
-
userId: string | null;
|
|
1080
|
-
memberCount: number;
|
|
1081
|
-
projectCount: number;
|
|
1082
|
-
billing: {
|
|
1083
|
-
enabledSources: ("stripe" | "tempo")[];
|
|
1084
|
-
production: {
|
|
1085
|
-
settings: {
|
|
1086
|
-
currency: "usd";
|
|
1087
|
-
period: "month";
|
|
1088
|
-
spendLimit: string | null;
|
|
1089
|
-
txFeeLimit: string | null;
|
|
1090
|
-
updatedAt: string;
|
|
1091
|
-
} | null;
|
|
1092
|
-
source: {
|
|
1093
|
-
status: "active" | "canceled" | "none" | "past_due";
|
|
1094
|
-
stripeCustomerId: string;
|
|
1095
|
-
updatedAt: string;
|
|
1096
|
-
} | null;
|
|
1097
|
-
};
|
|
1098
|
-
sandbox: {
|
|
1099
|
-
settings: {
|
|
1100
|
-
currency: "usd";
|
|
1101
|
-
period: "month";
|
|
1102
|
-
spendLimit: string | null;
|
|
1103
|
-
txFeeLimit: string | null;
|
|
1104
|
-
updatedAt: string;
|
|
1105
|
-
} | null;
|
|
1106
|
-
source: {
|
|
1107
|
-
status: "active" | "canceled" | "none" | "past_due";
|
|
1108
|
-
stripeCustomerId: string;
|
|
1109
|
-
updatedAt: string;
|
|
1110
|
-
} | null;
|
|
1111
|
-
};
|
|
1085
|
+
error: {
|
|
1086
|
+
code: "assets_not_enabled";
|
|
1087
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1088
|
+
message: string;
|
|
1112
1089
|
};
|
|
1090
|
+
requestId: string;
|
|
1113
1091
|
};
|
|
1114
1092
|
outputFormat: "json";
|
|
1115
|
-
status:
|
|
1093
|
+
status: 404;
|
|
1116
1094
|
input: {
|
|
1117
|
-
|
|
1118
|
-
|
|
1095
|
+
json: {
|
|
1096
|
+
address: `0x${string}`;
|
|
1097
|
+
currency: string;
|
|
1098
|
+
decimals: number;
|
|
1099
|
+
logoUri?: string | undefined;
|
|
1100
|
+
name: string;
|
|
1101
|
+
symbol: string;
|
|
1102
|
+
chainId: unknown;
|
|
1103
|
+
logo?: string | undefined;
|
|
1119
1104
|
};
|
|
1120
1105
|
};
|
|
1121
|
-
}
|
|
1122
|
-
};
|
|
1123
|
-
} & {
|
|
1124
|
-
"/:orgId/billing-sources/:source": {
|
|
1125
|
-
$put: {
|
|
1106
|
+
} | {
|
|
1126
1107
|
output: {
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1108
|
+
data: {
|
|
1109
|
+
address: `0x${string}`;
|
|
1110
|
+
currency: string;
|
|
1111
|
+
decimals: number;
|
|
1112
|
+
logoUri?: string | undefined;
|
|
1113
|
+
name: string;
|
|
1114
|
+
symbol: string;
|
|
1115
|
+
id: string;
|
|
1131
1116
|
};
|
|
1132
|
-
|
|
1117
|
+
version: string;
|
|
1133
1118
|
};
|
|
1134
1119
|
outputFormat: "json";
|
|
1135
|
-
status:
|
|
1120
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1136
1121
|
input: {
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1122
|
+
json: {
|
|
1123
|
+
address: `0x${string}`;
|
|
1124
|
+
currency: string;
|
|
1125
|
+
decimals: number;
|
|
1126
|
+
logoUri?: string | undefined;
|
|
1127
|
+
name: string;
|
|
1128
|
+
symbol: string;
|
|
1129
|
+
chainId: unknown;
|
|
1130
|
+
logo?: string | undefined;
|
|
1140
1131
|
};
|
|
1141
1132
|
};
|
|
1142
1133
|
} | {
|
|
1143
1134
|
output: {
|
|
1144
1135
|
error: {
|
|
1145
|
-
code:
|
|
1136
|
+
code: string;
|
|
1146
1137
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1147
1138
|
message: string;
|
|
1148
1139
|
};
|
|
1149
1140
|
requestId: string;
|
|
1150
1141
|
};
|
|
1151
1142
|
outputFormat: "json";
|
|
1152
|
-
status:
|
|
1143
|
+
status: 400 | 413 | 415;
|
|
1153
1144
|
input: {
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1145
|
+
json: {
|
|
1146
|
+
address: `0x${string}`;
|
|
1147
|
+
currency: string;
|
|
1148
|
+
decimals: number;
|
|
1149
|
+
logoUri?: string | undefined;
|
|
1150
|
+
name: string;
|
|
1151
|
+
symbol: string;
|
|
1152
|
+
chainId: unknown;
|
|
1153
|
+
logo?: string | undefined;
|
|
1157
1154
|
};
|
|
1158
1155
|
};
|
|
1159
1156
|
} | {
|
|
1160
1157
|
output: {
|
|
1161
|
-
|
|
1158
|
+
error: {
|
|
1159
|
+
code: "duplicate_address";
|
|
1160
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1161
|
+
message: string;
|
|
1162
|
+
};
|
|
1163
|
+
requestId: string;
|
|
1162
1164
|
};
|
|
1163
1165
|
outputFormat: "json";
|
|
1164
|
-
status:
|
|
1166
|
+
status: 409;
|
|
1165
1167
|
input: {
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1168
|
+
json: {
|
|
1169
|
+
address: `0x${string}`;
|
|
1170
|
+
currency: string;
|
|
1171
|
+
decimals: number;
|
|
1172
|
+
logoUri?: string | undefined;
|
|
1173
|
+
name: string;
|
|
1174
|
+
symbol: string;
|
|
1175
|
+
chainId: unknown;
|
|
1176
|
+
logo?: string | undefined;
|
|
1169
1177
|
};
|
|
1170
1178
|
};
|
|
1171
|
-
}
|
|
1172
|
-
};
|
|
1173
|
-
} & {
|
|
1174
|
-
"/:orgId/billing-sources/:source": {
|
|
1175
|
-
$delete: {
|
|
1179
|
+
} | {
|
|
1176
1180
|
output: {
|
|
1177
1181
|
error: {
|
|
1178
|
-
code: "
|
|
1182
|
+
code: "duplicate_symbol";
|
|
1179
1183
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1180
1184
|
message: string;
|
|
1181
1185
|
};
|
|
1182
1186
|
requestId: string;
|
|
1183
1187
|
};
|
|
1184
1188
|
outputFormat: "json";
|
|
1185
|
-
status:
|
|
1189
|
+
status: 409;
|
|
1186
1190
|
input: {
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1191
|
+
json: {
|
|
1192
|
+
address: `0x${string}`;
|
|
1193
|
+
currency: string;
|
|
1194
|
+
decimals: number;
|
|
1195
|
+
logoUri?: string | undefined;
|
|
1196
|
+
name: string;
|
|
1197
|
+
symbol: string;
|
|
1198
|
+
chainId: unknown;
|
|
1199
|
+
logo?: string | undefined;
|
|
1190
1200
|
};
|
|
1191
1201
|
};
|
|
1192
1202
|
} | {
|
|
1193
1203
|
output: {
|
|
1194
1204
|
error: {
|
|
1195
|
-
code: "
|
|
1205
|
+
code: "version_mismatch";
|
|
1196
1206
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1197
1207
|
message: string;
|
|
1198
1208
|
};
|
|
1199
1209
|
requestId: string;
|
|
1200
1210
|
};
|
|
1201
1211
|
outputFormat: "json";
|
|
1202
|
-
status:
|
|
1212
|
+
status: 412;
|
|
1203
1213
|
input: {
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
outputFormat: "json";
|
|
1214
|
-
status: 200;
|
|
1215
|
-
input: {
|
|
1216
|
-
param: {
|
|
1217
|
-
orgId: string;
|
|
1218
|
-
source: "stripe" | "tempo";
|
|
1214
|
+
json: {
|
|
1215
|
+
address: `0x${string}`;
|
|
1216
|
+
currency: string;
|
|
1217
|
+
decimals: number;
|
|
1218
|
+
logoUri?: string | undefined;
|
|
1219
|
+
name: string;
|
|
1220
|
+
symbol: string;
|
|
1221
|
+
chainId: unknown;
|
|
1222
|
+
logo?: string | undefined;
|
|
1219
1223
|
};
|
|
1220
1224
|
};
|
|
1221
1225
|
};
|
|
1222
1226
|
};
|
|
1223
1227
|
} & {
|
|
1224
|
-
"
|
|
1225
|
-
$
|
|
1228
|
+
"/": {
|
|
1229
|
+
$put: {
|
|
1226
1230
|
output: {
|
|
1227
1231
|
error: {
|
|
1228
1232
|
code: "upstream_error";
|
|
@@ -1234,19 +1238,25 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1234
1238
|
outputFormat: "json";
|
|
1235
1239
|
status: 502;
|
|
1236
1240
|
input: {
|
|
1237
|
-
|
|
1238
|
-
|
|
1241
|
+
query: {
|
|
1242
|
+
chainId: string | string[];
|
|
1239
1243
|
};
|
|
1240
1244
|
} & {
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
+
json: {
|
|
1246
|
+
tokens: {
|
|
1247
|
+
address: `0x${string}`;
|
|
1248
|
+
currency: string;
|
|
1249
|
+
decimals: number;
|
|
1250
|
+
logoUri?: string | undefined;
|
|
1251
|
+
name: string;
|
|
1252
|
+
symbol: string;
|
|
1253
|
+
}[];
|
|
1254
|
+
};
|
|
1245
1255
|
};
|
|
1246
1256
|
} | {
|
|
1247
1257
|
output: {
|
|
1248
1258
|
error: {
|
|
1249
|
-
code: "
|
|
1259
|
+
code: "verified_token_not_found";
|
|
1250
1260
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1251
1261
|
message: string;
|
|
1252
1262
|
};
|
|
@@ -1255,112 +1265,165 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1255
1265
|
outputFormat: "json";
|
|
1256
1266
|
status: 404;
|
|
1257
1267
|
input: {
|
|
1258
|
-
|
|
1259
|
-
|
|
1268
|
+
query: {
|
|
1269
|
+
chainId: string | string[];
|
|
1260
1270
|
};
|
|
1261
1271
|
} & {
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1272
|
+
json: {
|
|
1273
|
+
tokens: {
|
|
1274
|
+
address: `0x${string}`;
|
|
1275
|
+
currency: string;
|
|
1276
|
+
decimals: number;
|
|
1277
|
+
logoUri?: string | undefined;
|
|
1278
|
+
name: string;
|
|
1279
|
+
symbol: string;
|
|
1280
|
+
}[];
|
|
1281
|
+
};
|
|
1266
1282
|
};
|
|
1267
1283
|
} | {
|
|
1268
1284
|
output: {
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
userId: string;
|
|
1276
|
-
}[];
|
|
1277
|
-
nextCursor: string | null;
|
|
1285
|
+
error: {
|
|
1286
|
+
code: string;
|
|
1287
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1288
|
+
message: string;
|
|
1289
|
+
};
|
|
1290
|
+
requestId: string;
|
|
1278
1291
|
};
|
|
1279
1292
|
outputFormat: "json";
|
|
1280
|
-
status:
|
|
1293
|
+
status: 400 | 413 | 415;
|
|
1281
1294
|
input: {
|
|
1282
|
-
|
|
1283
|
-
|
|
1295
|
+
query: {
|
|
1296
|
+
chainId: string | string[];
|
|
1284
1297
|
};
|
|
1285
1298
|
} & {
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1299
|
+
json: {
|
|
1300
|
+
tokens: {
|
|
1301
|
+
address: `0x${string}`;
|
|
1302
|
+
currency: string;
|
|
1303
|
+
decimals: number;
|
|
1304
|
+
logoUri?: string | undefined;
|
|
1305
|
+
name: string;
|
|
1306
|
+
symbol: string;
|
|
1307
|
+
}[];
|
|
1308
|
+
};
|
|
1290
1309
|
};
|
|
1291
|
-
}
|
|
1292
|
-
};
|
|
1293
|
-
} & {
|
|
1294
|
-
"/:orgId/projects": {
|
|
1295
|
-
$get: {
|
|
1310
|
+
} | {
|
|
1296
1311
|
output: {
|
|
1297
1312
|
error: {
|
|
1298
|
-
code: "
|
|
1313
|
+
code: "duplicate_address";
|
|
1299
1314
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1300
1315
|
message: string;
|
|
1301
1316
|
};
|
|
1302
1317
|
requestId: string;
|
|
1303
1318
|
};
|
|
1304
1319
|
outputFormat: "json";
|
|
1305
|
-
status:
|
|
1320
|
+
status: 409;
|
|
1306
1321
|
input: {
|
|
1307
|
-
|
|
1308
|
-
|
|
1322
|
+
query: {
|
|
1323
|
+
chainId: string | string[];
|
|
1309
1324
|
};
|
|
1310
1325
|
} & {
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1326
|
+
json: {
|
|
1327
|
+
tokens: {
|
|
1328
|
+
address: `0x${string}`;
|
|
1329
|
+
currency: string;
|
|
1330
|
+
decimals: number;
|
|
1331
|
+
logoUri?: string | undefined;
|
|
1332
|
+
name: string;
|
|
1333
|
+
symbol: string;
|
|
1334
|
+
}[];
|
|
1335
|
+
};
|
|
1315
1336
|
};
|
|
1316
1337
|
} | {
|
|
1317
1338
|
output: {
|
|
1318
1339
|
error: {
|
|
1319
|
-
code: "
|
|
1340
|
+
code: "duplicate_symbol";
|
|
1320
1341
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1321
1342
|
message: string;
|
|
1322
1343
|
};
|
|
1323
1344
|
requestId: string;
|
|
1324
1345
|
};
|
|
1325
1346
|
outputFormat: "json";
|
|
1326
|
-
status:
|
|
1347
|
+
status: 409;
|
|
1327
1348
|
input: {
|
|
1328
|
-
|
|
1329
|
-
|
|
1349
|
+
query: {
|
|
1350
|
+
chainId: string | string[];
|
|
1330
1351
|
};
|
|
1331
1352
|
} & {
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1353
|
+
json: {
|
|
1354
|
+
tokens: {
|
|
1355
|
+
address: `0x${string}`;
|
|
1356
|
+
currency: string;
|
|
1357
|
+
decimals: number;
|
|
1358
|
+
logoUri?: string | undefined;
|
|
1359
|
+
name: string;
|
|
1360
|
+
symbol: string;
|
|
1361
|
+
}[];
|
|
1362
|
+
};
|
|
1363
|
+
};
|
|
1364
|
+
} | {
|
|
1365
|
+
output: {
|
|
1366
|
+
error: {
|
|
1367
|
+
code: "version_mismatch";
|
|
1368
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1369
|
+
message: string;
|
|
1370
|
+
};
|
|
1371
|
+
requestId: string;
|
|
1372
|
+
};
|
|
1373
|
+
outputFormat: "json";
|
|
1374
|
+
status: 412;
|
|
1375
|
+
input: {
|
|
1376
|
+
query: {
|
|
1377
|
+
chainId: string | string[];
|
|
1378
|
+
};
|
|
1379
|
+
} & {
|
|
1380
|
+
json: {
|
|
1381
|
+
tokens: {
|
|
1382
|
+
address: `0x${string}`;
|
|
1383
|
+
currency: string;
|
|
1384
|
+
decimals: number;
|
|
1385
|
+
logoUri?: string | undefined;
|
|
1386
|
+
name: string;
|
|
1387
|
+
symbol: string;
|
|
1388
|
+
}[];
|
|
1389
|
+
};
|
|
1336
1390
|
};
|
|
1337
1391
|
} | {
|
|
1338
1392
|
output: {
|
|
1339
1393
|
data: {
|
|
1340
|
-
|
|
1341
|
-
|
|
1394
|
+
address: `0x${string}`;
|
|
1395
|
+
currency: string;
|
|
1396
|
+
decimals: number;
|
|
1397
|
+
logoUri?: string | undefined;
|
|
1342
1398
|
name: string;
|
|
1343
|
-
|
|
1399
|
+
symbol: string;
|
|
1400
|
+
id: string;
|
|
1344
1401
|
}[];
|
|
1345
|
-
|
|
1402
|
+
version: string;
|
|
1346
1403
|
};
|
|
1347
1404
|
outputFormat: "json";
|
|
1348
|
-
status:
|
|
1405
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1349
1406
|
input: {
|
|
1350
|
-
|
|
1351
|
-
|
|
1407
|
+
query: {
|
|
1408
|
+
chainId: string | string[];
|
|
1352
1409
|
};
|
|
1353
1410
|
} & {
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1411
|
+
json: {
|
|
1412
|
+
tokens: {
|
|
1413
|
+
address: `0x${string}`;
|
|
1414
|
+
currency: string;
|
|
1415
|
+
decimals: number;
|
|
1416
|
+
logoUri?: string | undefined;
|
|
1417
|
+
name: string;
|
|
1418
|
+
symbol: string;
|
|
1419
|
+
}[];
|
|
1420
|
+
};
|
|
1358
1421
|
};
|
|
1359
1422
|
};
|
|
1360
1423
|
};
|
|
1361
1424
|
} & {
|
|
1362
|
-
"/:
|
|
1363
|
-
$
|
|
1425
|
+
"/:address": {
|
|
1426
|
+
$patch: {
|
|
1364
1427
|
output: {
|
|
1365
1428
|
error: {
|
|
1366
1429
|
code: "upstream_error";
|
|
@@ -1373,13 +1436,25 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1373
1436
|
status: 502;
|
|
1374
1437
|
input: {
|
|
1375
1438
|
param: {
|
|
1376
|
-
|
|
1439
|
+
address: `0x${string}`;
|
|
1440
|
+
};
|
|
1441
|
+
} & {
|
|
1442
|
+
query: {
|
|
1443
|
+
chainId: string | string[];
|
|
1444
|
+
};
|
|
1445
|
+
} & {
|
|
1446
|
+
json: {
|
|
1447
|
+
currency?: string | undefined;
|
|
1448
|
+
decimals?: number | undefined;
|
|
1449
|
+
logoUri?: string | undefined;
|
|
1450
|
+
name?: string | undefined;
|
|
1451
|
+
symbol?: string | undefined;
|
|
1377
1452
|
};
|
|
1378
1453
|
};
|
|
1379
1454
|
} | {
|
|
1380
1455
|
output: {
|
|
1381
1456
|
error: {
|
|
1382
|
-
code: "
|
|
1457
|
+
code: "verified_token_not_found";
|
|
1383
1458
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1384
1459
|
message: string;
|
|
1385
1460
|
};
|
|
@@ -1389,124 +1464,170 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1389
1464
|
status: 404;
|
|
1390
1465
|
input: {
|
|
1391
1466
|
param: {
|
|
1392
|
-
|
|
1467
|
+
address: `0x${string}`;
|
|
1468
|
+
};
|
|
1469
|
+
} & {
|
|
1470
|
+
query: {
|
|
1471
|
+
chainId: string | string[];
|
|
1472
|
+
};
|
|
1473
|
+
} & {
|
|
1474
|
+
json: {
|
|
1475
|
+
currency?: string | undefined;
|
|
1476
|
+
decimals?: number | undefined;
|
|
1477
|
+
logoUri?: string | undefined;
|
|
1478
|
+
name?: string | undefined;
|
|
1479
|
+
symbol?: string | undefined;
|
|
1393
1480
|
};
|
|
1394
1481
|
};
|
|
1395
1482
|
} | {
|
|
1396
1483
|
output: {
|
|
1397
1484
|
data: {
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1485
|
+
address: `0x${string}`;
|
|
1486
|
+
currency: string;
|
|
1487
|
+
decimals: number;
|
|
1488
|
+
logoUri?: string | undefined;
|
|
1489
|
+
name: string;
|
|
1490
|
+
symbol: string;
|
|
1401
1491
|
id: string;
|
|
1492
|
+
};
|
|
1493
|
+
version: string;
|
|
1494
|
+
};
|
|
1495
|
+
outputFormat: "json";
|
|
1496
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1497
|
+
input: {
|
|
1498
|
+
param: {
|
|
1499
|
+
address: `0x${string}`;
|
|
1500
|
+
};
|
|
1501
|
+
} & {
|
|
1502
|
+
query: {
|
|
1503
|
+
chainId: string | string[];
|
|
1504
|
+
};
|
|
1505
|
+
} & {
|
|
1506
|
+
json: {
|
|
1507
|
+
currency?: string | undefined;
|
|
1508
|
+
decimals?: number | undefined;
|
|
1509
|
+
logoUri?: string | undefined;
|
|
1402
1510
|
name?: string | undefined;
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
expiresAt?: string | undefined;
|
|
1415
|
-
tokenLast4: string;
|
|
1416
|
-
}[];
|
|
1511
|
+
symbol?: string | undefined;
|
|
1512
|
+
};
|
|
1513
|
+
};
|
|
1514
|
+
} | {
|
|
1515
|
+
output: {
|
|
1516
|
+
error: {
|
|
1517
|
+
code: string;
|
|
1518
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1519
|
+
message: string;
|
|
1520
|
+
};
|
|
1521
|
+
requestId: string;
|
|
1417
1522
|
};
|
|
1418
1523
|
outputFormat: "json";
|
|
1419
|
-
status:
|
|
1524
|
+
status: 400 | 413 | 415;
|
|
1420
1525
|
input: {
|
|
1421
1526
|
param: {
|
|
1422
|
-
|
|
1527
|
+
address: `0x${string}`;
|
|
1528
|
+
};
|
|
1529
|
+
} & {
|
|
1530
|
+
query: {
|
|
1531
|
+
chainId: string | string[];
|
|
1532
|
+
};
|
|
1533
|
+
} & {
|
|
1534
|
+
json: {
|
|
1535
|
+
currency?: string | undefined;
|
|
1536
|
+
decimals?: number | undefined;
|
|
1537
|
+
logoUri?: string | undefined;
|
|
1538
|
+
name?: string | undefined;
|
|
1539
|
+
symbol?: string | undefined;
|
|
1423
1540
|
};
|
|
1424
1541
|
};
|
|
1425
|
-
}
|
|
1426
|
-
};
|
|
1427
|
-
} & {
|
|
1428
|
-
"/:orgId/usage": {
|
|
1429
|
-
$get: {
|
|
1542
|
+
} | {
|
|
1430
1543
|
output: {
|
|
1431
1544
|
error: {
|
|
1432
|
-
code: "
|
|
1545
|
+
code: "duplicate_address";
|
|
1433
1546
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1434
1547
|
message: string;
|
|
1435
1548
|
};
|
|
1436
1549
|
requestId: string;
|
|
1437
1550
|
};
|
|
1438
1551
|
outputFormat: "json";
|
|
1439
|
-
status:
|
|
1552
|
+
status: 409;
|
|
1440
1553
|
input: {
|
|
1441
1554
|
param: {
|
|
1442
|
-
|
|
1555
|
+
address: `0x${string}`;
|
|
1443
1556
|
};
|
|
1444
1557
|
} & {
|
|
1445
|
-
query
|
|
1446
|
-
|
|
1447
|
-
}
|
|
1558
|
+
query: {
|
|
1559
|
+
chainId: string | string[];
|
|
1560
|
+
};
|
|
1561
|
+
} & {
|
|
1562
|
+
json: {
|
|
1563
|
+
currency?: string | undefined;
|
|
1564
|
+
decimals?: number | undefined;
|
|
1565
|
+
logoUri?: string | undefined;
|
|
1566
|
+
name?: string | undefined;
|
|
1567
|
+
symbol?: string | undefined;
|
|
1568
|
+
};
|
|
1448
1569
|
};
|
|
1449
1570
|
} | {
|
|
1450
1571
|
output: {
|
|
1451
1572
|
error: {
|
|
1452
|
-
code: "
|
|
1573
|
+
code: "duplicate_symbol";
|
|
1453
1574
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1454
1575
|
message: string;
|
|
1455
1576
|
};
|
|
1456
1577
|
requestId: string;
|
|
1457
1578
|
};
|
|
1458
1579
|
outputFormat: "json";
|
|
1459
|
-
status:
|
|
1580
|
+
status: 409;
|
|
1460
1581
|
input: {
|
|
1461
1582
|
param: {
|
|
1462
|
-
|
|
1583
|
+
address: `0x${string}`;
|
|
1463
1584
|
};
|
|
1464
1585
|
} & {
|
|
1465
|
-
query
|
|
1466
|
-
|
|
1467
|
-
}
|
|
1586
|
+
query: {
|
|
1587
|
+
chainId: string | string[];
|
|
1588
|
+
};
|
|
1589
|
+
} & {
|
|
1590
|
+
json: {
|
|
1591
|
+
currency?: string | undefined;
|
|
1592
|
+
decimals?: number | undefined;
|
|
1593
|
+
logoUri?: string | undefined;
|
|
1594
|
+
name?: string | undefined;
|
|
1595
|
+
symbol?: string | undefined;
|
|
1596
|
+
};
|
|
1468
1597
|
};
|
|
1469
1598
|
} | {
|
|
1470
1599
|
output: {
|
|
1471
|
-
|
|
1472
|
-
code:
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
byRoute: {
|
|
1476
|
-
errors: number;
|
|
1477
|
-
requests: number;
|
|
1478
|
-
averageDurationMs: number;
|
|
1479
|
-
route: string;
|
|
1480
|
-
}[];
|
|
1481
|
-
byStatus: {
|
|
1482
|
-
requests: number;
|
|
1483
|
-
status: number;
|
|
1484
|
-
}[];
|
|
1485
|
-
from: string;
|
|
1486
|
-
period: "24h" | "30d" | "7d";
|
|
1487
|
-
to: string;
|
|
1488
|
-
totals: {
|
|
1489
|
-
errors: number;
|
|
1490
|
-
requests: number;
|
|
1491
|
-
averageDurationMs: number;
|
|
1600
|
+
error: {
|
|
1601
|
+
code: "version_mismatch";
|
|
1602
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1603
|
+
message: string;
|
|
1492
1604
|
};
|
|
1605
|
+
requestId: string;
|
|
1493
1606
|
};
|
|
1494
1607
|
outputFormat: "json";
|
|
1495
|
-
status:
|
|
1608
|
+
status: 412;
|
|
1496
1609
|
input: {
|
|
1497
1610
|
param: {
|
|
1498
|
-
|
|
1611
|
+
address: `0x${string}`;
|
|
1499
1612
|
};
|
|
1500
1613
|
} & {
|
|
1501
|
-
query
|
|
1502
|
-
|
|
1503
|
-
}
|
|
1614
|
+
query: {
|
|
1615
|
+
chainId: string | string[];
|
|
1616
|
+
};
|
|
1617
|
+
} & {
|
|
1618
|
+
json: {
|
|
1619
|
+
currency?: string | undefined;
|
|
1620
|
+
decimals?: number | undefined;
|
|
1621
|
+
logoUri?: string | undefined;
|
|
1622
|
+
name?: string | undefined;
|
|
1623
|
+
symbol?: string | undefined;
|
|
1624
|
+
};
|
|
1504
1625
|
};
|
|
1505
1626
|
};
|
|
1506
1627
|
};
|
|
1507
1628
|
} & {
|
|
1508
|
-
"/:
|
|
1509
|
-
$
|
|
1629
|
+
"/:address": {
|
|
1630
|
+
$delete: {
|
|
1510
1631
|
output: {
|
|
1511
1632
|
error: {
|
|
1512
1633
|
code: "upstream_error";
|
|
@@ -1519,13 +1640,17 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1519
1640
|
status: 502;
|
|
1520
1641
|
input: {
|
|
1521
1642
|
param: {
|
|
1522
|
-
|
|
1643
|
+
address: `0x${string}`;
|
|
1644
|
+
};
|
|
1645
|
+
} & {
|
|
1646
|
+
query: {
|
|
1647
|
+
chainId: string | string[];
|
|
1523
1648
|
};
|
|
1524
1649
|
};
|
|
1525
1650
|
} | {
|
|
1526
1651
|
output: {
|
|
1527
1652
|
error: {
|
|
1528
|
-
code: "
|
|
1653
|
+
code: "verified_token_not_found";
|
|
1529
1654
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1530
1655
|
message: string;
|
|
1531
1656
|
};
|
|
@@ -1535,120 +1660,141 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1535
1660
|
status: 404;
|
|
1536
1661
|
input: {
|
|
1537
1662
|
param: {
|
|
1538
|
-
|
|
1663
|
+
address: `0x${string}`;
|
|
1664
|
+
};
|
|
1665
|
+
} & {
|
|
1666
|
+
query: {
|
|
1667
|
+
chainId: string | string[];
|
|
1539
1668
|
};
|
|
1540
1669
|
};
|
|
1541
1670
|
} | {
|
|
1542
1671
|
output: {
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
period: "month";
|
|
1672
|
+
error: {
|
|
1673
|
+
code: string;
|
|
1674
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1675
|
+
message: string;
|
|
1548
1676
|
};
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1677
|
+
requestId: string;
|
|
1678
|
+
};
|
|
1679
|
+
outputFormat: "json";
|
|
1680
|
+
status: 400 | 413 | 415;
|
|
1681
|
+
input: {
|
|
1682
|
+
param: {
|
|
1683
|
+
address: `0x${string}`;
|
|
1554
1684
|
};
|
|
1555
|
-
|
|
1685
|
+
} & {
|
|
1686
|
+
query: {
|
|
1687
|
+
chainId: string | string[];
|
|
1688
|
+
};
|
|
1689
|
+
};
|
|
1690
|
+
} | {
|
|
1691
|
+
output: {
|
|
1692
|
+
error: {
|
|
1693
|
+
code: "duplicate_address";
|
|
1694
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1695
|
+
message: string;
|
|
1696
|
+
};
|
|
1697
|
+
requestId: string;
|
|
1556
1698
|
};
|
|
1557
1699
|
outputFormat: "json";
|
|
1558
|
-
status:
|
|
1700
|
+
status: 409;
|
|
1559
1701
|
input: {
|
|
1560
1702
|
param: {
|
|
1561
|
-
|
|
1703
|
+
address: `0x${string}`;
|
|
1704
|
+
};
|
|
1705
|
+
} & {
|
|
1706
|
+
query: {
|
|
1707
|
+
chainId: string | string[];
|
|
1562
1708
|
};
|
|
1563
1709
|
};
|
|
1564
|
-
}
|
|
1565
|
-
};
|
|
1566
|
-
} & {
|
|
1567
|
-
"/:orgId/webhooks": {
|
|
1568
|
-
$get: {
|
|
1710
|
+
} | {
|
|
1569
1711
|
output: {
|
|
1570
1712
|
error: {
|
|
1571
|
-
code: "
|
|
1713
|
+
code: "duplicate_symbol";
|
|
1572
1714
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1573
1715
|
message: string;
|
|
1574
1716
|
};
|
|
1575
1717
|
requestId: string;
|
|
1576
1718
|
};
|
|
1577
1719
|
outputFormat: "json";
|
|
1578
|
-
status:
|
|
1720
|
+
status: 409;
|
|
1579
1721
|
input: {
|
|
1580
1722
|
param: {
|
|
1581
|
-
|
|
1723
|
+
address: `0x${string}`;
|
|
1724
|
+
};
|
|
1725
|
+
} & {
|
|
1726
|
+
query: {
|
|
1727
|
+
chainId: string | string[];
|
|
1582
1728
|
};
|
|
1583
1729
|
};
|
|
1584
1730
|
} | {
|
|
1585
1731
|
output: {
|
|
1586
1732
|
error: {
|
|
1587
|
-
code: "
|
|
1733
|
+
code: "version_mismatch";
|
|
1588
1734
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1589
1735
|
message: string;
|
|
1590
1736
|
};
|
|
1591
1737
|
requestId: string;
|
|
1592
1738
|
};
|
|
1593
1739
|
outputFormat: "json";
|
|
1594
|
-
status:
|
|
1740
|
+
status: 412;
|
|
1595
1741
|
input: {
|
|
1596
1742
|
param: {
|
|
1597
|
-
|
|
1743
|
+
address: `0x${string}`;
|
|
1744
|
+
};
|
|
1745
|
+
} & {
|
|
1746
|
+
query: {
|
|
1747
|
+
chainId: string | string[];
|
|
1598
1748
|
};
|
|
1599
1749
|
};
|
|
1600
1750
|
} | {
|
|
1601
1751
|
output: {
|
|
1602
|
-
|
|
1603
|
-
failures: {
|
|
1604
|
-
attempt: number;
|
|
1605
|
-
createdAt: string;
|
|
1606
|
-
error: string | null;
|
|
1607
|
-
id: string;
|
|
1608
|
-
responseStatus: number | null;
|
|
1609
|
-
subscriptionId: string;
|
|
1610
|
-
}[];
|
|
1611
|
-
failuresTruncated: boolean;
|
|
1612
|
-
from: string;
|
|
1613
|
-
subscriptions: {
|
|
1614
|
-
chainId: number;
|
|
1615
|
-
createdAt: string;
|
|
1616
|
-
destination: string;
|
|
1617
|
-
eventType: string;
|
|
1618
|
-
failureCount: number;
|
|
1619
|
-
id: string;
|
|
1620
|
-
lastDeliveryAt: string | null;
|
|
1621
|
-
status: "active" | "disabled" | "paused";
|
|
1622
|
-
}[];
|
|
1623
|
-
to: string;
|
|
1752
|
+
version: string;
|
|
1624
1753
|
};
|
|
1625
1754
|
outputFormat: "json";
|
|
1626
|
-
status:
|
|
1755
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1627
1756
|
input: {
|
|
1628
1757
|
param: {
|
|
1629
|
-
|
|
1758
|
+
address: `0x${string}`;
|
|
1759
|
+
};
|
|
1760
|
+
} & {
|
|
1761
|
+
query: {
|
|
1762
|
+
chainId: string | string[];
|
|
1630
1763
|
};
|
|
1631
1764
|
};
|
|
1632
1765
|
};
|
|
1633
1766
|
};
|
|
1634
|
-
}
|
|
1635
|
-
"/": {
|
|
1767
|
+
} & {
|
|
1768
|
+
"/:address/logo": {
|
|
1636
1769
|
$get: {
|
|
1637
|
-
output:
|
|
1638
|
-
|
|
1770
|
+
output: ArrayBuffer;
|
|
1771
|
+
outputFormat: "body";
|
|
1772
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1773
|
+
input: {
|
|
1774
|
+
param: {
|
|
1639
1775
|
address: `0x${string}`;
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1776
|
+
};
|
|
1777
|
+
} & {
|
|
1778
|
+
query: {
|
|
1779
|
+
chainId: string | string[];
|
|
1780
|
+
};
|
|
1781
|
+
};
|
|
1782
|
+
} | {
|
|
1783
|
+
output: {
|
|
1784
|
+
error: {
|
|
1785
|
+
code: "logo_not_found";
|
|
1786
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1787
|
+
message: string;
|
|
1788
|
+
};
|
|
1789
|
+
requestId: string;
|
|
1648
1790
|
};
|
|
1649
1791
|
outputFormat: "json";
|
|
1650
|
-
status:
|
|
1792
|
+
status: 404;
|
|
1651
1793
|
input: {
|
|
1794
|
+
param: {
|
|
1795
|
+
address: `0x${string}`;
|
|
1796
|
+
};
|
|
1797
|
+
} & {
|
|
1652
1798
|
query: {
|
|
1653
1799
|
chainId: string | string[];
|
|
1654
1800
|
};
|
|
@@ -1656,100 +1802,108 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1656
1802
|
};
|
|
1657
1803
|
};
|
|
1658
1804
|
} & {
|
|
1659
|
-
"/": {
|
|
1660
|
-
$
|
|
1805
|
+
"/:address/logo": {
|
|
1806
|
+
$put: {
|
|
1661
1807
|
output: {
|
|
1662
1808
|
error: {
|
|
1663
|
-
code:
|
|
1809
|
+
code: "body_invalid";
|
|
1664
1810
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1665
1811
|
message: string;
|
|
1666
1812
|
};
|
|
1667
1813
|
requestId: string;
|
|
1668
1814
|
};
|
|
1669
1815
|
outputFormat: "json";
|
|
1670
|
-
status: 400
|
|
1816
|
+
status: 400;
|
|
1671
1817
|
input: {
|
|
1672
|
-
|
|
1818
|
+
param: {
|
|
1673
1819
|
address: `0x${string}`;
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
symbol: string;
|
|
1679
|
-
chainId: unknown;
|
|
1680
|
-
logo?: string | undefined;
|
|
1820
|
+
};
|
|
1821
|
+
} & {
|
|
1822
|
+
query: {
|
|
1823
|
+
chainId: string | string[];
|
|
1681
1824
|
};
|
|
1682
1825
|
};
|
|
1683
1826
|
} | {
|
|
1684
1827
|
output: {
|
|
1685
1828
|
error: {
|
|
1686
|
-
code: "
|
|
1829
|
+
code: "assets_not_enabled";
|
|
1687
1830
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1688
1831
|
message: string;
|
|
1689
1832
|
};
|
|
1690
1833
|
requestId: string;
|
|
1691
1834
|
};
|
|
1692
1835
|
outputFormat: "json";
|
|
1693
|
-
status:
|
|
1836
|
+
status: 404;
|
|
1694
1837
|
input: {
|
|
1695
|
-
|
|
1838
|
+
param: {
|
|
1696
1839
|
address: `0x${string}`;
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
symbol: string;
|
|
1702
|
-
chainId: unknown;
|
|
1703
|
-
logo?: string | undefined;
|
|
1840
|
+
};
|
|
1841
|
+
} & {
|
|
1842
|
+
query: {
|
|
1843
|
+
chainId: string | string[];
|
|
1704
1844
|
};
|
|
1705
1845
|
};
|
|
1706
1846
|
} | {
|
|
1707
1847
|
output: {
|
|
1708
1848
|
error: {
|
|
1709
|
-
code: "
|
|
1849
|
+
code: "unsupported_media_type";
|
|
1710
1850
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1711
1851
|
message: string;
|
|
1712
1852
|
};
|
|
1713
1853
|
requestId: string;
|
|
1714
1854
|
};
|
|
1715
1855
|
outputFormat: "json";
|
|
1716
|
-
status:
|
|
1856
|
+
status: 415;
|
|
1717
1857
|
input: {
|
|
1718
|
-
|
|
1858
|
+
param: {
|
|
1719
1859
|
address: `0x${string}`;
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
symbol: string;
|
|
1725
|
-
chainId: unknown;
|
|
1726
|
-
logo?: string | undefined;
|
|
1860
|
+
};
|
|
1861
|
+
} & {
|
|
1862
|
+
query: {
|
|
1863
|
+
chainId: string | string[];
|
|
1727
1864
|
};
|
|
1728
1865
|
};
|
|
1729
1866
|
} | {
|
|
1730
1867
|
output: {
|
|
1731
1868
|
error: {
|
|
1732
|
-
code: "
|
|
1869
|
+
code: "payload_too_large";
|
|
1733
1870
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1734
1871
|
message: string;
|
|
1735
1872
|
};
|
|
1736
1873
|
requestId: string;
|
|
1737
1874
|
};
|
|
1738
1875
|
outputFormat: "json";
|
|
1739
|
-
status:
|
|
1876
|
+
status: 413;
|
|
1740
1877
|
input: {
|
|
1741
|
-
|
|
1878
|
+
param: {
|
|
1742
1879
|
address: `0x${string}`;
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1880
|
+
};
|
|
1881
|
+
} & {
|
|
1882
|
+
query: {
|
|
1883
|
+
chainId: string | string[];
|
|
1884
|
+
};
|
|
1885
|
+
};
|
|
1886
|
+
} | {
|
|
1887
|
+
output: {
|
|
1888
|
+
key: string;
|
|
1889
|
+
path: string;
|
|
1890
|
+
};
|
|
1891
|
+
outputFormat: "json";
|
|
1892
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1893
|
+
input: {
|
|
1894
|
+
param: {
|
|
1895
|
+
address: `0x${string}`;
|
|
1896
|
+
};
|
|
1897
|
+
} & {
|
|
1898
|
+
query: {
|
|
1899
|
+
chainId: string | string[];
|
|
1750
1900
|
};
|
|
1751
1901
|
};
|
|
1752
|
-
}
|
|
1902
|
+
};
|
|
1903
|
+
};
|
|
1904
|
+
} & {
|
|
1905
|
+
"/requests": {
|
|
1906
|
+
$get: {
|
|
1753
1907
|
output: {
|
|
1754
1908
|
data: {
|
|
1755
1909
|
address: `0x${string}`;
|
|
@@ -1758,176 +1912,126 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1758
1912
|
logoUri?: string | undefined;
|
|
1759
1913
|
name: string;
|
|
1760
1914
|
symbol: string;
|
|
1915
|
+
chainId: number;
|
|
1916
|
+
createdAt: string;
|
|
1761
1917
|
id: string;
|
|
1762
|
-
|
|
1763
|
-
|
|
1918
|
+
logo?: string | undefined;
|
|
1919
|
+
note: string | null;
|
|
1920
|
+
orgId: string;
|
|
1921
|
+
requestedBy: string;
|
|
1922
|
+
reviewNote: string | null;
|
|
1923
|
+
reviewedAt: string | null;
|
|
1924
|
+
status: "approved" | "denied" | "pending";
|
|
1925
|
+
updatedAt: string;
|
|
1926
|
+
orgName: string | null;
|
|
1927
|
+
reviewedBy: string | null;
|
|
1928
|
+
}[];
|
|
1764
1929
|
};
|
|
1765
1930
|
outputFormat: "json";
|
|
1766
1931
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1767
1932
|
input: {
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
decimals: number;
|
|
1772
|
-
logoUri?: string | undefined;
|
|
1773
|
-
name: string;
|
|
1774
|
-
symbol: string;
|
|
1775
|
-
chainId: unknown;
|
|
1776
|
-
logo?: string | undefined;
|
|
1777
|
-
};
|
|
1933
|
+
query?: {
|
|
1934
|
+
status?: string | string[];
|
|
1935
|
+
} | undefined;
|
|
1778
1936
|
};
|
|
1779
|
-
}
|
|
1937
|
+
};
|
|
1938
|
+
};
|
|
1939
|
+
} & {
|
|
1940
|
+
"/requests/:requestId/approve": {
|
|
1941
|
+
$post: {
|
|
1780
1942
|
output: {
|
|
1781
1943
|
error: {
|
|
1782
|
-
code: "
|
|
1944
|
+
code: "upstream_error";
|
|
1783
1945
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1784
1946
|
message: string;
|
|
1785
1947
|
};
|
|
1786
1948
|
requestId: string;
|
|
1787
1949
|
};
|
|
1788
1950
|
outputFormat: "json";
|
|
1789
|
-
status:
|
|
1951
|
+
status: 502;
|
|
1790
1952
|
input: {
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
currency: string;
|
|
1794
|
-
decimals: number;
|
|
1795
|
-
logoUri?: string | undefined;
|
|
1796
|
-
name: string;
|
|
1797
|
-
symbol: string;
|
|
1798
|
-
chainId: unknown;
|
|
1799
|
-
logo?: string | undefined;
|
|
1953
|
+
param: {
|
|
1954
|
+
requestId: string;
|
|
1800
1955
|
};
|
|
1801
1956
|
};
|
|
1802
1957
|
} | {
|
|
1803
1958
|
output: {
|
|
1804
1959
|
error: {
|
|
1805
|
-
code: "
|
|
1960
|
+
code: "verified_token_not_found";
|
|
1806
1961
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1807
1962
|
message: string;
|
|
1808
1963
|
};
|
|
1809
1964
|
requestId: string;
|
|
1810
1965
|
};
|
|
1811
1966
|
outputFormat: "json";
|
|
1812
|
-
status:
|
|
1967
|
+
status: 404;
|
|
1813
1968
|
input: {
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
currency: string;
|
|
1817
|
-
decimals: number;
|
|
1818
|
-
logoUri?: string | undefined;
|
|
1819
|
-
name: string;
|
|
1820
|
-
symbol: string;
|
|
1821
|
-
chainId: unknown;
|
|
1822
|
-
logo?: string | undefined;
|
|
1969
|
+
param: {
|
|
1970
|
+
requestId: string;
|
|
1823
1971
|
};
|
|
1824
1972
|
};
|
|
1825
1973
|
} | {
|
|
1826
1974
|
output: {
|
|
1827
1975
|
error: {
|
|
1828
|
-
code: "
|
|
1976
|
+
code: "request_not_pending";
|
|
1829
1977
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1830
1978
|
message: string;
|
|
1831
1979
|
};
|
|
1832
1980
|
requestId: string;
|
|
1833
1981
|
};
|
|
1834
1982
|
outputFormat: "json";
|
|
1835
|
-
status:
|
|
1983
|
+
status: 409;
|
|
1836
1984
|
input: {
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
currency: string;
|
|
1840
|
-
decimals: number;
|
|
1841
|
-
logoUri?: string | undefined;
|
|
1842
|
-
name: string;
|
|
1843
|
-
symbol: string;
|
|
1844
|
-
chainId: unknown;
|
|
1845
|
-
logo?: string | undefined;
|
|
1985
|
+
param: {
|
|
1986
|
+
requestId: string;
|
|
1846
1987
|
};
|
|
1847
1988
|
};
|
|
1848
|
-
}
|
|
1849
|
-
};
|
|
1850
|
-
} & {
|
|
1851
|
-
"/": {
|
|
1852
|
-
$put: {
|
|
1989
|
+
} | {
|
|
1853
1990
|
output: {
|
|
1854
1991
|
error: {
|
|
1855
|
-
code:
|
|
1992
|
+
code: "verified_token_request_not_found";
|
|
1856
1993
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1857
1994
|
message: string;
|
|
1858
1995
|
};
|
|
1859
1996
|
requestId: string;
|
|
1860
1997
|
};
|
|
1861
1998
|
outputFormat: "json";
|
|
1862
|
-
status:
|
|
1999
|
+
status: 404;
|
|
1863
2000
|
input: {
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
};
|
|
1867
|
-
} & {
|
|
1868
|
-
json: {
|
|
1869
|
-
tokens: {
|
|
1870
|
-
address: `0x${string}`;
|
|
1871
|
-
currency: string;
|
|
1872
|
-
decimals: number;
|
|
1873
|
-
logoUri?: string | undefined;
|
|
1874
|
-
name: string;
|
|
1875
|
-
symbol: string;
|
|
1876
|
-
}[];
|
|
2001
|
+
param: {
|
|
2002
|
+
requestId: string;
|
|
1877
2003
|
};
|
|
1878
2004
|
};
|
|
1879
2005
|
} | {
|
|
1880
2006
|
output: {
|
|
1881
2007
|
error: {
|
|
1882
|
-
code: "
|
|
2008
|
+
code: "assets_not_enabled";
|
|
1883
2009
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1884
2010
|
message: string;
|
|
1885
2011
|
};
|
|
1886
2012
|
requestId: string;
|
|
1887
2013
|
};
|
|
1888
2014
|
outputFormat: "json";
|
|
1889
|
-
status:
|
|
2015
|
+
status: 404;
|
|
1890
2016
|
input: {
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
};
|
|
1894
|
-
} & {
|
|
1895
|
-
json: {
|
|
1896
|
-
tokens: {
|
|
1897
|
-
address: `0x${string}`;
|
|
1898
|
-
currency: string;
|
|
1899
|
-
decimals: number;
|
|
1900
|
-
logoUri?: string | undefined;
|
|
1901
|
-
name: string;
|
|
1902
|
-
symbol: string;
|
|
1903
|
-
}[];
|
|
2017
|
+
param: {
|
|
2018
|
+
requestId: string;
|
|
1904
2019
|
};
|
|
1905
2020
|
};
|
|
1906
2021
|
} | {
|
|
1907
2022
|
output: {
|
|
1908
2023
|
error: {
|
|
1909
|
-
code:
|
|
2024
|
+
code: string;
|
|
1910
2025
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1911
2026
|
message: string;
|
|
1912
2027
|
};
|
|
1913
2028
|
requestId: string;
|
|
1914
2029
|
};
|
|
1915
2030
|
outputFormat: "json";
|
|
1916
|
-
status:
|
|
2031
|
+
status: 400 | 413 | 415;
|
|
1917
2032
|
input: {
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
};
|
|
1921
|
-
} & {
|
|
1922
|
-
json: {
|
|
1923
|
-
tokens: {
|
|
1924
|
-
address: `0x${string}`;
|
|
1925
|
-
currency: string;
|
|
1926
|
-
decimals: number;
|
|
1927
|
-
logoUri?: string | undefined;
|
|
1928
|
-
name: string;
|
|
1929
|
-
symbol: string;
|
|
1930
|
-
}[];
|
|
2033
|
+
param: {
|
|
2034
|
+
requestId: string;
|
|
1931
2035
|
};
|
|
1932
2036
|
};
|
|
1933
2037
|
} | {
|
|
@@ -1942,19 +2046,8 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1942
2046
|
outputFormat: "json";
|
|
1943
2047
|
status: 409;
|
|
1944
2048
|
input: {
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
};
|
|
1948
|
-
} & {
|
|
1949
|
-
json: {
|
|
1950
|
-
tokens: {
|
|
1951
|
-
address: `0x${string}`;
|
|
1952
|
-
currency: string;
|
|
1953
|
-
decimals: number;
|
|
1954
|
-
logoUri?: string | undefined;
|
|
1955
|
-
name: string;
|
|
1956
|
-
symbol: string;
|
|
1957
|
-
}[];
|
|
2049
|
+
param: {
|
|
2050
|
+
requestId: string;
|
|
1958
2051
|
};
|
|
1959
2052
|
};
|
|
1960
2053
|
} | {
|
|
@@ -1969,19 +2062,8 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1969
2062
|
outputFormat: "json";
|
|
1970
2063
|
status: 409;
|
|
1971
2064
|
input: {
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
};
|
|
1975
|
-
} & {
|
|
1976
|
-
json: {
|
|
1977
|
-
tokens: {
|
|
1978
|
-
address: `0x${string}`;
|
|
1979
|
-
currency: string;
|
|
1980
|
-
decimals: number;
|
|
1981
|
-
logoUri?: string | undefined;
|
|
1982
|
-
name: string;
|
|
1983
|
-
symbol: string;
|
|
1984
|
-
}[];
|
|
2065
|
+
param: {
|
|
2066
|
+
requestId: string;
|
|
1985
2067
|
};
|
|
1986
2068
|
};
|
|
1987
2069
|
} | {
|
|
@@ -1996,19 +2078,8 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
1996
2078
|
outputFormat: "json";
|
|
1997
2079
|
status: 412;
|
|
1998
2080
|
input: {
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
};
|
|
2002
|
-
} & {
|
|
2003
|
-
json: {
|
|
2004
|
-
tokens: {
|
|
2005
|
-
address: `0x${string}`;
|
|
2006
|
-
currency: string;
|
|
2007
|
-
decimals: number;
|
|
2008
|
-
logoUri?: string | undefined;
|
|
2009
|
-
name: string;
|
|
2010
|
-
symbol: string;
|
|
2011
|
-
}[];
|
|
2081
|
+
param: {
|
|
2082
|
+
requestId: string;
|
|
2012
2083
|
};
|
|
2013
2084
|
};
|
|
2014
2085
|
} | {
|
|
@@ -2020,92 +2091,96 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
2020
2091
|
logoUri?: string | undefined;
|
|
2021
2092
|
name: string;
|
|
2022
2093
|
symbol: string;
|
|
2094
|
+
chainId: number;
|
|
2095
|
+
createdAt: string;
|
|
2023
2096
|
id: string;
|
|
2024
|
-
|
|
2025
|
-
|
|
2097
|
+
logo?: string | undefined;
|
|
2098
|
+
note: string | null;
|
|
2099
|
+
orgId: string;
|
|
2100
|
+
requestedBy: string;
|
|
2101
|
+
reviewNote: string | null;
|
|
2102
|
+
reviewedAt: string | null;
|
|
2103
|
+
status: "approved" | "denied" | "pending";
|
|
2104
|
+
updatedAt: string;
|
|
2105
|
+
orgName: string | null;
|
|
2106
|
+
reviewedBy: string | null;
|
|
2107
|
+
};
|
|
2026
2108
|
};
|
|
2027
2109
|
outputFormat: "json";
|
|
2028
2110
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
2029
2111
|
input: {
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
};
|
|
2033
|
-
} & {
|
|
2034
|
-
json: {
|
|
2035
|
-
tokens: {
|
|
2036
|
-
address: `0x${string}`;
|
|
2037
|
-
currency: string;
|
|
2038
|
-
decimals: number;
|
|
2039
|
-
logoUri?: string | undefined;
|
|
2040
|
-
name: string;
|
|
2041
|
-
symbol: string;
|
|
2042
|
-
}[];
|
|
2112
|
+
param: {
|
|
2113
|
+
requestId: string;
|
|
2043
2114
|
};
|
|
2044
2115
|
};
|
|
2045
2116
|
};
|
|
2046
2117
|
};
|
|
2047
2118
|
} & {
|
|
2048
|
-
"/:
|
|
2049
|
-
$
|
|
2119
|
+
"/requests/:requestId/deny": {
|
|
2120
|
+
$post: {
|
|
2050
2121
|
output: {
|
|
2051
2122
|
error: {
|
|
2052
|
-
code:
|
|
2123
|
+
code: "upstream_error";
|
|
2124
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
2125
|
+
message: string;
|
|
2126
|
+
};
|
|
2127
|
+
requestId: string;
|
|
2128
|
+
};
|
|
2129
|
+
outputFormat: "json";
|
|
2130
|
+
status: 502;
|
|
2131
|
+
input: {
|
|
2132
|
+
param: {
|
|
2133
|
+
requestId: string;
|
|
2134
|
+
};
|
|
2135
|
+
} & {
|
|
2136
|
+
json: {
|
|
2137
|
+
reviewNote?: string | undefined;
|
|
2138
|
+
};
|
|
2139
|
+
};
|
|
2140
|
+
} | {
|
|
2141
|
+
output: {
|
|
2142
|
+
error: {
|
|
2143
|
+
code: "verified_token_not_found";
|
|
2053
2144
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2054
2145
|
message: string;
|
|
2055
2146
|
};
|
|
2056
2147
|
requestId: string;
|
|
2057
2148
|
};
|
|
2058
2149
|
outputFormat: "json";
|
|
2059
|
-
status:
|
|
2150
|
+
status: 404;
|
|
2060
2151
|
input: {
|
|
2061
2152
|
param: {
|
|
2062
|
-
|
|
2063
|
-
};
|
|
2064
|
-
} & {
|
|
2065
|
-
query: {
|
|
2066
|
-
chainId: string | string[];
|
|
2153
|
+
requestId: string;
|
|
2067
2154
|
};
|
|
2068
2155
|
} & {
|
|
2069
2156
|
json: {
|
|
2070
|
-
|
|
2071
|
-
decimals?: number | undefined;
|
|
2072
|
-
logoUri?: string | undefined;
|
|
2073
|
-
name?: string | undefined;
|
|
2074
|
-
symbol?: string | undefined;
|
|
2157
|
+
reviewNote?: string | undefined;
|
|
2075
2158
|
};
|
|
2076
2159
|
};
|
|
2077
2160
|
} | {
|
|
2078
2161
|
output: {
|
|
2079
2162
|
error: {
|
|
2080
|
-
code: "
|
|
2163
|
+
code: "request_not_pending";
|
|
2081
2164
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2082
2165
|
message: string;
|
|
2083
2166
|
};
|
|
2084
2167
|
requestId: string;
|
|
2085
2168
|
};
|
|
2086
2169
|
outputFormat: "json";
|
|
2087
|
-
status:
|
|
2170
|
+
status: 409;
|
|
2088
2171
|
input: {
|
|
2089
2172
|
param: {
|
|
2090
|
-
|
|
2091
|
-
};
|
|
2092
|
-
} & {
|
|
2093
|
-
query: {
|
|
2094
|
-
chainId: string | string[];
|
|
2173
|
+
requestId: string;
|
|
2095
2174
|
};
|
|
2096
2175
|
} & {
|
|
2097
2176
|
json: {
|
|
2098
|
-
|
|
2099
|
-
decimals?: number | undefined;
|
|
2100
|
-
logoUri?: string | undefined;
|
|
2101
|
-
name?: string | undefined;
|
|
2102
|
-
symbol?: string | undefined;
|
|
2177
|
+
reviewNote?: string | undefined;
|
|
2103
2178
|
};
|
|
2104
2179
|
};
|
|
2105
2180
|
} | {
|
|
2106
2181
|
output: {
|
|
2107
2182
|
error: {
|
|
2108
|
-
code: "
|
|
2183
|
+
code: "verified_token_request_not_found";
|
|
2109
2184
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2110
2185
|
message: string;
|
|
2111
2186
|
};
|
|
@@ -2115,51 +2190,31 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
2115
2190
|
status: 404;
|
|
2116
2191
|
input: {
|
|
2117
2192
|
param: {
|
|
2118
|
-
|
|
2119
|
-
};
|
|
2120
|
-
} & {
|
|
2121
|
-
query: {
|
|
2122
|
-
chainId: string | string[];
|
|
2193
|
+
requestId: string;
|
|
2123
2194
|
};
|
|
2124
2195
|
} & {
|
|
2125
2196
|
json: {
|
|
2126
|
-
|
|
2127
|
-
decimals?: number | undefined;
|
|
2128
|
-
logoUri?: string | undefined;
|
|
2129
|
-
name?: string | undefined;
|
|
2130
|
-
symbol?: string | undefined;
|
|
2197
|
+
reviewNote?: string | undefined;
|
|
2131
2198
|
};
|
|
2132
2199
|
};
|
|
2133
2200
|
} | {
|
|
2134
2201
|
output: {
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
logoUri?: string | undefined;
|
|
2140
|
-
name: string;
|
|
2141
|
-
symbol: string;
|
|
2142
|
-
id: string;
|
|
2202
|
+
error: {
|
|
2203
|
+
code: string;
|
|
2204
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
2205
|
+
message: string;
|
|
2143
2206
|
};
|
|
2144
|
-
|
|
2207
|
+
requestId: string;
|
|
2145
2208
|
};
|
|
2146
2209
|
outputFormat: "json";
|
|
2147
|
-
status:
|
|
2210
|
+
status: 400 | 413 | 415;
|
|
2148
2211
|
input: {
|
|
2149
2212
|
param: {
|
|
2150
|
-
|
|
2151
|
-
};
|
|
2152
|
-
} & {
|
|
2153
|
-
query: {
|
|
2154
|
-
chainId: string | string[];
|
|
2213
|
+
requestId: string;
|
|
2155
2214
|
};
|
|
2156
2215
|
} & {
|
|
2157
2216
|
json: {
|
|
2158
|
-
|
|
2159
|
-
decimals?: number | undefined;
|
|
2160
|
-
logoUri?: string | undefined;
|
|
2161
|
-
name?: string | undefined;
|
|
2162
|
-
symbol?: string | undefined;
|
|
2217
|
+
reviewNote?: string | undefined;
|
|
2163
2218
|
};
|
|
2164
2219
|
};
|
|
2165
2220
|
} | {
|
|
@@ -2175,19 +2230,11 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
2175
2230
|
status: 409;
|
|
2176
2231
|
input: {
|
|
2177
2232
|
param: {
|
|
2178
|
-
|
|
2179
|
-
};
|
|
2180
|
-
} & {
|
|
2181
|
-
query: {
|
|
2182
|
-
chainId: string | string[];
|
|
2233
|
+
requestId: string;
|
|
2183
2234
|
};
|
|
2184
2235
|
} & {
|
|
2185
2236
|
json: {
|
|
2186
|
-
|
|
2187
|
-
decimals?: number | undefined;
|
|
2188
|
-
logoUri?: string | undefined;
|
|
2189
|
-
name?: string | undefined;
|
|
2190
|
-
symbol?: string | undefined;
|
|
2237
|
+
reviewNote?: string | undefined;
|
|
2191
2238
|
};
|
|
2192
2239
|
};
|
|
2193
2240
|
} | {
|
|
@@ -2203,19 +2250,11 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
2203
2250
|
status: 409;
|
|
2204
2251
|
input: {
|
|
2205
2252
|
param: {
|
|
2206
|
-
|
|
2207
|
-
};
|
|
2208
|
-
} & {
|
|
2209
|
-
query: {
|
|
2210
|
-
chainId: string | string[];
|
|
2253
|
+
requestId: string;
|
|
2211
2254
|
};
|
|
2212
2255
|
} & {
|
|
2213
2256
|
json: {
|
|
2214
|
-
|
|
2215
|
-
decimals?: number | undefined;
|
|
2216
|
-
logoUri?: string | undefined;
|
|
2217
|
-
name?: string | undefined;
|
|
2218
|
-
symbol?: string | undefined;
|
|
2257
|
+
reviewNote?: string | undefined;
|
|
2219
2258
|
};
|
|
2220
2259
|
};
|
|
2221
2260
|
} | {
|
|
@@ -2231,46 +2270,98 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
2231
2270
|
status: 412;
|
|
2232
2271
|
input: {
|
|
2233
2272
|
param: {
|
|
2234
|
-
|
|
2273
|
+
requestId: string;
|
|
2235
2274
|
};
|
|
2236
2275
|
} & {
|
|
2237
|
-
|
|
2238
|
-
|
|
2276
|
+
json: {
|
|
2277
|
+
reviewNote?: string | undefined;
|
|
2278
|
+
};
|
|
2279
|
+
};
|
|
2280
|
+
} | {
|
|
2281
|
+
output: {
|
|
2282
|
+
data: {
|
|
2283
|
+
address: `0x${string}`;
|
|
2284
|
+
currency: string;
|
|
2285
|
+
decimals: number;
|
|
2286
|
+
logoUri?: string | undefined;
|
|
2287
|
+
name: string;
|
|
2288
|
+
symbol: string;
|
|
2289
|
+
chainId: number;
|
|
2290
|
+
createdAt: string;
|
|
2291
|
+
id: string;
|
|
2292
|
+
logo?: string | undefined;
|
|
2293
|
+
note: string | null;
|
|
2294
|
+
orgId: string;
|
|
2295
|
+
requestedBy: string;
|
|
2296
|
+
reviewNote: string | null;
|
|
2297
|
+
reviewedAt: string | null;
|
|
2298
|
+
status: "approved" | "denied" | "pending";
|
|
2299
|
+
updatedAt: string;
|
|
2300
|
+
orgName: string | null;
|
|
2301
|
+
reviewedBy: string | null;
|
|
2302
|
+
};
|
|
2303
|
+
};
|
|
2304
|
+
outputFormat: "json";
|
|
2305
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
2306
|
+
input: {
|
|
2307
|
+
param: {
|
|
2308
|
+
requestId: string;
|
|
2239
2309
|
};
|
|
2240
2310
|
} & {
|
|
2241
2311
|
json: {
|
|
2242
|
-
|
|
2243
|
-
decimals?: number | undefined;
|
|
2244
|
-
logoUri?: string | undefined;
|
|
2245
|
-
name?: string | undefined;
|
|
2246
|
-
symbol?: string | undefined;
|
|
2312
|
+
reviewNote?: string | undefined;
|
|
2247
2313
|
};
|
|
2248
2314
|
};
|
|
2249
2315
|
};
|
|
2250
2316
|
};
|
|
2251
|
-
}
|
|
2252
|
-
"
|
|
2253
|
-
$
|
|
2317
|
+
}, "/verified-tokens"> | import("hono/types").MergeSchemaPath<{
|
|
2318
|
+
"/": {
|
|
2319
|
+
$get: {
|
|
2254
2320
|
output: {
|
|
2255
2321
|
error: {
|
|
2256
|
-
code:
|
|
2322
|
+
code: "upstream_error";
|
|
2257
2323
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2258
2324
|
message: string;
|
|
2259
2325
|
};
|
|
2260
2326
|
requestId: string;
|
|
2261
2327
|
};
|
|
2262
2328
|
outputFormat: "json";
|
|
2263
|
-
status:
|
|
2329
|
+
status: 502;
|
|
2264
2330
|
input: {
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
chainId: string | string[];
|
|
2271
|
-
};
|
|
2331
|
+
query?: {
|
|
2332
|
+
cursor?: string | string[];
|
|
2333
|
+
limit?: string | string[];
|
|
2334
|
+
query?: string | string[];
|
|
2335
|
+
} | undefined;
|
|
2272
2336
|
};
|
|
2273
2337
|
} | {
|
|
2338
|
+
output: {
|
|
2339
|
+
data: {
|
|
2340
|
+
createdAt: string;
|
|
2341
|
+
createdBy: string | null;
|
|
2342
|
+
id: string;
|
|
2343
|
+
name: string;
|
|
2344
|
+
updatedAt: string;
|
|
2345
|
+
userId: string | null;
|
|
2346
|
+
memberCount: number;
|
|
2347
|
+
projectCount: number;
|
|
2348
|
+
}[];
|
|
2349
|
+
nextCursor: string | null;
|
|
2350
|
+
};
|
|
2351
|
+
outputFormat: "json";
|
|
2352
|
+
status: 200;
|
|
2353
|
+
input: {
|
|
2354
|
+
query?: {
|
|
2355
|
+
cursor?: string | string[];
|
|
2356
|
+
limit?: string | string[];
|
|
2357
|
+
query?: string | string[];
|
|
2358
|
+
} | undefined;
|
|
2359
|
+
};
|
|
2360
|
+
};
|
|
2361
|
+
};
|
|
2362
|
+
} & {
|
|
2363
|
+
"/:orgId": {
|
|
2364
|
+
$get: {
|
|
2274
2365
|
output: {
|
|
2275
2366
|
error: {
|
|
2276
2367
|
code: "upstream_error";
|
|
@@ -2283,17 +2374,13 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
2283
2374
|
status: 502;
|
|
2284
2375
|
input: {
|
|
2285
2376
|
param: {
|
|
2286
|
-
|
|
2287
|
-
};
|
|
2288
|
-
} & {
|
|
2289
|
-
query: {
|
|
2290
|
-
chainId: string | string[];
|
|
2377
|
+
orgId: string;
|
|
2291
2378
|
};
|
|
2292
2379
|
};
|
|
2293
2380
|
} | {
|
|
2294
2381
|
output: {
|
|
2295
2382
|
error: {
|
|
2296
|
-
code: "
|
|
2383
|
+
code: "not_found";
|
|
2297
2384
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2298
2385
|
message: string;
|
|
2299
2386
|
};
|
|
@@ -2303,281 +2390,236 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
2303
2390
|
status: 404;
|
|
2304
2391
|
input: {
|
|
2305
2392
|
param: {
|
|
2306
|
-
|
|
2307
|
-
};
|
|
2308
|
-
} & {
|
|
2309
|
-
query: {
|
|
2310
|
-
chainId: string | string[];
|
|
2393
|
+
orgId: string;
|
|
2311
2394
|
};
|
|
2312
2395
|
};
|
|
2313
2396
|
} | {
|
|
2314
2397
|
output: {
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2398
|
+
createdAt: string;
|
|
2399
|
+
createdBy: string | null;
|
|
2400
|
+
id: string;
|
|
2401
|
+
name: string;
|
|
2402
|
+
updatedAt: string;
|
|
2403
|
+
userId: string | null;
|
|
2404
|
+
memberCount: number;
|
|
2405
|
+
projectCount: number;
|
|
2406
|
+
billing: {
|
|
2407
|
+
enabledSources: ("stripe" | "tempo")[];
|
|
2408
|
+
production: {
|
|
2409
|
+
settings: {
|
|
2410
|
+
currency: "usd";
|
|
2411
|
+
period: "month";
|
|
2412
|
+
spendLimit: string | null;
|
|
2413
|
+
txFeeLimit: string | null;
|
|
2414
|
+
updatedAt: string;
|
|
2415
|
+
} | null;
|
|
2416
|
+
source: {
|
|
2417
|
+
status: "active" | "canceled" | "none" | "past_due";
|
|
2418
|
+
stripeCustomerId: string;
|
|
2419
|
+
updatedAt: string;
|
|
2420
|
+
} | null;
|
|
2421
|
+
};
|
|
2422
|
+
sandbox: {
|
|
2423
|
+
settings: {
|
|
2424
|
+
currency: "usd";
|
|
2425
|
+
period: "month";
|
|
2426
|
+
spendLimit: string | null;
|
|
2427
|
+
txFeeLimit: string | null;
|
|
2428
|
+
updatedAt: string;
|
|
2429
|
+
} | null;
|
|
2430
|
+
source: {
|
|
2431
|
+
status: "active" | "canceled" | "none" | "past_due";
|
|
2432
|
+
stripeCustomerId: string;
|
|
2433
|
+
updatedAt: string;
|
|
2434
|
+
} | null;
|
|
2435
|
+
};
|
|
2436
|
+
};
|
|
2437
|
+
sponsorshipSubsidy: {
|
|
2438
|
+
durationDays: 90 | null;
|
|
2439
|
+
projectSpendLimit: string | null;
|
|
2319
2440
|
};
|
|
2320
|
-
requestId: string;
|
|
2321
2441
|
};
|
|
2322
2442
|
outputFormat: "json";
|
|
2323
|
-
status:
|
|
2443
|
+
status: 200;
|
|
2324
2444
|
input: {
|
|
2325
2445
|
param: {
|
|
2326
|
-
|
|
2327
|
-
};
|
|
2328
|
-
} & {
|
|
2329
|
-
query: {
|
|
2330
|
-
chainId: string | string[];
|
|
2446
|
+
orgId: string;
|
|
2331
2447
|
};
|
|
2332
2448
|
};
|
|
2333
|
-
}
|
|
2449
|
+
};
|
|
2450
|
+
};
|
|
2451
|
+
} & {
|
|
2452
|
+
"/:orgId/sponsorship": {
|
|
2453
|
+
$put: {
|
|
2334
2454
|
output: {
|
|
2335
2455
|
error: {
|
|
2336
|
-
code: "
|
|
2456
|
+
code: "upstream_error";
|
|
2337
2457
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2338
2458
|
message: string;
|
|
2339
2459
|
};
|
|
2340
2460
|
requestId: string;
|
|
2341
2461
|
};
|
|
2342
2462
|
outputFormat: "json";
|
|
2343
|
-
status:
|
|
2463
|
+
status: 502;
|
|
2344
2464
|
input: {
|
|
2345
2465
|
param: {
|
|
2346
|
-
|
|
2466
|
+
orgId: string;
|
|
2347
2467
|
};
|
|
2348
2468
|
} & {
|
|
2349
|
-
|
|
2350
|
-
|
|
2469
|
+
json: {
|
|
2470
|
+
enabled: true;
|
|
2471
|
+
projectSpendLimit?: string | undefined;
|
|
2472
|
+
} | {
|
|
2473
|
+
enabled: false;
|
|
2351
2474
|
};
|
|
2352
2475
|
};
|
|
2353
2476
|
} | {
|
|
2354
2477
|
output: {
|
|
2355
2478
|
error: {
|
|
2356
|
-
code: "
|
|
2479
|
+
code: "not_found";
|
|
2357
2480
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2358
2481
|
message: string;
|
|
2359
2482
|
};
|
|
2360
2483
|
requestId: string;
|
|
2361
2484
|
};
|
|
2362
2485
|
outputFormat: "json";
|
|
2363
|
-
status:
|
|
2486
|
+
status: 404;
|
|
2364
2487
|
input: {
|
|
2365
2488
|
param: {
|
|
2366
|
-
|
|
2489
|
+
orgId: string;
|
|
2367
2490
|
};
|
|
2368
2491
|
} & {
|
|
2369
|
-
|
|
2370
|
-
|
|
2492
|
+
json: {
|
|
2493
|
+
enabled: true;
|
|
2494
|
+
projectSpendLimit?: string | undefined;
|
|
2495
|
+
} | {
|
|
2496
|
+
enabled: false;
|
|
2371
2497
|
};
|
|
2372
2498
|
};
|
|
2373
2499
|
} | {
|
|
2374
2500
|
output: {
|
|
2375
|
-
|
|
2501
|
+
durationDays: 90 | null;
|
|
2502
|
+
projectSpendLimit: string | null;
|
|
2376
2503
|
};
|
|
2377
2504
|
outputFormat: "json";
|
|
2378
|
-
status:
|
|
2505
|
+
status: 200;
|
|
2379
2506
|
input: {
|
|
2380
2507
|
param: {
|
|
2381
|
-
|
|
2508
|
+
orgId: string;
|
|
2382
2509
|
};
|
|
2383
2510
|
} & {
|
|
2384
|
-
|
|
2385
|
-
|
|
2511
|
+
json: {
|
|
2512
|
+
enabled: true;
|
|
2513
|
+
projectSpendLimit?: string | undefined;
|
|
2514
|
+
} | {
|
|
2515
|
+
enabled: false;
|
|
2386
2516
|
};
|
|
2387
2517
|
};
|
|
2388
2518
|
};
|
|
2389
2519
|
};
|
|
2390
2520
|
} & {
|
|
2391
|
-
"/:
|
|
2392
|
-
$
|
|
2393
|
-
output: ArrayBuffer;
|
|
2394
|
-
outputFormat: "body";
|
|
2395
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
2396
|
-
input: {
|
|
2397
|
-
param: {
|
|
2398
|
-
address: `0x${string}`;
|
|
2399
|
-
};
|
|
2400
|
-
} & {
|
|
2401
|
-
query: {
|
|
2402
|
-
chainId: string | string[];
|
|
2403
|
-
};
|
|
2404
|
-
};
|
|
2405
|
-
} | {
|
|
2521
|
+
"/:orgId/billing-sources/:source": {
|
|
2522
|
+
$put: {
|
|
2406
2523
|
output: {
|
|
2407
2524
|
error: {
|
|
2408
|
-
code: "
|
|
2525
|
+
code: "upstream_error";
|
|
2409
2526
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2410
2527
|
message: string;
|
|
2411
2528
|
};
|
|
2412
2529
|
requestId: string;
|
|
2413
2530
|
};
|
|
2414
2531
|
outputFormat: "json";
|
|
2415
|
-
status:
|
|
2532
|
+
status: 502;
|
|
2416
2533
|
input: {
|
|
2417
2534
|
param: {
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
} & {
|
|
2421
|
-
query: {
|
|
2422
|
-
chainId: string | string[];
|
|
2535
|
+
orgId: string;
|
|
2536
|
+
source: "stripe" | "tempo";
|
|
2423
2537
|
};
|
|
2424
2538
|
};
|
|
2425
|
-
}
|
|
2426
|
-
};
|
|
2427
|
-
} & {
|
|
2428
|
-
"/:address/logo": {
|
|
2429
|
-
$put: {
|
|
2539
|
+
} | {
|
|
2430
2540
|
output: {
|
|
2431
2541
|
error: {
|
|
2432
|
-
code: "
|
|
2542
|
+
code: "not_found";
|
|
2433
2543
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2434
2544
|
message: string;
|
|
2435
2545
|
};
|
|
2436
2546
|
requestId: string;
|
|
2437
2547
|
};
|
|
2438
2548
|
outputFormat: "json";
|
|
2439
|
-
status:
|
|
2549
|
+
status: 404;
|
|
2440
2550
|
input: {
|
|
2441
2551
|
param: {
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
} & {
|
|
2445
|
-
query: {
|
|
2446
|
-
chainId: string | string[];
|
|
2552
|
+
orgId: string;
|
|
2553
|
+
source: "stripe" | "tempo";
|
|
2447
2554
|
};
|
|
2448
2555
|
};
|
|
2449
2556
|
} | {
|
|
2450
2557
|
output: {
|
|
2451
|
-
|
|
2452
|
-
code: "assets_not_enabled";
|
|
2453
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
2454
|
-
message: string;
|
|
2455
|
-
};
|
|
2456
|
-
requestId: string;
|
|
2558
|
+
data: ("stripe" | "tempo")[];
|
|
2457
2559
|
};
|
|
2458
2560
|
outputFormat: "json";
|
|
2459
|
-
status:
|
|
2561
|
+
status: 200;
|
|
2460
2562
|
input: {
|
|
2461
2563
|
param: {
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
} & {
|
|
2465
|
-
query: {
|
|
2466
|
-
chainId: string | string[];
|
|
2564
|
+
orgId: string;
|
|
2565
|
+
source: "stripe" | "tempo";
|
|
2467
2566
|
};
|
|
2468
2567
|
};
|
|
2469
|
-
}
|
|
2568
|
+
};
|
|
2569
|
+
};
|
|
2570
|
+
} & {
|
|
2571
|
+
"/:orgId/billing-sources/:source": {
|
|
2572
|
+
$delete: {
|
|
2470
2573
|
output: {
|
|
2471
2574
|
error: {
|
|
2472
|
-
code: "
|
|
2575
|
+
code: "upstream_error";
|
|
2473
2576
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2474
2577
|
message: string;
|
|
2475
2578
|
};
|
|
2476
2579
|
requestId: string;
|
|
2477
2580
|
};
|
|
2478
2581
|
outputFormat: "json";
|
|
2479
|
-
status:
|
|
2582
|
+
status: 502;
|
|
2480
2583
|
input: {
|
|
2481
2584
|
param: {
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
} & {
|
|
2485
|
-
query: {
|
|
2486
|
-
chainId: string | string[];
|
|
2585
|
+
orgId: string;
|
|
2586
|
+
source: "stripe" | "tempo";
|
|
2487
2587
|
};
|
|
2488
2588
|
};
|
|
2489
2589
|
} | {
|
|
2490
2590
|
output: {
|
|
2491
2591
|
error: {
|
|
2492
|
-
code: "
|
|
2592
|
+
code: "not_found";
|
|
2493
2593
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2494
2594
|
message: string;
|
|
2495
2595
|
};
|
|
2496
2596
|
requestId: string;
|
|
2497
2597
|
};
|
|
2498
2598
|
outputFormat: "json";
|
|
2499
|
-
status:
|
|
2599
|
+
status: 404;
|
|
2500
2600
|
input: {
|
|
2501
2601
|
param: {
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
} & {
|
|
2505
|
-
query: {
|
|
2506
|
-
chainId: string | string[];
|
|
2602
|
+
orgId: string;
|
|
2603
|
+
source: "stripe" | "tempo";
|
|
2507
2604
|
};
|
|
2508
2605
|
};
|
|
2509
2606
|
} | {
|
|
2510
2607
|
output: {
|
|
2511
|
-
|
|
2512
|
-
path: string;
|
|
2608
|
+
data: ("stripe" | "tempo")[];
|
|
2513
2609
|
};
|
|
2514
2610
|
outputFormat: "json";
|
|
2515
|
-
status:
|
|
2611
|
+
status: 200;
|
|
2516
2612
|
input: {
|
|
2517
2613
|
param: {
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
} & {
|
|
2521
|
-
query: {
|
|
2522
|
-
chainId: string | string[];
|
|
2614
|
+
orgId: string;
|
|
2615
|
+
source: "stripe" | "tempo";
|
|
2523
2616
|
};
|
|
2524
2617
|
};
|
|
2525
2618
|
};
|
|
2526
2619
|
};
|
|
2527
2620
|
} & {
|
|
2528
|
-
"/
|
|
2621
|
+
"/:orgId/members": {
|
|
2529
2622
|
$get: {
|
|
2530
|
-
output: {
|
|
2531
|
-
data: {
|
|
2532
|
-
address: `0x${string}`;
|
|
2533
|
-
currency: string;
|
|
2534
|
-
decimals: number;
|
|
2535
|
-
logoUri?: string | undefined;
|
|
2536
|
-
name: string;
|
|
2537
|
-
symbol: string;
|
|
2538
|
-
chainId: number;
|
|
2539
|
-
createdAt: string;
|
|
2540
|
-
id: string;
|
|
2541
|
-
logo?: string | undefined;
|
|
2542
|
-
note: string | null;
|
|
2543
|
-
orgId: string;
|
|
2544
|
-
requestedBy: string;
|
|
2545
|
-
reviewNote: string | null;
|
|
2546
|
-
reviewedAt: string | null;
|
|
2547
|
-
status: "approved" | "denied" | "pending";
|
|
2548
|
-
updatedAt: string;
|
|
2549
|
-
orgName: string | null;
|
|
2550
|
-
reviewedBy: string | null;
|
|
2551
|
-
}[];
|
|
2552
|
-
};
|
|
2553
|
-
outputFormat: "json";
|
|
2554
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
2555
|
-
input: {
|
|
2556
|
-
query?: {
|
|
2557
|
-
status?: string | string[];
|
|
2558
|
-
} | undefined;
|
|
2559
|
-
};
|
|
2560
|
-
};
|
|
2561
|
-
};
|
|
2562
|
-
} & {
|
|
2563
|
-
"/requests/:requestId/approve": {
|
|
2564
|
-
$post: {
|
|
2565
|
-
output: {
|
|
2566
|
-
error: {
|
|
2567
|
-
code: string;
|
|
2568
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
2569
|
-
message: string;
|
|
2570
|
-
};
|
|
2571
|
-
requestId: string;
|
|
2572
|
-
};
|
|
2573
|
-
outputFormat: "json";
|
|
2574
|
-
status: 400 | 413 | 415;
|
|
2575
|
-
input: {
|
|
2576
|
-
param: {
|
|
2577
|
-
requestId: string;
|
|
2578
|
-
};
|
|
2579
|
-
};
|
|
2580
|
-
} | {
|
|
2581
2623
|
output: {
|
|
2582
2624
|
error: {
|
|
2583
2625
|
code: "upstream_error";
|
|
@@ -2590,13 +2632,18 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
2590
2632
|
status: 502;
|
|
2591
2633
|
input: {
|
|
2592
2634
|
param: {
|
|
2593
|
-
|
|
2635
|
+
orgId: string;
|
|
2594
2636
|
};
|
|
2637
|
+
} & {
|
|
2638
|
+
query?: {
|
|
2639
|
+
cursor?: string | string[];
|
|
2640
|
+
limit?: string | string[];
|
|
2641
|
+
} | undefined;
|
|
2595
2642
|
};
|
|
2596
2643
|
} | {
|
|
2597
2644
|
output: {
|
|
2598
2645
|
error: {
|
|
2599
|
-
code: "
|
|
2646
|
+
code: "not_found";
|
|
2600
2647
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2601
2648
|
message: string;
|
|
2602
2649
|
};
|
|
@@ -2606,45 +2653,67 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
2606
2653
|
status: 404;
|
|
2607
2654
|
input: {
|
|
2608
2655
|
param: {
|
|
2609
|
-
|
|
2656
|
+
orgId: string;
|
|
2610
2657
|
};
|
|
2658
|
+
} & {
|
|
2659
|
+
query?: {
|
|
2660
|
+
cursor?: string | string[];
|
|
2661
|
+
limit?: string | string[];
|
|
2662
|
+
} | undefined;
|
|
2611
2663
|
};
|
|
2612
2664
|
} | {
|
|
2613
2665
|
output: {
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2666
|
+
data: {
|
|
2667
|
+
address: string | null;
|
|
2668
|
+
createdAt: string;
|
|
2669
|
+
email: string | null;
|
|
2670
|
+
role: "admin" | "member" | "owner";
|
|
2671
|
+
updatedAt: string;
|
|
2672
|
+
userId: string;
|
|
2673
|
+
}[];
|
|
2674
|
+
nextCursor: string | null;
|
|
2620
2675
|
};
|
|
2621
2676
|
outputFormat: "json";
|
|
2622
|
-
status:
|
|
2677
|
+
status: 200;
|
|
2623
2678
|
input: {
|
|
2624
2679
|
param: {
|
|
2625
|
-
|
|
2680
|
+
orgId: string;
|
|
2626
2681
|
};
|
|
2682
|
+
} & {
|
|
2683
|
+
query?: {
|
|
2684
|
+
cursor?: string | string[];
|
|
2685
|
+
limit?: string | string[];
|
|
2686
|
+
} | undefined;
|
|
2627
2687
|
};
|
|
2628
|
-
}
|
|
2688
|
+
};
|
|
2689
|
+
};
|
|
2690
|
+
} & {
|
|
2691
|
+
"/:orgId/projects": {
|
|
2692
|
+
$get: {
|
|
2629
2693
|
output: {
|
|
2630
2694
|
error: {
|
|
2631
|
-
code: "
|
|
2695
|
+
code: "upstream_error";
|
|
2632
2696
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2633
2697
|
message: string;
|
|
2634
2698
|
};
|
|
2635
2699
|
requestId: string;
|
|
2636
2700
|
};
|
|
2637
2701
|
outputFormat: "json";
|
|
2638
|
-
status:
|
|
2702
|
+
status: 502;
|
|
2639
2703
|
input: {
|
|
2640
2704
|
param: {
|
|
2641
|
-
|
|
2705
|
+
orgId: string;
|
|
2642
2706
|
};
|
|
2707
|
+
} & {
|
|
2708
|
+
query?: {
|
|
2709
|
+
cursor?: string | string[];
|
|
2710
|
+
limit?: string | string[];
|
|
2711
|
+
} | undefined;
|
|
2643
2712
|
};
|
|
2644
2713
|
} | {
|
|
2645
2714
|
output: {
|
|
2646
2715
|
error: {
|
|
2647
|
-
code: "
|
|
2716
|
+
code: "not_found";
|
|
2648
2717
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2649
2718
|
message: string;
|
|
2650
2719
|
};
|
|
@@ -2654,176 +2723,206 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
2654
2723
|
status: 404;
|
|
2655
2724
|
input: {
|
|
2656
2725
|
param: {
|
|
2657
|
-
|
|
2726
|
+
orgId: string;
|
|
2658
2727
|
};
|
|
2728
|
+
} & {
|
|
2729
|
+
query?: {
|
|
2730
|
+
cursor?: string | string[];
|
|
2731
|
+
limit?: string | string[];
|
|
2732
|
+
} | undefined;
|
|
2659
2733
|
};
|
|
2660
2734
|
} | {
|
|
2661
2735
|
output: {
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2736
|
+
data: {
|
|
2737
|
+
createdAt: string;
|
|
2738
|
+
id: string;
|
|
2739
|
+
name: string;
|
|
2740
|
+
updatedAt: string;
|
|
2741
|
+
}[];
|
|
2742
|
+
nextCursor: string | null;
|
|
2668
2743
|
};
|
|
2669
2744
|
outputFormat: "json";
|
|
2670
|
-
status:
|
|
2745
|
+
status: 200;
|
|
2671
2746
|
input: {
|
|
2672
2747
|
param: {
|
|
2673
|
-
|
|
2748
|
+
orgId: string;
|
|
2674
2749
|
};
|
|
2750
|
+
} & {
|
|
2751
|
+
query?: {
|
|
2752
|
+
cursor?: string | string[];
|
|
2753
|
+
limit?: string | string[];
|
|
2754
|
+
} | undefined;
|
|
2675
2755
|
};
|
|
2676
|
-
}
|
|
2756
|
+
};
|
|
2757
|
+
};
|
|
2758
|
+
} & {
|
|
2759
|
+
"/:orgId/api-keys": {
|
|
2760
|
+
$get: {
|
|
2677
2761
|
output: {
|
|
2678
2762
|
error: {
|
|
2679
|
-
code: "
|
|
2763
|
+
code: "upstream_error";
|
|
2680
2764
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2681
2765
|
message: string;
|
|
2682
2766
|
};
|
|
2683
2767
|
requestId: string;
|
|
2684
2768
|
};
|
|
2685
2769
|
outputFormat: "json";
|
|
2686
|
-
status:
|
|
2770
|
+
status: 502;
|
|
2687
2771
|
input: {
|
|
2688
2772
|
param: {
|
|
2689
|
-
|
|
2773
|
+
orgId: string;
|
|
2690
2774
|
};
|
|
2691
2775
|
};
|
|
2692
2776
|
} | {
|
|
2693
2777
|
output: {
|
|
2694
2778
|
error: {
|
|
2695
|
-
code: "
|
|
2779
|
+
code: "not_found";
|
|
2696
2780
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2697
2781
|
message: string;
|
|
2698
2782
|
};
|
|
2699
2783
|
requestId: string;
|
|
2700
2784
|
};
|
|
2701
2785
|
outputFormat: "json";
|
|
2702
|
-
status:
|
|
2786
|
+
status: 404;
|
|
2703
2787
|
input: {
|
|
2704
2788
|
param: {
|
|
2705
|
-
|
|
2789
|
+
orgId: string;
|
|
2706
2790
|
};
|
|
2707
2791
|
};
|
|
2708
2792
|
} | {
|
|
2709
2793
|
output: {
|
|
2710
2794
|
data: {
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
logoUri?: string | undefined;
|
|
2715
|
-
name: string;
|
|
2716
|
-
symbol: string;
|
|
2717
|
-
chainId: number;
|
|
2718
|
-
createdAt: string;
|
|
2795
|
+
allowedIps: readonly string[];
|
|
2796
|
+
billingActive?: boolean | undefined;
|
|
2797
|
+
environment: "production" | "sandbox";
|
|
2719
2798
|
id: string;
|
|
2720
|
-
|
|
2721
|
-
note: string | null;
|
|
2799
|
+
name?: string | undefined;
|
|
2722
2800
|
orgId: string;
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2801
|
+
projectId?: string | undefined;
|
|
2802
|
+
rateLimits?: {
|
|
2803
|
+
[x: string]: {
|
|
2804
|
+
limit: number;
|
|
2805
|
+
period: "minute" | "second";
|
|
2806
|
+
};
|
|
2807
|
+
} | undefined;
|
|
2808
|
+
scopes: readonly string[];
|
|
2809
|
+
createdAt: string;
|
|
2810
|
+
createdBy?: string | undefined;
|
|
2811
|
+
expiresAt?: string | undefined;
|
|
2812
|
+
tokenLast4: string;
|
|
2813
|
+
}[];
|
|
2731
2814
|
};
|
|
2732
2815
|
outputFormat: "json";
|
|
2733
|
-
status:
|
|
2816
|
+
status: 200;
|
|
2734
2817
|
input: {
|
|
2735
2818
|
param: {
|
|
2736
|
-
|
|
2819
|
+
orgId: string;
|
|
2737
2820
|
};
|
|
2738
2821
|
};
|
|
2739
2822
|
};
|
|
2740
2823
|
};
|
|
2741
2824
|
} & {
|
|
2742
|
-
"
|
|
2743
|
-
$
|
|
2825
|
+
"/:orgId/usage": {
|
|
2826
|
+
$get: {
|
|
2744
2827
|
output: {
|
|
2745
2828
|
error: {
|
|
2746
|
-
code:
|
|
2829
|
+
code: "upstream_error";
|
|
2747
2830
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2748
2831
|
message: string;
|
|
2749
2832
|
};
|
|
2750
2833
|
requestId: string;
|
|
2751
2834
|
};
|
|
2752
2835
|
outputFormat: "json";
|
|
2753
|
-
status:
|
|
2836
|
+
status: 502;
|
|
2754
2837
|
input: {
|
|
2755
2838
|
param: {
|
|
2756
|
-
|
|
2839
|
+
orgId: string;
|
|
2757
2840
|
};
|
|
2758
2841
|
} & {
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
};
|
|
2842
|
+
query?: {
|
|
2843
|
+
period?: string | string[];
|
|
2844
|
+
} | undefined;
|
|
2762
2845
|
};
|
|
2763
2846
|
} | {
|
|
2764
2847
|
output: {
|
|
2765
2848
|
error: {
|
|
2766
|
-
code: "
|
|
2849
|
+
code: "not_found";
|
|
2767
2850
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2768
2851
|
message: string;
|
|
2769
2852
|
};
|
|
2770
2853
|
requestId: string;
|
|
2771
2854
|
};
|
|
2772
2855
|
outputFormat: "json";
|
|
2773
|
-
status:
|
|
2856
|
+
status: 404;
|
|
2774
2857
|
input: {
|
|
2775
2858
|
param: {
|
|
2776
|
-
|
|
2859
|
+
orgId: string;
|
|
2777
2860
|
};
|
|
2778
2861
|
} & {
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
};
|
|
2862
|
+
query?: {
|
|
2863
|
+
period?: string | string[];
|
|
2864
|
+
} | undefined;
|
|
2782
2865
|
};
|
|
2783
2866
|
} | {
|
|
2784
2867
|
output: {
|
|
2785
|
-
|
|
2786
|
-
code:
|
|
2787
|
-
|
|
2788
|
-
|
|
2868
|
+
byError: {
|
|
2869
|
+
code: string;
|
|
2870
|
+
requests: number;
|
|
2871
|
+
}[];
|
|
2872
|
+
byRoute: {
|
|
2873
|
+
errors: number;
|
|
2874
|
+
requests: number;
|
|
2875
|
+
averageDurationMs: number;
|
|
2876
|
+
route: string;
|
|
2877
|
+
}[];
|
|
2878
|
+
byStatus: {
|
|
2879
|
+
requests: number;
|
|
2880
|
+
status: number;
|
|
2881
|
+
}[];
|
|
2882
|
+
from: string;
|
|
2883
|
+
period: "24h" | "30d" | "7d";
|
|
2884
|
+
to: string;
|
|
2885
|
+
totals: {
|
|
2886
|
+
errors: number;
|
|
2887
|
+
requests: number;
|
|
2888
|
+
averageDurationMs: number;
|
|
2789
2889
|
};
|
|
2790
|
-
requestId: string;
|
|
2791
2890
|
};
|
|
2792
2891
|
outputFormat: "json";
|
|
2793
|
-
status:
|
|
2892
|
+
status: 200;
|
|
2794
2893
|
input: {
|
|
2795
2894
|
param: {
|
|
2796
|
-
|
|
2895
|
+
orgId: string;
|
|
2797
2896
|
};
|
|
2798
2897
|
} & {
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
};
|
|
2898
|
+
query?: {
|
|
2899
|
+
period?: string | string[];
|
|
2900
|
+
} | undefined;
|
|
2802
2901
|
};
|
|
2803
|
-
}
|
|
2902
|
+
};
|
|
2903
|
+
};
|
|
2904
|
+
} & {
|
|
2905
|
+
"/:orgId/sponsorship": {
|
|
2906
|
+
$get: {
|
|
2804
2907
|
output: {
|
|
2805
2908
|
error: {
|
|
2806
|
-
code: "
|
|
2909
|
+
code: "upstream_error";
|
|
2807
2910
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2808
2911
|
message: string;
|
|
2809
2912
|
};
|
|
2810
2913
|
requestId: string;
|
|
2811
2914
|
};
|
|
2812
2915
|
outputFormat: "json";
|
|
2813
|
-
status:
|
|
2916
|
+
status: 502;
|
|
2814
2917
|
input: {
|
|
2815
2918
|
param: {
|
|
2816
|
-
|
|
2817
|
-
};
|
|
2818
|
-
} & {
|
|
2819
|
-
json: {
|
|
2820
|
-
reviewNote?: string | undefined;
|
|
2919
|
+
orgId: string;
|
|
2821
2920
|
};
|
|
2822
2921
|
};
|
|
2823
2922
|
} | {
|
|
2824
2923
|
output: {
|
|
2825
2924
|
error: {
|
|
2826
|
-
code: "
|
|
2925
|
+
code: "not_found";
|
|
2827
2926
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2828
2927
|
message: string;
|
|
2829
2928
|
};
|
|
@@ -2833,111 +2932,103 @@ export declare function create(options: create.Options): import("hono/hono-base"
|
|
|
2833
2932
|
status: 404;
|
|
2834
2933
|
input: {
|
|
2835
2934
|
param: {
|
|
2836
|
-
|
|
2837
|
-
};
|
|
2838
|
-
} & {
|
|
2839
|
-
json: {
|
|
2840
|
-
reviewNote?: string | undefined;
|
|
2935
|
+
orgId: string;
|
|
2841
2936
|
};
|
|
2842
2937
|
};
|
|
2843
2938
|
} | {
|
|
2844
2939
|
output: {
|
|
2845
|
-
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
|
|
2940
|
+
production: {
|
|
2941
|
+
committedSpend: string;
|
|
2942
|
+
currency: "usd";
|
|
2943
|
+
from: string;
|
|
2944
|
+
period: "month";
|
|
2849
2945
|
};
|
|
2850
|
-
|
|
2946
|
+
sandbox: {
|
|
2947
|
+
committedSpend: string;
|
|
2948
|
+
currency: "usd";
|
|
2949
|
+
from: string;
|
|
2950
|
+
period: "month";
|
|
2951
|
+
};
|
|
2952
|
+
to: string;
|
|
2851
2953
|
};
|
|
2852
2954
|
outputFormat: "json";
|
|
2853
|
-
status:
|
|
2955
|
+
status: 200;
|
|
2854
2956
|
input: {
|
|
2855
2957
|
param: {
|
|
2856
|
-
|
|
2857
|
-
};
|
|
2858
|
-
} & {
|
|
2859
|
-
json: {
|
|
2860
|
-
reviewNote?: string | undefined;
|
|
2958
|
+
orgId: string;
|
|
2861
2959
|
};
|
|
2862
2960
|
};
|
|
2863
|
-
}
|
|
2961
|
+
};
|
|
2962
|
+
};
|
|
2963
|
+
} & {
|
|
2964
|
+
"/:orgId/webhooks": {
|
|
2965
|
+
$get: {
|
|
2864
2966
|
output: {
|
|
2865
2967
|
error: {
|
|
2866
|
-
code: "
|
|
2968
|
+
code: "upstream_error";
|
|
2867
2969
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2868
2970
|
message: string;
|
|
2869
2971
|
};
|
|
2870
2972
|
requestId: string;
|
|
2871
2973
|
};
|
|
2872
2974
|
outputFormat: "json";
|
|
2873
|
-
status:
|
|
2975
|
+
status: 502;
|
|
2874
2976
|
input: {
|
|
2875
2977
|
param: {
|
|
2876
|
-
|
|
2877
|
-
};
|
|
2878
|
-
} & {
|
|
2879
|
-
json: {
|
|
2880
|
-
reviewNote?: string | undefined;
|
|
2978
|
+
orgId: string;
|
|
2881
2979
|
};
|
|
2882
2980
|
};
|
|
2883
2981
|
} | {
|
|
2884
2982
|
output: {
|
|
2885
2983
|
error: {
|
|
2886
|
-
code: "
|
|
2984
|
+
code: "not_found";
|
|
2887
2985
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2888
2986
|
message: string;
|
|
2889
2987
|
};
|
|
2890
2988
|
requestId: string;
|
|
2891
2989
|
};
|
|
2892
2990
|
outputFormat: "json";
|
|
2893
|
-
status:
|
|
2991
|
+
status: 404;
|
|
2894
2992
|
input: {
|
|
2895
2993
|
param: {
|
|
2896
|
-
|
|
2897
|
-
};
|
|
2898
|
-
} & {
|
|
2899
|
-
json: {
|
|
2900
|
-
reviewNote?: string | undefined;
|
|
2994
|
+
orgId: string;
|
|
2901
2995
|
};
|
|
2902
2996
|
};
|
|
2903
2997
|
} | {
|
|
2904
2998
|
output: {
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
|
|
2999
|
+
failureCount: number;
|
|
3000
|
+
failures: {
|
|
3001
|
+
attempt: number;
|
|
3002
|
+
createdAt: string;
|
|
3003
|
+
error: string | null;
|
|
3004
|
+
id: string;
|
|
3005
|
+
responseStatus: number | null;
|
|
3006
|
+
subscriptionId: string;
|
|
3007
|
+
}[];
|
|
3008
|
+
failuresTruncated: boolean;
|
|
3009
|
+
from: string;
|
|
3010
|
+
subscriptions: {
|
|
2912
3011
|
chainId: number;
|
|
2913
3012
|
createdAt: string;
|
|
3013
|
+
destination: string;
|
|
3014
|
+
eventType: string;
|
|
3015
|
+
failureCount: number;
|
|
2914
3016
|
id: string;
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
reviewNote: string | null;
|
|
2920
|
-
reviewedAt: string | null;
|
|
2921
|
-
status: "approved" | "denied" | "pending";
|
|
2922
|
-
updatedAt: string;
|
|
2923
|
-
orgName: string | null;
|
|
2924
|
-
reviewedBy: string | null;
|
|
2925
|
-
};
|
|
3017
|
+
lastDeliveryAt: string | null;
|
|
3018
|
+
status: "active" | "disabled" | "paused";
|
|
3019
|
+
}[];
|
|
3020
|
+
to: string;
|
|
2926
3021
|
};
|
|
2927
3022
|
outputFormat: "json";
|
|
2928
|
-
status:
|
|
3023
|
+
status: 200;
|
|
2929
3024
|
input: {
|
|
2930
3025
|
param: {
|
|
2931
|
-
|
|
2932
|
-
};
|
|
2933
|
-
} & {
|
|
2934
|
-
json: {
|
|
2935
|
-
reviewNote?: string | undefined;
|
|
3026
|
+
orgId: string;
|
|
2936
3027
|
};
|
|
2937
3028
|
};
|
|
2938
3029
|
};
|
|
2939
3030
|
};
|
|
2940
|
-
}, "/
|
|
3031
|
+
}, "/organizations"> | {
|
|
2941
3032
|
"/config.json": {
|
|
2942
3033
|
$get: {
|
|
2943
3034
|
output: {
|