tapimo 0.10.2 → 0.12.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 +4896 -2166
- package/dist/App.d.ts.map +1 -1
- package/dist/App.js +2 -2
- package/dist/App.js.map +1 -1
- package/dist/Assets.d.ts +15 -0
- package/dist/Assets.d.ts.map +1 -1
- package/dist/Assets.js +7 -0
- package/dist/Assets.js.map +1 -1
- package/dist/Webhooks.d.ts +0 -75
- package/dist/Webhooks.d.ts.map +1 -1
- package/dist/Webhooks.js +1 -143
- package/dist/Webhooks.js.map +1 -1
- package/dist/admin/App.d.ts +127 -78
- package/dist/admin/App.d.ts.map +1 -1
- package/dist/admin/apps/earn-vaults.d.ts +115 -1
- package/dist/admin/apps/earn-vaults.d.ts.map +1 -1
- package/dist/admin/apps/earn-vaults.js +59 -6
- package/dist/admin/apps/earn-vaults.js.map +1 -1
- package/dist/admin/apps/organizations.d.ts +3 -3
- package/dist/admin/apps/organizations.d.ts.map +1 -1
- package/dist/admin/apps/organizations.js +4 -2
- package/dist/admin/apps/organizations.js.map +1 -1
- package/dist/admin/apps/verified-tokens.d.ts +83 -83
- package/dist/admin/ui.generated.d.ts +1 -1
- package/dist/admin/ui.generated.d.ts.map +1 -1
- package/dist/admin/ui.generated.js +151 -151
- package/dist/admin/ui.generated.js.map +1 -1
- package/dist/apps/data/App.d.ts +5924 -4310
- package/dist/apps/data/App.d.ts.map +1 -1
- package/dist/apps/data/App.js +61 -9
- package/dist/apps/data/App.js.map +1 -1
- package/dist/apps/data/ZoneSelection.d.ts +62 -0
- package/dist/apps/data/ZoneSelection.d.ts.map +1 -0
- package/dist/apps/data/ZoneSelection.js +44 -0
- package/dist/apps/data/ZoneSelection.js.map +1 -0
- package/dist/apps/data/routes/activities.d.ts +2368 -5
- package/dist/apps/data/routes/activities.d.ts.map +1 -1
- package/dist/apps/data/routes/activities.js +423 -114
- package/dist/apps/data/routes/activities.js.map +1 -1
- package/dist/apps/data/routes/addresses.d.ts +131 -0
- package/dist/apps/data/routes/addresses.d.ts.map +1 -1
- package/dist/apps/data/routes/balances.d.ts +25 -25
- package/dist/apps/data/routes/balances.js +1 -1
- package/dist/apps/data/routes/balances.js.map +1 -1
- package/dist/apps/data/routes/blocks.d.ts +1 -1
- package/dist/apps/data/routes/blocks.js +1 -1
- package/dist/apps/data/routes/blocks.js.map +1 -1
- package/dist/apps/data/routes/earn.d.ts +135 -10
- package/dist/apps/data/routes/earn.d.ts.map +1 -1
- package/dist/apps/data/routes/earn.js +157 -25
- package/dist/apps/data/routes/earn.js.map +1 -1
- package/dist/apps/data/routes/exchanges.d.ts +829 -123
- package/dist/apps/data/routes/exchanges.d.ts.map +1 -1
- package/dist/apps/data/routes/exchanges.js +16 -13
- package/dist/apps/data/routes/exchanges.js.map +1 -1
- package/dist/apps/data/routes/fee-amm.d.ts +26 -26
- package/dist/apps/data/routes/fee-amm.d.ts.map +1 -1
- package/dist/apps/data/routes/fee-amm.js +9 -11
- package/dist/apps/data/routes/fee-amm.js.map +1 -1
- package/dist/apps/data/routes/receipts.d.ts +54 -54
- package/dist/apps/data/routes/receipts.js +1 -1
- package/dist/apps/data/routes/receipts.js.map +1 -1
- package/dist/apps/data/routes/rpc.js +24 -10
- package/dist/apps/data/routes/rpc.js.map +1 -1
- package/dist/apps/data/routes/tokenlist.d.ts +12 -12
- package/dist/apps/data/routes/tokenlist.d.ts.map +1 -1
- package/dist/apps/data/routes/tokenlist.js +16 -15
- package/dist/apps/data/routes/tokenlist.js.map +1 -1
- package/dist/apps/data/routes/tokens.d.ts +17 -3
- package/dist/apps/data/routes/tokens.d.ts.map +1 -1
- package/dist/apps/data/routes/tokens.js +34 -15
- package/dist/apps/data/routes/tokens.js.map +1 -1
- package/dist/apps/data/routes/transactions.d.ts +1 -1
- package/dist/apps/data/routes/transactions.js +1 -1
- package/dist/apps/data/routes/transactions.js.map +1 -1
- package/dist/apps/data/routes/transfers.d.ts +13 -13
- package/dist/apps/data/routes/transfers.d.ts.map +1 -1
- package/dist/apps/data/routes/transfers.js +7 -9
- package/dist/apps/data/routes/transfers.js.map +1 -1
- package/dist/apps/data/routes/valuation.d.ts +21 -21
- package/dist/apps/data/routes/verified-tokens.d.ts +5 -5
- package/dist/apps/data/routes/webhooks.d.ts +1011 -151
- package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/data/routes/webhooks.js +126 -739
- package/dist/apps/data/routes/webhooks.js.map +1 -1
- package/dist/apps/data/routes/zones.d.ts +15 -15
- package/dist/apps/funding/App.d.ts +27 -27
- package/dist/apps/funding/routes/chains.d.ts.map +1 -1
- package/dist/apps/funding/routes/chains.js +5 -4
- package/dist/apps/funding/routes/chains.js.map +1 -1
- package/dist/apps/funding/routes/deposit-addresses.d.ts +18 -18
- package/dist/apps/funding/routes/deposit-addresses.d.ts.map +1 -1
- package/dist/apps/funding/routes/deposit-addresses.js +8 -8
- package/dist/apps/funding/routes/deposit-addresses.js.map +1 -1
- package/dist/apps/funding/routes/providers.d.ts.map +1 -1
- package/dist/apps/funding/routes/providers.js +3 -2
- package/dist/apps/funding/routes/providers.js.map +1 -1
- package/dist/apps/funding/routes/quotes.d.ts.map +1 -1
- package/dist/apps/funding/routes/quotes.js +2 -2
- package/dist/apps/funding/routes/quotes.js.map +1 -1
- package/dist/apps/funding/routes/transfers.d.ts +33 -33
- package/dist/apps/management/App.d.ts +1433 -322
- package/dist/apps/management/App.d.ts.map +1 -1
- package/dist/apps/management/Billing.d.ts.map +1 -1
- package/dist/apps/management/Billing.js +19 -6
- package/dist/apps/management/Billing.js.map +1 -1
- package/dist/apps/management/routes/api-keys.d.ts +154 -94
- package/dist/apps/management/routes/api-keys.d.ts.map +1 -1
- package/dist/apps/management/routes/api-keys.js +76 -30
- package/dist/apps/management/routes/api-keys.js.map +1 -1
- package/dist/apps/management/routes/billing.d.ts +103 -30
- package/dist/apps/management/routes/billing.d.ts.map +1 -1
- package/dist/apps/management/routes/billing.js +91 -32
- package/dist/apps/management/routes/billing.js.map +1 -1
- package/dist/apps/management/routes/faucet.d.ts +12 -12
- package/dist/apps/management/routes/faucet.d.ts.map +1 -1
- package/dist/apps/management/routes/faucet.js +23 -12
- package/dist/apps/management/routes/faucet.js.map +1 -1
- package/dist/apps/management/routes/invitations.d.ts +46 -13
- package/dist/apps/management/routes/invitations.d.ts.map +1 -1
- package/dist/apps/management/routes/invitations.js +79 -29
- package/dist/apps/management/routes/invitations.js.map +1 -1
- package/dist/apps/management/routes/invite-links.d.ts +128 -83
- package/dist/apps/management/routes/invite-links.d.ts.map +1 -1
- package/dist/apps/management/routes/invite-links.js +100 -41
- package/dist/apps/management/routes/invite-links.js.map +1 -1
- package/dist/apps/management/routes/me.d.ts +5 -5
- package/dist/apps/management/routes/me.d.ts.map +1 -1
- package/dist/apps/management/routes/me.js +14 -10
- package/dist/apps/management/routes/me.js.map +1 -1
- package/dist/apps/management/routes/members.d.ts +68 -47
- package/dist/apps/management/routes/members.d.ts.map +1 -1
- package/dist/apps/management/routes/members.js +37 -18
- package/dist/apps/management/routes/members.js.map +1 -1
- package/dist/apps/management/routes/orgs.d.ts +48 -8
- package/dist/apps/management/routes/orgs.d.ts.map +1 -1
- package/dist/apps/management/routes/orgs.js +48 -19
- package/dist/apps/management/routes/orgs.js.map +1 -1
- package/dist/apps/management/routes/projects.d.ts +130 -68
- package/dist/apps/management/routes/projects.d.ts.map +1 -1
- package/dist/apps/management/routes/projects.js +72 -21
- package/dist/apps/management/routes/projects.js.map +1 -1
- package/dist/apps/management/routes/scopes.d.ts.map +1 -1
- package/dist/apps/management/routes/scopes.js +8 -5
- package/dist/apps/management/routes/scopes.js.map +1 -1
- package/dist/apps/management/routes/usage.d.ts +38 -38
- package/dist/apps/management/routes/usage.d.ts.map +1 -1
- package/dist/apps/management/routes/usage.js +41 -31
- package/dist/apps/management/routes/usage.js.map +1 -1
- package/dist/apps/management/routes/verified-token-requests.d.ts +34 -6
- package/dist/apps/management/routes/verified-token-requests.d.ts.map +1 -1
- package/dist/apps/management/routes/verified-token-requests.js +36 -17
- package/dist/apps/management/routes/verified-token-requests.js.map +1 -1
- package/dist/apps/management/routes/webhooks.d.ts +1186 -197
- package/dist/apps/management/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/management/routes/webhooks.js +106 -38
- package/dist/apps/management/routes/webhooks.js.map +1 -1
- package/dist/apps/mpp/internal/Adapter.d.ts +1 -1
- package/dist/apps/mpp/internal/Adapter.d.ts.map +1 -1
- package/dist/apps/mpp/internal/Adapter.js +12 -0
- package/dist/apps/mpp/internal/Adapter.js.map +1 -1
- package/dist/db/Db.d.ts +2 -0
- package/dist/db/Db.d.ts.map +1 -1
- package/dist/db/Db.js +61 -0
- package/dist/db/Db.js.map +1 -1
- package/dist/db/Schema.d.ts +30 -2
- package/dist/db/Schema.d.ts.map +1 -1
- package/dist/db/Schema.js +28 -3
- package/dist/db/Schema.js.map +1 -1
- package/dist/db/tables/earnVaults.d.ts +5 -1
- package/dist/db/tables/earnVaults.d.ts.map +1 -1
- package/dist/db/tables/earnVaults.js +5 -0
- package/dist/db/tables/earnVaults.js.map +1 -1
- package/dist/db/tables/webhookDeliveries.d.ts.map +1 -1
- package/dist/db/tables/webhookDeliveries.js +10 -0
- package/dist/db/tables/webhookDeliveries.js.map +1 -1
- package/dist/db/tables/webhookQueueCompletions.d.ts +15 -0
- package/dist/db/tables/webhookQueueCompletions.d.ts.map +1 -0
- package/dist/db/tables/webhookQueueCompletions.js +32 -0
- package/dist/db/tables/webhookQueueCompletions.js.map +1 -0
- package/dist/db/tables/webhookQueueEvents.d.ts +16 -20
- package/dist/db/tables/webhookQueueEvents.d.ts.map +1 -1
- package/dist/db/tables/webhookQueueEvents.js +68 -43
- package/dist/db/tables/webhookQueueEvents.js.map +1 -1
- package/dist/db/tables/webhookSubscriptions.d.ts +47 -72
- package/dist/db/tables/webhookSubscriptions.d.ts.map +1 -1
- package/dist/db/tables/webhookSubscriptions.js +92 -105
- package/dist/db/tables/webhookSubscriptions.js.map +1 -1
- package/dist/internal/Auth.d.ts +8 -1
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +13 -3
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/Cache.d.ts.map +1 -1
- package/dist/internal/Cache.js +11 -7
- package/dist/internal/Cache.js.map +1 -1
- package/dist/internal/EarnVaults.d.ts +41 -2
- package/dist/internal/EarnVaults.d.ts.map +1 -1
- package/dist/internal/EarnVaults.js +167 -0
- package/dist/internal/EarnVaults.js.map +1 -1
- package/dist/internal/MetricSink.d.ts +35 -125
- package/dist/internal/MetricSink.d.ts.map +1 -1
- package/dist/internal/MetricSink.js +50 -121
- package/dist/internal/MetricSink.js.map +1 -1
- package/dist/internal/OpenApi.d.ts +26 -22
- package/dist/internal/OpenApi.d.ts.map +1 -1
- package/dist/internal/OpenApi.js +128 -39
- package/dist/internal/OpenApi.js.map +1 -1
- package/dist/internal/Response.d.ts +13 -8
- package/dist/internal/Response.d.ts.map +1 -1
- package/dist/internal/Response.js +16 -5
- package/dist/internal/Response.js.map +1 -1
- package/dist/internal/Schema.d.ts +8 -8
- package/dist/internal/Schema.d.ts.map +1 -1
- package/dist/internal/Schema.js +10 -9
- package/dist/internal/Schema.js.map +1 -1
- package/dist/internal/Store.d.ts +15 -6
- package/dist/internal/Store.d.ts.map +1 -1
- package/dist/internal/Store.js +45 -15
- package/dist/internal/Store.js.map +1 -1
- package/dist/internal/Tidx.d.ts +2 -0
- package/dist/internal/Tidx.d.ts.map +1 -1
- package/dist/internal/Tidx.js +16 -4
- package/dist/internal/Tidx.js.map +1 -1
- package/dist/internal/WebhookTransfer.d.ts +1 -55
- package/dist/internal/WebhookTransfer.d.ts.map +1 -1
- package/dist/internal/WebhookTransfer.js +1 -239
- package/dist/internal/WebhookTransfer.js.map +1 -1
- package/dist/internal/Webhooks.d.ts +112 -56
- package/dist/internal/Webhooks.d.ts.map +1 -1
- package/dist/internal/Webhooks.js +124 -93
- package/dist/internal/Webhooks.js.map +1 -1
- package/dist/internal/funding/Deposit.d.ts +2 -2
- package/dist/internal/funding/Deposit.d.ts.map +1 -1
- package/dist/internal/funding/Deposit.js +9 -8
- package/dist/internal/funding/Deposit.js.map +1 -1
- package/dist/internal/funding/DepositAddress.d.ts +4 -4
- package/dist/internal/funding/DepositAddress.d.ts.map +1 -1
- package/dist/internal/funding/DepositAddress.js +9 -8
- package/dist/internal/funding/DepositAddress.js.map +1 -1
- package/dist/internal/funding/DepositWebhook.d.ts +25 -0
- package/dist/internal/funding/DepositWebhook.d.ts.map +1 -0
- package/dist/internal/funding/DepositWebhook.js +74 -0
- package/dist/internal/funding/DepositWebhook.js.map +1 -0
- package/dist/internal/funding/Provider.d.ts.map +1 -1
- package/dist/internal/funding/Provider.js +13 -12
- package/dist/internal/funding/Provider.js.map +1 -1
- package/dist/internal/funding/Reconciliation.d.ts +6 -0
- package/dist/internal/funding/Reconciliation.d.ts.map +1 -1
- package/dist/internal/funding/Reconciliation.js +42 -10
- package/dist/internal/funding/Reconciliation.js.map +1 -1
- package/dist/internal/funding/index.d.ts +1 -0
- package/dist/internal/funding/index.d.ts.map +1 -1
- package/dist/internal/funding/index.js +1 -0
- package/dist/internal/funding/index.js.map +1 -1
- package/dist/internal/funding/providers/stargate.d.ts +19 -0
- package/dist/internal/funding/providers/stargate.d.ts.map +1 -0
- package/dist/internal/funding/providers/stargate.js +143 -0
- package/dist/internal/funding/providers/stargate.js.map +1 -0
- 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/dist/providers/index.d.ts +7 -0
- package/dist/providers/index.d.ts.map +1 -1
- package/dist/providers/index.js +3 -0
- package/dist/providers/index.js.map +1 -1
- package/package.json +2 -2
- package/src/App.test.ts +48 -0
- package/src/App.ts +7 -2
- package/src/Assets.test.ts +18 -0
- package/src/Assets.ts +22 -0
- package/src/Client.test-d.ts +287 -17
- package/src/Webhooks.ts +1 -220
- package/src/admin/apps/earn-vaults.test.ts +143 -0
- package/src/admin/apps/earn-vaults.ts +83 -6
- package/src/admin/apps/organizations.ts +6 -2
- package/src/admin/ui/src/routes/api-keys.tsx +36 -0
- package/src/admin/ui.generated.ts +151 -189
- package/src/apps/data/App.test.ts +31 -0
- package/src/apps/data/App.ts +64 -10
- package/src/apps/data/ZoneSelection.test.ts +196 -0
- package/src/apps/data/ZoneSelection.ts +108 -0
- package/src/apps/data/routes/activities.test.ts +435 -12
- package/src/apps/data/routes/activities.ts +562 -125
- package/src/apps/data/routes/balances.ts +1 -1
- package/src/apps/data/routes/blocks.ts +1 -1
- package/src/apps/data/routes/earn.test.ts +183 -23
- package/src/apps/data/routes/earn.ts +225 -29
- package/src/apps/data/routes/earn.zone-access.test.ts +46 -0
- package/src/apps/data/routes/exchanges.test.ts +31 -1
- package/src/apps/data/routes/exchanges.ts +19 -15
- package/src/apps/data/routes/fee-amm.ts +18 -11
- package/src/apps/data/routes/receipts.ts +1 -1
- package/src/apps/data/routes/rpc.test.ts +75 -0
- package/src/apps/data/routes/rpc.ts +23 -9
- package/src/apps/data/routes/tokenlist.ts +21 -18
- package/src/apps/data/routes/tokens.test.ts +29 -0
- package/src/apps/data/routes/tokens.ts +38 -15
- package/src/apps/data/routes/transactions.ts +1 -1
- package/src/apps/data/routes/transfers.test.ts +3 -3
- package/src/apps/data/routes/transfers.ts +12 -9
- package/src/apps/data/routes/webhooks.test.ts +179 -1497
- package/src/apps/data/routes/webhooks.ts +156 -976
- package/src/apps/data/routes/zones.test.ts +19 -13
- package/src/apps/funding/routes/chains.test.ts +211 -7
- package/src/apps/funding/routes/chains.ts +19 -12
- package/src/apps/funding/routes/deposit-addresses.test.ts +394 -0
- package/src/apps/funding/routes/deposit-addresses.ts +84 -72
- package/src/apps/funding/routes/providers.ts +9 -5
- package/src/apps/funding/routes/quotes.test.ts +46 -0
- package/src/apps/funding/routes/quotes.ts +8 -5
- package/src/apps/funding/routes/transfers.test.ts +35 -32
- package/src/apps/management/Billing.test.ts +26 -0
- package/src/apps/management/Billing.ts +24 -7
- package/src/apps/management/routes/api-keys.test.ts +178 -0
- package/src/apps/management/routes/api-keys.ts +203 -144
- package/src/apps/management/routes/billing.test.ts +209 -0
- package/src/apps/management/routes/billing.ts +254 -177
- package/src/apps/management/routes/faucet.test.ts +39 -0
- package/src/apps/management/routes/faucet.ts +75 -41
- package/src/apps/management/routes/invitations.test.ts +216 -0
- package/src/apps/management/routes/invitations.ts +186 -109
- package/src/apps/management/routes/invite-links.test.ts +263 -1
- package/src/apps/management/routes/invite-links.ts +295 -214
- package/src/apps/management/routes/me.test.ts +49 -0
- package/src/apps/management/routes/me.ts +42 -32
- package/src/apps/management/routes/members.test.ts +124 -1
- package/src/apps/management/routes/members.ts +81 -51
- package/src/apps/management/routes/orgs.test.ts +176 -0
- package/src/apps/management/routes/orgs.ts +101 -59
- package/src/apps/management/routes/projects.test.ts +183 -0
- package/src/apps/management/routes/projects.ts +124 -60
- package/src/apps/management/routes/scopes.test.ts +44 -0
- package/src/apps/management/routes/scopes.ts +37 -28
- package/src/apps/management/routes/usage.test.ts +92 -0
- package/src/apps/management/routes/usage.ts +186 -151
- package/src/apps/management/routes/verified-token-requests.test.ts +114 -0
- package/src/apps/management/routes/verified-token-requests.ts +166 -133
- package/src/apps/management/routes/webhooks.test.ts +313 -1
- package/src/apps/management/routes/webhooks.ts +220 -71
- package/src/apps/mpp/internal/Adapter.ts +13 -1
- package/src/db/Db.test.ts +42 -5
- package/src/db/Db.ts +85 -0
- package/src/db/Schema.ts +41 -3
- package/src/db/tables/earnVaults.test.ts +22 -0
- package/src/db/tables/earnVaults.ts +11 -1
- package/src/db/tables/organizations.test.ts +5 -2
- package/src/db/tables/webhookDeliveries.ts +13 -0
- package/src/db/tables/webhookQueueCompletions.ts +55 -0
- package/src/db/tables/webhookQueueEvents.ts +97 -57
- package/src/db/tables/webhookSubscriptions.ts +134 -144
- package/src/internal/Auth.ts +23 -5
- package/src/internal/Cache.ts +14 -7
- package/src/internal/EarnVaults.capabilities.test.ts +33 -0
- package/src/internal/EarnVaults.test.ts +79 -0
- package/src/internal/EarnVaults.ts +277 -0
- package/src/internal/MetricSink.test.ts +41 -373
- package/src/internal/MetricSink.ts +92 -273
- package/src/internal/OpenApi.ts +165 -49
- package/src/internal/Response.test.ts +95 -0
- package/src/internal/Response.ts +40 -2
- package/src/internal/Schema.test.ts +34 -0
- package/src/internal/Schema.ts +20 -9
- package/src/internal/Store.test.ts +186 -0
- package/src/internal/Store.ts +57 -17
- package/src/internal/Tidx.test.ts +19 -0
- package/src/internal/Tidx.ts +16 -4
- package/src/internal/WebhookTransfer.ts +1 -351
- package/src/internal/Webhooks.test.ts +222 -145
- package/src/internal/Webhooks.ts +234 -135
- package/src/internal/funding/Deposit.ts +71 -64
- package/src/internal/funding/DepositAddress.ts +50 -43
- package/src/internal/funding/DepositWebhook.test.ts +131 -0
- package/src/internal/funding/DepositWebhook.ts +101 -0
- package/src/internal/funding/Provider.ts +164 -142
- package/src/internal/funding/Reconciliation.test.ts +14 -0
- package/src/internal/funding/Reconciliation.ts +161 -86
- package/src/internal/funding/index.test.ts +1 -0
- package/src/internal/funding/index.ts +1 -0
- package/src/internal/funding/providers/index.test.ts +185 -0
- package/src/internal/funding/providers/stargate.ts +184 -0
- package/src/internal/webhookDestinations/slack.ts +15 -0
- package/src/providers/index.test.ts +1 -0
- package/src/providers/index.ts +9 -0
- package/src/Webhooks.bench.ts +0 -714
- package/src/Webhooks.memory.bench.ts +0 -250
- package/src/Webhooks.test.ts +0 -146
|
@@ -7,12 +7,34 @@ export declare namespace schema {
|
|
|
7
7
|
/** Public webhook subscription representation. */
|
|
8
8
|
const Subscription: z.ZodMiniObject<{
|
|
9
9
|
chainId: z.ZodMiniNumber<number>;
|
|
10
|
+
createdAt: z.ZodMiniISODateTime;
|
|
11
|
+
environment: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
12
|
+
production: "production";
|
|
13
|
+
sandbox: "sandbox";
|
|
14
|
+
}>>;
|
|
15
|
+
eventType: z.ZodMiniEnum<{
|
|
16
|
+
"block:created": "block:created";
|
|
17
|
+
"funding:deposit.updated": "funding:deposit.updated";
|
|
18
|
+
"log:emitted": "log:emitted";
|
|
19
|
+
"token:transfer": "token:transfer";
|
|
20
|
+
"transaction:included": "transaction:included";
|
|
21
|
+
}>;
|
|
22
|
+
expiresAt: z.ZodMiniOptional<z.ZodMiniISODateTime>;
|
|
23
|
+
failureCount: z.ZodMiniNumber<number>;
|
|
24
|
+
filters: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>;
|
|
25
|
+
id: z.ZodMiniString<string>;
|
|
26
|
+
lastDeliveryAt: z.ZodMiniOptional<z.ZodMiniISODateTime>;
|
|
27
|
+
status: z.ZodMiniEnum<{
|
|
28
|
+
active: "active";
|
|
29
|
+
disabled: "disabled";
|
|
30
|
+
paused: "paused";
|
|
31
|
+
}>;
|
|
32
|
+
updatedAt: z.ZodMiniISODateTime;
|
|
10
33
|
context: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
11
34
|
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
12
35
|
metadata: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
|
|
13
36
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
14
37
|
}, z.core.$strip>>;
|
|
15
|
-
createdAt: z.ZodMiniISODateTime;
|
|
16
38
|
destination: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
17
39
|
type: z.ZodMiniLiteral<"url">;
|
|
18
40
|
url: z.ZodMiniURL;
|
|
@@ -24,23 +46,23 @@ export declare namespace schema {
|
|
|
24
46
|
type: z.ZodMiniLiteral<"betterstack">;
|
|
25
47
|
url: z.ZodMiniURL;
|
|
26
48
|
}, z.core.$strip>], "type">;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
failureCount: z.ZodMiniNumber<number>;
|
|
35
|
-
filters: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>;
|
|
49
|
+
}, z.core.$strip>;
|
|
50
|
+
/** Webhook delivery data returned in collection rows. */
|
|
51
|
+
const Delivery: z.ZodMiniObject<{
|
|
52
|
+
attempt: z.ZodMiniNumber<number>;
|
|
53
|
+
createdAt: z.ZodMiniISODateTime;
|
|
54
|
+
error: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
55
|
+
eventId: z.ZodMiniString<string>;
|
|
36
56
|
id: z.ZodMiniString<string>;
|
|
37
|
-
|
|
57
|
+
requestUrl: z.ZodMiniString<string>;
|
|
58
|
+
responseMs: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
59
|
+
responseStatus: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
38
60
|
status: z.ZodMiniEnum<{
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
61
|
+
failed: "failed";
|
|
62
|
+
pending: "pending";
|
|
63
|
+
succeeded: "succeeded";
|
|
42
64
|
}>;
|
|
43
|
-
|
|
65
|
+
subscriptionId: z.ZodMiniString<string>;
|
|
44
66
|
}, z.core.$strip>;
|
|
45
67
|
/** Schemas for creating an organization webhook. */
|
|
46
68
|
namespace createWebhook {
|
|
@@ -367,20 +389,59 @@ export declare namespace schema {
|
|
|
367
389
|
lte: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
368
390
|
}, z.core.$strict>]>>;
|
|
369
391
|
}, z.core.$strict>>;
|
|
392
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
393
|
+
chainId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
|
|
394
|
+
mainnet: "mainnet";
|
|
395
|
+
testnet: "testnet";
|
|
396
|
+
}>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniNumber<unknown>]>, z.ZodMiniNumber<number>>>;
|
|
397
|
+
context: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
398
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
399
|
+
metadata: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
|
|
400
|
+
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
401
|
+
}, z.core.$strip>>;
|
|
402
|
+
destination: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
403
|
+
type: z.ZodMiniLiteral<"url">;
|
|
404
|
+
url: z.ZodMiniURL;
|
|
405
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
406
|
+
type: z.ZodMiniLiteral<"slack">;
|
|
407
|
+
url: z.ZodMiniURL;
|
|
408
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
409
|
+
token: z.ZodMiniString<string>;
|
|
410
|
+
type: z.ZodMiniLiteral<"betterstack">;
|
|
411
|
+
url: z.ZodMiniURL;
|
|
412
|
+
}, z.core.$strip>], "type">;
|
|
413
|
+
eventType: z.ZodMiniLiteral<"funding:deposit.updated">;
|
|
414
|
+
filters: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
415
|
+
depositAddressId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
416
|
+
recipient: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
417
|
+
status: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
418
|
+
"action-required": "action-required";
|
|
419
|
+
bridging: "bridging";
|
|
420
|
+
completed: "completed";
|
|
421
|
+
detected: "detected";
|
|
422
|
+
refunded: "refunded";
|
|
423
|
+
refunding: "refunding";
|
|
424
|
+
settling: "settling";
|
|
425
|
+
}>>;
|
|
426
|
+
}, z.core.$strict>>;
|
|
370
427
|
}, z.core.$strip>], "eventType">, z.ZodMiniObject<{
|
|
371
428
|
chainId: z.ZodMiniNumber<number>;
|
|
429
|
+
environment: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
430
|
+
production: "production";
|
|
431
|
+
sandbox: "sandbox";
|
|
432
|
+
}>>;
|
|
372
433
|
}, z.core.$strip>>;
|
|
373
434
|
/** Created webhook with transport credentials redacted. */
|
|
374
435
|
const Response: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
375
436
|
chainId: z.ZodMiniNumber<number>;
|
|
376
|
-
context: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
377
|
-
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
378
|
-
metadata: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
|
|
379
|
-
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
380
|
-
}, z.core.$strip>>;
|
|
381
437
|
createdAt: z.ZodMiniISODateTime;
|
|
438
|
+
environment: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
439
|
+
production: "production";
|
|
440
|
+
sandbox: "sandbox";
|
|
441
|
+
}>>;
|
|
382
442
|
eventType: z.ZodMiniEnum<{
|
|
383
443
|
"block:created": "block:created";
|
|
444
|
+
"funding:deposit.updated": "funding:deposit.updated";
|
|
384
445
|
"log:emitted": "log:emitted";
|
|
385
446
|
"token:transfer": "token:transfer";
|
|
386
447
|
"transaction:included": "transaction:included";
|
|
@@ -396,6 +457,11 @@ export declare namespace schema {
|
|
|
396
457
|
paused: "paused";
|
|
397
458
|
}>;
|
|
398
459
|
updatedAt: z.ZodMiniISODateTime;
|
|
460
|
+
context: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
461
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
462
|
+
metadata: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
|
|
463
|
+
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
464
|
+
}, z.core.$strip>>;
|
|
399
465
|
destination: z.ZodMiniObject<{
|
|
400
466
|
type: z.ZodMiniLiteral<"url">;
|
|
401
467
|
url: z.ZodMiniURL;
|
|
@@ -403,14 +469,14 @@ export declare namespace schema {
|
|
|
403
469
|
secret: z.ZodMiniString<string>;
|
|
404
470
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
405
471
|
chainId: z.ZodMiniNumber<number>;
|
|
406
|
-
context: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
407
|
-
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
408
|
-
metadata: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
|
|
409
|
-
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
410
|
-
}, z.core.$strip>>;
|
|
411
472
|
createdAt: z.ZodMiniISODateTime;
|
|
473
|
+
environment: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
474
|
+
production: "production";
|
|
475
|
+
sandbox: "sandbox";
|
|
476
|
+
}>>;
|
|
412
477
|
eventType: z.ZodMiniEnum<{
|
|
413
478
|
"block:created": "block:created";
|
|
479
|
+
"funding:deposit.updated": "funding:deposit.updated";
|
|
414
480
|
"log:emitted": "log:emitted";
|
|
415
481
|
"token:transfer": "token:transfer";
|
|
416
482
|
"transaction:included": "transaction:included";
|
|
@@ -426,20 +492,25 @@ export declare namespace schema {
|
|
|
426
492
|
paused: "paused";
|
|
427
493
|
}>;
|
|
428
494
|
updatedAt: z.ZodMiniISODateTime;
|
|
495
|
+
context: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
496
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
497
|
+
metadata: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
|
|
498
|
+
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
499
|
+
}, z.core.$strip>>;
|
|
429
500
|
destination: z.ZodMiniObject<{
|
|
430
501
|
type: z.ZodMiniLiteral<"slack">;
|
|
431
502
|
url: z.ZodMiniLiteral<"https://hooks.slack.com/…">;
|
|
432
503
|
}, z.core.$strip>;
|
|
433
504
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
434
505
|
chainId: z.ZodMiniNumber<number>;
|
|
435
|
-
context: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
436
|
-
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
437
|
-
metadata: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
|
|
438
|
-
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
439
|
-
}, z.core.$strip>>;
|
|
440
506
|
createdAt: z.ZodMiniISODateTime;
|
|
507
|
+
environment: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
508
|
+
production: "production";
|
|
509
|
+
sandbox: "sandbox";
|
|
510
|
+
}>>;
|
|
441
511
|
eventType: z.ZodMiniEnum<{
|
|
442
512
|
"block:created": "block:created";
|
|
513
|
+
"funding:deposit.updated": "funding:deposit.updated";
|
|
443
514
|
"log:emitted": "log:emitted";
|
|
444
515
|
"token:transfer": "token:transfer";
|
|
445
516
|
"transaction:included": "transaction:included";
|
|
@@ -455,6 +526,11 @@ export declare namespace schema {
|
|
|
455
526
|
paused: "paused";
|
|
456
527
|
}>;
|
|
457
528
|
updatedAt: z.ZodMiniISODateTime;
|
|
529
|
+
context: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
530
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
531
|
+
metadata: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
|
|
532
|
+
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
533
|
+
}, z.core.$strip>>;
|
|
458
534
|
destination: z.ZodMiniObject<{
|
|
459
535
|
token: z.ZodMiniLiteral<"[redacted]">;
|
|
460
536
|
type: z.ZodMiniLiteral<"betterstack">;
|
|
@@ -482,7 +558,7 @@ export declare namespace schema {
|
|
|
482
558
|
include: z.ZodMiniPipe<z.ZodMiniPipe<z.ZodMiniOptional<z.ZodMiniUnknown>, z.ZodMiniTransform<string[], unknown>>, z.ZodMiniArray<z.ZodMiniEnum<{
|
|
483
559
|
totalCount: "totalCount";
|
|
484
560
|
}>>>;
|
|
485
|
-
limit: z.ZodMiniDefault<z.ZodMiniNumber<unknown
|
|
561
|
+
limit: z.ZodMiniDefault<z.ZodMiniPipe<z.ZodMiniNumber<unknown>, z.ZodMiniTransform<number, number>>>;
|
|
486
562
|
page: z.ZodMiniOptional<z.ZodMiniNumber<unknown>>;
|
|
487
563
|
}, z.core.$strip>;
|
|
488
564
|
const Response: z.ZodMiniObject<{
|
|
@@ -720,6 +796,137 @@ export declare namespace schema {
|
|
|
720
796
|
timestamp: z.ZodMiniISODateTime;
|
|
721
797
|
}, z.core.$strip>;
|
|
722
798
|
type: z.ZodMiniLiteral<"block:created">;
|
|
799
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
800
|
+
chainId: z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
|
|
801
|
+
mainnet: "mainnet";
|
|
802
|
+
testnet: "testnet";
|
|
803
|
+
}>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniNumber<unknown>]>, z.ZodMiniNumber<number>>;
|
|
804
|
+
context: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
805
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
806
|
+
metadata: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
|
|
807
|
+
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
808
|
+
}, z.core.$strip>>;
|
|
809
|
+
createdAt: z.ZodMiniISODateTime;
|
|
810
|
+
id: z.ZodMiniString<string>;
|
|
811
|
+
subscriptionId: z.ZodMiniString<string>;
|
|
812
|
+
data: z.ZodMiniObject<{
|
|
813
|
+
createdAt: z.ZodMiniISODateTime;
|
|
814
|
+
depositAddressId: z.ZodMiniString<string>;
|
|
815
|
+
detectionTrigger: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
816
|
+
chain: "chain";
|
|
817
|
+
manual: "manual";
|
|
818
|
+
poll: "poll";
|
|
819
|
+
webhook: "webhook";
|
|
820
|
+
}>>;
|
|
821
|
+
destinationAmount: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
822
|
+
baseUnits: z.ZodMiniString<string>;
|
|
823
|
+
currency: z.ZodMiniString<string>;
|
|
824
|
+
decimals: z.ZodMiniNumber<number>;
|
|
825
|
+
formatted: z.ZodMiniString<string>;
|
|
826
|
+
}, z.core.$strip>>;
|
|
827
|
+
destinationAmountRequired: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
828
|
+
baseUnits: z.ZodMiniString<string>;
|
|
829
|
+
currency: z.ZodMiniString<string>;
|
|
830
|
+
decimals: z.ZodMiniNumber<number>;
|
|
831
|
+
formatted: z.ZodMiniString<string>;
|
|
832
|
+
}, z.core.$strip>>;
|
|
833
|
+
destinationChain: z.ZodMiniObject<{
|
|
834
|
+
addressFormat: z.ZodMiniEnum<{
|
|
835
|
+
base58: "base58";
|
|
836
|
+
base58check: "base58check";
|
|
837
|
+
hex: "hex";
|
|
838
|
+
}>;
|
|
839
|
+
id: z.ZodMiniString<string>;
|
|
840
|
+
kind: z.ZodMiniEnum<{
|
|
841
|
+
evm: "evm";
|
|
842
|
+
solana: "solana";
|
|
843
|
+
tron: "tron";
|
|
844
|
+
}>;
|
|
845
|
+
name: z.ZodMiniString<string>;
|
|
846
|
+
}, z.core.$strip>;
|
|
847
|
+
destinationToken: z.ZodMiniObject<{
|
|
848
|
+
address: z.ZodMiniString<string>;
|
|
849
|
+
currency: z.ZodMiniString<string>;
|
|
850
|
+
decimals: z.ZodMiniNumber<number>;
|
|
851
|
+
name: z.ZodMiniString<string>;
|
|
852
|
+
standard: z.ZodMiniString<string>;
|
|
853
|
+
symbol: z.ZodMiniString<string>;
|
|
854
|
+
tokenKey: z.ZodMiniString<string>;
|
|
855
|
+
verified: z.ZodMiniBoolean<boolean>;
|
|
856
|
+
}, z.core.$strip>;
|
|
857
|
+
destinationTransactionHashes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniString<string>>>>;
|
|
858
|
+
id: z.ZodMiniString<string>;
|
|
859
|
+
provider: z.ZodMiniObject<{
|
|
860
|
+
id: z.ZodMiniString<string>;
|
|
861
|
+
name: z.ZodMiniString<string>;
|
|
862
|
+
}, z.core.$strip>;
|
|
863
|
+
recipient: z.ZodMiniString<string>;
|
|
864
|
+
refundAddress: z.ZodMiniString<string>;
|
|
865
|
+
refundAmount: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
866
|
+
baseUnits: z.ZodMiniString<string>;
|
|
867
|
+
currency: z.ZodMiniString<string>;
|
|
868
|
+
decimals: z.ZodMiniNumber<number>;
|
|
869
|
+
formatted: z.ZodMiniString<string>;
|
|
870
|
+
}, z.core.$strip>>;
|
|
871
|
+
refundTransactionHashes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniString<string>>>>;
|
|
872
|
+
sender: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
873
|
+
sourceAmount: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
874
|
+
baseUnits: z.ZodMiniString<string>;
|
|
875
|
+
currency: z.ZodMiniString<string>;
|
|
876
|
+
decimals: z.ZodMiniNumber<number>;
|
|
877
|
+
formatted: z.ZodMiniString<string>;
|
|
878
|
+
}, z.core.$strip>>;
|
|
879
|
+
sourceChain: z.ZodMiniObject<{
|
|
880
|
+
addressFormat: z.ZodMiniEnum<{
|
|
881
|
+
base58: "base58";
|
|
882
|
+
base58check: "base58check";
|
|
883
|
+
hex: "hex";
|
|
884
|
+
}>;
|
|
885
|
+
id: z.ZodMiniString<string>;
|
|
886
|
+
kind: z.ZodMiniEnum<{
|
|
887
|
+
evm: "evm";
|
|
888
|
+
solana: "solana";
|
|
889
|
+
tron: "tron";
|
|
890
|
+
}>;
|
|
891
|
+
name: z.ZodMiniString<string>;
|
|
892
|
+
}, z.core.$strip>;
|
|
893
|
+
sourceToken: z.ZodMiniObject<{
|
|
894
|
+
address: z.ZodMiniString<string>;
|
|
895
|
+
currency: z.ZodMiniString<string>;
|
|
896
|
+
decimals: z.ZodMiniNumber<number>;
|
|
897
|
+
name: z.ZodMiniString<string>;
|
|
898
|
+
standard: z.ZodMiniString<string>;
|
|
899
|
+
symbol: z.ZodMiniString<string>;
|
|
900
|
+
tokenKey: z.ZodMiniString<string>;
|
|
901
|
+
verified: z.ZodMiniBoolean<boolean>;
|
|
902
|
+
}, z.core.$strip>;
|
|
903
|
+
sourceTransactionHashes: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
904
|
+
sourceTransferIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
905
|
+
status: z.ZodMiniEnum<{
|
|
906
|
+
"action-required": "action-required";
|
|
907
|
+
bridging: "bridging";
|
|
908
|
+
completed: "completed";
|
|
909
|
+
detected: "detected";
|
|
910
|
+
refunded: "refunded";
|
|
911
|
+
refunding: "refunding";
|
|
912
|
+
settling: "settling";
|
|
913
|
+
}>;
|
|
914
|
+
statusReason: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
915
|
+
code: z.ZodMiniEnum<{
|
|
916
|
+
delivery_failed: "delivery_failed";
|
|
917
|
+
delivery_liquidity_unavailable: "delivery_liquidity_unavailable";
|
|
918
|
+
manual_recovery_required: "manual_recovery_required";
|
|
919
|
+
refund_failed: "refund_failed";
|
|
920
|
+
source_amount_not_supported: "source_amount_not_supported";
|
|
921
|
+
source_token_mismatch: "source_token_mismatch";
|
|
922
|
+
subsidy_balance_unavailable: "subsidy_balance_unavailable";
|
|
923
|
+
subsidy_failed: "subsidy_failed";
|
|
924
|
+
}>;
|
|
925
|
+
message: z.ZodMiniString<string>;
|
|
926
|
+
}, z.core.$strip>>;
|
|
927
|
+
updatedAt: z.ZodMiniISODateTime;
|
|
928
|
+
}, z.core.$strip>;
|
|
929
|
+
type: z.ZodMiniLiteral<"funding:deposit.updated">;
|
|
723
930
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
724
931
|
chainId: z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
|
|
725
932
|
mainnet: "mainnet";
|
|
@@ -759,25 +966,14 @@ export declare namespace schema {
|
|
|
759
966
|
const ListResponse: z.ZodMiniObject<{
|
|
760
967
|
data: z.ZodMiniArray<z.ZodMiniObject<{
|
|
761
968
|
chainId: z.ZodMiniNumber<number>;
|
|
762
|
-
context: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
763
|
-
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
764
|
-
metadata: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
|
|
765
|
-
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
766
|
-
}, z.core.$strip>>;
|
|
767
969
|
createdAt: z.ZodMiniISODateTime;
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
}
|
|
772
|
-
type: z.ZodMiniLiteral<"slack">;
|
|
773
|
-
url: z.ZodMiniLiteral<"https://hooks.slack.com/…">;
|
|
774
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
775
|
-
token: z.ZodMiniLiteral<"[redacted]">;
|
|
776
|
-
type: z.ZodMiniLiteral<"betterstack">;
|
|
777
|
-
url: z.ZodMiniURL;
|
|
778
|
-
}, z.core.$strip>], "type">;
|
|
970
|
+
environment: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
971
|
+
production: "production";
|
|
972
|
+
sandbox: "sandbox";
|
|
973
|
+
}>>;
|
|
779
974
|
eventType: z.ZodMiniEnum<{
|
|
780
975
|
"block:created": "block:created";
|
|
976
|
+
"funding:deposit.updated": "funding:deposit.updated";
|
|
781
977
|
"log:emitted": "log:emitted";
|
|
782
978
|
"token:transfer": "token:transfer";
|
|
783
979
|
"transaction:included": "transaction:included";
|
|
@@ -793,6 +989,22 @@ export declare namespace schema {
|
|
|
793
989
|
paused: "paused";
|
|
794
990
|
}>;
|
|
795
991
|
updatedAt: z.ZodMiniISODateTime;
|
|
992
|
+
context: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
993
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
994
|
+
metadata: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
|
|
995
|
+
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
996
|
+
}, z.core.$strip>>;
|
|
997
|
+
destination: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
998
|
+
type: z.ZodMiniLiteral<"url">;
|
|
999
|
+
url: z.ZodMiniURL;
|
|
1000
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1001
|
+
type: z.ZodMiniLiteral<"slack">;
|
|
1002
|
+
url: z.ZodMiniLiteral<"https://hooks.slack.com/…">;
|
|
1003
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1004
|
+
token: z.ZodMiniLiteral<"[redacted]">;
|
|
1005
|
+
type: z.ZodMiniLiteral<"betterstack">;
|
|
1006
|
+
url: z.ZodMiniURL;
|
|
1007
|
+
}, z.core.$strip>], "type">;
|
|
796
1008
|
}, z.core.$strip>>;
|
|
797
1009
|
}, z.core.$strip>;
|
|
798
1010
|
/** Lifecycle state editable from the console. */
|
|
@@ -814,7 +1026,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
814
1026
|
$post: {
|
|
815
1027
|
output: {
|
|
816
1028
|
error: {
|
|
817
|
-
code: "
|
|
1029
|
+
code: "api_key_malformed";
|
|
818
1030
|
details?: readonly Response.error.Detail[] | undefined;
|
|
819
1031
|
message: string;
|
|
820
1032
|
};
|
|
@@ -1137,21 +1349,46 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
1137
1349
|
lte?: `0x${string}` | undefined;
|
|
1138
1350
|
} | `0x${string}` | undefined;
|
|
1139
1351
|
} | undefined;
|
|
1352
|
+
} | {
|
|
1353
|
+
chainId?: unknown;
|
|
1354
|
+
context?: {
|
|
1355
|
+
description?: string | undefined;
|
|
1356
|
+
metadata?: Record<string, string> | undefined;
|
|
1357
|
+
title?: string | undefined;
|
|
1358
|
+
} | undefined;
|
|
1359
|
+
destination: {
|
|
1360
|
+
type: "url";
|
|
1361
|
+
url: string;
|
|
1362
|
+
} | {
|
|
1363
|
+
type: "slack";
|
|
1364
|
+
url: string;
|
|
1365
|
+
} | {
|
|
1366
|
+
token: string;
|
|
1367
|
+
type: "betterstack";
|
|
1368
|
+
url: string;
|
|
1369
|
+
};
|
|
1370
|
+
eventType: "funding:deposit.updated";
|
|
1371
|
+
filters?: {
|
|
1372
|
+
depositAddressId?: string | undefined;
|
|
1373
|
+
recipient?: `0x${string}` | undefined;
|
|
1374
|
+
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
1375
|
+
} | undefined;
|
|
1140
1376
|
}) & {
|
|
1141
1377
|
chainId: number;
|
|
1378
|
+
environment?: "production" | "sandbox" | undefined;
|
|
1142
1379
|
};
|
|
1143
1380
|
};
|
|
1144
1381
|
} | {
|
|
1145
1382
|
output: {
|
|
1146
1383
|
error: {
|
|
1147
|
-
code: "
|
|
1384
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1148
1385
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1149
1386
|
message: string;
|
|
1150
1387
|
};
|
|
1151
1388
|
requestId: string;
|
|
1152
1389
|
};
|
|
1153
1390
|
outputFormat: "json";
|
|
1154
|
-
status:
|
|
1391
|
+
status: 401;
|
|
1155
1392
|
input: {
|
|
1156
1393
|
param: {
|
|
1157
1394
|
orgId: string;
|
|
@@ -1467,21 +1704,46 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
1467
1704
|
lte?: `0x${string}` | undefined;
|
|
1468
1705
|
} | `0x${string}` | undefined;
|
|
1469
1706
|
} | undefined;
|
|
1707
|
+
} | {
|
|
1708
|
+
chainId?: unknown;
|
|
1709
|
+
context?: {
|
|
1710
|
+
description?: string | undefined;
|
|
1711
|
+
metadata?: Record<string, string> | undefined;
|
|
1712
|
+
title?: string | undefined;
|
|
1713
|
+
} | undefined;
|
|
1714
|
+
destination: {
|
|
1715
|
+
type: "url";
|
|
1716
|
+
url: string;
|
|
1717
|
+
} | {
|
|
1718
|
+
type: "slack";
|
|
1719
|
+
url: string;
|
|
1720
|
+
} | {
|
|
1721
|
+
token: string;
|
|
1722
|
+
type: "betterstack";
|
|
1723
|
+
url: string;
|
|
1724
|
+
};
|
|
1725
|
+
eventType: "funding:deposit.updated";
|
|
1726
|
+
filters?: {
|
|
1727
|
+
depositAddressId?: string | undefined;
|
|
1728
|
+
recipient?: `0x${string}` | undefined;
|
|
1729
|
+
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
1730
|
+
} | undefined;
|
|
1470
1731
|
}) & {
|
|
1471
1732
|
chainId: number;
|
|
1733
|
+
environment?: "production" | "sandbox" | undefined;
|
|
1472
1734
|
};
|
|
1473
1735
|
};
|
|
1474
1736
|
} | {
|
|
1475
1737
|
output: {
|
|
1476
1738
|
error: {
|
|
1477
|
-
code: "
|
|
1739
|
+
code: "upstream_error";
|
|
1478
1740
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1479
1741
|
message: string;
|
|
1480
1742
|
};
|
|
1481
1743
|
requestId: string;
|
|
1482
1744
|
};
|
|
1483
1745
|
outputFormat: "json";
|
|
1484
|
-
status:
|
|
1746
|
+
status: 502;
|
|
1485
1747
|
input: {
|
|
1486
1748
|
param: {
|
|
1487
1749
|
orgId: string;
|
|
@@ -1797,21 +2059,46 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
1797
2059
|
lte?: `0x${string}` | undefined;
|
|
1798
2060
|
} | `0x${string}` | undefined;
|
|
1799
2061
|
} | undefined;
|
|
2062
|
+
} | {
|
|
2063
|
+
chainId?: unknown;
|
|
2064
|
+
context?: {
|
|
2065
|
+
description?: string | undefined;
|
|
2066
|
+
metadata?: Record<string, string> | undefined;
|
|
2067
|
+
title?: string | undefined;
|
|
2068
|
+
} | undefined;
|
|
2069
|
+
destination: {
|
|
2070
|
+
type: "url";
|
|
2071
|
+
url: string;
|
|
2072
|
+
} | {
|
|
2073
|
+
type: "slack";
|
|
2074
|
+
url: string;
|
|
2075
|
+
} | {
|
|
2076
|
+
token: string;
|
|
2077
|
+
type: "betterstack";
|
|
2078
|
+
url: string;
|
|
2079
|
+
};
|
|
2080
|
+
eventType: "funding:deposit.updated";
|
|
2081
|
+
filters?: {
|
|
2082
|
+
depositAddressId?: string | undefined;
|
|
2083
|
+
recipient?: `0x${string}` | undefined;
|
|
2084
|
+
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
2085
|
+
} | undefined;
|
|
1800
2086
|
}) & {
|
|
1801
2087
|
chainId: number;
|
|
2088
|
+
environment?: "production" | "sandbox" | undefined;
|
|
1802
2089
|
};
|
|
1803
2090
|
};
|
|
1804
2091
|
} | {
|
|
1805
2092
|
output: {
|
|
1806
2093
|
error: {
|
|
1807
|
-
code: "
|
|
2094
|
+
code: "chain_id_unsupported";
|
|
1808
2095
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1809
2096
|
message: string;
|
|
1810
2097
|
};
|
|
1811
2098
|
requestId: string;
|
|
1812
2099
|
};
|
|
1813
2100
|
outputFormat: "json";
|
|
1814
|
-
status:
|
|
2101
|
+
status: 400;
|
|
1815
2102
|
input: {
|
|
1816
2103
|
param: {
|
|
1817
2104
|
orgId: string;
|
|
@@ -2127,21 +2414,46 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2127
2414
|
lte?: `0x${string}` | undefined;
|
|
2128
2415
|
} | `0x${string}` | undefined;
|
|
2129
2416
|
} | undefined;
|
|
2130
|
-
}
|
|
2131
|
-
chainId
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2417
|
+
} | {
|
|
2418
|
+
chainId?: unknown;
|
|
2419
|
+
context?: {
|
|
2420
|
+
description?: string | undefined;
|
|
2421
|
+
metadata?: Record<string, string> | undefined;
|
|
2422
|
+
title?: string | undefined;
|
|
2423
|
+
} | undefined;
|
|
2424
|
+
destination: {
|
|
2425
|
+
type: "url";
|
|
2426
|
+
url: string;
|
|
2427
|
+
} | {
|
|
2428
|
+
type: "slack";
|
|
2429
|
+
url: string;
|
|
2430
|
+
} | {
|
|
2431
|
+
token: string;
|
|
2432
|
+
type: "betterstack";
|
|
2433
|
+
url: string;
|
|
2434
|
+
};
|
|
2435
|
+
eventType: "funding:deposit.updated";
|
|
2436
|
+
filters?: {
|
|
2437
|
+
depositAddressId?: string | undefined;
|
|
2438
|
+
recipient?: `0x${string}` | undefined;
|
|
2439
|
+
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
2440
|
+
} | undefined;
|
|
2441
|
+
}) & {
|
|
2442
|
+
chainId: number;
|
|
2443
|
+
environment?: "production" | "sandbox" | undefined;
|
|
2444
|
+
};
|
|
2445
|
+
};
|
|
2446
|
+
} | {
|
|
2447
|
+
output: {
|
|
2448
|
+
error: {
|
|
2449
|
+
code: "param_invalid";
|
|
2450
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
2451
|
+
message: string;
|
|
2452
|
+
};
|
|
2453
|
+
requestId: string;
|
|
2454
|
+
};
|
|
2143
2455
|
outputFormat: "json";
|
|
2144
|
-
status:
|
|
2456
|
+
status: 400;
|
|
2145
2457
|
input: {
|
|
2146
2458
|
param: {
|
|
2147
2459
|
orgId: string;
|
|
@@ -2457,21 +2769,46 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2457
2769
|
lte?: `0x${string}` | undefined;
|
|
2458
2770
|
} | `0x${string}` | undefined;
|
|
2459
2771
|
} | undefined;
|
|
2772
|
+
} | {
|
|
2773
|
+
chainId?: unknown;
|
|
2774
|
+
context?: {
|
|
2775
|
+
description?: string | undefined;
|
|
2776
|
+
metadata?: Record<string, string> | undefined;
|
|
2777
|
+
title?: string | undefined;
|
|
2778
|
+
} | undefined;
|
|
2779
|
+
destination: {
|
|
2780
|
+
type: "url";
|
|
2781
|
+
url: string;
|
|
2782
|
+
} | {
|
|
2783
|
+
type: "slack";
|
|
2784
|
+
url: string;
|
|
2785
|
+
} | {
|
|
2786
|
+
token: string;
|
|
2787
|
+
type: "betterstack";
|
|
2788
|
+
url: string;
|
|
2789
|
+
};
|
|
2790
|
+
eventType: "funding:deposit.updated";
|
|
2791
|
+
filters?: {
|
|
2792
|
+
depositAddressId?: string | undefined;
|
|
2793
|
+
recipient?: `0x${string}` | undefined;
|
|
2794
|
+
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
2795
|
+
} | undefined;
|
|
2460
2796
|
}) & {
|
|
2461
2797
|
chainId: number;
|
|
2798
|
+
environment?: "production" | "sandbox" | undefined;
|
|
2462
2799
|
};
|
|
2463
2800
|
};
|
|
2464
2801
|
} | {
|
|
2465
2802
|
output: {
|
|
2466
2803
|
error: {
|
|
2467
|
-
code: "
|
|
2804
|
+
code: "body_invalid";
|
|
2468
2805
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2469
2806
|
message: string;
|
|
2470
2807
|
};
|
|
2471
2808
|
requestId: string;
|
|
2472
2809
|
};
|
|
2473
2810
|
outputFormat: "json";
|
|
2474
|
-
status:
|
|
2811
|
+
status: 400;
|
|
2475
2812
|
input: {
|
|
2476
2813
|
param: {
|
|
2477
2814
|
orgId: string;
|
|
@@ -2787,21 +3124,46 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2787
3124
|
lte?: `0x${string}` | undefined;
|
|
2788
3125
|
} | `0x${string}` | undefined;
|
|
2789
3126
|
} | undefined;
|
|
3127
|
+
} | {
|
|
3128
|
+
chainId?: unknown;
|
|
3129
|
+
context?: {
|
|
3130
|
+
description?: string | undefined;
|
|
3131
|
+
metadata?: Record<string, string> | undefined;
|
|
3132
|
+
title?: string | undefined;
|
|
3133
|
+
} | undefined;
|
|
3134
|
+
destination: {
|
|
3135
|
+
type: "url";
|
|
3136
|
+
url: string;
|
|
3137
|
+
} | {
|
|
3138
|
+
type: "slack";
|
|
3139
|
+
url: string;
|
|
3140
|
+
} | {
|
|
3141
|
+
token: string;
|
|
3142
|
+
type: "betterstack";
|
|
3143
|
+
url: string;
|
|
3144
|
+
};
|
|
3145
|
+
eventType: "funding:deposit.updated";
|
|
3146
|
+
filters?: {
|
|
3147
|
+
depositAddressId?: string | undefined;
|
|
3148
|
+
recipient?: `0x${string}` | undefined;
|
|
3149
|
+
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
3150
|
+
} | undefined;
|
|
2790
3151
|
}) & {
|
|
2791
3152
|
chainId: number;
|
|
3153
|
+
environment?: "production" | "sandbox" | undefined;
|
|
2792
3154
|
};
|
|
2793
3155
|
};
|
|
2794
3156
|
} | {
|
|
2795
3157
|
output: {
|
|
2796
3158
|
error: {
|
|
2797
|
-
code: "
|
|
3159
|
+
code: "forbidden";
|
|
2798
3160
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2799
3161
|
message: string;
|
|
2800
3162
|
};
|
|
2801
3163
|
requestId: string;
|
|
2802
3164
|
};
|
|
2803
3165
|
outputFormat: "json";
|
|
2804
|
-
status:
|
|
3166
|
+
status: 403;
|
|
2805
3167
|
input: {
|
|
2806
3168
|
param: {
|
|
2807
3169
|
orgId: string;
|
|
@@ -3117,21 +3479,46 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3117
3479
|
lte?: `0x${string}` | undefined;
|
|
3118
3480
|
} | `0x${string}` | undefined;
|
|
3119
3481
|
} | undefined;
|
|
3482
|
+
} | {
|
|
3483
|
+
chainId?: unknown;
|
|
3484
|
+
context?: {
|
|
3485
|
+
description?: string | undefined;
|
|
3486
|
+
metadata?: Record<string, string> | undefined;
|
|
3487
|
+
title?: string | undefined;
|
|
3488
|
+
} | undefined;
|
|
3489
|
+
destination: {
|
|
3490
|
+
type: "url";
|
|
3491
|
+
url: string;
|
|
3492
|
+
} | {
|
|
3493
|
+
type: "slack";
|
|
3494
|
+
url: string;
|
|
3495
|
+
} | {
|
|
3496
|
+
token: string;
|
|
3497
|
+
type: "betterstack";
|
|
3498
|
+
url: string;
|
|
3499
|
+
};
|
|
3500
|
+
eventType: "funding:deposit.updated";
|
|
3501
|
+
filters?: {
|
|
3502
|
+
depositAddressId?: string | undefined;
|
|
3503
|
+
recipient?: `0x${string}` | undefined;
|
|
3504
|
+
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
3505
|
+
} | undefined;
|
|
3120
3506
|
}) & {
|
|
3121
3507
|
chainId: number;
|
|
3508
|
+
environment?: "production" | "sandbox" | undefined;
|
|
3122
3509
|
};
|
|
3123
3510
|
};
|
|
3124
3511
|
} | {
|
|
3125
3512
|
output: {
|
|
3126
3513
|
error: {
|
|
3127
|
-
code: "
|
|
3514
|
+
code: "organization_not_found";
|
|
3128
3515
|
details?: readonly Response.error.Detail[] | undefined;
|
|
3129
3516
|
message: string;
|
|
3130
3517
|
};
|
|
3131
3518
|
requestId: string;
|
|
3132
3519
|
};
|
|
3133
3520
|
outputFormat: "json";
|
|
3134
|
-
status:
|
|
3521
|
+
status: 404;
|
|
3135
3522
|
input: {
|
|
3136
3523
|
param: {
|
|
3137
3524
|
orgId: string;
|
|
@@ -3447,8 +3834,33 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3447
3834
|
lte?: `0x${string}` | undefined;
|
|
3448
3835
|
} | `0x${string}` | undefined;
|
|
3449
3836
|
} | undefined;
|
|
3837
|
+
} | {
|
|
3838
|
+
chainId?: unknown;
|
|
3839
|
+
context?: {
|
|
3840
|
+
description?: string | undefined;
|
|
3841
|
+
metadata?: Record<string, string> | undefined;
|
|
3842
|
+
title?: string | undefined;
|
|
3843
|
+
} | undefined;
|
|
3844
|
+
destination: {
|
|
3845
|
+
type: "url";
|
|
3846
|
+
url: string;
|
|
3847
|
+
} | {
|
|
3848
|
+
type: "slack";
|
|
3849
|
+
url: string;
|
|
3850
|
+
} | {
|
|
3851
|
+
token: string;
|
|
3852
|
+
type: "betterstack";
|
|
3853
|
+
url: string;
|
|
3854
|
+
};
|
|
3855
|
+
eventType: "funding:deposit.updated";
|
|
3856
|
+
filters?: {
|
|
3857
|
+
depositAddressId?: string | undefined;
|
|
3858
|
+
recipient?: `0x${string}` | undefined;
|
|
3859
|
+
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
3860
|
+
} | undefined;
|
|
3450
3861
|
}) & {
|
|
3451
3862
|
chainId: number;
|
|
3863
|
+
environment?: "production" | "sandbox" | undefined;
|
|
3452
3864
|
};
|
|
3453
3865
|
};
|
|
3454
3866
|
} | {
|
|
@@ -3777,14 +4189,39 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3777
4189
|
lte?: `0x${string}` | undefined;
|
|
3778
4190
|
} | `0x${string}` | undefined;
|
|
3779
4191
|
} | undefined;
|
|
4192
|
+
} | {
|
|
4193
|
+
chainId?: unknown;
|
|
4194
|
+
context?: {
|
|
4195
|
+
description?: string | undefined;
|
|
4196
|
+
metadata?: Record<string, string> | undefined;
|
|
4197
|
+
title?: string | undefined;
|
|
4198
|
+
} | undefined;
|
|
4199
|
+
destination: {
|
|
4200
|
+
type: "url";
|
|
4201
|
+
url: string;
|
|
4202
|
+
} | {
|
|
4203
|
+
type: "slack";
|
|
4204
|
+
url: string;
|
|
4205
|
+
} | {
|
|
4206
|
+
token: string;
|
|
4207
|
+
type: "betterstack";
|
|
4208
|
+
url: string;
|
|
4209
|
+
};
|
|
4210
|
+
eventType: "funding:deposit.updated";
|
|
4211
|
+
filters?: {
|
|
4212
|
+
depositAddressId?: string | undefined;
|
|
4213
|
+
recipient?: `0x${string}` | undefined;
|
|
4214
|
+
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
4215
|
+
} | undefined;
|
|
3780
4216
|
}) & {
|
|
3781
4217
|
chainId: number;
|
|
4218
|
+
environment?: "production" | "sandbox" | undefined;
|
|
3782
4219
|
};
|
|
3783
4220
|
};
|
|
3784
4221
|
} | {
|
|
3785
4222
|
output: {
|
|
3786
4223
|
error: {
|
|
3787
|
-
code: "
|
|
4224
|
+
code: "event_type_unsupported";
|
|
3788
4225
|
details?: readonly Response.error.Detail[] | undefined;
|
|
3789
4226
|
message: string;
|
|
3790
4227
|
};
|
|
@@ -4107,14 +4544,39 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4107
4544
|
lte?: `0x${string}` | undefined;
|
|
4108
4545
|
} | `0x${string}` | undefined;
|
|
4109
4546
|
} | undefined;
|
|
4547
|
+
} | {
|
|
4548
|
+
chainId?: unknown;
|
|
4549
|
+
context?: {
|
|
4550
|
+
description?: string | undefined;
|
|
4551
|
+
metadata?: Record<string, string> | undefined;
|
|
4552
|
+
title?: string | undefined;
|
|
4553
|
+
} | undefined;
|
|
4554
|
+
destination: {
|
|
4555
|
+
type: "url";
|
|
4556
|
+
url: string;
|
|
4557
|
+
} | {
|
|
4558
|
+
type: "slack";
|
|
4559
|
+
url: string;
|
|
4560
|
+
} | {
|
|
4561
|
+
token: string;
|
|
4562
|
+
type: "betterstack";
|
|
4563
|
+
url: string;
|
|
4564
|
+
};
|
|
4565
|
+
eventType: "funding:deposit.updated";
|
|
4566
|
+
filters?: {
|
|
4567
|
+
depositAddressId?: string | undefined;
|
|
4568
|
+
recipient?: `0x${string}` | undefined;
|
|
4569
|
+
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
4570
|
+
} | undefined;
|
|
4110
4571
|
}) & {
|
|
4111
4572
|
chainId: number;
|
|
4573
|
+
environment?: "production" | "sandbox" | undefined;
|
|
4112
4574
|
};
|
|
4113
4575
|
};
|
|
4114
4576
|
} | {
|
|
4115
4577
|
output: {
|
|
4116
4578
|
error: {
|
|
4117
|
-
code: "
|
|
4579
|
+
code: "url_invalid";
|
|
4118
4580
|
details?: readonly Response.error.Detail[] | undefined;
|
|
4119
4581
|
message: string;
|
|
4120
4582
|
};
|
|
@@ -4437,21 +4899,46 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4437
4899
|
lte?: `0x${string}` | undefined;
|
|
4438
4900
|
} | `0x${string}` | undefined;
|
|
4439
4901
|
} | undefined;
|
|
4902
|
+
} | {
|
|
4903
|
+
chainId?: unknown;
|
|
4904
|
+
context?: {
|
|
4905
|
+
description?: string | undefined;
|
|
4906
|
+
metadata?: Record<string, string> | undefined;
|
|
4907
|
+
title?: string | undefined;
|
|
4908
|
+
} | undefined;
|
|
4909
|
+
destination: {
|
|
4910
|
+
type: "url";
|
|
4911
|
+
url: string;
|
|
4912
|
+
} | {
|
|
4913
|
+
type: "slack";
|
|
4914
|
+
url: string;
|
|
4915
|
+
} | {
|
|
4916
|
+
token: string;
|
|
4917
|
+
type: "betterstack";
|
|
4918
|
+
url: string;
|
|
4919
|
+
};
|
|
4920
|
+
eventType: "funding:deposit.updated";
|
|
4921
|
+
filters?: {
|
|
4922
|
+
depositAddressId?: string | undefined;
|
|
4923
|
+
recipient?: `0x${string}` | undefined;
|
|
4924
|
+
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
4925
|
+
} | undefined;
|
|
4440
4926
|
}) & {
|
|
4441
4927
|
chainId: number;
|
|
4928
|
+
environment?: "production" | "sandbox" | undefined;
|
|
4442
4929
|
};
|
|
4443
4930
|
};
|
|
4444
4931
|
} | {
|
|
4445
4932
|
output: {
|
|
4446
4933
|
error: {
|
|
4447
|
-
code: "
|
|
4934
|
+
code: "filters_invalid";
|
|
4448
4935
|
details?: readonly Response.error.Detail[] | undefined;
|
|
4449
4936
|
message: string;
|
|
4450
4937
|
};
|
|
4451
4938
|
requestId: string;
|
|
4452
4939
|
};
|
|
4453
4940
|
outputFormat: "json";
|
|
4454
|
-
status:
|
|
4941
|
+
status: 400;
|
|
4455
4942
|
input: {
|
|
4456
4943
|
param: {
|
|
4457
4944
|
orgId: string;
|
|
@@ -4767,38 +5254,405 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4767
5254
|
lte?: `0x${string}` | undefined;
|
|
4768
5255
|
} | `0x${string}` | undefined;
|
|
4769
5256
|
} | undefined;
|
|
5257
|
+
} | {
|
|
5258
|
+
chainId?: unknown;
|
|
5259
|
+
context?: {
|
|
5260
|
+
description?: string | undefined;
|
|
5261
|
+
metadata?: Record<string, string> | undefined;
|
|
5262
|
+
title?: string | undefined;
|
|
5263
|
+
} | undefined;
|
|
5264
|
+
destination: {
|
|
5265
|
+
type: "url";
|
|
5266
|
+
url: string;
|
|
5267
|
+
} | {
|
|
5268
|
+
type: "slack";
|
|
5269
|
+
url: string;
|
|
5270
|
+
} | {
|
|
5271
|
+
token: string;
|
|
5272
|
+
type: "betterstack";
|
|
5273
|
+
url: string;
|
|
5274
|
+
};
|
|
5275
|
+
eventType: "funding:deposit.updated";
|
|
5276
|
+
filters?: {
|
|
5277
|
+
depositAddressId?: string | undefined;
|
|
5278
|
+
recipient?: `0x${string}` | undefined;
|
|
5279
|
+
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
5280
|
+
} | undefined;
|
|
4770
5281
|
}) & {
|
|
4771
5282
|
chainId: number;
|
|
5283
|
+
environment?: "production" | "sandbox" | undefined;
|
|
4772
5284
|
};
|
|
4773
5285
|
};
|
|
4774
5286
|
} | {
|
|
4775
5287
|
output: {
|
|
4776
|
-
|
|
4777
|
-
|
|
4778
|
-
|
|
4779
|
-
|
|
4780
|
-
[x: string]: string;
|
|
4781
|
-
} | undefined;
|
|
4782
|
-
title?: string | undefined;
|
|
4783
|
-
} | undefined;
|
|
4784
|
-
createdAt: string;
|
|
4785
|
-
eventType: "block:created" | "log:emitted" | "token:transfer" | "transaction:included";
|
|
4786
|
-
expiresAt?: string | undefined;
|
|
4787
|
-
failureCount: number;
|
|
4788
|
-
filters: {
|
|
4789
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
5288
|
+
error: {
|
|
5289
|
+
code: "limit_exceeded";
|
|
5290
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
5291
|
+
message: string;
|
|
4790
5292
|
};
|
|
4791
|
-
|
|
4792
|
-
|
|
4793
|
-
|
|
4794
|
-
|
|
4795
|
-
|
|
4796
|
-
|
|
4797
|
-
|
|
5293
|
+
requestId: string;
|
|
5294
|
+
};
|
|
5295
|
+
outputFormat: "json";
|
|
5296
|
+
status: 403;
|
|
5297
|
+
input: {
|
|
5298
|
+
param: {
|
|
5299
|
+
orgId: string;
|
|
4798
5300
|
};
|
|
4799
|
-
|
|
4800
|
-
|
|
5301
|
+
} & {
|
|
5302
|
+
json: ({
|
|
5303
|
+
chainId?: unknown;
|
|
5304
|
+
context?: {
|
|
5305
|
+
description?: string | undefined;
|
|
5306
|
+
metadata?: Record<string, string> | undefined;
|
|
5307
|
+
title?: string | undefined;
|
|
5308
|
+
} | undefined;
|
|
5309
|
+
destination: {
|
|
5310
|
+
type: "url";
|
|
5311
|
+
url: string;
|
|
5312
|
+
} | {
|
|
5313
|
+
type: "slack";
|
|
5314
|
+
url: string;
|
|
5315
|
+
} | {
|
|
5316
|
+
token: string;
|
|
5317
|
+
type: "betterstack";
|
|
5318
|
+
url: string;
|
|
5319
|
+
};
|
|
5320
|
+
eventType: "token:transfer";
|
|
5321
|
+
filters?: {
|
|
5322
|
+
address?: `0x${string}` | undefined;
|
|
5323
|
+
recipient?: `0x${string}` | undefined;
|
|
5324
|
+
sender?: `0x${string}` | undefined;
|
|
5325
|
+
token?: `0x${string}` | undefined;
|
|
5326
|
+
} | undefined;
|
|
5327
|
+
} | {
|
|
5328
|
+
chainId?: unknown;
|
|
5329
|
+
context?: {
|
|
5330
|
+
description?: string | undefined;
|
|
5331
|
+
metadata?: Record<string, string> | undefined;
|
|
5332
|
+
title?: string | undefined;
|
|
5333
|
+
} | undefined;
|
|
5334
|
+
destination: {
|
|
5335
|
+
type: "url";
|
|
5336
|
+
url: string;
|
|
5337
|
+
} | {
|
|
5338
|
+
type: "slack";
|
|
5339
|
+
url: string;
|
|
5340
|
+
} | {
|
|
5341
|
+
token: string;
|
|
5342
|
+
type: "betterstack";
|
|
5343
|
+
url: string;
|
|
5344
|
+
};
|
|
5345
|
+
eventType: "transaction:included";
|
|
5346
|
+
filters?: {
|
|
5347
|
+
hash?: {
|
|
5348
|
+
eq: `0x${string}`;
|
|
5349
|
+
} | {
|
|
5350
|
+
in: `0x${string}`[];
|
|
5351
|
+
} | {
|
|
5352
|
+
not: `0x${string}`;
|
|
5353
|
+
} | `0x${string}` | undefined;
|
|
5354
|
+
address?: {
|
|
5355
|
+
eq: `0x${string}`;
|
|
5356
|
+
} | {
|
|
5357
|
+
in: `0x${string}`[];
|
|
5358
|
+
} | {
|
|
5359
|
+
not: `0x${string}`;
|
|
5360
|
+
} | `0x${string}` | undefined;
|
|
5361
|
+
from?: {
|
|
5362
|
+
eq: `0x${string}`;
|
|
5363
|
+
} | {
|
|
5364
|
+
in: `0x${string}`[];
|
|
5365
|
+
} | {
|
|
5366
|
+
not: `0x${string}`;
|
|
5367
|
+
} | `0x${string}` | undefined;
|
|
5368
|
+
to?: {
|
|
5369
|
+
eq: `0x${string}`;
|
|
5370
|
+
} | {
|
|
5371
|
+
in: `0x${string}`[];
|
|
5372
|
+
} | {
|
|
5373
|
+
not: `0x${string}`;
|
|
5374
|
+
} | `0x${string}` | undefined;
|
|
5375
|
+
includeCalls?: boolean | undefined;
|
|
5376
|
+
value?: {
|
|
5377
|
+
eq?: `0x${string}` | undefined;
|
|
5378
|
+
gt?: `0x${string}` | undefined;
|
|
5379
|
+
gte?: `0x${string}` | undefined;
|
|
5380
|
+
lt?: `0x${string}` | undefined;
|
|
5381
|
+
lte?: `0x${string}` | undefined;
|
|
5382
|
+
} | `0x${string}` | undefined;
|
|
5383
|
+
input?: {
|
|
5384
|
+
selector: string;
|
|
5385
|
+
} | {
|
|
5386
|
+
startsWith: string;
|
|
5387
|
+
} | {
|
|
5388
|
+
eq: string;
|
|
5389
|
+
} | undefined;
|
|
5390
|
+
calls?: {
|
|
5391
|
+
to: {
|
|
5392
|
+
eq: `0x${string}`;
|
|
5393
|
+
} | {
|
|
5394
|
+
in: `0x${string}`[];
|
|
5395
|
+
} | {
|
|
5396
|
+
not: `0x${string}`;
|
|
5397
|
+
} | `0x${string}`;
|
|
5398
|
+
} | undefined;
|
|
5399
|
+
callCount?: {
|
|
5400
|
+
eq?: `0x${string}` | undefined;
|
|
5401
|
+
gt?: `0x${string}` | undefined;
|
|
5402
|
+
gte?: `0x${string}` | undefined;
|
|
5403
|
+
lt?: `0x${string}` | undefined;
|
|
5404
|
+
lte?: `0x${string}` | undefined;
|
|
5405
|
+
} | `0x${string}` | undefined;
|
|
5406
|
+
txType?: string | {
|
|
5407
|
+
eq: string;
|
|
5408
|
+
} | {
|
|
5409
|
+
in: string[];
|
|
5410
|
+
} | {
|
|
5411
|
+
not: string;
|
|
5412
|
+
} | undefined;
|
|
5413
|
+
feeToken?: {
|
|
5414
|
+
eq: `0x${string}`;
|
|
5415
|
+
} | {
|
|
5416
|
+
in: `0x${string}`[];
|
|
5417
|
+
} | {
|
|
5418
|
+
not: `0x${string}`;
|
|
5419
|
+
} | `0x${string}` | undefined;
|
|
5420
|
+
gasLimit?: {
|
|
5421
|
+
eq?: `0x${string}` | undefined;
|
|
5422
|
+
gt?: `0x${string}` | undefined;
|
|
5423
|
+
gte?: `0x${string}` | undefined;
|
|
5424
|
+
lt?: `0x${string}` | undefined;
|
|
5425
|
+
lte?: `0x${string}` | undefined;
|
|
5426
|
+
} | `0x${string}` | undefined;
|
|
5427
|
+
maxFeePerGas?: {
|
|
5428
|
+
eq?: `0x${string}` | undefined;
|
|
5429
|
+
gt?: `0x${string}` | undefined;
|
|
5430
|
+
gte?: `0x${string}` | undefined;
|
|
5431
|
+
lt?: `0x${string}` | undefined;
|
|
5432
|
+
lte?: `0x${string}` | undefined;
|
|
5433
|
+
} | `0x${string}` | undefined;
|
|
5434
|
+
maxPriorityFeePerGas?: {
|
|
5435
|
+
eq?: `0x${string}` | undefined;
|
|
5436
|
+
gt?: `0x${string}` | undefined;
|
|
5437
|
+
gte?: `0x${string}` | undefined;
|
|
5438
|
+
lt?: `0x${string}` | undefined;
|
|
5439
|
+
lte?: `0x${string}` | undefined;
|
|
5440
|
+
} | `0x${string}` | undefined;
|
|
5441
|
+
nonce?: {
|
|
5442
|
+
eq?: `0x${string}` | undefined;
|
|
5443
|
+
gt?: `0x${string}` | undefined;
|
|
5444
|
+
gte?: `0x${string}` | undefined;
|
|
5445
|
+
lt?: `0x${string}` | undefined;
|
|
5446
|
+
lte?: `0x${string}` | undefined;
|
|
5447
|
+
} | `0x${string}` | undefined;
|
|
5448
|
+
nonceKey?: string | {
|
|
5449
|
+
eq: string;
|
|
5450
|
+
} | {
|
|
5451
|
+
in: string[];
|
|
5452
|
+
} | {
|
|
5453
|
+
not: string;
|
|
5454
|
+
} | undefined;
|
|
5455
|
+
validBefore?: {
|
|
5456
|
+
eq?: `0x${string}` | undefined;
|
|
5457
|
+
gt?: `0x${string}` | undefined;
|
|
5458
|
+
gte?: `0x${string}` | undefined;
|
|
5459
|
+
lt?: `0x${string}` | undefined;
|
|
5460
|
+
lte?: `0x${string}` | undefined;
|
|
5461
|
+
} | `0x${string}` | undefined;
|
|
5462
|
+
validAfter?: {
|
|
5463
|
+
eq?: `0x${string}` | undefined;
|
|
5464
|
+
gt?: `0x${string}` | undefined;
|
|
5465
|
+
gte?: `0x${string}` | undefined;
|
|
5466
|
+
lt?: `0x${string}` | undefined;
|
|
5467
|
+
lte?: `0x${string}` | undefined;
|
|
5468
|
+
} | `0x${string}` | undefined;
|
|
5469
|
+
blockNumber?: {
|
|
5470
|
+
eq?: `0x${string}` | undefined;
|
|
5471
|
+
gt?: `0x${string}` | undefined;
|
|
5472
|
+
gte?: `0x${string}` | undefined;
|
|
5473
|
+
lt?: `0x${string}` | undefined;
|
|
5474
|
+
lte?: `0x${string}` | undefined;
|
|
5475
|
+
} | `0x${string}` | undefined;
|
|
5476
|
+
timestamp?: {
|
|
5477
|
+
eq?: `0x${string}` | undefined;
|
|
5478
|
+
gt?: `0x${string}` | undefined;
|
|
5479
|
+
gte?: `0x${string}` | undefined;
|
|
5480
|
+
lt?: `0x${string}` | undefined;
|
|
5481
|
+
lte?: `0x${string}` | undefined;
|
|
5482
|
+
} | `0x${string}` | undefined;
|
|
5483
|
+
} | undefined;
|
|
5484
|
+
} | {
|
|
5485
|
+
chainId?: unknown;
|
|
5486
|
+
context?: {
|
|
5487
|
+
description?: string | undefined;
|
|
5488
|
+
metadata?: Record<string, string> | undefined;
|
|
5489
|
+
title?: string | undefined;
|
|
5490
|
+
} | undefined;
|
|
5491
|
+
destination: {
|
|
5492
|
+
type: "url";
|
|
5493
|
+
url: string;
|
|
5494
|
+
} | {
|
|
5495
|
+
type: "slack";
|
|
5496
|
+
url: string;
|
|
5497
|
+
} | {
|
|
5498
|
+
token: string;
|
|
5499
|
+
type: "betterstack";
|
|
5500
|
+
url: string;
|
|
5501
|
+
};
|
|
5502
|
+
eventType: "log:emitted";
|
|
5503
|
+
filters: {
|
|
5504
|
+
address?: {
|
|
5505
|
+
eq: `0x${string}`;
|
|
5506
|
+
} | {
|
|
5507
|
+
in: `0x${string}`[];
|
|
5508
|
+
} | {
|
|
5509
|
+
not: `0x${string}`;
|
|
5510
|
+
} | `0x${string}` | undefined;
|
|
5511
|
+
signature?: string | undefined;
|
|
5512
|
+
topic0?: {
|
|
5513
|
+
eq: `0x${string}`;
|
|
5514
|
+
} | {
|
|
5515
|
+
in: `0x${string}`[];
|
|
5516
|
+
} | {
|
|
5517
|
+
not: `0x${string}`;
|
|
5518
|
+
} | `0x${string}` | undefined;
|
|
5519
|
+
topic1?: {
|
|
5520
|
+
eq: `0x${string}`;
|
|
5521
|
+
} | {
|
|
5522
|
+
in: `0x${string}`[];
|
|
5523
|
+
} | {
|
|
5524
|
+
not: `0x${string}`;
|
|
5525
|
+
} | `0x${string}` | undefined;
|
|
5526
|
+
topic2?: {
|
|
5527
|
+
eq: `0x${string}`;
|
|
5528
|
+
} | {
|
|
5529
|
+
in: `0x${string}`[];
|
|
5530
|
+
} | {
|
|
5531
|
+
not: `0x${string}`;
|
|
5532
|
+
} | `0x${string}` | undefined;
|
|
5533
|
+
topic3?: {
|
|
5534
|
+
eq: `0x${string}`;
|
|
5535
|
+
} | {
|
|
5536
|
+
in: `0x${string}`[];
|
|
5537
|
+
} | {
|
|
5538
|
+
not: `0x${string}`;
|
|
5539
|
+
} | `0x${string}` | undefined;
|
|
5540
|
+
args?: Record<string, unknown> | undefined;
|
|
5541
|
+
blockNumber?: {
|
|
5542
|
+
eq?: `0x${string}` | undefined;
|
|
5543
|
+
gt?: `0x${string}` | undefined;
|
|
5544
|
+
gte?: `0x${string}` | undefined;
|
|
5545
|
+
lt?: `0x${string}` | undefined;
|
|
5546
|
+
lte?: `0x${string}` | undefined;
|
|
5547
|
+
} | `0x${string}` | undefined;
|
|
5548
|
+
};
|
|
5549
|
+
} | {
|
|
5550
|
+
chainId?: unknown;
|
|
5551
|
+
context?: {
|
|
5552
|
+
description?: string | undefined;
|
|
5553
|
+
metadata?: Record<string, string> | undefined;
|
|
5554
|
+
title?: string | undefined;
|
|
5555
|
+
} | undefined;
|
|
5556
|
+
destination: {
|
|
5557
|
+
type: "url";
|
|
5558
|
+
url: string;
|
|
5559
|
+
} | {
|
|
5560
|
+
type: "slack";
|
|
5561
|
+
url: string;
|
|
5562
|
+
} | {
|
|
5563
|
+
token: string;
|
|
5564
|
+
type: "betterstack";
|
|
5565
|
+
url: string;
|
|
5566
|
+
};
|
|
5567
|
+
eventType: "block:created";
|
|
5568
|
+
filters?: {
|
|
5569
|
+
number?: {
|
|
5570
|
+
eq?: `0x${string}` | undefined;
|
|
5571
|
+
gt?: `0x${string}` | undefined;
|
|
5572
|
+
gte?: `0x${string}` | undefined;
|
|
5573
|
+
lt?: `0x${string}` | undefined;
|
|
5574
|
+
lte?: `0x${string}` | undefined;
|
|
5575
|
+
} | `0x${string}` | undefined;
|
|
5576
|
+
miner?: {
|
|
5577
|
+
eq: `0x${string}`;
|
|
5578
|
+
} | {
|
|
5579
|
+
in: `0x${string}`[];
|
|
5580
|
+
} | {
|
|
5581
|
+
not: `0x${string}`;
|
|
5582
|
+
} | `0x${string}` | undefined;
|
|
5583
|
+
proposer?: {
|
|
5584
|
+
eq: `0x${string}`;
|
|
5585
|
+
} | {
|
|
5586
|
+
in: `0x${string}`[];
|
|
5587
|
+
} | {
|
|
5588
|
+
not: `0x${string}`;
|
|
5589
|
+
} | `0x${string}` | undefined;
|
|
5590
|
+
gasUsed?: {
|
|
5591
|
+
eq?: `0x${string}` | undefined;
|
|
5592
|
+
gt?: `0x${string}` | undefined;
|
|
5593
|
+
gte?: `0x${string}` | undefined;
|
|
5594
|
+
lt?: `0x${string}` | undefined;
|
|
5595
|
+
lte?: `0x${string}` | undefined;
|
|
5596
|
+
} | `0x${string}` | undefined;
|
|
5597
|
+
gasLimit?: {
|
|
5598
|
+
eq?: `0x${string}` | undefined;
|
|
5599
|
+
gt?: `0x${string}` | undefined;
|
|
5600
|
+
gte?: `0x${string}` | undefined;
|
|
5601
|
+
lt?: `0x${string}` | undefined;
|
|
5602
|
+
lte?: `0x${string}` | undefined;
|
|
5603
|
+
} | `0x${string}` | undefined;
|
|
5604
|
+
timestamp?: {
|
|
5605
|
+
eq?: `0x${string}` | undefined;
|
|
5606
|
+
gt?: `0x${string}` | undefined;
|
|
5607
|
+
gte?: `0x${string}` | undefined;
|
|
5608
|
+
lt?: `0x${string}` | undefined;
|
|
5609
|
+
lte?: `0x${string}` | undefined;
|
|
5610
|
+
} | `0x${string}` | undefined;
|
|
5611
|
+
} | undefined;
|
|
5612
|
+
} | {
|
|
5613
|
+
chainId?: unknown;
|
|
5614
|
+
context?: {
|
|
5615
|
+
description?: string | undefined;
|
|
5616
|
+
metadata?: Record<string, string> | undefined;
|
|
5617
|
+
title?: string | undefined;
|
|
5618
|
+
} | undefined;
|
|
5619
|
+
destination: {
|
|
5620
|
+
type: "url";
|
|
5621
|
+
url: string;
|
|
5622
|
+
} | {
|
|
5623
|
+
type: "slack";
|
|
5624
|
+
url: string;
|
|
5625
|
+
} | {
|
|
5626
|
+
token: string;
|
|
5627
|
+
type: "betterstack";
|
|
5628
|
+
url: string;
|
|
5629
|
+
};
|
|
5630
|
+
eventType: "funding:deposit.updated";
|
|
5631
|
+
filters?: {
|
|
5632
|
+
depositAddressId?: string | undefined;
|
|
5633
|
+
recipient?: `0x${string}` | undefined;
|
|
5634
|
+
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
5635
|
+
} | undefined;
|
|
5636
|
+
}) & {
|
|
5637
|
+
chainId: number;
|
|
5638
|
+
environment?: "production" | "sandbox" | undefined;
|
|
5639
|
+
};
|
|
5640
|
+
};
|
|
5641
|
+
} | {
|
|
5642
|
+
output: {
|
|
4801
5643
|
chainId: number;
|
|
5644
|
+
createdAt: string;
|
|
5645
|
+
environment?: "production" | "sandbox" | undefined;
|
|
5646
|
+
eventType: "block:created" | "funding:deposit.updated" | "log:emitted" | "token:transfer" | "transaction:included";
|
|
5647
|
+
expiresAt?: string | undefined;
|
|
5648
|
+
failureCount: number;
|
|
5649
|
+
filters: {
|
|
5650
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
5651
|
+
};
|
|
5652
|
+
id: string;
|
|
5653
|
+
lastDeliveryAt?: string | undefined;
|
|
5654
|
+
status: "active" | "disabled" | "paused";
|
|
5655
|
+
updatedAt: string;
|
|
4802
5656
|
context?: {
|
|
4803
5657
|
description?: string | undefined;
|
|
4804
5658
|
metadata?: {
|
|
@@ -4806,8 +5660,16 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4806
5660
|
} | undefined;
|
|
4807
5661
|
title?: string | undefined;
|
|
4808
5662
|
} | undefined;
|
|
5663
|
+
destination: {
|
|
5664
|
+
type: "url";
|
|
5665
|
+
url: string;
|
|
5666
|
+
};
|
|
5667
|
+
secret: string;
|
|
5668
|
+
} | {
|
|
5669
|
+
chainId: number;
|
|
4809
5670
|
createdAt: string;
|
|
4810
|
-
|
|
5671
|
+
environment?: "production" | "sandbox" | undefined;
|
|
5672
|
+
eventType: "block:created" | "funding:deposit.updated" | "log:emitted" | "token:transfer" | "transaction:included";
|
|
4811
5673
|
expiresAt?: string | undefined;
|
|
4812
5674
|
failureCount: number;
|
|
4813
5675
|
filters: {
|
|
@@ -4817,12 +5679,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4817
5679
|
lastDeliveryAt?: string | undefined;
|
|
4818
5680
|
status: "active" | "disabled" | "paused";
|
|
4819
5681
|
updatedAt: string;
|
|
4820
|
-
destination: {
|
|
4821
|
-
type: "slack";
|
|
4822
|
-
url: "https://hooks.slack.com/…";
|
|
4823
|
-
};
|
|
4824
|
-
} | {
|
|
4825
|
-
chainId: number;
|
|
4826
5682
|
context?: {
|
|
4827
5683
|
description?: string | undefined;
|
|
4828
5684
|
metadata?: {
|
|
@@ -4830,8 +5686,15 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4830
5686
|
} | undefined;
|
|
4831
5687
|
title?: string | undefined;
|
|
4832
5688
|
} | undefined;
|
|
5689
|
+
destination: {
|
|
5690
|
+
type: "slack";
|
|
5691
|
+
url: "https://hooks.slack.com/…";
|
|
5692
|
+
};
|
|
5693
|
+
} | {
|
|
5694
|
+
chainId: number;
|
|
4833
5695
|
createdAt: string;
|
|
4834
|
-
|
|
5696
|
+
environment?: "production" | "sandbox" | undefined;
|
|
5697
|
+
eventType: "block:created" | "funding:deposit.updated" | "log:emitted" | "token:transfer" | "transaction:included";
|
|
4835
5698
|
expiresAt?: string | undefined;
|
|
4836
5699
|
failureCount: number;
|
|
4837
5700
|
filters: {
|
|
@@ -4841,6 +5704,13 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4841
5704
|
lastDeliveryAt?: string | undefined;
|
|
4842
5705
|
status: "active" | "disabled" | "paused";
|
|
4843
5706
|
updatedAt: string;
|
|
5707
|
+
context?: {
|
|
5708
|
+
description?: string | undefined;
|
|
5709
|
+
metadata?: {
|
|
5710
|
+
[x: string]: string;
|
|
5711
|
+
} | undefined;
|
|
5712
|
+
title?: string | undefined;
|
|
5713
|
+
} | undefined;
|
|
4844
5714
|
destination: {
|
|
4845
5715
|
token: "[redacted]";
|
|
4846
5716
|
type: "betterstack";
|
|
@@ -5164,8 +6034,33 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5164
6034
|
lte?: `0x${string}` | undefined;
|
|
5165
6035
|
} | `0x${string}` | undefined;
|
|
5166
6036
|
} | undefined;
|
|
6037
|
+
} | {
|
|
6038
|
+
chainId?: unknown;
|
|
6039
|
+
context?: {
|
|
6040
|
+
description?: string | undefined;
|
|
6041
|
+
metadata?: Record<string, string> | undefined;
|
|
6042
|
+
title?: string | undefined;
|
|
6043
|
+
} | undefined;
|
|
6044
|
+
destination: {
|
|
6045
|
+
type: "url";
|
|
6046
|
+
url: string;
|
|
6047
|
+
} | {
|
|
6048
|
+
type: "slack";
|
|
6049
|
+
url: string;
|
|
6050
|
+
} | {
|
|
6051
|
+
token: string;
|
|
6052
|
+
type: "betterstack";
|
|
6053
|
+
url: string;
|
|
6054
|
+
};
|
|
6055
|
+
eventType: "funding:deposit.updated";
|
|
6056
|
+
filters?: {
|
|
6057
|
+
depositAddressId?: string | undefined;
|
|
6058
|
+
recipient?: `0x${string}` | undefined;
|
|
6059
|
+
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
6060
|
+
} | undefined;
|
|
5167
6061
|
}) & {
|
|
5168
6062
|
chainId: number;
|
|
6063
|
+
environment?: "production" | "sandbox" | undefined;
|
|
5169
6064
|
};
|
|
5170
6065
|
};
|
|
5171
6066
|
};
|
|
@@ -5175,14 +6070,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5175
6070
|
$get: {
|
|
5176
6071
|
output: {
|
|
5177
6072
|
error: {
|
|
5178
|
-
code: "
|
|
6073
|
+
code: "api_key_malformed";
|
|
5179
6074
|
details?: readonly Response.error.Detail[] | undefined;
|
|
5180
6075
|
message: string;
|
|
5181
6076
|
};
|
|
5182
6077
|
requestId: string;
|
|
5183
6078
|
};
|
|
5184
6079
|
outputFormat: "json";
|
|
5185
|
-
status:
|
|
6080
|
+
status: 400;
|
|
5186
6081
|
input: {
|
|
5187
6082
|
param: {
|
|
5188
6083
|
orgId: string;
|
|
@@ -5191,14 +6086,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5191
6086
|
} | {
|
|
5192
6087
|
output: {
|
|
5193
6088
|
error: {
|
|
5194
|
-
code: "
|
|
6089
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
5195
6090
|
details?: readonly Response.error.Detail[] | undefined;
|
|
5196
6091
|
message: string;
|
|
5197
6092
|
};
|
|
5198
6093
|
requestId: string;
|
|
5199
6094
|
};
|
|
5200
6095
|
outputFormat: "json";
|
|
5201
|
-
status:
|
|
6096
|
+
status: 401;
|
|
5202
6097
|
input: {
|
|
5203
6098
|
param: {
|
|
5204
6099
|
orgId: string;
|
|
@@ -5207,14 +6102,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5207
6102
|
} | {
|
|
5208
6103
|
output: {
|
|
5209
6104
|
error: {
|
|
5210
|
-
code: "
|
|
6105
|
+
code: "upstream_error";
|
|
5211
6106
|
details?: readonly Response.error.Detail[] | undefined;
|
|
5212
6107
|
message: string;
|
|
5213
6108
|
};
|
|
5214
6109
|
requestId: string;
|
|
5215
6110
|
};
|
|
5216
6111
|
outputFormat: "json";
|
|
5217
|
-
status:
|
|
6112
|
+
status: 502;
|
|
5218
6113
|
input: {
|
|
5219
6114
|
param: {
|
|
5220
6115
|
orgId: string;
|
|
@@ -5223,14 +6118,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5223
6118
|
} | {
|
|
5224
6119
|
output: {
|
|
5225
6120
|
error: {
|
|
5226
|
-
code: "
|
|
6121
|
+
code: "param_invalid";
|
|
5227
6122
|
details?: readonly Response.error.Detail[] | undefined;
|
|
5228
6123
|
message: string;
|
|
5229
6124
|
};
|
|
5230
6125
|
requestId: string;
|
|
5231
6126
|
};
|
|
5232
6127
|
outputFormat: "json";
|
|
5233
|
-
status:
|
|
6128
|
+
status: 400;
|
|
5234
6129
|
input: {
|
|
5235
6130
|
param: {
|
|
5236
6131
|
orgId: string;
|
|
@@ -5255,14 +6150,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5255
6150
|
} | {
|
|
5256
6151
|
output: {
|
|
5257
6152
|
error: {
|
|
5258
|
-
code: "
|
|
6153
|
+
code: "organization_not_found";
|
|
5259
6154
|
details?: readonly Response.error.Detail[] | undefined;
|
|
5260
6155
|
message: string;
|
|
5261
6156
|
};
|
|
5262
6157
|
requestId: string;
|
|
5263
6158
|
};
|
|
5264
6159
|
outputFormat: "json";
|
|
5265
|
-
status:
|
|
6160
|
+
status: 404;
|
|
5266
6161
|
input: {
|
|
5267
6162
|
param: {
|
|
5268
6163
|
orgId: string;
|
|
@@ -5288,6 +6183,18 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5288
6183
|
output: {
|
|
5289
6184
|
data: {
|
|
5290
6185
|
chainId: number;
|
|
6186
|
+
createdAt: string;
|
|
6187
|
+
environment?: "production" | "sandbox" | undefined;
|
|
6188
|
+
eventType: "block:created" | "funding:deposit.updated" | "log:emitted" | "token:transfer" | "transaction:included";
|
|
6189
|
+
expiresAt?: string | undefined;
|
|
6190
|
+
failureCount: number;
|
|
6191
|
+
filters: {
|
|
6192
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
6193
|
+
};
|
|
6194
|
+
id: string;
|
|
6195
|
+
lastDeliveryAt?: string | undefined;
|
|
6196
|
+
status: "active" | "disabled" | "paused";
|
|
6197
|
+
updatedAt: string;
|
|
5291
6198
|
context?: {
|
|
5292
6199
|
description?: string | undefined;
|
|
5293
6200
|
metadata?: {
|
|
@@ -5295,7 +6202,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5295
6202
|
} | undefined;
|
|
5296
6203
|
title?: string | undefined;
|
|
5297
6204
|
} | undefined;
|
|
5298
|
-
createdAt: string;
|
|
5299
6205
|
destination: {
|
|
5300
6206
|
type: "url";
|
|
5301
6207
|
url: string;
|
|
@@ -5307,16 +6213,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5307
6213
|
type: "betterstack";
|
|
5308
6214
|
url: string;
|
|
5309
6215
|
};
|
|
5310
|
-
eventType: "block:created" | "log:emitted" | "token:transfer" | "transaction:included";
|
|
5311
|
-
expiresAt?: string | undefined;
|
|
5312
|
-
failureCount: number;
|
|
5313
|
-
filters: {
|
|
5314
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
5315
|
-
};
|
|
5316
|
-
id: string;
|
|
5317
|
-
lastDeliveryAt?: string | undefined;
|
|
5318
|
-
status: "active" | "disabled" | "paused";
|
|
5319
|
-
updatedAt: string;
|
|
5320
6216
|
}[];
|
|
5321
6217
|
};
|
|
5322
6218
|
outputFormat: "json";
|
|
@@ -5333,14 +6229,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5333
6229
|
$get: {
|
|
5334
6230
|
output: {
|
|
5335
6231
|
error: {
|
|
5336
|
-
code: "
|
|
6232
|
+
code: "api_key_malformed";
|
|
5337
6233
|
details?: readonly Response.error.Detail[] | undefined;
|
|
5338
6234
|
message: string;
|
|
5339
6235
|
};
|
|
5340
6236
|
requestId: string;
|
|
5341
6237
|
};
|
|
5342
6238
|
outputFormat: "json";
|
|
5343
|
-
status:
|
|
6239
|
+
status: 400;
|
|
5344
6240
|
input: {
|
|
5345
6241
|
param: {
|
|
5346
6242
|
id: string;
|
|
@@ -5357,14 +6253,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5357
6253
|
} | {
|
|
5358
6254
|
output: {
|
|
5359
6255
|
error: {
|
|
5360
|
-
code: "
|
|
6256
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
5361
6257
|
details?: readonly Response.error.Detail[] | undefined;
|
|
5362
6258
|
message: string;
|
|
5363
6259
|
};
|
|
5364
6260
|
requestId: string;
|
|
5365
6261
|
};
|
|
5366
6262
|
outputFormat: "json";
|
|
5367
|
-
status:
|
|
6263
|
+
status: 401;
|
|
5368
6264
|
input: {
|
|
5369
6265
|
param: {
|
|
5370
6266
|
id: string;
|
|
@@ -5381,14 +6277,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5381
6277
|
} | {
|
|
5382
6278
|
output: {
|
|
5383
6279
|
error: {
|
|
5384
|
-
code: "
|
|
6280
|
+
code: "query_invalid";
|
|
5385
6281
|
details?: readonly Response.error.Detail[] | undefined;
|
|
5386
6282
|
message: string;
|
|
5387
6283
|
};
|
|
5388
6284
|
requestId: string;
|
|
5389
6285
|
};
|
|
5390
6286
|
outputFormat: "json";
|
|
5391
|
-
status:
|
|
6287
|
+
status: 400;
|
|
5392
6288
|
input: {
|
|
5393
6289
|
param: {
|
|
5394
6290
|
id: string;
|
|
@@ -5405,14 +6301,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5405
6301
|
} | {
|
|
5406
6302
|
output: {
|
|
5407
6303
|
error: {
|
|
5408
|
-
code: "
|
|
6304
|
+
code: "upstream_error";
|
|
5409
6305
|
details?: readonly Response.error.Detail[] | undefined;
|
|
5410
6306
|
message: string;
|
|
5411
6307
|
};
|
|
5412
6308
|
requestId: string;
|
|
5413
6309
|
};
|
|
5414
6310
|
outputFormat: "json";
|
|
5415
|
-
status:
|
|
6311
|
+
status: 502;
|
|
5416
6312
|
input: {
|
|
5417
6313
|
param: {
|
|
5418
6314
|
id: string;
|
|
@@ -5429,14 +6325,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5429
6325
|
} | {
|
|
5430
6326
|
output: {
|
|
5431
6327
|
error: {
|
|
5432
|
-
code: "
|
|
6328
|
+
code: "param_invalid";
|
|
5433
6329
|
details?: readonly Response.error.Detail[] | undefined;
|
|
5434
6330
|
message: string;
|
|
5435
6331
|
};
|
|
5436
6332
|
requestId: string;
|
|
5437
6333
|
};
|
|
5438
6334
|
outputFormat: "json";
|
|
5439
|
-
status:
|
|
6335
|
+
status: 400;
|
|
5440
6336
|
input: {
|
|
5441
6337
|
param: {
|
|
5442
6338
|
id: string;
|
|
@@ -5477,14 +6373,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5477
6373
|
} | {
|
|
5478
6374
|
output: {
|
|
5479
6375
|
error: {
|
|
5480
|
-
code: "
|
|
6376
|
+
code: "organization_not_found";
|
|
5481
6377
|
details?: readonly Response.error.Detail[] | undefined;
|
|
5482
6378
|
message: string;
|
|
5483
6379
|
};
|
|
5484
6380
|
requestId: string;
|
|
5485
6381
|
};
|
|
5486
6382
|
outputFormat: "json";
|
|
5487
|
-
status:
|
|
6383
|
+
status: 404;
|
|
5488
6384
|
input: {
|
|
5489
6385
|
param: {
|
|
5490
6386
|
id: string;
|
|
@@ -5588,14 +6484,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5588
6484
|
$get: {
|
|
5589
6485
|
output: {
|
|
5590
6486
|
error: {
|
|
5591
|
-
code: "
|
|
6487
|
+
code: "api_key_malformed";
|
|
5592
6488
|
details?: readonly Response.error.Detail[] | undefined;
|
|
5593
6489
|
message: string;
|
|
5594
6490
|
};
|
|
5595
6491
|
requestId: string;
|
|
5596
6492
|
};
|
|
5597
6493
|
outputFormat: "json";
|
|
5598
|
-
status:
|
|
6494
|
+
status: 400;
|
|
5599
6495
|
input: {
|
|
5600
6496
|
param: {
|
|
5601
6497
|
deliveryId: string;
|
|
@@ -5606,14 +6502,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5606
6502
|
} | {
|
|
5607
6503
|
output: {
|
|
5608
6504
|
error: {
|
|
5609
|
-
code: "
|
|
6505
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
5610
6506
|
details?: readonly Response.error.Detail[] | undefined;
|
|
5611
6507
|
message: string;
|
|
5612
6508
|
};
|
|
5613
6509
|
requestId: string;
|
|
5614
6510
|
};
|
|
5615
6511
|
outputFormat: "json";
|
|
5616
|
-
status:
|
|
6512
|
+
status: 401;
|
|
5617
6513
|
input: {
|
|
5618
6514
|
param: {
|
|
5619
6515
|
deliveryId: string;
|
|
@@ -5624,14 +6520,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5624
6520
|
} | {
|
|
5625
6521
|
output: {
|
|
5626
6522
|
error: {
|
|
5627
|
-
code: "
|
|
6523
|
+
code: "upstream_error";
|
|
5628
6524
|
details?: readonly Response.error.Detail[] | undefined;
|
|
5629
6525
|
message: string;
|
|
5630
6526
|
};
|
|
5631
6527
|
requestId: string;
|
|
5632
6528
|
};
|
|
5633
6529
|
outputFormat: "json";
|
|
5634
|
-
status:
|
|
6530
|
+
status: 502;
|
|
5635
6531
|
input: {
|
|
5636
6532
|
param: {
|
|
5637
6533
|
deliveryId: string;
|
|
@@ -5642,14 +6538,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5642
6538
|
} | {
|
|
5643
6539
|
output: {
|
|
5644
6540
|
error: {
|
|
5645
|
-
code: "
|
|
6541
|
+
code: "param_invalid";
|
|
5646
6542
|
details?: readonly Response.error.Detail[] | undefined;
|
|
5647
6543
|
message: string;
|
|
5648
6544
|
};
|
|
5649
6545
|
requestId: string;
|
|
5650
6546
|
};
|
|
5651
6547
|
outputFormat: "json";
|
|
5652
|
-
status:
|
|
6548
|
+
status: 400;
|
|
5653
6549
|
input: {
|
|
5654
6550
|
param: {
|
|
5655
6551
|
deliveryId: string;
|
|
@@ -5678,14 +6574,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5678
6574
|
} | {
|
|
5679
6575
|
output: {
|
|
5680
6576
|
error: {
|
|
5681
|
-
code: "
|
|
6577
|
+
code: "organization_not_found";
|
|
5682
6578
|
details?: readonly Response.error.Detail[] | undefined;
|
|
5683
6579
|
message: string;
|
|
5684
6580
|
};
|
|
5685
6581
|
requestId: string;
|
|
5686
6582
|
};
|
|
5687
6583
|
outputFormat: "json";
|
|
5688
|
-
status:
|
|
6584
|
+
status: 404;
|
|
5689
6585
|
input: {
|
|
5690
6586
|
param: {
|
|
5691
6587
|
deliveryId: string;
|
|
@@ -5949,6 +6845,98 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5949
6845
|
timestamp: string;
|
|
5950
6846
|
};
|
|
5951
6847
|
type: "block:created";
|
|
6848
|
+
} | {
|
|
6849
|
+
chainId: number;
|
|
6850
|
+
context?: {
|
|
6851
|
+
description?: string | undefined;
|
|
6852
|
+
metadata?: {
|
|
6853
|
+
[x: string]: string;
|
|
6854
|
+
} | undefined;
|
|
6855
|
+
title?: string | undefined;
|
|
6856
|
+
} | undefined;
|
|
6857
|
+
createdAt: string;
|
|
6858
|
+
id: string;
|
|
6859
|
+
subscriptionId: string;
|
|
6860
|
+
data: {
|
|
6861
|
+
createdAt: string;
|
|
6862
|
+
depositAddressId: string;
|
|
6863
|
+
detectionTrigger?: "chain" | "manual" | "poll" | "webhook" | undefined;
|
|
6864
|
+
destinationAmount?: {
|
|
6865
|
+
baseUnits: string;
|
|
6866
|
+
currency: string;
|
|
6867
|
+
decimals: number;
|
|
6868
|
+
formatted: string;
|
|
6869
|
+
} | undefined;
|
|
6870
|
+
destinationAmountRequired?: {
|
|
6871
|
+
baseUnits: string;
|
|
6872
|
+
currency: string;
|
|
6873
|
+
decimals: number;
|
|
6874
|
+
formatted: string;
|
|
6875
|
+
} | undefined;
|
|
6876
|
+
destinationChain: {
|
|
6877
|
+
addressFormat: "base58" | "base58check" | "hex";
|
|
6878
|
+
id: string;
|
|
6879
|
+
kind: "evm" | "solana" | "tron";
|
|
6880
|
+
name: string;
|
|
6881
|
+
};
|
|
6882
|
+
destinationToken: {
|
|
6883
|
+
address: string;
|
|
6884
|
+
currency: string;
|
|
6885
|
+
decimals: number;
|
|
6886
|
+
name: string;
|
|
6887
|
+
standard: string;
|
|
6888
|
+
symbol: string;
|
|
6889
|
+
tokenKey: string;
|
|
6890
|
+
verified: boolean;
|
|
6891
|
+
};
|
|
6892
|
+
destinationTransactionHashes?: readonly string[] | undefined;
|
|
6893
|
+
id: string;
|
|
6894
|
+
provider: {
|
|
6895
|
+
id: string;
|
|
6896
|
+
name: string;
|
|
6897
|
+
};
|
|
6898
|
+
recipient: string;
|
|
6899
|
+
refundAddress: string;
|
|
6900
|
+
refundAmount?: {
|
|
6901
|
+
baseUnits: string;
|
|
6902
|
+
currency: string;
|
|
6903
|
+
decimals: number;
|
|
6904
|
+
formatted: string;
|
|
6905
|
+
} | undefined;
|
|
6906
|
+
refundTransactionHashes?: readonly string[] | undefined;
|
|
6907
|
+
sender?: string | undefined;
|
|
6908
|
+
sourceAmount?: {
|
|
6909
|
+
baseUnits: string;
|
|
6910
|
+
currency: string;
|
|
6911
|
+
decimals: number;
|
|
6912
|
+
formatted: string;
|
|
6913
|
+
} | undefined;
|
|
6914
|
+
sourceChain: {
|
|
6915
|
+
addressFormat: "base58" | "base58check" | "hex";
|
|
6916
|
+
id: string;
|
|
6917
|
+
kind: "evm" | "solana" | "tron";
|
|
6918
|
+
name: string;
|
|
6919
|
+
};
|
|
6920
|
+
sourceToken: {
|
|
6921
|
+
address: string;
|
|
6922
|
+
currency: string;
|
|
6923
|
+
decimals: number;
|
|
6924
|
+
name: string;
|
|
6925
|
+
standard: string;
|
|
6926
|
+
symbol: string;
|
|
6927
|
+
tokenKey: string;
|
|
6928
|
+
verified: boolean;
|
|
6929
|
+
};
|
|
6930
|
+
sourceTransactionHashes: readonly string[];
|
|
6931
|
+
sourceTransferIndex?: number | undefined;
|
|
6932
|
+
status: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling";
|
|
6933
|
+
statusReason?: {
|
|
6934
|
+
code: "delivery_failed" | "delivery_liquidity_unavailable" | "manual_recovery_required" | "refund_failed" | "source_amount_not_supported" | "source_token_mismatch" | "subsidy_balance_unavailable" | "subsidy_failed";
|
|
6935
|
+
message: string;
|
|
6936
|
+
} | undefined;
|
|
6937
|
+
updatedAt: string;
|
|
6938
|
+
};
|
|
6939
|
+
type: "funding:deposit.updated";
|
|
5952
6940
|
} | {
|
|
5953
6941
|
chainId: number;
|
|
5954
6942
|
context?: {
|
|
@@ -5983,14 +6971,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5983
6971
|
$post: {
|
|
5984
6972
|
output: {
|
|
5985
6973
|
error: {
|
|
5986
|
-
code: "
|
|
6974
|
+
code: "api_key_malformed";
|
|
5987
6975
|
details?: readonly Response.error.Detail[] | undefined;
|
|
5988
6976
|
message: string;
|
|
5989
6977
|
};
|
|
5990
6978
|
requestId: string;
|
|
5991
6979
|
};
|
|
5992
6980
|
outputFormat: "json";
|
|
5993
|
-
status:
|
|
6981
|
+
status: 400;
|
|
5994
6982
|
input: {
|
|
5995
6983
|
param: {
|
|
5996
6984
|
deliveryId: string;
|
|
@@ -6001,14 +6989,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6001
6989
|
} | {
|
|
6002
6990
|
output: {
|
|
6003
6991
|
error: {
|
|
6004
|
-
code: "
|
|
6992
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
6005
6993
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6006
6994
|
message: string;
|
|
6007
6995
|
};
|
|
6008
6996
|
requestId: string;
|
|
6009
6997
|
};
|
|
6010
6998
|
outputFormat: "json";
|
|
6011
|
-
status:
|
|
6999
|
+
status: 401;
|
|
6012
7000
|
input: {
|
|
6013
7001
|
param: {
|
|
6014
7002
|
deliveryId: string;
|
|
@@ -6019,14 +7007,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6019
7007
|
} | {
|
|
6020
7008
|
output: {
|
|
6021
7009
|
error: {
|
|
6022
|
-
code: "
|
|
7010
|
+
code: "upstream_error";
|
|
6023
7011
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6024
7012
|
message: string;
|
|
6025
7013
|
};
|
|
6026
7014
|
requestId: string;
|
|
6027
7015
|
};
|
|
6028
7016
|
outputFormat: "json";
|
|
6029
|
-
status:
|
|
7017
|
+
status: 502;
|
|
6030
7018
|
input: {
|
|
6031
7019
|
param: {
|
|
6032
7020
|
deliveryId: string;
|
|
@@ -6037,14 +7025,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6037
7025
|
} | {
|
|
6038
7026
|
output: {
|
|
6039
7027
|
error: {
|
|
6040
|
-
code: "
|
|
7028
|
+
code: "param_invalid";
|
|
6041
7029
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6042
7030
|
message: string;
|
|
6043
7031
|
};
|
|
6044
7032
|
requestId: string;
|
|
6045
7033
|
};
|
|
6046
7034
|
outputFormat: "json";
|
|
6047
|
-
status:
|
|
7035
|
+
status: 400;
|
|
6048
7036
|
input: {
|
|
6049
7037
|
param: {
|
|
6050
7038
|
deliveryId: string;
|
|
@@ -6073,14 +7061,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6073
7061
|
} | {
|
|
6074
7062
|
output: {
|
|
6075
7063
|
error: {
|
|
6076
|
-
code: "
|
|
7064
|
+
code: "organization_not_found";
|
|
6077
7065
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6078
7066
|
message: string;
|
|
6079
7067
|
};
|
|
6080
7068
|
requestId: string;
|
|
6081
7069
|
};
|
|
6082
7070
|
outputFormat: "json";
|
|
6083
|
-
status:
|
|
7071
|
+
status: 404;
|
|
6084
7072
|
input: {
|
|
6085
7073
|
param: {
|
|
6086
7074
|
deliveryId: string;
|
|
@@ -6166,14 +7154,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6166
7154
|
$patch: {
|
|
6167
7155
|
output: {
|
|
6168
7156
|
error: {
|
|
6169
|
-
code: "
|
|
7157
|
+
code: "api_key_malformed";
|
|
6170
7158
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6171
7159
|
message: string;
|
|
6172
7160
|
};
|
|
6173
7161
|
requestId: string;
|
|
6174
7162
|
};
|
|
6175
7163
|
outputFormat: "json";
|
|
6176
|
-
status:
|
|
7164
|
+
status: 400;
|
|
6177
7165
|
input: {
|
|
6178
7166
|
param: {
|
|
6179
7167
|
id: string;
|
|
@@ -6187,14 +7175,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6187
7175
|
} | {
|
|
6188
7176
|
output: {
|
|
6189
7177
|
error: {
|
|
6190
|
-
code: "
|
|
7178
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
6191
7179
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6192
7180
|
message: string;
|
|
6193
7181
|
};
|
|
6194
7182
|
requestId: string;
|
|
6195
7183
|
};
|
|
6196
7184
|
outputFormat: "json";
|
|
6197
|
-
status:
|
|
7185
|
+
status: 401;
|
|
6198
7186
|
input: {
|
|
6199
7187
|
param: {
|
|
6200
7188
|
id: string;
|
|
@@ -6208,14 +7196,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6208
7196
|
} | {
|
|
6209
7197
|
output: {
|
|
6210
7198
|
error: {
|
|
6211
|
-
code: "
|
|
7199
|
+
code: "upstream_error";
|
|
6212
7200
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6213
7201
|
message: string;
|
|
6214
7202
|
};
|
|
6215
7203
|
requestId: string;
|
|
6216
7204
|
};
|
|
6217
7205
|
outputFormat: "json";
|
|
6218
|
-
status:
|
|
7206
|
+
status: 502;
|
|
6219
7207
|
input: {
|
|
6220
7208
|
param: {
|
|
6221
7209
|
id: string;
|
|
@@ -6229,14 +7217,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6229
7217
|
} | {
|
|
6230
7218
|
output: {
|
|
6231
7219
|
error: {
|
|
6232
|
-
code: "
|
|
7220
|
+
code: "param_invalid";
|
|
6233
7221
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6234
7222
|
message: string;
|
|
6235
7223
|
};
|
|
6236
7224
|
requestId: string;
|
|
6237
7225
|
};
|
|
6238
7226
|
outputFormat: "json";
|
|
6239
|
-
status:
|
|
7227
|
+
status: 400;
|
|
6240
7228
|
input: {
|
|
6241
7229
|
param: {
|
|
6242
7230
|
id: string;
|
|
@@ -6250,14 +7238,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6250
7238
|
} | {
|
|
6251
7239
|
output: {
|
|
6252
7240
|
error: {
|
|
6253
|
-
code: "
|
|
7241
|
+
code: "body_invalid";
|
|
6254
7242
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6255
7243
|
message: string;
|
|
6256
7244
|
};
|
|
6257
7245
|
requestId: string;
|
|
6258
7246
|
};
|
|
6259
7247
|
outputFormat: "json";
|
|
6260
|
-
status:
|
|
7248
|
+
status: 400;
|
|
6261
7249
|
input: {
|
|
6262
7250
|
param: {
|
|
6263
7251
|
id: string;
|
|
@@ -6271,14 +7259,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6271
7259
|
} | {
|
|
6272
7260
|
output: {
|
|
6273
7261
|
error: {
|
|
6274
|
-
code: "
|
|
7262
|
+
code: "forbidden";
|
|
6275
7263
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6276
7264
|
message: string;
|
|
6277
7265
|
};
|
|
6278
7266
|
requestId: string;
|
|
6279
7267
|
};
|
|
6280
7268
|
outputFormat: "json";
|
|
6281
|
-
status:
|
|
7269
|
+
status: 403;
|
|
6282
7270
|
input: {
|
|
6283
7271
|
param: {
|
|
6284
7272
|
id: string;
|
|
@@ -6292,14 +7280,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6292
7280
|
} | {
|
|
6293
7281
|
output: {
|
|
6294
7282
|
error: {
|
|
6295
|
-
code: "
|
|
7283
|
+
code: "organization_not_found";
|
|
6296
7284
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6297
7285
|
message: string;
|
|
6298
7286
|
};
|
|
6299
7287
|
requestId: string;
|
|
6300
7288
|
};
|
|
6301
7289
|
outputFormat: "json";
|
|
6302
|
-
status:
|
|
7290
|
+
status: 404;
|
|
6303
7291
|
input: {
|
|
6304
7292
|
param: {
|
|
6305
7293
|
id: string;
|
|
@@ -6355,6 +7343,18 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6355
7343
|
} | {
|
|
6356
7344
|
output: {
|
|
6357
7345
|
chainId: number;
|
|
7346
|
+
createdAt: string;
|
|
7347
|
+
environment?: "production" | "sandbox" | undefined;
|
|
7348
|
+
eventType: "block:created" | "funding:deposit.updated" | "log:emitted" | "token:transfer" | "transaction:included";
|
|
7349
|
+
expiresAt?: string | undefined;
|
|
7350
|
+
failureCount: number;
|
|
7351
|
+
filters: {
|
|
7352
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
7353
|
+
};
|
|
7354
|
+
id: string;
|
|
7355
|
+
lastDeliveryAt?: string | undefined;
|
|
7356
|
+
status: "active" | "disabled" | "paused";
|
|
7357
|
+
updatedAt: string;
|
|
6358
7358
|
context?: {
|
|
6359
7359
|
description?: string | undefined;
|
|
6360
7360
|
metadata?: {
|
|
@@ -6362,7 +7362,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6362
7362
|
} | undefined;
|
|
6363
7363
|
title?: string | undefined;
|
|
6364
7364
|
} | undefined;
|
|
6365
|
-
createdAt: string;
|
|
6366
7365
|
destination: {
|
|
6367
7366
|
type: "url";
|
|
6368
7367
|
url: string;
|
|
@@ -6374,16 +7373,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6374
7373
|
type: "betterstack";
|
|
6375
7374
|
url: string;
|
|
6376
7375
|
};
|
|
6377
|
-
eventType: "block:created" | "log:emitted" | "token:transfer" | "transaction:included";
|
|
6378
|
-
expiresAt?: string | undefined;
|
|
6379
|
-
failureCount: number;
|
|
6380
|
-
filters: {
|
|
6381
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
6382
|
-
};
|
|
6383
|
-
id: string;
|
|
6384
|
-
lastDeliveryAt?: string | undefined;
|
|
6385
|
-
status: "active" | "disabled" | "paused";
|
|
6386
|
-
updatedAt: string;
|
|
6387
7376
|
};
|
|
6388
7377
|
outputFormat: "json";
|
|
6389
7378
|
status: 200;
|
|
@@ -6404,14 +7393,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6404
7393
|
$delete: {
|
|
6405
7394
|
output: {
|
|
6406
7395
|
error: {
|
|
6407
|
-
code: "
|
|
7396
|
+
code: "api_key_malformed";
|
|
6408
7397
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6409
7398
|
message: string;
|
|
6410
7399
|
};
|
|
6411
7400
|
requestId: string;
|
|
6412
7401
|
};
|
|
6413
7402
|
outputFormat: "json";
|
|
6414
|
-
status:
|
|
7403
|
+
status: 400;
|
|
6415
7404
|
input: {
|
|
6416
7405
|
param: {
|
|
6417
7406
|
id: string;
|
|
@@ -6421,14 +7410,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6421
7410
|
} | {
|
|
6422
7411
|
output: {
|
|
6423
7412
|
error: {
|
|
6424
|
-
code: "
|
|
7413
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
6425
7414
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6426
7415
|
message: string;
|
|
6427
7416
|
};
|
|
6428
7417
|
requestId: string;
|
|
6429
7418
|
};
|
|
6430
7419
|
outputFormat: "json";
|
|
6431
|
-
status:
|
|
7420
|
+
status: 401;
|
|
6432
7421
|
input: {
|
|
6433
7422
|
param: {
|
|
6434
7423
|
id: string;
|
|
@@ -6438,14 +7427,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6438
7427
|
} | {
|
|
6439
7428
|
output: {
|
|
6440
7429
|
error: {
|
|
6441
|
-
code: "
|
|
7430
|
+
code: "upstream_error";
|
|
6442
7431
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6443
7432
|
message: string;
|
|
6444
7433
|
};
|
|
6445
7434
|
requestId: string;
|
|
6446
7435
|
};
|
|
6447
7436
|
outputFormat: "json";
|
|
6448
|
-
status:
|
|
7437
|
+
status: 502;
|
|
6449
7438
|
input: {
|
|
6450
7439
|
param: {
|
|
6451
7440
|
id: string;
|
|
@@ -6455,14 +7444,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6455
7444
|
} | {
|
|
6456
7445
|
output: {
|
|
6457
7446
|
error: {
|
|
6458
|
-
code: "
|
|
7447
|
+
code: "param_invalid";
|
|
6459
7448
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6460
7449
|
message: string;
|
|
6461
7450
|
};
|
|
6462
7451
|
requestId: string;
|
|
6463
7452
|
};
|
|
6464
7453
|
outputFormat: "json";
|
|
6465
|
-
status:
|
|
7454
|
+
status: 400;
|
|
6466
7455
|
input: {
|
|
6467
7456
|
param: {
|
|
6468
7457
|
id: string;
|
|
@@ -6489,14 +7478,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6489
7478
|
} | {
|
|
6490
7479
|
output: {
|
|
6491
7480
|
error: {
|
|
6492
|
-
code: "
|
|
7481
|
+
code: "organization_not_found";
|
|
6493
7482
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6494
7483
|
message: string;
|
|
6495
7484
|
};
|
|
6496
7485
|
requestId: string;
|
|
6497
7486
|
};
|
|
6498
7487
|
outputFormat: "json";
|
|
6499
|
-
status:
|
|
7488
|
+
status: 404;
|
|
6500
7489
|
input: {
|
|
6501
7490
|
param: {
|
|
6502
7491
|
id: string;
|