@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 { type Elysia } from "elysia";
2
- export declare const endingCampaignsController: (app: Elysia) => Elysia<"", {
2
+ export declare const endingCampaignsController: (app: Elysia) => Elysia<"", 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
  v3: {
17
16
  internal: {
@@ -28,15 +27,6 @@ export declare const endingCampaignsController: (app: Elysia) => Elysia<"", {
28
27
  headers: unknown;
29
28
  response: {
30
29
  200: any[];
31
- 422: {
32
- type: "validation";
33
- on: string;
34
- summary?: string;
35
- message?: string;
36
- found?: unknown;
37
- property?: string;
38
- expected?: string;
39
- };
40
30
  };
41
31
  };
42
32
  };
@@ -1,18 +1,17 @@
1
1
  import { type Elysia } from "elysia";
2
2
  import { type TotalUnclaimedOutput } from "../../utils/queries/unclaimed";
3
- export declare const unclaimedController: (app: Elysia) => Elysia<"", {
3
+ export declare const unclaimedController: (app: Elysia) => Elysia<"", false, {
4
4
  decorator: {};
5
5
  store: {};
6
6
  derive: {};
7
7
  resolve: {};
8
8
  }, {
9
- typebox: import("@sinclair/typebox").TModule<{}>;
9
+ type: {};
10
10
  error: {};
11
11
  }, {
12
12
  schema: {};
13
13
  macro: {};
14
14
  macroFn: {};
15
- parser: {};
16
15
  }, {
17
16
  v3: {
18
17
  internal: {
@@ -29,15 +28,6 @@ export declare const unclaimedController: (app: Elysia) => Elysia<"", {
29
28
  200: (TotalUnclaimedOutput & {
30
29
  usdValue?: number;
31
30
  })[];
32
- 422: {
33
- type: "validation";
34
- on: string;
35
- summary?: string;
36
- message?: string;
37
- found?: unknown;
38
- property?: string;
39
- expected?: string;
40
- };
41
31
  };
42
32
  };
43
33
  };
@@ -18,7 +18,7 @@ const failedBatches = [];
18
18
  const extract = async () => {
19
19
  if (!file.exists())
20
20
  throw new Error("File does not exist.");
21
- let data = [];
21
+ const data = [];
22
22
  const textDecoder = new TextDecoder();
23
23
  let buffer = "";
24
24
  const stream = file.stream();
@@ -28,8 +28,9 @@ const extract = async () => {
28
28
  const lines = buffer.split("\n");
29
29
  buffer = lines.pop() || "";
30
30
  for (const line of lines)
31
- if (line.trim())
32
- data = transform(JSON.parse(line));
31
+ if (line.trim()) {
32
+ data.push(...transform(JSON.parse(line)));
33
+ }
33
34
  try {
34
35
  count += await load(data);
35
36
  data.length = 0;
@@ -1,17 +1,16 @@
1
1
  import Elysia from "elysia";
2
- export declare const AccountingController: Elysia<"/accounting", {
2
+ export declare const AccountingController: Elysia<"/accounting", 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
  accounting: {
17
16
  index: {
@@ -38,15 +37,6 @@ export declare const AccountingController: Elysia<"/accounting", {
38
37
  amountOut: string;
39
38
  datetime: Date;
40
39
  }[];
41
- 422: {
42
- type: "validation";
43
- on: string;
44
- summary?: string;
45
- message?: string;
46
- found?: unknown;
47
- property?: string;
48
- expected?: string;
49
- };
50
40
  };
51
41
  };
52
42
  };
@@ -69,15 +59,6 @@ export declare const AccountingController: Elysia<"/accounting", {
69
59
  };
70
60
  };
71
61
  };
72
- 422: {
73
- type: "validation";
74
- on: string;
75
- summary?: string;
76
- message?: string;
77
- found?: unknown;
78
- property?: string;
79
- expected?: string;
80
- };
81
62
  };
82
63
  };
83
64
  };
@@ -102,15 +83,6 @@ export declare const AccountingController: Elysia<"/accounting", {
102
83
  from: string;
103
84
  to: string;
104
85
  };
105
- 422: {
106
- type: "validation";
107
- on: string;
108
- summary?: string;
109
- message?: string;
110
- found?: unknown;
111
- property?: string;
112
- expected?: string;
113
- };
114
86
  };
115
87
  };
116
88
  };
@@ -134,15 +106,6 @@ export declare const AccountingController: Elysia<"/accounting", {
134
106
  200: {
135
107
  totalAmount: number;
136
108
  };
137
- 422: {
138
- type: "validation";
139
- on: string;
140
- summary?: string;
141
- message?: string;
142
- found?: unknown;
143
- property?: string;
144
- expected?: string;
145
- };
146
109
  };
147
110
  };
148
111
  };
@@ -172,15 +135,6 @@ export declare const AccountingController: Elysia<"/accounting", {
172
135
  from: string;
173
136
  to: string;
174
137
  };
175
- 422: {
176
- type: "validation";
177
- on: string;
178
- summary?: string;
179
- message?: string;
180
- found?: unknown;
181
- property?: string;
182
- expected?: string;
183
- };
184
138
  };
185
139
  };
186
140
  };
@@ -208,15 +162,6 @@ export declare const AccountingController: Elysia<"/accounting", {
208
162
  totalAmount: number;
209
163
  totalAmountUSD: number;
210
164
  };
211
- 422: {
212
- type: "validation";
213
- on: string;
214
- summary?: string;
215
- message?: string;
216
- found?: unknown;
217
- property?: string;
218
- expected?: string;
219
- };
220
165
  };
221
166
  };
222
167
  };
@@ -248,15 +193,6 @@ export declare const AccountingController: Elysia<"/accounting", {
248
193
  from: string;
249
194
  to: string;
250
195
  };
251
- 422: {
252
- type: "validation";
253
- on: string;
254
- summary?: string;
255
- message?: string;
256
- found?: unknown;
257
- property?: string;
258
- expected?: string;
259
- };
260
196
  };
261
197
  };
262
198
  };
@@ -1,17 +1,16 @@
1
1
  import Elysia from "elysia";
2
- export declare const BlacklistController: Elysia<"/blacklists", {
2
+ export declare const BlacklistController: Elysia<"/blacklists", 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
  blacklists: {
17
16
  index: {
@@ -60,15 +59,6 @@ export declare const BlacklistController: Elysia<"/blacklists", {
60
59
  headers: unknown;
61
60
  response: {
62
61
  200: boolean;
63
- 422: {
64
- type: "validation";
65
- on: string;
66
- summary?: string;
67
- message?: string;
68
- found?: unknown;
69
- property?: string;
70
- expected?: string;
71
- };
72
62
  };
73
63
  };
74
64
  };
@@ -98,15 +88,6 @@ export declare const BlacklistController: Elysia<"/blacklists", {
98
88
  arrestTimestamp: bigint;
99
89
  arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
100
90
  };
101
- 422: {
102
- type: "validation";
103
- on: string;
104
- summary?: string;
105
- message?: string;
106
- found?: unknown;
107
- property?: string;
108
- expected?: string;
109
- };
110
91
  };
111
92
  };
112
93
  };
@@ -126,15 +107,6 @@ export declare const BlacklistController: Elysia<"/blacklists", {
126
107
  };
127
108
  response: {
128
109
  200: boolean;
129
- 422: {
130
- type: "validation";
131
- on: string;
132
- summary?: string;
133
- message?: string;
134
- found?: unknown;
135
- property?: string;
136
- expected?: string;
137
- };
138
110
  };
139
111
  };
140
112
  };
@@ -1,17 +1,16 @@
1
1
  import Elysia from "elysia";
2
- export declare const BoostController: Elysia<"/boosts", {
2
+ export declare const BoostController: Elysia<"/boosts", 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
  boosts: {
17
16
  euler: {
@@ -30,15 +29,6 @@ export declare const BoostController: Elysia<"/boosts", {
30
29
  address: string;
31
30
  boost: string;
32
31
  }[];
33
- 422: {
34
- type: "validation";
35
- on: string;
36
- summary?: string;
37
- message?: string;
38
- found?: unknown;
39
- property?: string;
40
- expected?: string;
41
- };
42
32
  };
43
33
  };
44
34
  };
@@ -1,17 +1,16 @@
1
1
  import Elysia from "elysia";
2
- export declare const CampaignController: Elysia<"/campaigns", {
2
+ export declare const CampaignController: Elysia<"/campaigns", 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
  campaigns: {
17
16
  engine: {
@@ -20,8 +19,8 @@ export declare const CampaignController: Elysia<"/campaigns", {
20
19
  tags?: string[] | undefined;
21
20
  identifier?: string | undefined;
22
21
  subType?: number | undefined;
23
- params: string;
24
22
  type: number;
23
+ params: string;
25
24
  creator: string;
26
25
  chainId: number;
27
26
  startTimestamp: string;
@@ -39,9 +38,9 @@ export declare const CampaignController: Elysia<"/campaigns", {
39
38
  };
40
39
  response: {
41
40
  200: {
42
- params: import("database/api/.generated/runtime/library").JsonValue;
43
41
  type: import("../../../../database/api/.generated").$Enums.CampaignType;
44
42
  id: string;
43
+ params: import("database/api/.generated/runtime/library").JsonValue;
45
44
  subType: number | null;
46
45
  startTimestamp: bigint;
47
46
  endTimestamp: bigint;
@@ -53,15 +52,6 @@ export declare const CampaignController: Elysia<"/campaigns", {
53
52
  opportunityId: string;
54
53
  creatorAddress: string;
55
54
  } | undefined;
56
- 422: {
57
- type: "validation";
58
- on: string;
59
- summary?: string;
60
- message?: string;
61
- found?: unknown;
62
- property?: string;
63
- expected?: string;
64
- };
65
55
  };
66
56
  };
67
57
  };
@@ -81,15 +71,6 @@ export declare const CampaignController: Elysia<"/campaigns", {
81
71
  };
82
72
  response: {
83
73
  200: string;
84
- 422: {
85
- type: "validation";
86
- on: string;
87
- summary?: string;
88
- message?: string;
89
- found?: unknown;
90
- property?: string;
91
- expected?: string;
92
- };
93
74
  };
94
75
  };
95
76
  };
@@ -108,9 +89,9 @@ export declare const CampaignController: Elysia<"/campaigns", {
108
89
  };
109
90
  response: {
110
91
  200: {
111
- params: import("database/api/.generated/runtime/library").JsonValue;
112
92
  type: import("../../../../database/api/.generated").$Enums.CampaignType;
113
93
  id: string;
94
+ params: import("database/api/.generated/runtime/library").JsonValue;
114
95
  subType: number | null;
115
96
  startTimestamp: bigint;
116
97
  endTimestamp: bigint;
@@ -122,15 +103,6 @@ export declare const CampaignController: Elysia<"/campaigns", {
122
103
  opportunityId: string;
123
104
  creatorAddress: string;
124
105
  };
125
- 422: {
126
- type: "validation";
127
- on: string;
128
- summary?: string;
129
- message?: string;
130
- found?: unknown;
131
- property?: string;
132
- expected?: string;
133
- };
134
106
  };
135
107
  };
136
108
  };
@@ -205,15 +177,6 @@ export declare const CampaignController: Elysia<"/campaigns", {
205
177
  opportunityId: string;
206
178
  creatorAddress: string;
207
179
  }[];
208
- 422: {
209
- type: "validation";
210
- on: string;
211
- summary?: string;
212
- message?: string;
213
- found?: unknown;
214
- property?: string;
215
- expected?: string;
216
- };
217
180
  };
218
181
  };
219
182
  };
@@ -243,15 +206,6 @@ export declare const CampaignController: Elysia<"/campaigns", {
243
206
  headers: unknown;
244
207
  response: {
245
208
  200: number;
246
- 422: {
247
- type: "validation";
248
- on: string;
249
- summary?: string;
250
- message?: string;
251
- found?: unknown;
252
- property?: string;
253
- expected?: string;
254
- };
255
209
  };
256
210
  };
257
211
  };
@@ -273,15 +227,6 @@ export declare const CampaignController: Elysia<"/campaigns", {
273
227
  }[];
274
228
  campaignId: string;
275
229
  }[];
276
- 422: {
277
- type: "validation";
278
- on: string;
279
- summary?: string;
280
- message?: string;
281
- found?: unknown;
282
- property?: string;
283
- expected?: string;
284
- };
285
230
  };
286
231
  };
287
232
  };
@@ -298,15 +243,6 @@ export declare const CampaignController: Elysia<"/campaigns", {
298
243
  headers: unknown;
299
244
  response: {
300
245
  200: number;
301
- 422: {
302
- type: "validation";
303
- on: string;
304
- summary?: string;
305
- message?: string;
306
- found?: unknown;
307
- property?: string;
308
- expected?: string;
309
- };
310
246
  };
311
247
  };
312
248
  };
@@ -325,15 +261,6 @@ export declare const CampaignController: Elysia<"/campaigns", {
325
261
  };
326
262
  response: {
327
263
  200: string;
328
- 422: {
329
- type: "validation";
330
- on: string;
331
- summary?: string;
332
- message?: string;
333
- found?: unknown;
334
- property?: string;
335
- expected?: string;
336
- };
337
264
  };
338
265
  };
339
266
  };
@@ -67,9 +67,9 @@ export declare abstract class CampaignRepository {
67
67
  };
68
68
  };
69
69
  static upsert(campaign: CreateCampaignModel): Promise<{
70
- params: Prisma.JsonValue;
71
70
  type: import("../../../../database/api/.generated").$Enums.CampaignType;
72
71
  id: string;
72
+ params: Prisma.JsonValue;
73
73
  subType: number | null;
74
74
  startTimestamp: bigint;
75
75
  endTimestamp: bigint;
@@ -110,9 +110,9 @@ export declare abstract class CampaignRepository {
110
110
  static checkIfExist(campaign: CampaignUnique): Promise<boolean>;
111
111
  static checkIfIdExist(id: string): Promise<boolean>;
112
112
  static findUnique(campaign: CampaignUnique): Promise<{
113
- params: Prisma.JsonValue;
114
113
  type: import("../../../../database/api/.generated").$Enums.CampaignType;
115
114
  id: string;
115
+ params: Prisma.JsonValue;
116
116
  subType: number | null;
117
117
  startTimestamp: bigint;
118
118
  endTimestamp: bigint;
@@ -125,9 +125,9 @@ export declare abstract class CampaignRepository {
125
125
  creatorAddress: string;
126
126
  } | null>;
127
127
  static findUniqueOrThrow(id: string): Promise<{
128
- params: Prisma.JsonValue;
129
128
  type: import("../../../../database/api/.generated").$Enums.CampaignType;
130
129
  id: string;
130
+ params: Prisma.JsonValue;
131
131
  subType: number | null;
132
132
  startTimestamp: bigint;
133
133
  endTimestamp: bigint;
@@ -179,9 +179,9 @@ export declare abstract class CampaignRepository {
179
179
  price: number | null;
180
180
  };
181
181
  } & {
182
- params: Prisma.JsonValue;
183
182
  type: import("../../../../database/api/.generated").$Enums.CampaignType;
184
183
  id: string;
184
+ params: Prisma.JsonValue;
185
185
  subType: number | null;
186
186
  startTimestamp: bigint;
187
187
  endTimestamp: bigint;
@@ -199,9 +199,9 @@ export declare abstract class CampaignRepository {
199
199
  }[]>;
200
200
  static findChains(): Promise<Record<string, ChainId>>;
201
201
  static updateOpportunity(id: string, data: extendedUpdateCampaignModel): Promise<{
202
- params: Prisma.JsonValue;
203
202
  type: import("../../../../database/api/.generated").$Enums.CampaignType;
204
203
  id: string;
204
+ params: Prisma.JsonValue;
205
205
  subType: number | null;
206
206
  startTimestamp: bigint;
207
207
  endTimestamp: bigint;
@@ -214,9 +214,9 @@ export declare abstract class CampaignRepository {
214
214
  creatorAddress: string;
215
215
  }>;
216
216
  static updateMetaData(id: string, params: string): Promise<{
217
- params: Prisma.JsonValue;
218
217
  type: import("../../../../database/api/.generated").$Enums.CampaignType;
219
218
  id: string;
219
+ params: Prisma.JsonValue;
220
220
  subType: number | null;
221
221
  startTimestamp: bigint;
222
222
  endTimestamp: bigint;
@@ -6,9 +6,9 @@ export declare abstract class CampaignService {
6
6
  static hashId(campaign: CampaignUnique): string;
7
7
  static splitIdOrThrow(chainAndCampaignId: `${number}-${string}` | string): CampaignUnique;
8
8
  static create(campaign: Omit<CreateCampaignModel, "id">): Promise<{
9
- params: import("database/api/.generated/runtime/library").JsonValue;
10
9
  type: import("../../../../database/api/.generated").$Enums.CampaignType;
11
10
  id: string;
11
+ params: import("database/api/.generated/runtime/library").JsonValue;
12
12
  subType: number | null;
13
13
  startTimestamp: bigint;
14
14
  endTimestamp: bigint;
@@ -21,9 +21,9 @@ export declare abstract class CampaignService {
21
21
  creatorAddress: string;
22
22
  } | undefined>;
23
23
  static updateMetaData(campaign: Omit<UpdateMetaDataCampaignModel, "id">): Promise<{
24
- params: import("database/api/.generated/runtime/library").JsonValue;
25
24
  type: import("../../../../database/api/.generated").$Enums.CampaignType;
26
25
  id: string;
26
+ params: import("database/api/.generated/runtime/library").JsonValue;
27
27
  subType: number | null;
28
28
  startTimestamp: bigint;
29
29
  endTimestamp: bigint;
@@ -101,9 +101,9 @@ export declare abstract class CampaignService {
101
101
  static checkIfExist(campaign: CampaignUnique): Promise<boolean>;
102
102
  static checkIfIdExist(id: string): Promise<boolean>;
103
103
  static findUnique(campaign: CampaignUnique): Promise<{
104
- params: import("database/api/.generated/runtime/library").JsonValue;
105
104
  type: import("../../../../database/api/.generated").$Enums.CampaignType;
106
105
  id: string;
106
+ params: import("database/api/.generated/runtime/library").JsonValue;
107
107
  subType: number | null;
108
108
  startTimestamp: bigint;
109
109
  endTimestamp: bigint;
@@ -116,9 +116,9 @@ export declare abstract class CampaignService {
116
116
  creatorAddress: string;
117
117
  } | null>;
118
118
  static findUniqueOrThrow(campaign: CampaignUnique | string): Promise<{
119
- params: import("database/api/.generated/runtime/library").JsonValue;
120
119
  type: import("../../../../database/api/.generated").$Enums.CampaignType;
121
120
  id: string;
121
+ params: import("database/api/.generated/runtime/library").JsonValue;
122
122
  subType: number | null;
123
123
  startTimestamp: bigint;
124
124
  endTimestamp: bigint;