tapimo 0.13.0 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/App.d.ts +6064 -4829
- package/dist/App.d.ts.map +1 -1
- package/dist/App.js +1 -0
- package/dist/App.js.map +1 -1
- package/dist/Webhooks.js +2 -2
- package/dist/Webhooks.js.map +1 -1
- package/dist/admin/App.d.ts +1008 -917
- package/dist/admin/App.d.ts.map +1 -1
- package/dist/admin/apps/earn-vaults.d.ts +48 -0
- package/dist/admin/apps/earn-vaults.d.ts.map +1 -1
- package/dist/admin/apps/earn-vaults.js +2 -1
- package/dist/admin/apps/earn-vaults.js.map +1 -1
- package/dist/admin/apps/organizations.d.ts +92 -3
- package/dist/admin/apps/organizations.d.ts.map +1 -1
- package/dist/admin/apps/organizations.js +69 -7
- package/dist/admin/apps/organizations.js.map +1 -1
- package/dist/admin/apps/verified-tokens.d.ts +74 -74
- package/dist/admin/ui.generated.d.ts +1 -1
- package/dist/admin/ui.generated.js +69 -69
- package/dist/admin/ui.generated.js.map +1 -1
- package/dist/apps/Zones.d.ts +12 -12
- package/dist/apps/Zones.js +3 -3
- package/dist/apps/data/App.d.ts +2909 -2523
- package/dist/apps/data/App.d.ts.map +1 -1
- package/dist/apps/data/App.js +11 -6
- package/dist/apps/data/App.js.map +1 -1
- package/dist/apps/data/routes/addresses.d.ts +22 -22
- package/dist/apps/data/routes/earn.d.ts +183 -7
- package/dist/apps/data/routes/earn.d.ts.map +1 -1
- package/dist/apps/data/routes/earn.js +434 -75
- package/dist/apps/data/routes/earn.js.map +1 -1
- package/dist/apps/data/routes/exchanges.d.ts +15 -0
- package/dist/apps/data/routes/exchanges.d.ts.map +1 -1
- package/dist/apps/data/routes/exchanges.js +180 -114
- package/dist/apps/data/routes/exchanges.js.map +1 -1
- package/dist/apps/data/routes/fee-amm.d.ts.map +1 -1
- package/dist/apps/data/routes/fee-amm.js +18 -19
- package/dist/apps/data/routes/fee-amm.js.map +1 -1
- package/dist/apps/data/routes/tokens.d.ts +93 -93
- package/dist/apps/data/routes/transfers.d.ts +12 -12
- package/dist/apps/data/routes/valuation.d.ts +30 -30
- package/dist/apps/data/routes/verified-tokens.d.ts +5 -5
- package/dist/apps/data/routes/webhooks.d.ts +805 -102
- package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/data/routes/webhooks.js +47 -5
- package/dist/apps/data/routes/webhooks.js.map +1 -1
- package/dist/apps/funding/App.d.ts +456 -45
- package/dist/apps/funding/App.d.ts.map +1 -1
- package/dist/apps/funding/App.js +1 -1
- package/dist/apps/funding/App.js.map +1 -1
- package/dist/apps/funding/routes/deposit-addresses.d.ts +17 -17
- package/dist/apps/funding/routes/deposit-addresses.d.ts.map +1 -1
- package/dist/apps/funding/routes/deposit-addresses.js +1 -1
- package/dist/apps/funding/routes/deposit-addresses.js.map +1 -1
- package/dist/apps/funding/routes/transfers.d.ts +654 -73
- package/dist/apps/funding/routes/transfers.d.ts.map +1 -1
- package/dist/apps/funding/routes/transfers.js +211 -5
- package/dist/apps/funding/routes/transfers.js.map +1 -1
- package/dist/apps/management/App.d.ts +831 -387
- package/dist/apps/management/App.d.ts.map +1 -1
- package/dist/apps/management/Billing.d.ts +1 -1
- package/dist/apps/management/Billing.d.ts.map +1 -1
- package/dist/apps/management/Billing.js +17 -1
- package/dist/apps/management/Billing.js.map +1 -1
- package/dist/apps/management/routes/api-keys.d.ts +76 -76
- package/dist/apps/management/routes/billing.d.ts +76 -76
- package/dist/apps/management/routes/faucet.d.ts +12 -12
- package/dist/apps/management/routes/invitations.d.ts +24 -24
- package/dist/apps/management/routes/invite-links.d.ts +46 -46
- package/dist/apps/management/routes/members.d.ts +46 -46
- package/dist/apps/management/routes/orgs.d.ts +20 -20
- package/dist/apps/management/routes/projects.d.ts +44 -44
- package/dist/apps/management/routes/usage.d.ts +32 -32
- package/dist/apps/management/routes/verified-token-requests.d.ts +16 -16
- package/dist/apps/management/routes/webhooks.d.ts +707 -57
- package/dist/apps/management/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/management/routes/webhooks.js +21 -21
- package/dist/apps/management/routes/webhooks.js.map +1 -1
- package/dist/apps/relay/App.d.ts.map +1 -1
- package/dist/apps/relay/App.js +115 -23
- package/dist/apps/relay/App.js.map +1 -1
- package/dist/apps/relay/Sponsorships.d.ts.map +1 -1
- package/dist/apps/relay/Sponsorships.js +27 -1
- package/dist/apps/relay/Sponsorships.js.map +1 -1
- package/dist/db/Db.d.ts.map +1 -1
- package/dist/db/Db.js +22 -0
- package/dist/db/Db.js.map +1 -1
- package/dist/db/Schema.d.ts +8 -3
- package/dist/db/Schema.d.ts.map +1 -1
- package/dist/db/Schema.js +16 -1
- package/dist/db/Schema.js.map +1 -1
- package/dist/db/tables/fundingTransferTransactions.d.ts +38 -0
- package/dist/db/tables/fundingTransferTransactions.d.ts.map +1 -1
- package/dist/db/tables/fundingTransferTransactions.js +44 -3
- package/dist/db/tables/fundingTransferTransactions.js.map +1 -1
- package/dist/db/tables/fundingTransfers.d.ts +17 -0
- package/dist/db/tables/fundingTransfers.d.ts.map +1 -1
- package/dist/db/tables/fundingTransfers.js +21 -0
- package/dist/db/tables/fundingTransfers.js.map +1 -1
- package/dist/db/tables/organizations.d.ts +24 -0
- package/dist/db/tables/organizations.d.ts.map +1 -1
- package/dist/db/tables/organizations.js +27 -0
- package/dist/db/tables/organizations.js.map +1 -1
- package/dist/db/tables/projects.d.ts +25 -1
- package/dist/db/tables/projects.d.ts.map +1 -1
- package/dist/db/tables/projects.js +26 -0
- package/dist/db/tables/projects.js.map +1 -1
- package/dist/db/tables/sponsoredTransactions.d.ts +44 -0
- package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -1
- package/dist/db/tables/sponsoredTransactions.js +146 -13
- package/dist/db/tables/sponsoredTransactions.js.map +1 -1
- package/dist/db/tables/webhookSubscriptions.d.ts +10 -6
- package/dist/db/tables/webhookSubscriptions.d.ts.map +1 -1
- package/dist/db/tables/webhookSubscriptions.js +9 -6
- package/dist/db/tables/webhookSubscriptions.js.map +1 -1
- package/dist/internal/EarnVaults.js +5 -5
- package/dist/internal/EarnVaults.js.map +1 -1
- package/dist/internal/Log.d.ts +1 -1
- package/dist/internal/Log.d.ts.map +1 -1
- package/dist/internal/Log.js.map +1 -1
- package/dist/internal/Viem.d.ts +16 -1
- package/dist/internal/Viem.d.ts.map +1 -1
- package/dist/internal/Viem.js +12 -2
- package/dist/internal/Viem.js.map +1 -1
- package/dist/internal/funding/DepositWebhook.d.ts.map +1 -1
- package/dist/internal/funding/DepositWebhook.js +2 -1
- package/dist/internal/funding/DepositWebhook.js.map +1 -1
- package/dist/internal/funding/Evidence.d.ts.map +1 -1
- package/dist/internal/funding/Evidence.js +2 -10
- package/dist/internal/funding/Evidence.js.map +1 -1
- package/dist/internal/funding/Provider.d.ts +40 -0
- package/dist/internal/funding/Provider.d.ts.map +1 -1
- package/dist/internal/funding/Provider.js +5 -0
- package/dist/internal/funding/Provider.js.map +1 -1
- package/dist/internal/funding/SourceObservation.d.ts.map +1 -1
- package/dist/internal/funding/SourceObservation.js +5 -7
- package/dist/internal/funding/SourceObservation.js.map +1 -1
- package/dist/internal/funding/Transfer.d.ts +101 -6
- package/dist/internal/funding/Transfer.d.ts.map +1 -1
- package/dist/internal/funding/Transfer.js +162 -34
- package/dist/internal/funding/Transfer.js.map +1 -1
- package/dist/internal/funding/TransferReconciliation.d.ts +52 -0
- package/dist/internal/funding/TransferReconciliation.d.ts.map +1 -0
- package/dist/internal/funding/TransferReconciliation.js +192 -0
- package/dist/internal/funding/TransferReconciliation.js.map +1 -0
- package/dist/internal/funding/TransferWebhook.d.ts +21 -0
- package/dist/internal/funding/TransferWebhook.d.ts.map +1 -0
- package/dist/internal/funding/TransferWebhook.js +43 -0
- package/dist/internal/funding/TransferWebhook.js.map +1 -0
- package/dist/internal/funding/index.d.ts +1 -0
- package/dist/internal/funding/index.d.ts.map +1 -1
- package/dist/internal/funding/index.js +1 -0
- package/dist/internal/funding/index.js.map +1 -1
- package/dist/internal/funding/providers/relay.d.ts.map +1 -1
- package/dist/internal/funding/providers/relay.js +3 -12
- package/dist/internal/funding/providers/relay.js.map +1 -1
- package/dist/internal/funding/providers/stargate.d.ts +99 -0
- package/dist/internal/funding/providers/stargate.d.ts.map +1 -1
- package/dist/internal/funding/providers/stargate.js +337 -35
- package/dist/internal/funding/providers/stargate.js.map +1 -1
- package/dist/internal/webhookDestinations/slack.d.ts.map +1 -1
- package/dist/internal/webhookDestinations/slack.js +16 -0
- package/dist/internal/webhookDestinations/slack.js.map +1 -1
- package/package.json +1 -1
- package/src/App.ts +1 -0
- package/src/Client.test-d.ts +83 -2
- package/src/Webhooks.ts +2 -2
- package/src/admin/apps/earn-vaults.ts +2 -1
- package/src/admin/apps/organizations.test.ts +53 -1
- package/src/admin/apps/organizations.ts +90 -5
- package/src/admin/ui/src/lib/organizations.test.ts +112 -1
- package/src/admin/ui/src/lib/organizations.ts +55 -0
- package/src/admin/ui/src/routes/organizations_.$orgId.tsx +116 -0
- package/src/admin/ui.generated.ts +69 -69
- package/src/apps/Zones.test.ts +3 -3
- package/src/apps/Zones.ts +3 -3
- package/src/apps/composition.test.ts +1 -0
- package/src/apps/data/App.ts +15 -6
- package/src/apps/data/routes/earn.test.ts +369 -14
- package/src/apps/data/routes/earn.ts +548 -79
- package/src/apps/data/routes/exchanges.test.ts +740 -15
- package/src/apps/data/routes/exchanges.ts +954 -753
- package/src/apps/data/routes/fee-amm.ts +17 -18
- package/src/apps/data/routes/webhooks.test.ts +21 -5
- package/src/apps/data/routes/webhooks.ts +63 -8
- package/src/apps/funding/App.ts +12 -2
- package/src/apps/funding/routes/deposit-addresses.test.ts +4 -4
- package/src/apps/funding/routes/deposit-addresses.ts +2 -2
- package/src/apps/funding/routes/transfers.test.ts +510 -19
- package/src/apps/funding/routes/transfers.ts +271 -5
- package/src/apps/management/Billing.ts +18 -5
- package/src/apps/management/routes/webhooks.test.ts +3 -3
- package/src/apps/management/routes/webhooks.ts +24 -25
- package/src/apps/relay/App.test.ts +212 -1
- package/src/apps/relay/App.ts +158 -29
- package/src/apps/relay/Sponsorships.ts +24 -1
- package/src/db/Db.ts +35 -0
- package/src/db/Schema.ts +17 -2
- package/src/db/tables/fundingTransferTransactions.test.ts +43 -0
- package/src/db/tables/fundingTransferTransactions.ts +79 -3
- package/src/db/tables/fundingTransfers.test.ts +26 -0
- package/src/db/tables/fundingTransfers.ts +36 -0
- package/src/db/tables/organizations.test.ts +41 -0
- package/src/db/tables/organizations.ts +49 -0
- package/src/db/tables/projects.test.ts +55 -0
- package/src/db/tables/projects.ts +46 -1
- package/src/db/tables/sponsoredTransactions.test.ts +338 -0
- package/src/db/tables/sponsoredTransactions.ts +197 -13
- package/src/db/tables/webhookSubscriptions.ts +18 -11
- package/src/internal/EarnVaults.ts +5 -5
- package/src/internal/Log.test-d.ts +2 -0
- package/src/internal/Log.ts +2 -0
- package/src/internal/Viem.ts +39 -3
- package/src/internal/Webhooks.test.ts +45 -0
- package/src/internal/funding/DepositWebhook.ts +2 -1
- package/src/internal/funding/Evidence.ts +2 -13
- package/src/internal/funding/Provider.ts +43 -0
- package/src/internal/funding/SourceObservation.ts +5 -9
- package/src/internal/funding/Transfer.test.ts +155 -0
- package/src/internal/funding/Transfer.ts +254 -37
- package/src/internal/funding/TransferReconciliation.test.ts +147 -0
- package/src/internal/funding/TransferReconciliation.ts +264 -0
- package/src/internal/funding/TransferWebhook.test.ts +128 -0
- package/src/internal/funding/TransferWebhook.ts +67 -0
- package/src/internal/funding/index.test.ts +1 -0
- package/src/internal/funding/index.ts +1 -0
- package/src/internal/funding/providers/relay.ts +3 -15
- package/src/internal/funding/providers/stargate.test.ts +169 -4
- package/src/internal/funding/providers/stargate.ts +498 -51
- package/src/internal/webhookDestinations/slack.ts +15 -0
|
@@ -15,6 +15,7 @@ export declare namespace schema {
|
|
|
15
15
|
eventType: z.ZodMiniEnum<{
|
|
16
16
|
"block:created": "block:created";
|
|
17
17
|
"funding:deposit.updated": "funding:deposit.updated";
|
|
18
|
+
"funding:transfer.updated": "funding:transfer.updated";
|
|
18
19
|
"log:emitted": "log:emitted";
|
|
19
20
|
"token:transfer": "token:transfer";
|
|
20
21
|
"transaction:included": "transaction:included";
|
|
@@ -424,6 +425,40 @@ export declare namespace schema {
|
|
|
424
425
|
settling: "settling";
|
|
425
426
|
}>>;
|
|
426
427
|
}, z.core.$strict>>;
|
|
428
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
429
|
+
chainId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
|
|
430
|
+
mainnet: "mainnet";
|
|
431
|
+
testnet: "testnet";
|
|
432
|
+
}>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniPipe<z.ZodMiniNumber<unknown>, z.ZodMiniTransform<number, number>>]>, z.ZodMiniNumber<number>>>;
|
|
433
|
+
context: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
434
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
435
|
+
metadata: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
|
|
436
|
+
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
437
|
+
}, z.core.$strip>>;
|
|
438
|
+
destination: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
439
|
+
type: z.ZodMiniLiteral<"url">;
|
|
440
|
+
url: z.ZodMiniURL;
|
|
441
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
442
|
+
type: z.ZodMiniLiteral<"slack">;
|
|
443
|
+
url: z.ZodMiniURL;
|
|
444
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
445
|
+
token: z.ZodMiniString<string>;
|
|
446
|
+
type: z.ZodMiniLiteral<"betterstack">;
|
|
447
|
+
url: z.ZodMiniURL;
|
|
448
|
+
}, z.core.$strip>], "type">;
|
|
449
|
+
eventType: z.ZodMiniLiteral<"funding:transfer.updated">;
|
|
450
|
+
filters: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
451
|
+
id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
452
|
+
status: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
453
|
+
"action-required": "action-required";
|
|
454
|
+
"awaiting-source": "awaiting-source";
|
|
455
|
+
completed: "completed";
|
|
456
|
+
expired: "expired";
|
|
457
|
+
processing: "processing";
|
|
458
|
+
refunded: "refunded";
|
|
459
|
+
refunding: "refunding";
|
|
460
|
+
}>>;
|
|
461
|
+
}, z.core.$strict>>;
|
|
427
462
|
}, z.core.$strip>], "eventType">, z.ZodMiniObject<{
|
|
428
463
|
chainId: z.ZodMiniNumber<number>;
|
|
429
464
|
environment: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
@@ -442,6 +477,7 @@ export declare namespace schema {
|
|
|
442
477
|
eventType: z.ZodMiniEnum<{
|
|
443
478
|
"block:created": "block:created";
|
|
444
479
|
"funding:deposit.updated": "funding:deposit.updated";
|
|
480
|
+
"funding:transfer.updated": "funding:transfer.updated";
|
|
445
481
|
"log:emitted": "log:emitted";
|
|
446
482
|
"token:transfer": "token:transfer";
|
|
447
483
|
"transaction:included": "transaction:included";
|
|
@@ -477,6 +513,7 @@ export declare namespace schema {
|
|
|
477
513
|
eventType: z.ZodMiniEnum<{
|
|
478
514
|
"block:created": "block:created";
|
|
479
515
|
"funding:deposit.updated": "funding:deposit.updated";
|
|
516
|
+
"funding:transfer.updated": "funding:transfer.updated";
|
|
480
517
|
"log:emitted": "log:emitted";
|
|
481
518
|
"token:transfer": "token:transfer";
|
|
482
519
|
"transaction:included": "transaction:included";
|
|
@@ -511,6 +548,7 @@ export declare namespace schema {
|
|
|
511
548
|
eventType: z.ZodMiniEnum<{
|
|
512
549
|
"block:created": "block:created";
|
|
513
550
|
"funding:deposit.updated": "funding:deposit.updated";
|
|
551
|
+
"funding:transfer.updated": "funding:transfer.updated";
|
|
514
552
|
"log:emitted": "log:emitted";
|
|
515
553
|
"token:transfer": "token:transfer";
|
|
516
554
|
"transaction:included": "transaction:included";
|
|
@@ -927,6 +965,173 @@ export declare namespace schema {
|
|
|
927
965
|
updatedAt: z.ZodMiniISODateTime;
|
|
928
966
|
}, z.core.$strip>;
|
|
929
967
|
type: z.ZodMiniLiteral<"funding:deposit.updated">;
|
|
968
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
969
|
+
chainId: z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
|
|
970
|
+
mainnet: "mainnet";
|
|
971
|
+
testnet: "testnet";
|
|
972
|
+
}>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniPipe<z.ZodMiniNumber<unknown>, z.ZodMiniTransform<number, number>>]>, z.ZodMiniNumber<number>>;
|
|
973
|
+
context: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
974
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
975
|
+
metadata: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
|
|
976
|
+
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
977
|
+
}, z.core.$strip>>;
|
|
978
|
+
createdAt: z.ZodMiniISODateTime;
|
|
979
|
+
id: z.ZodMiniString<string>;
|
|
980
|
+
subscriptionId: z.ZodMiniString<string>;
|
|
981
|
+
data: z.ZodMiniObject<{
|
|
982
|
+
createdAt: z.ZodMiniISODateTime;
|
|
983
|
+
destinationAmount: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
984
|
+
baseUnits: z.ZodMiniString<string>;
|
|
985
|
+
currency: z.ZodMiniString<string>;
|
|
986
|
+
decimals: z.ZodMiniNumber<number>;
|
|
987
|
+
formatted: z.ZodMiniString<string>;
|
|
988
|
+
}, z.core.$strip>>;
|
|
989
|
+
destinationAmountMin: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
990
|
+
baseUnits: z.ZodMiniString<string>;
|
|
991
|
+
currency: z.ZodMiniString<string>;
|
|
992
|
+
decimals: z.ZodMiniNumber<number>;
|
|
993
|
+
formatted: z.ZodMiniString<string>;
|
|
994
|
+
}, z.core.$strip>>;
|
|
995
|
+
destinationChain: z.ZodMiniObject<{
|
|
996
|
+
addressFormat: z.ZodMiniEnum<{
|
|
997
|
+
base58: "base58";
|
|
998
|
+
base58check: "base58check";
|
|
999
|
+
hex: "hex";
|
|
1000
|
+
}>;
|
|
1001
|
+
id: z.ZodMiniString<string>;
|
|
1002
|
+
kind: z.ZodMiniEnum<{
|
|
1003
|
+
evm: "evm";
|
|
1004
|
+
solana: "solana";
|
|
1005
|
+
tron: "tron";
|
|
1006
|
+
}>;
|
|
1007
|
+
name: z.ZodMiniString<string>;
|
|
1008
|
+
}, z.core.$strip>;
|
|
1009
|
+
destinationToken: z.ZodMiniObject<{
|
|
1010
|
+
address: z.ZodMiniString<string>;
|
|
1011
|
+
currency: z.ZodMiniString<string>;
|
|
1012
|
+
decimals: z.ZodMiniNumber<number>;
|
|
1013
|
+
name: z.ZodMiniString<string>;
|
|
1014
|
+
standard: z.ZodMiniString<string>;
|
|
1015
|
+
symbol: z.ZodMiniString<string>;
|
|
1016
|
+
tokenKey: z.ZodMiniString<string>;
|
|
1017
|
+
verified: z.ZodMiniBoolean<boolean>;
|
|
1018
|
+
}, z.core.$strip>;
|
|
1019
|
+
destinationTransactionHashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
1020
|
+
fees: z.ZodMiniArray<z.ZodMiniObject<{
|
|
1021
|
+
amount: z.ZodMiniObject<{
|
|
1022
|
+
baseUnits: z.ZodMiniString<string>;
|
|
1023
|
+
currency: z.ZodMiniString<string>;
|
|
1024
|
+
decimals: z.ZodMiniNumber<number>;
|
|
1025
|
+
formatted: z.ZodMiniString<string>;
|
|
1026
|
+
}, z.core.$strip>;
|
|
1027
|
+
side: z.ZodMiniEnum<{
|
|
1028
|
+
destination: "destination";
|
|
1029
|
+
source: "source";
|
|
1030
|
+
}>;
|
|
1031
|
+
token: z.ZodMiniObject<{
|
|
1032
|
+
address: z.ZodMiniString<string>;
|
|
1033
|
+
currency: z.ZodMiniString<string>;
|
|
1034
|
+
decimals: z.ZodMiniNumber<number>;
|
|
1035
|
+
name: z.ZodMiniString<string>;
|
|
1036
|
+
standard: z.ZodMiniString<string>;
|
|
1037
|
+
symbol: z.ZodMiniString<string>;
|
|
1038
|
+
tokenKey: z.ZodMiniString<string>;
|
|
1039
|
+
verified: z.ZodMiniBoolean<boolean>;
|
|
1040
|
+
}, z.core.$strip>;
|
|
1041
|
+
type: z.ZodMiniEnum<{
|
|
1042
|
+
provider: "provider";
|
|
1043
|
+
}>;
|
|
1044
|
+
}, z.core.$strip>>;
|
|
1045
|
+
id: z.ZodMiniString<string>;
|
|
1046
|
+
method: z.ZodMiniEnum<{
|
|
1047
|
+
depositAddress: "depositAddress";
|
|
1048
|
+
transaction: "transaction";
|
|
1049
|
+
}>;
|
|
1050
|
+
mode: z.ZodMiniEnum<{
|
|
1051
|
+
exactDestination: "exactDestination";
|
|
1052
|
+
exactSource: "exactSource";
|
|
1053
|
+
}>;
|
|
1054
|
+
provider: z.ZodMiniObject<{
|
|
1055
|
+
id: z.ZodMiniString<string>;
|
|
1056
|
+
name: z.ZodMiniString<string>;
|
|
1057
|
+
}, z.core.$strip>;
|
|
1058
|
+
quote: z.ZodMiniObject<{
|
|
1059
|
+
expiresAt: z.ZodMiniISODateTime;
|
|
1060
|
+
sampledAt: z.ZodMiniISODateTime;
|
|
1061
|
+
}, z.core.$strip>;
|
|
1062
|
+
recipient: z.ZodMiniString<string>;
|
|
1063
|
+
refundAddress: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1064
|
+
refundAmount: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1065
|
+
baseUnits: z.ZodMiniString<string>;
|
|
1066
|
+
currency: z.ZodMiniString<string>;
|
|
1067
|
+
decimals: z.ZodMiniNumber<number>;
|
|
1068
|
+
formatted: z.ZodMiniString<string>;
|
|
1069
|
+
}, z.core.$strip>>;
|
|
1070
|
+
refundTransactionHashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
1071
|
+
sender: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1072
|
+
sourceAmount: z.ZodMiniObject<{
|
|
1073
|
+
baseUnits: z.ZodMiniString<string>;
|
|
1074
|
+
currency: z.ZodMiniString<string>;
|
|
1075
|
+
decimals: z.ZodMiniNumber<number>;
|
|
1076
|
+
formatted: z.ZodMiniString<string>;
|
|
1077
|
+
}, z.core.$strip>;
|
|
1078
|
+
sourceAmountMax: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1079
|
+
baseUnits: z.ZodMiniString<string>;
|
|
1080
|
+
currency: z.ZodMiniString<string>;
|
|
1081
|
+
decimals: z.ZodMiniNumber<number>;
|
|
1082
|
+
formatted: z.ZodMiniString<string>;
|
|
1083
|
+
}, z.core.$strip>>;
|
|
1084
|
+
sourceChain: z.ZodMiniObject<{
|
|
1085
|
+
addressFormat: z.ZodMiniEnum<{
|
|
1086
|
+
base58: "base58";
|
|
1087
|
+
base58check: "base58check";
|
|
1088
|
+
hex: "hex";
|
|
1089
|
+
}>;
|
|
1090
|
+
id: z.ZodMiniString<string>;
|
|
1091
|
+
kind: z.ZodMiniEnum<{
|
|
1092
|
+
evm: "evm";
|
|
1093
|
+
solana: "solana";
|
|
1094
|
+
tron: "tron";
|
|
1095
|
+
}>;
|
|
1096
|
+
name: z.ZodMiniString<string>;
|
|
1097
|
+
}, z.core.$strip>;
|
|
1098
|
+
sourceToken: z.ZodMiniObject<{
|
|
1099
|
+
address: z.ZodMiniString<string>;
|
|
1100
|
+
currency: z.ZodMiniString<string>;
|
|
1101
|
+
decimals: z.ZodMiniNumber<number>;
|
|
1102
|
+
name: z.ZodMiniString<string>;
|
|
1103
|
+
standard: z.ZodMiniString<string>;
|
|
1104
|
+
symbol: z.ZodMiniString<string>;
|
|
1105
|
+
tokenKey: z.ZodMiniString<string>;
|
|
1106
|
+
verified: z.ZodMiniBoolean<boolean>;
|
|
1107
|
+
}, z.core.$strip>;
|
|
1108
|
+
sourceTransactionHashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
1109
|
+
status: z.ZodMiniEnum<{
|
|
1110
|
+
"action-required": "action-required";
|
|
1111
|
+
"awaiting-source": "awaiting-source";
|
|
1112
|
+
completed: "completed";
|
|
1113
|
+
expired: "expired";
|
|
1114
|
+
processing: "processing";
|
|
1115
|
+
refunded: "refunded";
|
|
1116
|
+
refunding: "refunding";
|
|
1117
|
+
}>;
|
|
1118
|
+
statusReason: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1119
|
+
code: z.ZodMiniEnum<{
|
|
1120
|
+
destination_amount_below_minimum: "destination_amount_below_minimum";
|
|
1121
|
+
destination_recovered: "destination_recovered";
|
|
1122
|
+
manual_recovery_required: "manual_recovery_required";
|
|
1123
|
+
refund_failed: "refund_failed";
|
|
1124
|
+
source_amount_above_maximum: "source_amount_above_maximum";
|
|
1125
|
+
source_amount_below_minimum: "source_amount_below_minimum";
|
|
1126
|
+
source_chain_mismatch: "source_chain_mismatch";
|
|
1127
|
+
source_token_mismatch: "source_token_mismatch";
|
|
1128
|
+
}>;
|
|
1129
|
+
message: z.ZodMiniString<string>;
|
|
1130
|
+
}, z.core.$strip>>;
|
|
1131
|
+
updatedAt: z.ZodMiniISODateTime;
|
|
1132
|
+
version: z.ZodMiniNumber<number>;
|
|
1133
|
+
}, z.core.$strip>;
|
|
1134
|
+
type: z.ZodMiniLiteral<"funding:transfer.updated">;
|
|
930
1135
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
931
1136
|
chainId: z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
|
|
932
1137
|
mainnet: "mainnet";
|
|
@@ -974,6 +1179,7 @@ export declare namespace schema {
|
|
|
974
1179
|
eventType: z.ZodMiniEnum<{
|
|
975
1180
|
"block:created": "block:created";
|
|
976
1181
|
"funding:deposit.updated": "funding:deposit.updated";
|
|
1182
|
+
"funding:transfer.updated": "funding:transfer.updated";
|
|
977
1183
|
"log:emitted": "log:emitted";
|
|
978
1184
|
"token:transfer": "token:transfer";
|
|
979
1185
|
"transaction:included": "transaction:included";
|
|
@@ -1026,7 +1232,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
1026
1232
|
$post: {
|
|
1027
1233
|
output: {
|
|
1028
1234
|
error: {
|
|
1029
|
-
code: "
|
|
1235
|
+
code: "api_key_malformed";
|
|
1030
1236
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1031
1237
|
message: string;
|
|
1032
1238
|
};
|
|
@@ -1373,6 +1579,29 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
1373
1579
|
recipient?: `0x${string}` | undefined;
|
|
1374
1580
|
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
1375
1581
|
} | undefined;
|
|
1582
|
+
} | {
|
|
1583
|
+
chainId?: unknown;
|
|
1584
|
+
context?: {
|
|
1585
|
+
description?: string | undefined;
|
|
1586
|
+
metadata?: Record<string, string> | undefined;
|
|
1587
|
+
title?: string | undefined;
|
|
1588
|
+
} | undefined;
|
|
1589
|
+
destination: {
|
|
1590
|
+
type: "url";
|
|
1591
|
+
url: string;
|
|
1592
|
+
} | {
|
|
1593
|
+
type: "slack";
|
|
1594
|
+
url: string;
|
|
1595
|
+
} | {
|
|
1596
|
+
token: string;
|
|
1597
|
+
type: "betterstack";
|
|
1598
|
+
url: string;
|
|
1599
|
+
};
|
|
1600
|
+
eventType: "funding:transfer.updated";
|
|
1601
|
+
filters?: {
|
|
1602
|
+
id?: string | undefined;
|
|
1603
|
+
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
1604
|
+
} | undefined;
|
|
1376
1605
|
}) & {
|
|
1377
1606
|
chainId: number;
|
|
1378
1607
|
environment?: "production" | "sandbox" | undefined;
|
|
@@ -1381,14 +1610,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
1381
1610
|
} | {
|
|
1382
1611
|
output: {
|
|
1383
1612
|
error: {
|
|
1384
|
-
code: "
|
|
1613
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1385
1614
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1386
1615
|
message: string;
|
|
1387
1616
|
};
|
|
1388
1617
|
requestId: string;
|
|
1389
1618
|
};
|
|
1390
1619
|
outputFormat: "json";
|
|
1391
|
-
status:
|
|
1620
|
+
status: 401;
|
|
1392
1621
|
input: {
|
|
1393
1622
|
param: {
|
|
1394
1623
|
orgId: string;
|
|
@@ -1728,6 +1957,29 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
1728
1957
|
recipient?: `0x${string}` | undefined;
|
|
1729
1958
|
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
1730
1959
|
} | undefined;
|
|
1960
|
+
} | {
|
|
1961
|
+
chainId?: unknown;
|
|
1962
|
+
context?: {
|
|
1963
|
+
description?: string | undefined;
|
|
1964
|
+
metadata?: Record<string, string> | undefined;
|
|
1965
|
+
title?: string | undefined;
|
|
1966
|
+
} | undefined;
|
|
1967
|
+
destination: {
|
|
1968
|
+
type: "url";
|
|
1969
|
+
url: string;
|
|
1970
|
+
} | {
|
|
1971
|
+
type: "slack";
|
|
1972
|
+
url: string;
|
|
1973
|
+
} | {
|
|
1974
|
+
token: string;
|
|
1975
|
+
type: "betterstack";
|
|
1976
|
+
url: string;
|
|
1977
|
+
};
|
|
1978
|
+
eventType: "funding:transfer.updated";
|
|
1979
|
+
filters?: {
|
|
1980
|
+
id?: string | undefined;
|
|
1981
|
+
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
1982
|
+
} | undefined;
|
|
1731
1983
|
}) & {
|
|
1732
1984
|
chainId: number;
|
|
1733
1985
|
environment?: "production" | "sandbox" | undefined;
|
|
@@ -1736,14 +1988,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
1736
1988
|
} | {
|
|
1737
1989
|
output: {
|
|
1738
1990
|
error: {
|
|
1739
|
-
code: "
|
|
1991
|
+
code: "upstream_error";
|
|
1740
1992
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1741
1993
|
message: string;
|
|
1742
1994
|
};
|
|
1743
1995
|
requestId: string;
|
|
1744
1996
|
};
|
|
1745
1997
|
outputFormat: "json";
|
|
1746
|
-
status:
|
|
1998
|
+
status: 502;
|
|
1747
1999
|
input: {
|
|
1748
2000
|
param: {
|
|
1749
2001
|
orgId: string;
|
|
@@ -2083,6 +2335,29 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2083
2335
|
recipient?: `0x${string}` | undefined;
|
|
2084
2336
|
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
2085
2337
|
} | undefined;
|
|
2338
|
+
} | {
|
|
2339
|
+
chainId?: unknown;
|
|
2340
|
+
context?: {
|
|
2341
|
+
description?: string | undefined;
|
|
2342
|
+
metadata?: Record<string, string> | undefined;
|
|
2343
|
+
title?: string | undefined;
|
|
2344
|
+
} | undefined;
|
|
2345
|
+
destination: {
|
|
2346
|
+
type: "url";
|
|
2347
|
+
url: string;
|
|
2348
|
+
} | {
|
|
2349
|
+
type: "slack";
|
|
2350
|
+
url: string;
|
|
2351
|
+
} | {
|
|
2352
|
+
token: string;
|
|
2353
|
+
type: "betterstack";
|
|
2354
|
+
url: string;
|
|
2355
|
+
};
|
|
2356
|
+
eventType: "funding:transfer.updated";
|
|
2357
|
+
filters?: {
|
|
2358
|
+
id?: string | undefined;
|
|
2359
|
+
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
2360
|
+
} | undefined;
|
|
2086
2361
|
}) & {
|
|
2087
2362
|
chainId: number;
|
|
2088
2363
|
environment?: "production" | "sandbox" | undefined;
|
|
@@ -2091,14 +2366,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2091
2366
|
} | {
|
|
2092
2367
|
output: {
|
|
2093
2368
|
error: {
|
|
2094
|
-
code: "
|
|
2369
|
+
code: "body_invalid";
|
|
2095
2370
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2096
2371
|
message: string;
|
|
2097
2372
|
};
|
|
2098
2373
|
requestId: string;
|
|
2099
2374
|
};
|
|
2100
2375
|
outputFormat: "json";
|
|
2101
|
-
status:
|
|
2376
|
+
status: 400;
|
|
2102
2377
|
input: {
|
|
2103
2378
|
param: {
|
|
2104
2379
|
orgId: string;
|
|
@@ -2438,6 +2713,29 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2438
2713
|
recipient?: `0x${string}` | undefined;
|
|
2439
2714
|
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
2440
2715
|
} | undefined;
|
|
2716
|
+
} | {
|
|
2717
|
+
chainId?: unknown;
|
|
2718
|
+
context?: {
|
|
2719
|
+
description?: string | undefined;
|
|
2720
|
+
metadata?: Record<string, string> | undefined;
|
|
2721
|
+
title?: string | undefined;
|
|
2722
|
+
} | undefined;
|
|
2723
|
+
destination: {
|
|
2724
|
+
type: "url";
|
|
2725
|
+
url: string;
|
|
2726
|
+
} | {
|
|
2727
|
+
type: "slack";
|
|
2728
|
+
url: string;
|
|
2729
|
+
} | {
|
|
2730
|
+
token: string;
|
|
2731
|
+
type: "betterstack";
|
|
2732
|
+
url: string;
|
|
2733
|
+
};
|
|
2734
|
+
eventType: "funding:transfer.updated";
|
|
2735
|
+
filters?: {
|
|
2736
|
+
id?: string | undefined;
|
|
2737
|
+
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
2738
|
+
} | undefined;
|
|
2441
2739
|
}) & {
|
|
2442
2740
|
chainId: number;
|
|
2443
2741
|
environment?: "production" | "sandbox" | undefined;
|
|
@@ -2446,7 +2744,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2446
2744
|
} | {
|
|
2447
2745
|
output: {
|
|
2448
2746
|
error: {
|
|
2449
|
-
code: "
|
|
2747
|
+
code: "chain_id_unsupported";
|
|
2450
2748
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2451
2749
|
message: string;
|
|
2452
2750
|
};
|
|
@@ -2793,6 +3091,29 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2793
3091
|
recipient?: `0x${string}` | undefined;
|
|
2794
3092
|
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
2795
3093
|
} | undefined;
|
|
3094
|
+
} | {
|
|
3095
|
+
chainId?: unknown;
|
|
3096
|
+
context?: {
|
|
3097
|
+
description?: string | undefined;
|
|
3098
|
+
metadata?: Record<string, string> | undefined;
|
|
3099
|
+
title?: string | undefined;
|
|
3100
|
+
} | undefined;
|
|
3101
|
+
destination: {
|
|
3102
|
+
type: "url";
|
|
3103
|
+
url: string;
|
|
3104
|
+
} | {
|
|
3105
|
+
type: "slack";
|
|
3106
|
+
url: string;
|
|
3107
|
+
} | {
|
|
3108
|
+
token: string;
|
|
3109
|
+
type: "betterstack";
|
|
3110
|
+
url: string;
|
|
3111
|
+
};
|
|
3112
|
+
eventType: "funding:transfer.updated";
|
|
3113
|
+
filters?: {
|
|
3114
|
+
id?: string | undefined;
|
|
3115
|
+
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
3116
|
+
} | undefined;
|
|
2796
3117
|
}) & {
|
|
2797
3118
|
chainId: number;
|
|
2798
3119
|
environment?: "production" | "sandbox" | undefined;
|
|
@@ -2801,7 +3122,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2801
3122
|
} | {
|
|
2802
3123
|
output: {
|
|
2803
3124
|
error: {
|
|
2804
|
-
code: "
|
|
3125
|
+
code: "param_invalid";
|
|
2805
3126
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2806
3127
|
message: string;
|
|
2807
3128
|
};
|
|
@@ -3148,6 +3469,29 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3148
3469
|
recipient?: `0x${string}` | undefined;
|
|
3149
3470
|
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
3150
3471
|
} | undefined;
|
|
3472
|
+
} | {
|
|
3473
|
+
chainId?: unknown;
|
|
3474
|
+
context?: {
|
|
3475
|
+
description?: string | undefined;
|
|
3476
|
+
metadata?: Record<string, string> | undefined;
|
|
3477
|
+
title?: string | undefined;
|
|
3478
|
+
} | undefined;
|
|
3479
|
+
destination: {
|
|
3480
|
+
type: "url";
|
|
3481
|
+
url: string;
|
|
3482
|
+
} | {
|
|
3483
|
+
type: "slack";
|
|
3484
|
+
url: string;
|
|
3485
|
+
} | {
|
|
3486
|
+
token: string;
|
|
3487
|
+
type: "betterstack";
|
|
3488
|
+
url: string;
|
|
3489
|
+
};
|
|
3490
|
+
eventType: "funding:transfer.updated";
|
|
3491
|
+
filters?: {
|
|
3492
|
+
id?: string | undefined;
|
|
3493
|
+
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
3494
|
+
} | undefined;
|
|
3151
3495
|
}) & {
|
|
3152
3496
|
chainId: number;
|
|
3153
3497
|
environment?: "production" | "sandbox" | undefined;
|
|
@@ -3503,6 +3847,29 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3503
3847
|
recipient?: `0x${string}` | undefined;
|
|
3504
3848
|
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
3505
3849
|
} | undefined;
|
|
3850
|
+
} | {
|
|
3851
|
+
chainId?: unknown;
|
|
3852
|
+
context?: {
|
|
3853
|
+
description?: string | undefined;
|
|
3854
|
+
metadata?: Record<string, string> | undefined;
|
|
3855
|
+
title?: string | undefined;
|
|
3856
|
+
} | undefined;
|
|
3857
|
+
destination: {
|
|
3858
|
+
type: "url";
|
|
3859
|
+
url: string;
|
|
3860
|
+
} | {
|
|
3861
|
+
type: "slack";
|
|
3862
|
+
url: string;
|
|
3863
|
+
} | {
|
|
3864
|
+
token: string;
|
|
3865
|
+
type: "betterstack";
|
|
3866
|
+
url: string;
|
|
3867
|
+
};
|
|
3868
|
+
eventType: "funding:transfer.updated";
|
|
3869
|
+
filters?: {
|
|
3870
|
+
id?: string | undefined;
|
|
3871
|
+
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
3872
|
+
} | undefined;
|
|
3506
3873
|
}) & {
|
|
3507
3874
|
chainId: number;
|
|
3508
3875
|
environment?: "production" | "sandbox" | undefined;
|
|
@@ -3858,6 +4225,29 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3858
4225
|
recipient?: `0x${string}` | undefined;
|
|
3859
4226
|
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
3860
4227
|
} | undefined;
|
|
4228
|
+
} | {
|
|
4229
|
+
chainId?: unknown;
|
|
4230
|
+
context?: {
|
|
4231
|
+
description?: string | undefined;
|
|
4232
|
+
metadata?: Record<string, string> | undefined;
|
|
4233
|
+
title?: string | undefined;
|
|
4234
|
+
} | undefined;
|
|
4235
|
+
destination: {
|
|
4236
|
+
type: "url";
|
|
4237
|
+
url: string;
|
|
4238
|
+
} | {
|
|
4239
|
+
type: "slack";
|
|
4240
|
+
url: string;
|
|
4241
|
+
} | {
|
|
4242
|
+
token: string;
|
|
4243
|
+
type: "betterstack";
|
|
4244
|
+
url: string;
|
|
4245
|
+
};
|
|
4246
|
+
eventType: "funding:transfer.updated";
|
|
4247
|
+
filters?: {
|
|
4248
|
+
id?: string | undefined;
|
|
4249
|
+
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
4250
|
+
} | undefined;
|
|
3861
4251
|
}) & {
|
|
3862
4252
|
chainId: number;
|
|
3863
4253
|
environment?: "production" | "sandbox" | undefined;
|
|
@@ -4213,6 +4603,29 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4213
4603
|
recipient?: `0x${string}` | undefined;
|
|
4214
4604
|
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
4215
4605
|
} | undefined;
|
|
4606
|
+
} | {
|
|
4607
|
+
chainId?: unknown;
|
|
4608
|
+
context?: {
|
|
4609
|
+
description?: string | undefined;
|
|
4610
|
+
metadata?: Record<string, string> | undefined;
|
|
4611
|
+
title?: string | undefined;
|
|
4612
|
+
} | undefined;
|
|
4613
|
+
destination: {
|
|
4614
|
+
type: "url";
|
|
4615
|
+
url: string;
|
|
4616
|
+
} | {
|
|
4617
|
+
type: "slack";
|
|
4618
|
+
url: string;
|
|
4619
|
+
} | {
|
|
4620
|
+
token: string;
|
|
4621
|
+
type: "betterstack";
|
|
4622
|
+
url: string;
|
|
4623
|
+
};
|
|
4624
|
+
eventType: "funding:transfer.updated";
|
|
4625
|
+
filters?: {
|
|
4626
|
+
id?: string | undefined;
|
|
4627
|
+
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
4628
|
+
} | undefined;
|
|
4216
4629
|
}) & {
|
|
4217
4630
|
chainId: number;
|
|
4218
4631
|
environment?: "production" | "sandbox" | undefined;
|
|
@@ -4562,11 +4975,34 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4562
4975
|
type: "betterstack";
|
|
4563
4976
|
url: string;
|
|
4564
4977
|
};
|
|
4565
|
-
eventType: "funding:deposit.updated";
|
|
4978
|
+
eventType: "funding:deposit.updated";
|
|
4979
|
+
filters?: {
|
|
4980
|
+
depositAddressId?: string | undefined;
|
|
4981
|
+
recipient?: `0x${string}` | undefined;
|
|
4982
|
+
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
4983
|
+
} | undefined;
|
|
4984
|
+
} | {
|
|
4985
|
+
chainId?: unknown;
|
|
4986
|
+
context?: {
|
|
4987
|
+
description?: string | undefined;
|
|
4988
|
+
metadata?: Record<string, string> | undefined;
|
|
4989
|
+
title?: string | undefined;
|
|
4990
|
+
} | undefined;
|
|
4991
|
+
destination: {
|
|
4992
|
+
type: "url";
|
|
4993
|
+
url: string;
|
|
4994
|
+
} | {
|
|
4995
|
+
type: "slack";
|
|
4996
|
+
url: string;
|
|
4997
|
+
} | {
|
|
4998
|
+
token: string;
|
|
4999
|
+
type: "betterstack";
|
|
5000
|
+
url: string;
|
|
5001
|
+
};
|
|
5002
|
+
eventType: "funding:transfer.updated";
|
|
4566
5003
|
filters?: {
|
|
4567
|
-
|
|
4568
|
-
|
|
4569
|
-
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
5004
|
+
id?: string | undefined;
|
|
5005
|
+
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
4570
5006
|
} | undefined;
|
|
4571
5007
|
}) & {
|
|
4572
5008
|
chainId: number;
|
|
@@ -4923,6 +5359,29 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4923
5359
|
recipient?: `0x${string}` | undefined;
|
|
4924
5360
|
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
4925
5361
|
} | undefined;
|
|
5362
|
+
} | {
|
|
5363
|
+
chainId?: unknown;
|
|
5364
|
+
context?: {
|
|
5365
|
+
description?: string | undefined;
|
|
5366
|
+
metadata?: Record<string, string> | undefined;
|
|
5367
|
+
title?: string | undefined;
|
|
5368
|
+
} | undefined;
|
|
5369
|
+
destination: {
|
|
5370
|
+
type: "url";
|
|
5371
|
+
url: string;
|
|
5372
|
+
} | {
|
|
5373
|
+
type: "slack";
|
|
5374
|
+
url: string;
|
|
5375
|
+
} | {
|
|
5376
|
+
token: string;
|
|
5377
|
+
type: "betterstack";
|
|
5378
|
+
url: string;
|
|
5379
|
+
};
|
|
5380
|
+
eventType: "funding:transfer.updated";
|
|
5381
|
+
filters?: {
|
|
5382
|
+
id?: string | undefined;
|
|
5383
|
+
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
5384
|
+
} | undefined;
|
|
4926
5385
|
}) & {
|
|
4927
5386
|
chainId: number;
|
|
4928
5387
|
environment?: "production" | "sandbox" | undefined;
|
|
@@ -5278,6 +5737,29 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5278
5737
|
recipient?: `0x${string}` | undefined;
|
|
5279
5738
|
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
5280
5739
|
} | undefined;
|
|
5740
|
+
} | {
|
|
5741
|
+
chainId?: unknown;
|
|
5742
|
+
context?: {
|
|
5743
|
+
description?: string | undefined;
|
|
5744
|
+
metadata?: Record<string, string> | undefined;
|
|
5745
|
+
title?: string | undefined;
|
|
5746
|
+
} | undefined;
|
|
5747
|
+
destination: {
|
|
5748
|
+
type: "url";
|
|
5749
|
+
url: string;
|
|
5750
|
+
} | {
|
|
5751
|
+
type: "slack";
|
|
5752
|
+
url: string;
|
|
5753
|
+
} | {
|
|
5754
|
+
token: string;
|
|
5755
|
+
type: "betterstack";
|
|
5756
|
+
url: string;
|
|
5757
|
+
};
|
|
5758
|
+
eventType: "funding:transfer.updated";
|
|
5759
|
+
filters?: {
|
|
5760
|
+
id?: string | undefined;
|
|
5761
|
+
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
5762
|
+
} | undefined;
|
|
5281
5763
|
}) & {
|
|
5282
5764
|
chainId: number;
|
|
5283
5765
|
environment?: "production" | "sandbox" | undefined;
|
|
@@ -5633,6 +6115,29 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5633
6115
|
recipient?: `0x${string}` | undefined;
|
|
5634
6116
|
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
5635
6117
|
} | undefined;
|
|
6118
|
+
} | {
|
|
6119
|
+
chainId?: unknown;
|
|
6120
|
+
context?: {
|
|
6121
|
+
description?: string | undefined;
|
|
6122
|
+
metadata?: Record<string, string> | undefined;
|
|
6123
|
+
title?: string | undefined;
|
|
6124
|
+
} | undefined;
|
|
6125
|
+
destination: {
|
|
6126
|
+
type: "url";
|
|
6127
|
+
url: string;
|
|
6128
|
+
} | {
|
|
6129
|
+
type: "slack";
|
|
6130
|
+
url: string;
|
|
6131
|
+
} | {
|
|
6132
|
+
token: string;
|
|
6133
|
+
type: "betterstack";
|
|
6134
|
+
url: string;
|
|
6135
|
+
};
|
|
6136
|
+
eventType: "funding:transfer.updated";
|
|
6137
|
+
filters?: {
|
|
6138
|
+
id?: string | undefined;
|
|
6139
|
+
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
6140
|
+
} | undefined;
|
|
5636
6141
|
}) & {
|
|
5637
6142
|
chainId: number;
|
|
5638
6143
|
environment?: "production" | "sandbox" | undefined;
|
|
@@ -5643,7 +6148,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5643
6148
|
chainId: number;
|
|
5644
6149
|
createdAt: string;
|
|
5645
6150
|
environment?: "production" | "sandbox" | undefined;
|
|
5646
|
-
eventType: "block:created" | "funding:deposit.updated" | "log:emitted" | "token:transfer" | "transaction:included";
|
|
6151
|
+
eventType: "block:created" | "funding:deposit.updated" | "funding:transfer.updated" | "log:emitted" | "token:transfer" | "transaction:included";
|
|
5647
6152
|
expiresAt?: string | undefined;
|
|
5648
6153
|
failureCount: number;
|
|
5649
6154
|
filters: {
|
|
@@ -5669,7 +6174,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5669
6174
|
chainId: number;
|
|
5670
6175
|
createdAt: string;
|
|
5671
6176
|
environment?: "production" | "sandbox" | undefined;
|
|
5672
|
-
eventType: "block:created" | "funding:deposit.updated" | "log:emitted" | "token:transfer" | "transaction:included";
|
|
6177
|
+
eventType: "block:created" | "funding:deposit.updated" | "funding:transfer.updated" | "log:emitted" | "token:transfer" | "transaction:included";
|
|
5673
6178
|
expiresAt?: string | undefined;
|
|
5674
6179
|
failureCount: number;
|
|
5675
6180
|
filters: {
|
|
@@ -5694,7 +6199,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5694
6199
|
chainId: number;
|
|
5695
6200
|
createdAt: string;
|
|
5696
6201
|
environment?: "production" | "sandbox" | undefined;
|
|
5697
|
-
eventType: "block:created" | "funding:deposit.updated" | "log:emitted" | "token:transfer" | "transaction:included";
|
|
6202
|
+
eventType: "block:created" | "funding:deposit.updated" | "funding:transfer.updated" | "log:emitted" | "token:transfer" | "transaction:included";
|
|
5698
6203
|
expiresAt?: string | undefined;
|
|
5699
6204
|
failureCount: number;
|
|
5700
6205
|
filters: {
|
|
@@ -6058,6 +6563,29 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6058
6563
|
recipient?: `0x${string}` | undefined;
|
|
6059
6564
|
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
6060
6565
|
} | undefined;
|
|
6566
|
+
} | {
|
|
6567
|
+
chainId?: unknown;
|
|
6568
|
+
context?: {
|
|
6569
|
+
description?: string | undefined;
|
|
6570
|
+
metadata?: Record<string, string> | undefined;
|
|
6571
|
+
title?: string | undefined;
|
|
6572
|
+
} | undefined;
|
|
6573
|
+
destination: {
|
|
6574
|
+
type: "url";
|
|
6575
|
+
url: string;
|
|
6576
|
+
} | {
|
|
6577
|
+
type: "slack";
|
|
6578
|
+
url: string;
|
|
6579
|
+
} | {
|
|
6580
|
+
token: string;
|
|
6581
|
+
type: "betterstack";
|
|
6582
|
+
url: string;
|
|
6583
|
+
};
|
|
6584
|
+
eventType: "funding:transfer.updated";
|
|
6585
|
+
filters?: {
|
|
6586
|
+
id?: string | undefined;
|
|
6587
|
+
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
6588
|
+
} | undefined;
|
|
6061
6589
|
}) & {
|
|
6062
6590
|
chainId: number;
|
|
6063
6591
|
environment?: "production" | "sandbox" | undefined;
|
|
@@ -6070,14 +6598,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6070
6598
|
$get: {
|
|
6071
6599
|
output: {
|
|
6072
6600
|
error: {
|
|
6073
|
-
code: "
|
|
6601
|
+
code: "api_key_malformed";
|
|
6074
6602
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6075
6603
|
message: string;
|
|
6076
6604
|
};
|
|
6077
6605
|
requestId: string;
|
|
6078
6606
|
};
|
|
6079
6607
|
outputFormat: "json";
|
|
6080
|
-
status:
|
|
6608
|
+
status: 400;
|
|
6081
6609
|
input: {
|
|
6082
6610
|
param: {
|
|
6083
6611
|
orgId: string;
|
|
@@ -6086,14 +6614,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6086
6614
|
} | {
|
|
6087
6615
|
output: {
|
|
6088
6616
|
error: {
|
|
6089
|
-
code: "
|
|
6617
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
6090
6618
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6091
6619
|
message: string;
|
|
6092
6620
|
};
|
|
6093
6621
|
requestId: string;
|
|
6094
6622
|
};
|
|
6095
6623
|
outputFormat: "json";
|
|
6096
|
-
status:
|
|
6624
|
+
status: 401;
|
|
6097
6625
|
input: {
|
|
6098
6626
|
param: {
|
|
6099
6627
|
orgId: string;
|
|
@@ -6102,14 +6630,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6102
6630
|
} | {
|
|
6103
6631
|
output: {
|
|
6104
6632
|
error: {
|
|
6105
|
-
code: "
|
|
6633
|
+
code: "upstream_error";
|
|
6106
6634
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6107
6635
|
message: string;
|
|
6108
6636
|
};
|
|
6109
6637
|
requestId: string;
|
|
6110
6638
|
};
|
|
6111
6639
|
outputFormat: "json";
|
|
6112
|
-
status:
|
|
6640
|
+
status: 502;
|
|
6113
6641
|
input: {
|
|
6114
6642
|
param: {
|
|
6115
6643
|
orgId: string;
|
|
@@ -6185,7 +6713,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6185
6713
|
chainId: number;
|
|
6186
6714
|
createdAt: string;
|
|
6187
6715
|
environment?: "production" | "sandbox" | undefined;
|
|
6188
|
-
eventType: "block:created" | "funding:deposit.updated" | "log:emitted" | "token:transfer" | "transaction:included";
|
|
6716
|
+
eventType: "block:created" | "funding:deposit.updated" | "funding:transfer.updated" | "log:emitted" | "token:transfer" | "transaction:included";
|
|
6189
6717
|
expiresAt?: string | undefined;
|
|
6190
6718
|
failureCount: number;
|
|
6191
6719
|
filters: {
|
|
@@ -6229,14 +6757,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6229
6757
|
$get: {
|
|
6230
6758
|
output: {
|
|
6231
6759
|
error: {
|
|
6232
|
-
code: "
|
|
6760
|
+
code: "api_key_malformed";
|
|
6233
6761
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6234
6762
|
message: string;
|
|
6235
6763
|
};
|
|
6236
6764
|
requestId: string;
|
|
6237
6765
|
};
|
|
6238
6766
|
outputFormat: "json";
|
|
6239
|
-
status:
|
|
6767
|
+
status: 400;
|
|
6240
6768
|
input: {
|
|
6241
6769
|
param: {
|
|
6242
6770
|
id: string;
|
|
@@ -6253,14 +6781,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6253
6781
|
} | {
|
|
6254
6782
|
output: {
|
|
6255
6783
|
error: {
|
|
6256
|
-
code: "
|
|
6784
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
6257
6785
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6258
6786
|
message: string;
|
|
6259
6787
|
};
|
|
6260
6788
|
requestId: string;
|
|
6261
6789
|
};
|
|
6262
6790
|
outputFormat: "json";
|
|
6263
|
-
status:
|
|
6791
|
+
status: 401;
|
|
6264
6792
|
input: {
|
|
6265
6793
|
param: {
|
|
6266
6794
|
id: string;
|
|
@@ -6277,7 +6805,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6277
6805
|
} | {
|
|
6278
6806
|
output: {
|
|
6279
6807
|
error: {
|
|
6280
|
-
code: "
|
|
6808
|
+
code: "query_invalid";
|
|
6281
6809
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6282
6810
|
message: string;
|
|
6283
6811
|
};
|
|
@@ -6301,14 +6829,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6301
6829
|
} | {
|
|
6302
6830
|
output: {
|
|
6303
6831
|
error: {
|
|
6304
|
-
code: "
|
|
6832
|
+
code: "upstream_error";
|
|
6305
6833
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6306
6834
|
message: string;
|
|
6307
6835
|
};
|
|
6308
6836
|
requestId: string;
|
|
6309
6837
|
};
|
|
6310
6838
|
outputFormat: "json";
|
|
6311
|
-
status:
|
|
6839
|
+
status: 502;
|
|
6312
6840
|
input: {
|
|
6313
6841
|
param: {
|
|
6314
6842
|
id: string;
|
|
@@ -6484,14 +7012,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6484
7012
|
$get: {
|
|
6485
7013
|
output: {
|
|
6486
7014
|
error: {
|
|
6487
|
-
code: "
|
|
7015
|
+
code: "api_key_malformed";
|
|
6488
7016
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6489
7017
|
message: string;
|
|
6490
7018
|
};
|
|
6491
7019
|
requestId: string;
|
|
6492
7020
|
};
|
|
6493
7021
|
outputFormat: "json";
|
|
6494
|
-
status:
|
|
7022
|
+
status: 400;
|
|
6495
7023
|
input: {
|
|
6496
7024
|
param: {
|
|
6497
7025
|
deliveryId: string;
|
|
@@ -6502,14 +7030,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6502
7030
|
} | {
|
|
6503
7031
|
output: {
|
|
6504
7032
|
error: {
|
|
6505
|
-
code: "
|
|
7033
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
6506
7034
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6507
7035
|
message: string;
|
|
6508
7036
|
};
|
|
6509
7037
|
requestId: string;
|
|
6510
7038
|
};
|
|
6511
7039
|
outputFormat: "json";
|
|
6512
|
-
status:
|
|
7040
|
+
status: 401;
|
|
6513
7041
|
input: {
|
|
6514
7042
|
param: {
|
|
6515
7043
|
deliveryId: string;
|
|
@@ -6520,14 +7048,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6520
7048
|
} | {
|
|
6521
7049
|
output: {
|
|
6522
7050
|
error: {
|
|
6523
|
-
code: "
|
|
7051
|
+
code: "upstream_error";
|
|
6524
7052
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6525
7053
|
message: string;
|
|
6526
7054
|
};
|
|
6527
7055
|
requestId: string;
|
|
6528
7056
|
};
|
|
6529
7057
|
outputFormat: "json";
|
|
6530
|
-
status:
|
|
7058
|
+
status: 502;
|
|
6531
7059
|
input: {
|
|
6532
7060
|
param: {
|
|
6533
7061
|
deliveryId: string;
|
|
@@ -6937,6 +7465,128 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6937
7465
|
updatedAt: string;
|
|
6938
7466
|
};
|
|
6939
7467
|
type: "funding:deposit.updated";
|
|
7468
|
+
} | {
|
|
7469
|
+
chainId: number;
|
|
7470
|
+
context?: {
|
|
7471
|
+
description?: string | undefined;
|
|
7472
|
+
metadata?: {
|
|
7473
|
+
[x: string]: string;
|
|
7474
|
+
} | undefined;
|
|
7475
|
+
title?: string | undefined;
|
|
7476
|
+
} | undefined;
|
|
7477
|
+
createdAt: string;
|
|
7478
|
+
id: string;
|
|
7479
|
+
subscriptionId: string;
|
|
7480
|
+
data: {
|
|
7481
|
+
createdAt: string;
|
|
7482
|
+
destinationAmount?: {
|
|
7483
|
+
baseUnits: string;
|
|
7484
|
+
currency: string;
|
|
7485
|
+
decimals: number;
|
|
7486
|
+
formatted: string;
|
|
7487
|
+
} | undefined;
|
|
7488
|
+
destinationAmountMin?: {
|
|
7489
|
+
baseUnits: string;
|
|
7490
|
+
currency: string;
|
|
7491
|
+
decimals: number;
|
|
7492
|
+
formatted: string;
|
|
7493
|
+
} | undefined;
|
|
7494
|
+
destinationChain: {
|
|
7495
|
+
addressFormat: "base58" | "base58check" | "hex";
|
|
7496
|
+
id: string;
|
|
7497
|
+
kind: "evm" | "solana" | "tron";
|
|
7498
|
+
name: string;
|
|
7499
|
+
};
|
|
7500
|
+
destinationToken: {
|
|
7501
|
+
address: string;
|
|
7502
|
+
currency: string;
|
|
7503
|
+
decimals: number;
|
|
7504
|
+
name: string;
|
|
7505
|
+
standard: string;
|
|
7506
|
+
symbol: string;
|
|
7507
|
+
tokenKey: string;
|
|
7508
|
+
verified: boolean;
|
|
7509
|
+
};
|
|
7510
|
+
destinationTransactionHashes?: string[] | undefined;
|
|
7511
|
+
fees: {
|
|
7512
|
+
amount: {
|
|
7513
|
+
baseUnits: string;
|
|
7514
|
+
currency: string;
|
|
7515
|
+
decimals: number;
|
|
7516
|
+
formatted: string;
|
|
7517
|
+
};
|
|
7518
|
+
side: "destination" | "source";
|
|
7519
|
+
token: {
|
|
7520
|
+
address: string;
|
|
7521
|
+
currency: string;
|
|
7522
|
+
decimals: number;
|
|
7523
|
+
name: string;
|
|
7524
|
+
standard: string;
|
|
7525
|
+
symbol: string;
|
|
7526
|
+
tokenKey: string;
|
|
7527
|
+
verified: boolean;
|
|
7528
|
+
};
|
|
7529
|
+
type: "provider";
|
|
7530
|
+
}[];
|
|
7531
|
+
id: string;
|
|
7532
|
+
method: "depositAddress" | "transaction";
|
|
7533
|
+
mode: "exactDestination" | "exactSource";
|
|
7534
|
+
provider: {
|
|
7535
|
+
id: string;
|
|
7536
|
+
name: string;
|
|
7537
|
+
};
|
|
7538
|
+
quote: {
|
|
7539
|
+
expiresAt: string;
|
|
7540
|
+
sampledAt: string;
|
|
7541
|
+
};
|
|
7542
|
+
recipient: string;
|
|
7543
|
+
refundAddress?: string | undefined;
|
|
7544
|
+
refundAmount?: {
|
|
7545
|
+
baseUnits: string;
|
|
7546
|
+
currency: string;
|
|
7547
|
+
decimals: number;
|
|
7548
|
+
formatted: string;
|
|
7549
|
+
} | undefined;
|
|
7550
|
+
refundTransactionHashes?: string[] | undefined;
|
|
7551
|
+
sender?: string | undefined;
|
|
7552
|
+
sourceAmount: {
|
|
7553
|
+
baseUnits: string;
|
|
7554
|
+
currency: string;
|
|
7555
|
+
decimals: number;
|
|
7556
|
+
formatted: string;
|
|
7557
|
+
};
|
|
7558
|
+
sourceAmountMax?: {
|
|
7559
|
+
baseUnits: string;
|
|
7560
|
+
currency: string;
|
|
7561
|
+
decimals: number;
|
|
7562
|
+
formatted: string;
|
|
7563
|
+
} | undefined;
|
|
7564
|
+
sourceChain: {
|
|
7565
|
+
addressFormat: "base58" | "base58check" | "hex";
|
|
7566
|
+
id: string;
|
|
7567
|
+
kind: "evm" | "solana" | "tron";
|
|
7568
|
+
name: string;
|
|
7569
|
+
};
|
|
7570
|
+
sourceToken: {
|
|
7571
|
+
address: string;
|
|
7572
|
+
currency: string;
|
|
7573
|
+
decimals: number;
|
|
7574
|
+
name: string;
|
|
7575
|
+
standard: string;
|
|
7576
|
+
symbol: string;
|
|
7577
|
+
tokenKey: string;
|
|
7578
|
+
verified: boolean;
|
|
7579
|
+
};
|
|
7580
|
+
sourceTransactionHashes?: string[] | undefined;
|
|
7581
|
+
status: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding";
|
|
7582
|
+
statusReason?: {
|
|
7583
|
+
code: "destination_amount_below_minimum" | "destination_recovered" | "manual_recovery_required" | "refund_failed" | "source_amount_above_maximum" | "source_amount_below_minimum" | "source_chain_mismatch" | "source_token_mismatch";
|
|
7584
|
+
message: string;
|
|
7585
|
+
} | undefined;
|
|
7586
|
+
updatedAt: string;
|
|
7587
|
+
version: number;
|
|
7588
|
+
};
|
|
7589
|
+
type: "funding:transfer.updated";
|
|
6940
7590
|
} | {
|
|
6941
7591
|
chainId: number;
|
|
6942
7592
|
context?: {
|
|
@@ -6971,14 +7621,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6971
7621
|
$post: {
|
|
6972
7622
|
output: {
|
|
6973
7623
|
error: {
|
|
6974
|
-
code: "
|
|
7624
|
+
code: "api_key_malformed";
|
|
6975
7625
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6976
7626
|
message: string;
|
|
6977
7627
|
};
|
|
6978
7628
|
requestId: string;
|
|
6979
7629
|
};
|
|
6980
7630
|
outputFormat: "json";
|
|
6981
|
-
status:
|
|
7631
|
+
status: 400;
|
|
6982
7632
|
input: {
|
|
6983
7633
|
param: {
|
|
6984
7634
|
deliveryId: string;
|
|
@@ -6989,14 +7639,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6989
7639
|
} | {
|
|
6990
7640
|
output: {
|
|
6991
7641
|
error: {
|
|
6992
|
-
code: "
|
|
7642
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
6993
7643
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6994
7644
|
message: string;
|
|
6995
7645
|
};
|
|
6996
7646
|
requestId: string;
|
|
6997
7647
|
};
|
|
6998
7648
|
outputFormat: "json";
|
|
6999
|
-
status:
|
|
7649
|
+
status: 401;
|
|
7000
7650
|
input: {
|
|
7001
7651
|
param: {
|
|
7002
7652
|
deliveryId: string;
|
|
@@ -7007,14 +7657,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7007
7657
|
} | {
|
|
7008
7658
|
output: {
|
|
7009
7659
|
error: {
|
|
7010
|
-
code: "
|
|
7660
|
+
code: "upstream_error";
|
|
7011
7661
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7012
7662
|
message: string;
|
|
7013
7663
|
};
|
|
7014
7664
|
requestId: string;
|
|
7015
7665
|
};
|
|
7016
7666
|
outputFormat: "json";
|
|
7017
|
-
status:
|
|
7667
|
+
status: 502;
|
|
7018
7668
|
input: {
|
|
7019
7669
|
param: {
|
|
7020
7670
|
deliveryId: string;
|
|
@@ -7154,14 +7804,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7154
7804
|
$patch: {
|
|
7155
7805
|
output: {
|
|
7156
7806
|
error: {
|
|
7157
|
-
code: "
|
|
7807
|
+
code: "api_key_malformed";
|
|
7158
7808
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7159
7809
|
message: string;
|
|
7160
7810
|
};
|
|
7161
7811
|
requestId: string;
|
|
7162
7812
|
};
|
|
7163
7813
|
outputFormat: "json";
|
|
7164
|
-
status:
|
|
7814
|
+
status: 400;
|
|
7165
7815
|
input: {
|
|
7166
7816
|
param: {
|
|
7167
7817
|
id: string;
|
|
@@ -7175,14 +7825,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7175
7825
|
} | {
|
|
7176
7826
|
output: {
|
|
7177
7827
|
error: {
|
|
7178
|
-
code: "
|
|
7828
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
7179
7829
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7180
7830
|
message: string;
|
|
7181
7831
|
};
|
|
7182
7832
|
requestId: string;
|
|
7183
7833
|
};
|
|
7184
7834
|
outputFormat: "json";
|
|
7185
|
-
status:
|
|
7835
|
+
status: 401;
|
|
7186
7836
|
input: {
|
|
7187
7837
|
param: {
|
|
7188
7838
|
id: string;
|
|
@@ -7196,14 +7846,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7196
7846
|
} | {
|
|
7197
7847
|
output: {
|
|
7198
7848
|
error: {
|
|
7199
|
-
code: "
|
|
7849
|
+
code: "upstream_error";
|
|
7200
7850
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7201
7851
|
message: string;
|
|
7202
7852
|
};
|
|
7203
7853
|
requestId: string;
|
|
7204
7854
|
};
|
|
7205
7855
|
outputFormat: "json";
|
|
7206
|
-
status:
|
|
7856
|
+
status: 502;
|
|
7207
7857
|
input: {
|
|
7208
7858
|
param: {
|
|
7209
7859
|
id: string;
|
|
@@ -7217,7 +7867,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7217
7867
|
} | {
|
|
7218
7868
|
output: {
|
|
7219
7869
|
error: {
|
|
7220
|
-
code: "
|
|
7870
|
+
code: "body_invalid";
|
|
7221
7871
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7222
7872
|
message: string;
|
|
7223
7873
|
};
|
|
@@ -7238,7 +7888,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7238
7888
|
} | {
|
|
7239
7889
|
output: {
|
|
7240
7890
|
error: {
|
|
7241
|
-
code: "
|
|
7891
|
+
code: "param_invalid";
|
|
7242
7892
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7243
7893
|
message: string;
|
|
7244
7894
|
};
|
|
@@ -7345,7 +7995,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7345
7995
|
chainId: number;
|
|
7346
7996
|
createdAt: string;
|
|
7347
7997
|
environment?: "production" | "sandbox" | undefined;
|
|
7348
|
-
eventType: "block:created" | "funding:deposit.updated" | "log:emitted" | "token:transfer" | "transaction:included";
|
|
7998
|
+
eventType: "block:created" | "funding:deposit.updated" | "funding:transfer.updated" | "log:emitted" | "token:transfer" | "transaction:included";
|
|
7349
7999
|
expiresAt?: string | undefined;
|
|
7350
8000
|
failureCount: number;
|
|
7351
8001
|
filters: {
|
|
@@ -7393,14 +8043,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7393
8043
|
$delete: {
|
|
7394
8044
|
output: {
|
|
7395
8045
|
error: {
|
|
7396
|
-
code: "
|
|
8046
|
+
code: "api_key_malformed";
|
|
7397
8047
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7398
8048
|
message: string;
|
|
7399
8049
|
};
|
|
7400
8050
|
requestId: string;
|
|
7401
8051
|
};
|
|
7402
8052
|
outputFormat: "json";
|
|
7403
|
-
status:
|
|
8053
|
+
status: 400;
|
|
7404
8054
|
input: {
|
|
7405
8055
|
param: {
|
|
7406
8056
|
id: string;
|
|
@@ -7410,14 +8060,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7410
8060
|
} | {
|
|
7411
8061
|
output: {
|
|
7412
8062
|
error: {
|
|
7413
|
-
code: "
|
|
8063
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
7414
8064
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7415
8065
|
message: string;
|
|
7416
8066
|
};
|
|
7417
8067
|
requestId: string;
|
|
7418
8068
|
};
|
|
7419
8069
|
outputFormat: "json";
|
|
7420
|
-
status:
|
|
8070
|
+
status: 401;
|
|
7421
8071
|
input: {
|
|
7422
8072
|
param: {
|
|
7423
8073
|
id: string;
|
|
@@ -7427,14 +8077,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7427
8077
|
} | {
|
|
7428
8078
|
output: {
|
|
7429
8079
|
error: {
|
|
7430
|
-
code: "
|
|
8080
|
+
code: "upstream_error";
|
|
7431
8081
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7432
8082
|
message: string;
|
|
7433
8083
|
};
|
|
7434
8084
|
requestId: string;
|
|
7435
8085
|
};
|
|
7436
8086
|
outputFormat: "json";
|
|
7437
|
-
status:
|
|
8087
|
+
status: 502;
|
|
7438
8088
|
input: {
|
|
7439
8089
|
param: {
|
|
7440
8090
|
id: string;
|