@merkl/api 0.10.390 → 0.10.392

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 (151) hide show
  1. package/dist/database/api/.generated/edge.js +9 -7
  2. package/dist/database/api/.generated/index-browser.js +4 -4
  3. package/dist/database/api/.generated/index.d.ts +3687 -491
  4. package/dist/database/api/.generated/index.js +9 -7
  5. package/dist/database/api/.generated/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
  6. package/dist/database/api/.generated/libquery_engine-linux-arm64-openssl-1.1.x.so.node +0 -0
  7. package/dist/database/api/.generated/libquery_engine-linux-musl-arm64-openssl-3.0.x.so.node +0 -0
  8. package/dist/database/api/.generated/package.json +1 -1
  9. package/dist/database/api/.generated/runtime/edge-esm.js +18 -18
  10. package/dist/database/api/.generated/runtime/edge.js +18 -18
  11. package/dist/database/api/.generated/runtime/index-browser.d.ts +1 -1
  12. package/dist/database/api/.generated/runtime/library.d.ts +107 -38
  13. package/dist/database/api/.generated/runtime/library.js +53 -53
  14. package/dist/database/api/.generated/runtime/react-native.js +26 -26
  15. package/dist/database/api/.generated/runtime/wasm.js +19 -19
  16. package/dist/database/api/.generated/wasm.js +4 -4
  17. package/dist/database/engine/.generated/edge.js +9 -7
  18. package/dist/database/engine/.generated/index-browser.js +4 -4
  19. package/dist/database/engine/.generated/index.d.ts +1891 -257
  20. package/dist/database/engine/.generated/index.js +9 -7
  21. package/dist/database/engine/.generated/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
  22. package/dist/database/engine/.generated/libquery_engine-linux-arm64-openssl-1.1.x.so.node +0 -0
  23. package/dist/database/engine/.generated/libquery_engine-linux-musl-arm64-openssl-3.0.x.so.node +0 -0
  24. package/dist/database/engine/.generated/package.json +1 -1
  25. package/dist/database/engine/.generated/runtime/edge-esm.js +18 -18
  26. package/dist/database/engine/.generated/runtime/edge.js +18 -18
  27. package/dist/database/engine/.generated/runtime/index-browser.d.ts +1 -1
  28. package/dist/database/engine/.generated/runtime/library.d.ts +107 -38
  29. package/dist/database/engine/.generated/runtime/library.js +53 -53
  30. package/dist/database/engine/.generated/runtime/react-native.js +26 -26
  31. package/dist/database/engine/.generated/runtime/wasm.js +19 -19
  32. package/dist/database/engine/.generated/wasm.js +4 -4
  33. package/dist/src/backgroundJobs/jobs/campaignsCacheUpdater.d.ts +12 -2
  34. package/dist/src/backgroundJobs/jobs/health.d.ts +12 -2
  35. package/dist/src/backgroundJobs/jobs/opportunityUpdater.d.ts +3 -2
  36. package/dist/src/backgroundJobs/jobs/priceUpdater.d.ts +3 -2
  37. package/dist/src/backgroundJobs/jobs/sync.d.ts +12 -2
  38. package/dist/src/eden/index.d.ts +4021 -117
  39. package/dist/src/entities/opportunity.js +1 -1
  40. package/dist/src/hooks/checkQueryAddressValidity.d.ts +3 -2
  41. package/dist/src/hooks/checkQueryChainIdValidity.d.ts +3 -2
  42. package/dist/src/index.d.ts +1343 -49
  43. package/dist/src/internal/controllers/endingCampaigns.d.ts +12 -2
  44. package/dist/src/internal/controllers/unclaimed.d.ts +12 -2
  45. package/dist/src/jobs/etl/pendings.js +1 -1
  46. package/dist/src/jobs/etl/reward-breakdowns.js +55 -52
  47. package/dist/src/jobs/etl/rewards.js +37 -35
  48. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/helpers/tokenType.d.ts +5 -1
  49. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/helpers/tokenType.js +8 -0
  50. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/AaveProcessor.js +2 -3
  51. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/processorMapping.js +4 -0
  52. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound1.js +8 -0
  53. package/dist/src/libs/campaigns/campaignTypes/HyperdriveDynamicData.js +22 -19
  54. package/dist/src/modules/v4/accounting/accounting.controller.d.ts +66 -2
  55. package/dist/src/modules/v4/blacklist/blacklist.controller.d.ts +30 -2
  56. package/dist/src/modules/v4/boost/boost.controller.d.ts +12 -2
  57. package/dist/src/modules/v4/bucket/bucket.service.d.ts +1 -1
  58. package/dist/src/modules/v4/bucket/bucket.service.js +5 -0
  59. package/dist/src/modules/v4/campaign/campaign.controller.d.ts +78 -5
  60. package/dist/src/modules/v4/campaign/campaign.repository.d.ts +6 -6
  61. package/dist/src/modules/v4/campaign/campaign.service.d.ts +4 -4
  62. package/dist/src/modules/v4/chain/chain.controller.d.ts +39 -2
  63. package/dist/src/modules/v4/claims/claims.controller.d.ts +12 -2
  64. package/dist/src/modules/v4/computedValue/computedValue.controller.d.ts +39 -2
  65. package/dist/src/modules/v4/creator/creator.controller.d.ts +39 -2
  66. package/dist/src/modules/v4/dungeonKeeper/dungeonKeeper.controller.d.ts +3 -2
  67. package/dist/src/modules/v4/dynamicData/dynamicData.controller.d.ts +31 -3
  68. package/dist/src/modules/v4/enso/enso.service.d.ts +1 -1
  69. package/dist/src/modules/v4/explorer/explorer.controller.d.ts +12 -2
  70. package/dist/src/modules/v4/interaction/interaction.controller.d.ts +31 -3
  71. package/dist/src/modules/v4/liquidity/liquidity.controller.d.ts +12 -2
  72. package/dist/src/modules/v4/merklRoot/merklRoot.controller.d.ts +21 -2
  73. package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +118 -18
  74. package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +1 -1
  75. package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +30 -30
  76. package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +12 -12
  77. package/dist/src/modules/v4/opportunity/opportunity.service.js +1 -1
  78. package/dist/src/modules/v4/opportunity/subservices/getHyperdriveMetadata.service.d.ts +1 -1
  79. package/dist/src/modules/v4/opportunity/subservices/getHyperdriveMetadata.service.js +4 -0
  80. package/dist/src/modules/v4/price/price.controller.d.ts +48 -2
  81. package/dist/src/modules/v4/programPayload/programPayload.controller.d.ts +75 -2
  82. package/dist/src/modules/v4/programPayload/programPayload.repository.d.ts +0 -1
  83. package/dist/src/modules/v4/programPayload/programPayload.repository.js +3 -10
  84. package/dist/src/modules/v4/protocol/protocol.controller.d.ts +46 -9
  85. package/dist/src/modules/v4/protocol/protocol.repository.d.ts +5 -5
  86. package/dist/src/modules/v4/protocol/protocol.service.d.ts +2 -2
  87. package/dist/src/modules/v4/reward/reward.controller.d.ts +111 -2
  88. package/dist/src/modules/v4/reward/reward.repository.d.ts +3 -3
  89. package/dist/src/modules/v4/reward/reward.service.d.ts +18 -18
  90. package/dist/src/modules/v4/router.d.ts +973 -36
  91. package/dist/src/modules/v4/status/status.controller.d.ts +48 -2
  92. package/dist/src/modules/v4/token/token.controller.d.ts +75 -2
  93. package/dist/src/modules/v4/uniswapV4/uniswapV4.controller.d.ts +12 -2
  94. package/dist/src/modules/v4/user/user.controller.d.ts +90 -8
  95. package/dist/src/plugins/error-handling.plugin.d.ts +3 -2
  96. package/dist/src/plugins/logger.plugin.d.ts +3 -2
  97. package/dist/src/routes/v1/allowances.d.ts +12 -2
  98. package/dist/src/routes/v1/balances.d.ts +12 -2
  99. package/dist/src/routes/v1/prices.d.ts +12 -2
  100. package/dist/src/routes/v1/router.d.ts +39 -2
  101. package/dist/src/routes/v1/tokens.d.ts +12 -2
  102. package/dist/src/routes/v2/merkl.d.ts +12 -2
  103. package/dist/src/routes/v2/router.d.ts +12 -2
  104. package/dist/src/routes/v3/app.d.ts +12 -2
  105. package/dist/src/routes/v3/blacklist.d.ts +12 -2
  106. package/dist/src/routes/v3/campaign/delay.d.ts +12 -2
  107. package/dist/src/routes/v3/campaignClaims.d.ts +12 -2
  108. package/dist/src/routes/v3/campaignReport.d.ts +12 -2
  109. package/dist/src/routes/v3/campaignUnclaimed.d.ts +12 -2
  110. package/dist/src/routes/v3/campaigns.d.ts +12 -2
  111. package/dist/src/routes/v3/campaignsForMainParameter.d.ts +12 -2
  112. package/dist/src/routes/v3/campaignsInfo.d.ts +12 -2
  113. package/dist/src/routes/v3/campaignsRewardsReport.d.ts +12 -2
  114. package/dist/src/routes/v3/claims.d.ts +12 -2
  115. package/dist/src/routes/v3/compoundV2.d.ts +12 -2
  116. package/dist/src/routes/v3/createCampaign.d.ts +12 -2
  117. package/dist/src/routes/v3/dolomite.d.ts +12 -2
  118. package/dist/src/routes/v3/euler.d.ts +12 -2
  119. package/dist/src/routes/v3/exports/campaigns.d.ts +12 -2
  120. package/dist/src/routes/v3/fetch.d.ts +12 -2
  121. package/dist/src/routes/v3/health.d.ts +12 -2
  122. package/dist/src/routes/v3/lostyield.d.ts +12 -2
  123. package/dist/src/routes/v3/merkl.d.ts +3 -2
  124. package/dist/src/routes/v3/morphoMarkets.d.ts +12 -2
  125. package/dist/src/routes/v3/morphoVaults.d.ts +12 -2
  126. package/dist/src/routes/v3/multiChainPositions.d.ts +12 -2
  127. package/dist/src/routes/v3/opportunity.d.ts +12 -2
  128. package/dist/src/routes/v3/overview.d.ts +12 -2
  129. package/dist/src/routes/v3/parse.d.ts +12 -2
  130. package/dist/src/routes/v3/payload.d.ts +12 -2
  131. package/dist/src/routes/v3/poolInfo.d.ts +12 -2
  132. package/dist/src/routes/v3/positions.d.ts +12 -2
  133. package/dist/src/routes/v3/radiant.d.ts +12 -2
  134. package/dist/src/routes/v3/recipients.d.ts +12 -2
  135. package/dist/src/routes/v3/rewards.d.ts +12 -2
  136. package/dist/src/routes/v3/rewardsReport.d.ts +12 -2
  137. package/dist/src/routes/v3/router.d.ts +328 -3
  138. package/dist/src/routes/v3/silo.d.ts +12 -2
  139. package/dist/src/routes/v3/token.d.ts +12 -2
  140. package/dist/src/routes/v3/tokenUnclaimed.d.ts +12 -2
  141. package/dist/src/routes/v3/twt/participants.d.ts +12 -2
  142. package/dist/src/routes/v3/uniswapv4.d.ts +12 -2
  143. package/dist/src/routes/v3/updates.d.ts +12 -2
  144. package/dist/src/routes/v3/userRewards.d.ts +12 -2
  145. package/dist/src/utils/decodeCalls.js +12 -3
  146. package/dist/src/utils/encodeCalls.js +20 -7
  147. package/dist/src/utils/error.d.ts +3 -2
  148. package/dist/src/utils/generateCardName.js +4 -0
  149. package/dist/src/utils/logger.d.ts +29 -5
  150. package/dist/tsconfig.package.tsbuildinfo +1 -1
  151. package/package.json +24 -24
@@ -1,16 +1,17 @@
1
1
  import Elysia from "elysia";
2
- export declare const v1: Elysia<"/v1", false, {
2
+ export declare const v1: Elysia<"/v1", {
3
3
  decorator: {};
4
4
  store: {};
5
5
  derive: {};
6
6
  resolve: {};
7
7
  }, {
8
- type: {};
9
8
  error: {};
9
+ typebox: import("elysia/types").MergeTypeModule<import("elysia/types").MergeTypeModule<import("elysia/types").MergeTypeModule<import("elysia/types").MergeTypeModule<import("@sinclair/typebox").TModule<{}, {}>, import("elysia/types").MergeTypeModule<import("elysia/types").MergeTypeModule<import("@sinclair/typebox").TModule<{}, {}>, import("@sinclair/typebox").TModule<{}, {}>>, import("@sinclair/typebox").TModule<{}, {}>>>, import("elysia/types").MergeTypeModule<import("elysia/types").MergeTypeModule<import("@sinclair/typebox").TModule<{}, {}>, import("@sinclair/typebox").TModule<{}, {}>>, import("@sinclair/typebox").TModule<{}, {}>>>, import("@sinclair/typebox").TModule<{}, {}>>, import("@sinclair/typebox").TModule<{}, {}>>;
10
10
  }, {
11
11
  schema: {};
12
12
  macro: {};
13
13
  macroFn: {};
14
+ parser: {};
14
15
  }, {
15
16
  v1: {
16
17
  allowances: {
@@ -31,6 +32,15 @@ export declare const v1: Elysia<"/v1", false, {
31
32
  decimals: number;
32
33
  };
33
34
  };
35
+ 422: {
36
+ type: "validation";
37
+ on: string;
38
+ summary?: string;
39
+ message?: string;
40
+ found?: unknown;
41
+ property?: string;
42
+ expected?: string;
43
+ };
34
44
  };
35
45
  };
36
46
  };
@@ -55,6 +65,15 @@ export declare const v1: Elysia<"/v1", false, {
55
65
  decimals: number;
56
66
  };
57
67
  };
68
+ 422: {
69
+ type: "validation";
70
+ on: string;
71
+ summary?: string;
72
+ message?: string;
73
+ found?: unknown;
74
+ property?: string;
75
+ expected?: string;
76
+ };
58
77
  };
59
78
  };
60
79
  };
@@ -72,6 +91,15 @@ export declare const v1: Elysia<"/v1", false, {
72
91
  rate: number;
73
92
  token: string;
74
93
  }[];
94
+ 422: {
95
+ type: "validation";
96
+ on: string;
97
+ summary?: string;
98
+ message?: string;
99
+ found?: unknown;
100
+ property?: string;
101
+ expected?: string;
102
+ };
75
103
  };
76
104
  };
77
105
  };
@@ -87,6 +115,15 @@ export declare const v1: Elysia<"/v1", false, {
87
115
  response: {
88
116
  [x: string]: any;
89
117
  200: any;
118
+ 422: {
119
+ type: "validation";
120
+ on: string;
121
+ summary?: string;
122
+ message?: string;
123
+ found?: unknown;
124
+ property?: string;
125
+ expected?: string;
126
+ };
90
127
  };
91
128
  };
92
129
  };
@@ -8,18 +8,19 @@ export declare const response: import("@sinclair/typebox").TRecord<import("@sinc
8
8
  useInSwap: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
9
9
  logoURI: import("@sinclair/typebox").TString;
10
10
  }>>>;
11
- declare const _default: (app: Elysia) => Elysia<"", false, {
11
+ declare const _default: (app: Elysia) => Elysia<"", {
12
12
  decorator: {};
13
13
  store: {};
14
14
  derive: {};
15
15
  resolve: {};
16
16
  }, {
17
- type: {};
17
+ typebox: import("@sinclair/typebox").TModule<{}>;
18
18
  error: {};
19
19
  }, {
20
20
  schema: {};
21
21
  macro: {};
22
22
  macroFn: {};
23
+ parser: {};
23
24
  }, {
24
25
  tokens: {
25
26
  get: {
@@ -30,6 +31,15 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
30
31
  response: {
31
32
  [x: string]: any;
32
33
  200: any;
34
+ 422: {
35
+ type: "validation";
36
+ on: string;
37
+ summary?: string;
38
+ message?: string;
39
+ found?: unknown;
40
+ property?: string;
41
+ expected?: string;
42
+ };
33
43
  };
34
44
  };
35
45
  };
@@ -9,18 +9,19 @@ export declare const query: import("@sinclair/typebox").TObject<{
9
9
  user: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
10
10
  onlyLive: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
11
11
  }>;
12
- declare const _default: (app: Elysia) => Elysia<"", false, {
12
+ declare const _default: (app: Elysia) => Elysia<"", {
13
13
  decorator: {};
14
14
  store: {};
15
15
  derive: {};
16
16
  resolve: {};
17
17
  }, {
18
- type: {};
18
+ typebox: import("@sinclair/typebox").TModule<{}>;
19
19
  error: {};
20
20
  }, {
21
21
  schema: {};
22
22
  macro: {};
23
23
  macroFn: {};
24
+ parser: {};
24
25
  }, {
25
26
  merkl: {
26
27
  get: {
@@ -40,6 +41,15 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
40
41
  response: {
41
42
  [x: string]: any;
42
43
  200: any;
44
+ 422: {
45
+ type: "validation";
46
+ on: string;
47
+ summary?: string;
48
+ message?: string;
49
+ found?: unknown;
50
+ property?: string;
51
+ expected?: string;
52
+ };
43
53
  };
44
54
  };
45
55
  };
@@ -1,16 +1,17 @@
1
1
  import Elysia from "elysia";
2
- export declare const v2: Elysia<"/v2", false, {
2
+ export declare const v2: Elysia<"/v2", {
3
3
  decorator: {};
4
4
  store: {};
5
5
  derive: {};
6
6
  resolve: {};
7
7
  }, {
8
- type: {};
9
8
  error: {};
9
+ typebox: import("elysia/types").MergeTypeModule<import("@sinclair/typebox").TModule<{}, {}>, import("@sinclair/typebox").TModule<{}, {}>>;
10
10
  }, {
11
11
  schema: {};
12
12
  macro: {};
13
13
  macroFn: {};
14
+ parser: {};
14
15
  }, {
15
16
  v2: {
16
17
  merkl: {
@@ -31,6 +32,15 @@ export declare const v2: Elysia<"/v2", false, {
31
32
  response: {
32
33
  [x: string]: any;
33
34
  200: any;
35
+ 422: {
36
+ type: "validation";
37
+ on: string;
38
+ summary?: string;
39
+ message?: string;
40
+ found?: unknown;
41
+ property?: string;
42
+ expected?: string;
43
+ };
34
44
  };
35
45
  };
36
46
  };
@@ -3,18 +3,19 @@ export declare const response: import("@sinclair/typebox").TArray<import("@sincl
3
3
  rate: import("@sinclair/typebox").TNumber;
4
4
  token: import("@sinclair/typebox").TString;
5
5
  }>>;
6
- declare const _default: (app: Elysia) => Elysia<"", false, {
6
+ declare const _default: (app: Elysia) => Elysia<"", {
7
7
  decorator: {};
8
8
  store: {};
9
9
  derive: {};
10
10
  resolve: {};
11
11
  }, {
12
- type: {};
12
+ typebox: import("@sinclair/typebox").TModule<{}>;
13
13
  error: {};
14
14
  }, {
15
15
  schema: {};
16
16
  macro: {};
17
17
  macroFn: {};
18
+ parser: {};
18
19
  }, {
19
20
  app: {
20
21
  get: {
@@ -25,6 +26,15 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
25
26
  response: {
26
27
  [x: string]: any;
27
28
  200: any;
29
+ 422: {
30
+ type: "validation";
31
+ on: string;
32
+ summary?: string;
33
+ message?: string;
34
+ found?: unknown;
35
+ property?: string;
36
+ expected?: string;
37
+ };
28
38
  };
29
39
  };
30
40
  };
@@ -5,18 +5,19 @@ export declare const query: import("@sinclair/typebox").TObject<{
5
5
  export declare const response: import("@sinclair/typebox").TObject<{
6
6
  isBlacklisted: import("@sinclair/typebox").TBoolean;
7
7
  }>;
8
- declare const _default: (app: Elysia) => Elysia<"", false, {
8
+ declare const _default: (app: Elysia) => Elysia<"", {
9
9
  decorator: {};
10
10
  store: {};
11
11
  derive: {};
12
12
  resolve: {};
13
13
  }, {
14
- type: {};
15
14
  error: {};
15
+ typebox: import("elysia/types").MergeTypeModule<import("@sinclair/typebox").TModule<{}, {}>, import("@sinclair/typebox").TModule<{}, {}>>;
16
16
  }, {
17
17
  schema: {};
18
18
  macro: {};
19
19
  macroFn: {};
20
+ parser: {};
20
21
  }, {
21
22
  blacklist: {
22
23
  get: {
@@ -30,6 +31,15 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
30
31
  200: {
31
32
  isBlacklisted: boolean;
32
33
  };
34
+ 422: {
35
+ type: "validation";
36
+ on: string;
37
+ summary?: string;
38
+ message?: string;
39
+ found?: unknown;
40
+ property?: string;
41
+ expected?: string;
42
+ };
33
43
  };
34
44
  };
35
45
  };
@@ -3,18 +3,19 @@ export declare const query: import("@sinclair/typebox").TObject<{
3
3
  onlyLive: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
4
4
  }>;
5
5
  export declare const response: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TNumber>>;
6
- declare const _default: (app: Elysia) => Elysia<"", false, {
6
+ declare const _default: (app: Elysia) => Elysia<"", {
7
7
  decorator: {};
8
8
  store: {};
9
9
  derive: {};
10
10
  resolve: {};
11
11
  }, {
12
- type: {};
12
+ typebox: import("@sinclair/typebox").TModule<{}>;
13
13
  error: {};
14
14
  }, {
15
15
  schema: {};
16
16
  macro: {};
17
17
  macroFn: {};
18
+ parser: {};
18
19
  }, {
19
20
  index: {
20
21
  get: {
@@ -31,6 +32,15 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
31
32
  message?: string | undefined;
32
33
  error: string;
33
34
  };
35
+ 422: {
36
+ type: "validation";
37
+ on: string;
38
+ summary?: string;
39
+ message?: string;
40
+ found?: unknown;
41
+ property?: string;
42
+ expected?: string;
43
+ };
34
44
  };
35
45
  };
36
46
  };
@@ -4,18 +4,19 @@ export declare const query: import("@sinclair/typebox").TObject<{
4
4
  chainId: import("@sinclair/typebox").TNumber;
5
5
  byReason: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
6
6
  }>;
7
- declare const _default: (app: Elysia) => Elysia<"", false, {
7
+ declare const _default: (app: Elysia) => Elysia<"", {
8
8
  decorator: {};
9
9
  store: {};
10
10
  derive: {};
11
11
  resolve: {};
12
12
  }, {
13
- type: {};
14
13
  error: {};
14
+ typebox: import("elysia/types").MergeTypeModule<import("@sinclair/typebox").TModule<{}, {}>, import("@sinclair/typebox").TModule<{}, {}>>;
15
15
  }, {
16
16
  schema: {};
17
17
  macro: {};
18
18
  macroFn: {};
19
+ parser: {};
19
20
  }, {
20
21
  campaignClaims: {
21
22
  get: {
@@ -29,6 +30,15 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
29
30
  headers: unknown;
30
31
  response: {
31
32
  200: unknown;
33
+ 422: {
34
+ type: "validation";
35
+ on: string;
36
+ summary?: string;
37
+ message?: string;
38
+ found?: unknown;
39
+ property?: string;
40
+ expected?: string;
41
+ };
32
42
  };
33
43
  };
34
44
  };
@@ -4,18 +4,19 @@ export declare const query: import("@sinclair/typebox").TObject<{
4
4
  campaignId: import("@sinclair/typebox").TString;
5
5
  chainId: import("@sinclair/typebox").TNumber;
6
6
  }>;
7
- declare const _default: (app: Elysia) => Elysia<"", false, {
7
+ declare const _default: (app: Elysia) => Elysia<"", {
8
8
  decorator: {};
9
9
  store: {};
10
10
  derive: {};
11
11
  resolve: {};
12
12
  }, {
13
- type: {};
14
13
  error: {};
14
+ typebox: import("elysia/types").MergeTypeModule<import("@sinclair/typebox").TModule<{}, {}>, import("@sinclair/typebox").TModule<{}, {}>>;
15
15
  }, {
16
16
  schema: {};
17
17
  macro: {};
18
18
  macroFn: {};
19
+ parser: {};
19
20
  }, {
20
21
  campaignReport: {
21
22
  get: {
@@ -28,6 +29,15 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
28
29
  headers: unknown;
29
30
  response: {
30
31
  200: RewardsAmountQueryOutput;
32
+ 422: {
33
+ type: "validation";
34
+ on: string;
35
+ summary?: string;
36
+ message?: string;
37
+ found?: unknown;
38
+ property?: string;
39
+ expected?: string;
40
+ };
31
41
  };
32
42
  };
33
43
  };
@@ -3,18 +3,19 @@ export declare const query: import("@sinclair/typebox").TObject<{
3
3
  campaignIds: import("@sinclair/typebox").TString;
4
4
  chainId: import("@sinclair/typebox").TNumber;
5
5
  }>;
6
- declare const _default: (app: Elysia) => Elysia<"", false, {
6
+ declare const _default: (app: Elysia) => Elysia<"", {
7
7
  decorator: {};
8
8
  store: {};
9
9
  derive: {};
10
10
  resolve: {};
11
11
  }, {
12
- type: {};
13
12
  error: {};
13
+ typebox: import("elysia/types").MergeTypeModule<import("@sinclair/typebox").TModule<{}, {}>, import("@sinclair/typebox").TModule<{}, {}>>;
14
14
  }, {
15
15
  schema: {};
16
16
  macro: {};
17
17
  macroFn: {};
18
+ parser: {};
18
19
  }, {
19
20
  campaignUnclaimed: {
20
21
  get: {
@@ -29,6 +30,15 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
29
30
  200: {
30
31
  [x: string]: string;
31
32
  };
33
+ 422: {
34
+ type: "validation";
35
+ on: string;
36
+ summary?: string;
37
+ message?: string;
38
+ found?: unknown;
39
+ property?: string;
40
+ expected?: string;
41
+ };
32
42
  };
33
43
  };
34
44
  };
@@ -7,18 +7,19 @@ export declare const query: import("@sinclair/typebox").TObject<{
7
7
  hideTestTokens: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
8
8
  }>;
9
9
  export declare const response: import("@sinclair/typebox").TObject<{}>;
10
- declare const _default: (app: Elysia) => Elysia<"", false, {
10
+ declare const _default: (app: Elysia) => Elysia<"", {
11
11
  decorator: {};
12
12
  store: {};
13
13
  derive: {};
14
14
  resolve: {};
15
15
  }, {
16
- type: {};
16
+ typebox: import("@sinclair/typebox").TModule<{}>;
17
17
  error: {};
18
18
  }, {
19
19
  schema: {};
20
20
  macro: {};
21
21
  macroFn: {};
22
+ parser: {};
22
23
  }, {
23
24
  campaigns: {
24
25
  get: {
@@ -35,6 +36,15 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
35
36
  response: {
36
37
  [x: string]: any;
37
38
  200: any;
39
+ 422: {
40
+ type: "validation";
41
+ on: string;
42
+ summary?: string;
43
+ message?: string;
44
+ found?: unknown;
45
+ property?: string;
46
+ expected?: string;
47
+ };
38
48
  };
39
49
  };
40
50
  };
@@ -4,18 +4,19 @@ export declare const query: import("@sinclair/typebox").TObject<{
4
4
  chainId: import("@sinclair/typebox").TNumber;
5
5
  mainParameter: import("@sinclair/typebox").TString;
6
6
  }>;
7
- declare const _default: (app: Elysia) => Elysia<"", false, {
7
+ declare const _default: (app: Elysia) => Elysia<"", {
8
8
  decorator: {};
9
9
  store: {};
10
10
  derive: {};
11
11
  resolve: {};
12
12
  }, {
13
- type: {};
14
13
  error: {};
14
+ typebox: import("elysia/types").MergeTypeModule<import("@sinclair/typebox").TModule<{}, {}>, import("@sinclair/typebox").TModule<{}, {}>>;
15
15
  }, {
16
16
  schema: {};
17
17
  macro: {};
18
18
  macroFn: {};
19
+ parser: {};
19
20
  }, {
20
21
  campaignsForMainParameter: {
21
22
  get: {
@@ -28,6 +29,15 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
28
29
  headers: unknown;
29
30
  response: {
30
31
  200: CampaignsForMainParameterReturnType;
32
+ 422: {
33
+ type: "validation";
34
+ on: string;
35
+ summary?: string;
36
+ message?: string;
37
+ found?: unknown;
38
+ property?: string;
39
+ expected?: string;
40
+ };
31
41
  };
32
42
  };
33
43
  };
@@ -1,16 +1,17 @@
1
1
  import type Elysia from "elysia";
2
- declare const _default: (app: Elysia) => Elysia<"", false, {
2
+ declare const _default: (app: Elysia) => Elysia<"", {
3
3
  decorator: {};
4
4
  store: {};
5
5
  derive: {};
6
6
  resolve: {};
7
7
  }, {
8
- type: {};
8
+ typebox: import("@sinclair/typebox").TModule<{}>;
9
9
  error: {};
10
10
  }, {
11
11
  schema: {};
12
12
  macro: {};
13
13
  macroFn: {};
14
+ parser: {};
14
15
  }, {
15
16
  campaignInfo: {
16
17
  post: {
@@ -26,6 +27,15 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
26
27
  } | {
27
28
  error: string;
28
29
  };
30
+ 422: {
31
+ type: "validation";
32
+ on: string;
33
+ summary?: string;
34
+ message?: string;
35
+ found?: unknown;
36
+ property?: string;
37
+ expected?: string;
38
+ };
29
39
  };
30
40
  };
31
41
  };
@@ -4,18 +4,19 @@ export declare const query: import("@sinclair/typebox").TObject<{
4
4
  from: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
5
5
  to: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
6
6
  }>;
7
- declare const _default: (app: Elysia) => Elysia<"", false, {
7
+ declare const _default: (app: Elysia) => Elysia<"", {
8
8
  decorator: {};
9
9
  store: {};
10
10
  derive: {};
11
11
  resolve: {};
12
12
  }, {
13
- type: {};
13
+ typebox: import("@sinclair/typebox").TModule<{}>;
14
14
  error: {};
15
15
  }, {
16
16
  schema: {};
17
17
  macro: {};
18
18
  macroFn: {};
19
+ parser: {};
19
20
  }, {
20
21
  campaignsRewardsReport: {
21
22
  get: {
@@ -29,6 +30,15 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
29
30
  headers: unknown;
30
31
  response: {
31
32
  200: any[];
33
+ 422: {
34
+ type: "validation";
35
+ on: string;
36
+ summary?: string;
37
+ message?: string;
38
+ found?: unknown;
39
+ property?: string;
40
+ expected?: string;
41
+ };
32
42
  };
33
43
  };
34
44
  };
@@ -5,18 +5,19 @@ export declare const query: import("@sinclair/typebox").TObject<{
5
5
  byReason: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
6
6
  user: import("@sinclair/typebox").TString;
7
7
  }>;
8
- declare const _default: (app: Elysia) => Elysia<"", false, {
8
+ declare const _default: (app: Elysia) => Elysia<"", {
9
9
  decorator: {};
10
10
  store: {};
11
11
  derive: {};
12
12
  resolve: {};
13
13
  }, {
14
- type: {};
15
14
  error: {};
15
+ typebox: import("elysia/types").MergeTypeModule<import("@sinclair/typebox").TModule<{}, {}>, import("@sinclair/typebox").TModule<{}, {}>>;
16
16
  }, {
17
17
  schema: {};
18
18
  macro: {};
19
19
  macroFn: {};
20
+ parser: {};
20
21
  }, {
21
22
  claims: {
22
23
  get: {
@@ -31,6 +32,15 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
31
32
  headers: unknown;
32
33
  response: {
33
34
  200: unknown;
35
+ 422: {
36
+ type: "validation";
37
+ on: string;
38
+ summary?: string;
39
+ message?: string;
40
+ found?: unknown;
41
+ property?: string;
42
+ expected?: string;
43
+ };
34
44
  };
35
45
  };
36
46
  };
@@ -5,18 +5,19 @@ export declare const response: import("@sinclair/typebox").TArray<import("@sincl
5
5
  chaind: import("@sinclair/typebox").TNumber;
6
6
  debtTokenAddress: import("@sinclair/typebox").TString;
7
7
  }>>;
8
- declare const _default: (app: Elysia) => Elysia<"", false, {
8
+ declare const _default: (app: Elysia) => Elysia<"", {
9
9
  decorator: {};
10
10
  store: {};
11
11
  derive: {};
12
12
  resolve: {};
13
13
  }, {
14
- type: {};
14
+ typebox: import("@sinclair/typebox").TModule<{}>;
15
15
  error: {};
16
16
  }, {
17
17
  schema: {};
18
18
  macro: {};
19
19
  macroFn: {};
20
+ parser: {};
20
21
  }, {
21
22
  compoundV2: {
22
23
  get: {
@@ -35,6 +36,15 @@ declare const _default: (app: Elysia) => Elysia<"", false, {
35
36
  decimalsUnderlying: number;
36
37
  }[];
37
38
  };
39
+ 422: {
40
+ type: "validation";
41
+ on: string;
42
+ summary?: string;
43
+ message?: string;
44
+ found?: unknown;
45
+ property?: string;
46
+ expected?: string;
47
+ };
38
48
  };
39
49
  };
40
50
  };