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
|
@@ -10,15 +10,22 @@ import * as Webhooks from '../../../internal/Webhooks.js';
|
|
|
10
10
|
* truth for the event-type *set*: the {@link EventType} union and the route zod
|
|
11
11
|
* enum ({@link schema.EventType}) both derive from this.
|
|
12
12
|
*/
|
|
13
|
-
export declare const eventTypes: readonly ['block:created', 'funding:deposit.updated', 'log:emitted', 'token:transfer', 'transaction:included'];
|
|
13
|
+
export declare const eventTypes: readonly ['block:created', 'funding:deposit.updated', 'funding:transfer.updated', 'log:emitted', 'token:transfer', 'transaction:included'];
|
|
14
14
|
/** Event types a subscription can listen to. Derived from {@link eventTypes}. */
|
|
15
15
|
export type EventType = (typeof eventTypes)[number];
|
|
16
|
+
/** Funding resource events produced by the API instead of chain scans. */
|
|
17
|
+
export declare const fundingEventTypes: readonly ["funding:deposit.updated", "funding:transfer.updated"];
|
|
18
|
+
/** Event type carrying an owner-scoped funding resource. */
|
|
19
|
+
export type FundingEventType = (typeof fundingEventTypes)[number];
|
|
20
|
+
/** Returns whether an event type carries an owner-scoped funding resource. */
|
|
21
|
+
export declare function isFundingEventType(eventType: EventType): eventType is FundingEventType;
|
|
16
22
|
/** Zod schemas owned by the webhooks resource. */
|
|
17
23
|
export declare namespace schema {
|
|
18
24
|
/** Subscribable event type. */
|
|
19
25
|
const EventType: z.ZodMiniEnum<{
|
|
20
26
|
"block:created": "block:created";
|
|
21
27
|
"funding:deposit.updated": "funding:deposit.updated";
|
|
28
|
+
"funding:transfer.updated": "funding:transfer.updated";
|
|
22
29
|
"log:emitted": "log:emitted";
|
|
23
30
|
"token:transfer": "token:transfer";
|
|
24
31
|
"transaction:included": "transaction:included";
|
|
@@ -347,6 +354,19 @@ export declare namespace schema {
|
|
|
347
354
|
settling: "settling";
|
|
348
355
|
}>>;
|
|
349
356
|
}, z.core.$strict>;
|
|
357
|
+
/** `funding:transfer.updated` subscription filters. All are optional and AND-combined. */
|
|
358
|
+
const FundingTransferFilters: z.ZodMiniObject<{
|
|
359
|
+
id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
360
|
+
status: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
361
|
+
"action-required": "action-required";
|
|
362
|
+
"awaiting-source": "awaiting-source";
|
|
363
|
+
completed: "completed";
|
|
364
|
+
expired: "expired";
|
|
365
|
+
processing: "processing";
|
|
366
|
+
refunded: "refunded";
|
|
367
|
+
refunding: "refunding";
|
|
368
|
+
}>>;
|
|
369
|
+
}, z.core.$strict>;
|
|
350
370
|
/**
|
|
351
371
|
* Optional human context describing what a subscription is for. Surfaced by
|
|
352
372
|
* destinations (Slack header + description, Better Stack log fields) and echoed
|
|
@@ -387,6 +407,7 @@ export declare namespace schema {
|
|
|
387
407
|
eventType: z.ZodMiniEnum<{
|
|
388
408
|
"block:created": "block:created";
|
|
389
409
|
"funding:deposit.updated": "funding:deposit.updated";
|
|
410
|
+
"funding:transfer.updated": "funding:transfer.updated";
|
|
390
411
|
"log:emitted": "log:emitted";
|
|
391
412
|
"token:transfer": "token:transfer";
|
|
392
413
|
"transaction:included": "transaction:included";
|
|
@@ -694,6 +715,160 @@ export declare namespace schema {
|
|
|
694
715
|
}, z.core.$strip>>;
|
|
695
716
|
updatedAt: z.ZodMiniISODateTime;
|
|
696
717
|
}, z.core.$strip>;
|
|
718
|
+
/** Public funding transfer after a committed material change. */
|
|
719
|
+
const FundingTransferEvent: z.ZodMiniObject<{
|
|
720
|
+
createdAt: z.ZodMiniISODateTime;
|
|
721
|
+
destinationAmount: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
722
|
+
baseUnits: z.ZodMiniString<string>;
|
|
723
|
+
currency: z.ZodMiniString<string>;
|
|
724
|
+
decimals: z.ZodMiniNumber<number>;
|
|
725
|
+
formatted: z.ZodMiniString<string>;
|
|
726
|
+
}, z.core.$strip>>;
|
|
727
|
+
destinationAmountMin: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
728
|
+
baseUnits: z.ZodMiniString<string>;
|
|
729
|
+
currency: z.ZodMiniString<string>;
|
|
730
|
+
decimals: z.ZodMiniNumber<number>;
|
|
731
|
+
formatted: z.ZodMiniString<string>;
|
|
732
|
+
}, z.core.$strip>>;
|
|
733
|
+
destinationChain: z.ZodMiniObject<{
|
|
734
|
+
addressFormat: z.ZodMiniEnum<{
|
|
735
|
+
base58: "base58";
|
|
736
|
+
base58check: "base58check";
|
|
737
|
+
hex: "hex";
|
|
738
|
+
}>;
|
|
739
|
+
id: z.ZodMiniString<string>;
|
|
740
|
+
kind: z.ZodMiniEnum<{
|
|
741
|
+
evm: "evm";
|
|
742
|
+
solana: "solana";
|
|
743
|
+
tron: "tron";
|
|
744
|
+
}>;
|
|
745
|
+
name: z.ZodMiniString<string>;
|
|
746
|
+
}, z.core.$strip>;
|
|
747
|
+
destinationToken: z.ZodMiniObject<{
|
|
748
|
+
address: z.ZodMiniString<string>;
|
|
749
|
+
currency: z.ZodMiniString<string>;
|
|
750
|
+
decimals: z.ZodMiniNumber<number>;
|
|
751
|
+
name: z.ZodMiniString<string>;
|
|
752
|
+
standard: z.ZodMiniString<string>;
|
|
753
|
+
symbol: z.ZodMiniString<string>;
|
|
754
|
+
tokenKey: z.ZodMiniString<string>;
|
|
755
|
+
verified: z.ZodMiniBoolean<boolean>;
|
|
756
|
+
}, z.core.$strip>;
|
|
757
|
+
destinationTransactionHashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
758
|
+
fees: z.ZodMiniArray<z.ZodMiniObject<{
|
|
759
|
+
amount: z.ZodMiniObject<{
|
|
760
|
+
baseUnits: z.ZodMiniString<string>;
|
|
761
|
+
currency: z.ZodMiniString<string>;
|
|
762
|
+
decimals: z.ZodMiniNumber<number>;
|
|
763
|
+
formatted: z.ZodMiniString<string>;
|
|
764
|
+
}, z.core.$strip>;
|
|
765
|
+
side: z.ZodMiniEnum<{
|
|
766
|
+
destination: "destination";
|
|
767
|
+
source: "source";
|
|
768
|
+
}>;
|
|
769
|
+
token: z.ZodMiniObject<{
|
|
770
|
+
address: z.ZodMiniString<string>;
|
|
771
|
+
currency: z.ZodMiniString<string>;
|
|
772
|
+
decimals: z.ZodMiniNumber<number>;
|
|
773
|
+
name: z.ZodMiniString<string>;
|
|
774
|
+
standard: z.ZodMiniString<string>;
|
|
775
|
+
symbol: z.ZodMiniString<string>;
|
|
776
|
+
tokenKey: z.ZodMiniString<string>;
|
|
777
|
+
verified: z.ZodMiniBoolean<boolean>;
|
|
778
|
+
}, z.core.$strip>;
|
|
779
|
+
type: z.ZodMiniEnum<{
|
|
780
|
+
provider: "provider";
|
|
781
|
+
}>;
|
|
782
|
+
}, z.core.$strip>>;
|
|
783
|
+
id: z.ZodMiniString<string>;
|
|
784
|
+
method: z.ZodMiniEnum<{
|
|
785
|
+
depositAddress: "depositAddress";
|
|
786
|
+
transaction: "transaction";
|
|
787
|
+
}>;
|
|
788
|
+
mode: z.ZodMiniEnum<{
|
|
789
|
+
exactDestination: "exactDestination";
|
|
790
|
+
exactSource: "exactSource";
|
|
791
|
+
}>;
|
|
792
|
+
provider: z.ZodMiniObject<{
|
|
793
|
+
id: z.ZodMiniString<string>;
|
|
794
|
+
name: z.ZodMiniString<string>;
|
|
795
|
+
}, z.core.$strip>;
|
|
796
|
+
quote: z.ZodMiniObject<{
|
|
797
|
+
expiresAt: z.ZodMiniISODateTime;
|
|
798
|
+
sampledAt: z.ZodMiniISODateTime;
|
|
799
|
+
}, z.core.$strip>;
|
|
800
|
+
recipient: z.ZodMiniString<string>;
|
|
801
|
+
refundAddress: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
802
|
+
refundAmount: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
803
|
+
baseUnits: z.ZodMiniString<string>;
|
|
804
|
+
currency: z.ZodMiniString<string>;
|
|
805
|
+
decimals: z.ZodMiniNumber<number>;
|
|
806
|
+
formatted: z.ZodMiniString<string>;
|
|
807
|
+
}, z.core.$strip>>;
|
|
808
|
+
refundTransactionHashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
809
|
+
sender: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
810
|
+
sourceAmount: z.ZodMiniObject<{
|
|
811
|
+
baseUnits: z.ZodMiniString<string>;
|
|
812
|
+
currency: z.ZodMiniString<string>;
|
|
813
|
+
decimals: z.ZodMiniNumber<number>;
|
|
814
|
+
formatted: z.ZodMiniString<string>;
|
|
815
|
+
}, z.core.$strip>;
|
|
816
|
+
sourceAmountMax: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
817
|
+
baseUnits: z.ZodMiniString<string>;
|
|
818
|
+
currency: z.ZodMiniString<string>;
|
|
819
|
+
decimals: z.ZodMiniNumber<number>;
|
|
820
|
+
formatted: z.ZodMiniString<string>;
|
|
821
|
+
}, z.core.$strip>>;
|
|
822
|
+
sourceChain: z.ZodMiniObject<{
|
|
823
|
+
addressFormat: z.ZodMiniEnum<{
|
|
824
|
+
base58: "base58";
|
|
825
|
+
base58check: "base58check";
|
|
826
|
+
hex: "hex";
|
|
827
|
+
}>;
|
|
828
|
+
id: z.ZodMiniString<string>;
|
|
829
|
+
kind: z.ZodMiniEnum<{
|
|
830
|
+
evm: "evm";
|
|
831
|
+
solana: "solana";
|
|
832
|
+
tron: "tron";
|
|
833
|
+
}>;
|
|
834
|
+
name: z.ZodMiniString<string>;
|
|
835
|
+
}, z.core.$strip>;
|
|
836
|
+
sourceToken: z.ZodMiniObject<{
|
|
837
|
+
address: z.ZodMiniString<string>;
|
|
838
|
+
currency: z.ZodMiniString<string>;
|
|
839
|
+
decimals: z.ZodMiniNumber<number>;
|
|
840
|
+
name: z.ZodMiniString<string>;
|
|
841
|
+
standard: z.ZodMiniString<string>;
|
|
842
|
+
symbol: z.ZodMiniString<string>;
|
|
843
|
+
tokenKey: z.ZodMiniString<string>;
|
|
844
|
+
verified: z.ZodMiniBoolean<boolean>;
|
|
845
|
+
}, z.core.$strip>;
|
|
846
|
+
sourceTransactionHashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
847
|
+
status: z.ZodMiniEnum<{
|
|
848
|
+
"action-required": "action-required";
|
|
849
|
+
"awaiting-source": "awaiting-source";
|
|
850
|
+
completed: "completed";
|
|
851
|
+
expired: "expired";
|
|
852
|
+
processing: "processing";
|
|
853
|
+
refunded: "refunded";
|
|
854
|
+
refunding: "refunding";
|
|
855
|
+
}>;
|
|
856
|
+
statusReason: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
857
|
+
code: z.ZodMiniEnum<{
|
|
858
|
+
destination_amount_below_minimum: "destination_amount_below_minimum";
|
|
859
|
+
destination_recovered: "destination_recovered";
|
|
860
|
+
manual_recovery_required: "manual_recovery_required";
|
|
861
|
+
refund_failed: "refund_failed";
|
|
862
|
+
source_amount_above_maximum: "source_amount_above_maximum";
|
|
863
|
+
source_amount_below_minimum: "source_amount_below_minimum";
|
|
864
|
+
source_chain_mismatch: "source_chain_mismatch";
|
|
865
|
+
source_token_mismatch: "source_token_mismatch";
|
|
866
|
+
}>;
|
|
867
|
+
message: z.ZodMiniString<string>;
|
|
868
|
+
}, z.core.$strip>>;
|
|
869
|
+
updatedAt: z.ZodMiniISODateTime;
|
|
870
|
+
version: z.ZodMiniNumber<number>;
|
|
871
|
+
}, z.core.$strip>;
|
|
697
872
|
/** A `ping` (synthetic test-delivery) payload, sent by `POST /webhooks/:id/ping`. */
|
|
698
873
|
const PingEvent: z.ZodMiniObject<{
|
|
699
874
|
ping: z.ZodMiniLiteral<true>;
|
|
@@ -1027,6 +1202,173 @@ export declare namespace schema {
|
|
|
1027
1202
|
updatedAt: z.ZodMiniISODateTime;
|
|
1028
1203
|
}, z.core.$strip>;
|
|
1029
1204
|
type: z.ZodMiniLiteral<"funding:deposit.updated">;
|
|
1205
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1206
|
+
chainId: z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
|
|
1207
|
+
mainnet: "mainnet";
|
|
1208
|
+
testnet: "testnet";
|
|
1209
|
+
}>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniPipe<z.ZodMiniNumber<unknown>, z.ZodMiniTransform<number, number>>]>, z.ZodMiniNumber<number>>;
|
|
1210
|
+
context: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1211
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1212
|
+
metadata: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
|
|
1213
|
+
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1214
|
+
}, z.core.$strip>>;
|
|
1215
|
+
createdAt: z.ZodMiniISODateTime;
|
|
1216
|
+
id: z.ZodMiniString<string>;
|
|
1217
|
+
subscriptionId: z.ZodMiniString<string>;
|
|
1218
|
+
data: z.ZodMiniObject<{
|
|
1219
|
+
createdAt: z.ZodMiniISODateTime;
|
|
1220
|
+
destinationAmount: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1221
|
+
baseUnits: z.ZodMiniString<string>;
|
|
1222
|
+
currency: z.ZodMiniString<string>;
|
|
1223
|
+
decimals: z.ZodMiniNumber<number>;
|
|
1224
|
+
formatted: z.ZodMiniString<string>;
|
|
1225
|
+
}, z.core.$strip>>;
|
|
1226
|
+
destinationAmountMin: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1227
|
+
baseUnits: z.ZodMiniString<string>;
|
|
1228
|
+
currency: z.ZodMiniString<string>;
|
|
1229
|
+
decimals: z.ZodMiniNumber<number>;
|
|
1230
|
+
formatted: z.ZodMiniString<string>;
|
|
1231
|
+
}, z.core.$strip>>;
|
|
1232
|
+
destinationChain: z.ZodMiniObject<{
|
|
1233
|
+
addressFormat: z.ZodMiniEnum<{
|
|
1234
|
+
base58: "base58";
|
|
1235
|
+
base58check: "base58check";
|
|
1236
|
+
hex: "hex";
|
|
1237
|
+
}>;
|
|
1238
|
+
id: z.ZodMiniString<string>;
|
|
1239
|
+
kind: z.ZodMiniEnum<{
|
|
1240
|
+
evm: "evm";
|
|
1241
|
+
solana: "solana";
|
|
1242
|
+
tron: "tron";
|
|
1243
|
+
}>;
|
|
1244
|
+
name: z.ZodMiniString<string>;
|
|
1245
|
+
}, z.core.$strip>;
|
|
1246
|
+
destinationToken: z.ZodMiniObject<{
|
|
1247
|
+
address: z.ZodMiniString<string>;
|
|
1248
|
+
currency: z.ZodMiniString<string>;
|
|
1249
|
+
decimals: z.ZodMiniNumber<number>;
|
|
1250
|
+
name: z.ZodMiniString<string>;
|
|
1251
|
+
standard: z.ZodMiniString<string>;
|
|
1252
|
+
symbol: z.ZodMiniString<string>;
|
|
1253
|
+
tokenKey: z.ZodMiniString<string>;
|
|
1254
|
+
verified: z.ZodMiniBoolean<boolean>;
|
|
1255
|
+
}, z.core.$strip>;
|
|
1256
|
+
destinationTransactionHashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
1257
|
+
fees: z.ZodMiniArray<z.ZodMiniObject<{
|
|
1258
|
+
amount: z.ZodMiniObject<{
|
|
1259
|
+
baseUnits: z.ZodMiniString<string>;
|
|
1260
|
+
currency: z.ZodMiniString<string>;
|
|
1261
|
+
decimals: z.ZodMiniNumber<number>;
|
|
1262
|
+
formatted: z.ZodMiniString<string>;
|
|
1263
|
+
}, z.core.$strip>;
|
|
1264
|
+
side: z.ZodMiniEnum<{
|
|
1265
|
+
destination: "destination";
|
|
1266
|
+
source: "source";
|
|
1267
|
+
}>;
|
|
1268
|
+
token: z.ZodMiniObject<{
|
|
1269
|
+
address: z.ZodMiniString<string>;
|
|
1270
|
+
currency: z.ZodMiniString<string>;
|
|
1271
|
+
decimals: z.ZodMiniNumber<number>;
|
|
1272
|
+
name: z.ZodMiniString<string>;
|
|
1273
|
+
standard: z.ZodMiniString<string>;
|
|
1274
|
+
symbol: z.ZodMiniString<string>;
|
|
1275
|
+
tokenKey: z.ZodMiniString<string>;
|
|
1276
|
+
verified: z.ZodMiniBoolean<boolean>;
|
|
1277
|
+
}, z.core.$strip>;
|
|
1278
|
+
type: z.ZodMiniEnum<{
|
|
1279
|
+
provider: "provider";
|
|
1280
|
+
}>;
|
|
1281
|
+
}, z.core.$strip>>;
|
|
1282
|
+
id: z.ZodMiniString<string>;
|
|
1283
|
+
method: z.ZodMiniEnum<{
|
|
1284
|
+
depositAddress: "depositAddress";
|
|
1285
|
+
transaction: "transaction";
|
|
1286
|
+
}>;
|
|
1287
|
+
mode: z.ZodMiniEnum<{
|
|
1288
|
+
exactDestination: "exactDestination";
|
|
1289
|
+
exactSource: "exactSource";
|
|
1290
|
+
}>;
|
|
1291
|
+
provider: z.ZodMiniObject<{
|
|
1292
|
+
id: z.ZodMiniString<string>;
|
|
1293
|
+
name: z.ZodMiniString<string>;
|
|
1294
|
+
}, z.core.$strip>;
|
|
1295
|
+
quote: z.ZodMiniObject<{
|
|
1296
|
+
expiresAt: z.ZodMiniISODateTime;
|
|
1297
|
+
sampledAt: z.ZodMiniISODateTime;
|
|
1298
|
+
}, z.core.$strip>;
|
|
1299
|
+
recipient: z.ZodMiniString<string>;
|
|
1300
|
+
refundAddress: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1301
|
+
refundAmount: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1302
|
+
baseUnits: z.ZodMiniString<string>;
|
|
1303
|
+
currency: z.ZodMiniString<string>;
|
|
1304
|
+
decimals: z.ZodMiniNumber<number>;
|
|
1305
|
+
formatted: z.ZodMiniString<string>;
|
|
1306
|
+
}, z.core.$strip>>;
|
|
1307
|
+
refundTransactionHashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
1308
|
+
sender: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1309
|
+
sourceAmount: z.ZodMiniObject<{
|
|
1310
|
+
baseUnits: z.ZodMiniString<string>;
|
|
1311
|
+
currency: z.ZodMiniString<string>;
|
|
1312
|
+
decimals: z.ZodMiniNumber<number>;
|
|
1313
|
+
formatted: z.ZodMiniString<string>;
|
|
1314
|
+
}, z.core.$strip>;
|
|
1315
|
+
sourceAmountMax: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1316
|
+
baseUnits: z.ZodMiniString<string>;
|
|
1317
|
+
currency: z.ZodMiniString<string>;
|
|
1318
|
+
decimals: z.ZodMiniNumber<number>;
|
|
1319
|
+
formatted: z.ZodMiniString<string>;
|
|
1320
|
+
}, z.core.$strip>>;
|
|
1321
|
+
sourceChain: z.ZodMiniObject<{
|
|
1322
|
+
addressFormat: z.ZodMiniEnum<{
|
|
1323
|
+
base58: "base58";
|
|
1324
|
+
base58check: "base58check";
|
|
1325
|
+
hex: "hex";
|
|
1326
|
+
}>;
|
|
1327
|
+
id: z.ZodMiniString<string>;
|
|
1328
|
+
kind: z.ZodMiniEnum<{
|
|
1329
|
+
evm: "evm";
|
|
1330
|
+
solana: "solana";
|
|
1331
|
+
tron: "tron";
|
|
1332
|
+
}>;
|
|
1333
|
+
name: z.ZodMiniString<string>;
|
|
1334
|
+
}, z.core.$strip>;
|
|
1335
|
+
sourceToken: z.ZodMiniObject<{
|
|
1336
|
+
address: z.ZodMiniString<string>;
|
|
1337
|
+
currency: z.ZodMiniString<string>;
|
|
1338
|
+
decimals: z.ZodMiniNumber<number>;
|
|
1339
|
+
name: z.ZodMiniString<string>;
|
|
1340
|
+
standard: z.ZodMiniString<string>;
|
|
1341
|
+
symbol: z.ZodMiniString<string>;
|
|
1342
|
+
tokenKey: z.ZodMiniString<string>;
|
|
1343
|
+
verified: z.ZodMiniBoolean<boolean>;
|
|
1344
|
+
}, z.core.$strip>;
|
|
1345
|
+
sourceTransactionHashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
1346
|
+
status: z.ZodMiniEnum<{
|
|
1347
|
+
"action-required": "action-required";
|
|
1348
|
+
"awaiting-source": "awaiting-source";
|
|
1349
|
+
completed: "completed";
|
|
1350
|
+
expired: "expired";
|
|
1351
|
+
processing: "processing";
|
|
1352
|
+
refunded: "refunded";
|
|
1353
|
+
refunding: "refunding";
|
|
1354
|
+
}>;
|
|
1355
|
+
statusReason: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1356
|
+
code: z.ZodMiniEnum<{
|
|
1357
|
+
destination_amount_below_minimum: "destination_amount_below_minimum";
|
|
1358
|
+
destination_recovered: "destination_recovered";
|
|
1359
|
+
manual_recovery_required: "manual_recovery_required";
|
|
1360
|
+
refund_failed: "refund_failed";
|
|
1361
|
+
source_amount_above_maximum: "source_amount_above_maximum";
|
|
1362
|
+
source_amount_below_minimum: "source_amount_below_minimum";
|
|
1363
|
+
source_chain_mismatch: "source_chain_mismatch";
|
|
1364
|
+
source_token_mismatch: "source_token_mismatch";
|
|
1365
|
+
}>;
|
|
1366
|
+
message: z.ZodMiniString<string>;
|
|
1367
|
+
}, z.core.$strip>>;
|
|
1368
|
+
updatedAt: z.ZodMiniISODateTime;
|
|
1369
|
+
version: z.ZodMiniNumber<number>;
|
|
1370
|
+
}, z.core.$strip>;
|
|
1371
|
+
type: z.ZodMiniLiteral<"funding:transfer.updated">;
|
|
1030
1372
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1031
1373
|
chainId: z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
|
|
1032
1374
|
mainnet: "mainnet";
|
|
@@ -1053,6 +1395,7 @@ export declare namespace schema {
|
|
|
1053
1395
|
type: z.ZodMiniEnum<{
|
|
1054
1396
|
"block:created": "block:created";
|
|
1055
1397
|
"funding:deposit.updated": "funding:deposit.updated";
|
|
1398
|
+
"funding:transfer.updated": "funding:transfer.updated";
|
|
1056
1399
|
"log:emitted": "log:emitted";
|
|
1057
1400
|
"token:transfer": "token:transfer";
|
|
1058
1401
|
"transaction:included": "transaction:included";
|
|
@@ -1425,6 +1768,40 @@ export declare namespace schema {
|
|
|
1425
1768
|
settling: "settling";
|
|
1426
1769
|
}>>;
|
|
1427
1770
|
}, z.core.$strict>>;
|
|
1771
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1772
|
+
chainId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
|
|
1773
|
+
mainnet: "mainnet";
|
|
1774
|
+
testnet: "testnet";
|
|
1775
|
+
}>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniPipe<z.ZodMiniNumber<unknown>, z.ZodMiniTransform<number, number>>]>, z.ZodMiniNumber<number>>>;
|
|
1776
|
+
context: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1777
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1778
|
+
metadata: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
|
|
1779
|
+
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1780
|
+
}, z.core.$strip>>;
|
|
1781
|
+
destination: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
1782
|
+
type: z.ZodMiniLiteral<"url">;
|
|
1783
|
+
url: z.ZodMiniURL;
|
|
1784
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1785
|
+
type: z.ZodMiniLiteral<"slack">;
|
|
1786
|
+
url: z.ZodMiniURL;
|
|
1787
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
1788
|
+
token: z.ZodMiniString<string>;
|
|
1789
|
+
type: z.ZodMiniLiteral<"betterstack">;
|
|
1790
|
+
url: z.ZodMiniURL;
|
|
1791
|
+
}, z.core.$strip>], "type">;
|
|
1792
|
+
eventType: z.ZodMiniLiteral<"funding:transfer.updated">;
|
|
1793
|
+
filters: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1794
|
+
id: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
1795
|
+
status: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
1796
|
+
"action-required": "action-required";
|
|
1797
|
+
"awaiting-source": "awaiting-source";
|
|
1798
|
+
completed: "completed";
|
|
1799
|
+
expired: "expired";
|
|
1800
|
+
processing: "processing";
|
|
1801
|
+
refunded: "refunded";
|
|
1802
|
+
refunding: "refunding";
|
|
1803
|
+
}>>;
|
|
1804
|
+
}, z.core.$strict>>;
|
|
1428
1805
|
}, z.core.$strip>], "eventType">;
|
|
1429
1806
|
const Response: z.ZodMiniObject<{
|
|
1430
1807
|
chainId: z.ZodMiniNumber<number>;
|
|
@@ -1441,6 +1818,7 @@ export declare namespace schema {
|
|
|
1441
1818
|
eventType: z.ZodMiniEnum<{
|
|
1442
1819
|
"block:created": "block:created";
|
|
1443
1820
|
"funding:deposit.updated": "funding:deposit.updated";
|
|
1821
|
+
"funding:transfer.updated": "funding:transfer.updated";
|
|
1444
1822
|
"log:emitted": "log:emitted";
|
|
1445
1823
|
"token:transfer": "token:transfer";
|
|
1446
1824
|
"transaction:included": "transaction:included";
|
|
@@ -1507,6 +1885,7 @@ export declare namespace schema {
|
|
|
1507
1885
|
eventType: z.ZodMiniEnum<{
|
|
1508
1886
|
"block:created": "block:created";
|
|
1509
1887
|
"funding:deposit.updated": "funding:deposit.updated";
|
|
1888
|
+
"funding:transfer.updated": "funding:transfer.updated";
|
|
1510
1889
|
"log:emitted": "log:emitted";
|
|
1511
1890
|
"token:transfer": "token:transfer";
|
|
1512
1891
|
"transaction:included": "transaction:included";
|
|
@@ -1561,6 +1940,7 @@ export declare namespace schema {
|
|
|
1561
1940
|
eventType: z.ZodMiniEnum<{
|
|
1562
1941
|
"block:created": "block:created";
|
|
1563
1942
|
"funding:deposit.updated": "funding:deposit.updated";
|
|
1943
|
+
"funding:transfer.updated": "funding:transfer.updated";
|
|
1564
1944
|
"log:emitted": "log:emitted";
|
|
1565
1945
|
"token:transfer": "token:transfer";
|
|
1566
1946
|
"transaction:included": "transaction:included";
|
|
@@ -1697,6 +2077,7 @@ export declare namespace schema {
|
|
|
1697
2077
|
eventType: z.ZodMiniEnum<{
|
|
1698
2078
|
"block:created": "block:created";
|
|
1699
2079
|
"funding:deposit.updated": "funding:deposit.updated";
|
|
2080
|
+
"funding:transfer.updated": "funding:transfer.updated";
|
|
1700
2081
|
"log:emitted": "log:emitted";
|
|
1701
2082
|
"token:transfer": "token:transfer";
|
|
1702
2083
|
"transaction:included": "transaction:included";
|
|
@@ -1802,7 +2183,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
1802
2183
|
output: {
|
|
1803
2184
|
data: {
|
|
1804
2185
|
description: string;
|
|
1805
|
-
type: "block:created" | "funding:deposit.updated" | "log:emitted" | "token:transfer" | "transaction:included";
|
|
2186
|
+
type: "block:created" | "funding:deposit.updated" | "funding:transfer.updated" | "log:emitted" | "token:transfer" | "transaction:included";
|
|
1806
2187
|
}[];
|
|
1807
2188
|
};
|
|
1808
2189
|
outputFormat: "json";
|
|
@@ -1815,7 +2196,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
1815
2196
|
$post: {
|
|
1816
2197
|
output: {
|
|
1817
2198
|
error: {
|
|
1818
|
-
code: "
|
|
2199
|
+
code: "chain_id_unsupported";
|
|
1819
2200
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1820
2201
|
message: string;
|
|
1821
2202
|
};
|
|
@@ -2158,19 +2539,42 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2158
2539
|
recipient?: `0x${string}` | undefined;
|
|
2159
2540
|
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
2160
2541
|
} | undefined;
|
|
2542
|
+
} | {
|
|
2543
|
+
chainId?: unknown;
|
|
2544
|
+
context?: {
|
|
2545
|
+
description?: string | undefined;
|
|
2546
|
+
metadata?: Record<string, string> | undefined;
|
|
2547
|
+
title?: string | undefined;
|
|
2548
|
+
} | undefined;
|
|
2549
|
+
destination: {
|
|
2550
|
+
type: "url";
|
|
2551
|
+
url: string;
|
|
2552
|
+
} | {
|
|
2553
|
+
type: "slack";
|
|
2554
|
+
url: string;
|
|
2555
|
+
} | {
|
|
2556
|
+
token: string;
|
|
2557
|
+
type: "betterstack";
|
|
2558
|
+
url: string;
|
|
2559
|
+
};
|
|
2560
|
+
eventType: "funding:transfer.updated";
|
|
2561
|
+
filters?: {
|
|
2562
|
+
id?: string | undefined;
|
|
2563
|
+
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
2564
|
+
} | undefined;
|
|
2161
2565
|
};
|
|
2162
2566
|
};
|
|
2163
2567
|
} | {
|
|
2164
2568
|
output: {
|
|
2165
2569
|
error: {
|
|
2166
|
-
code: "
|
|
2570
|
+
code: "upstream_error";
|
|
2167
2571
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2168
2572
|
message: string;
|
|
2169
2573
|
};
|
|
2170
2574
|
requestId: string;
|
|
2171
2575
|
};
|
|
2172
2576
|
outputFormat: "json";
|
|
2173
|
-
status:
|
|
2577
|
+
status: 502;
|
|
2174
2578
|
input: {
|
|
2175
2579
|
json: {
|
|
2176
2580
|
chainId?: unknown;
|
|
@@ -2506,19 +2910,42 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2506
2910
|
recipient?: `0x${string}` | undefined;
|
|
2507
2911
|
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
2508
2912
|
} | undefined;
|
|
2913
|
+
} | {
|
|
2914
|
+
chainId?: unknown;
|
|
2915
|
+
context?: {
|
|
2916
|
+
description?: string | undefined;
|
|
2917
|
+
metadata?: Record<string, string> | undefined;
|
|
2918
|
+
title?: string | undefined;
|
|
2919
|
+
} | undefined;
|
|
2920
|
+
destination: {
|
|
2921
|
+
type: "url";
|
|
2922
|
+
url: string;
|
|
2923
|
+
} | {
|
|
2924
|
+
type: "slack";
|
|
2925
|
+
url: string;
|
|
2926
|
+
} | {
|
|
2927
|
+
token: string;
|
|
2928
|
+
type: "betterstack";
|
|
2929
|
+
url: string;
|
|
2930
|
+
};
|
|
2931
|
+
eventType: "funding:transfer.updated";
|
|
2932
|
+
filters?: {
|
|
2933
|
+
id?: string | undefined;
|
|
2934
|
+
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
2935
|
+
} | undefined;
|
|
2509
2936
|
};
|
|
2510
2937
|
};
|
|
2511
2938
|
} | {
|
|
2512
2939
|
output: {
|
|
2513
2940
|
error: {
|
|
2514
|
-
code: "
|
|
2941
|
+
code: "api_key_malformed";
|
|
2515
2942
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2516
2943
|
message: string;
|
|
2517
2944
|
};
|
|
2518
2945
|
requestId: string;
|
|
2519
2946
|
};
|
|
2520
2947
|
outputFormat: "json";
|
|
2521
|
-
status:
|
|
2948
|
+
status: 400;
|
|
2522
2949
|
input: {
|
|
2523
2950
|
json: {
|
|
2524
2951
|
chainId?: unknown;
|
|
@@ -2854,19 +3281,42 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2854
3281
|
recipient?: `0x${string}` | undefined;
|
|
2855
3282
|
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
2856
3283
|
} | undefined;
|
|
3284
|
+
} | {
|
|
3285
|
+
chainId?: unknown;
|
|
3286
|
+
context?: {
|
|
3287
|
+
description?: string | undefined;
|
|
3288
|
+
metadata?: Record<string, string> | undefined;
|
|
3289
|
+
title?: string | undefined;
|
|
3290
|
+
} | undefined;
|
|
3291
|
+
destination: {
|
|
3292
|
+
type: "url";
|
|
3293
|
+
url: string;
|
|
3294
|
+
} | {
|
|
3295
|
+
type: "slack";
|
|
3296
|
+
url: string;
|
|
3297
|
+
} | {
|
|
3298
|
+
token: string;
|
|
3299
|
+
type: "betterstack";
|
|
3300
|
+
url: string;
|
|
3301
|
+
};
|
|
3302
|
+
eventType: "funding:transfer.updated";
|
|
3303
|
+
filters?: {
|
|
3304
|
+
id?: string | undefined;
|
|
3305
|
+
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
3306
|
+
} | undefined;
|
|
2857
3307
|
};
|
|
2858
3308
|
};
|
|
2859
3309
|
} | {
|
|
2860
3310
|
output: {
|
|
2861
3311
|
error: {
|
|
2862
|
-
code: "
|
|
3312
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
2863
3313
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2864
3314
|
message: string;
|
|
2865
3315
|
};
|
|
2866
3316
|
requestId: string;
|
|
2867
3317
|
};
|
|
2868
3318
|
outputFormat: "json";
|
|
2869
|
-
status:
|
|
3319
|
+
status: 401;
|
|
2870
3320
|
input: {
|
|
2871
3321
|
json: {
|
|
2872
3322
|
chainId?: unknown;
|
|
@@ -3202,19 +3652,42 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3202
3652
|
recipient?: `0x${string}` | undefined;
|
|
3203
3653
|
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
3204
3654
|
} | undefined;
|
|
3655
|
+
} | {
|
|
3656
|
+
chainId?: unknown;
|
|
3657
|
+
context?: {
|
|
3658
|
+
description?: string | undefined;
|
|
3659
|
+
metadata?: Record<string, string> | undefined;
|
|
3660
|
+
title?: string | undefined;
|
|
3661
|
+
} | undefined;
|
|
3662
|
+
destination: {
|
|
3663
|
+
type: "url";
|
|
3664
|
+
url: string;
|
|
3665
|
+
} | {
|
|
3666
|
+
type: "slack";
|
|
3667
|
+
url: string;
|
|
3668
|
+
} | {
|
|
3669
|
+
token: string;
|
|
3670
|
+
type: "betterstack";
|
|
3671
|
+
url: string;
|
|
3672
|
+
};
|
|
3673
|
+
eventType: "funding:transfer.updated";
|
|
3674
|
+
filters?: {
|
|
3675
|
+
id?: string | undefined;
|
|
3676
|
+
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
3677
|
+
} | undefined;
|
|
3205
3678
|
};
|
|
3206
3679
|
};
|
|
3207
3680
|
} | {
|
|
3208
3681
|
output: {
|
|
3209
3682
|
error: {
|
|
3210
|
-
code: "
|
|
3683
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
3211
3684
|
details?: readonly Response.error.Detail[] | undefined;
|
|
3212
3685
|
message: string;
|
|
3213
3686
|
};
|
|
3214
3687
|
requestId: string;
|
|
3215
3688
|
};
|
|
3216
3689
|
outputFormat: "json";
|
|
3217
|
-
status:
|
|
3690
|
+
status: 403;
|
|
3218
3691
|
input: {
|
|
3219
3692
|
json: {
|
|
3220
3693
|
chainId?: unknown;
|
|
@@ -3550,19 +4023,42 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3550
4023
|
recipient?: `0x${string}` | undefined;
|
|
3551
4024
|
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
3552
4025
|
} | undefined;
|
|
4026
|
+
} | {
|
|
4027
|
+
chainId?: unknown;
|
|
4028
|
+
context?: {
|
|
4029
|
+
description?: string | undefined;
|
|
4030
|
+
metadata?: Record<string, string> | undefined;
|
|
4031
|
+
title?: string | undefined;
|
|
4032
|
+
} | undefined;
|
|
4033
|
+
destination: {
|
|
4034
|
+
type: "url";
|
|
4035
|
+
url: string;
|
|
4036
|
+
} | {
|
|
4037
|
+
type: "slack";
|
|
4038
|
+
url: string;
|
|
4039
|
+
} | {
|
|
4040
|
+
token: string;
|
|
4041
|
+
type: "betterstack";
|
|
4042
|
+
url: string;
|
|
4043
|
+
};
|
|
4044
|
+
eventType: "funding:transfer.updated";
|
|
4045
|
+
filters?: {
|
|
4046
|
+
id?: string | undefined;
|
|
4047
|
+
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
4048
|
+
} | undefined;
|
|
3553
4049
|
};
|
|
3554
4050
|
};
|
|
3555
4051
|
} | {
|
|
3556
4052
|
output: {
|
|
3557
4053
|
error: {
|
|
3558
|
-
code: "
|
|
4054
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
3559
4055
|
details?: readonly Response.error.Detail[] | undefined;
|
|
3560
4056
|
message: string;
|
|
3561
4057
|
};
|
|
3562
4058
|
requestId: string;
|
|
3563
4059
|
};
|
|
3564
4060
|
outputFormat: "json";
|
|
3565
|
-
status:
|
|
4061
|
+
status: 429;
|
|
3566
4062
|
input: {
|
|
3567
4063
|
json: {
|
|
3568
4064
|
chainId?: unknown;
|
|
@@ -3898,19 +4394,42 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3898
4394
|
recipient?: `0x${string}` | undefined;
|
|
3899
4395
|
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
3900
4396
|
} | undefined;
|
|
4397
|
+
} | {
|
|
4398
|
+
chainId?: unknown;
|
|
4399
|
+
context?: {
|
|
4400
|
+
description?: string | undefined;
|
|
4401
|
+
metadata?: Record<string, string> | undefined;
|
|
4402
|
+
title?: string | undefined;
|
|
4403
|
+
} | undefined;
|
|
4404
|
+
destination: {
|
|
4405
|
+
type: "url";
|
|
4406
|
+
url: string;
|
|
4407
|
+
} | {
|
|
4408
|
+
type: "slack";
|
|
4409
|
+
url: string;
|
|
4410
|
+
} | {
|
|
4411
|
+
token: string;
|
|
4412
|
+
type: "betterstack";
|
|
4413
|
+
url: string;
|
|
4414
|
+
};
|
|
4415
|
+
eventType: "funding:transfer.updated";
|
|
4416
|
+
filters?: {
|
|
4417
|
+
id?: string | undefined;
|
|
4418
|
+
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
4419
|
+
} | undefined;
|
|
3901
4420
|
};
|
|
3902
4421
|
};
|
|
3903
4422
|
} | {
|
|
3904
4423
|
output: {
|
|
3905
4424
|
error: {
|
|
3906
|
-
code: "
|
|
4425
|
+
code: "webhooks_not_enabled";
|
|
3907
4426
|
details?: readonly Response.error.Detail[] | undefined;
|
|
3908
4427
|
message: string;
|
|
3909
4428
|
};
|
|
3910
4429
|
requestId: string;
|
|
3911
4430
|
};
|
|
3912
4431
|
outputFormat: "json";
|
|
3913
|
-
status:
|
|
4432
|
+
status: 404;
|
|
3914
4433
|
input: {
|
|
3915
4434
|
json: {
|
|
3916
4435
|
chainId?: unknown;
|
|
@@ -4246,19 +4765,42 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4246
4765
|
recipient?: `0x${string}` | undefined;
|
|
4247
4766
|
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
4248
4767
|
} | undefined;
|
|
4768
|
+
} | {
|
|
4769
|
+
chainId?: unknown;
|
|
4770
|
+
context?: {
|
|
4771
|
+
description?: string | undefined;
|
|
4772
|
+
metadata?: Record<string, string> | undefined;
|
|
4773
|
+
title?: string | undefined;
|
|
4774
|
+
} | undefined;
|
|
4775
|
+
destination: {
|
|
4776
|
+
type: "url";
|
|
4777
|
+
url: string;
|
|
4778
|
+
} | {
|
|
4779
|
+
type: "slack";
|
|
4780
|
+
url: string;
|
|
4781
|
+
} | {
|
|
4782
|
+
token: string;
|
|
4783
|
+
type: "betterstack";
|
|
4784
|
+
url: string;
|
|
4785
|
+
};
|
|
4786
|
+
eventType: "funding:transfer.updated";
|
|
4787
|
+
filters?: {
|
|
4788
|
+
id?: string | undefined;
|
|
4789
|
+
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
4790
|
+
} | undefined;
|
|
4249
4791
|
};
|
|
4250
4792
|
};
|
|
4251
4793
|
} | {
|
|
4252
4794
|
output: {
|
|
4253
4795
|
error: {
|
|
4254
|
-
code: "
|
|
4796
|
+
code: "body_invalid";
|
|
4255
4797
|
details?: readonly Response.error.Detail[] | undefined;
|
|
4256
4798
|
message: string;
|
|
4257
4799
|
};
|
|
4258
4800
|
requestId: string;
|
|
4259
4801
|
};
|
|
4260
4802
|
outputFormat: "json";
|
|
4261
|
-
status:
|
|
4803
|
+
status: 400;
|
|
4262
4804
|
input: {
|
|
4263
4805
|
json: {
|
|
4264
4806
|
chainId?: unknown;
|
|
@@ -4594,19 +5136,42 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4594
5136
|
recipient?: `0x${string}` | undefined;
|
|
4595
5137
|
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
4596
5138
|
} | undefined;
|
|
5139
|
+
} | {
|
|
5140
|
+
chainId?: unknown;
|
|
5141
|
+
context?: {
|
|
5142
|
+
description?: string | undefined;
|
|
5143
|
+
metadata?: Record<string, string> | undefined;
|
|
5144
|
+
title?: string | undefined;
|
|
5145
|
+
} | undefined;
|
|
5146
|
+
destination: {
|
|
5147
|
+
type: "url";
|
|
5148
|
+
url: string;
|
|
5149
|
+
} | {
|
|
5150
|
+
type: "slack";
|
|
5151
|
+
url: string;
|
|
5152
|
+
} | {
|
|
5153
|
+
token: string;
|
|
5154
|
+
type: "betterstack";
|
|
5155
|
+
url: string;
|
|
5156
|
+
};
|
|
5157
|
+
eventType: "funding:transfer.updated";
|
|
5158
|
+
filters?: {
|
|
5159
|
+
id?: string | undefined;
|
|
5160
|
+
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
5161
|
+
} | undefined;
|
|
4597
5162
|
};
|
|
4598
5163
|
};
|
|
4599
5164
|
} | {
|
|
4600
5165
|
output: {
|
|
4601
5166
|
error: {
|
|
4602
|
-
code: "
|
|
5167
|
+
code: "unauthorized";
|
|
4603
5168
|
details?: readonly Response.error.Detail[] | undefined;
|
|
4604
5169
|
message: string;
|
|
4605
5170
|
};
|
|
4606
5171
|
requestId: string;
|
|
4607
5172
|
};
|
|
4608
5173
|
outputFormat: "json";
|
|
4609
|
-
status:
|
|
5174
|
+
status: 401;
|
|
4610
5175
|
input: {
|
|
4611
5176
|
json: {
|
|
4612
5177
|
chainId?: unknown;
|
|
@@ -4936,18 +5501,41 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4936
5501
|
type: "betterstack";
|
|
4937
5502
|
url: string;
|
|
4938
5503
|
};
|
|
4939
|
-
eventType: "funding:deposit.updated";
|
|
5504
|
+
eventType: "funding:deposit.updated";
|
|
5505
|
+
filters?: {
|
|
5506
|
+
depositAddressId?: string | undefined;
|
|
5507
|
+
recipient?: `0x${string}` | undefined;
|
|
5508
|
+
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
5509
|
+
} | undefined;
|
|
5510
|
+
} | {
|
|
5511
|
+
chainId?: unknown;
|
|
5512
|
+
context?: {
|
|
5513
|
+
description?: string | undefined;
|
|
5514
|
+
metadata?: Record<string, string> | undefined;
|
|
5515
|
+
title?: string | undefined;
|
|
5516
|
+
} | undefined;
|
|
5517
|
+
destination: {
|
|
5518
|
+
type: "url";
|
|
5519
|
+
url: string;
|
|
5520
|
+
} | {
|
|
5521
|
+
type: "slack";
|
|
5522
|
+
url: string;
|
|
5523
|
+
} | {
|
|
5524
|
+
token: string;
|
|
5525
|
+
type: "betterstack";
|
|
5526
|
+
url: string;
|
|
5527
|
+
};
|
|
5528
|
+
eventType: "funding:transfer.updated";
|
|
4940
5529
|
filters?: {
|
|
4941
|
-
|
|
4942
|
-
|
|
4943
|
-
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
5530
|
+
id?: string | undefined;
|
|
5531
|
+
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
4944
5532
|
} | undefined;
|
|
4945
5533
|
};
|
|
4946
5534
|
};
|
|
4947
5535
|
} | {
|
|
4948
5536
|
output: {
|
|
4949
5537
|
error: {
|
|
4950
|
-
code: "
|
|
5538
|
+
code: "event_type_unsupported";
|
|
4951
5539
|
details?: readonly Response.error.Detail[] | undefined;
|
|
4952
5540
|
message: string;
|
|
4953
5541
|
};
|
|
@@ -5290,6 +5878,29 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5290
5878
|
recipient?: `0x${string}` | undefined;
|
|
5291
5879
|
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
5292
5880
|
} | undefined;
|
|
5881
|
+
} | {
|
|
5882
|
+
chainId?: unknown;
|
|
5883
|
+
context?: {
|
|
5884
|
+
description?: string | undefined;
|
|
5885
|
+
metadata?: Record<string, string> | undefined;
|
|
5886
|
+
title?: string | undefined;
|
|
5887
|
+
} | undefined;
|
|
5888
|
+
destination: {
|
|
5889
|
+
type: "url";
|
|
5890
|
+
url: string;
|
|
5891
|
+
} | {
|
|
5892
|
+
type: "slack";
|
|
5893
|
+
url: string;
|
|
5894
|
+
} | {
|
|
5895
|
+
token: string;
|
|
5896
|
+
type: "betterstack";
|
|
5897
|
+
url: string;
|
|
5898
|
+
};
|
|
5899
|
+
eventType: "funding:transfer.updated";
|
|
5900
|
+
filters?: {
|
|
5901
|
+
id?: string | undefined;
|
|
5902
|
+
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
5903
|
+
} | undefined;
|
|
5293
5904
|
};
|
|
5294
5905
|
};
|
|
5295
5906
|
} | {
|
|
@@ -5304,7 +5915,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5304
5915
|
} | undefined;
|
|
5305
5916
|
createdAt: string;
|
|
5306
5917
|
environment?: "production" | "sandbox" | undefined;
|
|
5307
|
-
eventType: "block:created" | "funding:deposit.updated" | "log:emitted" | "token:transfer" | "transaction:included";
|
|
5918
|
+
eventType: "block:created" | "funding:deposit.updated" | "funding:transfer.updated" | "log:emitted" | "token:transfer" | "transaction:included";
|
|
5308
5919
|
expiresAt?: string | undefined;
|
|
5309
5920
|
failureCount: number;
|
|
5310
5921
|
filters: {
|
|
@@ -5664,6 +6275,29 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5664
6275
|
recipient?: `0x${string}` | undefined;
|
|
5665
6276
|
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
5666
6277
|
} | undefined;
|
|
6278
|
+
} | {
|
|
6279
|
+
chainId?: unknown;
|
|
6280
|
+
context?: {
|
|
6281
|
+
description?: string | undefined;
|
|
6282
|
+
metadata?: Record<string, string> | undefined;
|
|
6283
|
+
title?: string | undefined;
|
|
6284
|
+
} | undefined;
|
|
6285
|
+
destination: {
|
|
6286
|
+
type: "url";
|
|
6287
|
+
url: string;
|
|
6288
|
+
} | {
|
|
6289
|
+
type: "slack";
|
|
6290
|
+
url: string;
|
|
6291
|
+
} | {
|
|
6292
|
+
token: string;
|
|
6293
|
+
type: "betterstack";
|
|
6294
|
+
url: string;
|
|
6295
|
+
};
|
|
6296
|
+
eventType: "funding:transfer.updated";
|
|
6297
|
+
filters?: {
|
|
6298
|
+
id?: string | undefined;
|
|
6299
|
+
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
6300
|
+
} | undefined;
|
|
5667
6301
|
};
|
|
5668
6302
|
};
|
|
5669
6303
|
} | {
|
|
@@ -6012,6 +6646,29 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6012
6646
|
recipient?: `0x${string}` | undefined;
|
|
6013
6647
|
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
6014
6648
|
} | undefined;
|
|
6649
|
+
} | {
|
|
6650
|
+
chainId?: unknown;
|
|
6651
|
+
context?: {
|
|
6652
|
+
description?: string | undefined;
|
|
6653
|
+
metadata?: Record<string, string> | undefined;
|
|
6654
|
+
title?: string | undefined;
|
|
6655
|
+
} | undefined;
|
|
6656
|
+
destination: {
|
|
6657
|
+
type: "url";
|
|
6658
|
+
url: string;
|
|
6659
|
+
} | {
|
|
6660
|
+
type: "slack";
|
|
6661
|
+
url: string;
|
|
6662
|
+
} | {
|
|
6663
|
+
token: string;
|
|
6664
|
+
type: "betterstack";
|
|
6665
|
+
url: string;
|
|
6666
|
+
};
|
|
6667
|
+
eventType: "funding:transfer.updated";
|
|
6668
|
+
filters?: {
|
|
6669
|
+
id?: string | undefined;
|
|
6670
|
+
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
6671
|
+
} | undefined;
|
|
6015
6672
|
};
|
|
6016
6673
|
};
|
|
6017
6674
|
} | {
|
|
@@ -6360,6 +7017,29 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6360
7017
|
recipient?: `0x${string}` | undefined;
|
|
6361
7018
|
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
6362
7019
|
} | undefined;
|
|
7020
|
+
} | {
|
|
7021
|
+
chainId?: unknown;
|
|
7022
|
+
context?: {
|
|
7023
|
+
description?: string | undefined;
|
|
7024
|
+
metadata?: Record<string, string> | undefined;
|
|
7025
|
+
title?: string | undefined;
|
|
7026
|
+
} | undefined;
|
|
7027
|
+
destination: {
|
|
7028
|
+
type: "url";
|
|
7029
|
+
url: string;
|
|
7030
|
+
} | {
|
|
7031
|
+
type: "slack";
|
|
7032
|
+
url: string;
|
|
7033
|
+
} | {
|
|
7034
|
+
token: string;
|
|
7035
|
+
type: "betterstack";
|
|
7036
|
+
url: string;
|
|
7037
|
+
};
|
|
7038
|
+
eventType: "funding:transfer.updated";
|
|
7039
|
+
filters?: {
|
|
7040
|
+
id?: string | undefined;
|
|
7041
|
+
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
7042
|
+
} | undefined;
|
|
6363
7043
|
};
|
|
6364
7044
|
};
|
|
6365
7045
|
} | {
|
|
@@ -6708,6 +7388,29 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6708
7388
|
recipient?: `0x${string}` | undefined;
|
|
6709
7389
|
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
6710
7390
|
} | undefined;
|
|
7391
|
+
} | {
|
|
7392
|
+
chainId?: unknown;
|
|
7393
|
+
context?: {
|
|
7394
|
+
description?: string | undefined;
|
|
7395
|
+
metadata?: Record<string, string> | undefined;
|
|
7396
|
+
title?: string | undefined;
|
|
7397
|
+
} | undefined;
|
|
7398
|
+
destination: {
|
|
7399
|
+
type: "url";
|
|
7400
|
+
url: string;
|
|
7401
|
+
} | {
|
|
7402
|
+
type: "slack";
|
|
7403
|
+
url: string;
|
|
7404
|
+
} | {
|
|
7405
|
+
token: string;
|
|
7406
|
+
type: "betterstack";
|
|
7407
|
+
url: string;
|
|
7408
|
+
};
|
|
7409
|
+
eventType: "funding:transfer.updated";
|
|
7410
|
+
filters?: {
|
|
7411
|
+
id?: string | undefined;
|
|
7412
|
+
status?: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding" | undefined;
|
|
7413
|
+
} | undefined;
|
|
6711
7414
|
};
|
|
6712
7415
|
};
|
|
6713
7416
|
};
|
|
@@ -6717,14 +7420,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6717
7420
|
$get: {
|
|
6718
7421
|
output: {
|
|
6719
7422
|
error: {
|
|
6720
|
-
code: "
|
|
7423
|
+
code: "upstream_error";
|
|
6721
7424
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6722
7425
|
message: string;
|
|
6723
7426
|
};
|
|
6724
7427
|
requestId: string;
|
|
6725
7428
|
};
|
|
6726
7429
|
outputFormat: "json";
|
|
6727
|
-
status:
|
|
7430
|
+
status: 502;
|
|
6728
7431
|
input: {
|
|
6729
7432
|
query?: {
|
|
6730
7433
|
cursor?: string | string[];
|
|
@@ -6736,14 +7439,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6736
7439
|
} | {
|
|
6737
7440
|
output: {
|
|
6738
7441
|
error: {
|
|
6739
|
-
code: "
|
|
7442
|
+
code: "query_invalid";
|
|
6740
7443
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6741
7444
|
message: string;
|
|
6742
7445
|
};
|
|
6743
7446
|
requestId: string;
|
|
6744
7447
|
};
|
|
6745
7448
|
outputFormat: "json";
|
|
6746
|
-
status:
|
|
7449
|
+
status: 400;
|
|
6747
7450
|
input: {
|
|
6748
7451
|
query?: {
|
|
6749
7452
|
cursor?: string | string[];
|
|
@@ -6755,14 +7458,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6755
7458
|
} | {
|
|
6756
7459
|
output: {
|
|
6757
7460
|
error: {
|
|
6758
|
-
code: "
|
|
7461
|
+
code: "api_key_malformed";
|
|
6759
7462
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6760
7463
|
message: string;
|
|
6761
7464
|
};
|
|
6762
7465
|
requestId: string;
|
|
6763
7466
|
};
|
|
6764
7467
|
outputFormat: "json";
|
|
6765
|
-
status:
|
|
7468
|
+
status: 400;
|
|
6766
7469
|
input: {
|
|
6767
7470
|
query?: {
|
|
6768
7471
|
cursor?: string | string[];
|
|
@@ -6774,14 +7477,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6774
7477
|
} | {
|
|
6775
7478
|
output: {
|
|
6776
7479
|
error: {
|
|
6777
|
-
code: "
|
|
7480
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
6778
7481
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6779
7482
|
message: string;
|
|
6780
7483
|
};
|
|
6781
7484
|
requestId: string;
|
|
6782
7485
|
};
|
|
6783
7486
|
outputFormat: "json";
|
|
6784
|
-
status:
|
|
7487
|
+
status: 401;
|
|
6785
7488
|
input: {
|
|
6786
7489
|
query?: {
|
|
6787
7490
|
cursor?: string | string[];
|
|
@@ -6793,14 +7496,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6793
7496
|
} | {
|
|
6794
7497
|
output: {
|
|
6795
7498
|
error: {
|
|
6796
|
-
code: "
|
|
7499
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
6797
7500
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6798
7501
|
message: string;
|
|
6799
7502
|
};
|
|
6800
7503
|
requestId: string;
|
|
6801
7504
|
};
|
|
6802
7505
|
outputFormat: "json";
|
|
6803
|
-
status:
|
|
7506
|
+
status: 403;
|
|
6804
7507
|
input: {
|
|
6805
7508
|
query?: {
|
|
6806
7509
|
cursor?: string | string[];
|
|
@@ -6812,14 +7515,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6812
7515
|
} | {
|
|
6813
7516
|
output: {
|
|
6814
7517
|
error: {
|
|
6815
|
-
code: "
|
|
7518
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
6816
7519
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6817
7520
|
message: string;
|
|
6818
7521
|
};
|
|
6819
7522
|
requestId: string;
|
|
6820
7523
|
};
|
|
6821
7524
|
outputFormat: "json";
|
|
6822
|
-
status:
|
|
7525
|
+
status: 429;
|
|
6823
7526
|
input: {
|
|
6824
7527
|
query?: {
|
|
6825
7528
|
cursor?: string | string[];
|
|
@@ -6890,7 +7593,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6890
7593
|
url: string;
|
|
6891
7594
|
};
|
|
6892
7595
|
environment?: "production" | "sandbox" | undefined;
|
|
6893
|
-
eventType: "block:created" | "funding:deposit.updated" | "log:emitted" | "token:transfer" | "transaction:included";
|
|
7596
|
+
eventType: "block:created" | "funding:deposit.updated" | "funding:transfer.updated" | "log:emitted" | "token:transfer" | "transaction:included";
|
|
6894
7597
|
expiresAt?: string | undefined;
|
|
6895
7598
|
failureCount: number;
|
|
6896
7599
|
filters: {
|
|
@@ -6924,14 +7627,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6924
7627
|
$get: {
|
|
6925
7628
|
output: {
|
|
6926
7629
|
error: {
|
|
6927
|
-
code: "
|
|
7630
|
+
code: "upstream_error";
|
|
6928
7631
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6929
7632
|
message: string;
|
|
6930
7633
|
};
|
|
6931
7634
|
requestId: string;
|
|
6932
7635
|
};
|
|
6933
7636
|
outputFormat: "json";
|
|
6934
|
-
status:
|
|
7637
|
+
status: 502;
|
|
6935
7638
|
input: {
|
|
6936
7639
|
param: {
|
|
6937
7640
|
id: string;
|
|
@@ -6940,14 +7643,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6940
7643
|
} | {
|
|
6941
7644
|
output: {
|
|
6942
7645
|
error: {
|
|
6943
|
-
code: "
|
|
7646
|
+
code: "api_key_malformed";
|
|
6944
7647
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6945
7648
|
message: string;
|
|
6946
7649
|
};
|
|
6947
7650
|
requestId: string;
|
|
6948
7651
|
};
|
|
6949
7652
|
outputFormat: "json";
|
|
6950
|
-
status:
|
|
7653
|
+
status: 400;
|
|
6951
7654
|
input: {
|
|
6952
7655
|
param: {
|
|
6953
7656
|
id: string;
|
|
@@ -6956,14 +7659,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6956
7659
|
} | {
|
|
6957
7660
|
output: {
|
|
6958
7661
|
error: {
|
|
6959
|
-
code: "
|
|
7662
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
6960
7663
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6961
7664
|
message: string;
|
|
6962
7665
|
};
|
|
6963
7666
|
requestId: string;
|
|
6964
7667
|
};
|
|
6965
7668
|
outputFormat: "json";
|
|
6966
|
-
status:
|
|
7669
|
+
status: 401;
|
|
6967
7670
|
input: {
|
|
6968
7671
|
param: {
|
|
6969
7672
|
id: string;
|
|
@@ -6972,14 +7675,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6972
7675
|
} | {
|
|
6973
7676
|
output: {
|
|
6974
7677
|
error: {
|
|
6975
|
-
code: "
|
|
7678
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
6976
7679
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6977
7680
|
message: string;
|
|
6978
7681
|
};
|
|
6979
7682
|
requestId: string;
|
|
6980
7683
|
};
|
|
6981
7684
|
outputFormat: "json";
|
|
6982
|
-
status:
|
|
7685
|
+
status: 403;
|
|
6983
7686
|
input: {
|
|
6984
7687
|
param: {
|
|
6985
7688
|
id: string;
|
|
@@ -6988,14 +7691,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6988
7691
|
} | {
|
|
6989
7692
|
output: {
|
|
6990
7693
|
error: {
|
|
6991
|
-
code: "
|
|
7694
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
6992
7695
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6993
7696
|
message: string;
|
|
6994
7697
|
};
|
|
6995
7698
|
requestId: string;
|
|
6996
7699
|
};
|
|
6997
7700
|
outputFormat: "json";
|
|
6998
|
-
status:
|
|
7701
|
+
status: 429;
|
|
6999
7702
|
input: {
|
|
7000
7703
|
param: {
|
|
7001
7704
|
id: string;
|
|
@@ -7088,7 +7791,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7088
7791
|
url: string;
|
|
7089
7792
|
};
|
|
7090
7793
|
environment?: "production" | "sandbox" | undefined;
|
|
7091
|
-
eventType: "block:created" | "funding:deposit.updated" | "log:emitted" | "token:transfer" | "transaction:included";
|
|
7794
|
+
eventType: "block:created" | "funding:deposit.updated" | "funding:transfer.updated" | "log:emitted" | "token:transfer" | "transaction:included";
|
|
7092
7795
|
expiresAt?: string | undefined;
|
|
7093
7796
|
failureCount: number;
|
|
7094
7797
|
filters: {
|
|
@@ -7113,14 +7816,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7113
7816
|
$get: {
|
|
7114
7817
|
output: {
|
|
7115
7818
|
error: {
|
|
7116
|
-
code: "
|
|
7819
|
+
code: "upstream_error";
|
|
7117
7820
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7118
7821
|
message: string;
|
|
7119
7822
|
};
|
|
7120
7823
|
requestId: string;
|
|
7121
7824
|
};
|
|
7122
7825
|
outputFormat: "json";
|
|
7123
|
-
status:
|
|
7826
|
+
status: 502;
|
|
7124
7827
|
input: {
|
|
7125
7828
|
param: {
|
|
7126
7829
|
id: string;
|
|
@@ -7136,14 +7839,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7136
7839
|
} | {
|
|
7137
7840
|
output: {
|
|
7138
7841
|
error: {
|
|
7139
|
-
code: "
|
|
7842
|
+
code: "query_invalid";
|
|
7140
7843
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7141
7844
|
message: string;
|
|
7142
7845
|
};
|
|
7143
7846
|
requestId: string;
|
|
7144
7847
|
};
|
|
7145
7848
|
outputFormat: "json";
|
|
7146
|
-
status:
|
|
7849
|
+
status: 400;
|
|
7147
7850
|
input: {
|
|
7148
7851
|
param: {
|
|
7149
7852
|
id: string;
|
|
@@ -7159,14 +7862,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7159
7862
|
} | {
|
|
7160
7863
|
output: {
|
|
7161
7864
|
error: {
|
|
7162
|
-
code: "
|
|
7865
|
+
code: "api_key_malformed";
|
|
7163
7866
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7164
7867
|
message: string;
|
|
7165
7868
|
};
|
|
7166
7869
|
requestId: string;
|
|
7167
7870
|
};
|
|
7168
7871
|
outputFormat: "json";
|
|
7169
|
-
status:
|
|
7872
|
+
status: 400;
|
|
7170
7873
|
input: {
|
|
7171
7874
|
param: {
|
|
7172
7875
|
id: string;
|
|
@@ -7182,14 +7885,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7182
7885
|
} | {
|
|
7183
7886
|
output: {
|
|
7184
7887
|
error: {
|
|
7185
|
-
code: "
|
|
7888
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
7186
7889
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7187
7890
|
message: string;
|
|
7188
7891
|
};
|
|
7189
7892
|
requestId: string;
|
|
7190
7893
|
};
|
|
7191
7894
|
outputFormat: "json";
|
|
7192
|
-
status:
|
|
7895
|
+
status: 401;
|
|
7193
7896
|
input: {
|
|
7194
7897
|
param: {
|
|
7195
7898
|
id: string;
|
|
@@ -7205,14 +7908,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7205
7908
|
} | {
|
|
7206
7909
|
output: {
|
|
7207
7910
|
error: {
|
|
7208
|
-
code: "
|
|
7911
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
7209
7912
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7210
7913
|
message: string;
|
|
7211
7914
|
};
|
|
7212
7915
|
requestId: string;
|
|
7213
7916
|
};
|
|
7214
7917
|
outputFormat: "json";
|
|
7215
|
-
status:
|
|
7918
|
+
status: 403;
|
|
7216
7919
|
input: {
|
|
7217
7920
|
param: {
|
|
7218
7921
|
id: string;
|
|
@@ -7228,14 +7931,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7228
7931
|
} | {
|
|
7229
7932
|
output: {
|
|
7230
7933
|
error: {
|
|
7231
|
-
code: "
|
|
7934
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
7232
7935
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7233
7936
|
message: string;
|
|
7234
7937
|
};
|
|
7235
7938
|
requestId: string;
|
|
7236
7939
|
};
|
|
7237
7940
|
outputFormat: "json";
|
|
7238
|
-
status:
|
|
7941
|
+
status: 429;
|
|
7239
7942
|
input: {
|
|
7240
7943
|
param: {
|
|
7241
7944
|
id: string;
|
|
@@ -7381,14 +8084,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7381
8084
|
$post: {
|
|
7382
8085
|
output: {
|
|
7383
8086
|
error: {
|
|
7384
|
-
code: "
|
|
8087
|
+
code: "upstream_error";
|
|
7385
8088
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7386
8089
|
message: string;
|
|
7387
8090
|
};
|
|
7388
8091
|
requestId: string;
|
|
7389
8092
|
};
|
|
7390
8093
|
outputFormat: "json";
|
|
7391
|
-
status:
|
|
8094
|
+
status: 502;
|
|
7392
8095
|
input: {
|
|
7393
8096
|
param: {
|
|
7394
8097
|
id: string;
|
|
@@ -7397,14 +8100,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7397
8100
|
} | {
|
|
7398
8101
|
output: {
|
|
7399
8102
|
error: {
|
|
7400
|
-
code: "
|
|
8103
|
+
code: "api_key_malformed";
|
|
7401
8104
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7402
8105
|
message: string;
|
|
7403
8106
|
};
|
|
7404
8107
|
requestId: string;
|
|
7405
8108
|
};
|
|
7406
8109
|
outputFormat: "json";
|
|
7407
|
-
status:
|
|
8110
|
+
status: 400;
|
|
7408
8111
|
input: {
|
|
7409
8112
|
param: {
|
|
7410
8113
|
id: string;
|
|
@@ -7413,14 +8116,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7413
8116
|
} | {
|
|
7414
8117
|
output: {
|
|
7415
8118
|
error: {
|
|
7416
|
-
code: "
|
|
8119
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
7417
8120
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7418
8121
|
message: string;
|
|
7419
8122
|
};
|
|
7420
8123
|
requestId: string;
|
|
7421
8124
|
};
|
|
7422
8125
|
outputFormat: "json";
|
|
7423
|
-
status:
|
|
8126
|
+
status: 401;
|
|
7424
8127
|
input: {
|
|
7425
8128
|
param: {
|
|
7426
8129
|
id: string;
|
|
@@ -7429,14 +8132,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7429
8132
|
} | {
|
|
7430
8133
|
output: {
|
|
7431
8134
|
error: {
|
|
7432
|
-
code: "
|
|
8135
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
7433
8136
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7434
8137
|
message: string;
|
|
7435
8138
|
};
|
|
7436
8139
|
requestId: string;
|
|
7437
8140
|
};
|
|
7438
8141
|
outputFormat: "json";
|
|
7439
|
-
status:
|
|
8142
|
+
status: 403;
|
|
7440
8143
|
input: {
|
|
7441
8144
|
param: {
|
|
7442
8145
|
id: string;
|
|
@@ -7445,14 +8148,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7445
8148
|
} | {
|
|
7446
8149
|
output: {
|
|
7447
8150
|
error: {
|
|
7448
|
-
code: "
|
|
8151
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
7449
8152
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7450
8153
|
message: string;
|
|
7451
8154
|
};
|
|
7452
8155
|
requestId: string;
|
|
7453
8156
|
};
|
|
7454
8157
|
outputFormat: "json";
|
|
7455
|
-
status:
|
|
8158
|
+
status: 429;
|
|
7456
8159
|
input: {
|
|
7457
8160
|
param: {
|
|
7458
8161
|
id: string;
|
|
@@ -7544,14 +8247,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7544
8247
|
$post: {
|
|
7545
8248
|
output: {
|
|
7546
8249
|
error: {
|
|
7547
|
-
code: "
|
|
8250
|
+
code: "upstream_error";
|
|
7548
8251
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7549
8252
|
message: string;
|
|
7550
8253
|
};
|
|
7551
8254
|
requestId: string;
|
|
7552
8255
|
};
|
|
7553
8256
|
outputFormat: "json";
|
|
7554
|
-
status:
|
|
8257
|
+
status: 502;
|
|
7555
8258
|
input: {
|
|
7556
8259
|
param: {
|
|
7557
8260
|
deliveryId: string;
|
|
@@ -7561,14 +8264,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7561
8264
|
} | {
|
|
7562
8265
|
output: {
|
|
7563
8266
|
error: {
|
|
7564
|
-
code: "
|
|
8267
|
+
code: "api_key_malformed";
|
|
7565
8268
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7566
8269
|
message: string;
|
|
7567
8270
|
};
|
|
7568
8271
|
requestId: string;
|
|
7569
8272
|
};
|
|
7570
8273
|
outputFormat: "json";
|
|
7571
|
-
status:
|
|
8274
|
+
status: 400;
|
|
7572
8275
|
input: {
|
|
7573
8276
|
param: {
|
|
7574
8277
|
deliveryId: string;
|
|
@@ -7578,14 +8281,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7578
8281
|
} | {
|
|
7579
8282
|
output: {
|
|
7580
8283
|
error: {
|
|
7581
|
-
code: "
|
|
8284
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
7582
8285
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7583
8286
|
message: string;
|
|
7584
8287
|
};
|
|
7585
8288
|
requestId: string;
|
|
7586
8289
|
};
|
|
7587
8290
|
outputFormat: "json";
|
|
7588
|
-
status:
|
|
8291
|
+
status: 401;
|
|
7589
8292
|
input: {
|
|
7590
8293
|
param: {
|
|
7591
8294
|
deliveryId: string;
|
|
@@ -7595,14 +8298,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7595
8298
|
} | {
|
|
7596
8299
|
output: {
|
|
7597
8300
|
error: {
|
|
7598
|
-
code: "
|
|
8301
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
7599
8302
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7600
8303
|
message: string;
|
|
7601
8304
|
};
|
|
7602
8305
|
requestId: string;
|
|
7603
8306
|
};
|
|
7604
8307
|
outputFormat: "json";
|
|
7605
|
-
status:
|
|
8308
|
+
status: 403;
|
|
7606
8309
|
input: {
|
|
7607
8310
|
param: {
|
|
7608
8311
|
deliveryId: string;
|
|
@@ -7612,14 +8315,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7612
8315
|
} | {
|
|
7613
8316
|
output: {
|
|
7614
8317
|
error: {
|
|
7615
|
-
code: "
|
|
8318
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
7616
8319
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7617
8320
|
message: string;
|
|
7618
8321
|
};
|
|
7619
8322
|
requestId: string;
|
|
7620
8323
|
};
|
|
7621
8324
|
outputFormat: "json";
|
|
7622
|
-
status:
|
|
8325
|
+
status: 429;
|
|
7623
8326
|
input: {
|
|
7624
8327
|
param: {
|
|
7625
8328
|
deliveryId: string;
|
|
@@ -7734,14 +8437,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7734
8437
|
$patch: {
|
|
7735
8438
|
output: {
|
|
7736
8439
|
error: {
|
|
7737
|
-
code: "
|
|
8440
|
+
code: "upstream_error";
|
|
7738
8441
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7739
8442
|
message: string;
|
|
7740
8443
|
};
|
|
7741
8444
|
requestId: string;
|
|
7742
8445
|
};
|
|
7743
8446
|
outputFormat: "json";
|
|
7744
|
-
status:
|
|
8447
|
+
status: 502;
|
|
7745
8448
|
input: {
|
|
7746
8449
|
param: {
|
|
7747
8450
|
id: string;
|
|
@@ -7771,14 +8474,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7771
8474
|
} | {
|
|
7772
8475
|
output: {
|
|
7773
8476
|
error: {
|
|
7774
|
-
code: "
|
|
8477
|
+
code: "api_key_malformed";
|
|
7775
8478
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7776
8479
|
message: string;
|
|
7777
8480
|
};
|
|
7778
8481
|
requestId: string;
|
|
7779
8482
|
};
|
|
7780
8483
|
outputFormat: "json";
|
|
7781
|
-
status:
|
|
8484
|
+
status: 400;
|
|
7782
8485
|
input: {
|
|
7783
8486
|
param: {
|
|
7784
8487
|
id: string;
|
|
@@ -7808,14 +8511,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7808
8511
|
} | {
|
|
7809
8512
|
output: {
|
|
7810
8513
|
error: {
|
|
7811
|
-
code: "
|
|
8514
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
7812
8515
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7813
8516
|
message: string;
|
|
7814
8517
|
};
|
|
7815
8518
|
requestId: string;
|
|
7816
8519
|
};
|
|
7817
8520
|
outputFormat: "json";
|
|
7818
|
-
status:
|
|
8521
|
+
status: 401;
|
|
7819
8522
|
input: {
|
|
7820
8523
|
param: {
|
|
7821
8524
|
id: string;
|
|
@@ -7845,14 +8548,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7845
8548
|
} | {
|
|
7846
8549
|
output: {
|
|
7847
8550
|
error: {
|
|
7848
|
-
code: "
|
|
8551
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
7849
8552
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7850
8553
|
message: string;
|
|
7851
8554
|
};
|
|
7852
8555
|
requestId: string;
|
|
7853
8556
|
};
|
|
7854
8557
|
outputFormat: "json";
|
|
7855
|
-
status:
|
|
8558
|
+
status: 403;
|
|
7856
8559
|
input: {
|
|
7857
8560
|
param: {
|
|
7858
8561
|
id: string;
|
|
@@ -7882,14 +8585,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7882
8585
|
} | {
|
|
7883
8586
|
output: {
|
|
7884
8587
|
error: {
|
|
7885
|
-
code: "
|
|
8588
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
7886
8589
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7887
8590
|
message: string;
|
|
7888
8591
|
};
|
|
7889
8592
|
requestId: string;
|
|
7890
8593
|
};
|
|
7891
8594
|
outputFormat: "json";
|
|
7892
|
-
status:
|
|
8595
|
+
status: 429;
|
|
7893
8596
|
input: {
|
|
7894
8597
|
param: {
|
|
7895
8598
|
id: string;
|
|
@@ -8198,7 +8901,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
8198
8901
|
url: string;
|
|
8199
8902
|
};
|
|
8200
8903
|
environment?: "production" | "sandbox" | undefined;
|
|
8201
|
-
eventType: "block:created" | "funding:deposit.updated" | "log:emitted" | "token:transfer" | "transaction:included";
|
|
8904
|
+
eventType: "block:created" | "funding:deposit.updated" | "funding:transfer.updated" | "log:emitted" | "token:transfer" | "transaction:included";
|
|
8202
8905
|
expiresAt?: string | undefined;
|
|
8203
8906
|
failureCount: number;
|
|
8204
8907
|
filters: {
|
|
@@ -8281,14 +8984,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
8281
8984
|
$delete: {
|
|
8282
8985
|
output: {
|
|
8283
8986
|
error: {
|
|
8284
|
-
code: "
|
|
8987
|
+
code: "upstream_error";
|
|
8285
8988
|
details?: readonly Response.error.Detail[] | undefined;
|
|
8286
8989
|
message: string;
|
|
8287
8990
|
};
|
|
8288
8991
|
requestId: string;
|
|
8289
8992
|
};
|
|
8290
8993
|
outputFormat: "json";
|
|
8291
|
-
status:
|
|
8994
|
+
status: 502;
|
|
8292
8995
|
input: {
|
|
8293
8996
|
param: {
|
|
8294
8997
|
id: string;
|
|
@@ -8297,14 +9000,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
8297
9000
|
} | {
|
|
8298
9001
|
output: {
|
|
8299
9002
|
error: {
|
|
8300
|
-
code: "
|
|
9003
|
+
code: "api_key_malformed";
|
|
8301
9004
|
details?: readonly Response.error.Detail[] | undefined;
|
|
8302
9005
|
message: string;
|
|
8303
9006
|
};
|
|
8304
9007
|
requestId: string;
|
|
8305
9008
|
};
|
|
8306
9009
|
outputFormat: "json";
|
|
8307
|
-
status:
|
|
9010
|
+
status: 400;
|
|
8308
9011
|
input: {
|
|
8309
9012
|
param: {
|
|
8310
9013
|
id: string;
|
|
@@ -8313,14 +9016,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
8313
9016
|
} | {
|
|
8314
9017
|
output: {
|
|
8315
9018
|
error: {
|
|
8316
|
-
code: "
|
|
9019
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
8317
9020
|
details?: readonly Response.error.Detail[] | undefined;
|
|
8318
9021
|
message: string;
|
|
8319
9022
|
};
|
|
8320
9023
|
requestId: string;
|
|
8321
9024
|
};
|
|
8322
9025
|
outputFormat: "json";
|
|
8323
|
-
status:
|
|
9026
|
+
status: 401;
|
|
8324
9027
|
input: {
|
|
8325
9028
|
param: {
|
|
8326
9029
|
id: string;
|
|
@@ -8329,14 +9032,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
8329
9032
|
} | {
|
|
8330
9033
|
output: {
|
|
8331
9034
|
error: {
|
|
8332
|
-
code: "
|
|
9035
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
8333
9036
|
details?: readonly Response.error.Detail[] | undefined;
|
|
8334
9037
|
message: string;
|
|
8335
9038
|
};
|
|
8336
9039
|
requestId: string;
|
|
8337
9040
|
};
|
|
8338
9041
|
outputFormat: "json";
|
|
8339
|
-
status:
|
|
9042
|
+
status: 403;
|
|
8340
9043
|
input: {
|
|
8341
9044
|
param: {
|
|
8342
9045
|
id: string;
|
|
@@ -8345,14 +9048,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
8345
9048
|
} | {
|
|
8346
9049
|
output: {
|
|
8347
9050
|
error: {
|
|
8348
|
-
code: "
|
|
9051
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
8349
9052
|
details?: readonly Response.error.Detail[] | undefined;
|
|
8350
9053
|
message: string;
|
|
8351
9054
|
};
|
|
8352
9055
|
requestId: string;
|
|
8353
9056
|
};
|
|
8354
9057
|
outputFormat: "json";
|
|
8355
|
-
status:
|
|
9058
|
+
status: 429;
|
|
8356
9059
|
input: {
|
|
8357
9060
|
param: {
|
|
8358
9061
|
id: string;
|