tapimo 0.10.2 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/App.d.ts +3412 -1968
- package/dist/App.d.ts.map +1 -1
- package/dist/App.js.map +1 -1
- package/dist/Webhooks.d.ts +0 -75
- package/dist/Webhooks.d.ts.map +1 -1
- package/dist/Webhooks.js +1 -143
- package/dist/Webhooks.js.map +1 -1
- package/dist/admin/App.d.ts +74 -74
- package/dist/admin/apps/api-keys.d.ts +4 -4
- package/dist/admin/apps/earn-vaults.d.ts +1 -1
- package/dist/admin/apps/organizations.d.ts +3 -3
- package/dist/admin/apps/verified-tokens.d.ts +74 -74
- package/dist/apps/data/App.d.ts +3618 -2954
- package/dist/apps/data/App.d.ts.map +1 -1
- package/dist/apps/data/App.js +5 -2
- package/dist/apps/data/App.js.map +1 -1
- package/dist/apps/data/routes/activities.d.ts +1 -1
- package/dist/apps/data/routes/activities.d.ts.map +1 -1
- package/dist/apps/data/routes/activities.js +55 -27
- package/dist/apps/data/routes/activities.js.map +1 -1
- package/dist/apps/data/routes/addresses.d.ts +343 -343
- package/dist/apps/data/routes/balances.d.ts +11 -11
- package/dist/apps/data/routes/blocks.d.ts +5 -5
- package/dist/apps/data/routes/coingecko.d.ts +176 -176
- package/dist/apps/data/routes/earn.d.ts +4 -4
- package/dist/apps/data/routes/exchanges.d.ts +4 -4
- package/dist/apps/data/routes/fee-amm.d.ts +26 -26
- package/dist/apps/data/routes/indexer.d.ts +34 -34
- package/dist/apps/data/routes/receipts.d.ts +236 -236
- package/dist/apps/data/routes/tokenlist.d.ts +12 -12
- package/dist/apps/data/routes/tokens.d.ts +3 -3
- package/dist/apps/data/routes/transactions.d.ts +1 -1
- package/dist/apps/data/routes/transfers.d.ts +13 -13
- package/dist/apps/data/routes/valuation.d.ts +21 -21
- package/dist/apps/data/routes/verified-tokens.d.ts +5 -5
- package/dist/apps/data/routes/webhooks.d.ts +1011 -151
- package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/data/routes/webhooks.js +124 -737
- package/dist/apps/data/routes/webhooks.js.map +1 -1
- package/dist/apps/data/routes/zones.d.ts +31 -31
- package/dist/apps/funding/routes/deposit-addresses.d.ts +2 -2
- package/dist/apps/funding/routes/providers.d.ts +13 -13
- package/dist/apps/funding/routes/transfers.d.ts +33 -33
- package/dist/apps/management/App.d.ts +793 -16
- package/dist/apps/management/App.d.ts.map +1 -1
- package/dist/apps/management/routes/api-keys.d.ts +50 -50
- package/dist/apps/management/routes/faucet.d.ts +31 -31
- package/dist/apps/management/routes/invite-links.d.ts +42 -42
- package/dist/apps/management/routes/members.d.ts +79 -79
- package/dist/apps/management/routes/projects.d.ts +40 -40
- package/dist/apps/management/routes/usage.d.ts +80 -80
- package/dist/apps/management/routes/webhooks.d.ts +1031 -59
- package/dist/apps/management/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/management/routes/webhooks.js +27 -4
- package/dist/apps/management/routes/webhooks.js.map +1 -1
- package/dist/db/Db.d.ts.map +1 -1
- package/dist/db/Db.js +21 -0
- package/dist/db/Db.js.map +1 -1
- package/dist/db/Schema.d.ts +7 -1
- package/dist/db/Schema.d.ts.map +1 -1
- package/dist/db/Schema.js +9 -0
- package/dist/db/Schema.js.map +1 -1
- package/dist/db/tables/webhookQueueEvents.d.ts +3 -1
- package/dist/db/tables/webhookQueueEvents.d.ts.map +1 -1
- package/dist/db/tables/webhookQueueEvents.js +4 -0
- package/dist/db/tables/webhookQueueEvents.js.map +1 -1
- package/dist/db/tables/webhookSubscriptions.d.ts +33 -69
- package/dist/db/tables/webhookSubscriptions.d.ts.map +1 -1
- package/dist/db/tables/webhookSubscriptions.js +63 -100
- package/dist/db/tables/webhookSubscriptions.js.map +1 -1
- package/dist/internal/MetricSink.d.ts +35 -125
- package/dist/internal/MetricSink.d.ts.map +1 -1
- package/dist/internal/MetricSink.js +50 -121
- package/dist/internal/MetricSink.js.map +1 -1
- package/dist/internal/Schema.d.ts +3 -1
- package/dist/internal/Schema.d.ts.map +1 -1
- package/dist/internal/Schema.js +4 -2
- package/dist/internal/Schema.js.map +1 -1
- package/dist/internal/WebhookTransfer.d.ts +1 -55
- package/dist/internal/WebhookTransfer.d.ts.map +1 -1
- package/dist/internal/WebhookTransfer.js +1 -239
- package/dist/internal/WebhookTransfer.js.map +1 -1
- package/dist/internal/Webhooks.d.ts +83 -44
- package/dist/internal/Webhooks.d.ts.map +1 -1
- package/dist/internal/Webhooks.js +87 -73
- package/dist/internal/Webhooks.js.map +1 -1
- package/dist/internal/funding/DepositWebhook.d.ts +25 -0
- package/dist/internal/funding/DepositWebhook.d.ts.map +1 -0
- package/dist/internal/funding/DepositWebhook.js +74 -0
- package/dist/internal/funding/DepositWebhook.js.map +1 -0
- package/dist/internal/funding/Reconciliation.d.ts +6 -0
- package/dist/internal/funding/Reconciliation.d.ts.map +1 -1
- package/dist/internal/funding/Reconciliation.js +42 -10
- package/dist/internal/funding/Reconciliation.js.map +1 -1
- package/dist/internal/funding/index.d.ts +1 -0
- package/dist/internal/funding/index.d.ts.map +1 -1
- package/dist/internal/funding/index.js +1 -0
- package/dist/internal/funding/index.js.map +1 -1
- package/dist/internal/webhookDestinations/slack.d.ts.map +1 -1
- package/dist/internal/webhookDestinations/slack.js +16 -0
- package/dist/internal/webhookDestinations/slack.js.map +1 -1
- package/package.json +1 -1
- package/src/App.ts +3 -0
- package/src/Client.test-d.ts +22 -1
- package/src/Webhooks.ts +1 -220
- package/src/apps/data/App.ts +8 -2
- package/src/apps/data/routes/activities.test.ts +107 -11
- package/src/apps/data/routes/activities.ts +64 -32
- package/src/apps/data/routes/webhooks.test.ts +179 -1497
- package/src/apps/data/routes/webhooks.ts +150 -974
- package/src/apps/management/routes/webhooks.test.ts +79 -1
- package/src/apps/management/routes/webhooks.ts +40 -4
- package/src/db/Db.test.ts +1 -5
- package/src/db/Db.ts +23 -0
- package/src/db/Schema.ts +13 -0
- package/src/db/tables/organizations.test.ts +5 -2
- package/src/db/tables/webhookQueueEvents.ts +7 -1
- package/src/db/tables/webhookSubscriptions.ts +89 -138
- package/src/internal/MetricSink.test.ts +41 -373
- package/src/internal/MetricSink.ts +92 -273
- package/src/internal/Schema.test.ts +18 -0
- package/src/internal/Schema.ts +13 -2
- package/src/internal/WebhookTransfer.ts +1 -351
- package/src/internal/Webhooks.test.ts +102 -139
- package/src/internal/Webhooks.ts +175 -106
- package/src/internal/funding/DepositWebhook.test.ts +131 -0
- package/src/internal/funding/DepositWebhook.ts +101 -0
- package/src/internal/funding/Reconciliation.test.ts +14 -0
- package/src/internal/funding/Reconciliation.ts +161 -86
- package/src/internal/funding/index.test.ts +1 -0
- package/src/internal/funding/index.ts +1 -0
- package/src/internal/webhookDestinations/slack.ts +15 -0
- package/src/Webhooks.bench.ts +0 -714
- package/src/Webhooks.memory.bench.ts +0 -250
- package/src/Webhooks.test.ts +0 -146
|
@@ -61,14 +61,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
61
61
|
$get: {
|
|
62
62
|
output: {
|
|
63
63
|
error: {
|
|
64
|
-
code: "
|
|
64
|
+
code: "api_key_malformed";
|
|
65
65
|
details?: readonly Response.error.Detail[] | undefined;
|
|
66
66
|
message: string;
|
|
67
67
|
};
|
|
68
68
|
requestId: string;
|
|
69
69
|
};
|
|
70
70
|
outputFormat: "json";
|
|
71
|
-
status:
|
|
71
|
+
status: 400;
|
|
72
72
|
input: {
|
|
73
73
|
param: {
|
|
74
74
|
orgId: string;
|
|
@@ -77,14 +77,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
77
77
|
} | {
|
|
78
78
|
output: {
|
|
79
79
|
error: {
|
|
80
|
-
code: "
|
|
80
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
81
81
|
details?: readonly Response.error.Detail[] | undefined;
|
|
82
82
|
message: string;
|
|
83
83
|
};
|
|
84
84
|
requestId: string;
|
|
85
85
|
};
|
|
86
86
|
outputFormat: "json";
|
|
87
|
-
status:
|
|
87
|
+
status: 401;
|
|
88
88
|
input: {
|
|
89
89
|
param: {
|
|
90
90
|
orgId: string;
|
|
@@ -93,14 +93,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
93
93
|
} | {
|
|
94
94
|
output: {
|
|
95
95
|
error: {
|
|
96
|
-
code: "
|
|
96
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
97
97
|
details?: readonly Response.error.Detail[] | undefined;
|
|
98
98
|
message: string;
|
|
99
99
|
};
|
|
100
100
|
requestId: string;
|
|
101
101
|
};
|
|
102
102
|
outputFormat: "json";
|
|
103
|
-
status:
|
|
103
|
+
status: 403;
|
|
104
104
|
input: {
|
|
105
105
|
param: {
|
|
106
106
|
orgId: string;
|
|
@@ -109,14 +109,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
109
109
|
} | {
|
|
110
110
|
output: {
|
|
111
111
|
error: {
|
|
112
|
-
code: "
|
|
112
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
113
113
|
details?: readonly Response.error.Detail[] | undefined;
|
|
114
114
|
message: string;
|
|
115
115
|
};
|
|
116
116
|
requestId: string;
|
|
117
117
|
};
|
|
118
118
|
outputFormat: "json";
|
|
119
|
-
status:
|
|
119
|
+
status: 429;
|
|
120
120
|
input: {
|
|
121
121
|
param: {
|
|
122
122
|
orgId: string;
|
|
@@ -125,14 +125,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
125
125
|
} | {
|
|
126
126
|
output: {
|
|
127
127
|
error: {
|
|
128
|
-
code: "
|
|
128
|
+
code: "upstream_error";
|
|
129
129
|
details?: readonly Response.error.Detail[] | undefined;
|
|
130
130
|
message: string;
|
|
131
131
|
};
|
|
132
132
|
requestId: string;
|
|
133
133
|
};
|
|
134
134
|
outputFormat: "json";
|
|
135
|
-
status:
|
|
135
|
+
status: 502;
|
|
136
136
|
input: {
|
|
137
137
|
param: {
|
|
138
138
|
orgId: string;
|
|
@@ -195,14 +195,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
195
195
|
$post: {
|
|
196
196
|
output: {
|
|
197
197
|
error: {
|
|
198
|
-
code: "
|
|
198
|
+
code: "api_key_malformed";
|
|
199
199
|
details?: readonly Response.error.Detail[] | undefined;
|
|
200
200
|
message: string;
|
|
201
201
|
};
|
|
202
202
|
requestId: string;
|
|
203
203
|
};
|
|
204
204
|
outputFormat: "json";
|
|
205
|
-
status:
|
|
205
|
+
status: 400;
|
|
206
206
|
input: {
|
|
207
207
|
param: {
|
|
208
208
|
orgId: string;
|
|
@@ -215,14 +215,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
215
215
|
} | {
|
|
216
216
|
output: {
|
|
217
217
|
error: {
|
|
218
|
-
code: "
|
|
218
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
219
219
|
details?: readonly Response.error.Detail[] | undefined;
|
|
220
220
|
message: string;
|
|
221
221
|
};
|
|
222
222
|
requestId: string;
|
|
223
223
|
};
|
|
224
224
|
outputFormat: "json";
|
|
225
|
-
status:
|
|
225
|
+
status: 401;
|
|
226
226
|
input: {
|
|
227
227
|
param: {
|
|
228
228
|
orgId: string;
|
|
@@ -235,14 +235,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
235
235
|
} | {
|
|
236
236
|
output: {
|
|
237
237
|
error: {
|
|
238
|
-
code: "
|
|
238
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
239
239
|
details?: readonly Response.error.Detail[] | undefined;
|
|
240
240
|
message: string;
|
|
241
241
|
};
|
|
242
242
|
requestId: string;
|
|
243
243
|
};
|
|
244
244
|
outputFormat: "json";
|
|
245
|
-
status:
|
|
245
|
+
status: 403;
|
|
246
246
|
input: {
|
|
247
247
|
param: {
|
|
248
248
|
orgId: string;
|
|
@@ -255,14 +255,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
255
255
|
} | {
|
|
256
256
|
output: {
|
|
257
257
|
error: {
|
|
258
|
-
code: "
|
|
258
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
259
259
|
details?: readonly Response.error.Detail[] | undefined;
|
|
260
260
|
message: string;
|
|
261
261
|
};
|
|
262
262
|
requestId: string;
|
|
263
263
|
};
|
|
264
264
|
outputFormat: "json";
|
|
265
|
-
status:
|
|
265
|
+
status: 429;
|
|
266
266
|
input: {
|
|
267
267
|
param: {
|
|
268
268
|
orgId: string;
|
|
@@ -275,14 +275,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
275
275
|
} | {
|
|
276
276
|
output: {
|
|
277
277
|
error: {
|
|
278
|
-
code: "
|
|
278
|
+
code: "upstream_error";
|
|
279
279
|
details?: readonly Response.error.Detail[] | undefined;
|
|
280
280
|
message: string;
|
|
281
281
|
};
|
|
282
282
|
requestId: string;
|
|
283
283
|
};
|
|
284
284
|
outputFormat: "json";
|
|
285
|
-
status:
|
|
285
|
+
status: 502;
|
|
286
286
|
input: {
|
|
287
287
|
param: {
|
|
288
288
|
orgId: string;
|
|
@@ -502,14 +502,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
502
502
|
$patch: {
|
|
503
503
|
output: {
|
|
504
504
|
error: {
|
|
505
|
-
code: "
|
|
505
|
+
code: "api_key_malformed";
|
|
506
506
|
details?: readonly Response.error.Detail[] | undefined;
|
|
507
507
|
message: string;
|
|
508
508
|
};
|
|
509
509
|
requestId: string;
|
|
510
510
|
};
|
|
511
511
|
outputFormat: "json";
|
|
512
|
-
status:
|
|
512
|
+
status: 400;
|
|
513
513
|
input: {
|
|
514
514
|
param: {
|
|
515
515
|
orgId: string;
|
|
@@ -523,14 +523,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
523
523
|
} | {
|
|
524
524
|
output: {
|
|
525
525
|
error: {
|
|
526
|
-
code: "
|
|
526
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
527
527
|
details?: readonly Response.error.Detail[] | undefined;
|
|
528
528
|
message: string;
|
|
529
529
|
};
|
|
530
530
|
requestId: string;
|
|
531
531
|
};
|
|
532
532
|
outputFormat: "json";
|
|
533
|
-
status:
|
|
533
|
+
status: 401;
|
|
534
534
|
input: {
|
|
535
535
|
param: {
|
|
536
536
|
orgId: string;
|
|
@@ -544,14 +544,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
544
544
|
} | {
|
|
545
545
|
output: {
|
|
546
546
|
error: {
|
|
547
|
-
code: "
|
|
547
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
548
548
|
details?: readonly Response.error.Detail[] | undefined;
|
|
549
549
|
message: string;
|
|
550
550
|
};
|
|
551
551
|
requestId: string;
|
|
552
552
|
};
|
|
553
553
|
outputFormat: "json";
|
|
554
|
-
status:
|
|
554
|
+
status: 403;
|
|
555
555
|
input: {
|
|
556
556
|
param: {
|
|
557
557
|
orgId: string;
|
|
@@ -565,14 +565,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
565
565
|
} | {
|
|
566
566
|
output: {
|
|
567
567
|
error: {
|
|
568
|
-
code: "
|
|
568
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
569
569
|
details?: readonly Response.error.Detail[] | undefined;
|
|
570
570
|
message: string;
|
|
571
571
|
};
|
|
572
572
|
requestId: string;
|
|
573
573
|
};
|
|
574
574
|
outputFormat: "json";
|
|
575
|
-
status:
|
|
575
|
+
status: 429;
|
|
576
576
|
input: {
|
|
577
577
|
param: {
|
|
578
578
|
orgId: string;
|
|
@@ -586,14 +586,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
586
586
|
} | {
|
|
587
587
|
output: {
|
|
588
588
|
error: {
|
|
589
|
-
code: "
|
|
589
|
+
code: "upstream_error";
|
|
590
590
|
details?: readonly Response.error.Detail[] | undefined;
|
|
591
591
|
message: string;
|
|
592
592
|
};
|
|
593
593
|
requestId: string;
|
|
594
594
|
};
|
|
595
595
|
outputFormat: "json";
|
|
596
|
-
status:
|
|
596
|
+
status: 502;
|
|
597
597
|
input: {
|
|
598
598
|
param: {
|
|
599
599
|
orgId: string;
|
|
@@ -695,14 +695,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
695
695
|
$delete: {
|
|
696
696
|
output: {
|
|
697
697
|
error: {
|
|
698
|
-
code: "
|
|
698
|
+
code: "api_key_malformed";
|
|
699
699
|
details?: readonly Response.error.Detail[] | undefined;
|
|
700
700
|
message: string;
|
|
701
701
|
};
|
|
702
702
|
requestId: string;
|
|
703
703
|
};
|
|
704
704
|
outputFormat: "json";
|
|
705
|
-
status:
|
|
705
|
+
status: 400;
|
|
706
706
|
input: {
|
|
707
707
|
param: {
|
|
708
708
|
orgId: string;
|
|
@@ -712,14 +712,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
712
712
|
} | {
|
|
713
713
|
output: {
|
|
714
714
|
error: {
|
|
715
|
-
code: "
|
|
715
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
716
716
|
details?: readonly Response.error.Detail[] | undefined;
|
|
717
717
|
message: string;
|
|
718
718
|
};
|
|
719
719
|
requestId: string;
|
|
720
720
|
};
|
|
721
721
|
outputFormat: "json";
|
|
722
|
-
status:
|
|
722
|
+
status: 401;
|
|
723
723
|
input: {
|
|
724
724
|
param: {
|
|
725
725
|
orgId: string;
|
|
@@ -729,14 +729,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
729
729
|
} | {
|
|
730
730
|
output: {
|
|
731
731
|
error: {
|
|
732
|
-
code: "
|
|
732
|
+
code: "api_key_forbidden" | "api_key_ip_forbidden";
|
|
733
733
|
details?: readonly Response.error.Detail[] | undefined;
|
|
734
734
|
message: string;
|
|
735
735
|
};
|
|
736
736
|
requestId: string;
|
|
737
737
|
};
|
|
738
738
|
outputFormat: "json";
|
|
739
|
-
status:
|
|
739
|
+
status: 403;
|
|
740
740
|
input: {
|
|
741
741
|
param: {
|
|
742
742
|
orgId: string;
|
|
@@ -746,14 +746,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
746
746
|
} | {
|
|
747
747
|
output: {
|
|
748
748
|
error: {
|
|
749
|
-
code: "
|
|
749
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
750
750
|
details?: readonly Response.error.Detail[] | undefined;
|
|
751
751
|
message: string;
|
|
752
752
|
};
|
|
753
753
|
requestId: string;
|
|
754
754
|
};
|
|
755
755
|
outputFormat: "json";
|
|
756
|
-
status:
|
|
756
|
+
status: 429;
|
|
757
757
|
input: {
|
|
758
758
|
param: {
|
|
759
759
|
orgId: string;
|
|
@@ -763,14 +763,14 @@ export declare function projects(): import("hono/hono-base").HonoBase<App.Enviro
|
|
|
763
763
|
} | {
|
|
764
764
|
output: {
|
|
765
765
|
error: {
|
|
766
|
-
code: "
|
|
766
|
+
code: "upstream_error";
|
|
767
767
|
details?: readonly Response.error.Detail[] | undefined;
|
|
768
768
|
message: string;
|
|
769
769
|
};
|
|
770
770
|
requestId: string;
|
|
771
771
|
};
|
|
772
772
|
outputFormat: "json";
|
|
773
|
-
status:
|
|
773
|
+
status: 502;
|
|
774
774
|
input: {
|
|
775
775
|
param: {
|
|
776
776
|
orgId: string;
|