@merkl/api 0.10.126 → 0.10.128

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. package/dist/package.json +4 -2
  2. package/dist/src/backgroundJobs/jobs/campaignsCacheUpdater.d.ts +2 -1
  3. package/dist/src/backgroundJobs/jobs/health.d.ts +2 -1
  4. package/dist/src/backgroundJobs/jobs/opportunityUpdater.d.ts +2 -1
  5. package/dist/src/backgroundJobs/jobs/priceUpdater.d.ts +2 -1
  6. package/dist/src/backgroundJobs/jobs/sync.d.ts +2 -1
  7. package/dist/src/eden/index.d.ts +237 -116
  8. package/dist/src/hooks/checkQueryAddressValidity.d.ts +1 -0
  9. package/dist/src/hooks/checkQueryChainIdValidity.d.ts +1 -0
  10. package/dist/src/index.d.ts +117 -76
  11. package/dist/src/internal/controllers/endingCampaigns.d.ts +2 -1
  12. package/dist/src/internal/controllers/unclaimed.d.ts +2 -1
  13. package/dist/src/modules/v4/accounting/accounting.controller.d.ts +3 -2
  14. package/dist/src/modules/v4/blacklist/blacklist.controller.d.ts +5 -4
  15. package/dist/src/modules/v4/campaign/campaign.controller.d.ts +7 -6
  16. package/dist/src/modules/v4/campaign/campaign.service.d.ts +8 -0
  17. package/dist/src/modules/v4/chain/chain.controller.d.ts +4 -3
  18. package/dist/src/modules/v4/dynamicData/dynamicData.controller.d.ts +1 -0
  19. package/dist/src/modules/v4/merklRoot/merklRoot.controller.d.ts +3 -2
  20. package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +46 -10
  21. package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +57 -6
  22. package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +48 -0
  23. package/dist/src/modules/v4/participate/participate.controller.d.ts +5 -4
  24. package/dist/src/modules/v4/price/price.controller.d.ts +6 -5
  25. package/dist/src/modules/v4/protocol/protocol.controller.d.ts +8 -5
  26. package/dist/src/modules/v4/reward/reward.controller.d.ts +20 -13
  27. package/dist/src/modules/v4/reward/reward.model.d.ts +4 -1
  28. package/dist/src/modules/v4/router.d.ts +115 -70
  29. package/dist/src/modules/v4/status/status.controller.d.ts +6 -5
  30. package/dist/src/modules/v4/token/token.controller.d.ts +6 -6
  31. package/dist/src/modules/v4/uniswapV4/uniswapV4.controller.d.ts +2 -1
  32. package/dist/src/modules/v4/user/user.controller.d.ts +8 -5
  33. package/dist/src/plugins/error-handling.plugin.d.ts +1 -0
  34. package/dist/src/plugins/logger.plugin.d.ts +1 -0
  35. package/dist/src/routes/v1/allowances.d.ts +3 -2
  36. package/dist/src/routes/v1/balances.d.ts +3 -2
  37. package/dist/src/routes/v1/prices.d.ts +2 -1
  38. package/dist/src/routes/v1/tokens.d.ts +2 -1
  39. package/dist/src/routes/v2/merkl.d.ts +2 -1
  40. package/dist/src/routes/v3/ERC20Campaigns.d.ts +120 -78
  41. package/dist/src/routes/v3/app.d.ts +3 -2
  42. package/dist/src/routes/v3/blacklist.d.ts +118 -77
  43. package/dist/src/routes/v3/campaign/delay.d.ts +6 -1
  44. package/dist/src/routes/v3/campaignClaims.d.ts +2 -1
  45. package/dist/src/routes/v3/campaignReport.d.ts +2 -1
  46. package/dist/src/routes/v3/campaignUnclaimed.d.ts +3 -2
  47. package/dist/src/routes/v3/campaigns.d.ts +120 -78
  48. package/dist/src/routes/v3/campaignsForMainParameter.d.ts +2 -1
  49. package/dist/src/routes/v3/campaignsInfo.d.ts +123 -78
  50. package/dist/src/routes/v3/campaignsRewardsReport.d.ts +2 -1
  51. package/dist/src/routes/v3/claims.d.ts +2 -1
  52. package/dist/src/routes/v3/compoundV2.d.ts +12 -2
  53. package/dist/src/routes/v3/createCampaign.d.ts +2 -1
  54. package/dist/src/routes/v3/dolomite.d.ts +2 -1
  55. package/dist/src/routes/v3/euler.d.ts +2 -1
  56. package/dist/src/routes/v3/exports/campaigns.d.ts +2 -1
  57. package/dist/src/routes/v3/fetch.d.ts +2 -1
  58. package/dist/src/routes/v3/health.d.ts +2 -1
  59. package/dist/src/routes/v3/lostyield.d.ts +2 -1
  60. package/dist/src/routes/v3/merkl.d.ts +2 -1
  61. package/dist/src/routes/v3/morphoMarkets.d.ts +2 -1
  62. package/dist/src/routes/v3/morphoVaults.d.ts +2 -1
  63. package/dist/src/routes/v3/multiChainPositions.d.ts +120 -78
  64. package/dist/src/routes/v3/opportunity.d.ts +122 -96
  65. package/dist/src/routes/v3/overview.d.ts +22 -4
  66. package/dist/src/routes/v3/parse.d.ts +2 -1
  67. package/dist/src/routes/v3/payload.d.ts +2 -1
  68. package/dist/src/routes/v3/poolInfo.d.ts +2 -1
  69. package/dist/src/routes/v3/positions.d.ts +121 -79
  70. package/dist/src/routes/v3/radiant.d.ts +2 -1
  71. package/dist/src/routes/v3/recipients.d.ts +2 -1
  72. package/dist/src/routes/v3/rewards.d.ts +147 -78
  73. package/dist/src/routes/v3/rewardsReport.d.ts +2 -1
  74. package/dist/src/routes/v3/rootForTimestamp.d.ts +2 -1
  75. package/dist/src/routes/v3/silo.d.ts +2 -1
  76. package/dist/src/routes/v3/token.d.ts +3 -2
  77. package/dist/src/routes/v3/tokenUnclaimed.d.ts +2 -1
  78. package/dist/src/routes/v3/twt/participants.d.ts +2 -1
  79. package/dist/src/routes/v3/updates.d.ts +127 -78
  80. package/dist/src/routes/v3/userRewards.d.ts +119 -78
  81. package/dist/src/utils/error.d.ts +1 -0
  82. package/dist/src/utils/validation.d.ts +3 -3
  83. package/dist/tsconfig.package.tsbuildinfo +1 -1
  84. package/package.json +4 -2
  85. package/dist/src/utils/trace.d.ts +0 -26
@@ -17,11 +17,12 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
17
17
  }, {
18
18
  schema: {};
19
19
  macro: {};
20
+ macroFn: {};
20
21
  }, {
21
22
  index: {
22
23
  get: {
23
24
  body: unknown;
24
- params: Record<never, string>;
25
+ params: {};
25
26
  query: {
26
27
  from?: number | undefined;
27
28
  to?: number | undefined;
@@ -20,11 +20,12 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
20
20
  }, {
21
21
  schema: {};
22
22
  macro: {};
23
+ macroFn: {};
23
24
  }, {
24
25
  index: {
25
26
  get: {
26
27
  body: unknown;
27
- params: Record<never, string>;
28
+ params: {};
28
29
  query: {
29
30
  timestamp: number;
30
31
  chainId: number;
@@ -24,11 +24,12 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
24
24
  }, {
25
25
  schema: {};
26
26
  macro: {};
27
+ macroFn: {};
27
28
  }, {
28
29
  index: {
29
30
  get: {
30
31
  body: unknown;
31
- params: Record<never, string>;
32
+ params: {};
32
33
  query: {
33
34
  chainId: number;
34
35
  repository: string;
@@ -19,11 +19,12 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
19
19
  }, {
20
20
  schema: {};
21
21
  macro: {};
22
+ macroFn: {};
22
23
  }, {
23
24
  index: {
24
25
  get: {
25
26
  body: unknown;
26
- params: Record<never, string>;
27
+ params: {};
27
28
  query: {
28
29
  chainId: number;
29
30
  address: string;
@@ -31,8 +32,8 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
31
32
  headers: unknown;
32
33
  response: {
33
34
  200: {
34
- symbol: string;
35
35
  name: string;
36
+ symbol: string;
36
37
  decimals: number;
37
38
  };
38
39
  };
@@ -14,11 +14,12 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
14
14
  }, {
15
15
  schema: {};
16
16
  macro: {};
17
+ macroFn: {};
17
18
  }, {
18
19
  index: {
19
20
  get: {
20
21
  body: unknown;
21
- params: Record<never, string>;
22
+ params: {};
22
23
  query: {
23
24
  token: string;
24
25
  chainId: number;
@@ -13,11 +13,12 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
13
13
  }, {
14
14
  schema: {};
15
15
  macro: {};
16
+ macroFn: {};
16
17
  }, {
17
18
  index: {
18
19
  get: {
19
20
  body: unknown;
20
- params: Record<never, string>;
21
+ params: {};
21
22
  query: {
22
23
  chainId: number;
23
24
  };