@merkl/api 0.10.404 → 0.10.406

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.
Files changed (100) hide show
  1. package/dist/src/backgroundJobs/jobs/campaignsCacheUpdater.d.ts +2 -12
  2. package/dist/src/backgroundJobs/jobs/health.d.ts +2 -12
  3. package/dist/src/backgroundJobs/jobs/opportunityUpdater.d.ts +2 -3
  4. package/dist/src/backgroundJobs/jobs/priceUpdater.d.ts +2 -3
  5. package/dist/src/backgroundJobs/jobs/sync.d.ts +2 -12
  6. package/dist/src/eden/index.d.ts +10853 -8818
  7. package/dist/src/hooks/checkQueryAddressValidity.d.ts +2 -3
  8. package/dist/src/hooks/checkQueryChainIdValidity.d.ts +2 -3
  9. package/dist/src/index.d.ts +66 -1379
  10. package/dist/src/internal/controllers/endingCampaigns.d.ts +2 -12
  11. package/dist/src/internal/controllers/unclaimed.d.ts +2 -12
  12. package/dist/src/jobs/etl/reward-breakdowns.js +4 -3
  13. package/dist/src/modules/v4/accounting/accounting.controller.d.ts +2 -66
  14. package/dist/src/modules/v4/blacklist/blacklist.controller.d.ts +2 -30
  15. package/dist/src/modules/v4/boost/boost.controller.d.ts +2 -12
  16. package/dist/src/modules/v4/campaign/campaign.controller.d.ts +5 -78
  17. package/dist/src/modules/v4/campaign/campaign.repository.d.ts +6 -6
  18. package/dist/src/modules/v4/campaign/campaign.service.d.ts +4 -4
  19. package/dist/src/modules/v4/chain/chain.controller.d.ts +2 -39
  20. package/dist/src/modules/v4/claims/claims.controller.d.ts +2 -12
  21. package/dist/src/modules/v4/computedValue/computedValue.controller.d.ts +2 -39
  22. package/dist/src/modules/v4/creator/creator.controller.d.ts +2 -39
  23. package/dist/src/modules/v4/dungeonKeeper/dungeonKeeper.controller.d.ts +2 -3
  24. package/dist/src/modules/v4/dynamicData/dynamicData.controller.d.ts +3 -31
  25. package/dist/src/modules/v4/enso/enso.service.d.ts +1 -1
  26. package/dist/src/modules/v4/explorer/explorer.controller.d.ts +2 -12
  27. package/dist/src/modules/v4/interaction/interaction.controller.d.ts +3 -31
  28. package/dist/src/modules/v4/liquidity/liquidity.controller.d.ts +2 -12
  29. package/dist/src/modules/v4/merklRoot/merklRoot.controller.d.ts +2 -21
  30. package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +18 -118
  31. package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +1 -1
  32. package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +30 -30
  33. package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +12 -12
  34. package/dist/src/modules/v4/price/price.controller.d.ts +2 -48
  35. package/dist/src/modules/v4/programPayload/programPayload.controller.d.ts +2 -75
  36. package/dist/src/modules/v4/protocol/protocol.controller.d.ts +9 -46
  37. package/dist/src/modules/v4/protocol/protocol.repository.d.ts +5 -5
  38. package/dist/src/modules/v4/protocol/protocol.service.d.ts +2 -2
  39. package/dist/src/modules/v4/reward/reward.controller.d.ts +5 -147
  40. package/dist/src/modules/v4/reward/reward.repository.d.ts +3 -3
  41. package/dist/src/modules/v4/reward/reward.service.d.ts +18 -18
  42. package/dist/src/modules/v4/router.d.ts +45 -1009
  43. package/dist/src/modules/v4/status/status.controller.d.ts +2 -48
  44. package/dist/src/modules/v4/token/token.controller.d.ts +2 -75
  45. package/dist/src/modules/v4/uniswapV4/uniswapV4.controller.d.ts +2 -12
  46. package/dist/src/modules/v4/user/user.controller.d.ts +8 -90
  47. package/dist/src/plugins/error-handling.plugin.d.ts +2 -3
  48. package/dist/src/plugins/logger.plugin.d.ts +2 -3
  49. package/dist/src/routes/v1/allowances.d.ts +2 -12
  50. package/dist/src/routes/v1/balances.d.ts +2 -12
  51. package/dist/src/routes/v1/prices.d.ts +2 -12
  52. package/dist/src/routes/v1/router.d.ts +2 -39
  53. package/dist/src/routes/v1/tokens.d.ts +2 -12
  54. package/dist/src/routes/v2/merkl.d.ts +2 -12
  55. package/dist/src/routes/v2/router.d.ts +2 -12
  56. package/dist/src/routes/v3/app.d.ts +2 -12
  57. package/dist/src/routes/v3/blacklist.d.ts +2 -12
  58. package/dist/src/routes/v3/campaign/delay.d.ts +2 -12
  59. package/dist/src/routes/v3/campaignClaims.d.ts +2 -12
  60. package/dist/src/routes/v3/campaignReport.d.ts +2 -12
  61. package/dist/src/routes/v3/campaignUnclaimed.d.ts +2 -12
  62. package/dist/src/routes/v3/campaigns.d.ts +2 -12
  63. package/dist/src/routes/v3/campaignsForMainParameter.d.ts +2 -12
  64. package/dist/src/routes/v3/campaignsInfo.d.ts +2 -12
  65. package/dist/src/routes/v3/campaignsRewardsReport.d.ts +2 -12
  66. package/dist/src/routes/v3/claims.d.ts +2 -12
  67. package/dist/src/routes/v3/compoundV2.d.ts +2 -12
  68. package/dist/src/routes/v3/createCampaign.d.ts +2 -12
  69. package/dist/src/routes/v3/dolomite.d.ts +2 -12
  70. package/dist/src/routes/v3/euler.d.ts +2 -12
  71. package/dist/src/routes/v3/exports/campaigns.d.ts +2 -12
  72. package/dist/src/routes/v3/fetch.d.ts +2 -12
  73. package/dist/src/routes/v3/health.d.ts +2 -12
  74. package/dist/src/routes/v3/lostyield.d.ts +2 -12
  75. package/dist/src/routes/v3/merkl.d.ts +2 -3
  76. package/dist/src/routes/v3/morphoMarkets.d.ts +2 -12
  77. package/dist/src/routes/v3/morphoVaults.d.ts +2 -12
  78. package/dist/src/routes/v3/multiChainPositions.d.ts +2 -12
  79. package/dist/src/routes/v3/opportunity.d.ts +2 -12
  80. package/dist/src/routes/v3/overview.d.ts +2 -12
  81. package/dist/src/routes/v3/parse.d.ts +2 -12
  82. package/dist/src/routes/v3/payload.d.ts +2 -12
  83. package/dist/src/routes/v3/poolInfo.d.ts +2 -12
  84. package/dist/src/routes/v3/positions.d.ts +2 -12
  85. package/dist/src/routes/v3/radiant.d.ts +2 -12
  86. package/dist/src/routes/v3/recipients.d.ts +2 -12
  87. package/dist/src/routes/v3/rewards.d.ts +2 -12
  88. package/dist/src/routes/v3/rewardsReport.d.ts +2 -12
  89. package/dist/src/routes/v3/router.d.ts +3 -328
  90. package/dist/src/routes/v3/silo.d.ts +2 -12
  91. package/dist/src/routes/v3/token.d.ts +2 -12
  92. package/dist/src/routes/v3/tokenUnclaimed.d.ts +2 -12
  93. package/dist/src/routes/v3/twt/participants.d.ts +2 -12
  94. package/dist/src/routes/v3/uniswapv4.d.ts +2 -12
  95. package/dist/src/routes/v3/updates.d.ts +2 -12
  96. package/dist/src/routes/v3/userRewards.d.ts +2 -12
  97. package/dist/src/utils/error.d.ts +2 -3
  98. package/dist/src/utils/logger.d.ts +8 -0
  99. package/dist/tsconfig.package.tsbuildinfo +1 -1
  100. package/package.json +6 -6
@@ -1,17 +1,16 @@
1
1
  import Elysia from "elysia";
2
- export declare const RewardController: Elysia<"/rewards", {
2
+ export declare const RewardController: Elysia<"/rewards", false, {
3
3
  decorator: {};
4
4
  store: {};
5
5
  derive: {};
6
6
  resolve: {};
7
7
  }, {
8
- typebox: import("@sinclair/typebox").TModule<{}>;
8
+ type: {};
9
9
  error: {};
10
10
  }, {
11
11
  schema: {};
12
12
  macro: {};
13
13
  macroFn: {};
14
- parser: {};
15
14
  }, {
16
15
  rewards: {
17
16
  index: {
@@ -27,15 +26,6 @@ export declare const RewardController: Elysia<"/rewards", {
27
26
  headers: unknown;
28
27
  response: {
29
28
  200: import("./reward.model").BreakdownForCampaignsRaw[];
30
- 422: {
31
- type: "validation";
32
- on: string;
33
- summary?: string;
34
- message?: string;
35
- found?: unknown;
36
- property?: string;
37
- expected?: string;
38
- };
39
29
  };
40
30
  };
41
31
  };
@@ -56,15 +46,6 @@ export declare const RewardController: Elysia<"/rewards", {
56
46
  campaignId: string;
57
47
  amount: bigint;
58
48
  };
59
- 422: {
60
- type: "validation";
61
- on: string;
62
- summary?: string;
63
- message?: string;
64
- found?: unknown;
65
- property?: string;
66
- expected?: string;
67
- };
68
49
  };
69
50
  };
70
51
  };
@@ -84,15 +65,6 @@ export declare const RewardController: Elysia<"/rewards", {
84
65
  200: {
85
66
  count: number;
86
67
  };
87
- 422: {
88
- type: "validation";
89
- on: string;
90
- summary?: string;
91
- message?: string;
92
- found?: unknown;
93
- property?: string;
94
- expected?: string;
95
- };
96
68
  };
97
69
  };
98
70
  };
@@ -102,9 +74,7 @@ export declare const RewardController: Elysia<"/rewards", {
102
74
  index: {
103
75
  get: {
104
76
  body: unknown;
105
- params: {
106
- campaignId: string;
107
- };
77
+ params: {};
108
78
  query: {
109
79
  items?: number | undefined;
110
80
  page?: number | undefined;
@@ -117,15 +87,6 @@ export declare const RewardController: Elysia<"/rewards", {
117
87
  pending: string;
118
88
  recipient: string;
119
89
  }[];
120
- 422: {
121
- type: "validation";
122
- on: string;
123
- summary?: string;
124
- message?: string;
125
- found?: unknown;
126
- property?: string;
127
- expected?: string;
128
- };
129
90
  };
130
91
  };
131
92
  };
@@ -137,9 +98,7 @@ export declare const RewardController: Elysia<"/rewards", {
137
98
  total: {
138
99
  get: {
139
100
  body: unknown;
140
- params: {
141
- campaignId: string;
142
- };
101
+ params: {};
143
102
  query: {
144
103
  items?: number | undefined;
145
104
  page?: number | undefined;
@@ -150,15 +109,6 @@ export declare const RewardController: Elysia<"/rewards", {
150
109
  tokenId: string;
151
110
  amount: bigint;
152
111
  };
153
- 422: {
154
- type: "validation";
155
- on: string;
156
- summary?: string;
157
- message?: string;
158
- found?: unknown;
159
- property?: string;
160
- expected?: string;
161
- };
162
112
  };
163
113
  };
164
114
  };
@@ -170,9 +120,7 @@ export declare const RewardController: Elysia<"/rewards", {
170
120
  count: {
171
121
  get: {
172
122
  body: unknown;
173
- params: {
174
- campaignId: string;
175
- };
123
+ params: {};
176
124
  query: {
177
125
  items?: number | undefined;
178
126
  page?: number | undefined;
@@ -182,15 +130,6 @@ export declare const RewardController: Elysia<"/rewards", {
182
130
  200: {
183
131
  count: number;
184
132
  };
185
- 422: {
186
- type: "validation";
187
- on: string;
188
- summary?: string;
189
- message?: string;
190
- found?: unknown;
191
- property?: string;
192
- expected?: string;
193
- };
194
133
  };
195
134
  };
196
135
  };
@@ -217,15 +156,6 @@ export declare const RewardController: Elysia<"/rewards", {
217
156
  pending: string;
218
157
  recipient: string;
219
158
  }[];
220
- 422: {
221
- type: "validation";
222
- on: string;
223
- summary?: string;
224
- message?: string;
225
- found?: unknown;
226
- property?: string;
227
- expected?: string;
228
- };
229
159
  };
230
160
  };
231
161
  };
@@ -249,15 +179,6 @@ export declare const RewardController: Elysia<"/rewards", {
249
179
  tokenId: string;
250
180
  amount: bigint;
251
181
  };
252
- 422: {
253
- type: "validation";
254
- on: string;
255
- summary?: string;
256
- message?: string;
257
- found?: unknown;
258
- property?: string;
259
- expected?: string;
260
- };
261
182
  };
262
183
  };
263
184
  };
@@ -280,15 +201,6 @@ export declare const RewardController: Elysia<"/rewards", {
280
201
  200: {
281
202
  count: number;
282
203
  };
283
- 422: {
284
- type: "validation";
285
- on: string;
286
- summary?: string;
287
- message?: string;
288
- found?: unknown;
289
- property?: string;
290
- expected?: string;
291
- };
292
204
  };
293
205
  };
294
206
  };
@@ -316,15 +228,6 @@ export declare const RewardController: Elysia<"/rewards", {
316
228
  200: {
317
229
  count: number;
318
230
  };
319
- 422: {
320
- type: "validation";
321
- on: string;
322
- summary?: string;
323
- message?: string;
324
- found?: unknown;
325
- property?: string;
326
- expected?: string;
327
- };
328
231
  };
329
232
  };
330
233
  };
@@ -356,15 +259,6 @@ export declare const RewardController: Elysia<"/rewards", {
356
259
  200: {
357
260
  count: number;
358
261
  } | undefined;
359
- 422: {
360
- type: "validation";
361
- on: string;
362
- summary?: string;
363
- message?: string;
364
- found?: unknown;
365
- property?: string;
366
- expected?: string;
367
- };
368
262
  };
369
263
  };
370
264
  };
@@ -386,15 +280,6 @@ export declare const RewardController: Elysia<"/rewards", {
386
280
  };
387
281
  response: {
388
282
  200: void;
389
- 422: {
390
- type: "validation";
391
- on: string;
392
- summary?: string;
393
- message?: string;
394
- found?: unknown;
395
- property?: string;
396
- expected?: string;
397
- };
398
283
  };
399
284
  };
400
285
  };
@@ -424,15 +309,6 @@ export declare const RewardController: Elysia<"/rewards", {
424
309
  created: number;
425
310
  updated: number;
426
311
  };
427
- 422: {
428
- type: "validation";
429
- on: string;
430
- summary?: string;
431
- message?: string;
432
- found?: unknown;
433
- property?: string;
434
- expected?: string;
435
- };
436
312
  };
437
313
  };
438
314
  };
@@ -456,15 +332,6 @@ export declare const RewardController: Elysia<"/rewards", {
456
332
  breakdownCount: number;
457
333
  };
458
334
  };
459
- 422: {
460
- type: "validation";
461
- on: string;
462
- summary?: string;
463
- message?: string;
464
- found?: unknown;
465
- property?: string;
466
- expected?: string;
467
- };
468
335
  };
469
336
  };
470
337
  };
@@ -484,15 +351,6 @@ export declare const RewardController: Elysia<"/rewards", {
484
351
  200: {
485
352
  [x: string]: string;
486
353
  };
487
- 422: {
488
- type: "validation";
489
- on: string;
490
- summary?: string;
491
- message?: string;
492
- found?: unknown;
493
- property?: string;
494
- expected?: string;
495
- };
496
354
  };
497
355
  };
498
356
  };
@@ -39,24 +39,24 @@ export declare abstract class RewardRepository {
39
39
  price: number | null;
40
40
  }[];
41
41
  Protocols: {
42
- description: string;
43
42
  name: string;
44
43
  url: string;
44
+ description: string;
45
45
  id: string;
46
46
  tags: string[];
47
47
  icon: string;
48
48
  }[];
49
49
  MainProtocol: {
50
- description: string;
51
50
  name: string;
52
51
  url: string;
52
+ description: string;
53
53
  id: string;
54
54
  tags: string[];
55
55
  icon: string;
56
56
  } | null;
57
57
  } & {
58
- type: import("../../../../database/api/.generated").$Enums.CampaignType;
59
58
  name: string;
59
+ type: import("../../../../database/api/.generated").$Enums.CampaignType;
60
60
  id: string;
61
61
  status: import("../../../../database/api/.generated").$Enums.Status;
62
62
  tags: string[];
@@ -35,24 +35,24 @@ export declare abstract class RewardService {
35
35
  price: number | null;
36
36
  }[];
37
37
  Protocols: {
38
- description: string;
39
38
  name: string;
40
39
  url: string;
40
+ description: string;
41
41
  id: string;
42
42
  tags: string[];
43
43
  icon: string;
44
44
  }[];
45
45
  MainProtocol: {
46
- description: string;
47
46
  name: string;
48
47
  url: string;
48
+ description: string;
49
49
  id: string;
50
50
  tags: string[];
51
51
  icon: string;
52
52
  } | null;
53
53
  } & {
54
- type: import("../../../../database/api/.generated").$Enums.CampaignType;
55
54
  name: string;
55
+ type: import("../../../../database/api/.generated").$Enums.CampaignType;
56
56
  id: string;
57
57
  status: import("../../../../database/api/.generated").$Enums.Status;
58
58
  tags: string[];
@@ -111,24 +111,24 @@ export declare abstract class RewardService {
111
111
  price: number | null;
112
112
  }[];
113
113
  Protocols: {
114
- description: string;
115
114
  name: string;
116
115
  url: string;
116
+ description: string;
117
117
  id: string;
118
118
  tags: string[];
119
119
  icon: string;
120
120
  }[];
121
121
  MainProtocol: {
122
- description: string;
123
122
  name: string;
124
123
  url: string;
124
+ description: string;
125
125
  id: string;
126
126
  tags: string[];
127
127
  icon: string;
128
128
  } | null;
129
129
  } & {
130
- type: import("../../../../database/api/.generated").$Enums.CampaignType;
131
130
  name: string;
131
+ type: import("../../../../database/api/.generated").$Enums.CampaignType;
132
132
  id: string;
133
133
  status: import("../../../../database/api/.generated").$Enums.Status;
134
134
  tags: string[];
@@ -190,24 +190,24 @@ export declare abstract class RewardService {
190
190
  price: number | null;
191
191
  }[];
192
192
  Protocols: {
193
- description: string;
194
193
  name: string;
195
194
  url: string;
195
+ description: string;
196
196
  id: string;
197
197
  tags: string[];
198
198
  icon: string;
199
199
  }[];
200
200
  MainProtocol: {
201
- description: string;
202
201
  name: string;
203
202
  url: string;
203
+ description: string;
204
204
  id: string;
205
205
  tags: string[];
206
206
  icon: string;
207
207
  } | null;
208
208
  } & {
209
- type: import("../../../../database/api/.generated").$Enums.CampaignType;
210
209
  name: string;
210
+ type: import("../../../../database/api/.generated").$Enums.CampaignType;
211
211
  id: string;
212
212
  status: import("../../../../database/api/.generated").$Enums.Status;
213
213
  tags: string[];
@@ -300,24 +300,24 @@ export declare abstract class RewardService {
300
300
  price: number | null;
301
301
  }[];
302
302
  Protocols: {
303
- description: string;
304
303
  name: string;
305
304
  url: string;
305
+ description: string;
306
306
  id: string;
307
307
  tags: string[];
308
308
  icon: string;
309
309
  }[];
310
310
  MainProtocol: {
311
- description: string;
312
311
  name: string;
313
312
  url: string;
313
+ description: string;
314
314
  id: string;
315
315
  tags: string[];
316
316
  icon: string;
317
317
  } | null;
318
318
  } & {
319
- type: import("../../../../database/api/.generated").$Enums.CampaignType;
320
319
  name: string;
320
+ type: import("../../../../database/api/.generated").$Enums.CampaignType;
321
321
  id: string;
322
322
  status: import("../../../../database/api/.generated").$Enums.Status;
323
323
  tags: string[];
@@ -391,24 +391,24 @@ export declare abstract class RewardService {
391
391
  price: number | null;
392
392
  }[];
393
393
  Protocols: {
394
- description: string;
395
394
  name: string;
396
395
  url: string;
396
+ description: string;
397
397
  id: string;
398
398
  tags: string[];
399
399
  icon: string;
400
400
  }[];
401
401
  MainProtocol: {
402
- description: string;
403
402
  name: string;
404
403
  url: string;
404
+ description: string;
405
405
  id: string;
406
406
  tags: string[];
407
407
  icon: string;
408
408
  } | null;
409
409
  } & {
410
- type: import("../../../../database/api/.generated").$Enums.CampaignType;
411
410
  name: string;
411
+ type: import("../../../../database/api/.generated").$Enums.CampaignType;
412
412
  id: string;
413
413
  status: import("../../../../database/api/.generated").$Enums.Status;
414
414
  tags: string[];
@@ -479,24 +479,24 @@ export declare abstract class RewardService {
479
479
  price: number | null;
480
480
  }[];
481
481
  Protocols: {
482
- description: string;
483
482
  name: string;
484
483
  url: string;
484
+ description: string;
485
485
  id: string;
486
486
  tags: string[];
487
487
  icon: string;
488
488
  }[];
489
489
  MainProtocol: {
490
- description: string;
491
490
  name: string;
492
491
  url: string;
492
+ description: string;
493
493
  id: string;
494
494
  tags: string[];
495
495
  icon: string;
496
496
  } | null;
497
497
  } & {
498
- type: import("../../../../database/api/.generated").$Enums.CampaignType;
499
498
  name: string;
499
+ type: import("../../../../database/api/.generated").$Enums.CampaignType;
500
500
  id: string;
501
501
  status: import("../../../../database/api/.generated").$Enums.Status;
502
502
  tags: string[];