tapimo 0.8.0 → 0.10.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 +7410 -7613
- package/dist/App.d.ts.map +1 -1
- package/dist/App.js +0 -1
- package/dist/App.js.map +1 -1
- package/dist/Webhooks.d.ts +21 -20
- package/dist/Webhooks.d.ts.map +1 -1
- package/dist/Webhooks.js +66 -23
- package/dist/Webhooks.js.map +1 -1
- package/dist/admin/apps/verified-tokens.d.ts +74 -74
- package/dist/apps/Zones.d.ts +34 -22
- package/dist/apps/Zones.d.ts.map +1 -1
- package/dist/apps/Zones.js +9 -8
- package/dist/apps/Zones.js.map +1 -1
- package/dist/apps/data/App.d.ts +3120 -2782
- package/dist/apps/data/App.d.ts.map +1 -1
- package/dist/apps/data/FxOracle.d.ts +4 -5
- package/dist/apps/data/FxOracle.d.ts.map +1 -1
- package/dist/apps/data/FxOracle.js +19 -4
- package/dist/apps/data/FxOracle.js.map +1 -1
- package/dist/apps/data/routes/activities.d.ts.map +1 -1
- package/dist/apps/data/routes/activities.js +32 -27
- package/dist/apps/data/routes/activities.js.map +1 -1
- package/dist/apps/data/routes/addresses.d.ts +283 -52
- package/dist/apps/data/routes/addresses.d.ts.map +1 -1
- package/dist/apps/data/routes/balances.d.ts +291 -21
- package/dist/apps/data/routes/balances.d.ts.map +1 -1
- package/dist/apps/data/routes/balances.js +232 -66
- package/dist/apps/data/routes/balances.js.map +1 -1
- package/dist/apps/data/routes/blocks.d.ts +4 -4
- package/dist/apps/data/routes/coingecko.d.ts +54 -54
- package/dist/apps/data/routes/earn.d.ts +642 -126
- package/dist/apps/data/routes/earn.d.ts.map +1 -1
- package/dist/apps/data/routes/earn.js +627 -58
- package/dist/apps/data/routes/earn.js.map +1 -1
- package/dist/apps/data/routes/exchanges.d.ts +120 -120
- package/dist/apps/data/routes/exchanges.d.ts.map +1 -1
- package/dist/apps/data/routes/exchanges.js +114 -118
- package/dist/apps/data/routes/exchanges.js.map +1 -1
- package/dist/apps/data/routes/receipts.d.ts.map +1 -1
- package/dist/apps/data/routes/receipts.js +68 -47
- package/dist/apps/data/routes/receipts.js.map +1 -1
- package/dist/apps/data/routes/tokens.d.ts +2 -0
- package/dist/apps/data/routes/tokens.d.ts.map +1 -1
- package/dist/apps/data/routes/transactions.d.ts +59 -51
- package/dist/apps/data/routes/transactions.d.ts.map +1 -1
- package/dist/apps/data/routes/transactions.js +25 -23
- package/dist/apps/data/routes/transactions.js.map +1 -1
- package/dist/apps/data/routes/transfers.d.ts +40 -18
- package/dist/apps/data/routes/transfers.d.ts.map +1 -1
- package/dist/apps/data/routes/transfers.js +618 -105
- package/dist/apps/data/routes/transfers.js.map +1 -1
- package/dist/apps/data/routes/valuation.d.ts +21 -21
- package/dist/apps/data/routes/valuation.d.ts.map +1 -1
- package/dist/apps/data/routes/valuation.js +2 -2
- package/dist/apps/data/routes/valuation.js.map +1 -1
- package/dist/apps/data/routes/verified-tokens.d.ts +37 -37
- package/dist/apps/data/routes/webhooks.d.ts +102 -505
- package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/data/routes/webhooks.js +484 -342
- package/dist/apps/data/routes/webhooks.js.map +1 -1
- package/dist/apps/data/routes/zones.d.ts +12 -12
- package/dist/apps/data/routes/zones.d.ts.map +1 -1
- package/dist/apps/data/routes/zones.js +3 -1
- package/dist/apps/data/routes/zones.js.map +1 -1
- package/dist/apps/funding/App.d.ts +127 -386
- package/dist/apps/funding/App.d.ts.map +1 -1
- package/dist/apps/funding/App.js +20 -5
- package/dist/apps/funding/App.js.map +1 -1
- package/dist/apps/funding/routes/deposit-addresses.d.ts +141 -532
- package/dist/apps/funding/routes/deposit-addresses.d.ts.map +1 -1
- package/dist/apps/funding/routes/deposit-addresses.js +21 -103
- package/dist/apps/funding/routes/deposit-addresses.js.map +1 -1
- package/dist/apps/funding/routes/transfers.d.ts +4 -4
- package/dist/apps/funding/routes/transfers.js +5 -5
- package/dist/apps/funding/routes/transfers.js.map +1 -1
- package/dist/apps/management/App.d.ts +429 -727
- package/dist/apps/management/App.d.ts.map +1 -1
- package/dist/apps/management/routes/api-keys.d.ts +24 -24
- package/dist/apps/management/routes/billing.d.ts +72 -72
- package/dist/apps/management/routes/faucet.d.ts +6 -6
- package/dist/apps/management/routes/invite-links.d.ts +38 -38
- package/dist/apps/management/routes/me.d.ts +6 -6
- package/dist/apps/management/routes/members.d.ts +30 -30
- package/dist/apps/management/routes/projects.d.ts +20 -20
- package/dist/apps/management/routes/usage.d.ts +24 -24
- package/dist/apps/management/routes/webhooks.d.ts +158 -573
- package/dist/apps/management/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/mpp/App.d.ts +12 -0
- package/dist/apps/mpp/App.d.ts.map +1 -1
- package/dist/apps/mpp/Mpp.d.ts +3 -0
- package/dist/apps/mpp/Mpp.d.ts.map +1 -1
- package/dist/apps/mpp/Mpp.js +3 -0
- package/dist/apps/mpp/Mpp.js.map +1 -1
- package/dist/apps/mpp/internal/Adapter.d.ts.map +1 -1
- package/dist/apps/mpp/internal/Adapter.js +9 -2
- package/dist/apps/mpp/internal/Adapter.js.map +1 -1
- package/dist/db/Db.d.ts +2 -2
- package/dist/db/Db.d.ts.map +1 -1
- package/dist/db/Db.js +25 -15
- package/dist/db/Db.js.map +1 -1
- package/dist/db/tables/fundingDeposits.d.ts +18 -1
- package/dist/db/tables/fundingDeposits.d.ts.map +1 -1
- package/dist/db/tables/fundingDeposits.js +46 -2
- package/dist/db/tables/fundingDeposits.js.map +1 -1
- package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -1
- package/dist/db/tables/sponsoredTransactions.js +4 -1
- package/dist/db/tables/sponsoredTransactions.js.map +1 -1
- package/dist/db/tables/webhookSubscriptions.d.ts +56 -3
- package/dist/db/tables/webhookSubscriptions.d.ts.map +1 -1
- package/dist/db/tables/webhookSubscriptions.js +76 -3
- package/dist/db/tables/webhookSubscriptions.js.map +1 -1
- package/dist/internal/Auth.d.ts +4 -0
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +11 -2
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/MetricSink.d.ts +112 -3
- package/dist/internal/MetricSink.d.ts.map +1 -1
- package/dist/internal/MetricSink.js +116 -3
- package/dist/internal/MetricSink.js.map +1 -1
- package/dist/internal/Schema.js +1 -1
- package/dist/internal/Schema.js.map +1 -1
- package/dist/internal/Tidx.d.ts +1 -3
- package/dist/internal/Tidx.d.ts.map +1 -1
- package/dist/internal/Tidx.js +1 -3
- package/dist/internal/Tidx.js.map +1 -1
- package/dist/internal/Viem.d.ts.map +1 -1
- package/dist/internal/Viem.js +2 -1
- package/dist/internal/Viem.js.map +1 -1
- package/dist/internal/WebhookDestination.d.ts +2 -0
- package/dist/internal/WebhookDestination.d.ts.map +1 -1
- package/dist/internal/WebhookDestination.js +11 -0
- package/dist/internal/WebhookDestination.js.map +1 -1
- package/dist/internal/WebhookTransfer.d.ts +55 -0
- package/dist/internal/WebhookTransfer.d.ts.map +1 -0
- package/dist/internal/WebhookTransfer.js +296 -0
- package/dist/internal/WebhookTransfer.js.map +1 -0
- package/dist/internal/Webhooks.d.ts +37 -0
- package/dist/internal/Webhooks.d.ts.map +1 -1
- package/dist/internal/Webhooks.js +87 -13
- package/dist/internal/Webhooks.js.map +1 -1
- package/dist/internal/funding/Provider.d.ts +10 -6
- package/dist/internal/funding/Provider.d.ts.map +1 -1
- package/dist/internal/funding/Provider.js +11 -7
- package/dist/internal/funding/Provider.js.map +1 -1
- package/dist/internal/funding/Reconciliation.d.ts.map +1 -1
- package/dist/internal/funding/Reconciliation.js +229 -16
- package/dist/internal/funding/Reconciliation.js.map +1 -1
- package/dist/internal/funding/providers/relay.d.ts +3 -0
- package/dist/internal/funding/providers/relay.d.ts.map +1 -1
- package/dist/internal/funding/providers/relay.js +18 -3
- package/dist/internal/funding/providers/relay.js.map +1 -1
- package/package.json +3 -3
- package/src/App.test.ts +32 -0
- package/src/App.ts +4 -1
- package/src/Client.test-d.ts +116 -38
- package/src/Webhooks.bench.ts +714 -0
- package/src/Webhooks.memory.bench.ts +250 -0
- package/src/Webhooks.test.ts +77 -6
- package/src/Webhooks.ts +83 -29
- package/src/apps/Zones.test.ts +5 -4
- package/src/apps/Zones.ts +9 -8
- package/src/apps/composition.test.ts +39 -10
- package/src/apps/data/FxOracle.test.ts +18 -0
- package/src/apps/data/FxOracle.ts +28 -5
- package/src/apps/data/routes/activities.test.ts +19 -0
- package/src/apps/data/routes/activities.ts +34 -30
- package/src/apps/data/routes/balances.test.ts +161 -10
- package/src/apps/data/routes/balances.ts +339 -147
- package/src/apps/data/routes/blocks.test.ts +12 -6
- package/src/apps/data/routes/earn.test.ts +286 -9
- package/src/apps/data/routes/earn.ts +841 -58
- package/src/apps/data/routes/exchanges.test.ts +7 -6
- package/src/apps/data/routes/exchanges.ts +124 -117
- package/src/apps/data/routes/receipts.test.ts +24 -7
- package/src/apps/data/routes/receipts.ts +67 -50
- package/src/apps/data/routes/tokens.test.ts +51 -0
- package/src/apps/data/routes/transactions.test.ts +42 -0
- package/src/apps/data/routes/transactions.ts +44 -39
- package/src/apps/data/routes/transfers.test.ts +402 -24
- package/src/apps/data/routes/transfers.ts +708 -101
- package/src/apps/data/routes/valuation.test.ts +26 -0
- package/src/apps/data/routes/valuation.ts +6 -2
- package/src/apps/data/routes/webhooks.test.ts +414 -130
- package/src/apps/data/routes/webhooks.ts +603 -419
- package/src/apps/data/routes/zones.ts +6 -1
- package/src/apps/funding/App.ts +20 -5
- package/src/apps/funding/routes/deposit-addresses.test.ts +43 -22
- package/src/apps/funding/routes/deposit-addresses.ts +34 -117
- package/src/apps/funding/routes/quotes.test.ts +1 -1
- package/src/apps/funding/routes/transfers.test.ts +6 -25
- package/src/apps/funding/routes/transfers.ts +5 -5
- package/src/apps/mpp/Mpp.test.ts +13 -1
- package/src/apps/mpp/Mpp.ts +8 -0
- package/src/apps/mpp/internal/Adapter.ts +10 -2
- package/src/db/Db.test.ts +40 -6
- package/src/db/Db.ts +42 -19
- package/src/db/tables/fundingDeposits.test.ts +101 -0
- package/src/db/tables/fundingDeposits.ts +71 -2
- package/src/db/tables/sponsoredTransactions.ts +9 -2
- package/src/db/tables/webhookSubscriptions.ts +116 -4
- package/src/internal/Auth.test.ts +28 -0
- package/src/internal/Auth.ts +15 -1
- package/src/internal/EarnVaults.test.ts +2 -2
- package/src/internal/MetricSink.test.ts +518 -0
- package/src/internal/MetricSink.ts +266 -9
- package/src/internal/Schema.ts +1 -1
- package/src/internal/Tidx.test.ts +4 -4
- package/src/internal/Tidx.ts +1 -3
- package/src/internal/Viem.test.ts +8 -0
- package/src/internal/Viem.ts +2 -1
- package/src/internal/WebhookDestination.test.ts +20 -0
- package/src/internal/WebhookDestination.ts +10 -0
- package/src/internal/WebhookTransfer.ts +426 -0
- package/src/internal/Webhooks.test.ts +137 -0
- package/src/internal/Webhooks.ts +131 -17
- package/src/internal/funding/Provider.test.ts +47 -7
- package/src/internal/funding/Provider.ts +16 -11
- package/src/internal/funding/Reconciliation.local.test.ts +3 -1
- package/src/internal/funding/Reconciliation.test.ts +1532 -54
- package/src/internal/funding/Reconciliation.ts +296 -53
- package/src/internal/funding/SourceObservation.test.ts +3 -2
- package/src/internal/funding/providers/relay.test.ts +1 -4
- package/src/internal/funding/providers/relay.ts +23 -3
|
@@ -107,14 +107,14 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
107
107
|
} | {
|
|
108
108
|
output: {
|
|
109
109
|
error: {
|
|
110
|
-
code: "
|
|
110
|
+
code: "upstream_error";
|
|
111
111
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
112
112
|
message: string;
|
|
113
113
|
};
|
|
114
114
|
requestId: string;
|
|
115
115
|
};
|
|
116
116
|
outputFormat: "json";
|
|
117
|
-
status:
|
|
117
|
+
status: 502;
|
|
118
118
|
input: {
|
|
119
119
|
query: {
|
|
120
120
|
destinationToken?: string | string[];
|
|
@@ -128,14 +128,14 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
128
128
|
} | {
|
|
129
129
|
output: {
|
|
130
130
|
error: {
|
|
131
|
-
code: "
|
|
131
|
+
code: "api_key_malformed";
|
|
132
132
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
133
133
|
message: string;
|
|
134
134
|
};
|
|
135
135
|
requestId: string;
|
|
136
136
|
};
|
|
137
137
|
outputFormat: "json";
|
|
138
|
-
status:
|
|
138
|
+
status: 400;
|
|
139
139
|
input: {
|
|
140
140
|
query: {
|
|
141
141
|
destinationToken?: string | string[];
|
|
@@ -149,14 +149,14 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
149
149
|
} | {
|
|
150
150
|
output: {
|
|
151
151
|
error: {
|
|
152
|
-
code: "
|
|
152
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
153
153
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
154
154
|
message: string;
|
|
155
155
|
};
|
|
156
156
|
requestId: string;
|
|
157
157
|
};
|
|
158
158
|
outputFormat: "json";
|
|
159
|
-
status:
|
|
159
|
+
status: 401;
|
|
160
160
|
input: {
|
|
161
161
|
query: {
|
|
162
162
|
destinationToken?: string | string[];
|
|
@@ -170,14 +170,14 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
170
170
|
} | {
|
|
171
171
|
output: {
|
|
172
172
|
error: {
|
|
173
|
-
code: "
|
|
173
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
174
174
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
175
175
|
message: string;
|
|
176
176
|
};
|
|
177
177
|
requestId: string;
|
|
178
178
|
};
|
|
179
179
|
outputFormat: "json";
|
|
180
|
-
status:
|
|
180
|
+
status: 403;
|
|
181
181
|
input: {
|
|
182
182
|
query: {
|
|
183
183
|
destinationToken?: string | string[];
|
|
@@ -191,14 +191,14 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
191
191
|
} | {
|
|
192
192
|
output: {
|
|
193
193
|
error: {
|
|
194
|
-
code: "
|
|
194
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
195
195
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
196
196
|
message: string;
|
|
197
197
|
};
|
|
198
198
|
requestId: string;
|
|
199
199
|
};
|
|
200
200
|
outputFormat: "json";
|
|
201
|
-
status:
|
|
201
|
+
status: 429;
|
|
202
202
|
input: {
|
|
203
203
|
query: {
|
|
204
204
|
destinationToken?: string | string[];
|
|
@@ -212,14 +212,14 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
212
212
|
} | {
|
|
213
213
|
output: {
|
|
214
214
|
error: {
|
|
215
|
-
code: "
|
|
215
|
+
code: "query_invalid";
|
|
216
216
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
217
217
|
message: string;
|
|
218
218
|
};
|
|
219
219
|
requestId: string;
|
|
220
220
|
};
|
|
221
221
|
outputFormat: "json";
|
|
222
|
-
status:
|
|
222
|
+
status: 400;
|
|
223
223
|
input: {
|
|
224
224
|
query: {
|
|
225
225
|
destinationToken?: string | string[];
|
|
@@ -386,14 +386,14 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
386
386
|
$get: {
|
|
387
387
|
output: {
|
|
388
388
|
error: {
|
|
389
|
-
code: "
|
|
389
|
+
code: "upstream_error";
|
|
390
390
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
391
391
|
message: string;
|
|
392
392
|
};
|
|
393
393
|
requestId: string;
|
|
394
394
|
};
|
|
395
395
|
outputFormat: "json";
|
|
396
|
-
status:
|
|
396
|
+
status: 502;
|
|
397
397
|
input: {
|
|
398
398
|
query?: {
|
|
399
399
|
cursor?: string | string[];
|
|
@@ -405,14 +405,14 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
405
405
|
} | {
|
|
406
406
|
output: {
|
|
407
407
|
error: {
|
|
408
|
-
code: "
|
|
408
|
+
code: "api_key_malformed";
|
|
409
409
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
410
410
|
message: string;
|
|
411
411
|
};
|
|
412
412
|
requestId: string;
|
|
413
413
|
};
|
|
414
414
|
outputFormat: "json";
|
|
415
|
-
status:
|
|
415
|
+
status: 400;
|
|
416
416
|
input: {
|
|
417
417
|
query?: {
|
|
418
418
|
cursor?: string | string[];
|
|
@@ -424,14 +424,14 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
424
424
|
} | {
|
|
425
425
|
output: {
|
|
426
426
|
error: {
|
|
427
|
-
code: "
|
|
427
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
428
428
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
429
429
|
message: string;
|
|
430
430
|
};
|
|
431
431
|
requestId: string;
|
|
432
432
|
};
|
|
433
433
|
outputFormat: "json";
|
|
434
|
-
status:
|
|
434
|
+
status: 401;
|
|
435
435
|
input: {
|
|
436
436
|
query?: {
|
|
437
437
|
cursor?: string | string[];
|
|
@@ -443,14 +443,14 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
443
443
|
} | {
|
|
444
444
|
output: {
|
|
445
445
|
error: {
|
|
446
|
-
code: "
|
|
446
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
447
447
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
448
448
|
message: string;
|
|
449
449
|
};
|
|
450
450
|
requestId: string;
|
|
451
451
|
};
|
|
452
452
|
outputFormat: "json";
|
|
453
|
-
status:
|
|
453
|
+
status: 403;
|
|
454
454
|
input: {
|
|
455
455
|
query?: {
|
|
456
456
|
cursor?: string | string[];
|
|
@@ -462,14 +462,14 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
462
462
|
} | {
|
|
463
463
|
output: {
|
|
464
464
|
error: {
|
|
465
|
-
code: "
|
|
465
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
466
466
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
467
467
|
message: string;
|
|
468
468
|
};
|
|
469
469
|
requestId: string;
|
|
470
470
|
};
|
|
471
471
|
outputFormat: "json";
|
|
472
|
-
status:
|
|
472
|
+
status: 429;
|
|
473
473
|
input: {
|
|
474
474
|
query?: {
|
|
475
475
|
cursor?: string | string[];
|
|
@@ -481,14 +481,14 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
481
481
|
} | {
|
|
482
482
|
output: {
|
|
483
483
|
error: {
|
|
484
|
-
code: "
|
|
484
|
+
code: "query_invalid";
|
|
485
485
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
486
486
|
message: string;
|
|
487
487
|
};
|
|
488
488
|
requestId: string;
|
|
489
489
|
};
|
|
490
490
|
outputFormat: "json";
|
|
491
|
-
status:
|
|
491
|
+
status: 400;
|
|
492
492
|
input: {
|
|
493
493
|
query?: {
|
|
494
494
|
cursor?: string | string[];
|
|
@@ -650,14 +650,14 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
650
650
|
$get: {
|
|
651
651
|
output: {
|
|
652
652
|
error: {
|
|
653
|
-
code: "
|
|
653
|
+
code: "upstream_error";
|
|
654
654
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
655
655
|
message: string;
|
|
656
656
|
};
|
|
657
657
|
requestId: string;
|
|
658
658
|
};
|
|
659
659
|
outputFormat: "json";
|
|
660
|
-
status:
|
|
660
|
+
status: 502;
|
|
661
661
|
input: {
|
|
662
662
|
param: {
|
|
663
663
|
id: string;
|
|
@@ -666,14 +666,14 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
666
666
|
} | {
|
|
667
667
|
output: {
|
|
668
668
|
error: {
|
|
669
|
-
code: "
|
|
669
|
+
code: "api_key_malformed";
|
|
670
670
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
671
671
|
message: string;
|
|
672
672
|
};
|
|
673
673
|
requestId: string;
|
|
674
674
|
};
|
|
675
675
|
outputFormat: "json";
|
|
676
|
-
status:
|
|
676
|
+
status: 400;
|
|
677
677
|
input: {
|
|
678
678
|
param: {
|
|
679
679
|
id: string;
|
|
@@ -682,14 +682,14 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
682
682
|
} | {
|
|
683
683
|
output: {
|
|
684
684
|
error: {
|
|
685
|
-
code: "
|
|
685
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
686
686
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
687
687
|
message: string;
|
|
688
688
|
};
|
|
689
689
|
requestId: string;
|
|
690
690
|
};
|
|
691
691
|
outputFormat: "json";
|
|
692
|
-
status:
|
|
692
|
+
status: 401;
|
|
693
693
|
input: {
|
|
694
694
|
param: {
|
|
695
695
|
id: string;
|
|
@@ -698,14 +698,14 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
698
698
|
} | {
|
|
699
699
|
output: {
|
|
700
700
|
error: {
|
|
701
|
-
code: "
|
|
701
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
702
702
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
703
703
|
message: string;
|
|
704
704
|
};
|
|
705
705
|
requestId: string;
|
|
706
706
|
};
|
|
707
707
|
outputFormat: "json";
|
|
708
|
-
status:
|
|
708
|
+
status: 403;
|
|
709
709
|
input: {
|
|
710
710
|
param: {
|
|
711
711
|
id: string;
|
|
@@ -714,14 +714,14 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
714
714
|
} | {
|
|
715
715
|
output: {
|
|
716
716
|
error: {
|
|
717
|
-
code: "
|
|
717
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
718
718
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
719
719
|
message: string;
|
|
720
720
|
};
|
|
721
721
|
requestId: string;
|
|
722
722
|
};
|
|
723
723
|
outputFormat: "json";
|
|
724
|
-
status:
|
|
724
|
+
status: 429;
|
|
725
725
|
input: {
|
|
726
726
|
param: {
|
|
727
727
|
id: string;
|
|
@@ -899,14 +899,14 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
899
899
|
$post: {
|
|
900
900
|
output: {
|
|
901
901
|
error: {
|
|
902
|
-
code: "
|
|
902
|
+
code: "upstream_error";
|
|
903
903
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
904
904
|
message: string;
|
|
905
905
|
};
|
|
906
906
|
requestId: string;
|
|
907
907
|
};
|
|
908
908
|
outputFormat: "json";
|
|
909
|
-
status:
|
|
909
|
+
status: 502;
|
|
910
910
|
input: {
|
|
911
911
|
header: {
|
|
912
912
|
'idempotency-key': string;
|
|
@@ -926,14 +926,14 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
926
926
|
} | {
|
|
927
927
|
output: {
|
|
928
928
|
error: {
|
|
929
|
-
code: "
|
|
929
|
+
code: "api_key_malformed";
|
|
930
930
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
931
931
|
message: string;
|
|
932
932
|
};
|
|
933
933
|
requestId: string;
|
|
934
934
|
};
|
|
935
935
|
outputFormat: "json";
|
|
936
|
-
status:
|
|
936
|
+
status: 400;
|
|
937
937
|
input: {
|
|
938
938
|
header: {
|
|
939
939
|
'idempotency-key': string;
|
|
@@ -953,14 +953,14 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
953
953
|
} | {
|
|
954
954
|
output: {
|
|
955
955
|
error: {
|
|
956
|
-
code: "
|
|
956
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
957
957
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
958
958
|
message: string;
|
|
959
959
|
};
|
|
960
960
|
requestId: string;
|
|
961
961
|
};
|
|
962
962
|
outputFormat: "json";
|
|
963
|
-
status:
|
|
963
|
+
status: 401;
|
|
964
964
|
input: {
|
|
965
965
|
header: {
|
|
966
966
|
'idempotency-key': string;
|
|
@@ -980,14 +980,14 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
980
980
|
} | {
|
|
981
981
|
output: {
|
|
982
982
|
error: {
|
|
983
|
-
code: "
|
|
983
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
984
984
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
985
985
|
message: string;
|
|
986
986
|
};
|
|
987
987
|
requestId: string;
|
|
988
988
|
};
|
|
989
989
|
outputFormat: "json";
|
|
990
|
-
status:
|
|
990
|
+
status: 403;
|
|
991
991
|
input: {
|
|
992
992
|
header: {
|
|
993
993
|
'idempotency-key': string;
|
|
@@ -1007,14 +1007,14 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
1007
1007
|
} | {
|
|
1008
1008
|
output: {
|
|
1009
1009
|
error: {
|
|
1010
|
-
code: "
|
|
1010
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1011
1011
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1012
1012
|
message: string;
|
|
1013
1013
|
};
|
|
1014
1014
|
requestId: string;
|
|
1015
1015
|
};
|
|
1016
1016
|
outputFormat: "json";
|
|
1017
|
-
status:
|
|
1017
|
+
status: 429;
|
|
1018
1018
|
input: {
|
|
1019
1019
|
header: {
|
|
1020
1020
|
'idempotency-key': string;
|
|
@@ -1693,14 +1693,14 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
1693
1693
|
$post: {
|
|
1694
1694
|
output: {
|
|
1695
1695
|
error: {
|
|
1696
|
-
code: "
|
|
1696
|
+
code: "upstream_error";
|
|
1697
1697
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1698
1698
|
message: string;
|
|
1699
1699
|
};
|
|
1700
1700
|
requestId: string;
|
|
1701
1701
|
};
|
|
1702
1702
|
outputFormat: "json";
|
|
1703
|
-
status:
|
|
1703
|
+
status: 502;
|
|
1704
1704
|
input: {
|
|
1705
1705
|
header: {
|
|
1706
1706
|
'idempotency-key': string;
|
|
@@ -1719,14 +1719,14 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
1719
1719
|
} | {
|
|
1720
1720
|
output: {
|
|
1721
1721
|
error: {
|
|
1722
|
-
code: "
|
|
1722
|
+
code: "api_key_malformed";
|
|
1723
1723
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1724
1724
|
message: string;
|
|
1725
1725
|
};
|
|
1726
1726
|
requestId: string;
|
|
1727
1727
|
};
|
|
1728
1728
|
outputFormat: "json";
|
|
1729
|
-
status:
|
|
1729
|
+
status: 400;
|
|
1730
1730
|
input: {
|
|
1731
1731
|
header: {
|
|
1732
1732
|
'idempotency-key': string;
|
|
@@ -1745,14 +1745,14 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
1745
1745
|
} | {
|
|
1746
1746
|
output: {
|
|
1747
1747
|
error: {
|
|
1748
|
-
code: "
|
|
1748
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1749
1749
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1750
1750
|
message: string;
|
|
1751
1751
|
};
|
|
1752
1752
|
requestId: string;
|
|
1753
1753
|
};
|
|
1754
1754
|
outputFormat: "json";
|
|
1755
|
-
status:
|
|
1755
|
+
status: 401;
|
|
1756
1756
|
input: {
|
|
1757
1757
|
header: {
|
|
1758
1758
|
'idempotency-key': string;
|
|
@@ -1771,14 +1771,14 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
1771
1771
|
} | {
|
|
1772
1772
|
output: {
|
|
1773
1773
|
error: {
|
|
1774
|
-
code: "
|
|
1774
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
1775
1775
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1776
1776
|
message: string;
|
|
1777
1777
|
};
|
|
1778
1778
|
requestId: string;
|
|
1779
1779
|
};
|
|
1780
1780
|
outputFormat: "json";
|
|
1781
|
-
status:
|
|
1781
|
+
status: 403;
|
|
1782
1782
|
input: {
|
|
1783
1783
|
header: {
|
|
1784
1784
|
'idempotency-key': string;
|
|
@@ -1797,14 +1797,14 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
1797
1797
|
} | {
|
|
1798
1798
|
output: {
|
|
1799
1799
|
error: {
|
|
1800
|
-
code: "
|
|
1800
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1801
1801
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1802
1802
|
message: string;
|
|
1803
1803
|
};
|
|
1804
1804
|
requestId: string;
|
|
1805
1805
|
};
|
|
1806
1806
|
outputFormat: "json";
|
|
1807
|
-
status:
|
|
1807
|
+
status: 429;
|
|
1808
1808
|
input: {
|
|
1809
1809
|
header: {
|
|
1810
1810
|
'idempotency-key': string;
|
|
@@ -2104,113 +2104,8 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
2104
2104
|
};
|
|
2105
2105
|
};
|
|
2106
2106
|
} & {
|
|
2107
|
-
"/v1/funding/deposit-addresses/:id{fda_[A-Za-z0-9_-]+}
|
|
2107
|
+
"/v1/funding/deposit-addresses/:id{fda_[A-Za-z0-9_-]+}": {
|
|
2108
2108
|
$get: {
|
|
2109
|
-
output: {
|
|
2110
|
-
error: {
|
|
2111
|
-
code: "api_key_malformed";
|
|
2112
|
-
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2113
|
-
message: string;
|
|
2114
|
-
};
|
|
2115
|
-
requestId: string;
|
|
2116
|
-
};
|
|
2117
|
-
outputFormat: "json";
|
|
2118
|
-
status: 400;
|
|
2119
|
-
input: {
|
|
2120
|
-
param: {
|
|
2121
|
-
id: string;
|
|
2122
|
-
};
|
|
2123
|
-
} & {
|
|
2124
|
-
query?: {
|
|
2125
|
-
cursor?: string | string[];
|
|
2126
|
-
limit?: string | string[];
|
|
2127
|
-
} | undefined;
|
|
2128
|
-
};
|
|
2129
|
-
} | {
|
|
2130
|
-
output: {
|
|
2131
|
-
error: {
|
|
2132
|
-
code: "api_key_invalid" | "api_key_missing";
|
|
2133
|
-
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2134
|
-
message: string;
|
|
2135
|
-
};
|
|
2136
|
-
requestId: string;
|
|
2137
|
-
};
|
|
2138
|
-
outputFormat: "json";
|
|
2139
|
-
status: 401;
|
|
2140
|
-
input: {
|
|
2141
|
-
param: {
|
|
2142
|
-
id: string;
|
|
2143
|
-
};
|
|
2144
|
-
} & {
|
|
2145
|
-
query?: {
|
|
2146
|
-
cursor?: string | string[];
|
|
2147
|
-
limit?: string | string[];
|
|
2148
|
-
} | undefined;
|
|
2149
|
-
};
|
|
2150
|
-
} | {
|
|
2151
|
-
output: {
|
|
2152
|
-
error: {
|
|
2153
|
-
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
2154
|
-
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2155
|
-
message: string;
|
|
2156
|
-
};
|
|
2157
|
-
requestId: string;
|
|
2158
|
-
};
|
|
2159
|
-
outputFormat: "json";
|
|
2160
|
-
status: 403;
|
|
2161
|
-
input: {
|
|
2162
|
-
param: {
|
|
2163
|
-
id: string;
|
|
2164
|
-
};
|
|
2165
|
-
} & {
|
|
2166
|
-
query?: {
|
|
2167
|
-
cursor?: string | string[];
|
|
2168
|
-
limit?: string | string[];
|
|
2169
|
-
} | undefined;
|
|
2170
|
-
};
|
|
2171
|
-
} | {
|
|
2172
|
-
output: {
|
|
2173
|
-
error: {
|
|
2174
|
-
code: "payment_required" | "rate_limit_exceeded";
|
|
2175
|
-
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2176
|
-
message: string;
|
|
2177
|
-
};
|
|
2178
|
-
requestId: string;
|
|
2179
|
-
};
|
|
2180
|
-
outputFormat: "json";
|
|
2181
|
-
status: 429;
|
|
2182
|
-
input: {
|
|
2183
|
-
param: {
|
|
2184
|
-
id: string;
|
|
2185
|
-
};
|
|
2186
|
-
} & {
|
|
2187
|
-
query?: {
|
|
2188
|
-
cursor?: string | string[];
|
|
2189
|
-
limit?: string | string[];
|
|
2190
|
-
} | undefined;
|
|
2191
|
-
};
|
|
2192
|
-
} | {
|
|
2193
|
-
output: {
|
|
2194
|
-
error: {
|
|
2195
|
-
code: "query_invalid";
|
|
2196
|
-
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2197
|
-
message: string;
|
|
2198
|
-
};
|
|
2199
|
-
requestId: string;
|
|
2200
|
-
};
|
|
2201
|
-
outputFormat: "json";
|
|
2202
|
-
status: 400;
|
|
2203
|
-
input: {
|
|
2204
|
-
param: {
|
|
2205
|
-
id: string;
|
|
2206
|
-
};
|
|
2207
|
-
} & {
|
|
2208
|
-
query?: {
|
|
2209
|
-
cursor?: string | string[];
|
|
2210
|
-
limit?: string | string[];
|
|
2211
|
-
} | undefined;
|
|
2212
|
-
};
|
|
2213
|
-
} | {
|
|
2214
2109
|
output: {
|
|
2215
2110
|
error: {
|
|
2216
2111
|
code: "upstream_error";
|
|
@@ -2225,154 +2120,8 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
2225
2120
|
param: {
|
|
2226
2121
|
id: string;
|
|
2227
2122
|
};
|
|
2228
|
-
} & {
|
|
2229
|
-
query?: {
|
|
2230
|
-
cursor?: string | string[];
|
|
2231
|
-
limit?: string | string[];
|
|
2232
|
-
} | undefined;
|
|
2233
|
-
};
|
|
2234
|
-
} | {
|
|
2235
|
-
output: {
|
|
2236
|
-
error: {
|
|
2237
|
-
code: "unauthorized";
|
|
2238
|
-
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2239
|
-
message: string;
|
|
2240
|
-
};
|
|
2241
|
-
requestId: string;
|
|
2242
|
-
};
|
|
2243
|
-
outputFormat: "json";
|
|
2244
|
-
status: 401;
|
|
2245
|
-
input: {
|
|
2246
|
-
param: {
|
|
2247
|
-
id: string;
|
|
2248
|
-
};
|
|
2249
|
-
} & {
|
|
2250
|
-
query?: {
|
|
2251
|
-
cursor?: string | string[];
|
|
2252
|
-
limit?: string | string[];
|
|
2253
|
-
} | undefined;
|
|
2254
|
-
};
|
|
2255
|
-
} | {
|
|
2256
|
-
output: {
|
|
2257
|
-
error: {
|
|
2258
|
-
code: "funding_deposit_address_not_found";
|
|
2259
|
-
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2260
|
-
message: string;
|
|
2261
|
-
};
|
|
2262
|
-
requestId: string;
|
|
2263
|
-
};
|
|
2264
|
-
outputFormat: "json";
|
|
2265
|
-
status: 404;
|
|
2266
|
-
input: {
|
|
2267
|
-
param: {
|
|
2268
|
-
id: string;
|
|
2269
|
-
};
|
|
2270
|
-
} & {
|
|
2271
|
-
query?: {
|
|
2272
|
-
cursor?: string | string[];
|
|
2273
|
-
limit?: string | string[];
|
|
2274
|
-
} | undefined;
|
|
2275
2123
|
};
|
|
2276
2124
|
} | {
|
|
2277
|
-
output: {
|
|
2278
|
-
data: {
|
|
2279
|
-
createdAt: string;
|
|
2280
|
-
depositAddressId: string;
|
|
2281
|
-
detectionTrigger?: "chain" | "manual" | "poll" | "webhook" | undefined;
|
|
2282
|
-
destinationAmount?: {
|
|
2283
|
-
baseUnits: string;
|
|
2284
|
-
currency: string;
|
|
2285
|
-
decimals: number;
|
|
2286
|
-
formatted: string;
|
|
2287
|
-
} | undefined;
|
|
2288
|
-
destinationAmountRequired?: {
|
|
2289
|
-
baseUnits: string;
|
|
2290
|
-
currency: string;
|
|
2291
|
-
decimals: number;
|
|
2292
|
-
formatted: string;
|
|
2293
|
-
} | undefined;
|
|
2294
|
-
destinationChain: {
|
|
2295
|
-
addressFormat: "base58" | "base58check" | "hex";
|
|
2296
|
-
id: string;
|
|
2297
|
-
kind: "evm" | "solana" | "tron";
|
|
2298
|
-
name: string;
|
|
2299
|
-
};
|
|
2300
|
-
destinationToken: {
|
|
2301
|
-
address: string;
|
|
2302
|
-
currency: string;
|
|
2303
|
-
decimals: number;
|
|
2304
|
-
name: string;
|
|
2305
|
-
standard: string;
|
|
2306
|
-
symbol: string;
|
|
2307
|
-
tokenKey: string;
|
|
2308
|
-
verified: boolean;
|
|
2309
|
-
};
|
|
2310
|
-
destinationTransactionHashes?: readonly string[] | undefined;
|
|
2311
|
-
id: string;
|
|
2312
|
-
provider: {
|
|
2313
|
-
id: string;
|
|
2314
|
-
name: string;
|
|
2315
|
-
};
|
|
2316
|
-
recipient: string;
|
|
2317
|
-
refundAddress: string;
|
|
2318
|
-
refundAmount?: {
|
|
2319
|
-
baseUnits: string;
|
|
2320
|
-
currency: string;
|
|
2321
|
-
decimals: number;
|
|
2322
|
-
formatted: string;
|
|
2323
|
-
} | undefined;
|
|
2324
|
-
refundTransactionHashes?: readonly string[] | undefined;
|
|
2325
|
-
sender?: string | undefined;
|
|
2326
|
-
sourceAmount?: {
|
|
2327
|
-
baseUnits: string;
|
|
2328
|
-
currency: string;
|
|
2329
|
-
decimals: number;
|
|
2330
|
-
formatted: string;
|
|
2331
|
-
} | undefined;
|
|
2332
|
-
sourceChain: {
|
|
2333
|
-
addressFormat: "base58" | "base58check" | "hex";
|
|
2334
|
-
id: string;
|
|
2335
|
-
kind: "evm" | "solana" | "tron";
|
|
2336
|
-
name: string;
|
|
2337
|
-
};
|
|
2338
|
-
sourceToken: {
|
|
2339
|
-
address: string;
|
|
2340
|
-
currency: string;
|
|
2341
|
-
decimals: number;
|
|
2342
|
-
name: string;
|
|
2343
|
-
standard: string;
|
|
2344
|
-
symbol: string;
|
|
2345
|
-
tokenKey: string;
|
|
2346
|
-
verified: boolean;
|
|
2347
|
-
};
|
|
2348
|
-
sourceTransactionHashes: readonly string[];
|
|
2349
|
-
sourceTransferIndex?: number | undefined;
|
|
2350
|
-
status: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling";
|
|
2351
|
-
statusReason?: {
|
|
2352
|
-
code: "delivery_failed" | "delivery_liquidity_unavailable" | "manual_recovery_required" | "refund_failed" | "source_amount_not_supported" | "source_token_mismatch" | "subsidy_balance_unavailable" | "subsidy_failed";
|
|
2353
|
-
message: string;
|
|
2354
|
-
} | undefined;
|
|
2355
|
-
updatedAt: string;
|
|
2356
|
-
}[];
|
|
2357
|
-
nextCursor: string | null;
|
|
2358
|
-
};
|
|
2359
|
-
outputFormat: "json";
|
|
2360
|
-
status: 200;
|
|
2361
|
-
input: {
|
|
2362
|
-
param: {
|
|
2363
|
-
id: string;
|
|
2364
|
-
};
|
|
2365
|
-
} & {
|
|
2366
|
-
query?: {
|
|
2367
|
-
cursor?: string | string[];
|
|
2368
|
-
limit?: string | string[];
|
|
2369
|
-
} | undefined;
|
|
2370
|
-
};
|
|
2371
|
-
};
|
|
2372
|
-
};
|
|
2373
|
-
} & {
|
|
2374
|
-
"/v1/funding/deposit-addresses/:id{fda_[A-Za-z0-9_-]+}": {
|
|
2375
|
-
$get: {
|
|
2376
2125
|
output: {
|
|
2377
2126
|
error: {
|
|
2378
2127
|
code: "api_key_malformed";
|
|
@@ -2436,22 +2185,6 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
2436
2185
|
id: string;
|
|
2437
2186
|
};
|
|
2438
2187
|
};
|
|
2439
|
-
} | {
|
|
2440
|
-
output: {
|
|
2441
|
-
error: {
|
|
2442
|
-
code: "upstream_error";
|
|
2443
|
-
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2444
|
-
message: string;
|
|
2445
|
-
};
|
|
2446
|
-
requestId: string;
|
|
2447
|
-
};
|
|
2448
|
-
outputFormat: "json";
|
|
2449
|
-
status: 502;
|
|
2450
|
-
input: {
|
|
2451
|
-
param: {
|
|
2452
|
-
id: string;
|
|
2453
|
-
};
|
|
2454
|
-
};
|
|
2455
2188
|
} | {
|
|
2456
2189
|
output: {
|
|
2457
2190
|
error: {
|
|
@@ -2525,14 +2258,14 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
2525
2258
|
} | {
|
|
2526
2259
|
output: {
|
|
2527
2260
|
error: {
|
|
2528
|
-
code: "
|
|
2261
|
+
code: "param_invalid";
|
|
2529
2262
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2530
2263
|
message: string;
|
|
2531
2264
|
};
|
|
2532
2265
|
requestId: string;
|
|
2533
2266
|
};
|
|
2534
2267
|
outputFormat: "json";
|
|
2535
|
-
status:
|
|
2268
|
+
status: 400;
|
|
2536
2269
|
input: {
|
|
2537
2270
|
param: {
|
|
2538
2271
|
id: string;
|
|
@@ -2541,14 +2274,14 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
2541
2274
|
} | {
|
|
2542
2275
|
output: {
|
|
2543
2276
|
error: {
|
|
2544
|
-
code: "
|
|
2277
|
+
code: "funding_deposit_address_not_found";
|
|
2545
2278
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2546
2279
|
message: string;
|
|
2547
2280
|
};
|
|
2548
2281
|
requestId: string;
|
|
2549
2282
|
};
|
|
2550
2283
|
outputFormat: "json";
|
|
2551
|
-
status:
|
|
2284
|
+
status: 404;
|
|
2552
2285
|
input: {
|
|
2553
2286
|
param: {
|
|
2554
2287
|
id: string;
|
|
@@ -2570,14 +2303,14 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
2570
2303
|
} | {
|
|
2571
2304
|
output: {
|
|
2572
2305
|
error: {
|
|
2573
|
-
code: "
|
|
2306
|
+
code: "upstream_error";
|
|
2574
2307
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2575
2308
|
message: string;
|
|
2576
2309
|
};
|
|
2577
2310
|
requestId: string;
|
|
2578
2311
|
};
|
|
2579
2312
|
outputFormat: "json";
|
|
2580
|
-
status:
|
|
2313
|
+
status: 502;
|
|
2581
2314
|
input: {
|
|
2582
2315
|
param: {
|
|
2583
2316
|
id: string;
|
|
@@ -2586,14 +2319,14 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
2586
2319
|
} | {
|
|
2587
2320
|
output: {
|
|
2588
2321
|
error: {
|
|
2589
|
-
code: "
|
|
2322
|
+
code: "api_key_malformed";
|
|
2590
2323
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2591
2324
|
message: string;
|
|
2592
2325
|
};
|
|
2593
2326
|
requestId: string;
|
|
2594
2327
|
};
|
|
2595
2328
|
outputFormat: "json";
|
|
2596
|
-
status:
|
|
2329
|
+
status: 400;
|
|
2597
2330
|
input: {
|
|
2598
2331
|
param: {
|
|
2599
2332
|
id: string;
|
|
@@ -2602,14 +2335,14 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
2602
2335
|
} | {
|
|
2603
2336
|
output: {
|
|
2604
2337
|
error: {
|
|
2605
|
-
code: "
|
|
2338
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
2606
2339
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2607
2340
|
message: string;
|
|
2608
2341
|
};
|
|
2609
2342
|
requestId: string;
|
|
2610
2343
|
};
|
|
2611
2344
|
outputFormat: "json";
|
|
2612
|
-
status:
|
|
2345
|
+
status: 401;
|
|
2613
2346
|
input: {
|
|
2614
2347
|
param: {
|
|
2615
2348
|
id: string;
|
|
@@ -2618,14 +2351,14 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
2618
2351
|
} | {
|
|
2619
2352
|
output: {
|
|
2620
2353
|
error: {
|
|
2621
|
-
code: "
|
|
2354
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
2622
2355
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2623
2356
|
message: string;
|
|
2624
2357
|
};
|
|
2625
2358
|
requestId: string;
|
|
2626
2359
|
};
|
|
2627
2360
|
outputFormat: "json";
|
|
2628
|
-
status:
|
|
2361
|
+
status: 403;
|
|
2629
2362
|
input: {
|
|
2630
2363
|
param: {
|
|
2631
2364
|
id: string;
|
|
@@ -2634,14 +2367,14 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
2634
2367
|
} | {
|
|
2635
2368
|
output: {
|
|
2636
2369
|
error: {
|
|
2637
|
-
code: "
|
|
2370
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
2638
2371
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2639
2372
|
message: string;
|
|
2640
2373
|
};
|
|
2641
2374
|
requestId: string;
|
|
2642
2375
|
};
|
|
2643
2376
|
outputFormat: "json";
|
|
2644
|
-
status:
|
|
2377
|
+
status: 429;
|
|
2645
2378
|
input: {
|
|
2646
2379
|
param: {
|
|
2647
2380
|
id: string;
|
|
@@ -2666,14 +2399,14 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
2666
2399
|
} | {
|
|
2667
2400
|
output: {
|
|
2668
2401
|
error: {
|
|
2669
|
-
code: "
|
|
2402
|
+
code: "param_invalid";
|
|
2670
2403
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2671
2404
|
message: string;
|
|
2672
2405
|
};
|
|
2673
2406
|
requestId: string;
|
|
2674
2407
|
};
|
|
2675
2408
|
outputFormat: "json";
|
|
2676
|
-
status:
|
|
2409
|
+
status: 400;
|
|
2677
2410
|
input: {
|
|
2678
2411
|
param: {
|
|
2679
2412
|
id: string;
|
|
@@ -2682,14 +2415,14 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
2682
2415
|
} | {
|
|
2683
2416
|
output: {
|
|
2684
2417
|
error: {
|
|
2685
|
-
code: "
|
|
2418
|
+
code: "funding_deposit_address_not_found";
|
|
2686
2419
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2687
2420
|
message: string;
|
|
2688
2421
|
};
|
|
2689
2422
|
requestId: string;
|
|
2690
2423
|
};
|
|
2691
2424
|
outputFormat: "json";
|
|
2692
|
-
status:
|
|
2425
|
+
status: 404;
|
|
2693
2426
|
input: {
|
|
2694
2427
|
param: {
|
|
2695
2428
|
id: string;
|
|
@@ -2734,110 +2467,116 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
2734
2467
|
$get: {
|
|
2735
2468
|
output: {
|
|
2736
2469
|
error: {
|
|
2737
|
-
code: "
|
|
2470
|
+
code: "upstream_error";
|
|
2738
2471
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2739
2472
|
message: string;
|
|
2740
2473
|
};
|
|
2741
2474
|
requestId: string;
|
|
2742
2475
|
};
|
|
2743
2476
|
outputFormat: "json";
|
|
2744
|
-
status:
|
|
2477
|
+
status: 502;
|
|
2745
2478
|
input: {
|
|
2746
|
-
query
|
|
2479
|
+
query?: {
|
|
2480
|
+
depositAddress?: string | string[];
|
|
2747
2481
|
cursor?: string | string[];
|
|
2748
2482
|
limit?: string | string[];
|
|
2749
|
-
recipient
|
|
2750
|
-
};
|
|
2483
|
+
recipient?: string | string[];
|
|
2484
|
+
} | undefined;
|
|
2751
2485
|
};
|
|
2752
2486
|
} | {
|
|
2753
2487
|
output: {
|
|
2754
2488
|
error: {
|
|
2755
|
-
code: "
|
|
2489
|
+
code: "api_key_malformed";
|
|
2756
2490
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2757
2491
|
message: string;
|
|
2758
2492
|
};
|
|
2759
2493
|
requestId: string;
|
|
2760
2494
|
};
|
|
2761
2495
|
outputFormat: "json";
|
|
2762
|
-
status:
|
|
2496
|
+
status: 400;
|
|
2763
2497
|
input: {
|
|
2764
|
-
query
|
|
2498
|
+
query?: {
|
|
2499
|
+
depositAddress?: string | string[];
|
|
2765
2500
|
cursor?: string | string[];
|
|
2766
2501
|
limit?: string | string[];
|
|
2767
|
-
recipient
|
|
2768
|
-
};
|
|
2502
|
+
recipient?: string | string[];
|
|
2503
|
+
} | undefined;
|
|
2769
2504
|
};
|
|
2770
2505
|
} | {
|
|
2771
2506
|
output: {
|
|
2772
2507
|
error: {
|
|
2773
|
-
code: "
|
|
2508
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
2774
2509
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2775
2510
|
message: string;
|
|
2776
2511
|
};
|
|
2777
2512
|
requestId: string;
|
|
2778
2513
|
};
|
|
2779
2514
|
outputFormat: "json";
|
|
2780
|
-
status:
|
|
2515
|
+
status: 401;
|
|
2781
2516
|
input: {
|
|
2782
|
-
query
|
|
2517
|
+
query?: {
|
|
2518
|
+
depositAddress?: string | string[];
|
|
2783
2519
|
cursor?: string | string[];
|
|
2784
2520
|
limit?: string | string[];
|
|
2785
|
-
recipient
|
|
2786
|
-
};
|
|
2521
|
+
recipient?: string | string[];
|
|
2522
|
+
} | undefined;
|
|
2787
2523
|
};
|
|
2788
2524
|
} | {
|
|
2789
2525
|
output: {
|
|
2790
2526
|
error: {
|
|
2791
|
-
code: "
|
|
2527
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
2792
2528
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2793
2529
|
message: string;
|
|
2794
2530
|
};
|
|
2795
2531
|
requestId: string;
|
|
2796
2532
|
};
|
|
2797
2533
|
outputFormat: "json";
|
|
2798
|
-
status:
|
|
2534
|
+
status: 403;
|
|
2799
2535
|
input: {
|
|
2800
|
-
query
|
|
2536
|
+
query?: {
|
|
2537
|
+
depositAddress?: string | string[];
|
|
2801
2538
|
cursor?: string | string[];
|
|
2802
2539
|
limit?: string | string[];
|
|
2803
|
-
recipient
|
|
2804
|
-
};
|
|
2540
|
+
recipient?: string | string[];
|
|
2541
|
+
} | undefined;
|
|
2805
2542
|
};
|
|
2806
2543
|
} | {
|
|
2807
2544
|
output: {
|
|
2808
2545
|
error: {
|
|
2809
|
-
code: "
|
|
2546
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
2810
2547
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2811
2548
|
message: string;
|
|
2812
2549
|
};
|
|
2813
2550
|
requestId: string;
|
|
2814
2551
|
};
|
|
2815
2552
|
outputFormat: "json";
|
|
2816
|
-
status:
|
|
2553
|
+
status: 429;
|
|
2817
2554
|
input: {
|
|
2818
|
-
query
|
|
2555
|
+
query?: {
|
|
2556
|
+
depositAddress?: string | string[];
|
|
2819
2557
|
cursor?: string | string[];
|
|
2820
2558
|
limit?: string | string[];
|
|
2821
|
-
recipient
|
|
2822
|
-
};
|
|
2559
|
+
recipient?: string | string[];
|
|
2560
|
+
} | undefined;
|
|
2823
2561
|
};
|
|
2824
2562
|
} | {
|
|
2825
2563
|
output: {
|
|
2826
2564
|
error: {
|
|
2827
|
-
code: "
|
|
2565
|
+
code: "query_invalid";
|
|
2828
2566
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2829
2567
|
message: string;
|
|
2830
2568
|
};
|
|
2831
2569
|
requestId: string;
|
|
2832
2570
|
};
|
|
2833
2571
|
outputFormat: "json";
|
|
2834
|
-
status:
|
|
2572
|
+
status: 400;
|
|
2835
2573
|
input: {
|
|
2836
|
-
query
|
|
2574
|
+
query?: {
|
|
2575
|
+
depositAddress?: string | string[];
|
|
2837
2576
|
cursor?: string | string[];
|
|
2838
2577
|
limit?: string | string[];
|
|
2839
|
-
recipient
|
|
2840
|
-
};
|
|
2578
|
+
recipient?: string | string[];
|
|
2579
|
+
} | undefined;
|
|
2841
2580
|
};
|
|
2842
2581
|
} | {
|
|
2843
2582
|
output: {
|
|
@@ -2851,11 +2590,12 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
2851
2590
|
outputFormat: "json";
|
|
2852
2591
|
status: 401;
|
|
2853
2592
|
input: {
|
|
2854
|
-
query
|
|
2593
|
+
query?: {
|
|
2594
|
+
depositAddress?: string | string[];
|
|
2855
2595
|
cursor?: string | string[];
|
|
2856
2596
|
limit?: string | string[];
|
|
2857
|
-
recipient
|
|
2858
|
-
};
|
|
2597
|
+
recipient?: string | string[];
|
|
2598
|
+
} | undefined;
|
|
2859
2599
|
};
|
|
2860
2600
|
} | {
|
|
2861
2601
|
output: {
|
|
@@ -2943,11 +2683,12 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
2943
2683
|
outputFormat: "json";
|
|
2944
2684
|
status: 200;
|
|
2945
2685
|
input: {
|
|
2946
|
-
query
|
|
2686
|
+
query?: {
|
|
2687
|
+
depositAddress?: string | string[];
|
|
2947
2688
|
cursor?: string | string[];
|
|
2948
2689
|
limit?: string | string[];
|
|
2949
|
-
recipient
|
|
2950
|
-
};
|
|
2690
|
+
recipient?: string | string[];
|
|
2691
|
+
} | undefined;
|
|
2951
2692
|
};
|
|
2952
2693
|
};
|
|
2953
2694
|
};
|
|
@@ -2956,14 +2697,14 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
2956
2697
|
$get: {
|
|
2957
2698
|
output: {
|
|
2958
2699
|
error: {
|
|
2959
|
-
code: "
|
|
2700
|
+
code: "upstream_error";
|
|
2960
2701
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2961
2702
|
message: string;
|
|
2962
2703
|
};
|
|
2963
2704
|
requestId: string;
|
|
2964
2705
|
};
|
|
2965
2706
|
outputFormat: "json";
|
|
2966
|
-
status:
|
|
2707
|
+
status: 502;
|
|
2967
2708
|
input: {
|
|
2968
2709
|
param: {
|
|
2969
2710
|
id: string;
|
|
@@ -2972,14 +2713,14 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
2972
2713
|
} | {
|
|
2973
2714
|
output: {
|
|
2974
2715
|
error: {
|
|
2975
|
-
code: "
|
|
2716
|
+
code: "api_key_malformed";
|
|
2976
2717
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2977
2718
|
message: string;
|
|
2978
2719
|
};
|
|
2979
2720
|
requestId: string;
|
|
2980
2721
|
};
|
|
2981
2722
|
outputFormat: "json";
|
|
2982
|
-
status:
|
|
2723
|
+
status: 400;
|
|
2983
2724
|
input: {
|
|
2984
2725
|
param: {
|
|
2985
2726
|
id: string;
|
|
@@ -2988,14 +2729,14 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
2988
2729
|
} | {
|
|
2989
2730
|
output: {
|
|
2990
2731
|
error: {
|
|
2991
|
-
code: "
|
|
2732
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
2992
2733
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2993
2734
|
message: string;
|
|
2994
2735
|
};
|
|
2995
2736
|
requestId: string;
|
|
2996
2737
|
};
|
|
2997
2738
|
outputFormat: "json";
|
|
2998
|
-
status:
|
|
2739
|
+
status: 401;
|
|
2999
2740
|
input: {
|
|
3000
2741
|
param: {
|
|
3001
2742
|
id: string;
|
|
@@ -3004,14 +2745,14 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
3004
2745
|
} | {
|
|
3005
2746
|
output: {
|
|
3006
2747
|
error: {
|
|
3007
|
-
code: "
|
|
2748
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
3008
2749
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3009
2750
|
message: string;
|
|
3010
2751
|
};
|
|
3011
2752
|
requestId: string;
|
|
3012
2753
|
};
|
|
3013
2754
|
outputFormat: "json";
|
|
3014
|
-
status:
|
|
2755
|
+
status: 403;
|
|
3015
2756
|
input: {
|
|
3016
2757
|
param: {
|
|
3017
2758
|
id: string;
|
|
@@ -3020,14 +2761,14 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
|
|
|
3020
2761
|
} | {
|
|
3021
2762
|
output: {
|
|
3022
2763
|
error: {
|
|
3023
|
-
code: "
|
|
2764
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
3024
2765
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3025
2766
|
message: string;
|
|
3026
2767
|
};
|
|
3027
2768
|
requestId: string;
|
|
3028
2769
|
};
|
|
3029
2770
|
outputFormat: "json";
|
|
3030
|
-
status:
|
|
2771
|
+
status: 429;
|
|
3031
2772
|
input: {
|
|
3032
2773
|
param: {
|
|
3033
2774
|
id: string;
|