@merkl/api 1.4.3 → 1.4.5

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 (149) hide show
  1. package/dist/src/eden/index.d.ts +1795 -2646
  2. package/dist/src/engine/deprecated/erc20SubTypeProcessors/helpers/ownerFinder.js.map +1 -1
  3. package/dist/src/engine/implementations/Erc20/subTypes/factories.js.map +1 -1
  4. package/dist/src/engine/implementations/Erc20/subTypes/implementations/eulerEarn/metadata.d.ts +17 -0
  5. package/dist/src/engine/implementations/Erc20/subTypes/implementations/eulerEarn/metadata.js.map +1 -0
  6. package/dist/src/engine/implementations/Erc20/subTypes/index.d.ts +1 -0
  7. package/dist/src/engine/implementations/Erc20/subTypes/index.js.map +1 -1
  8. package/dist/src/engine/implementations/Erc20/tvl.js.map +1 -1
  9. package/dist/src/hooks/checkQueryAddressValidity.d.ts +6 -0
  10. package/dist/src/hooks/checkQueryChainIdValidity.d.ts +6 -0
  11. package/dist/src/index.d.ts +4437 -6187
  12. package/dist/src/index.js.map +1 -1
  13. package/dist/src/jobs/prices.js.map +1 -1
  14. package/dist/src/libs/computeFee.d.ts +6 -6
  15. package/dist/src/modules/v4/accounting/accounting.controller.d.ts +8 -5
  16. package/dist/src/modules/v4/authentication/authentication.controller.d.ts +3 -2
  17. package/dist/src/modules/v4/blacklist/blacklist.controller.d.ts +6 -5
  18. package/dist/src/modules/v4/blacklist/blacklist.repository.d.ts +2 -2
  19. package/dist/src/modules/v4/blacklist/blacklist.service.d.ts +2 -2
  20. package/dist/src/modules/v4/boost/boost.controller.d.ts +3 -0
  21. package/dist/src/modules/v4/campaign/campaign.controller.d.ts +34 -174
  22. package/dist/src/modules/v4/campaign/campaign.repository.d.ts +18 -15
  23. package/dist/src/modules/v4/campaign/campaign.repository.js.map +1 -1
  24. package/dist/src/modules/v4/campaign/campaign.service.d.ts +9 -6
  25. package/dist/src/modules/v4/campaign/campaign.service.js.map +1 -1
  26. package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +99 -500
  27. package/dist/src/modules/v4/campaignBatch/campaignBatch.controller.d.ts +18 -22
  28. package/dist/src/modules/v4/campaignBatch/campaignBatch.repository.d.ts +3 -3
  29. package/dist/src/modules/v4/campaignBatch/campaignBatch.service.d.ts +3 -3
  30. package/dist/src/modules/v4/campaignBatch/campaignBatch.service.js.map +1 -1
  31. package/dist/src/modules/v4/campaignGroup/campaignGroup.repository.d.ts +4 -4
  32. package/dist/src/modules/v4/campaignGroup/campaignGroup.service.d.ts +4 -4
  33. package/dist/src/modules/v4/campaignStatus/campaignStatus.controller.d.ts +58 -51
  34. package/dist/src/modules/v4/campaignStatus/campaignStatus.repository.d.ts +11 -11
  35. package/dist/src/modules/v4/campaignStatus/campaignStatus.service.d.ts +9 -9
  36. package/dist/src/modules/v4/campaignToProcess/campaignToProcess.controller.d.ts +17 -2
  37. package/dist/src/modules/v4/chain/chain.controller.d.ts +9 -5
  38. package/dist/src/modules/v4/claims/claims.controller.d.ts +3 -0
  39. package/dist/src/modules/v4/clamm/clamm.controller.d.ts +4 -1
  40. package/dist/src/modules/v4/computedValue/computedValue.controller.d.ts +4 -4
  41. package/dist/src/modules/v4/computedValue/computedValue.repository.d.ts +1 -1
  42. package/dist/src/modules/v4/computedValue/computedValue.service.d.ts +1 -1
  43. package/dist/src/modules/v4/config/config.controller.d.ts +9 -7
  44. package/dist/src/modules/v4/creator/creator.controller.d.ts +13 -6
  45. package/dist/src/modules/v4/creator/creator.repository.d.ts +1 -1
  46. package/dist/src/modules/v4/creator/creator.service.d.ts +5 -2
  47. package/dist/src/modules/v4/euler/euler.controller.d.ts +5 -2
  48. package/dist/src/modules/v4/explorer/explorer.controller.d.ts +3 -0
  49. package/dist/src/modules/v4/interaction/interaction.controller.d.ts +4 -9
  50. package/dist/src/modules/v4/interaction/interaction.controller.js.map +1 -1
  51. package/dist/src/modules/v4/liquidity/implementations/AjnaPositionFetcher.d.ts +2 -2
  52. package/dist/src/modules/v4/liquidity/implementations/BadgerPositionFetcher.d.ts +2 -2
  53. package/dist/src/modules/v4/liquidity/implementations/ClammPositionFetcher.d.ts +2 -2
  54. package/dist/src/modules/v4/liquidity/implementations/DolomitePositionFetcher.d.ts +2 -2
  55. package/dist/src/modules/v4/liquidity/implementations/ERC20PositionFetcher.d.ts +2 -2
  56. package/dist/src/modules/v4/liquidity/implementations/EulerPositionFetcher.d.ts +2 -2
  57. package/dist/src/modules/v4/liquidity/liquidity.controller.d.ts +3 -0
  58. package/dist/src/modules/v4/merklRoot/merklRoot.controller.d.ts +10 -9
  59. package/dist/src/modules/v4/node/node.controller.d.ts +3 -0
  60. package/dist/src/modules/v4/node/node.repository.d.ts +3 -3
  61. package/dist/src/modules/v4/node/node.service.d.ts +1 -1
  62. package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +67 -62
  63. package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +12 -12
  64. package/dist/src/modules/v4/parse/parse.controller.d.ts +3 -0
  65. package/dist/src/modules/v4/payload/payload.controller.d.ts +231 -234
  66. package/dist/src/modules/v4/payload/payload.service.d.ts +0 -7
  67. package/dist/src/modules/v4/payload/payload.service.js.map +1 -1
  68. package/dist/src/modules/v4/priceSource/priceFetchers/implementations/dexScreenerService.js.map +1 -1
  69. package/dist/src/modules/v4/priceSource/priceSource.controller.d.ts +21 -9
  70. package/dist/src/modules/v4/priceSource/priceSource.repository.d.ts +6 -6
  71. package/dist/src/modules/v4/priceSource/priceSource.service.d.ts +6 -6
  72. package/dist/src/modules/v4/program/program.controller.d.ts +23 -17
  73. package/dist/src/modules/v4/program/program.repository.d.ts +2 -2
  74. package/dist/src/modules/v4/program/program.service.d.ts +2 -2
  75. package/dist/src/modules/v4/programPayload/programPayload.controller.d.ts +835 -797
  76. package/dist/src/modules/v4/protocol/protocol.controller.d.ts +8 -4
  77. package/dist/src/modules/v4/protocol/protocol.repository.d.ts +1 -1
  78. package/dist/src/modules/v4/referral/referral.controller.d.ts +3 -0
  79. package/dist/src/modules/v4/reward/reward.controller.d.ts +10 -23
  80. package/dist/src/modules/v4/reward/reward.repository.d.ts +3 -3
  81. package/dist/src/modules/v4/reward/reward.repository.js.map +1 -1
  82. package/dist/src/modules/v4/reward/reward.service.d.ts +37 -36
  83. package/dist/src/modules/v4/reward/reward.service.js.map +1 -1
  84. package/dist/src/modules/v4/router.d.ts +1880 -2411
  85. package/dist/src/modules/v4/router.js.map +1 -1
  86. package/dist/src/modules/v4/token/token.controller.d.ts +32 -52
  87. package/dist/src/modules/v4/token/token.controller.js.map +1 -1
  88. package/dist/src/modules/v4/ton/ton.controller.d.ts +3 -0
  89. package/dist/src/modules/v4/turtle/turtle.controller.d.ts +4 -1
  90. package/dist/src/modules/v4/uniswap/uniswap.controller.d.ts +416 -405
  91. package/dist/src/modules/v4/uniswap/uniswap.repository.d.ts +2 -2
  92. package/dist/src/modules/v4/uniswap/uniswap.service.d.ts +2 -2
  93. package/dist/src/modules/v4/user/user.controller.d.ts +9 -6
  94. package/dist/src/modules/v4/user/user.controller.js.map +1 -1
  95. package/dist/src/modules/v4/user/user.model.d.ts +5 -0
  96. package/dist/src/modules/v4/user/user.model.js.map +1 -1
  97. package/dist/src/plugins/errorHandler.d.ts +13 -0
  98. package/dist/src/routes/v1/allowances.d.ts +7 -1
  99. package/dist/src/routes/v1/balances.d.ts +7 -1
  100. package/dist/src/routes/v1/prices.d.ts +6 -0
  101. package/dist/src/routes/v1/router.d.ts +7 -12
  102. package/dist/src/routes/v1/router.js.map +1 -1
  103. package/dist/src/routes/v1/tokens.d.ts +8 -10
  104. package/dist/src/routes/v2/merkl.d.ts +7 -112
  105. package/dist/src/routes/v2/router.d.ts +4 -112
  106. package/dist/src/routes/v2/router.js.map +1 -1
  107. package/dist/src/routes/v3/app.d.ts +7 -1
  108. package/dist/src/routes/v3/blacklist.d.ts +6 -0
  109. package/dist/src/routes/v3/campaign/delay.d.ts +10 -4
  110. package/dist/src/routes/v3/campaignClaims.d.ts +6 -1
  111. package/dist/src/routes/v3/campaignUnclaimed.d.ts +7 -3
  112. package/dist/src/routes/v3/campaigns.d.ts +8 -10
  113. package/dist/src/routes/v3/campaignsForMainParameter.d.ts +6 -0
  114. package/dist/src/routes/v3/campaignsRewardsReport.d.ts +6 -0
  115. package/dist/src/routes/v3/claims.d.ts +6 -0
  116. package/dist/src/routes/v3/compoundV2.d.ts +8 -10
  117. package/dist/src/routes/v3/createCampaign.d.ts +6 -0
  118. package/dist/src/routes/v3/dolomite.d.ts +8 -10
  119. package/dist/src/routes/v3/euler.d.ts +16 -1
  120. package/dist/src/routes/v3/fetch.d.ts +6 -0
  121. package/dist/src/routes/v3/health.d.ts +3 -0
  122. package/dist/src/routes/v3/lostyield.d.ts +8 -10
  123. package/dist/src/routes/v3/merkl.d.ts +8 -113
  124. package/dist/src/routes/v3/morphoMarkets.d.ts +8 -10
  125. package/dist/src/routes/v3/morphoVaults.d.ts +8 -10
  126. package/dist/src/routes/v3/multiChainPositions.d.ts +6 -2
  127. package/dist/src/routes/v3/opportunity.d.ts +7 -1
  128. package/dist/src/routes/v3/overview.d.ts +26 -19
  129. package/dist/src/routes/v3/parse.d.ts +6 -0
  130. package/dist/src/routes/v3/payload.d.ts +6 -0
  131. package/dist/src/routes/v3/poolInfo.d.ts +14 -7
  132. package/dist/src/routes/v3/positions.d.ts +6 -2
  133. package/dist/src/routes/v3/radiant.d.ts +8 -10
  134. package/dist/src/routes/v3/recipients.d.ts +6 -0
  135. package/dist/src/routes/v3/rewards.d.ts +6 -0
  136. package/dist/src/routes/v3/rewardsReport.d.ts +6 -0
  137. package/dist/src/routes/v3/router.d.ts +37 -211
  138. package/dist/src/routes/v3/router.js.map +1 -1
  139. package/dist/src/routes/v3/silo.d.ts +8 -10
  140. package/dist/src/routes/v3/token.d.ts +6 -0
  141. package/dist/src/routes/v3/twt/participants.d.ts +8 -10
  142. package/dist/src/routes/v3/updates.d.ts +10 -8
  143. package/dist/src/routes/v3/userRewards.d.ts +6 -0
  144. package/dist/src/utils/error.d.ts +8 -0
  145. package/dist/src/utils/models.d.ts +12 -6
  146. package/dist/src/utils/queries/allCampaigns.d.ts +1 -1
  147. package/package.json +3 -3
  148. package/dist/src/scripts/campaign-config.test.d.ts +0 -1
  149. package/dist/src/scripts/campaign-config.test.js.map +0 -1
@@ -14,6 +14,7 @@ export declare const PriceSourceController: Elysia<"/prices", {
14
14
  macro: {};
15
15
  macroFn: {};
16
16
  parser: {};
17
+ response: {};
17
18
  }, {
18
19
  prices: {
19
20
  sources: {
@@ -22,7 +23,7 @@ export declare const PriceSourceController: Elysia<"/prices", {
22
23
  body: unknown;
23
24
  params: {
24
25
  addressOrSymbol: string;
25
- } & {};
26
+ };
26
27
  query: unknown;
27
28
  headers: unknown;
28
29
  response: {
@@ -32,7 +33,7 @@ export declare const PriceSourceController: Elysia<"/prices", {
32
33
  protected: boolean;
33
34
  identifier: string;
34
35
  method: import("@package/databases").PriceSourceMethod;
35
- args: import("@prisma/client/runtime/library").JsonValue;
36
+ args: import("@prisma/client/runtime/client").JsonValue;
36
37
  value: number | null;
37
38
  updatedAt: number | null;
38
39
  };
@@ -63,10 +64,19 @@ export declare const PriceSourceController: Elysia<"/prices", {
63
64
  protected: boolean;
64
65
  identifier: string;
65
66
  method: import("@package/databases").PriceSourceMethod;
66
- args: import("@prisma/client/runtime/library").JsonValue;
67
+ args: import("@prisma/client/runtime/client").JsonValue;
67
68
  value: number | null;
68
69
  updatedAt: number | null;
69
70
  }[];
71
+ 422: {
72
+ type: "validation";
73
+ on: string;
74
+ summary?: string | undefined;
75
+ message?: string | undefined;
76
+ found?: unknown;
77
+ property?: string | undefined;
78
+ expected?: string | undefined;
79
+ };
70
80
  };
71
81
  };
72
82
  };
@@ -106,7 +116,7 @@ export declare const PriceSourceController: Elysia<"/prices", {
106
116
  body: unknown;
107
117
  params: {
108
118
  addressOrSymbol: string;
109
- } & {};
119
+ };
110
120
  query: unknown;
111
121
  headers: {
112
122
  authorization: string;
@@ -118,7 +128,7 @@ export declare const PriceSourceController: Elysia<"/prices", {
118
128
  protected: boolean;
119
129
  identifier: string;
120
130
  method: import("@package/databases").PriceSourceMethod;
121
- args: import("@prisma/client/runtime/library").JsonValue;
131
+ args: import("@prisma/client/runtime/client").JsonValue;
122
132
  value: number | null;
123
133
  updatedAt: number | null;
124
134
  };
@@ -148,7 +158,7 @@ export declare const PriceSourceController: Elysia<"/prices", {
148
158
  };
149
159
  params: {
150
160
  addressOrSymbol: string;
151
- } & {};
161
+ };
152
162
  query: unknown;
153
163
  headers: {
154
164
  authorization: string;
@@ -160,7 +170,7 @@ export declare const PriceSourceController: Elysia<"/prices", {
160
170
  protected: boolean;
161
171
  identifier: string;
162
172
  method: import("@package/databases").PriceSourceMethod;
163
- args: import("@prisma/client/runtime/library").JsonValue;
173
+ args: import("@prisma/client/runtime/client").JsonValue;
164
174
  value: number | null;
165
175
  updatedAt: number | null;
166
176
  };
@@ -184,7 +194,7 @@ export declare const PriceSourceController: Elysia<"/prices", {
184
194
  body: unknown;
185
195
  params: {
186
196
  addressOrSymbol: string;
187
- } & {};
197
+ };
188
198
  query: unknown;
189
199
  headers: {
190
200
  authorization: string;
@@ -196,7 +206,7 @@ export declare const PriceSourceController: Elysia<"/prices", {
196
206
  protected: boolean;
197
207
  identifier: string;
198
208
  method: import("@package/databases").PriceSourceMethod;
199
- args: import("@prisma/client/runtime/library").JsonValue;
209
+ args: import("@prisma/client/runtime/client").JsonValue;
200
210
  value: number | null;
201
211
  updatedAt: number | null;
202
212
  };
@@ -244,9 +254,11 @@ export declare const PriceSourceController: Elysia<"/prices", {
244
254
  resolve: {};
245
255
  schema: {};
246
256
  standaloneSchema: {};
257
+ response: {};
247
258
  }, {
248
259
  derive: {};
249
260
  resolve: {};
250
261
  schema: {};
251
262
  standaloneSchema: {};
263
+ response: {};
252
264
  }>;
@@ -8,7 +8,7 @@ export declare class PriceSourceRepository {
8
8
  protected: boolean;
9
9
  identifier: string;
10
10
  method: PriceSourceMethod;
11
- args: import("@prisma/client/runtime/library").JsonValue;
11
+ args: import("@prisma/client/runtime/client").JsonValue;
12
12
  value: number | null;
13
13
  updatedAt: number | null;
14
14
  }>;
@@ -20,7 +20,7 @@ export declare class PriceSourceRepository {
20
20
  protected: boolean;
21
21
  identifier: string;
22
22
  method: PriceSourceMethod;
23
- args: import("@prisma/client/runtime/library").JsonValue;
23
+ args: import("@prisma/client/runtime/client").JsonValue;
24
24
  value: number | null;
25
25
  updatedAt: number | null;
26
26
  }[]>;
@@ -30,7 +30,7 @@ export declare class PriceSourceRepository {
30
30
  protected: boolean;
31
31
  identifier: string;
32
32
  method: PriceSourceMethod;
33
- args: import("@prisma/client/runtime/library").JsonValue;
33
+ args: import("@prisma/client/runtime/client").JsonValue;
34
34
  value: number | null;
35
35
  updatedAt: number | null;
36
36
  }>;
@@ -40,7 +40,7 @@ export declare class PriceSourceRepository {
40
40
  protected: boolean;
41
41
  identifier: string;
42
42
  method: PriceSourceMethod;
43
- args: import("@prisma/client/runtime/library").JsonValue;
43
+ args: import("@prisma/client/runtime/client").JsonValue;
44
44
  value: number | null;
45
45
  updatedAt: number | null;
46
46
  }>;
@@ -50,7 +50,7 @@ export declare class PriceSourceRepository {
50
50
  protected: boolean;
51
51
  identifier: string;
52
52
  method: PriceSourceMethod;
53
- args: import("@prisma/client/runtime/library").JsonValue;
53
+ args: import("@prisma/client/runtime/client").JsonValue;
54
54
  value: number | null;
55
55
  updatedAt: number | null;
56
56
  }>;
@@ -60,7 +60,7 @@ export declare class PriceSourceRepository {
60
60
  protected: boolean;
61
61
  identifier: string;
62
62
  method: PriceSourceMethod;
63
- args: import("@prisma/client/runtime/library").JsonValue;
63
+ args: import("@prisma/client/runtime/client").JsonValue;
64
64
  value: number | null;
65
65
  updatedAt: number | null;
66
66
  }>;
@@ -11,7 +11,7 @@ export declare class PriceSourceService {
11
11
  protected: boolean;
12
12
  identifier: string;
13
13
  method: PriceSourceMethod;
14
- args: import("@prisma/client/runtime/library").JsonValue;
14
+ args: import("@prisma/client/runtime/client").JsonValue;
15
15
  value: number | null;
16
16
  updatedAt: number | null;
17
17
  }>;
@@ -23,7 +23,7 @@ export declare class PriceSourceService {
23
23
  protected: boolean;
24
24
  identifier: string;
25
25
  method: PriceSourceMethod;
26
- args: import("@prisma/client/runtime/library").JsonValue;
26
+ args: import("@prisma/client/runtime/client").JsonValue;
27
27
  value: number | null;
28
28
  updatedAt: number | null;
29
29
  }[]>;
@@ -34,7 +34,7 @@ export declare class PriceSourceService {
34
34
  protected: boolean;
35
35
  identifier: string;
36
36
  method: PriceSourceMethod;
37
- args: import("@prisma/client/runtime/library").JsonValue;
37
+ args: import("@prisma/client/runtime/client").JsonValue;
38
38
  value: number | null;
39
39
  updatedAt: number | null;
40
40
  }>;
@@ -44,7 +44,7 @@ export declare class PriceSourceService {
44
44
  protected: boolean;
45
45
  identifier: string;
46
46
  method: PriceSourceMethod;
47
- args: import("@prisma/client/runtime/library").JsonValue;
47
+ args: import("@prisma/client/runtime/client").JsonValue;
48
48
  value: number | null;
49
49
  updatedAt: number | null;
50
50
  }>;
@@ -54,7 +54,7 @@ export declare class PriceSourceService {
54
54
  protected: boolean;
55
55
  identifier: string;
56
56
  method: PriceSourceMethod;
57
- args: import("@prisma/client/runtime/library").JsonValue;
57
+ args: import("@prisma/client/runtime/client").JsonValue;
58
58
  value: number | null;
59
59
  updatedAt: number | null;
60
60
  }>;
@@ -64,7 +64,7 @@ export declare class PriceSourceService {
64
64
  protected: boolean;
65
65
  identifier: string;
66
66
  method: PriceSourceMethod;
67
- args: import("@prisma/client/runtime/library").JsonValue;
67
+ args: import("@prisma/client/runtime/client").JsonValue;
68
68
  value: number | null;
69
69
  updatedAt: number | null;
70
70
  }>;
@@ -13,6 +13,7 @@ export declare const ProgramController: Elysia<"/programs", {
13
13
  macro: {};
14
14
  macroFn: {};
15
15
  parser: {};
16
+ response: {};
16
17
  }, {
17
18
  programs: {
18
19
  post: {
@@ -31,16 +32,17 @@ export declare const ProgramController: Elysia<"/programs", {
31
32
  };
32
33
  response: {
33
34
  200: {
34
- id: string;
35
- slug: string | null;
36
- name: string;
37
- description: string;
38
- icon: string;
39
35
  campaignGroup: {
40
36
  id: string;
41
37
  slug: string | null;
42
38
  programId: string | null;
43
39
  }[];
40
+ } & {
41
+ id: string;
42
+ slug: string | null;
43
+ name: string;
44
+ description: string;
45
+ icon: string;
44
46
  };
45
47
  422: {
46
48
  type: "validation";
@@ -72,16 +74,17 @@ export declare const ProgramController: Elysia<"/programs", {
72
74
  };
73
75
  response: {
74
76
  200: {
75
- id: string;
76
- slug: string | null;
77
- name: string;
78
- description: string;
79
- icon: string;
80
77
  campaignGroup: {
81
78
  id: string;
82
79
  slug: string | null;
83
80
  programId: string | null;
84
81
  }[];
82
+ } & {
83
+ id: string;
84
+ slug: string | null;
85
+ name: string;
86
+ description: string;
87
+ icon: string;
85
88
  };
86
89
  422: {
87
90
  type: "validation";
@@ -153,7 +156,7 @@ export declare const ProgramController: Elysia<"/programs", {
153
156
  opportunityId: string;
154
157
  startTimestamp: bigint;
155
158
  endTimestamp: bigint;
156
- params: import("@prisma/client/runtime/library").JsonValue;
159
+ params: import("@prisma/client/runtime/client").JsonValue;
157
160
  description: string | null;
158
161
  dailyRewards: number;
159
162
  apr: number;
@@ -193,11 +196,6 @@ export declare const ProgramController: Elysia<"/programs", {
193
196
  headers: unknown;
194
197
  response: {
195
198
  200: {
196
- id: string;
197
- slug: string | null;
198
- name: string;
199
- description: string;
200
- icon: string;
201
199
  campaignGroup: ({
202
200
  campaigns: {
203
201
  id: string;
@@ -212,7 +210,7 @@ export declare const ProgramController: Elysia<"/programs", {
212
210
  opportunityId: string;
213
211
  startTimestamp: bigint;
214
212
  endTimestamp: bigint;
215
- params: import("@prisma/client/runtime/library").JsonValue;
213
+ params: import("@prisma/client/runtime/client").JsonValue;
216
214
  description: string | null;
217
215
  dailyRewards: number;
218
216
  apr: number;
@@ -227,6 +225,12 @@ export declare const ProgramController: Elysia<"/programs", {
227
225
  slug: string | null;
228
226
  programId: string | null;
229
227
  })[];
228
+ } & {
229
+ id: string;
230
+ slug: string | null;
231
+ name: string;
232
+ description: string;
233
+ icon: string;
230
234
  };
231
235
  422: {
232
236
  type: "validation";
@@ -260,9 +264,11 @@ export declare const ProgramController: Elysia<"/programs", {
260
264
  resolve: {};
261
265
  schema: {};
262
266
  standaloneSchema: {};
267
+ response: {};
263
268
  }, {
264
269
  derive: {};
265
270
  resolve: {};
266
271
  schema: {};
267
272
  standaloneSchema: {};
273
+ response: {};
268
274
  }>;
@@ -64,7 +64,7 @@ export declare abstract class ProgramRepository {
64
64
  opportunityId: string;
65
65
  startTimestamp: bigint;
66
66
  endTimestamp: bigint;
67
- params: import("@prisma/client/runtime/library").JsonValue;
67
+ params: import("@prisma/client/runtime/client").JsonValue;
68
68
  description: string | null;
69
69
  dailyRewards: number;
70
70
  apr: number;
@@ -102,7 +102,7 @@ export declare abstract class ProgramRepository {
102
102
  opportunityId: string;
103
103
  startTimestamp: bigint;
104
104
  endTimestamp: bigint;
105
- params: import("@prisma/client/runtime/library").JsonValue;
105
+ params: import("@prisma/client/runtime/client").JsonValue;
106
106
  description: string | null;
107
107
  dailyRewards: number;
108
108
  apr: number;
@@ -71,7 +71,7 @@ export declare abstract class ProgramService {
71
71
  opportunityId: string;
72
72
  startTimestamp: bigint;
73
73
  endTimestamp: bigint;
74
- params: import("@prisma/client/runtime/library").JsonValue;
74
+ params: import("@prisma/client/runtime/client").JsonValue;
75
75
  description: string | null;
76
76
  dailyRewards: number;
77
77
  apr: number;
@@ -103,7 +103,7 @@ export declare abstract class ProgramService {
103
103
  opportunityId: string;
104
104
  startTimestamp: bigint;
105
105
  endTimestamp: bigint;
106
- params: import("@prisma/client/runtime/library").JsonValue;
106
+ params: import("@prisma/client/runtime/client").JsonValue;
107
107
  description: string | null;
108
108
  dailyRewards: number;
109
109
  apr: number;