tapimo 0.15.0 → 0.15.1
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 +26 -26
- package/dist/admin/App.d.ts +3 -0
- package/dist/admin/App.d.ts.map +1 -1
- package/dist/admin/apps/api-keys.d.ts +41 -41
- package/dist/admin/apps/routes.d.ts +64 -64
- package/dist/admin/apps/verified-tokens.d.ts +161 -155
- package/dist/admin/apps/verified-tokens.d.ts.map +1 -1
- package/dist/admin/apps/verified-tokens.js +24 -4
- package/dist/admin/apps/verified-tokens.js.map +1 -1
- package/dist/admin/ui.generated.d.ts +1 -1
- package/dist/admin/ui.generated.d.ts.map +1 -1
- package/dist/admin/ui.generated.js +201 -209
- package/dist/admin/ui.generated.js.map +1 -1
- package/dist/apps/data/routes/activities.d.ts +357 -357
- package/dist/apps/data/routes/blocks.d.ts +125 -125
- package/dist/apps/data/routes/fee-amm.d.ts +108 -108
- package/dist/apps/data/routes/fee-amm.d.ts.map +1 -1
- package/dist/apps/data/routes/fee-amm.js +10 -2
- package/dist/apps/data/routes/fee-amm.js.map +1 -1
- package/dist/apps/data/routes/indexer.d.ts +43 -43
- package/dist/apps/data/routes/receipts.d.ts +235 -235
- package/dist/apps/data/routes/rpc.js +45 -11
- package/dist/apps/data/routes/rpc.js.map +1 -1
- package/dist/apps/data/routes/transfers.d.ts +81 -81
- package/dist/apps/data/routes/valuation.d.ts +32 -32
- package/dist/apps/data/routes/verified-tokens.d.ts +86 -86
- package/dist/apps/data/routes/webhooks.d.ts +1 -1
- package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/data/routes/webhooks.js +17 -10
- package/dist/apps/data/routes/webhooks.js.map +1 -1
- package/dist/apps/data/routes/zones.d.ts +31 -31
- package/dist/apps/management/App.d.ts +26 -26
- package/dist/apps/management/routes/api-keys.d.ts +246 -246
- package/dist/apps/management/routes/invitations.d.ts +138 -138
- package/dist/apps/management/routes/invite-links.d.ts +168 -168
- package/dist/apps/management/routes/orgs.d.ts +98 -98
- package/dist/apps/management/routes/projects.d.ts +125 -125
- package/dist/apps/management/routes/verified-token-requests.d.ts +95 -95
- package/dist/apps/management/routes/verified-token-requests.d.ts.map +1 -1
- package/dist/apps/management/routes/verified-token-requests.js +7 -9
- package/dist/apps/management/routes/verified-token-requests.js.map +1 -1
- package/dist/apps/management/routes/webhooks.d.ts +423 -423
- package/dist/apps/mcp.d.ts.map +1 -1
- package/dist/apps/mcp.js +16 -3
- package/dist/apps/mcp.js.map +1 -1
- package/dist/apps/mpp/App.d.ts +44 -44
- package/dist/apps/routes/routes/chains.d.ts +25 -25
- package/dist/apps/routes/routes/quotes.d.ts +87 -87
- package/dist/apps/routes/routes/transfers.d.ts +438 -438
- package/dist/db/Db.d.ts.map +1 -1
- package/dist/db/Db.js +5 -0
- package/dist/db/Db.js.map +1 -1
- package/dist/db/tables/verifiedTokenRequests.d.ts +21 -4
- package/dist/db/tables/verifiedTokenRequests.d.ts.map +1 -1
- package/dist/db/tables/verifiedTokenRequests.js +65 -44
- package/dist/db/tables/verifiedTokenRequests.js.map +1 -1
- package/dist/internal/Auth.d.ts +16 -0
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +31 -8
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/routes/providers/relay.d.ts +1 -1
- package/dist/internal/routes/providers/relay.js +1 -1
- package/dist/internal/routes/providers/relay.js.map +1 -1
- package/package.json +1 -1
- package/src/admin/apps/verified-tokens.test.ts +32 -0
- package/src/admin/apps/verified-tokens.ts +30 -4
- package/src/admin/ui/src/lib/verified-tokens.ts +24 -9
- package/src/admin/ui/src/routes/__root.tsx +1 -1
- package/src/admin/ui/src/routes/organizations.tsx +34 -4
- package/src/admin/ui/src/routes/verified-tokens.tsx +64 -20
- package/src/admin/ui.generated.ts +202 -263
- package/src/apps/data/App.test.ts +26 -0
- package/src/apps/data/routes/fee-amm.test.ts +19 -0
- package/src/apps/data/routes/fee-amm.ts +10 -2
- package/src/apps/data/routes/rpc.test.ts +32 -0
- package/src/apps/data/routes/rpc.ts +47 -10
- package/src/apps/data/routes/webhooks.scan.test.ts +29 -0
- package/src/apps/data/routes/webhooks.test.ts +6 -0
- package/src/apps/data/routes/webhooks.ts +25 -12
- package/src/apps/management/routes/verified-token-requests.test.ts +16 -2
- package/src/apps/management/routes/verified-token-requests.ts +7 -10
- package/src/apps/mcp.test.ts +108 -25
- package/src/apps/mcp.ts +15 -3
- package/src/db/Db.ts +9 -0
- package/src/db/tables/routesDeposits.test.ts +72 -0
- package/src/db/tables/verifiedTokenRequests.test.ts +39 -20
- package/src/db/tables/verifiedTokenRequests.ts +80 -44
- package/src/internal/Auth.test.ts +92 -0
- package/src/internal/Auth.ts +51 -9
- package/src/internal/routes/providers/relay.test.ts +59 -0
- package/src/internal/routes/providers/relay.ts +1 -1
|
@@ -1248,15 +1248,85 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
1248
1248
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/webhooks": {
|
|
1249
1249
|
$post: {
|
|
1250
1250
|
output: {
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1251
|
+
chainId: number;
|
|
1252
|
+
createdAt: string;
|
|
1253
|
+
environment?: "production" | "sandbox" | undefined;
|
|
1254
|
+
eventType: "block:created" | "log:emitted" | "routes:deposit.updated" | "routes:transfer.updated" | "token:transfer" | "transaction:included";
|
|
1255
|
+
expiresAt?: string | undefined;
|
|
1256
|
+
failureCount: number;
|
|
1257
|
+
filters: {
|
|
1258
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
1259
|
+
};
|
|
1260
|
+
id: string;
|
|
1261
|
+
lastDeliveryAt?: string | undefined;
|
|
1262
|
+
status: "active" | "disabled" | "paused";
|
|
1263
|
+
updatedAt: string;
|
|
1264
|
+
context?: {
|
|
1265
|
+
description?: string | undefined;
|
|
1266
|
+
metadata?: {
|
|
1267
|
+
[x: string]: string;
|
|
1268
|
+
} | undefined;
|
|
1269
|
+
title?: string | undefined;
|
|
1270
|
+
} | undefined;
|
|
1271
|
+
destination: {
|
|
1272
|
+
type: "url";
|
|
1273
|
+
url: string;
|
|
1274
|
+
};
|
|
1275
|
+
secret: string;
|
|
1276
|
+
} | {
|
|
1277
|
+
chainId: number;
|
|
1278
|
+
createdAt: string;
|
|
1279
|
+
environment?: "production" | "sandbox" | undefined;
|
|
1280
|
+
eventType: "block:created" | "log:emitted" | "routes:deposit.updated" | "routes:transfer.updated" | "token:transfer" | "transaction:included";
|
|
1281
|
+
expiresAt?: string | undefined;
|
|
1282
|
+
failureCount: number;
|
|
1283
|
+
filters: {
|
|
1284
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
1285
|
+
};
|
|
1286
|
+
id: string;
|
|
1287
|
+
lastDeliveryAt?: string | undefined;
|
|
1288
|
+
status: "active" | "disabled" | "paused";
|
|
1289
|
+
updatedAt: string;
|
|
1290
|
+
context?: {
|
|
1291
|
+
description?: string | undefined;
|
|
1292
|
+
metadata?: {
|
|
1293
|
+
[x: string]: string;
|
|
1294
|
+
} | undefined;
|
|
1295
|
+
title?: string | undefined;
|
|
1296
|
+
} | undefined;
|
|
1297
|
+
destination: {
|
|
1298
|
+
type: "slack";
|
|
1299
|
+
url: "https://hooks.slack.com/…";
|
|
1300
|
+
};
|
|
1301
|
+
} | {
|
|
1302
|
+
chainId: number;
|
|
1303
|
+
createdAt: string;
|
|
1304
|
+
environment?: "production" | "sandbox" | undefined;
|
|
1305
|
+
eventType: "block:created" | "log:emitted" | "routes:deposit.updated" | "routes:transfer.updated" | "token:transfer" | "transaction:included";
|
|
1306
|
+
expiresAt?: string | undefined;
|
|
1307
|
+
failureCount: number;
|
|
1308
|
+
filters: {
|
|
1309
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
1310
|
+
};
|
|
1311
|
+
id: string;
|
|
1312
|
+
lastDeliveryAt?: string | undefined;
|
|
1313
|
+
status: "active" | "disabled" | "paused";
|
|
1314
|
+
updatedAt: string;
|
|
1315
|
+
context?: {
|
|
1316
|
+
description?: string | undefined;
|
|
1317
|
+
metadata?: {
|
|
1318
|
+
[x: string]: string;
|
|
1319
|
+
} | undefined;
|
|
1320
|
+
title?: string | undefined;
|
|
1321
|
+
} | undefined;
|
|
1322
|
+
destination: {
|
|
1323
|
+
token: "[redacted]";
|
|
1324
|
+
type: "betterstack";
|
|
1325
|
+
url: string;
|
|
1255
1326
|
};
|
|
1256
|
-
requestId: string;
|
|
1257
1327
|
};
|
|
1258
1328
|
outputFormat: "json";
|
|
1259
|
-
status:
|
|
1329
|
+
status: 200;
|
|
1260
1330
|
input: {
|
|
1261
1331
|
param: {
|
|
1262
1332
|
orgId: string;
|
|
@@ -1630,14 +1700,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
1630
1700
|
} | {
|
|
1631
1701
|
output: {
|
|
1632
1702
|
error: {
|
|
1633
|
-
code: "
|
|
1703
|
+
code: "api_key_malformed";
|
|
1634
1704
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1635
1705
|
message: string;
|
|
1636
1706
|
};
|
|
1637
1707
|
requestId: string;
|
|
1638
1708
|
};
|
|
1639
1709
|
outputFormat: "json";
|
|
1640
|
-
status:
|
|
1710
|
+
status: 400;
|
|
1641
1711
|
input: {
|
|
1642
1712
|
param: {
|
|
1643
1713
|
orgId: string;
|
|
@@ -2011,14 +2081,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2011
2081
|
} | {
|
|
2012
2082
|
output: {
|
|
2013
2083
|
error: {
|
|
2014
|
-
code: "
|
|
2084
|
+
code: "chain_id_unsupported";
|
|
2015
2085
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2016
2086
|
message: string;
|
|
2017
2087
|
};
|
|
2018
2088
|
requestId: string;
|
|
2019
2089
|
};
|
|
2020
2090
|
outputFormat: "json";
|
|
2021
|
-
status:
|
|
2091
|
+
status: 400;
|
|
2022
2092
|
input: {
|
|
2023
2093
|
param: {
|
|
2024
2094
|
orgId: string;
|
|
@@ -2392,7 +2462,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2392
2462
|
} | {
|
|
2393
2463
|
output: {
|
|
2394
2464
|
error: {
|
|
2395
|
-
code: "
|
|
2465
|
+
code: "param_invalid";
|
|
2396
2466
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2397
2467
|
message: string;
|
|
2398
2468
|
};
|
|
@@ -2773,7 +2843,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
2773
2843
|
} | {
|
|
2774
2844
|
output: {
|
|
2775
2845
|
error: {
|
|
2776
|
-
code: "
|
|
2846
|
+
code: "body_invalid";
|
|
2777
2847
|
details?: readonly Response.error.Detail[] | undefined;
|
|
2778
2848
|
message: string;
|
|
2779
2849
|
};
|
|
@@ -3154,7 +3224,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3154
3224
|
} | {
|
|
3155
3225
|
output: {
|
|
3156
3226
|
error: {
|
|
3157
|
-
code: "
|
|
3227
|
+
code: "event_type_unsupported";
|
|
3158
3228
|
details?: readonly Response.error.Detail[] | undefined;
|
|
3159
3229
|
message: string;
|
|
3160
3230
|
};
|
|
@@ -3535,14 +3605,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3535
3605
|
} | {
|
|
3536
3606
|
output: {
|
|
3537
3607
|
error: {
|
|
3538
|
-
code: "
|
|
3608
|
+
code: "url_invalid";
|
|
3539
3609
|
details?: readonly Response.error.Detail[] | undefined;
|
|
3540
3610
|
message: string;
|
|
3541
3611
|
};
|
|
3542
3612
|
requestId: string;
|
|
3543
3613
|
};
|
|
3544
3614
|
outputFormat: "json";
|
|
3545
|
-
status:
|
|
3615
|
+
status: 400;
|
|
3546
3616
|
input: {
|
|
3547
3617
|
param: {
|
|
3548
3618
|
orgId: string;
|
|
@@ -3916,14 +3986,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
3916
3986
|
} | {
|
|
3917
3987
|
output: {
|
|
3918
3988
|
error: {
|
|
3919
|
-
code: "
|
|
3989
|
+
code: "filters_invalid";
|
|
3920
3990
|
details?: readonly Response.error.Detail[] | undefined;
|
|
3921
3991
|
message: string;
|
|
3922
3992
|
};
|
|
3923
3993
|
requestId: string;
|
|
3924
3994
|
};
|
|
3925
3995
|
outputFormat: "json";
|
|
3926
|
-
status:
|
|
3996
|
+
status: 400;
|
|
3927
3997
|
input: {
|
|
3928
3998
|
param: {
|
|
3929
3999
|
orgId: string;
|
|
@@ -4297,14 +4367,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4297
4367
|
} | {
|
|
4298
4368
|
output: {
|
|
4299
4369
|
error: {
|
|
4300
|
-
code: "
|
|
4370
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
4301
4371
|
details?: readonly Response.error.Detail[] | undefined;
|
|
4302
4372
|
message: string;
|
|
4303
4373
|
};
|
|
4304
4374
|
requestId: string;
|
|
4305
4375
|
};
|
|
4306
4376
|
outputFormat: "json";
|
|
4307
|
-
status:
|
|
4377
|
+
status: 401;
|
|
4308
4378
|
input: {
|
|
4309
4379
|
param: {
|
|
4310
4380
|
orgId: string;
|
|
@@ -4678,14 +4748,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
4678
4748
|
} | {
|
|
4679
4749
|
output: {
|
|
4680
4750
|
error: {
|
|
4681
|
-
code: "
|
|
4751
|
+
code: "forbidden";
|
|
4682
4752
|
details?: readonly Response.error.Detail[] | undefined;
|
|
4683
4753
|
message: string;
|
|
4684
4754
|
};
|
|
4685
4755
|
requestId: string;
|
|
4686
4756
|
};
|
|
4687
4757
|
outputFormat: "json";
|
|
4688
|
-
status:
|
|
4758
|
+
status: 403;
|
|
4689
4759
|
input: {
|
|
4690
4760
|
param: {
|
|
4691
4761
|
orgId: string;
|
|
@@ -5059,14 +5129,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5059
5129
|
} | {
|
|
5060
5130
|
output: {
|
|
5061
5131
|
error: {
|
|
5062
|
-
code: "
|
|
5132
|
+
code: "limit_exceeded";
|
|
5063
5133
|
details?: readonly Response.error.Detail[] | undefined;
|
|
5064
5134
|
message: string;
|
|
5065
5135
|
};
|
|
5066
5136
|
requestId: string;
|
|
5067
5137
|
};
|
|
5068
5138
|
outputFormat: "json";
|
|
5069
|
-
status:
|
|
5139
|
+
status: 403;
|
|
5070
5140
|
input: {
|
|
5071
5141
|
param: {
|
|
5072
5142
|
orgId: string;
|
|
@@ -5440,14 +5510,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5440
5510
|
} | {
|
|
5441
5511
|
output: {
|
|
5442
5512
|
error: {
|
|
5443
|
-
code: "
|
|
5513
|
+
code: "organization_not_found";
|
|
5444
5514
|
details?: readonly Response.error.Detail[] | undefined;
|
|
5445
5515
|
message: string;
|
|
5446
5516
|
};
|
|
5447
5517
|
requestId: string;
|
|
5448
5518
|
};
|
|
5449
5519
|
outputFormat: "json";
|
|
5450
|
-
status:
|
|
5520
|
+
status: 404;
|
|
5451
5521
|
input: {
|
|
5452
5522
|
param: {
|
|
5453
5523
|
orgId: string;
|
|
@@ -5821,14 +5891,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
5821
5891
|
} | {
|
|
5822
5892
|
output: {
|
|
5823
5893
|
error: {
|
|
5824
|
-
code: "
|
|
5894
|
+
code: "webhooks_not_enabled";
|
|
5825
5895
|
details?: readonly Response.error.Detail[] | undefined;
|
|
5826
5896
|
message: string;
|
|
5827
5897
|
};
|
|
5828
5898
|
requestId: string;
|
|
5829
5899
|
};
|
|
5830
5900
|
outputFormat: "json";
|
|
5831
|
-
status:
|
|
5901
|
+
status: 404;
|
|
5832
5902
|
input: {
|
|
5833
5903
|
param: {
|
|
5834
5904
|
orgId: string;
|
|
@@ -6201,85 +6271,15 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6201
6271
|
};
|
|
6202
6272
|
} | {
|
|
6203
6273
|
output: {
|
|
6204
|
-
|
|
6205
|
-
|
|
6206
|
-
|
|
6207
|
-
|
|
6208
|
-
expiresAt?: string | undefined;
|
|
6209
|
-
failureCount: number;
|
|
6210
|
-
filters: {
|
|
6211
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
6212
|
-
};
|
|
6213
|
-
id: string;
|
|
6214
|
-
lastDeliveryAt?: string | undefined;
|
|
6215
|
-
status: "active" | "disabled" | "paused";
|
|
6216
|
-
updatedAt: string;
|
|
6217
|
-
context?: {
|
|
6218
|
-
description?: string | undefined;
|
|
6219
|
-
metadata?: {
|
|
6220
|
-
[x: string]: string;
|
|
6221
|
-
} | undefined;
|
|
6222
|
-
title?: string | undefined;
|
|
6223
|
-
} | undefined;
|
|
6224
|
-
destination: {
|
|
6225
|
-
type: "url";
|
|
6226
|
-
url: string;
|
|
6227
|
-
};
|
|
6228
|
-
secret: string;
|
|
6229
|
-
} | {
|
|
6230
|
-
chainId: number;
|
|
6231
|
-
createdAt: string;
|
|
6232
|
-
environment?: "production" | "sandbox" | undefined;
|
|
6233
|
-
eventType: "block:created" | "log:emitted" | "routes:deposit.updated" | "routes:transfer.updated" | "token:transfer" | "transaction:included";
|
|
6234
|
-
expiresAt?: string | undefined;
|
|
6235
|
-
failureCount: number;
|
|
6236
|
-
filters: {
|
|
6237
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
6238
|
-
};
|
|
6239
|
-
id: string;
|
|
6240
|
-
lastDeliveryAt?: string | undefined;
|
|
6241
|
-
status: "active" | "disabled" | "paused";
|
|
6242
|
-
updatedAt: string;
|
|
6243
|
-
context?: {
|
|
6244
|
-
description?: string | undefined;
|
|
6245
|
-
metadata?: {
|
|
6246
|
-
[x: string]: string;
|
|
6247
|
-
} | undefined;
|
|
6248
|
-
title?: string | undefined;
|
|
6249
|
-
} | undefined;
|
|
6250
|
-
destination: {
|
|
6251
|
-
type: "slack";
|
|
6252
|
-
url: "https://hooks.slack.com/…";
|
|
6253
|
-
};
|
|
6254
|
-
} | {
|
|
6255
|
-
chainId: number;
|
|
6256
|
-
createdAt: string;
|
|
6257
|
-
environment?: "production" | "sandbox" | undefined;
|
|
6258
|
-
eventType: "block:created" | "log:emitted" | "routes:deposit.updated" | "routes:transfer.updated" | "token:transfer" | "transaction:included";
|
|
6259
|
-
expiresAt?: string | undefined;
|
|
6260
|
-
failureCount: number;
|
|
6261
|
-
filters: {
|
|
6262
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
6263
|
-
};
|
|
6264
|
-
id: string;
|
|
6265
|
-
lastDeliveryAt?: string | undefined;
|
|
6266
|
-
status: "active" | "disabled" | "paused";
|
|
6267
|
-
updatedAt: string;
|
|
6268
|
-
context?: {
|
|
6269
|
-
description?: string | undefined;
|
|
6270
|
-
metadata?: {
|
|
6271
|
-
[x: string]: string;
|
|
6272
|
-
} | undefined;
|
|
6273
|
-
title?: string | undefined;
|
|
6274
|
-
} | undefined;
|
|
6275
|
-
destination: {
|
|
6276
|
-
token: "[redacted]";
|
|
6277
|
-
type: "betterstack";
|
|
6278
|
-
url: string;
|
|
6274
|
+
error: {
|
|
6275
|
+
code: "upstream_error";
|
|
6276
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
6277
|
+
message: string;
|
|
6279
6278
|
};
|
|
6279
|
+
requestId: string;
|
|
6280
6280
|
};
|
|
6281
6281
|
outputFormat: "json";
|
|
6282
|
-
status:
|
|
6282
|
+
status: 502;
|
|
6283
6283
|
input: {
|
|
6284
6284
|
param: {
|
|
6285
6285
|
orgId: string;
|
|
@@ -6656,15 +6656,42 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6656
6656
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/webhooks": {
|
|
6657
6657
|
$get: {
|
|
6658
6658
|
output: {
|
|
6659
|
-
|
|
6660
|
-
|
|
6661
|
-
|
|
6662
|
-
|
|
6663
|
-
|
|
6664
|
-
|
|
6659
|
+
data: {
|
|
6660
|
+
chainId: number;
|
|
6661
|
+
createdAt: string;
|
|
6662
|
+
environment?: "production" | "sandbox" | undefined;
|
|
6663
|
+
eventType: "block:created" | "log:emitted" | "routes:deposit.updated" | "routes:transfer.updated" | "token:transfer" | "transaction:included";
|
|
6664
|
+
expiresAt?: string | undefined;
|
|
6665
|
+
failureCount: number;
|
|
6666
|
+
filters: {
|
|
6667
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
6668
|
+
};
|
|
6669
|
+
id: string;
|
|
6670
|
+
lastDeliveryAt?: string | undefined;
|
|
6671
|
+
status: "active" | "disabled" | "paused";
|
|
6672
|
+
updatedAt: string;
|
|
6673
|
+
context?: {
|
|
6674
|
+
description?: string | undefined;
|
|
6675
|
+
metadata?: {
|
|
6676
|
+
[x: string]: string;
|
|
6677
|
+
} | undefined;
|
|
6678
|
+
title?: string | undefined;
|
|
6679
|
+
} | undefined;
|
|
6680
|
+
destination: {
|
|
6681
|
+
type: "url";
|
|
6682
|
+
url: string;
|
|
6683
|
+
} | {
|
|
6684
|
+
type: "slack";
|
|
6685
|
+
url: "https://hooks.slack.com/…";
|
|
6686
|
+
} | {
|
|
6687
|
+
token: "[redacted]";
|
|
6688
|
+
type: "betterstack";
|
|
6689
|
+
url: string;
|
|
6690
|
+
};
|
|
6691
|
+
}[];
|
|
6665
6692
|
};
|
|
6666
6693
|
outputFormat: "json";
|
|
6667
|
-
status:
|
|
6694
|
+
status: 200;
|
|
6668
6695
|
input: {
|
|
6669
6696
|
param: {
|
|
6670
6697
|
orgId: string;
|
|
@@ -6673,14 +6700,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6673
6700
|
} | {
|
|
6674
6701
|
output: {
|
|
6675
6702
|
error: {
|
|
6676
|
-
code: "
|
|
6703
|
+
code: "api_key_malformed";
|
|
6677
6704
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6678
6705
|
message: string;
|
|
6679
6706
|
};
|
|
6680
6707
|
requestId: string;
|
|
6681
6708
|
};
|
|
6682
6709
|
outputFormat: "json";
|
|
6683
|
-
status:
|
|
6710
|
+
status: 400;
|
|
6684
6711
|
input: {
|
|
6685
6712
|
param: {
|
|
6686
6713
|
orgId: string;
|
|
@@ -6689,14 +6716,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6689
6716
|
} | {
|
|
6690
6717
|
output: {
|
|
6691
6718
|
error: {
|
|
6692
|
-
code: "
|
|
6719
|
+
code: "param_invalid";
|
|
6693
6720
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6694
6721
|
message: string;
|
|
6695
6722
|
};
|
|
6696
6723
|
requestId: string;
|
|
6697
6724
|
};
|
|
6698
6725
|
outputFormat: "json";
|
|
6699
|
-
status:
|
|
6726
|
+
status: 400;
|
|
6700
6727
|
input: {
|
|
6701
6728
|
param: {
|
|
6702
6729
|
orgId: string;
|
|
@@ -6705,14 +6732,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6705
6732
|
} | {
|
|
6706
6733
|
output: {
|
|
6707
6734
|
error: {
|
|
6708
|
-
code: "
|
|
6735
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
6709
6736
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6710
6737
|
message: string;
|
|
6711
6738
|
};
|
|
6712
6739
|
requestId: string;
|
|
6713
6740
|
};
|
|
6714
6741
|
outputFormat: "json";
|
|
6715
|
-
status:
|
|
6742
|
+
status: 401;
|
|
6716
6743
|
input: {
|
|
6717
6744
|
param: {
|
|
6718
6745
|
orgId: string;
|
|
@@ -6768,42 +6795,15 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6768
6795
|
};
|
|
6769
6796
|
} | {
|
|
6770
6797
|
output: {
|
|
6771
|
-
|
|
6772
|
-
|
|
6773
|
-
|
|
6774
|
-
|
|
6775
|
-
|
|
6776
|
-
|
|
6777
|
-
failureCount: number;
|
|
6778
|
-
filters: {
|
|
6779
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
6780
|
-
};
|
|
6781
|
-
id: string;
|
|
6782
|
-
lastDeliveryAt?: string | undefined;
|
|
6783
|
-
status: "active" | "disabled" | "paused";
|
|
6784
|
-
updatedAt: string;
|
|
6785
|
-
context?: {
|
|
6786
|
-
description?: string | undefined;
|
|
6787
|
-
metadata?: {
|
|
6788
|
-
[x: string]: string;
|
|
6789
|
-
} | undefined;
|
|
6790
|
-
title?: string | undefined;
|
|
6791
|
-
} | undefined;
|
|
6792
|
-
destination: {
|
|
6793
|
-
type: "url";
|
|
6794
|
-
url: string;
|
|
6795
|
-
} | {
|
|
6796
|
-
type: "slack";
|
|
6797
|
-
url: "https://hooks.slack.com/…";
|
|
6798
|
-
} | {
|
|
6799
|
-
token: "[redacted]";
|
|
6800
|
-
type: "betterstack";
|
|
6801
|
-
url: string;
|
|
6802
|
-
};
|
|
6803
|
-
}[];
|
|
6798
|
+
error: {
|
|
6799
|
+
code: "upstream_error";
|
|
6800
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
6801
|
+
message: string;
|
|
6802
|
+
};
|
|
6803
|
+
requestId: string;
|
|
6804
6804
|
};
|
|
6805
6805
|
outputFormat: "json";
|
|
6806
|
-
status:
|
|
6806
|
+
status: 502;
|
|
6807
6807
|
input: {
|
|
6808
6808
|
param: {
|
|
6809
6809
|
orgId: string;
|
|
@@ -6815,15 +6815,26 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6815
6815
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/webhooks/:id{wh_[A-Za-z0-9_-]+}/deliveries": {
|
|
6816
6816
|
$get: {
|
|
6817
6817
|
output: {
|
|
6818
|
-
|
|
6819
|
-
|
|
6820
|
-
|
|
6821
|
-
|
|
6822
|
-
|
|
6823
|
-
|
|
6818
|
+
data: {
|
|
6819
|
+
attempt: number;
|
|
6820
|
+
createdAt: string;
|
|
6821
|
+
error?: string | undefined;
|
|
6822
|
+
eventId: string;
|
|
6823
|
+
id: string;
|
|
6824
|
+
requestUrl: string;
|
|
6825
|
+
responseMs?: number | undefined;
|
|
6826
|
+
responseStatus?: number | undefined;
|
|
6827
|
+
status: "failed" | "pending" | "succeeded";
|
|
6828
|
+
subscriptionId: string;
|
|
6829
|
+
}[];
|
|
6830
|
+
meta?: {
|
|
6831
|
+
totalCountCapped: boolean;
|
|
6832
|
+
totalCount: number;
|
|
6833
|
+
} | undefined;
|
|
6834
|
+
nextCursor: string | null;
|
|
6824
6835
|
};
|
|
6825
6836
|
outputFormat: "json";
|
|
6826
|
-
status:
|
|
6837
|
+
status: 200;
|
|
6827
6838
|
input: {
|
|
6828
6839
|
param: {
|
|
6829
6840
|
id: string;
|
|
@@ -6840,14 +6851,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6840
6851
|
} | {
|
|
6841
6852
|
output: {
|
|
6842
6853
|
error: {
|
|
6843
|
-
code: "
|
|
6854
|
+
code: "api_key_malformed";
|
|
6844
6855
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6845
6856
|
message: string;
|
|
6846
6857
|
};
|
|
6847
6858
|
requestId: string;
|
|
6848
6859
|
};
|
|
6849
6860
|
outputFormat: "json";
|
|
6850
|
-
status:
|
|
6861
|
+
status: 400;
|
|
6851
6862
|
input: {
|
|
6852
6863
|
param: {
|
|
6853
6864
|
id: string;
|
|
@@ -6888,14 +6899,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6888
6899
|
} | {
|
|
6889
6900
|
output: {
|
|
6890
6901
|
error: {
|
|
6891
|
-
code: "
|
|
6902
|
+
code: "param_invalid";
|
|
6892
6903
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6893
6904
|
message: string;
|
|
6894
6905
|
};
|
|
6895
6906
|
requestId: string;
|
|
6896
6907
|
};
|
|
6897
6908
|
outputFormat: "json";
|
|
6898
|
-
status:
|
|
6909
|
+
status: 400;
|
|
6899
6910
|
input: {
|
|
6900
6911
|
param: {
|
|
6901
6912
|
id: string;
|
|
@@ -6912,14 +6923,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
6912
6923
|
} | {
|
|
6913
6924
|
output: {
|
|
6914
6925
|
error: {
|
|
6915
|
-
code: "
|
|
6926
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
6916
6927
|
details?: readonly Response.error.Detail[] | undefined;
|
|
6917
6928
|
message: string;
|
|
6918
6929
|
};
|
|
6919
6930
|
requestId: string;
|
|
6920
6931
|
};
|
|
6921
6932
|
outputFormat: "json";
|
|
6922
|
-
status:
|
|
6933
|
+
status: 401;
|
|
6923
6934
|
input: {
|
|
6924
6935
|
param: {
|
|
6925
6936
|
id: string;
|
|
@@ -7031,26 +7042,15 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7031
7042
|
};
|
|
7032
7043
|
} | {
|
|
7033
7044
|
output: {
|
|
7034
|
-
|
|
7035
|
-
|
|
7036
|
-
|
|
7037
|
-
|
|
7038
|
-
|
|
7039
|
-
|
|
7040
|
-
requestUrl: string;
|
|
7041
|
-
responseMs?: number | undefined;
|
|
7042
|
-
responseStatus?: number | undefined;
|
|
7043
|
-
status: "failed" | "pending" | "succeeded";
|
|
7044
|
-
subscriptionId: string;
|
|
7045
|
-
}[];
|
|
7046
|
-
meta?: {
|
|
7047
|
-
totalCountCapped: boolean;
|
|
7048
|
-
totalCount: number;
|
|
7049
|
-
} | undefined;
|
|
7050
|
-
nextCursor: string | null;
|
|
7045
|
+
error: {
|
|
7046
|
+
code: "upstream_error";
|
|
7047
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
7048
|
+
message: string;
|
|
7049
|
+
};
|
|
7050
|
+
requestId: string;
|
|
7051
7051
|
};
|
|
7052
7052
|
outputFormat: "json";
|
|
7053
|
-
status:
|
|
7053
|
+
status: 502;
|
|
7054
7054
|
input: {
|
|
7055
7055
|
param: {
|
|
7056
7056
|
id: string;
|
|
@@ -7069,168 +7069,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7069
7069
|
} & {
|
|
7070
7070
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/webhooks/:id{wh_[A-Za-z0-9_-]+}/deliveries/:deliveryId": {
|
|
7071
7071
|
$get: {
|
|
7072
|
-
output: {
|
|
7073
|
-
error: {
|
|
7074
|
-
code: "api_key_malformed";
|
|
7075
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
7076
|
-
message: string;
|
|
7077
|
-
};
|
|
7078
|
-
requestId: string;
|
|
7079
|
-
};
|
|
7080
|
-
outputFormat: "json";
|
|
7081
|
-
status: 400;
|
|
7082
|
-
input: {
|
|
7083
|
-
param: {
|
|
7084
|
-
deliveryId: string;
|
|
7085
|
-
id: string;
|
|
7086
|
-
orgId: string;
|
|
7087
|
-
};
|
|
7088
|
-
};
|
|
7089
|
-
} | {
|
|
7090
|
-
output: {
|
|
7091
|
-
error: {
|
|
7092
|
-
code: "api_key_invalid" | "api_key_missing";
|
|
7093
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
7094
|
-
message: string;
|
|
7095
|
-
};
|
|
7096
|
-
requestId: string;
|
|
7097
|
-
};
|
|
7098
|
-
outputFormat: "json";
|
|
7099
|
-
status: 401;
|
|
7100
|
-
input: {
|
|
7101
|
-
param: {
|
|
7102
|
-
deliveryId: string;
|
|
7103
|
-
id: string;
|
|
7104
|
-
orgId: string;
|
|
7105
|
-
};
|
|
7106
|
-
};
|
|
7107
|
-
} | {
|
|
7108
|
-
output: {
|
|
7109
|
-
error: {
|
|
7110
|
-
code: "upstream_error";
|
|
7111
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
7112
|
-
message: string;
|
|
7113
|
-
};
|
|
7114
|
-
requestId: string;
|
|
7115
|
-
};
|
|
7116
|
-
outputFormat: "json";
|
|
7117
|
-
status: 502;
|
|
7118
|
-
input: {
|
|
7119
|
-
param: {
|
|
7120
|
-
deliveryId: string;
|
|
7121
|
-
id: string;
|
|
7122
|
-
orgId: string;
|
|
7123
|
-
};
|
|
7124
|
-
};
|
|
7125
|
-
} | {
|
|
7126
|
-
output: {
|
|
7127
|
-
error: {
|
|
7128
|
-
code: "param_invalid";
|
|
7129
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
7130
|
-
message: string;
|
|
7131
|
-
};
|
|
7132
|
-
requestId: string;
|
|
7133
|
-
};
|
|
7134
|
-
outputFormat: "json";
|
|
7135
|
-
status: 400;
|
|
7136
|
-
input: {
|
|
7137
|
-
param: {
|
|
7138
|
-
deliveryId: string;
|
|
7139
|
-
id: string;
|
|
7140
|
-
orgId: string;
|
|
7141
|
-
};
|
|
7142
|
-
};
|
|
7143
|
-
} | {
|
|
7144
|
-
output: {
|
|
7145
|
-
error: {
|
|
7146
|
-
code: "forbidden";
|
|
7147
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
7148
|
-
message: string;
|
|
7149
|
-
};
|
|
7150
|
-
requestId: string;
|
|
7151
|
-
};
|
|
7152
|
-
outputFormat: "json";
|
|
7153
|
-
status: 403;
|
|
7154
|
-
input: {
|
|
7155
|
-
param: {
|
|
7156
|
-
deliveryId: string;
|
|
7157
|
-
id: string;
|
|
7158
|
-
orgId: string;
|
|
7159
|
-
};
|
|
7160
|
-
};
|
|
7161
|
-
} | {
|
|
7162
|
-
output: {
|
|
7163
|
-
error: {
|
|
7164
|
-
code: "organization_not_found";
|
|
7165
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
7166
|
-
message: string;
|
|
7167
|
-
};
|
|
7168
|
-
requestId: string;
|
|
7169
|
-
};
|
|
7170
|
-
outputFormat: "json";
|
|
7171
|
-
status: 404;
|
|
7172
|
-
input: {
|
|
7173
|
-
param: {
|
|
7174
|
-
deliveryId: string;
|
|
7175
|
-
id: string;
|
|
7176
|
-
orgId: string;
|
|
7177
|
-
};
|
|
7178
|
-
};
|
|
7179
|
-
} | {
|
|
7180
|
-
output: {
|
|
7181
|
-
error: {
|
|
7182
|
-
code: "webhooks_not_enabled";
|
|
7183
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
7184
|
-
message: string;
|
|
7185
|
-
};
|
|
7186
|
-
requestId: string;
|
|
7187
|
-
};
|
|
7188
|
-
outputFormat: "json";
|
|
7189
|
-
status: 404;
|
|
7190
|
-
input: {
|
|
7191
|
-
param: {
|
|
7192
|
-
deliveryId: string;
|
|
7193
|
-
id: string;
|
|
7194
|
-
orgId: string;
|
|
7195
|
-
};
|
|
7196
|
-
};
|
|
7197
|
-
} | {
|
|
7198
|
-
output: {
|
|
7199
|
-
error: {
|
|
7200
|
-
code: "webhook_not_found";
|
|
7201
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
7202
|
-
message: string;
|
|
7203
|
-
};
|
|
7204
|
-
requestId: string;
|
|
7205
|
-
};
|
|
7206
|
-
outputFormat: "json";
|
|
7207
|
-
status: 404;
|
|
7208
|
-
input: {
|
|
7209
|
-
param: {
|
|
7210
|
-
deliveryId: string;
|
|
7211
|
-
id: string;
|
|
7212
|
-
orgId: string;
|
|
7213
|
-
};
|
|
7214
|
-
};
|
|
7215
|
-
} | {
|
|
7216
|
-
output: {
|
|
7217
|
-
error: {
|
|
7218
|
-
code: "delivery_not_found";
|
|
7219
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
7220
|
-
message: string;
|
|
7221
|
-
};
|
|
7222
|
-
requestId: string;
|
|
7223
|
-
};
|
|
7224
|
-
outputFormat: "json";
|
|
7225
|
-
status: 404;
|
|
7226
|
-
input: {
|
|
7227
|
-
param: {
|
|
7228
|
-
deliveryId: string;
|
|
7229
|
-
id: string;
|
|
7230
|
-
orgId: string;
|
|
7231
|
-
};
|
|
7232
|
-
};
|
|
7233
|
-
} | {
|
|
7234
7072
|
output: {
|
|
7235
7073
|
attempt: number;
|
|
7236
7074
|
createdAt: string;
|
|
@@ -7664,15 +7502,87 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7664
7502
|
} | undefined;
|
|
7665
7503
|
createdAt: string;
|
|
7666
7504
|
id: string;
|
|
7667
|
-
subscriptionId: string;
|
|
7668
|
-
data: {
|
|
7669
|
-
ping: true;
|
|
7670
|
-
};
|
|
7671
|
-
type: "ping";
|
|
7505
|
+
subscriptionId: string;
|
|
7506
|
+
data: {
|
|
7507
|
+
ping: true;
|
|
7508
|
+
};
|
|
7509
|
+
type: "ping";
|
|
7510
|
+
};
|
|
7511
|
+
};
|
|
7512
|
+
outputFormat: "json";
|
|
7513
|
+
status: 200;
|
|
7514
|
+
input: {
|
|
7515
|
+
param: {
|
|
7516
|
+
deliveryId: string;
|
|
7517
|
+
id: string;
|
|
7518
|
+
orgId: string;
|
|
7519
|
+
};
|
|
7520
|
+
};
|
|
7521
|
+
} | {
|
|
7522
|
+
output: {
|
|
7523
|
+
error: {
|
|
7524
|
+
code: "api_key_malformed";
|
|
7525
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
7526
|
+
message: string;
|
|
7527
|
+
};
|
|
7528
|
+
requestId: string;
|
|
7529
|
+
};
|
|
7530
|
+
outputFormat: "json";
|
|
7531
|
+
status: 400;
|
|
7532
|
+
input: {
|
|
7533
|
+
param: {
|
|
7534
|
+
deliveryId: string;
|
|
7535
|
+
id: string;
|
|
7536
|
+
orgId: string;
|
|
7537
|
+
};
|
|
7538
|
+
};
|
|
7539
|
+
} | {
|
|
7540
|
+
output: {
|
|
7541
|
+
error: {
|
|
7542
|
+
code: "param_invalid";
|
|
7543
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
7544
|
+
message: string;
|
|
7545
|
+
};
|
|
7546
|
+
requestId: string;
|
|
7547
|
+
};
|
|
7548
|
+
outputFormat: "json";
|
|
7549
|
+
status: 400;
|
|
7550
|
+
input: {
|
|
7551
|
+
param: {
|
|
7552
|
+
deliveryId: string;
|
|
7553
|
+
id: string;
|
|
7554
|
+
orgId: string;
|
|
7555
|
+
};
|
|
7556
|
+
};
|
|
7557
|
+
} | {
|
|
7558
|
+
output: {
|
|
7559
|
+
error: {
|
|
7560
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
7561
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
7562
|
+
message: string;
|
|
7563
|
+
};
|
|
7564
|
+
requestId: string;
|
|
7565
|
+
};
|
|
7566
|
+
outputFormat: "json";
|
|
7567
|
+
status: 401;
|
|
7568
|
+
input: {
|
|
7569
|
+
param: {
|
|
7570
|
+
deliveryId: string;
|
|
7571
|
+
id: string;
|
|
7572
|
+
orgId: string;
|
|
7573
|
+
};
|
|
7574
|
+
};
|
|
7575
|
+
} | {
|
|
7576
|
+
output: {
|
|
7577
|
+
error: {
|
|
7578
|
+
code: "forbidden";
|
|
7579
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
7580
|
+
message: string;
|
|
7672
7581
|
};
|
|
7582
|
+
requestId: string;
|
|
7673
7583
|
};
|
|
7674
7584
|
outputFormat: "json";
|
|
7675
|
-
status:
|
|
7585
|
+
status: 403;
|
|
7676
7586
|
input: {
|
|
7677
7587
|
param: {
|
|
7678
7588
|
deliveryId: string;
|
|
@@ -7680,21 +7590,17 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7680
7590
|
orgId: string;
|
|
7681
7591
|
};
|
|
7682
7592
|
};
|
|
7683
|
-
}
|
|
7684
|
-
};
|
|
7685
|
-
} & {
|
|
7686
|
-
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/webhooks/:id{wh_[A-Za-z0-9_-]+}/deliveries/:deliveryId/retry": {
|
|
7687
|
-
$post: {
|
|
7593
|
+
} | {
|
|
7688
7594
|
output: {
|
|
7689
7595
|
error: {
|
|
7690
|
-
code: "
|
|
7596
|
+
code: "organization_not_found";
|
|
7691
7597
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7692
7598
|
message: string;
|
|
7693
7599
|
};
|
|
7694
7600
|
requestId: string;
|
|
7695
7601
|
};
|
|
7696
7602
|
outputFormat: "json";
|
|
7697
|
-
status:
|
|
7603
|
+
status: 404;
|
|
7698
7604
|
input: {
|
|
7699
7605
|
param: {
|
|
7700
7606
|
deliveryId: string;
|
|
@@ -7705,14 +7611,50 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7705
7611
|
} | {
|
|
7706
7612
|
output: {
|
|
7707
7613
|
error: {
|
|
7708
|
-
code: "
|
|
7614
|
+
code: "webhooks_not_enabled";
|
|
7709
7615
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7710
7616
|
message: string;
|
|
7711
7617
|
};
|
|
7712
7618
|
requestId: string;
|
|
7713
7619
|
};
|
|
7714
7620
|
outputFormat: "json";
|
|
7715
|
-
status:
|
|
7621
|
+
status: 404;
|
|
7622
|
+
input: {
|
|
7623
|
+
param: {
|
|
7624
|
+
deliveryId: string;
|
|
7625
|
+
id: string;
|
|
7626
|
+
orgId: string;
|
|
7627
|
+
};
|
|
7628
|
+
};
|
|
7629
|
+
} | {
|
|
7630
|
+
output: {
|
|
7631
|
+
error: {
|
|
7632
|
+
code: "webhook_not_found";
|
|
7633
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
7634
|
+
message: string;
|
|
7635
|
+
};
|
|
7636
|
+
requestId: string;
|
|
7637
|
+
};
|
|
7638
|
+
outputFormat: "json";
|
|
7639
|
+
status: 404;
|
|
7640
|
+
input: {
|
|
7641
|
+
param: {
|
|
7642
|
+
deliveryId: string;
|
|
7643
|
+
id: string;
|
|
7644
|
+
orgId: string;
|
|
7645
|
+
};
|
|
7646
|
+
};
|
|
7647
|
+
} | {
|
|
7648
|
+
output: {
|
|
7649
|
+
error: {
|
|
7650
|
+
code: "delivery_not_found";
|
|
7651
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
7652
|
+
message: string;
|
|
7653
|
+
};
|
|
7654
|
+
requestId: string;
|
|
7655
|
+
};
|
|
7656
|
+
outputFormat: "json";
|
|
7657
|
+
status: 404;
|
|
7716
7658
|
input: {
|
|
7717
7659
|
param: {
|
|
7718
7660
|
deliveryId: string;
|
|
@@ -7738,6 +7680,45 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7738
7680
|
orgId: string;
|
|
7739
7681
|
};
|
|
7740
7682
|
};
|
|
7683
|
+
};
|
|
7684
|
+
};
|
|
7685
|
+
} & {
|
|
7686
|
+
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/webhooks/:id{wh_[A-Za-z0-9_-]+}/deliveries/:deliveryId/retry": {
|
|
7687
|
+
$post: {
|
|
7688
|
+
output: {
|
|
7689
|
+
delivered: boolean;
|
|
7690
|
+
error?: string | undefined;
|
|
7691
|
+
eventId: string;
|
|
7692
|
+
responseMs?: number | undefined;
|
|
7693
|
+
responseStatus?: number | undefined;
|
|
7694
|
+
};
|
|
7695
|
+
outputFormat: "json";
|
|
7696
|
+
status: 200;
|
|
7697
|
+
input: {
|
|
7698
|
+
param: {
|
|
7699
|
+
deliveryId: string;
|
|
7700
|
+
id: string;
|
|
7701
|
+
orgId: string;
|
|
7702
|
+
};
|
|
7703
|
+
};
|
|
7704
|
+
} | {
|
|
7705
|
+
output: {
|
|
7706
|
+
error: {
|
|
7707
|
+
code: "api_key_malformed";
|
|
7708
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
7709
|
+
message: string;
|
|
7710
|
+
};
|
|
7711
|
+
requestId: string;
|
|
7712
|
+
};
|
|
7713
|
+
outputFormat: "json";
|
|
7714
|
+
status: 400;
|
|
7715
|
+
input: {
|
|
7716
|
+
param: {
|
|
7717
|
+
deliveryId: string;
|
|
7718
|
+
id: string;
|
|
7719
|
+
orgId: string;
|
|
7720
|
+
};
|
|
7721
|
+
};
|
|
7741
7722
|
} | {
|
|
7742
7723
|
output: {
|
|
7743
7724
|
error: {
|
|
@@ -7756,6 +7737,24 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7756
7737
|
orgId: string;
|
|
7757
7738
|
};
|
|
7758
7739
|
};
|
|
7740
|
+
} | {
|
|
7741
|
+
output: {
|
|
7742
|
+
error: {
|
|
7743
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
7744
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
7745
|
+
message: string;
|
|
7746
|
+
};
|
|
7747
|
+
requestId: string;
|
|
7748
|
+
};
|
|
7749
|
+
outputFormat: "json";
|
|
7750
|
+
status: 401;
|
|
7751
|
+
input: {
|
|
7752
|
+
param: {
|
|
7753
|
+
deliveryId: string;
|
|
7754
|
+
id: string;
|
|
7755
|
+
orgId: string;
|
|
7756
|
+
};
|
|
7757
|
+
};
|
|
7759
7758
|
} | {
|
|
7760
7759
|
output: {
|
|
7761
7760
|
error: {
|
|
@@ -7848,14 +7847,15 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7848
7847
|
};
|
|
7849
7848
|
} | {
|
|
7850
7849
|
output: {
|
|
7851
|
-
|
|
7852
|
-
|
|
7853
|
-
|
|
7854
|
-
|
|
7855
|
-
|
|
7850
|
+
error: {
|
|
7851
|
+
code: "upstream_error";
|
|
7852
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
7853
|
+
message: string;
|
|
7854
|
+
};
|
|
7855
|
+
requestId: string;
|
|
7856
7856
|
};
|
|
7857
7857
|
outputFormat: "json";
|
|
7858
|
-
status:
|
|
7858
|
+
status: 502;
|
|
7859
7859
|
input: {
|
|
7860
7860
|
param: {
|
|
7861
7861
|
deliveryId: string;
|
|
@@ -7869,15 +7869,40 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7869
7869
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/webhooks/:id{wh_[A-Za-z0-9_-]+}": {
|
|
7870
7870
|
$patch: {
|
|
7871
7871
|
output: {
|
|
7872
|
-
|
|
7873
|
-
|
|
7874
|
-
|
|
7875
|
-
|
|
7872
|
+
chainId: number;
|
|
7873
|
+
createdAt: string;
|
|
7874
|
+
environment?: "production" | "sandbox" | undefined;
|
|
7875
|
+
eventType: "block:created" | "log:emitted" | "routes:deposit.updated" | "routes:transfer.updated" | "token:transfer" | "transaction:included";
|
|
7876
|
+
expiresAt?: string | undefined;
|
|
7877
|
+
failureCount: number;
|
|
7878
|
+
filters: {
|
|
7879
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
7880
|
+
};
|
|
7881
|
+
id: string;
|
|
7882
|
+
lastDeliveryAt?: string | undefined;
|
|
7883
|
+
status: "active" | "disabled" | "paused";
|
|
7884
|
+
updatedAt: string;
|
|
7885
|
+
context?: {
|
|
7886
|
+
description?: string | undefined;
|
|
7887
|
+
metadata?: {
|
|
7888
|
+
[x: string]: string;
|
|
7889
|
+
} | undefined;
|
|
7890
|
+
title?: string | undefined;
|
|
7891
|
+
} | undefined;
|
|
7892
|
+
destination: {
|
|
7893
|
+
type: "url";
|
|
7894
|
+
url: string;
|
|
7895
|
+
} | {
|
|
7896
|
+
type: "slack";
|
|
7897
|
+
url: "https://hooks.slack.com/…";
|
|
7898
|
+
} | {
|
|
7899
|
+
token: "[redacted]";
|
|
7900
|
+
type: "betterstack";
|
|
7901
|
+
url: string;
|
|
7876
7902
|
};
|
|
7877
|
-
requestId: string;
|
|
7878
7903
|
};
|
|
7879
7904
|
outputFormat: "json";
|
|
7880
|
-
status:
|
|
7905
|
+
status: 200;
|
|
7881
7906
|
input: {
|
|
7882
7907
|
param: {
|
|
7883
7908
|
id: string;
|
|
@@ -7891,14 +7916,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7891
7916
|
} | {
|
|
7892
7917
|
output: {
|
|
7893
7918
|
error: {
|
|
7894
|
-
code: "
|
|
7919
|
+
code: "api_key_malformed";
|
|
7895
7920
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7896
7921
|
message: string;
|
|
7897
7922
|
};
|
|
7898
7923
|
requestId: string;
|
|
7899
7924
|
};
|
|
7900
7925
|
outputFormat: "json";
|
|
7901
|
-
status:
|
|
7926
|
+
status: 400;
|
|
7902
7927
|
input: {
|
|
7903
7928
|
param: {
|
|
7904
7929
|
id: string;
|
|
@@ -7912,14 +7937,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7912
7937
|
} | {
|
|
7913
7938
|
output: {
|
|
7914
7939
|
error: {
|
|
7915
|
-
code: "
|
|
7940
|
+
code: "param_invalid";
|
|
7916
7941
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7917
7942
|
message: string;
|
|
7918
7943
|
};
|
|
7919
7944
|
requestId: string;
|
|
7920
7945
|
};
|
|
7921
7946
|
outputFormat: "json";
|
|
7922
|
-
status:
|
|
7947
|
+
status: 400;
|
|
7923
7948
|
input: {
|
|
7924
7949
|
param: {
|
|
7925
7950
|
id: string;
|
|
@@ -7933,7 +7958,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7933
7958
|
} | {
|
|
7934
7959
|
output: {
|
|
7935
7960
|
error: {
|
|
7936
|
-
code: "
|
|
7961
|
+
code: "body_invalid";
|
|
7937
7962
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7938
7963
|
message: string;
|
|
7939
7964
|
};
|
|
@@ -7954,14 +7979,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
7954
7979
|
} | {
|
|
7955
7980
|
output: {
|
|
7956
7981
|
error: {
|
|
7957
|
-
code: "
|
|
7982
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
7958
7983
|
details?: readonly Response.error.Detail[] | undefined;
|
|
7959
7984
|
message: string;
|
|
7960
7985
|
};
|
|
7961
7986
|
requestId: string;
|
|
7962
7987
|
};
|
|
7963
7988
|
outputFormat: "json";
|
|
7964
|
-
status:
|
|
7989
|
+
status: 401;
|
|
7965
7990
|
input: {
|
|
7966
7991
|
param: {
|
|
7967
7992
|
id: string;
|
|
@@ -8058,40 +8083,15 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
8058
8083
|
};
|
|
8059
8084
|
} | {
|
|
8060
8085
|
output: {
|
|
8061
|
-
|
|
8062
|
-
|
|
8063
|
-
|
|
8064
|
-
|
|
8065
|
-
expiresAt?: string | undefined;
|
|
8066
|
-
failureCount: number;
|
|
8067
|
-
filters: {
|
|
8068
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
8069
|
-
};
|
|
8070
|
-
id: string;
|
|
8071
|
-
lastDeliveryAt?: string | undefined;
|
|
8072
|
-
status: "active" | "disabled" | "paused";
|
|
8073
|
-
updatedAt: string;
|
|
8074
|
-
context?: {
|
|
8075
|
-
description?: string | undefined;
|
|
8076
|
-
metadata?: {
|
|
8077
|
-
[x: string]: string;
|
|
8078
|
-
} | undefined;
|
|
8079
|
-
title?: string | undefined;
|
|
8080
|
-
} | undefined;
|
|
8081
|
-
destination: {
|
|
8082
|
-
type: "url";
|
|
8083
|
-
url: string;
|
|
8084
|
-
} | {
|
|
8085
|
-
type: "slack";
|
|
8086
|
-
url: "https://hooks.slack.com/…";
|
|
8087
|
-
} | {
|
|
8088
|
-
token: "[redacted]";
|
|
8089
|
-
type: "betterstack";
|
|
8090
|
-
url: string;
|
|
8086
|
+
error: {
|
|
8087
|
+
code: "upstream_error";
|
|
8088
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
8089
|
+
message: string;
|
|
8091
8090
|
};
|
|
8091
|
+
requestId: string;
|
|
8092
8092
|
};
|
|
8093
8093
|
outputFormat: "json";
|
|
8094
|
-
status:
|
|
8094
|
+
status: 502;
|
|
8095
8095
|
input: {
|
|
8096
8096
|
param: {
|
|
8097
8097
|
id: string;
|
|
@@ -8108,15 +8108,10 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
8108
8108
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/webhooks/:id{wh_[A-Za-z0-9_-]+}": {
|
|
8109
8109
|
$delete: {
|
|
8110
8110
|
output: {
|
|
8111
|
-
|
|
8112
|
-
code: "api_key_malformed";
|
|
8113
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
8114
|
-
message: string;
|
|
8115
|
-
};
|
|
8116
|
-
requestId: string;
|
|
8111
|
+
id: string;
|
|
8117
8112
|
};
|
|
8118
8113
|
outputFormat: "json";
|
|
8119
|
-
status:
|
|
8114
|
+
status: 200;
|
|
8120
8115
|
input: {
|
|
8121
8116
|
param: {
|
|
8122
8117
|
id: string;
|
|
@@ -8126,14 +8121,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
8126
8121
|
} | {
|
|
8127
8122
|
output: {
|
|
8128
8123
|
error: {
|
|
8129
|
-
code: "
|
|
8124
|
+
code: "api_key_malformed";
|
|
8130
8125
|
details?: readonly Response.error.Detail[] | undefined;
|
|
8131
8126
|
message: string;
|
|
8132
8127
|
};
|
|
8133
8128
|
requestId: string;
|
|
8134
8129
|
};
|
|
8135
8130
|
outputFormat: "json";
|
|
8136
|
-
status:
|
|
8131
|
+
status: 400;
|
|
8137
8132
|
input: {
|
|
8138
8133
|
param: {
|
|
8139
8134
|
id: string;
|
|
@@ -8143,14 +8138,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
8143
8138
|
} | {
|
|
8144
8139
|
output: {
|
|
8145
8140
|
error: {
|
|
8146
|
-
code: "
|
|
8141
|
+
code: "param_invalid";
|
|
8147
8142
|
details?: readonly Response.error.Detail[] | undefined;
|
|
8148
8143
|
message: string;
|
|
8149
8144
|
};
|
|
8150
8145
|
requestId: string;
|
|
8151
8146
|
};
|
|
8152
8147
|
outputFormat: "json";
|
|
8153
|
-
status:
|
|
8148
|
+
status: 400;
|
|
8154
8149
|
input: {
|
|
8155
8150
|
param: {
|
|
8156
8151
|
id: string;
|
|
@@ -8160,14 +8155,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
8160
8155
|
} | {
|
|
8161
8156
|
output: {
|
|
8162
8157
|
error: {
|
|
8163
|
-
code: "
|
|
8158
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
8164
8159
|
details?: readonly Response.error.Detail[] | undefined;
|
|
8165
8160
|
message: string;
|
|
8166
8161
|
};
|
|
8167
8162
|
requestId: string;
|
|
8168
8163
|
};
|
|
8169
8164
|
outputFormat: "json";
|
|
8170
|
-
status:
|
|
8165
|
+
status: 401;
|
|
8171
8166
|
input: {
|
|
8172
8167
|
param: {
|
|
8173
8168
|
id: string;
|
|
@@ -8244,10 +8239,15 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
|
|
|
8244
8239
|
};
|
|
8245
8240
|
} | {
|
|
8246
8241
|
output: {
|
|
8247
|
-
|
|
8242
|
+
error: {
|
|
8243
|
+
code: "upstream_error";
|
|
8244
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
8245
|
+
message: string;
|
|
8246
|
+
};
|
|
8247
|
+
requestId: string;
|
|
8248
8248
|
};
|
|
8249
8249
|
outputFormat: "json";
|
|
8250
|
-
status:
|
|
8250
|
+
status: 502;
|
|
8251
8251
|
input: {
|
|
8252
8252
|
param: {
|
|
8253
8253
|
id: string;
|