tapimo 0.10.2 → 0.11.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 +3412 -1968
- package/dist/App.d.ts.map +1 -1
- package/dist/App.js.map +1 -1
- package/dist/Webhooks.d.ts +0 -75
- package/dist/Webhooks.d.ts.map +1 -1
- package/dist/Webhooks.js +1 -143
- package/dist/Webhooks.js.map +1 -1
- package/dist/admin/App.d.ts +74 -74
- package/dist/admin/apps/api-keys.d.ts +4 -4
- package/dist/admin/apps/earn-vaults.d.ts +1 -1
- package/dist/admin/apps/organizations.d.ts +3 -3
- package/dist/admin/apps/verified-tokens.d.ts +74 -74
- package/dist/apps/data/App.d.ts +3618 -2954
- package/dist/apps/data/App.d.ts.map +1 -1
- package/dist/apps/data/App.js +5 -2
- package/dist/apps/data/App.js.map +1 -1
- package/dist/apps/data/routes/activities.d.ts +1 -1
- package/dist/apps/data/routes/activities.d.ts.map +1 -1
- package/dist/apps/data/routes/activities.js +55 -27
- package/dist/apps/data/routes/activities.js.map +1 -1
- package/dist/apps/data/routes/addresses.d.ts +343 -343
- package/dist/apps/data/routes/balances.d.ts +11 -11
- package/dist/apps/data/routes/blocks.d.ts +5 -5
- package/dist/apps/data/routes/coingecko.d.ts +176 -176
- package/dist/apps/data/routes/earn.d.ts +4 -4
- package/dist/apps/data/routes/exchanges.d.ts +4 -4
- package/dist/apps/data/routes/fee-amm.d.ts +26 -26
- package/dist/apps/data/routes/indexer.d.ts +34 -34
- package/dist/apps/data/routes/receipts.d.ts +236 -236
- package/dist/apps/data/routes/tokenlist.d.ts +12 -12
- package/dist/apps/data/routes/tokens.d.ts +3 -3
- package/dist/apps/data/routes/transactions.d.ts +1 -1
- package/dist/apps/data/routes/transfers.d.ts +13 -13
- package/dist/apps/data/routes/valuation.d.ts +21 -21
- package/dist/apps/data/routes/verified-tokens.d.ts +5 -5
- package/dist/apps/data/routes/webhooks.d.ts +1011 -151
- package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/data/routes/webhooks.js +124 -737
- package/dist/apps/data/routes/webhooks.js.map +1 -1
- package/dist/apps/data/routes/zones.d.ts +31 -31
- package/dist/apps/funding/routes/deposit-addresses.d.ts +2 -2
- package/dist/apps/funding/routes/providers.d.ts +13 -13
- package/dist/apps/funding/routes/transfers.d.ts +33 -33
- package/dist/apps/management/App.d.ts +793 -16
- package/dist/apps/management/App.d.ts.map +1 -1
- package/dist/apps/management/routes/api-keys.d.ts +50 -50
- package/dist/apps/management/routes/faucet.d.ts +31 -31
- package/dist/apps/management/routes/invite-links.d.ts +42 -42
- package/dist/apps/management/routes/members.d.ts +79 -79
- package/dist/apps/management/routes/projects.d.ts +40 -40
- package/dist/apps/management/routes/usage.d.ts +80 -80
- package/dist/apps/management/routes/webhooks.d.ts +1031 -59
- package/dist/apps/management/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/management/routes/webhooks.js +27 -4
- package/dist/apps/management/routes/webhooks.js.map +1 -1
- package/dist/db/Db.d.ts.map +1 -1
- package/dist/db/Db.js +21 -0
- package/dist/db/Db.js.map +1 -1
- package/dist/db/Schema.d.ts +7 -1
- package/dist/db/Schema.d.ts.map +1 -1
- package/dist/db/Schema.js +9 -0
- package/dist/db/Schema.js.map +1 -1
- package/dist/db/tables/webhookQueueEvents.d.ts +3 -1
- package/dist/db/tables/webhookQueueEvents.d.ts.map +1 -1
- package/dist/db/tables/webhookQueueEvents.js +4 -0
- package/dist/db/tables/webhookQueueEvents.js.map +1 -1
- package/dist/db/tables/webhookSubscriptions.d.ts +33 -69
- package/dist/db/tables/webhookSubscriptions.d.ts.map +1 -1
- package/dist/db/tables/webhookSubscriptions.js +63 -100
- package/dist/db/tables/webhookSubscriptions.js.map +1 -1
- package/dist/internal/MetricSink.d.ts +35 -125
- package/dist/internal/MetricSink.d.ts.map +1 -1
- package/dist/internal/MetricSink.js +50 -121
- package/dist/internal/MetricSink.js.map +1 -1
- package/dist/internal/Schema.d.ts +3 -1
- package/dist/internal/Schema.d.ts.map +1 -1
- package/dist/internal/Schema.js +4 -2
- package/dist/internal/Schema.js.map +1 -1
- package/dist/internal/WebhookTransfer.d.ts +1 -55
- package/dist/internal/WebhookTransfer.d.ts.map +1 -1
- package/dist/internal/WebhookTransfer.js +1 -239
- package/dist/internal/WebhookTransfer.js.map +1 -1
- package/dist/internal/Webhooks.d.ts +83 -44
- package/dist/internal/Webhooks.d.ts.map +1 -1
- package/dist/internal/Webhooks.js +87 -73
- package/dist/internal/Webhooks.js.map +1 -1
- package/dist/internal/funding/DepositWebhook.d.ts +25 -0
- package/dist/internal/funding/DepositWebhook.d.ts.map +1 -0
- package/dist/internal/funding/DepositWebhook.js +74 -0
- package/dist/internal/funding/DepositWebhook.js.map +1 -0
- package/dist/internal/funding/Reconciliation.d.ts +6 -0
- package/dist/internal/funding/Reconciliation.d.ts.map +1 -1
- package/dist/internal/funding/Reconciliation.js +42 -10
- package/dist/internal/funding/Reconciliation.js.map +1 -1
- package/dist/internal/funding/index.d.ts +1 -0
- package/dist/internal/funding/index.d.ts.map +1 -1
- package/dist/internal/funding/index.js +1 -0
- package/dist/internal/funding/index.js.map +1 -1
- package/dist/internal/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 +3 -0
- package/src/Client.test-d.ts +22 -1
- package/src/Webhooks.ts +1 -220
- package/src/apps/data/App.ts +8 -2
- package/src/apps/data/routes/activities.test.ts +107 -11
- package/src/apps/data/routes/activities.ts +64 -32
- package/src/apps/data/routes/webhooks.test.ts +179 -1497
- package/src/apps/data/routes/webhooks.ts +150 -974
- package/src/apps/management/routes/webhooks.test.ts +79 -1
- package/src/apps/management/routes/webhooks.ts +40 -4
- package/src/db/Db.test.ts +1 -5
- package/src/db/Db.ts +23 -0
- package/src/db/Schema.ts +13 -0
- package/src/db/tables/organizations.test.ts +5 -2
- package/src/db/tables/webhookQueueEvents.ts +7 -1
- package/src/db/tables/webhookSubscriptions.ts +89 -138
- package/src/internal/MetricSink.test.ts +41 -373
- package/src/internal/MetricSink.ts +92 -273
- package/src/internal/Schema.test.ts +18 -0
- package/src/internal/Schema.ts +13 -2
- package/src/internal/WebhookTransfer.ts +1 -351
- package/src/internal/Webhooks.test.ts +102 -139
- package/src/internal/Webhooks.ts +175 -106
- package/src/internal/funding/DepositWebhook.test.ts +131 -0
- package/src/internal/funding/DepositWebhook.ts +101 -0
- package/src/internal/funding/Reconciliation.test.ts +14 -0
- package/src/internal/funding/Reconciliation.ts +161 -86
- package/src/internal/funding/index.test.ts +1 -0
- package/src/internal/funding/index.ts +1 -0
- package/src/internal/webhookDestinations/slack.ts +15 -0
- package/src/Webhooks.bench.ts +0 -714
- package/src/Webhooks.memory.bench.ts +0 -250
- package/src/Webhooks.test.ts +0 -146
|
@@ -24,8 +24,13 @@ export declare namespace schema {
|
|
|
24
24
|
type: z.ZodMiniLiteral<"betterstack">;
|
|
25
25
|
url: z.ZodMiniURL;
|
|
26
26
|
}, z.core.$strip>], "type">;
|
|
27
|
+
environment: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
28
|
+
production: "production";
|
|
29
|
+
sandbox: "sandbox";
|
|
30
|
+
}>>;
|
|
27
31
|
eventType: z.ZodMiniEnum<{
|
|
28
32
|
"block:created": "block:created";
|
|
33
|
+
"funding:deposit.updated": "funding:deposit.updated";
|
|
29
34
|
"log:emitted": "log:emitted";
|
|
30
35
|
"token:transfer": "token:transfer";
|
|
31
36
|
"transaction:included": "transaction:included";
|
|
@@ -367,8 +372,47 @@ export declare namespace schema {
|
|
|
367
372
|
lte: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
368
373
|
}, z.core.$strict>]>>;
|
|
369
374
|
}, z.core.$strict>>;
|
|
375
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
376
|
+
chainId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
|
|
377
|
+
mainnet: "mainnet";
|
|
378
|
+
testnet: "testnet";
|
|
379
|
+
}>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniNumber<unknown>]>, z.ZodMiniNumber<number>>>;
|
|
380
|
+
context: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
381
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
382
|
+
metadata: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
|
|
383
|
+
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
384
|
+
}, z.core.$strip>>;
|
|
385
|
+
destination: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
|
|
386
|
+
type: z.ZodMiniLiteral<"url">;
|
|
387
|
+
url: z.ZodMiniURL;
|
|
388
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
389
|
+
type: z.ZodMiniLiteral<"slack">;
|
|
390
|
+
url: z.ZodMiniURL;
|
|
391
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
392
|
+
token: z.ZodMiniString<string>;
|
|
393
|
+
type: z.ZodMiniLiteral<"betterstack">;
|
|
394
|
+
url: z.ZodMiniURL;
|
|
395
|
+
}, z.core.$strip>], "type">;
|
|
396
|
+
eventType: z.ZodMiniLiteral<"funding:deposit.updated">;
|
|
397
|
+
filters: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
398
|
+
depositAddressId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
399
|
+
recipient: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
|
|
400
|
+
status: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
401
|
+
"action-required": "action-required";
|
|
402
|
+
bridging: "bridging";
|
|
403
|
+
completed: "completed";
|
|
404
|
+
detected: "detected";
|
|
405
|
+
refunded: "refunded";
|
|
406
|
+
refunding: "refunding";
|
|
407
|
+
settling: "settling";
|
|
408
|
+
}>>;
|
|
409
|
+
}, z.core.$strict>>;
|
|
370
410
|
}, z.core.$strip>], "eventType">, z.ZodMiniObject<{
|
|
371
411
|
chainId: z.ZodMiniNumber<number>;
|
|
412
|
+
environment: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
413
|
+
production: "production";
|
|
414
|
+
sandbox: "sandbox";
|
|
415
|
+
}>>;
|
|
372
416
|
}, z.core.$strip>>;
|
|
373
417
|
/** Created webhook with transport credentials redacted. */
|
|
374
418
|
const Response: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
@@ -379,8 +423,13 @@ export declare namespace schema {
|
|
|
379
423
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
380
424
|
}, z.core.$strip>>;
|
|
381
425
|
createdAt: z.ZodMiniISODateTime;
|
|
426
|
+
environment: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
427
|
+
production: "production";
|
|
428
|
+
sandbox: "sandbox";
|
|
429
|
+
}>>;
|
|
382
430
|
eventType: z.ZodMiniEnum<{
|
|
383
431
|
"block:created": "block:created";
|
|
432
|
+
"funding:deposit.updated": "funding:deposit.updated";
|
|
384
433
|
"log:emitted": "log:emitted";
|
|
385
434
|
"token:transfer": "token:transfer";
|
|
386
435
|
"transaction:included": "transaction:included";
|
|
@@ -409,8 +458,13 @@ export declare namespace schema {
|
|
|
409
458
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
410
459
|
}, z.core.$strip>>;
|
|
411
460
|
createdAt: z.ZodMiniISODateTime;
|
|
461
|
+
environment: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
462
|
+
production: "production";
|
|
463
|
+
sandbox: "sandbox";
|
|
464
|
+
}>>;
|
|
412
465
|
eventType: z.ZodMiniEnum<{
|
|
413
466
|
"block:created": "block:created";
|
|
467
|
+
"funding:deposit.updated": "funding:deposit.updated";
|
|
414
468
|
"log:emitted": "log:emitted";
|
|
415
469
|
"token:transfer": "token:transfer";
|
|
416
470
|
"transaction:included": "transaction:included";
|
|
@@ -438,8 +492,13 @@ export declare namespace schema {
|
|
|
438
492
|
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
439
493
|
}, z.core.$strip>>;
|
|
440
494
|
createdAt: z.ZodMiniISODateTime;
|
|
495
|
+
environment: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
496
|
+
production: "production";
|
|
497
|
+
sandbox: "sandbox";
|
|
498
|
+
}>>;
|
|
441
499
|
eventType: z.ZodMiniEnum<{
|
|
442
500
|
"block:created": "block:created";
|
|
501
|
+
"funding:deposit.updated": "funding:deposit.updated";
|
|
443
502
|
"log:emitted": "log:emitted";
|
|
444
503
|
"token:transfer": "token:transfer";
|
|
445
504
|
"transaction:included": "transaction:included";
|
|
@@ -482,7 +541,7 @@ export declare namespace schema {
|
|
|
482
541
|
include: z.ZodMiniPipe<z.ZodMiniPipe<z.ZodMiniOptional<z.ZodMiniUnknown>, z.ZodMiniTransform<string[], unknown>>, z.ZodMiniArray<z.ZodMiniEnum<{
|
|
483
542
|
totalCount: "totalCount";
|
|
484
543
|
}>>>;
|
|
485
|
-
limit: z.ZodMiniDefault<z.ZodMiniNumber<unknown
|
|
544
|
+
limit: z.ZodMiniDefault<z.ZodMiniPipe<z.ZodMiniNumber<unknown>, z.ZodMiniTransform<number, number>>>;
|
|
486
545
|
page: z.ZodMiniOptional<z.ZodMiniNumber<unknown>>;
|
|
487
546
|
}, z.core.$strip>;
|
|
488
547
|
const Response: z.ZodMiniObject<{
|
|
@@ -720,6 +779,137 @@ export declare namespace schema {
|
|
|
720
779
|
timestamp: z.ZodMiniISODateTime;
|
|
721
780
|
}, z.core.$strip>;
|
|
722
781
|
type: z.ZodMiniLiteral<"block:created">;
|
|
782
|
+
}, z.core.$strip>, z.ZodMiniObject<{
|
|
783
|
+
chainId: z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
|
|
784
|
+
mainnet: "mainnet";
|
|
785
|
+
testnet: "testnet";
|
|
786
|
+
}>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniNumber<unknown>]>, z.ZodMiniNumber<number>>;
|
|
787
|
+
context: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
788
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
789
|
+
metadata: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
|
|
790
|
+
title: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
791
|
+
}, z.core.$strip>>;
|
|
792
|
+
createdAt: z.ZodMiniISODateTime;
|
|
793
|
+
id: z.ZodMiniString<string>;
|
|
794
|
+
subscriptionId: z.ZodMiniString<string>;
|
|
795
|
+
data: z.ZodMiniObject<{
|
|
796
|
+
createdAt: z.ZodMiniString<string>;
|
|
797
|
+
depositAddressId: z.ZodMiniString<string>;
|
|
798
|
+
detectionTrigger: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
799
|
+
chain: "chain";
|
|
800
|
+
manual: "manual";
|
|
801
|
+
poll: "poll";
|
|
802
|
+
webhook: "webhook";
|
|
803
|
+
}>>;
|
|
804
|
+
destinationAmount: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
805
|
+
baseUnits: z.ZodMiniString<string>;
|
|
806
|
+
currency: z.ZodMiniString<string>;
|
|
807
|
+
decimals: z.ZodMiniNumber<number>;
|
|
808
|
+
formatted: z.ZodMiniString<string>;
|
|
809
|
+
}, z.core.$strip>>;
|
|
810
|
+
destinationAmountRequired: z.ZodMiniOptional<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
|
+
destinationChain: z.ZodMiniObject<{
|
|
817
|
+
addressFormat: z.ZodMiniEnum<{
|
|
818
|
+
base58: "base58";
|
|
819
|
+
base58check: "base58check";
|
|
820
|
+
hex: "hex";
|
|
821
|
+
}>;
|
|
822
|
+
id: z.ZodMiniString<string>;
|
|
823
|
+
kind: z.ZodMiniEnum<{
|
|
824
|
+
evm: "evm";
|
|
825
|
+
solana: "solana";
|
|
826
|
+
tron: "tron";
|
|
827
|
+
}>;
|
|
828
|
+
name: z.ZodMiniString<string>;
|
|
829
|
+
}, z.core.$strip>;
|
|
830
|
+
destinationToken: z.ZodMiniObject<{
|
|
831
|
+
address: z.ZodMiniString<string>;
|
|
832
|
+
currency: z.ZodMiniString<string>;
|
|
833
|
+
decimals: z.ZodMiniNumber<number>;
|
|
834
|
+
name: z.ZodMiniString<string>;
|
|
835
|
+
standard: z.ZodMiniString<string>;
|
|
836
|
+
symbol: z.ZodMiniString<string>;
|
|
837
|
+
tokenKey: z.ZodMiniString<string>;
|
|
838
|
+
verified: z.ZodMiniBoolean<boolean>;
|
|
839
|
+
}, z.core.$strip>;
|
|
840
|
+
destinationTransactionHashes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniString<string>>>>;
|
|
841
|
+
id: z.ZodMiniString<string>;
|
|
842
|
+
provider: z.ZodMiniObject<{
|
|
843
|
+
id: z.ZodMiniString<string>;
|
|
844
|
+
name: z.ZodMiniString<string>;
|
|
845
|
+
}, z.core.$strip>;
|
|
846
|
+
recipient: z.ZodMiniString<string>;
|
|
847
|
+
refundAddress: z.ZodMiniString<string>;
|
|
848
|
+
refundAmount: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
849
|
+
baseUnits: z.ZodMiniString<string>;
|
|
850
|
+
currency: z.ZodMiniString<string>;
|
|
851
|
+
decimals: z.ZodMiniNumber<number>;
|
|
852
|
+
formatted: z.ZodMiniString<string>;
|
|
853
|
+
}, z.core.$strip>>;
|
|
854
|
+
refundTransactionHashes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniString<string>>>>;
|
|
855
|
+
sender: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
856
|
+
sourceAmount: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
857
|
+
baseUnits: z.ZodMiniString<string>;
|
|
858
|
+
currency: z.ZodMiniString<string>;
|
|
859
|
+
decimals: z.ZodMiniNumber<number>;
|
|
860
|
+
formatted: z.ZodMiniString<string>;
|
|
861
|
+
}, z.core.$strip>>;
|
|
862
|
+
sourceChain: z.ZodMiniObject<{
|
|
863
|
+
addressFormat: z.ZodMiniEnum<{
|
|
864
|
+
base58: "base58";
|
|
865
|
+
base58check: "base58check";
|
|
866
|
+
hex: "hex";
|
|
867
|
+
}>;
|
|
868
|
+
id: z.ZodMiniString<string>;
|
|
869
|
+
kind: z.ZodMiniEnum<{
|
|
870
|
+
evm: "evm";
|
|
871
|
+
solana: "solana";
|
|
872
|
+
tron: "tron";
|
|
873
|
+
}>;
|
|
874
|
+
name: z.ZodMiniString<string>;
|
|
875
|
+
}, z.core.$strip>;
|
|
876
|
+
sourceToken: z.ZodMiniObject<{
|
|
877
|
+
address: z.ZodMiniString<string>;
|
|
878
|
+
currency: z.ZodMiniString<string>;
|
|
879
|
+
decimals: z.ZodMiniNumber<number>;
|
|
880
|
+
name: z.ZodMiniString<string>;
|
|
881
|
+
standard: z.ZodMiniString<string>;
|
|
882
|
+
symbol: z.ZodMiniString<string>;
|
|
883
|
+
tokenKey: z.ZodMiniString<string>;
|
|
884
|
+
verified: z.ZodMiniBoolean<boolean>;
|
|
885
|
+
}, z.core.$strip>;
|
|
886
|
+
sourceTransactionHashes: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
887
|
+
sourceTransferIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
888
|
+
status: z.ZodMiniEnum<{
|
|
889
|
+
"action-required": "action-required";
|
|
890
|
+
bridging: "bridging";
|
|
891
|
+
completed: "completed";
|
|
892
|
+
detected: "detected";
|
|
893
|
+
refunded: "refunded";
|
|
894
|
+
refunding: "refunding";
|
|
895
|
+
settling: "settling";
|
|
896
|
+
}>;
|
|
897
|
+
statusReason: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
898
|
+
code: z.ZodMiniEnum<{
|
|
899
|
+
delivery_failed: "delivery_failed";
|
|
900
|
+
delivery_liquidity_unavailable: "delivery_liquidity_unavailable";
|
|
901
|
+
manual_recovery_required: "manual_recovery_required";
|
|
902
|
+
refund_failed: "refund_failed";
|
|
903
|
+
source_amount_not_supported: "source_amount_not_supported";
|
|
904
|
+
source_token_mismatch: "source_token_mismatch";
|
|
905
|
+
subsidy_balance_unavailable: "subsidy_balance_unavailable";
|
|
906
|
+
subsidy_failed: "subsidy_failed";
|
|
907
|
+
}>;
|
|
908
|
+
message: z.ZodMiniString<string>;
|
|
909
|
+
}, z.core.$strip>>;
|
|
910
|
+
updatedAt: z.ZodMiniString<string>;
|
|
911
|
+
}, z.core.$strip>;
|
|
912
|
+
type: z.ZodMiniLiteral<"funding:deposit.updated">;
|
|
723
913
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
724
914
|
chainId: z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
|
|
725
915
|
mainnet: "mainnet";
|
|
@@ -776,8 +966,13 @@ export declare namespace schema {
|
|
|
776
966
|
type: z.ZodMiniLiteral<"betterstack">;
|
|
777
967
|
url: z.ZodMiniURL;
|
|
778
968
|
}, z.core.$strip>], "type">;
|
|
969
|
+
environment: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
970
|
+
production: "production";
|
|
971
|
+
sandbox: "sandbox";
|
|
972
|
+
}>>;
|
|
779
973
|
eventType: z.ZodMiniEnum<{
|
|
780
974
|
"block:created": "block:created";
|
|
975
|
+
"funding:deposit.updated": "funding:deposit.updated";
|
|
781
976
|
"log:emitted": "log:emitted";
|
|
782
977
|
"token:transfer": "token:transfer";
|
|
783
978
|
"transaction:included": "transaction:included";
|
|
@@ -814,7 +1009,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
814
1009
|
$post: {
|
|
815
1010
|
output: {
|
|
816
1011
|
error: {
|
|
817
|
-
code: "
|
|
1012
|
+
code: "api_key_malformed";
|
|
818
1013
|
details?: readonly Response.error.Detail[] | undefined;
|
|
819
1014
|
message: string;
|
|
820
1015
|
};
|
|
@@ -1137,21 +1332,46 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
1137
1332
|
lte?: `0x${string}` | undefined;
|
|
1138
1333
|
} | `0x${string}` | undefined;
|
|
1139
1334
|
} | undefined;
|
|
1335
|
+
} | {
|
|
1336
|
+
chainId?: unknown;
|
|
1337
|
+
context?: {
|
|
1338
|
+
description?: string | undefined;
|
|
1339
|
+
metadata?: Record<string, string> | undefined;
|
|
1340
|
+
title?: string | undefined;
|
|
1341
|
+
} | undefined;
|
|
1342
|
+
destination: {
|
|
1343
|
+
type: "url";
|
|
1344
|
+
url: string;
|
|
1345
|
+
} | {
|
|
1346
|
+
type: "slack";
|
|
1347
|
+
url: string;
|
|
1348
|
+
} | {
|
|
1349
|
+
token: string;
|
|
1350
|
+
type: "betterstack";
|
|
1351
|
+
url: string;
|
|
1352
|
+
};
|
|
1353
|
+
eventType: "funding:deposit.updated";
|
|
1354
|
+
filters?: {
|
|
1355
|
+
depositAddressId?: string | undefined;
|
|
1356
|
+
recipient?: `0x${string}` | undefined;
|
|
1357
|
+
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
1358
|
+
} | undefined;
|
|
1140
1359
|
}) & {
|
|
1141
1360
|
chainId: number;
|
|
1361
|
+
environment?: "production" | "sandbox" | undefined;
|
|
1142
1362
|
};
|
|
1143
1363
|
};
|
|
1144
1364
|
} | {
|
|
1145
1365
|
output: {
|
|
1146
1366
|
error: {
|
|
1147
|
-
code: "
|
|
1367
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1148
1368
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1149
1369
|
message: string;
|
|
1150
1370
|
};
|
|
1151
1371
|
requestId: string;
|
|
1152
1372
|
};
|
|
1153
1373
|
outputFormat: "json";
|
|
1154
|
-
status:
|
|
1374
|
+
status: 401;
|
|
1155
1375
|
input: {
|
|
1156
1376
|
param: {
|
|
1157
1377
|
orgId: string;
|
|
@@ -1467,21 +1687,46 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
1467
1687
|
lte?: `0x${string}` | undefined;
|
|
1468
1688
|
} | `0x${string}` | undefined;
|
|
1469
1689
|
} | undefined;
|
|
1690
|
+
} | {
|
|
1691
|
+
chainId?: unknown;
|
|
1692
|
+
context?: {
|
|
1693
|
+
description?: string | undefined;
|
|
1694
|
+
metadata?: Record<string, string> | undefined;
|
|
1695
|
+
title?: string | undefined;
|
|
1696
|
+
} | undefined;
|
|
1697
|
+
destination: {
|
|
1698
|
+
type: "url";
|
|
1699
|
+
url: string;
|
|
1700
|
+
} | {
|
|
1701
|
+
type: "slack";
|
|
1702
|
+
url: string;
|
|
1703
|
+
} | {
|
|
1704
|
+
token: string;
|
|
1705
|
+
type: "betterstack";
|
|
1706
|
+
url: string;
|
|
1707
|
+
};
|
|
1708
|
+
eventType: "funding:deposit.updated";
|
|
1709
|
+
filters?: {
|
|
1710
|
+
depositAddressId?: string | undefined;
|
|
1711
|
+
recipient?: `0x${string}` | undefined;
|
|
1712
|
+
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
1713
|
+
} | undefined;
|
|
1470
1714
|
}) & {
|
|
1471
1715
|
chainId: number;
|
|
1716
|
+
environment?: "production" | "sandbox" | undefined;
|
|
1472
1717
|
};
|
|
1473
1718
|
};
|
|
1474
1719
|
} | {
|
|
1475
1720
|
output: {
|
|
1476
1721
|
error: {
|
|
1477
|
-
code: "
|
|
1722
|
+
code: "upstream_error";
|
|
1478
1723
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1479
1724
|
message: string;
|
|
1480
1725
|
};
|
|
1481
1726
|
requestId: string;
|
|
1482
1727
|
};
|
|
1483
1728
|
outputFormat: "json";
|
|
1484
|
-
status:
|
|
1729
|
+
status: 502;
|
|
1485
1730
|
input: {
|
|
1486
1731
|
param: {
|
|
1487
1732
|
orgId: string;
|
|
@@ -1797,21 +2042,46 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
1797
2042
|
lte?: `0x${string}` | undefined;
|
|
1798
2043
|
} | `0x${string}` | undefined;
|
|
1799
2044
|
} | undefined;
|
|
2045
|
+
} | {
|
|
2046
|
+
chainId?: unknown;
|
|
2047
|
+
context?: {
|
|
2048
|
+
description?: string | undefined;
|
|
2049
|
+
metadata?: Record<string, string> | undefined;
|
|
2050
|
+
title?: string | undefined;
|
|
2051
|
+
} | undefined;
|
|
2052
|
+
destination: {
|
|
2053
|
+
type: "url";
|
|
2054
|
+
url: string;
|
|
2055
|
+
} | {
|
|
2056
|
+
type: "slack";
|
|
2057
|
+
url: string;
|
|
2058
|
+
} | {
|
|
2059
|
+
token: string;
|
|
2060
|
+
type: "betterstack";
|
|
2061
|
+
url: string;
|
|
2062
|
+
};
|
|
2063
|
+
eventType: "funding:deposit.updated";
|
|
2064
|
+
filters?: {
|
|
2065
|
+
depositAddressId?: string | undefined;
|
|
2066
|
+
recipient?: `0x${string}` | undefined;
|
|
2067
|
+
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
2068
|
+
} | undefined;
|
|
1800
2069
|
}) & {
|
|
1801
2070
|
chainId: number;
|
|
2071
|
+
environment?: "production" | "sandbox" | undefined;
|
|
1802
2072
|
};
|
|
1803
2073
|
};
|
|
1804
2074
|
} | {
|
|
1805
2075
|
output: {
|
|
1806
2076
|
error: {
|
|
1807
|
-
code: "
|
|
2077
|
+
code: "organization_not_found";
|
|
1808
2078
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1809
2079
|
message: string;
|
|
1810
2080
|
};
|
|
1811
2081
|
requestId: string;
|
|
1812
2082
|
};
|
|
1813
2083
|
outputFormat: "json";
|
|
1814
|
-
status:
|
|
2084
|
+
status: 404;
|
|
1815
2085
|
input: {
|
|
1816
2086
|
param: {
|
|
1817
2087
|
orgId: string;
|
|
@@ -2127,21 +2397,46 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2127
2397
|
lte?: `0x${string}` | undefined;
|
|
2128
2398
|
} | `0x${string}` | undefined;
|
|
2129
2399
|
} | undefined;
|
|
2400
|
+
} | {
|
|
2401
|
+
chainId?: unknown;
|
|
2402
|
+
context?: {
|
|
2403
|
+
description?: string | undefined;
|
|
2404
|
+
metadata?: Record<string, string> | undefined;
|
|
2405
|
+
title?: string | undefined;
|
|
2406
|
+
} | undefined;
|
|
2407
|
+
destination: {
|
|
2408
|
+
type: "url";
|
|
2409
|
+
url: string;
|
|
2410
|
+
} | {
|
|
2411
|
+
type: "slack";
|
|
2412
|
+
url: string;
|
|
2413
|
+
} | {
|
|
2414
|
+
token: string;
|
|
2415
|
+
type: "betterstack";
|
|
2416
|
+
url: string;
|
|
2417
|
+
};
|
|
2418
|
+
eventType: "funding:deposit.updated";
|
|
2419
|
+
filters?: {
|
|
2420
|
+
depositAddressId?: string | undefined;
|
|
2421
|
+
recipient?: `0x${string}` | undefined;
|
|
2422
|
+
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
2423
|
+
} | undefined;
|
|
2130
2424
|
}) & {
|
|
2131
2425
|
chainId: number;
|
|
2426
|
+
environment?: "production" | "sandbox" | undefined;
|
|
2132
2427
|
};
|
|
2133
2428
|
};
|
|
2134
2429
|
} | {
|
|
2135
2430
|
output: {
|
|
2136
2431
|
error: {
|
|
2137
|
-
code: "
|
|
2432
|
+
code: "forbidden";
|
|
2138
2433
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2139
2434
|
message: string;
|
|
2140
2435
|
};
|
|
2141
2436
|
requestId: string;
|
|
2142
2437
|
};
|
|
2143
2438
|
outputFormat: "json";
|
|
2144
|
-
status:
|
|
2439
|
+
status: 403;
|
|
2145
2440
|
input: {
|
|
2146
2441
|
param: {
|
|
2147
2442
|
orgId: string;
|
|
@@ -2457,21 +2752,46 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2457
2752
|
lte?: `0x${string}` | undefined;
|
|
2458
2753
|
} | `0x${string}` | undefined;
|
|
2459
2754
|
} | undefined;
|
|
2755
|
+
} | {
|
|
2756
|
+
chainId?: unknown;
|
|
2757
|
+
context?: {
|
|
2758
|
+
description?: string | undefined;
|
|
2759
|
+
metadata?: Record<string, string> | undefined;
|
|
2760
|
+
title?: string | undefined;
|
|
2761
|
+
} | undefined;
|
|
2762
|
+
destination: {
|
|
2763
|
+
type: "url";
|
|
2764
|
+
url: string;
|
|
2765
|
+
} | {
|
|
2766
|
+
type: "slack";
|
|
2767
|
+
url: string;
|
|
2768
|
+
} | {
|
|
2769
|
+
token: string;
|
|
2770
|
+
type: "betterstack";
|
|
2771
|
+
url: string;
|
|
2772
|
+
};
|
|
2773
|
+
eventType: "funding:deposit.updated";
|
|
2774
|
+
filters?: {
|
|
2775
|
+
depositAddressId?: string | undefined;
|
|
2776
|
+
recipient?: `0x${string}` | undefined;
|
|
2777
|
+
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
2778
|
+
} | undefined;
|
|
2460
2779
|
}) & {
|
|
2461
2780
|
chainId: number;
|
|
2781
|
+
environment?: "production" | "sandbox" | undefined;
|
|
2462
2782
|
};
|
|
2463
2783
|
};
|
|
2464
2784
|
} | {
|
|
2465
2785
|
output: {
|
|
2466
2786
|
error: {
|
|
2467
|
-
code: "
|
|
2787
|
+
code: "chain_id_unsupported";
|
|
2468
2788
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2469
2789
|
message: string;
|
|
2470
2790
|
};
|
|
2471
2791
|
requestId: string;
|
|
2472
2792
|
};
|
|
2473
2793
|
outputFormat: "json";
|
|
2474
|
-
status:
|
|
2794
|
+
status: 400;
|
|
2475
2795
|
input: {
|
|
2476
2796
|
param: {
|
|
2477
2797
|
orgId: string;
|
|
@@ -2787,8 +3107,33 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2787
3107
|
lte?: `0x${string}` | undefined;
|
|
2788
3108
|
} | `0x${string}` | undefined;
|
|
2789
3109
|
} | undefined;
|
|
3110
|
+
} | {
|
|
3111
|
+
chainId?: unknown;
|
|
3112
|
+
context?: {
|
|
3113
|
+
description?: string | undefined;
|
|
3114
|
+
metadata?: Record<string, string> | undefined;
|
|
3115
|
+
title?: string | undefined;
|
|
3116
|
+
} | undefined;
|
|
3117
|
+
destination: {
|
|
3118
|
+
type: "url";
|
|
3119
|
+
url: string;
|
|
3120
|
+
} | {
|
|
3121
|
+
type: "slack";
|
|
3122
|
+
url: string;
|
|
3123
|
+
} | {
|
|
3124
|
+
token: string;
|
|
3125
|
+
type: "betterstack";
|
|
3126
|
+
url: string;
|
|
3127
|
+
};
|
|
3128
|
+
eventType: "funding:deposit.updated";
|
|
3129
|
+
filters?: {
|
|
3130
|
+
depositAddressId?: string | undefined;
|
|
3131
|
+
recipient?: `0x${string}` | undefined;
|
|
3132
|
+
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
3133
|
+
} | undefined;
|
|
2790
3134
|
}) & {
|
|
2791
3135
|
chainId: number;
|
|
3136
|
+
environment?: "production" | "sandbox" | undefined;
|
|
2792
3137
|
};
|
|
2793
3138
|
};
|
|
2794
3139
|
} | {
|
|
@@ -3117,21 +3462,401 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3117
3462
|
lte?: `0x${string}` | undefined;
|
|
3118
3463
|
} | `0x${string}` | undefined;
|
|
3119
3464
|
} | undefined;
|
|
3465
|
+
} | {
|
|
3466
|
+
chainId?: unknown;
|
|
3467
|
+
context?: {
|
|
3468
|
+
description?: string | undefined;
|
|
3469
|
+
metadata?: Record<string, string> | undefined;
|
|
3470
|
+
title?: string | undefined;
|
|
3471
|
+
} | undefined;
|
|
3472
|
+
destination: {
|
|
3473
|
+
type: "url";
|
|
3474
|
+
url: string;
|
|
3475
|
+
} | {
|
|
3476
|
+
type: "slack";
|
|
3477
|
+
url: string;
|
|
3478
|
+
} | {
|
|
3479
|
+
token: string;
|
|
3480
|
+
type: "betterstack";
|
|
3481
|
+
url: string;
|
|
3482
|
+
};
|
|
3483
|
+
eventType: "funding:deposit.updated";
|
|
3484
|
+
filters?: {
|
|
3485
|
+
depositAddressId?: string | undefined;
|
|
3486
|
+
recipient?: `0x${string}` | undefined;
|
|
3487
|
+
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
3488
|
+
} | undefined;
|
|
3489
|
+
}) & {
|
|
3490
|
+
chainId: number;
|
|
3491
|
+
environment?: "production" | "sandbox" | undefined;
|
|
3492
|
+
};
|
|
3493
|
+
};
|
|
3494
|
+
} | {
|
|
3495
|
+
output: {
|
|
3496
|
+
error: {
|
|
3497
|
+
code: "body_invalid";
|
|
3498
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
3499
|
+
message: string;
|
|
3500
|
+
};
|
|
3501
|
+
requestId: string;
|
|
3502
|
+
};
|
|
3503
|
+
outputFormat: "json";
|
|
3504
|
+
status: 400;
|
|
3505
|
+
input: {
|
|
3506
|
+
param: {
|
|
3507
|
+
orgId: string;
|
|
3508
|
+
};
|
|
3509
|
+
} & {
|
|
3510
|
+
json: ({
|
|
3511
|
+
chainId?: unknown;
|
|
3512
|
+
context?: {
|
|
3513
|
+
description?: string | undefined;
|
|
3514
|
+
metadata?: Record<string, string> | undefined;
|
|
3515
|
+
title?: string | undefined;
|
|
3516
|
+
} | undefined;
|
|
3517
|
+
destination: {
|
|
3518
|
+
type: "url";
|
|
3519
|
+
url: string;
|
|
3520
|
+
} | {
|
|
3521
|
+
type: "slack";
|
|
3522
|
+
url: string;
|
|
3523
|
+
} | {
|
|
3524
|
+
token: string;
|
|
3525
|
+
type: "betterstack";
|
|
3526
|
+
url: string;
|
|
3527
|
+
};
|
|
3528
|
+
eventType: "token:transfer";
|
|
3529
|
+
filters?: {
|
|
3530
|
+
address?: `0x${string}` | undefined;
|
|
3531
|
+
recipient?: `0x${string}` | undefined;
|
|
3532
|
+
sender?: `0x${string}` | undefined;
|
|
3533
|
+
token?: `0x${string}` | undefined;
|
|
3534
|
+
} | undefined;
|
|
3535
|
+
} | {
|
|
3536
|
+
chainId?: unknown;
|
|
3537
|
+
context?: {
|
|
3538
|
+
description?: string | undefined;
|
|
3539
|
+
metadata?: Record<string, string> | undefined;
|
|
3540
|
+
title?: string | undefined;
|
|
3541
|
+
} | undefined;
|
|
3542
|
+
destination: {
|
|
3543
|
+
type: "url";
|
|
3544
|
+
url: string;
|
|
3545
|
+
} | {
|
|
3546
|
+
type: "slack";
|
|
3547
|
+
url: string;
|
|
3548
|
+
} | {
|
|
3549
|
+
token: string;
|
|
3550
|
+
type: "betterstack";
|
|
3551
|
+
url: string;
|
|
3552
|
+
};
|
|
3553
|
+
eventType: "transaction:included";
|
|
3554
|
+
filters?: {
|
|
3555
|
+
hash?: {
|
|
3556
|
+
eq: `0x${string}`;
|
|
3557
|
+
} | {
|
|
3558
|
+
in: `0x${string}`[];
|
|
3559
|
+
} | {
|
|
3560
|
+
not: `0x${string}`;
|
|
3561
|
+
} | `0x${string}` | undefined;
|
|
3562
|
+
address?: {
|
|
3563
|
+
eq: `0x${string}`;
|
|
3564
|
+
} | {
|
|
3565
|
+
in: `0x${string}`[];
|
|
3566
|
+
} | {
|
|
3567
|
+
not: `0x${string}`;
|
|
3568
|
+
} | `0x${string}` | undefined;
|
|
3569
|
+
from?: {
|
|
3570
|
+
eq: `0x${string}`;
|
|
3571
|
+
} | {
|
|
3572
|
+
in: `0x${string}`[];
|
|
3573
|
+
} | {
|
|
3574
|
+
not: `0x${string}`;
|
|
3575
|
+
} | `0x${string}` | undefined;
|
|
3576
|
+
to?: {
|
|
3577
|
+
eq: `0x${string}`;
|
|
3578
|
+
} | {
|
|
3579
|
+
in: `0x${string}`[];
|
|
3580
|
+
} | {
|
|
3581
|
+
not: `0x${string}`;
|
|
3582
|
+
} | `0x${string}` | undefined;
|
|
3583
|
+
includeCalls?: boolean | undefined;
|
|
3584
|
+
value?: {
|
|
3585
|
+
eq?: `0x${string}` | undefined;
|
|
3586
|
+
gt?: `0x${string}` | undefined;
|
|
3587
|
+
gte?: `0x${string}` | undefined;
|
|
3588
|
+
lt?: `0x${string}` | undefined;
|
|
3589
|
+
lte?: `0x${string}` | undefined;
|
|
3590
|
+
} | `0x${string}` | undefined;
|
|
3591
|
+
input?: {
|
|
3592
|
+
selector: string;
|
|
3593
|
+
} | {
|
|
3594
|
+
startsWith: string;
|
|
3595
|
+
} | {
|
|
3596
|
+
eq: string;
|
|
3597
|
+
} | undefined;
|
|
3598
|
+
calls?: {
|
|
3599
|
+
to: {
|
|
3600
|
+
eq: `0x${string}`;
|
|
3601
|
+
} | {
|
|
3602
|
+
in: `0x${string}`[];
|
|
3603
|
+
} | {
|
|
3604
|
+
not: `0x${string}`;
|
|
3605
|
+
} | `0x${string}`;
|
|
3606
|
+
} | undefined;
|
|
3607
|
+
callCount?: {
|
|
3608
|
+
eq?: `0x${string}` | undefined;
|
|
3609
|
+
gt?: `0x${string}` | undefined;
|
|
3610
|
+
gte?: `0x${string}` | undefined;
|
|
3611
|
+
lt?: `0x${string}` | undefined;
|
|
3612
|
+
lte?: `0x${string}` | undefined;
|
|
3613
|
+
} | `0x${string}` | undefined;
|
|
3614
|
+
txType?: string | {
|
|
3615
|
+
eq: string;
|
|
3616
|
+
} | {
|
|
3617
|
+
in: string[];
|
|
3618
|
+
} | {
|
|
3619
|
+
not: string;
|
|
3620
|
+
} | undefined;
|
|
3621
|
+
feeToken?: {
|
|
3622
|
+
eq: `0x${string}`;
|
|
3623
|
+
} | {
|
|
3624
|
+
in: `0x${string}`[];
|
|
3625
|
+
} | {
|
|
3626
|
+
not: `0x${string}`;
|
|
3627
|
+
} | `0x${string}` | undefined;
|
|
3628
|
+
gasLimit?: {
|
|
3629
|
+
eq?: `0x${string}` | undefined;
|
|
3630
|
+
gt?: `0x${string}` | undefined;
|
|
3631
|
+
gte?: `0x${string}` | undefined;
|
|
3632
|
+
lt?: `0x${string}` | undefined;
|
|
3633
|
+
lte?: `0x${string}` | undefined;
|
|
3634
|
+
} | `0x${string}` | undefined;
|
|
3635
|
+
maxFeePerGas?: {
|
|
3636
|
+
eq?: `0x${string}` | undefined;
|
|
3637
|
+
gt?: `0x${string}` | undefined;
|
|
3638
|
+
gte?: `0x${string}` | undefined;
|
|
3639
|
+
lt?: `0x${string}` | undefined;
|
|
3640
|
+
lte?: `0x${string}` | undefined;
|
|
3641
|
+
} | `0x${string}` | undefined;
|
|
3642
|
+
maxPriorityFeePerGas?: {
|
|
3643
|
+
eq?: `0x${string}` | undefined;
|
|
3644
|
+
gt?: `0x${string}` | undefined;
|
|
3645
|
+
gte?: `0x${string}` | undefined;
|
|
3646
|
+
lt?: `0x${string}` | undefined;
|
|
3647
|
+
lte?: `0x${string}` | undefined;
|
|
3648
|
+
} | `0x${string}` | undefined;
|
|
3649
|
+
nonce?: {
|
|
3650
|
+
eq?: `0x${string}` | undefined;
|
|
3651
|
+
gt?: `0x${string}` | undefined;
|
|
3652
|
+
gte?: `0x${string}` | undefined;
|
|
3653
|
+
lt?: `0x${string}` | undefined;
|
|
3654
|
+
lte?: `0x${string}` | undefined;
|
|
3655
|
+
} | `0x${string}` | undefined;
|
|
3656
|
+
nonceKey?: string | {
|
|
3657
|
+
eq: string;
|
|
3658
|
+
} | {
|
|
3659
|
+
in: string[];
|
|
3660
|
+
} | {
|
|
3661
|
+
not: string;
|
|
3662
|
+
} | undefined;
|
|
3663
|
+
validBefore?: {
|
|
3664
|
+
eq?: `0x${string}` | undefined;
|
|
3665
|
+
gt?: `0x${string}` | undefined;
|
|
3666
|
+
gte?: `0x${string}` | undefined;
|
|
3667
|
+
lt?: `0x${string}` | undefined;
|
|
3668
|
+
lte?: `0x${string}` | undefined;
|
|
3669
|
+
} | `0x${string}` | undefined;
|
|
3670
|
+
validAfter?: {
|
|
3671
|
+
eq?: `0x${string}` | undefined;
|
|
3672
|
+
gt?: `0x${string}` | undefined;
|
|
3673
|
+
gte?: `0x${string}` | undefined;
|
|
3674
|
+
lt?: `0x${string}` | undefined;
|
|
3675
|
+
lte?: `0x${string}` | undefined;
|
|
3676
|
+
} | `0x${string}` | undefined;
|
|
3677
|
+
blockNumber?: {
|
|
3678
|
+
eq?: `0x${string}` | undefined;
|
|
3679
|
+
gt?: `0x${string}` | undefined;
|
|
3680
|
+
gte?: `0x${string}` | undefined;
|
|
3681
|
+
lt?: `0x${string}` | undefined;
|
|
3682
|
+
lte?: `0x${string}` | undefined;
|
|
3683
|
+
} | `0x${string}` | undefined;
|
|
3684
|
+
timestamp?: {
|
|
3685
|
+
eq?: `0x${string}` | undefined;
|
|
3686
|
+
gt?: `0x${string}` | undefined;
|
|
3687
|
+
gte?: `0x${string}` | undefined;
|
|
3688
|
+
lt?: `0x${string}` | undefined;
|
|
3689
|
+
lte?: `0x${string}` | undefined;
|
|
3690
|
+
} | `0x${string}` | undefined;
|
|
3691
|
+
} | undefined;
|
|
3692
|
+
} | {
|
|
3693
|
+
chainId?: unknown;
|
|
3694
|
+
context?: {
|
|
3695
|
+
description?: string | undefined;
|
|
3696
|
+
metadata?: Record<string, string> | undefined;
|
|
3697
|
+
title?: string | undefined;
|
|
3698
|
+
} | undefined;
|
|
3699
|
+
destination: {
|
|
3700
|
+
type: "url";
|
|
3701
|
+
url: string;
|
|
3702
|
+
} | {
|
|
3703
|
+
type: "slack";
|
|
3704
|
+
url: string;
|
|
3705
|
+
} | {
|
|
3706
|
+
token: string;
|
|
3707
|
+
type: "betterstack";
|
|
3708
|
+
url: string;
|
|
3709
|
+
};
|
|
3710
|
+
eventType: "log:emitted";
|
|
3711
|
+
filters: {
|
|
3712
|
+
address?: {
|
|
3713
|
+
eq: `0x${string}`;
|
|
3714
|
+
} | {
|
|
3715
|
+
in: `0x${string}`[];
|
|
3716
|
+
} | {
|
|
3717
|
+
not: `0x${string}`;
|
|
3718
|
+
} | `0x${string}` | undefined;
|
|
3719
|
+
signature?: string | undefined;
|
|
3720
|
+
topic0?: {
|
|
3721
|
+
eq: `0x${string}`;
|
|
3722
|
+
} | {
|
|
3723
|
+
in: `0x${string}`[];
|
|
3724
|
+
} | {
|
|
3725
|
+
not: `0x${string}`;
|
|
3726
|
+
} | `0x${string}` | undefined;
|
|
3727
|
+
topic1?: {
|
|
3728
|
+
eq: `0x${string}`;
|
|
3729
|
+
} | {
|
|
3730
|
+
in: `0x${string}`[];
|
|
3731
|
+
} | {
|
|
3732
|
+
not: `0x${string}`;
|
|
3733
|
+
} | `0x${string}` | undefined;
|
|
3734
|
+
topic2?: {
|
|
3735
|
+
eq: `0x${string}`;
|
|
3736
|
+
} | {
|
|
3737
|
+
in: `0x${string}`[];
|
|
3738
|
+
} | {
|
|
3739
|
+
not: `0x${string}`;
|
|
3740
|
+
} | `0x${string}` | undefined;
|
|
3741
|
+
topic3?: {
|
|
3742
|
+
eq: `0x${string}`;
|
|
3743
|
+
} | {
|
|
3744
|
+
in: `0x${string}`[];
|
|
3745
|
+
} | {
|
|
3746
|
+
not: `0x${string}`;
|
|
3747
|
+
} | `0x${string}` | undefined;
|
|
3748
|
+
args?: Record<string, unknown> | undefined;
|
|
3749
|
+
blockNumber?: {
|
|
3750
|
+
eq?: `0x${string}` | undefined;
|
|
3751
|
+
gt?: `0x${string}` | undefined;
|
|
3752
|
+
gte?: `0x${string}` | undefined;
|
|
3753
|
+
lt?: `0x${string}` | undefined;
|
|
3754
|
+
lte?: `0x${string}` | undefined;
|
|
3755
|
+
} | `0x${string}` | undefined;
|
|
3756
|
+
};
|
|
3757
|
+
} | {
|
|
3758
|
+
chainId?: unknown;
|
|
3759
|
+
context?: {
|
|
3760
|
+
description?: string | undefined;
|
|
3761
|
+
metadata?: Record<string, string> | undefined;
|
|
3762
|
+
title?: string | undefined;
|
|
3763
|
+
} | undefined;
|
|
3764
|
+
destination: {
|
|
3765
|
+
type: "url";
|
|
3766
|
+
url: string;
|
|
3767
|
+
} | {
|
|
3768
|
+
type: "slack";
|
|
3769
|
+
url: string;
|
|
3770
|
+
} | {
|
|
3771
|
+
token: string;
|
|
3772
|
+
type: "betterstack";
|
|
3773
|
+
url: string;
|
|
3774
|
+
};
|
|
3775
|
+
eventType: "block:created";
|
|
3776
|
+
filters?: {
|
|
3777
|
+
number?: {
|
|
3778
|
+
eq?: `0x${string}` | undefined;
|
|
3779
|
+
gt?: `0x${string}` | undefined;
|
|
3780
|
+
gte?: `0x${string}` | undefined;
|
|
3781
|
+
lt?: `0x${string}` | undefined;
|
|
3782
|
+
lte?: `0x${string}` | undefined;
|
|
3783
|
+
} | `0x${string}` | undefined;
|
|
3784
|
+
miner?: {
|
|
3785
|
+
eq: `0x${string}`;
|
|
3786
|
+
} | {
|
|
3787
|
+
in: `0x${string}`[];
|
|
3788
|
+
} | {
|
|
3789
|
+
not: `0x${string}`;
|
|
3790
|
+
} | `0x${string}` | undefined;
|
|
3791
|
+
proposer?: {
|
|
3792
|
+
eq: `0x${string}`;
|
|
3793
|
+
} | {
|
|
3794
|
+
in: `0x${string}`[];
|
|
3795
|
+
} | {
|
|
3796
|
+
not: `0x${string}`;
|
|
3797
|
+
} | `0x${string}` | undefined;
|
|
3798
|
+
gasUsed?: {
|
|
3799
|
+
eq?: `0x${string}` | undefined;
|
|
3800
|
+
gt?: `0x${string}` | undefined;
|
|
3801
|
+
gte?: `0x${string}` | undefined;
|
|
3802
|
+
lt?: `0x${string}` | undefined;
|
|
3803
|
+
lte?: `0x${string}` | undefined;
|
|
3804
|
+
} | `0x${string}` | undefined;
|
|
3805
|
+
gasLimit?: {
|
|
3806
|
+
eq?: `0x${string}` | undefined;
|
|
3807
|
+
gt?: `0x${string}` | undefined;
|
|
3808
|
+
gte?: `0x${string}` | undefined;
|
|
3809
|
+
lt?: `0x${string}` | undefined;
|
|
3810
|
+
lte?: `0x${string}` | undefined;
|
|
3811
|
+
} | `0x${string}` | undefined;
|
|
3812
|
+
timestamp?: {
|
|
3813
|
+
eq?: `0x${string}` | undefined;
|
|
3814
|
+
gt?: `0x${string}` | undefined;
|
|
3815
|
+
gte?: `0x${string}` | undefined;
|
|
3816
|
+
lt?: `0x${string}` | undefined;
|
|
3817
|
+
lte?: `0x${string}` | undefined;
|
|
3818
|
+
} | `0x${string}` | undefined;
|
|
3819
|
+
} | undefined;
|
|
3820
|
+
} | {
|
|
3821
|
+
chainId?: unknown;
|
|
3822
|
+
context?: {
|
|
3823
|
+
description?: string | undefined;
|
|
3824
|
+
metadata?: Record<string, string> | undefined;
|
|
3825
|
+
title?: string | undefined;
|
|
3826
|
+
} | undefined;
|
|
3827
|
+
destination: {
|
|
3828
|
+
type: "url";
|
|
3829
|
+
url: string;
|
|
3830
|
+
} | {
|
|
3831
|
+
type: "slack";
|
|
3832
|
+
url: string;
|
|
3833
|
+
} | {
|
|
3834
|
+
token: string;
|
|
3835
|
+
type: "betterstack";
|
|
3836
|
+
url: string;
|
|
3837
|
+
};
|
|
3838
|
+
eventType: "funding:deposit.updated";
|
|
3839
|
+
filters?: {
|
|
3840
|
+
depositAddressId?: string | undefined;
|
|
3841
|
+
recipient?: `0x${string}` | undefined;
|
|
3842
|
+
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
3843
|
+
} | undefined;
|
|
3120
3844
|
}) & {
|
|
3121
3845
|
chainId: number;
|
|
3846
|
+
environment?: "production" | "sandbox" | undefined;
|
|
3122
3847
|
};
|
|
3123
3848
|
};
|
|
3124
3849
|
} | {
|
|
3125
3850
|
output: {
|
|
3126
3851
|
error: {
|
|
3127
|
-
code: "
|
|
3852
|
+
code: "webhooks_not_enabled";
|
|
3128
3853
|
details?: readonly Response.error.Detail[] | undefined;
|
|
3129
3854
|
message: string;
|
|
3130
3855
|
};
|
|
3131
3856
|
requestId: string;
|
|
3132
3857
|
};
|
|
3133
3858
|
outputFormat: "json";
|
|
3134
|
-
status:
|
|
3859
|
+
status: 404;
|
|
3135
3860
|
input: {
|
|
3136
3861
|
param: {
|
|
3137
3862
|
orgId: string;
|
|
@@ -3447,21 +4172,46 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3447
4172
|
lte?: `0x${string}` | undefined;
|
|
3448
4173
|
} | `0x${string}` | undefined;
|
|
3449
4174
|
} | undefined;
|
|
4175
|
+
} | {
|
|
4176
|
+
chainId?: unknown;
|
|
4177
|
+
context?: {
|
|
4178
|
+
description?: string | undefined;
|
|
4179
|
+
metadata?: Record<string, string> | undefined;
|
|
4180
|
+
title?: string | undefined;
|
|
4181
|
+
} | undefined;
|
|
4182
|
+
destination: {
|
|
4183
|
+
type: "url";
|
|
4184
|
+
url: string;
|
|
4185
|
+
} | {
|
|
4186
|
+
type: "slack";
|
|
4187
|
+
url: string;
|
|
4188
|
+
} | {
|
|
4189
|
+
token: string;
|
|
4190
|
+
type: "betterstack";
|
|
4191
|
+
url: string;
|
|
4192
|
+
};
|
|
4193
|
+
eventType: "funding:deposit.updated";
|
|
4194
|
+
filters?: {
|
|
4195
|
+
depositAddressId?: string | undefined;
|
|
4196
|
+
recipient?: `0x${string}` | undefined;
|
|
4197
|
+
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
4198
|
+
} | undefined;
|
|
3450
4199
|
}) & {
|
|
3451
4200
|
chainId: number;
|
|
4201
|
+
environment?: "production" | "sandbox" | undefined;
|
|
3452
4202
|
};
|
|
3453
4203
|
};
|
|
3454
4204
|
} | {
|
|
3455
4205
|
output: {
|
|
3456
4206
|
error: {
|
|
3457
|
-
code: "
|
|
4207
|
+
code: "event_type_unsupported";
|
|
3458
4208
|
details?: readonly Response.error.Detail[] | undefined;
|
|
3459
4209
|
message: string;
|
|
3460
4210
|
};
|
|
3461
4211
|
requestId: string;
|
|
3462
4212
|
};
|
|
3463
4213
|
outputFormat: "json";
|
|
3464
|
-
status:
|
|
4214
|
+
status: 400;
|
|
3465
4215
|
input: {
|
|
3466
4216
|
param: {
|
|
3467
4217
|
orgId: string;
|
|
@@ -3777,8 +4527,33 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3777
4527
|
lte?: `0x${string}` | undefined;
|
|
3778
4528
|
} | `0x${string}` | undefined;
|
|
3779
4529
|
} | undefined;
|
|
4530
|
+
} | {
|
|
4531
|
+
chainId?: unknown;
|
|
4532
|
+
context?: {
|
|
4533
|
+
description?: string | undefined;
|
|
4534
|
+
metadata?: Record<string, string> | undefined;
|
|
4535
|
+
title?: string | undefined;
|
|
4536
|
+
} | undefined;
|
|
4537
|
+
destination: {
|
|
4538
|
+
type: "url";
|
|
4539
|
+
url: string;
|
|
4540
|
+
} | {
|
|
4541
|
+
type: "slack";
|
|
4542
|
+
url: string;
|
|
4543
|
+
} | {
|
|
4544
|
+
token: string;
|
|
4545
|
+
type: "betterstack";
|
|
4546
|
+
url: string;
|
|
4547
|
+
};
|
|
4548
|
+
eventType: "funding:deposit.updated";
|
|
4549
|
+
filters?: {
|
|
4550
|
+
depositAddressId?: string | undefined;
|
|
4551
|
+
recipient?: `0x${string}` | undefined;
|
|
4552
|
+
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
4553
|
+
} | undefined;
|
|
3780
4554
|
}) & {
|
|
3781
4555
|
chainId: number;
|
|
4556
|
+
environment?: "production" | "sandbox" | undefined;
|
|
3782
4557
|
};
|
|
3783
4558
|
};
|
|
3784
4559
|
} | {
|
|
@@ -4107,8 +4882,33 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4107
4882
|
lte?: `0x${string}` | undefined;
|
|
4108
4883
|
} | `0x${string}` | undefined;
|
|
4109
4884
|
} | undefined;
|
|
4885
|
+
} | {
|
|
4886
|
+
chainId?: unknown;
|
|
4887
|
+
context?: {
|
|
4888
|
+
description?: string | undefined;
|
|
4889
|
+
metadata?: Record<string, string> | undefined;
|
|
4890
|
+
title?: string | undefined;
|
|
4891
|
+
} | undefined;
|
|
4892
|
+
destination: {
|
|
4893
|
+
type: "url";
|
|
4894
|
+
url: string;
|
|
4895
|
+
} | {
|
|
4896
|
+
type: "slack";
|
|
4897
|
+
url: string;
|
|
4898
|
+
} | {
|
|
4899
|
+
token: string;
|
|
4900
|
+
type: "betterstack";
|
|
4901
|
+
url: string;
|
|
4902
|
+
};
|
|
4903
|
+
eventType: "funding:deposit.updated";
|
|
4904
|
+
filters?: {
|
|
4905
|
+
depositAddressId?: string | undefined;
|
|
4906
|
+
recipient?: `0x${string}` | undefined;
|
|
4907
|
+
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
4908
|
+
} | undefined;
|
|
4110
4909
|
}) & {
|
|
4111
4910
|
chainId: number;
|
|
4911
|
+
environment?: "production" | "sandbox" | undefined;
|
|
4112
4912
|
};
|
|
4113
4913
|
};
|
|
4114
4914
|
} | {
|
|
@@ -4437,8 +5237,33 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4437
5237
|
lte?: `0x${string}` | undefined;
|
|
4438
5238
|
} | `0x${string}` | undefined;
|
|
4439
5239
|
} | undefined;
|
|
5240
|
+
} | {
|
|
5241
|
+
chainId?: unknown;
|
|
5242
|
+
context?: {
|
|
5243
|
+
description?: string | undefined;
|
|
5244
|
+
metadata?: Record<string, string> | undefined;
|
|
5245
|
+
title?: string | undefined;
|
|
5246
|
+
} | undefined;
|
|
5247
|
+
destination: {
|
|
5248
|
+
type: "url";
|
|
5249
|
+
url: string;
|
|
5250
|
+
} | {
|
|
5251
|
+
type: "slack";
|
|
5252
|
+
url: string;
|
|
5253
|
+
} | {
|
|
5254
|
+
token: string;
|
|
5255
|
+
type: "betterstack";
|
|
5256
|
+
url: string;
|
|
5257
|
+
};
|
|
5258
|
+
eventType: "funding:deposit.updated";
|
|
5259
|
+
filters?: {
|
|
5260
|
+
depositAddressId?: string | undefined;
|
|
5261
|
+
recipient?: `0x${string}` | undefined;
|
|
5262
|
+
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
5263
|
+
} | undefined;
|
|
4440
5264
|
}) & {
|
|
4441
5265
|
chainId: number;
|
|
5266
|
+
environment?: "production" | "sandbox" | undefined;
|
|
4442
5267
|
};
|
|
4443
5268
|
};
|
|
4444
5269
|
} | {
|
|
@@ -4767,8 +5592,33 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4767
5592
|
lte?: `0x${string}` | undefined;
|
|
4768
5593
|
} | `0x${string}` | undefined;
|
|
4769
5594
|
} | undefined;
|
|
5595
|
+
} | {
|
|
5596
|
+
chainId?: unknown;
|
|
5597
|
+
context?: {
|
|
5598
|
+
description?: string | undefined;
|
|
5599
|
+
metadata?: Record<string, string> | undefined;
|
|
5600
|
+
title?: string | undefined;
|
|
5601
|
+
} | undefined;
|
|
5602
|
+
destination: {
|
|
5603
|
+
type: "url";
|
|
5604
|
+
url: string;
|
|
5605
|
+
} | {
|
|
5606
|
+
type: "slack";
|
|
5607
|
+
url: string;
|
|
5608
|
+
} | {
|
|
5609
|
+
token: string;
|
|
5610
|
+
type: "betterstack";
|
|
5611
|
+
url: string;
|
|
5612
|
+
};
|
|
5613
|
+
eventType: "funding:deposit.updated";
|
|
5614
|
+
filters?: {
|
|
5615
|
+
depositAddressId?: string | undefined;
|
|
5616
|
+
recipient?: `0x${string}` | undefined;
|
|
5617
|
+
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
5618
|
+
} | undefined;
|
|
4770
5619
|
}) & {
|
|
4771
5620
|
chainId: number;
|
|
5621
|
+
environment?: "production" | "sandbox" | undefined;
|
|
4772
5622
|
};
|
|
4773
5623
|
};
|
|
4774
5624
|
} | {
|
|
@@ -4782,7 +5632,8 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4782
5632
|
title?: string | undefined;
|
|
4783
5633
|
} | undefined;
|
|
4784
5634
|
createdAt: string;
|
|
4785
|
-
|
|
5635
|
+
environment?: "production" | "sandbox" | undefined;
|
|
5636
|
+
eventType: "block:created" | "funding:deposit.updated" | "log:emitted" | "token:transfer" | "transaction:included";
|
|
4786
5637
|
expiresAt?: string | undefined;
|
|
4787
5638
|
failureCount: number;
|
|
4788
5639
|
filters: {
|
|
@@ -4807,7 +5658,8 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4807
5658
|
title?: string | undefined;
|
|
4808
5659
|
} | undefined;
|
|
4809
5660
|
createdAt: string;
|
|
4810
|
-
|
|
5661
|
+
environment?: "production" | "sandbox" | undefined;
|
|
5662
|
+
eventType: "block:created" | "funding:deposit.updated" | "log:emitted" | "token:transfer" | "transaction:included";
|
|
4811
5663
|
expiresAt?: string | undefined;
|
|
4812
5664
|
failureCount: number;
|
|
4813
5665
|
filters: {
|
|
@@ -4831,7 +5683,8 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4831
5683
|
title?: string | undefined;
|
|
4832
5684
|
} | undefined;
|
|
4833
5685
|
createdAt: string;
|
|
4834
|
-
|
|
5686
|
+
environment?: "production" | "sandbox" | undefined;
|
|
5687
|
+
eventType: "block:created" | "funding:deposit.updated" | "log:emitted" | "token:transfer" | "transaction:included";
|
|
4835
5688
|
expiresAt?: string | undefined;
|
|
4836
5689
|
failureCount: number;
|
|
4837
5690
|
filters: {
|
|
@@ -5164,8 +6017,33 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5164
6017
|
lte?: `0x${string}` | undefined;
|
|
5165
6018
|
} | `0x${string}` | undefined;
|
|
5166
6019
|
} | undefined;
|
|
6020
|
+
} | {
|
|
6021
|
+
chainId?: unknown;
|
|
6022
|
+
context?: {
|
|
6023
|
+
description?: string | undefined;
|
|
6024
|
+
metadata?: Record<string, string> | undefined;
|
|
6025
|
+
title?: string | undefined;
|
|
6026
|
+
} | undefined;
|
|
6027
|
+
destination: {
|
|
6028
|
+
type: "url";
|
|
6029
|
+
url: string;
|
|
6030
|
+
} | {
|
|
6031
|
+
type: "slack";
|
|
6032
|
+
url: string;
|
|
6033
|
+
} | {
|
|
6034
|
+
token: string;
|
|
6035
|
+
type: "betterstack";
|
|
6036
|
+
url: string;
|
|
6037
|
+
};
|
|
6038
|
+
eventType: "funding:deposit.updated";
|
|
6039
|
+
filters?: {
|
|
6040
|
+
depositAddressId?: string | undefined;
|
|
6041
|
+
recipient?: `0x${string}` | undefined;
|
|
6042
|
+
status?: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling" | undefined;
|
|
6043
|
+
} | undefined;
|
|
5167
6044
|
}) & {
|
|
5168
6045
|
chainId: number;
|
|
6046
|
+
environment?: "production" | "sandbox" | undefined;
|
|
5169
6047
|
};
|
|
5170
6048
|
};
|
|
5171
6049
|
};
|
|
@@ -5175,14 +6053,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5175
6053
|
$get: {
|
|
5176
6054
|
output: {
|
|
5177
6055
|
error: {
|
|
5178
|
-
code: "
|
|
6056
|
+
code: "api_key_malformed";
|
|
5179
6057
|
details?: readonly Response.error.Detail[] | undefined;
|
|
5180
6058
|
message: string;
|
|
5181
6059
|
};
|
|
5182
6060
|
requestId: string;
|
|
5183
6061
|
};
|
|
5184
6062
|
outputFormat: "json";
|
|
5185
|
-
status:
|
|
6063
|
+
status: 400;
|
|
5186
6064
|
input: {
|
|
5187
6065
|
param: {
|
|
5188
6066
|
orgId: string;
|
|
@@ -5191,14 +6069,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5191
6069
|
} | {
|
|
5192
6070
|
output: {
|
|
5193
6071
|
error: {
|
|
5194
|
-
code: "
|
|
6072
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
5195
6073
|
details?: readonly Response.error.Detail[] | undefined;
|
|
5196
6074
|
message: string;
|
|
5197
6075
|
};
|
|
5198
6076
|
requestId: string;
|
|
5199
6077
|
};
|
|
5200
6078
|
outputFormat: "json";
|
|
5201
|
-
status:
|
|
6079
|
+
status: 401;
|
|
5202
6080
|
input: {
|
|
5203
6081
|
param: {
|
|
5204
6082
|
orgId: string;
|
|
@@ -5207,14 +6085,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5207
6085
|
} | {
|
|
5208
6086
|
output: {
|
|
5209
6087
|
error: {
|
|
5210
|
-
code: "
|
|
6088
|
+
code: "upstream_error";
|
|
5211
6089
|
details?: readonly Response.error.Detail[] | undefined;
|
|
5212
6090
|
message: string;
|
|
5213
6091
|
};
|
|
5214
6092
|
requestId: string;
|
|
5215
6093
|
};
|
|
5216
6094
|
outputFormat: "json";
|
|
5217
|
-
status:
|
|
6095
|
+
status: 502;
|
|
5218
6096
|
input: {
|
|
5219
6097
|
param: {
|
|
5220
6098
|
orgId: string;
|
|
@@ -5307,7 +6185,8 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5307
6185
|
type: "betterstack";
|
|
5308
6186
|
url: string;
|
|
5309
6187
|
};
|
|
5310
|
-
|
|
6188
|
+
environment?: "production" | "sandbox" | undefined;
|
|
6189
|
+
eventType: "block:created" | "funding:deposit.updated" | "log:emitted" | "token:transfer" | "transaction:included";
|
|
5311
6190
|
expiresAt?: string | undefined;
|
|
5312
6191
|
failureCount: number;
|
|
5313
6192
|
filters: {
|
|
@@ -5333,14 +6212,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5333
6212
|
$get: {
|
|
5334
6213
|
output: {
|
|
5335
6214
|
error: {
|
|
5336
|
-
code: "
|
|
6215
|
+
code: "api_key_malformed";
|
|
5337
6216
|
details?: readonly Response.error.Detail[] | undefined;
|
|
5338
6217
|
message: string;
|
|
5339
6218
|
};
|
|
5340
6219
|
requestId: string;
|
|
5341
6220
|
};
|
|
5342
6221
|
outputFormat: "json";
|
|
5343
|
-
status:
|
|
6222
|
+
status: 400;
|
|
5344
6223
|
input: {
|
|
5345
6224
|
param: {
|
|
5346
6225
|
id: string;
|
|
@@ -5357,14 +6236,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5357
6236
|
} | {
|
|
5358
6237
|
output: {
|
|
5359
6238
|
error: {
|
|
5360
|
-
code: "
|
|
6239
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
5361
6240
|
details?: readonly Response.error.Detail[] | undefined;
|
|
5362
6241
|
message: string;
|
|
5363
6242
|
};
|
|
5364
6243
|
requestId: string;
|
|
5365
6244
|
};
|
|
5366
6245
|
outputFormat: "json";
|
|
5367
|
-
status:
|
|
6246
|
+
status: 401;
|
|
5368
6247
|
input: {
|
|
5369
6248
|
param: {
|
|
5370
6249
|
id: string;
|
|
@@ -5381,14 +6260,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5381
6260
|
} | {
|
|
5382
6261
|
output: {
|
|
5383
6262
|
error: {
|
|
5384
|
-
code: "
|
|
6263
|
+
code: "query_invalid";
|
|
5385
6264
|
details?: readonly Response.error.Detail[] | undefined;
|
|
5386
6265
|
message: string;
|
|
5387
6266
|
};
|
|
5388
6267
|
requestId: string;
|
|
5389
6268
|
};
|
|
5390
6269
|
outputFormat: "json";
|
|
5391
|
-
status:
|
|
6270
|
+
status: 400;
|
|
5392
6271
|
input: {
|
|
5393
6272
|
param: {
|
|
5394
6273
|
id: string;
|
|
@@ -5405,14 +6284,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5405
6284
|
} | {
|
|
5406
6285
|
output: {
|
|
5407
6286
|
error: {
|
|
5408
|
-
code: "
|
|
6287
|
+
code: "upstream_error";
|
|
5409
6288
|
details?: readonly Response.error.Detail[] | undefined;
|
|
5410
6289
|
message: string;
|
|
5411
6290
|
};
|
|
5412
6291
|
requestId: string;
|
|
5413
6292
|
};
|
|
5414
6293
|
outputFormat: "json";
|
|
5415
|
-
status:
|
|
6294
|
+
status: 502;
|
|
5416
6295
|
input: {
|
|
5417
6296
|
param: {
|
|
5418
6297
|
id: string;
|
|
@@ -5588,14 +6467,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5588
6467
|
$get: {
|
|
5589
6468
|
output: {
|
|
5590
6469
|
error: {
|
|
5591
|
-
code: "
|
|
6470
|
+
code: "api_key_malformed";
|
|
5592
6471
|
details?: readonly Response.error.Detail[] | undefined;
|
|
5593
6472
|
message: string;
|
|
5594
6473
|
};
|
|
5595
6474
|
requestId: string;
|
|
5596
6475
|
};
|
|
5597
6476
|
outputFormat: "json";
|
|
5598
|
-
status:
|
|
6477
|
+
status: 400;
|
|
5599
6478
|
input: {
|
|
5600
6479
|
param: {
|
|
5601
6480
|
deliveryId: string;
|
|
@@ -5606,14 +6485,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5606
6485
|
} | {
|
|
5607
6486
|
output: {
|
|
5608
6487
|
error: {
|
|
5609
|
-
code: "
|
|
6488
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
5610
6489
|
details?: readonly Response.error.Detail[] | undefined;
|
|
5611
6490
|
message: string;
|
|
5612
6491
|
};
|
|
5613
6492
|
requestId: string;
|
|
5614
6493
|
};
|
|
5615
6494
|
outputFormat: "json";
|
|
5616
|
-
status:
|
|
6495
|
+
status: 401;
|
|
5617
6496
|
input: {
|
|
5618
6497
|
param: {
|
|
5619
6498
|
deliveryId: string;
|
|
@@ -5624,14 +6503,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5624
6503
|
} | {
|
|
5625
6504
|
output: {
|
|
5626
6505
|
error: {
|
|
5627
|
-
code: "
|
|
6506
|
+
code: "upstream_error";
|
|
5628
6507
|
details?: readonly Response.error.Detail[] | undefined;
|
|
5629
6508
|
message: string;
|
|
5630
6509
|
};
|
|
5631
6510
|
requestId: string;
|
|
5632
6511
|
};
|
|
5633
6512
|
outputFormat: "json";
|
|
5634
|
-
status:
|
|
6513
|
+
status: 502;
|
|
5635
6514
|
input: {
|
|
5636
6515
|
param: {
|
|
5637
6516
|
deliveryId: string;
|
|
@@ -5949,6 +6828,98 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5949
6828
|
timestamp: string;
|
|
5950
6829
|
};
|
|
5951
6830
|
type: "block:created";
|
|
6831
|
+
} | {
|
|
6832
|
+
chainId: number;
|
|
6833
|
+
context?: {
|
|
6834
|
+
description?: string | undefined;
|
|
6835
|
+
metadata?: {
|
|
6836
|
+
[x: string]: string;
|
|
6837
|
+
} | undefined;
|
|
6838
|
+
title?: string | undefined;
|
|
6839
|
+
} | undefined;
|
|
6840
|
+
createdAt: string;
|
|
6841
|
+
id: string;
|
|
6842
|
+
subscriptionId: string;
|
|
6843
|
+
data: {
|
|
6844
|
+
createdAt: string;
|
|
6845
|
+
depositAddressId: string;
|
|
6846
|
+
detectionTrigger?: "chain" | "manual" | "poll" | "webhook" | undefined;
|
|
6847
|
+
destinationAmount?: {
|
|
6848
|
+
baseUnits: string;
|
|
6849
|
+
currency: string;
|
|
6850
|
+
decimals: number;
|
|
6851
|
+
formatted: string;
|
|
6852
|
+
} | undefined;
|
|
6853
|
+
destinationAmountRequired?: {
|
|
6854
|
+
baseUnits: string;
|
|
6855
|
+
currency: string;
|
|
6856
|
+
decimals: number;
|
|
6857
|
+
formatted: string;
|
|
6858
|
+
} | undefined;
|
|
6859
|
+
destinationChain: {
|
|
6860
|
+
addressFormat: "base58" | "base58check" | "hex";
|
|
6861
|
+
id: string;
|
|
6862
|
+
kind: "evm" | "solana" | "tron";
|
|
6863
|
+
name: string;
|
|
6864
|
+
};
|
|
6865
|
+
destinationToken: {
|
|
6866
|
+
address: string;
|
|
6867
|
+
currency: string;
|
|
6868
|
+
decimals: number;
|
|
6869
|
+
name: string;
|
|
6870
|
+
standard: string;
|
|
6871
|
+
symbol: string;
|
|
6872
|
+
tokenKey: string;
|
|
6873
|
+
verified: boolean;
|
|
6874
|
+
};
|
|
6875
|
+
destinationTransactionHashes?: readonly string[] | undefined;
|
|
6876
|
+
id: string;
|
|
6877
|
+
provider: {
|
|
6878
|
+
id: string;
|
|
6879
|
+
name: string;
|
|
6880
|
+
};
|
|
6881
|
+
recipient: string;
|
|
6882
|
+
refundAddress: string;
|
|
6883
|
+
refundAmount?: {
|
|
6884
|
+
baseUnits: string;
|
|
6885
|
+
currency: string;
|
|
6886
|
+
decimals: number;
|
|
6887
|
+
formatted: string;
|
|
6888
|
+
} | undefined;
|
|
6889
|
+
refundTransactionHashes?: readonly string[] | undefined;
|
|
6890
|
+
sender?: string | undefined;
|
|
6891
|
+
sourceAmount?: {
|
|
6892
|
+
baseUnits: string;
|
|
6893
|
+
currency: string;
|
|
6894
|
+
decimals: number;
|
|
6895
|
+
formatted: string;
|
|
6896
|
+
} | undefined;
|
|
6897
|
+
sourceChain: {
|
|
6898
|
+
addressFormat: "base58" | "base58check" | "hex";
|
|
6899
|
+
id: string;
|
|
6900
|
+
kind: "evm" | "solana" | "tron";
|
|
6901
|
+
name: string;
|
|
6902
|
+
};
|
|
6903
|
+
sourceToken: {
|
|
6904
|
+
address: string;
|
|
6905
|
+
currency: string;
|
|
6906
|
+
decimals: number;
|
|
6907
|
+
name: string;
|
|
6908
|
+
standard: string;
|
|
6909
|
+
symbol: string;
|
|
6910
|
+
tokenKey: string;
|
|
6911
|
+
verified: boolean;
|
|
6912
|
+
};
|
|
6913
|
+
sourceTransactionHashes: readonly string[];
|
|
6914
|
+
sourceTransferIndex?: number | undefined;
|
|
6915
|
+
status: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling";
|
|
6916
|
+
statusReason?: {
|
|
6917
|
+
code: "delivery_failed" | "delivery_liquidity_unavailable" | "manual_recovery_required" | "refund_failed" | "source_amount_not_supported" | "source_token_mismatch" | "subsidy_balance_unavailable" | "subsidy_failed";
|
|
6918
|
+
message: string;
|
|
6919
|
+
} | undefined;
|
|
6920
|
+
updatedAt: string;
|
|
6921
|
+
};
|
|
6922
|
+
type: "funding:deposit.updated";
|
|
5952
6923
|
} | {
|
|
5953
6924
|
chainId: number;
|
|
5954
6925
|
context?: {
|
|
@@ -5983,14 +6954,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5983
6954
|
$post: {
|
|
5984
6955
|
output: {
|
|
5985
6956
|
error: {
|
|
5986
|
-
code: "
|
|
6957
|
+
code: "api_key_malformed";
|
|
5987
6958
|
details?: readonly Response.error.Detail[] | undefined;
|
|
5988
6959
|
message: string;
|
|
5989
6960
|
};
|
|
5990
6961
|
requestId: string;
|
|
5991
6962
|
};
|
|
5992
6963
|
outputFormat: "json";
|
|
5993
|
-
status:
|
|
6964
|
+
status: 400;
|
|
5994
6965
|
input: {
|
|
5995
6966
|
param: {
|
|
5996
6967
|
deliveryId: string;
|
|
@@ -6001,14 +6972,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6001
6972
|
} | {
|
|
6002
6973
|
output: {
|
|
6003
6974
|
error: {
|
|
6004
|
-
code: "
|
|
6975
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
6005
6976
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6006
6977
|
message: string;
|
|
6007
6978
|
};
|
|
6008
6979
|
requestId: string;
|
|
6009
6980
|
};
|
|
6010
6981
|
outputFormat: "json";
|
|
6011
|
-
status:
|
|
6982
|
+
status: 401;
|
|
6012
6983
|
input: {
|
|
6013
6984
|
param: {
|
|
6014
6985
|
deliveryId: string;
|
|
@@ -6019,14 +6990,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6019
6990
|
} | {
|
|
6020
6991
|
output: {
|
|
6021
6992
|
error: {
|
|
6022
|
-
code: "
|
|
6993
|
+
code: "upstream_error";
|
|
6023
6994
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6024
6995
|
message: string;
|
|
6025
6996
|
};
|
|
6026
6997
|
requestId: string;
|
|
6027
6998
|
};
|
|
6028
6999
|
outputFormat: "json";
|
|
6029
|
-
status:
|
|
7000
|
+
status: 502;
|
|
6030
7001
|
input: {
|
|
6031
7002
|
param: {
|
|
6032
7003
|
deliveryId: string;
|
|
@@ -6166,14 +7137,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6166
7137
|
$patch: {
|
|
6167
7138
|
output: {
|
|
6168
7139
|
error: {
|
|
6169
|
-
code: "
|
|
7140
|
+
code: "api_key_malformed";
|
|
6170
7141
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6171
7142
|
message: string;
|
|
6172
7143
|
};
|
|
6173
7144
|
requestId: string;
|
|
6174
7145
|
};
|
|
6175
7146
|
outputFormat: "json";
|
|
6176
|
-
status:
|
|
7147
|
+
status: 400;
|
|
6177
7148
|
input: {
|
|
6178
7149
|
param: {
|
|
6179
7150
|
id: string;
|
|
@@ -6187,14 +7158,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6187
7158
|
} | {
|
|
6188
7159
|
output: {
|
|
6189
7160
|
error: {
|
|
6190
|
-
code: "
|
|
7161
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
6191
7162
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6192
7163
|
message: string;
|
|
6193
7164
|
};
|
|
6194
7165
|
requestId: string;
|
|
6195
7166
|
};
|
|
6196
7167
|
outputFormat: "json";
|
|
6197
|
-
status:
|
|
7168
|
+
status: 401;
|
|
6198
7169
|
input: {
|
|
6199
7170
|
param: {
|
|
6200
7171
|
id: string;
|
|
@@ -6208,14 +7179,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6208
7179
|
} | {
|
|
6209
7180
|
output: {
|
|
6210
7181
|
error: {
|
|
6211
|
-
code: "
|
|
7182
|
+
code: "upstream_error";
|
|
6212
7183
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6213
7184
|
message: string;
|
|
6214
7185
|
};
|
|
6215
7186
|
requestId: string;
|
|
6216
7187
|
};
|
|
6217
7188
|
outputFormat: "json";
|
|
6218
|
-
status:
|
|
7189
|
+
status: 502;
|
|
6219
7190
|
input: {
|
|
6220
7191
|
param: {
|
|
6221
7192
|
id: string;
|
|
@@ -6374,7 +7345,8 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6374
7345
|
type: "betterstack";
|
|
6375
7346
|
url: string;
|
|
6376
7347
|
};
|
|
6377
|
-
|
|
7348
|
+
environment?: "production" | "sandbox" | undefined;
|
|
7349
|
+
eventType: "block:created" | "funding:deposit.updated" | "log:emitted" | "token:transfer" | "transaction:included";
|
|
6378
7350
|
expiresAt?: string | undefined;
|
|
6379
7351
|
failureCount: number;
|
|
6380
7352
|
filters: {
|
|
@@ -6404,14 +7376,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6404
7376
|
$delete: {
|
|
6405
7377
|
output: {
|
|
6406
7378
|
error: {
|
|
6407
|
-
code: "
|
|
7379
|
+
code: "api_key_malformed";
|
|
6408
7380
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6409
7381
|
message: string;
|
|
6410
7382
|
};
|
|
6411
7383
|
requestId: string;
|
|
6412
7384
|
};
|
|
6413
7385
|
outputFormat: "json";
|
|
6414
|
-
status:
|
|
7386
|
+
status: 400;
|
|
6415
7387
|
input: {
|
|
6416
7388
|
param: {
|
|
6417
7389
|
id: string;
|
|
@@ -6421,14 +7393,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6421
7393
|
} | {
|
|
6422
7394
|
output: {
|
|
6423
7395
|
error: {
|
|
6424
|
-
code: "
|
|
7396
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
6425
7397
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6426
7398
|
message: string;
|
|
6427
7399
|
};
|
|
6428
7400
|
requestId: string;
|
|
6429
7401
|
};
|
|
6430
7402
|
outputFormat: "json";
|
|
6431
|
-
status:
|
|
7403
|
+
status: 401;
|
|
6432
7404
|
input: {
|
|
6433
7405
|
param: {
|
|
6434
7406
|
id: string;
|
|
@@ -6438,14 +7410,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6438
7410
|
} | {
|
|
6439
7411
|
output: {
|
|
6440
7412
|
error: {
|
|
6441
|
-
code: "
|
|
7413
|
+
code: "upstream_error";
|
|
6442
7414
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6443
7415
|
message: string;
|
|
6444
7416
|
};
|
|
6445
7417
|
requestId: string;
|
|
6446
7418
|
};
|
|
6447
7419
|
outputFormat: "json";
|
|
6448
|
-
status:
|
|
7420
|
+
status: 502;
|
|
6449
7421
|
input: {
|
|
6450
7422
|
param: {
|
|
6451
7423
|
id: string;
|