@merkl/api 0.10.391 → 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 (147) 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/modules/v4/accounting/accounting.controller.d.ts +66 -2
  54. package/dist/src/modules/v4/blacklist/blacklist.controller.d.ts +30 -2
  55. package/dist/src/modules/v4/boost/boost.controller.d.ts +12 -2
  56. package/dist/src/modules/v4/bucket/bucket.service.d.ts +1 -1
  57. package/dist/src/modules/v4/bucket/bucket.service.js +5 -0
  58. package/dist/src/modules/v4/campaign/campaign.controller.d.ts +78 -5
  59. package/dist/src/modules/v4/campaign/campaign.repository.d.ts +6 -6
  60. package/dist/src/modules/v4/campaign/campaign.service.d.ts +4 -4
  61. package/dist/src/modules/v4/chain/chain.controller.d.ts +39 -2
  62. package/dist/src/modules/v4/claims/claims.controller.d.ts +12 -2
  63. package/dist/src/modules/v4/computedValue/computedValue.controller.d.ts +39 -2
  64. package/dist/src/modules/v4/creator/creator.controller.d.ts +39 -2
  65. package/dist/src/modules/v4/dungeonKeeper/dungeonKeeper.controller.d.ts +3 -2
  66. package/dist/src/modules/v4/dynamicData/dynamicData.controller.d.ts +31 -3
  67. package/dist/src/modules/v4/enso/enso.service.d.ts +1 -1
  68. package/dist/src/modules/v4/explorer/explorer.controller.d.ts +12 -2
  69. package/dist/src/modules/v4/interaction/interaction.controller.d.ts +31 -3
  70. package/dist/src/modules/v4/liquidity/liquidity.controller.d.ts +12 -2
  71. package/dist/src/modules/v4/merklRoot/merklRoot.controller.d.ts +21 -2
  72. package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +118 -18
  73. package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +1 -1
  74. package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +30 -30
  75. package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +12 -12
  76. package/dist/src/modules/v4/price/price.controller.d.ts +48 -2
  77. package/dist/src/modules/v4/programPayload/programPayload.controller.d.ts +75 -2
  78. package/dist/src/modules/v4/programPayload/programPayload.repository.d.ts +0 -1
  79. package/dist/src/modules/v4/programPayload/programPayload.repository.js +3 -10
  80. package/dist/src/modules/v4/protocol/protocol.controller.d.ts +46 -9
  81. package/dist/src/modules/v4/protocol/protocol.repository.d.ts +5 -5
  82. package/dist/src/modules/v4/protocol/protocol.service.d.ts +2 -2
  83. package/dist/src/modules/v4/reward/reward.controller.d.ts +111 -2
  84. package/dist/src/modules/v4/reward/reward.repository.d.ts +3 -3
  85. package/dist/src/modules/v4/reward/reward.service.d.ts +18 -18
  86. package/dist/src/modules/v4/router.d.ts +973 -36
  87. package/dist/src/modules/v4/status/status.controller.d.ts +48 -2
  88. package/dist/src/modules/v4/token/token.controller.d.ts +75 -2
  89. package/dist/src/modules/v4/uniswapV4/uniswapV4.controller.d.ts +12 -2
  90. package/dist/src/modules/v4/user/user.controller.d.ts +90 -8
  91. package/dist/src/plugins/error-handling.plugin.d.ts +3 -2
  92. package/dist/src/plugins/logger.plugin.d.ts +3 -2
  93. package/dist/src/routes/v1/allowances.d.ts +12 -2
  94. package/dist/src/routes/v1/balances.d.ts +12 -2
  95. package/dist/src/routes/v1/prices.d.ts +12 -2
  96. package/dist/src/routes/v1/router.d.ts +39 -2
  97. package/dist/src/routes/v1/tokens.d.ts +12 -2
  98. package/dist/src/routes/v2/merkl.d.ts +12 -2
  99. package/dist/src/routes/v2/router.d.ts +12 -2
  100. package/dist/src/routes/v3/app.d.ts +12 -2
  101. package/dist/src/routes/v3/blacklist.d.ts +12 -2
  102. package/dist/src/routes/v3/campaign/delay.d.ts +12 -2
  103. package/dist/src/routes/v3/campaignClaims.d.ts +12 -2
  104. package/dist/src/routes/v3/campaignReport.d.ts +12 -2
  105. package/dist/src/routes/v3/campaignUnclaimed.d.ts +12 -2
  106. package/dist/src/routes/v3/campaigns.d.ts +12 -2
  107. package/dist/src/routes/v3/campaignsForMainParameter.d.ts +12 -2
  108. package/dist/src/routes/v3/campaignsInfo.d.ts +12 -2
  109. package/dist/src/routes/v3/campaignsRewardsReport.d.ts +12 -2
  110. package/dist/src/routes/v3/claims.d.ts +12 -2
  111. package/dist/src/routes/v3/compoundV2.d.ts +12 -2
  112. package/dist/src/routes/v3/createCampaign.d.ts +12 -2
  113. package/dist/src/routes/v3/dolomite.d.ts +12 -2
  114. package/dist/src/routes/v3/euler.d.ts +12 -2
  115. package/dist/src/routes/v3/exports/campaigns.d.ts +12 -2
  116. package/dist/src/routes/v3/fetch.d.ts +12 -2
  117. package/dist/src/routes/v3/health.d.ts +12 -2
  118. package/dist/src/routes/v3/lostyield.d.ts +12 -2
  119. package/dist/src/routes/v3/merkl.d.ts +3 -2
  120. package/dist/src/routes/v3/morphoMarkets.d.ts +12 -2
  121. package/dist/src/routes/v3/morphoVaults.d.ts +12 -2
  122. package/dist/src/routes/v3/multiChainPositions.d.ts +12 -2
  123. package/dist/src/routes/v3/opportunity.d.ts +12 -2
  124. package/dist/src/routes/v3/overview.d.ts +12 -2
  125. package/dist/src/routes/v3/parse.d.ts +12 -2
  126. package/dist/src/routes/v3/payload.d.ts +12 -2
  127. package/dist/src/routes/v3/poolInfo.d.ts +12 -2
  128. package/dist/src/routes/v3/positions.d.ts +12 -2
  129. package/dist/src/routes/v3/radiant.d.ts +12 -2
  130. package/dist/src/routes/v3/recipients.d.ts +12 -2
  131. package/dist/src/routes/v3/rewards.d.ts +12 -2
  132. package/dist/src/routes/v3/rewardsReport.d.ts +12 -2
  133. package/dist/src/routes/v3/router.d.ts +328 -3
  134. package/dist/src/routes/v3/silo.d.ts +12 -2
  135. package/dist/src/routes/v3/token.d.ts +12 -2
  136. package/dist/src/routes/v3/tokenUnclaimed.d.ts +12 -2
  137. package/dist/src/routes/v3/twt/participants.d.ts +12 -2
  138. package/dist/src/routes/v3/uniswapv4.d.ts +12 -2
  139. package/dist/src/routes/v3/updates.d.ts +12 -2
  140. package/dist/src/routes/v3/userRewards.d.ts +12 -2
  141. package/dist/src/utils/decodeCalls.js +12 -3
  142. package/dist/src/utils/encodeCalls.js +20 -7
  143. package/dist/src/utils/error.d.ts +3 -2
  144. package/dist/src/utils/generateCardName.js +4 -0
  145. package/dist/src/utils/logger.d.ts +29 -5
  146. package/dist/tsconfig.package.tsbuildinfo +1 -1
  147. package/package.json +24 -24
@@ -1,11 +1,10 @@
1
1
  import Elysia from "elysia";
2
- export declare const v4: Elysia<"/v4", false, {
2
+ export declare const v4: Elysia<"/v4", {
3
3
  decorator: {};
4
4
  store: {};
5
5
  derive: {};
6
6
  resolve: {};
7
7
  }, {
8
- type: {};
9
8
  error: {
10
9
  readonly HttpError: import("../../errors").HttpError;
11
10
  readonly BadRequestError: import("../../errors").BadRequestError;
@@ -13,10 +12,12 @@ export declare const v4: Elysia<"/v4", false, {
13
12
  readonly NotFoundError: import("../../errors").NotFoundError;
14
13
  readonly UnauthorizedError: import("../../errors").UnauthorizedError;
15
14
  };
15
+ typebox: import("elysia/types").MergeTypeModule<import("elysia/types").MergeTypeModule<import("elysia/types").MergeTypeModule<import("elysia/types").MergeTypeModule<import("elysia/types").MergeTypeModule<import("elysia/types").MergeTypeModule<import("elysia/types").MergeTypeModule<import("elysia/types").MergeTypeModule<import("elysia/types").MergeTypeModule<import("elysia/types").MergeTypeModule<import("elysia/types").MergeTypeModule<import("elysia/types").MergeTypeModule<import("elysia/types").MergeTypeModule<import("elysia/types").MergeTypeModule<import("elysia/types").MergeTypeModule<import("elysia/types").MergeTypeModule<import("elysia/types").MergeTypeModule<import("elysia/types").MergeTypeModule<import("elysia/types").MergeTypeModule<import("elysia/types").MergeTypeModule<import("elysia/types").MergeTypeModule<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<{}, {}>>, import("@sinclair/typebox").TModule<{}, {}>>, import("@sinclair/typebox").TModule<{}, {}>>, import("@sinclair/typebox").TModule<{}, {}>>, import("@sinclair/typebox").TModule<{}, {}>>, import("@sinclair/typebox").TModule<{}, {}>>, import("@sinclair/typebox").TModule<{}, {}>>, import("@sinclair/typebox").TModule<{}, {}>>, import("@sinclair/typebox").TModule<{}, {}>>, import("@sinclair/typebox").TModule<{}, {}>>, import("@sinclair/typebox").TModule<{}, {}>>, import("@sinclair/typebox").TModule<{}, {}>>, import("@sinclair/typebox").TModule<{}, {}>>, import("@sinclair/typebox").TModule<{}, {}>>, import("@sinclair/typebox").TModule<{}, {}>>, import("@sinclair/typebox").TModule<{}, {}>>, import("@sinclair/typebox").TModule<{}, {}>>, import("@sinclair/typebox").TModule<{}, {}>>, 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
  v4: {};
22
23
  } & {
@@ -47,8 +48,8 @@ export declare const v4: Elysia<"/v4", false, {
47
48
  };
48
49
  response: {
49
50
  200: {
50
- name: string;
51
51
  type: import("../../../database/api/.generated").$Enums.CampaignType;
52
+ name: string;
52
53
  id: string;
53
54
  status: import("../../../database/api/.generated").$Enums.Status;
54
55
  tags: string[];
@@ -61,6 +62,15 @@ export declare const v4: Elysia<"/v4", false, {
61
62
  apr: number;
62
63
  dailyRewards: number;
63
64
  } | null;
65
+ 422: {
66
+ type: "validation";
67
+ on: string;
68
+ summary?: string;
69
+ message?: string;
70
+ found?: unknown;
71
+ property?: string;
72
+ expected?: string;
73
+ };
64
74
  };
65
75
  };
66
76
  };
@@ -104,6 +114,15 @@ export declare const v4: Elysia<"/v4", false, {
104
114
  depositUrl: any;
105
115
  tags: string[];
106
116
  };
117
+ 422: {
118
+ type: "validation";
119
+ on: string;
120
+ summary?: string;
121
+ message?: string;
122
+ found?: unknown;
123
+ property?: string;
124
+ expected?: string;
125
+ };
107
126
  };
108
127
  };
109
128
  };
@@ -116,10 +135,10 @@ export declare const v4: Elysia<"/v4", false, {
116
135
  params: {};
117
136
  query: {
118
137
  sort?: string | undefined;
138
+ items?: number | undefined;
119
139
  name?: string | undefined;
120
140
  tokens?: string | undefined;
121
141
  status?: string | undefined;
122
- items?: number | undefined;
123
142
  tags?: string | undefined;
124
143
  page?: number | undefined;
125
144
  chainId?: string | undefined;
@@ -203,15 +222,15 @@ export declare const v4: Elysia<"/v4", false, {
203
222
  icon: string;
204
223
  };
205
224
  protocol: {
225
+ description: string;
206
226
  name: string;
207
227
  url: string;
208
- description: string;
209
228
  id: string;
210
229
  tags: string[];
211
230
  icon: string;
212
231
  } | undefined;
213
- name: string;
214
232
  type: import("../../../database/api/.generated").$Enums.CampaignType;
233
+ name: string;
215
234
  status: import("../../../database/api/.generated").$Enums.Status;
216
235
  tags: string[];
217
236
  identifier: string;
@@ -220,6 +239,15 @@ export declare const v4: Elysia<"/v4", false, {
220
239
  tvl: number;
221
240
  dailyRewards: number;
222
241
  }[];
242
+ 422: {
243
+ type: "validation";
244
+ on: string;
245
+ summary?: string;
246
+ message?: string;
247
+ found?: unknown;
248
+ property?: string;
249
+ expected?: string;
250
+ };
223
251
  };
224
252
  };
225
253
  };
@@ -232,10 +260,10 @@ export declare const v4: Elysia<"/v4", false, {
232
260
  params: {};
233
261
  query: {
234
262
  sort?: string | undefined;
263
+ items?: number | undefined;
235
264
  name?: string | undefined;
236
265
  tokens?: string | undefined;
237
266
  status?: string | undefined;
238
- items?: number | undefined;
239
267
  tags?: string | undefined;
240
268
  page?: number | undefined;
241
269
  chainId?: string | undefined;
@@ -249,6 +277,15 @@ export declare const v4: Elysia<"/v4", false, {
249
277
  headers: unknown;
250
278
  response: {
251
279
  200: number;
280
+ 422: {
281
+ type: "validation";
282
+ on: string;
283
+ summary?: string;
284
+ message?: string;
285
+ found?: unknown;
286
+ property?: string;
287
+ expected?: string;
288
+ };
252
289
  };
253
290
  };
254
291
  };
@@ -268,9 +305,9 @@ export declare const v4: Elysia<"/v4", false, {
268
305
  response: {
269
306
  200: {
270
307
  protocol?: {
308
+ description: string;
271
309
  name: string;
272
310
  url: string;
273
- description: string;
274
311
  id: string;
275
312
  tags: string[];
276
313
  icon: string;
@@ -322,8 +359,8 @@ export declare const v4: Elysia<"/v4", false, {
322
359
  dailyRewardsRecordId: string;
323
360
  }[];
324
361
  } | undefined;
325
- name: string;
326
362
  type: string;
363
+ name: string;
327
364
  tokens: {
328
365
  price?: number | null | undefined;
329
366
  symbol: string;
@@ -360,6 +397,15 @@ export declare const v4: Elysia<"/v4", false, {
360
397
  info: string;
361
398
  httpCode: number;
362
399
  };
400
+ 422: {
401
+ type: "validation";
402
+ on: string;
403
+ summary?: string;
404
+ message?: string;
405
+ found?: unknown;
406
+ property?: string;
407
+ expected?: string;
408
+ };
363
409
  };
364
410
  };
365
411
  };
@@ -392,9 +438,9 @@ export declare const v4: Elysia<"/v4", false, {
392
438
  response: {
393
439
  200: ({
394
440
  protocol?: {
441
+ description: string;
395
442
  name: string;
396
443
  url: string;
397
- description: string;
398
444
  id: string;
399
445
  tags: string[];
400
446
  icon: string;
@@ -446,8 +492,8 @@ export declare const v4: Elysia<"/v4", false, {
446
492
  dailyRewardsRecordId: string;
447
493
  }[];
448
494
  } | undefined;
449
- name: string;
450
495
  type: string;
496
+ name: string;
451
497
  tokens: {
452
498
  price?: number | null | undefined;
453
499
  symbol: string;
@@ -531,6 +577,15 @@ export declare const v4: Elysia<"/v4", false, {
531
577
  info: string;
532
578
  httpCode: number;
533
579
  };
580
+ 422: {
581
+ type: "validation";
582
+ on: string;
583
+ summary?: string;
584
+ message?: string;
585
+ found?: unknown;
586
+ property?: string;
587
+ expected?: string;
588
+ };
534
589
  };
535
590
  };
536
591
  };
@@ -551,9 +606,9 @@ export declare const v4: Elysia<"/v4", false, {
551
606
  response: {
552
607
  200: {
553
608
  protocol?: {
609
+ description: string;
554
610
  name: string;
555
611
  url: string;
556
- description: string;
557
612
  id: string;
558
613
  tags: string[];
559
614
  icon: string;
@@ -605,8 +660,8 @@ export declare const v4: Elysia<"/v4", false, {
605
660
  dailyRewardsRecordId: string;
606
661
  }[];
607
662
  } | undefined;
608
- name: string;
609
663
  type: string;
664
+ name: string;
610
665
  tokens: {
611
666
  price?: number | null | undefined;
612
667
  symbol: string;
@@ -647,9 +702,9 @@ export declare const v4: Elysia<"/v4", false, {
647
702
  id: number;
648
703
  icon: string;
649
704
  } | undefined;
705
+ params: any;
650
706
  type: string;
651
707
  id: string;
652
- params: any;
653
708
  subType: number | null;
654
709
  chain: {
655
710
  name: string;
@@ -688,6 +743,15 @@ export declare const v4: Elysia<"/v4", false, {
688
743
  info: string;
689
744
  httpCode: number;
690
745
  };
746
+ 422: {
747
+ type: "validation";
748
+ on: string;
749
+ summary?: string;
750
+ message?: string;
751
+ found?: unknown;
752
+ property?: string;
753
+ expected?: string;
754
+ };
691
755
  };
692
756
  };
693
757
  };
@@ -704,10 +768,10 @@ export declare const v4: Elysia<"/v4", false, {
704
768
  };
705
769
  query: {
706
770
  sort?: string | undefined;
771
+ items?: number | undefined;
707
772
  name?: string | undefined;
708
773
  tokens?: string | undefined;
709
774
  status?: string | undefined;
710
- items?: number | undefined;
711
775
  tags?: string | undefined;
712
776
  page?: number | undefined;
713
777
  chainId?: string | undefined;
@@ -723,6 +787,15 @@ export declare const v4: Elysia<"/v4", false, {
723
787
  200: {
724
788
  sum: string;
725
789
  };
790
+ 422: {
791
+ type: "validation";
792
+ on: string;
793
+ summary?: string;
794
+ message?: string;
795
+ found?: unknown;
796
+ property?: string;
797
+ expected?: string;
798
+ };
726
799
  };
727
800
  };
728
801
  };
@@ -740,10 +813,10 @@ export declare const v4: Elysia<"/v4", false, {
740
813
  };
741
814
  query: {
742
815
  sort?: string | undefined;
816
+ items?: number | undefined;
743
817
  name?: string | undefined;
744
818
  tokens?: string | undefined;
745
819
  status?: string | undefined;
746
- items?: number | undefined;
747
820
  tags?: string | undefined;
748
821
  page?: number | undefined;
749
822
  chainId?: string | undefined;
@@ -759,6 +832,15 @@ export declare const v4: Elysia<"/v4", false, {
759
832
  200: {
760
833
  max: string;
761
834
  };
835
+ 422: {
836
+ type: "validation";
837
+ on: string;
838
+ summary?: string;
839
+ message?: string;
840
+ found?: unknown;
841
+ property?: string;
842
+ expected?: string;
843
+ };
762
844
  };
763
845
  };
764
846
  };
@@ -777,10 +859,10 @@ export declare const v4: Elysia<"/v4", false, {
777
859
  };
778
860
  query: {
779
861
  sort?: string | undefined;
862
+ items?: number | undefined;
780
863
  name?: string | undefined;
781
864
  tokens?: string | undefined;
782
865
  status?: string | undefined;
783
- items?: number | undefined;
784
866
  tags?: string | undefined;
785
867
  page?: number | undefined;
786
868
  chainId?: string | undefined;
@@ -796,6 +878,15 @@ export declare const v4: Elysia<"/v4", false, {
796
878
  200: {
797
879
  min: string;
798
880
  };
881
+ 422: {
882
+ type: "validation";
883
+ on: string;
884
+ summary?: string;
885
+ message?: string;
886
+ found?: unknown;
887
+ property?: string;
888
+ expected?: string;
889
+ };
799
890
  };
800
891
  };
801
892
  };
@@ -819,8 +910,8 @@ export declare const v4: Elysia<"/v4", false, {
819
910
  };
820
911
  response: {
821
912
  200: {
822
- name: string;
823
913
  type: import("../../../database/api/.generated").$Enums.CampaignType;
914
+ name: string;
824
915
  id: string;
825
916
  status: import("../../../database/api/.generated").$Enums.Status;
826
917
  tags: string[];
@@ -833,6 +924,15 @@ export declare const v4: Elysia<"/v4", false, {
833
924
  apr: number;
834
925
  dailyRewards: number;
835
926
  };
927
+ 422: {
928
+ type: "validation";
929
+ on: string;
930
+ summary?: string;
931
+ message?: string;
932
+ found?: unknown;
933
+ property?: string;
934
+ expected?: string;
935
+ };
836
936
  };
837
937
  };
838
938
  };
@@ -847,8 +947,8 @@ export declare const v4: Elysia<"/v4", false, {
847
947
  tags?: string[] | undefined;
848
948
  identifier?: string | undefined;
849
949
  subType?: number | undefined;
850
- type: number;
851
950
  params: string;
951
+ type: number;
852
952
  creator: string;
853
953
  chainId: number;
854
954
  startTimestamp: string;
@@ -866,9 +966,9 @@ export declare const v4: Elysia<"/v4", false, {
866
966
  };
867
967
  response: {
868
968
  200: {
969
+ params: import("database/api/.generated/runtime/library").JsonValue;
869
970
  type: import("../../../database/api/.generated").$Enums.CampaignType;
870
971
  id: string;
871
- params: import("database/api/.generated/runtime/library").JsonValue;
872
972
  subType: number | null;
873
973
  startTimestamp: bigint;
874
974
  endTimestamp: bigint;
@@ -880,6 +980,15 @@ export declare const v4: Elysia<"/v4", false, {
880
980
  opportunityId: string;
881
981
  creatorAddress: string;
882
982
  } | undefined;
983
+ 422: {
984
+ type: "validation";
985
+ on: string;
986
+ summary?: string;
987
+ message?: string;
988
+ found?: unknown;
989
+ property?: string;
990
+ expected?: string;
991
+ };
883
992
  };
884
993
  };
885
994
  };
@@ -899,6 +1008,15 @@ export declare const v4: Elysia<"/v4", false, {
899
1008
  };
900
1009
  response: {
901
1010
  200: string;
1011
+ 422: {
1012
+ type: "validation";
1013
+ on: string;
1014
+ summary?: string;
1015
+ message?: string;
1016
+ found?: unknown;
1017
+ property?: string;
1018
+ expected?: string;
1019
+ };
902
1020
  };
903
1021
  };
904
1022
  };
@@ -917,9 +1035,9 @@ export declare const v4: Elysia<"/v4", false, {
917
1035
  };
918
1036
  response: {
919
1037
  200: {
1038
+ params: import("database/api/.generated/runtime/library").JsonValue;
920
1039
  type: import("../../../database/api/.generated").$Enums.CampaignType;
921
1040
  id: string;
922
- params: import("database/api/.generated/runtime/library").JsonValue;
923
1041
  subType: number | null;
924
1042
  startTimestamp: bigint;
925
1043
  endTimestamp: bigint;
@@ -931,6 +1049,15 @@ export declare const v4: Elysia<"/v4", false, {
931
1049
  opportunityId: string;
932
1050
  creatorAddress: string;
933
1051
  };
1052
+ 422: {
1053
+ type: "validation";
1054
+ on: string;
1055
+ summary?: string;
1056
+ message?: string;
1057
+ found?: unknown;
1058
+ property?: string;
1059
+ expected?: string;
1060
+ };
934
1061
  };
935
1062
  };
936
1063
  };
@@ -1005,6 +1132,15 @@ export declare const v4: Elysia<"/v4", false, {
1005
1132
  opportunityId: string;
1006
1133
  creatorAddress: string;
1007
1134
  }[];
1135
+ 422: {
1136
+ type: "validation";
1137
+ on: string;
1138
+ summary?: string;
1139
+ message?: string;
1140
+ found?: unknown;
1141
+ property?: string;
1142
+ expected?: string;
1143
+ };
1008
1144
  };
1009
1145
  };
1010
1146
  };
@@ -1034,6 +1170,15 @@ export declare const v4: Elysia<"/v4", false, {
1034
1170
  headers: unknown;
1035
1171
  response: {
1036
1172
  200: number;
1173
+ 422: {
1174
+ type: "validation";
1175
+ on: string;
1176
+ summary?: string;
1177
+ message?: string;
1178
+ found?: unknown;
1179
+ property?: string;
1180
+ expected?: string;
1181
+ };
1037
1182
  };
1038
1183
  };
1039
1184
  };
@@ -1055,6 +1200,15 @@ export declare const v4: Elysia<"/v4", false, {
1055
1200
  computedUntil: bigint;
1056
1201
  }[];
1057
1202
  }[];
1203
+ 422: {
1204
+ type: "validation";
1205
+ on: string;
1206
+ summary?: string;
1207
+ message?: string;
1208
+ found?: unknown;
1209
+ property?: string;
1210
+ expected?: string;
1211
+ };
1058
1212
  };
1059
1213
  };
1060
1214
  };
@@ -1071,6 +1225,15 @@ export declare const v4: Elysia<"/v4", false, {
1071
1225
  headers: unknown;
1072
1226
  response: {
1073
1227
  200: number;
1228
+ 422: {
1229
+ type: "validation";
1230
+ on: string;
1231
+ summary?: string;
1232
+ message?: string;
1233
+ found?: unknown;
1234
+ property?: string;
1235
+ expected?: string;
1236
+ };
1074
1237
  };
1075
1238
  };
1076
1239
  };
@@ -1089,6 +1252,15 @@ export declare const v4: Elysia<"/v4", false, {
1089
1252
  };
1090
1253
  response: {
1091
1254
  200: string;
1255
+ 422: {
1256
+ type: "validation";
1257
+ on: string;
1258
+ summary?: string;
1259
+ message?: string;
1260
+ found?: unknown;
1261
+ property?: string;
1262
+ expected?: string;
1263
+ };
1092
1264
  };
1093
1265
  };
1094
1266
  };
@@ -1103,9 +1275,9 @@ export declare const v4: Elysia<"/v4", false, {
1103
1275
  body: unknown;
1104
1276
  params: {};
1105
1277
  query: {
1278
+ items?: number | undefined;
1106
1279
  name?: string | undefined;
1107
1280
  id?: string | undefined;
1108
- items?: number | undefined;
1109
1281
  tags?: string[] | undefined;
1110
1282
  page?: number | undefined;
1111
1283
  opportunityTag?: string | undefined;
@@ -1113,13 +1285,22 @@ export declare const v4: Elysia<"/v4", false, {
1113
1285
  headers: unknown;
1114
1286
  response: {
1115
1287
  200: ({
1288
+ description: string;
1116
1289
  name: string;
1117
1290
  url: string;
1118
- description: string;
1119
1291
  id: string;
1120
1292
  tags: string[];
1121
1293
  icon: string;
1122
1294
  } & {})[];
1295
+ 422: {
1296
+ type: "validation";
1297
+ on: string;
1298
+ summary?: string;
1299
+ message?: string;
1300
+ found?: unknown;
1301
+ property?: string;
1302
+ expected?: string;
1303
+ };
1123
1304
  };
1124
1305
  };
1125
1306
  };
@@ -1150,13 +1331,22 @@ export declare const v4: Elysia<"/v4", false, {
1150
1331
  headers: unknown;
1151
1332
  response: {
1152
1333
  200: {
1334
+ description: string;
1153
1335
  name: string;
1154
1336
  url: string;
1155
- description: string;
1156
1337
  id: string;
1157
1338
  tags: string[];
1158
1339
  icon: string;
1159
1340
  } | null;
1341
+ 422: {
1342
+ type: "validation";
1343
+ on: string;
1344
+ summary?: string;
1345
+ message?: string;
1346
+ found?: unknown;
1347
+ property?: string;
1348
+ expected?: string;
1349
+ };
1160
1350
  };
1161
1351
  };
1162
1352
  };
@@ -1166,9 +1356,9 @@ export declare const v4: Elysia<"/v4", false, {
1166
1356
  ":id": {
1167
1357
  patch: {
1168
1358
  body: {
1359
+ description?: string | undefined;
1169
1360
  name?: string | undefined;
1170
1361
  url?: string | undefined;
1171
- description?: string | undefined;
1172
1362
  icon?: string | undefined;
1173
1363
  };
1174
1364
  params: {
@@ -1180,13 +1370,22 @@ export declare const v4: Elysia<"/v4", false, {
1180
1370
  };
1181
1371
  response: {
1182
1372
  200: {
1373
+ description: string;
1183
1374
  name: string;
1184
1375
  url: string;
1185
- description: string;
1186
1376
  id: string;
1187
1377
  tags: string[];
1188
1378
  icon: string;
1189
1379
  };
1380
+ 422: {
1381
+ type: "validation";
1382
+ on: string;
1383
+ summary?: string;
1384
+ message?: string;
1385
+ found?: unknown;
1386
+ property?: string;
1387
+ expected?: string;
1388
+ };
1190
1389
  };
1191
1390
  };
1192
1391
  };
@@ -1196,9 +1395,9 @@ export declare const v4: Elysia<"/v4", false, {
1196
1395
  index: {
1197
1396
  post: {
1198
1397
  body: {
1398
+ description: string;
1199
1399
  name: string;
1200
1400
  url: string;
1201
- description: string;
1202
1401
  id: string;
1203
1402
  tags: string[];
1204
1403
  icon: string;
@@ -1210,13 +1409,22 @@ export declare const v4: Elysia<"/v4", false, {
1210
1409
  };
1211
1410
  response: {
1212
1411
  200: {
1412
+ description: string;
1213
1413
  name: string;
1214
1414
  url: string;
1215
- description: string;
1216
1415
  id: string;
1217
1416
  tags: string[];
1218
1417
  icon: string;
1219
1418
  };
1419
+ 422: {
1420
+ type: "validation";
1421
+ on: string;
1422
+ summary?: string;
1423
+ message?: string;
1424
+ found?: unknown;
1425
+ property?: string;
1426
+ expected?: string;
1427
+ };
1220
1428
  };
1221
1429
  };
1222
1430
  };
@@ -1243,6 +1451,15 @@ export declare const v4: Elysia<"/v4", false, {
1243
1451
  id: string;
1244
1452
  chainId: number;
1245
1453
  };
1454
+ 422: {
1455
+ type: "validation";
1456
+ on: string;
1457
+ summary?: string;
1458
+ message?: string;
1459
+ found?: unknown;
1460
+ property?: string;
1461
+ expected?: string;
1462
+ };
1246
1463
  };
1247
1464
  };
1248
1465
  };
@@ -1271,6 +1488,15 @@ export declare const v4: Elysia<"/v4", false, {
1271
1488
  isTest: boolean;
1272
1489
  price?: number | null | undefined;
1273
1490
  } | undefined;
1491
+ 422: {
1492
+ type: "validation";
1493
+ on: string;
1494
+ summary?: string;
1495
+ message?: string;
1496
+ found?: unknown;
1497
+ property?: string;
1498
+ expected?: string;
1499
+ };
1274
1500
  };
1275
1501
  };
1276
1502
  };
@@ -1304,6 +1530,15 @@ export declare const v4: Elysia<"/v4", false, {
1304
1530
  isTest: boolean;
1305
1531
  price?: number | null | undefined;
1306
1532
  } | undefined;
1533
+ 422: {
1534
+ type: "validation";
1535
+ on: string;
1536
+ summary?: string;
1537
+ message?: string;
1538
+ found?: unknown;
1539
+ property?: string;
1540
+ expected?: string;
1541
+ };
1307
1542
  };
1308
1543
  };
1309
1544
  };
@@ -1337,6 +1572,15 @@ export declare const v4: Elysia<"/v4", false, {
1337
1572
  isTest: boolean;
1338
1573
  price: number | null;
1339
1574
  }[];
1575
+ 422: {
1576
+ type: "validation";
1577
+ on: string;
1578
+ summary?: string;
1579
+ message?: string;
1580
+ found?: unknown;
1581
+ property?: string;
1582
+ expected?: string;
1583
+ };
1340
1584
  };
1341
1585
  };
1342
1586
  };
@@ -1371,6 +1615,15 @@ export declare const v4: Elysia<"/v4", false, {
1371
1615
  } & {
1372
1616
  balance: bigint;
1373
1617
  })[];
1618
+ 422: {
1619
+ type: "validation";
1620
+ on: string;
1621
+ summary?: string;
1622
+ message?: string;
1623
+ found?: unknown;
1624
+ property?: string;
1625
+ expected?: string;
1626
+ };
1374
1627
  };
1375
1628
  };
1376
1629
  };
@@ -1405,6 +1658,15 @@ export declare const v4: Elysia<"/v4", false, {
1405
1658
  } & {
1406
1659
  price?: number | null | undefined;
1407
1660
  })[];
1661
+ 422: {
1662
+ type: "validation";
1663
+ on: string;
1664
+ summary?: string;
1665
+ message?: string;
1666
+ found?: unknown;
1667
+ property?: string;
1668
+ expected?: string;
1669
+ };
1408
1670
  };
1409
1671
  };
1410
1672
  };
@@ -1427,6 +1689,15 @@ export declare const v4: Elysia<"/v4", false, {
1427
1689
  headers: unknown;
1428
1690
  response: {
1429
1691
  200: number;
1692
+ 422: {
1693
+ type: "validation";
1694
+ on: string;
1695
+ summary?: string;
1696
+ message?: string;
1697
+ found?: unknown;
1698
+ property?: string;
1699
+ expected?: string;
1700
+ };
1430
1701
  };
1431
1702
  };
1432
1703
  };
@@ -1460,6 +1731,15 @@ export declare const v4: Elysia<"/v4", false, {
1460
1731
  isTest: boolean;
1461
1732
  price?: number | null | undefined;
1462
1733
  } | undefined;
1734
+ 422: {
1735
+ type: "validation";
1736
+ on: string;
1737
+ summary?: string;
1738
+ message?: string;
1739
+ found?: unknown;
1740
+ property?: string;
1741
+ expected?: string;
1742
+ };
1463
1743
  };
1464
1744
  };
1465
1745
  };
@@ -1494,6 +1774,15 @@ export declare const v4: Elysia<"/v4", false, {
1494
1774
  isTest: boolean;
1495
1775
  price: number | null;
1496
1776
  };
1777
+ 422: {
1778
+ type: "validation";
1779
+ on: string;
1780
+ summary?: string;
1781
+ message?: string;
1782
+ found?: unknown;
1783
+ property?: string;
1784
+ expected?: string;
1785
+ };
1497
1786
  };
1498
1787
  };
1499
1788
  };
@@ -1515,6 +1804,15 @@ export declare const v4: Elysia<"/v4", false, {
1515
1804
  headers: unknown;
1516
1805
  response: {
1517
1806
  200: import("./reward").BreakdownForCampaignsRaw[];
1807
+ 422: {
1808
+ type: "validation";
1809
+ on: string;
1810
+ summary?: string;
1811
+ message?: string;
1812
+ found?: unknown;
1813
+ property?: string;
1814
+ expected?: string;
1815
+ };
1518
1816
  };
1519
1817
  };
1520
1818
  };
@@ -1535,6 +1833,15 @@ export declare const v4: Elysia<"/v4", false, {
1535
1833
  campaignId: string;
1536
1834
  amount: bigint;
1537
1835
  };
1836
+ 422: {
1837
+ type: "validation";
1838
+ on: string;
1839
+ summary?: string;
1840
+ message?: string;
1841
+ found?: unknown;
1842
+ property?: string;
1843
+ expected?: string;
1844
+ };
1538
1845
  };
1539
1846
  };
1540
1847
  };
@@ -1554,6 +1861,15 @@ export declare const v4: Elysia<"/v4", false, {
1554
1861
  200: {
1555
1862
  count: number;
1556
1863
  };
1864
+ 422: {
1865
+ type: "validation";
1866
+ on: string;
1867
+ summary?: string;
1868
+ message?: string;
1869
+ found?: unknown;
1870
+ property?: string;
1871
+ expected?: string;
1872
+ };
1557
1873
  };
1558
1874
  };
1559
1875
  };
@@ -1572,6 +1888,15 @@ export declare const v4: Elysia<"/v4", false, {
1572
1888
  headers: unknown;
1573
1889
  response: {
1574
1890
  200: import("./reward").BreakdownForTokenRaw[];
1891
+ 422: {
1892
+ type: "validation";
1893
+ on: string;
1894
+ summary?: string;
1895
+ message?: string;
1896
+ found?: unknown;
1897
+ property?: string;
1898
+ expected?: string;
1899
+ };
1575
1900
  };
1576
1901
  };
1577
1902
  };
@@ -1594,6 +1919,15 @@ export declare const v4: Elysia<"/v4", false, {
1594
1919
  tokenId: string;
1595
1920
  amount: bigint;
1596
1921
  };
1922
+ 422: {
1923
+ type: "validation";
1924
+ on: string;
1925
+ summary?: string;
1926
+ message?: string;
1927
+ found?: unknown;
1928
+ property?: string;
1929
+ expected?: string;
1930
+ };
1597
1931
  };
1598
1932
  };
1599
1933
  };
@@ -1615,6 +1949,15 @@ export declare const v4: Elysia<"/v4", false, {
1615
1949
  200: {
1616
1950
  count: number;
1617
1951
  };
1952
+ 422: {
1953
+ type: "validation";
1954
+ on: string;
1955
+ summary?: string;
1956
+ message?: string;
1957
+ found?: unknown;
1958
+ property?: string;
1959
+ expected?: string;
1960
+ };
1618
1961
  };
1619
1962
  };
1620
1963
  };
@@ -1642,6 +1985,15 @@ export declare const v4: Elysia<"/v4", false, {
1642
1985
  200: {
1643
1986
  count: number;
1644
1987
  };
1988
+ 422: {
1989
+ type: "validation";
1990
+ on: string;
1991
+ summary?: string;
1992
+ message?: string;
1993
+ found?: unknown;
1994
+ property?: string;
1995
+ expected?: string;
1996
+ };
1645
1997
  };
1646
1998
  };
1647
1999
  };
@@ -1675,6 +2027,15 @@ export declare const v4: Elysia<"/v4", false, {
1675
2027
  200: {
1676
2028
  count: number;
1677
2029
  } | undefined;
2030
+ 422: {
2031
+ type: "validation";
2032
+ on: string;
2033
+ summary?: string;
2034
+ message?: string;
2035
+ found?: unknown;
2036
+ property?: string;
2037
+ expected?: string;
2038
+ };
1678
2039
  };
1679
2040
  };
1680
2041
  };
@@ -1696,6 +2057,15 @@ export declare const v4: Elysia<"/v4", false, {
1696
2057
  };
1697
2058
  response: {
1698
2059
  200: void;
2060
+ 422: {
2061
+ type: "validation";
2062
+ on: string;
2063
+ summary?: string;
2064
+ message?: string;
2065
+ found?: unknown;
2066
+ property?: string;
2067
+ expected?: string;
2068
+ };
1699
2069
  };
1700
2070
  };
1701
2071
  };
@@ -1727,6 +2097,15 @@ export declare const v4: Elysia<"/v4", false, {
1727
2097
  created: number;
1728
2098
  updated: number;
1729
2099
  };
2100
+ 422: {
2101
+ type: "validation";
2102
+ on: string;
2103
+ summary?: string;
2104
+ message?: string;
2105
+ found?: unknown;
2106
+ property?: string;
2107
+ expected?: string;
2108
+ };
1730
2109
  };
1731
2110
  };
1732
2111
  };
@@ -1750,6 +2129,15 @@ export declare const v4: Elysia<"/v4", false, {
1750
2129
  breakdownCount: number;
1751
2130
  };
1752
2131
  };
2132
+ 422: {
2133
+ type: "validation";
2134
+ on: string;
2135
+ summary?: string;
2136
+ message?: string;
2137
+ found?: unknown;
2138
+ property?: string;
2139
+ expected?: string;
2140
+ };
1753
2141
  };
1754
2142
  };
1755
2143
  };
@@ -1769,6 +2157,15 @@ export declare const v4: Elysia<"/v4", false, {
1769
2157
  200: {
1770
2158
  [x: string]: string;
1771
2159
  };
2160
+ 422: {
2161
+ type: "validation";
2162
+ on: string;
2163
+ summary?: string;
2164
+ message?: string;
2165
+ found?: unknown;
2166
+ property?: string;
2167
+ expected?: string;
2168
+ };
1772
2169
  };
1773
2170
  };
1774
2171
  };
@@ -1798,6 +2195,15 @@ export declare const v4: Elysia<"/v4", false, {
1798
2195
  chainId: number;
1799
2196
  }[];
1800
2197
  } | null;
2198
+ 422: {
2199
+ type: "validation";
2200
+ on: string;
2201
+ summary?: string;
2202
+ message?: string;
2203
+ found?: unknown;
2204
+ property?: string;
2205
+ expected?: string;
2206
+ };
1801
2207
  };
1802
2208
  };
1803
2209
  };
@@ -1824,6 +2230,15 @@ export declare const v4: Elysia<"/v4", false, {
1824
2230
  chainId: number;
1825
2231
  }[];
1826
2232
  }[];
2233
+ 422: {
2234
+ type: "validation";
2235
+ on: string;
2236
+ summary?: string;
2237
+ message?: string;
2238
+ found?: unknown;
2239
+ property?: string;
2240
+ expected?: string;
2241
+ };
1827
2242
  };
1828
2243
  };
1829
2244
  };
@@ -1840,6 +2255,15 @@ export declare const v4: Elysia<"/v4", false, {
1840
2255
  headers: unknown;
1841
2256
  response: {
1842
2257
  200: number;
2258
+ 422: {
2259
+ type: "validation";
2260
+ on: string;
2261
+ summary?: string;
2262
+ message?: string;
2263
+ found?: unknown;
2264
+ property?: string;
2265
+ expected?: string;
2266
+ };
1843
2267
  };
1844
2268
  };
1845
2269
  };
@@ -1864,6 +2288,15 @@ export declare const v4: Elysia<"/v4", false, {
1864
2288
  id: number;
1865
2289
  icon: string;
1866
2290
  };
2291
+ 422: {
2292
+ type: "validation";
2293
+ on: string;
2294
+ summary?: string;
2295
+ message?: string;
2296
+ found?: unknown;
2297
+ property?: string;
2298
+ expected?: string;
2299
+ };
1867
2300
  };
1868
2301
  };
1869
2302
  };
@@ -1912,6 +2345,15 @@ export declare const v4: Elysia<"/v4", false, {
1912
2345
  headers: unknown;
1913
2346
  response: {
1914
2347
  200: number;
2348
+ 422: {
2349
+ type: "validation";
2350
+ on: string;
2351
+ summary?: string;
2352
+ message?: string;
2353
+ found?: unknown;
2354
+ property?: string;
2355
+ expected?: string;
2356
+ };
1915
2357
  };
1916
2358
  };
1917
2359
  };
@@ -1953,6 +2395,15 @@ export declare const v4: Elysia<"/v4", false, {
1953
2395
  args: import("database/api/.generated/runtime/library").JsonValue | null;
1954
2396
  id: number;
1955
2397
  };
2398
+ 422: {
2399
+ type: "validation";
2400
+ on: string;
2401
+ summary?: string;
2402
+ message?: string;
2403
+ found?: unknown;
2404
+ property?: string;
2405
+ expected?: string;
2406
+ };
1956
2407
  };
1957
2408
  };
1958
2409
  };
@@ -1974,6 +2425,15 @@ export declare const v4: Elysia<"/v4", false, {
1974
2425
  };
1975
2426
  response: {
1976
2427
  200: number | undefined;
2428
+ 422: {
2429
+ type: "validation";
2430
+ on: string;
2431
+ summary?: string;
2432
+ message?: string;
2433
+ found?: unknown;
2434
+ property?: string;
2435
+ expected?: string;
2436
+ };
1977
2437
  };
1978
2438
  };
1979
2439
  };
@@ -2002,6 +2462,15 @@ export declare const v4: Elysia<"/v4", false, {
2002
2462
  args: import("database/api/.generated/runtime/library").JsonValue | null;
2003
2463
  id: number;
2004
2464
  };
2465
+ 422: {
2466
+ type: "validation";
2467
+ on: string;
2468
+ summary?: string;
2469
+ message?: string;
2470
+ found?: unknown;
2471
+ property?: string;
2472
+ expected?: string;
2473
+ };
2005
2474
  };
2006
2475
  };
2007
2476
  };
@@ -2027,6 +2496,15 @@ export declare const v4: Elysia<"/v4", false, {
2027
2496
  args: import("database/api/.generated/runtime/library").JsonValue | null;
2028
2497
  id: number;
2029
2498
  };
2499
+ 422: {
2500
+ type: "validation";
2501
+ on: string;
2502
+ summary?: string;
2503
+ message?: string;
2504
+ found?: unknown;
2505
+ property?: string;
2506
+ expected?: string;
2507
+ };
2030
2508
  };
2031
2509
  };
2032
2510
  };
@@ -2083,6 +2561,15 @@ export declare const v4: Elysia<"/v4", false, {
2083
2561
  headers: unknown;
2084
2562
  response: {
2085
2563
  200: boolean;
2564
+ 422: {
2565
+ type: "validation";
2566
+ on: string;
2567
+ summary?: string;
2568
+ message?: string;
2569
+ found?: unknown;
2570
+ property?: string;
2571
+ expected?: string;
2572
+ };
2086
2573
  };
2087
2574
  };
2088
2575
  };
@@ -2112,6 +2599,15 @@ export declare const v4: Elysia<"/v4", false, {
2112
2599
  arrestTimestamp: bigint;
2113
2600
  arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
2114
2601
  };
2602
+ 422: {
2603
+ type: "validation";
2604
+ on: string;
2605
+ summary?: string;
2606
+ message?: string;
2607
+ found?: unknown;
2608
+ property?: string;
2609
+ expected?: string;
2610
+ };
2115
2611
  };
2116
2612
  };
2117
2613
  };
@@ -2131,6 +2627,15 @@ export declare const v4: Elysia<"/v4", false, {
2131
2627
  };
2132
2628
  response: {
2133
2629
  200: boolean;
2630
+ 422: {
2631
+ type: "validation";
2632
+ on: string;
2633
+ summary?: string;
2634
+ message?: string;
2635
+ found?: unknown;
2636
+ property?: string;
2637
+ expected?: string;
2638
+ };
2134
2639
  };
2135
2640
  };
2136
2641
  };
@@ -2157,6 +2662,15 @@ export declare const v4: Elysia<"/v4", false, {
2157
2662
  address: string;
2158
2663
  creatorId: string | null;
2159
2664
  }[];
2665
+ 422: {
2666
+ type: "validation";
2667
+ on: string;
2668
+ summary?: string;
2669
+ message?: string;
2670
+ found?: unknown;
2671
+ property?: string;
2672
+ expected?: string;
2673
+ };
2160
2674
  };
2161
2675
  };
2162
2676
  };
@@ -2177,6 +2691,15 @@ export declare const v4: Elysia<"/v4", false, {
2177
2691
  address: string;
2178
2692
  creatorId: string | null;
2179
2693
  }[];
2694
+ 422: {
2695
+ type: "validation";
2696
+ on: string;
2697
+ summary?: string;
2698
+ message?: string;
2699
+ found?: unknown;
2700
+ property?: string;
2701
+ expected?: string;
2702
+ };
2180
2703
  };
2181
2704
  };
2182
2705
  };
@@ -2197,6 +2720,15 @@ export declare const v4: Elysia<"/v4", false, {
2197
2720
  address: string;
2198
2721
  creatorId: string | null;
2199
2722
  } | null;
2723
+ 422: {
2724
+ type: "validation";
2725
+ on: string;
2726
+ summary?: string;
2727
+ message?: string;
2728
+ found?: unknown;
2729
+ property?: string;
2730
+ expected?: string;
2731
+ };
2200
2732
  };
2201
2733
  };
2202
2734
  };
@@ -2219,6 +2751,15 @@ export declare const v4: Elysia<"/v4", false, {
2219
2751
  addresses: string[];
2220
2752
  icon?: string | undefined;
2221
2753
  } | null;
2754
+ 422: {
2755
+ type: "validation";
2756
+ on: string;
2757
+ summary?: string;
2758
+ message?: string;
2759
+ found?: unknown;
2760
+ property?: string;
2761
+ expected?: string;
2762
+ };
2222
2763
  };
2223
2764
  };
2224
2765
  };
@@ -2281,24 +2822,24 @@ export declare const v4: Elysia<"/v4", false, {
2281
2822
  price: number | null;
2282
2823
  }[];
2283
2824
  Protocols: {
2825
+ description: string;
2284
2826
  name: string;
2285
2827
  url: string;
2286
- description: string;
2287
2828
  id: string;
2288
2829
  tags: string[];
2289
2830
  icon: string;
2290
2831
  }[];
2291
2832
  MainProtocol: {
2833
+ description: string;
2292
2834
  name: string;
2293
2835
  url: string;
2294
- description: string;
2295
2836
  id: string;
2296
2837
  tags: string[];
2297
2838
  icon: string;
2298
2839
  } | null;
2299
2840
  } & {
2300
- name: string;
2301
2841
  type: import("../../../database/api/.generated").$Enums.CampaignType;
2842
+ name: string;
2302
2843
  id: string;
2303
2844
  status: import("../../../database/api/.generated").$Enums.Status;
2304
2845
  tags: string[];
@@ -2336,6 +2877,15 @@ export declare const v4: Elysia<"/v4", false, {
2336
2877
  })[];
2337
2878
  distributor: string;
2338
2879
  })[];
2880
+ 422: {
2881
+ type: "validation";
2882
+ on: string;
2883
+ summary?: string;
2884
+ message?: string;
2885
+ found?: unknown;
2886
+ property?: string;
2887
+ expected?: string;
2888
+ };
2339
2889
  };
2340
2890
  };
2341
2891
  };
@@ -2398,24 +2948,24 @@ export declare const v4: Elysia<"/v4", false, {
2398
2948
  price: number | null;
2399
2949
  }[];
2400
2950
  Protocols: {
2951
+ description: string;
2401
2952
  name: string;
2402
2953
  url: string;
2403
- description: string;
2404
2954
  id: string;
2405
2955
  tags: string[];
2406
2956
  icon: string;
2407
2957
  }[];
2408
2958
  MainProtocol: {
2959
+ description: string;
2409
2960
  name: string;
2410
2961
  url: string;
2411
- description: string;
2412
2962
  id: string;
2413
2963
  tags: string[];
2414
2964
  icon: string;
2415
2965
  } | null;
2416
2966
  } & {
2417
- name: string;
2418
2967
  type: import("../../../database/api/.generated").$Enums.CampaignType;
2968
+ name: string;
2419
2969
  id: string;
2420
2970
  status: import("../../../database/api/.generated").$Enums.Status;
2421
2971
  tags: string[];
@@ -2453,6 +3003,15 @@ export declare const v4: Elysia<"/v4", false, {
2453
3003
  }[];
2454
3004
  })[];
2455
3005
  })[];
3006
+ 422: {
3007
+ type: "validation";
3008
+ on: string;
3009
+ summary?: string;
3010
+ message?: string;
3011
+ found?: unknown;
3012
+ property?: string;
3013
+ expected?: string;
3014
+ };
2456
3015
  };
2457
3016
  };
2458
3017
  };
@@ -2477,6 +3036,15 @@ export declare const v4: Elysia<"/v4", false, {
2477
3036
  address: string;
2478
3037
  creatorId: string | null;
2479
3038
  };
3039
+ 422: {
3040
+ type: "validation";
3041
+ on: string;
3042
+ summary?: string;
3043
+ message?: string;
3044
+ found?: unknown;
3045
+ property?: string;
3046
+ expected?: string;
3047
+ };
2480
3048
  };
2481
3049
  };
2482
3050
  };
@@ -2493,6 +3061,15 @@ export declare const v4: Elysia<"/v4", false, {
2493
3061
  };
2494
3062
  response: {
2495
3063
  200: void;
3064
+ 422: {
3065
+ type: "validation";
3066
+ on: string;
3067
+ summary?: string;
3068
+ message?: string;
3069
+ found?: unknown;
3070
+ property?: string;
3071
+ expected?: string;
3072
+ };
2496
3073
  };
2497
3074
  };
2498
3075
  };
@@ -2518,6 +3095,15 @@ export declare const v4: Elysia<"/v4", false, {
2518
3095
  address: string;
2519
3096
  creatorId: string | null;
2520
3097
  };
3098
+ 422: {
3099
+ type: "validation";
3100
+ on: string;
3101
+ summary?: string;
3102
+ message?: string;
3103
+ found?: unknown;
3104
+ property?: string;
3105
+ expected?: string;
3106
+ };
2521
3107
  };
2522
3108
  };
2523
3109
  };
@@ -2544,6 +3130,15 @@ export declare const v4: Elysia<"/v4", false, {
2544
3130
  root: string;
2545
3131
  epoch: number;
2546
3132
  }[];
3133
+ 422: {
3134
+ type: "validation";
3135
+ on: string;
3136
+ summary?: string;
3137
+ message?: string;
3138
+ found?: unknown;
3139
+ property?: string;
3140
+ expected?: string;
3141
+ };
2547
3142
  };
2548
3143
  };
2549
3144
  };
@@ -2590,6 +3185,15 @@ export declare const v4: Elysia<"/v4", false, {
2590
3185
  root: string;
2591
3186
  epoch: number;
2592
3187
  };
3188
+ 422: {
3189
+ type: "validation";
3190
+ on: string;
3191
+ summary?: string;
3192
+ message?: string;
3193
+ found?: unknown;
3194
+ property?: string;
3195
+ expected?: string;
3196
+ };
2593
3197
  };
2594
3198
  };
2595
3199
  };
@@ -2610,6 +3214,15 @@ export declare const v4: Elysia<"/v4", false, {
2610
3214
  headers: unknown;
2611
3215
  response: {
2612
3216
  200: import("./interaction/interaction.model").InteractionTarget[];
3217
+ 422: {
3218
+ type: "validation";
3219
+ on: string;
3220
+ summary?: string;
3221
+ message?: string;
3222
+ found?: unknown;
3223
+ property?: string;
3224
+ expected?: string;
3225
+ };
2613
3226
  };
2614
3227
  };
2615
3228
  };
@@ -2626,13 +3239,22 @@ export declare const v4: Elysia<"/v4", false, {
2626
3239
  headers: unknown;
2627
3240
  response: {
2628
3241
  200: ({
3242
+ description: string;
2629
3243
  name: string;
2630
3244
  url: string;
2631
- description: string;
2632
3245
  id: string;
2633
3246
  tags: string[];
2634
3247
  icon: string;
2635
3248
  } & {})[];
3249
+ 422: {
3250
+ type: "validation";
3251
+ on: string;
3252
+ summary?: string;
3253
+ message?: string;
3254
+ found?: unknown;
3255
+ property?: string;
3256
+ expected?: string;
3257
+ };
2636
3258
  };
2637
3259
  };
2638
3260
  };
@@ -2661,6 +3283,15 @@ export declare const v4: Elysia<"/v4", false, {
2661
3283
  transaction: import("./interaction/interaction.model").UserTransaction;
2662
3284
  approval: import("./interaction/interaction.model").UserTransaction;
2663
3285
  } | undefined;
3286
+ 422: {
3287
+ type: "validation";
3288
+ on: string;
3289
+ summary?: string;
3290
+ message?: string;
3291
+ found?: unknown;
3292
+ property?: string;
3293
+ expected?: string;
3294
+ };
2664
3295
  };
2665
3296
  };
2666
3297
  };
@@ -2693,6 +3324,15 @@ export declare const v4: Elysia<"/v4", false, {
2693
3324
  amountOut: string;
2694
3325
  datetime: Date;
2695
3326
  }[];
3327
+ 422: {
3328
+ type: "validation";
3329
+ on: string;
3330
+ summary?: string;
3331
+ message?: string;
3332
+ found?: unknown;
3333
+ property?: string;
3334
+ expected?: string;
3335
+ };
2696
3336
  };
2697
3337
  };
2698
3338
  };
@@ -2715,6 +3355,15 @@ export declare const v4: Elysia<"/v4", false, {
2715
3355
  };
2716
3356
  };
2717
3357
  };
3358
+ 422: {
3359
+ type: "validation";
3360
+ on: string;
3361
+ summary?: string;
3362
+ message?: string;
3363
+ found?: unknown;
3364
+ property?: string;
3365
+ expected?: string;
3366
+ };
2718
3367
  };
2719
3368
  };
2720
3369
  };
@@ -2739,6 +3388,15 @@ export declare const v4: Elysia<"/v4", false, {
2739
3388
  from: string;
2740
3389
  to: string;
2741
3390
  };
3391
+ 422: {
3392
+ type: "validation";
3393
+ on: string;
3394
+ summary?: string;
3395
+ message?: string;
3396
+ found?: unknown;
3397
+ property?: string;
3398
+ expected?: string;
3399
+ };
2742
3400
  };
2743
3401
  };
2744
3402
  };
@@ -2762,6 +3420,15 @@ export declare const v4: Elysia<"/v4", false, {
2762
3420
  200: {
2763
3421
  totalAmount: number;
2764
3422
  };
3423
+ 422: {
3424
+ type: "validation";
3425
+ on: string;
3426
+ summary?: string;
3427
+ message?: string;
3428
+ found?: unknown;
3429
+ property?: string;
3430
+ expected?: string;
3431
+ };
2765
3432
  };
2766
3433
  };
2767
3434
  };
@@ -2791,6 +3458,15 @@ export declare const v4: Elysia<"/v4", false, {
2791
3458
  from: string;
2792
3459
  to: string;
2793
3460
  };
3461
+ 422: {
3462
+ type: "validation";
3463
+ on: string;
3464
+ summary?: string;
3465
+ message?: string;
3466
+ found?: unknown;
3467
+ property?: string;
3468
+ expected?: string;
3469
+ };
2794
3470
  };
2795
3471
  };
2796
3472
  };
@@ -2818,6 +3494,15 @@ export declare const v4: Elysia<"/v4", false, {
2818
3494
  totalAmount: number;
2819
3495
  totalAmountUSD: number;
2820
3496
  };
3497
+ 422: {
3498
+ type: "validation";
3499
+ on: string;
3500
+ summary?: string;
3501
+ message?: string;
3502
+ found?: unknown;
3503
+ property?: string;
3504
+ expected?: string;
3505
+ };
2821
3506
  };
2822
3507
  };
2823
3508
  };
@@ -2849,6 +3534,15 @@ export declare const v4: Elysia<"/v4", false, {
2849
3534
  from: string;
2850
3535
  to: string;
2851
3536
  };
3537
+ 422: {
3538
+ type: "validation";
3539
+ on: string;
3540
+ summary?: string;
3541
+ message?: string;
3542
+ found?: unknown;
3543
+ property?: string;
3544
+ expected?: string;
3545
+ };
2852
3546
  };
2853
3547
  };
2854
3548
  };
@@ -2883,6 +3577,15 @@ export declare const v4: Elysia<"/v4", false, {
2883
3577
  priceTargetToken: number;
2884
3578
  type: string;
2885
3579
  };
3580
+ 422: {
3581
+ type: "validation";
3582
+ on: string;
3583
+ summary?: string;
3584
+ message?: string;
3585
+ found?: unknown;
3586
+ property?: string;
3587
+ expected?: string;
3588
+ };
2886
3589
  };
2887
3590
  };
2888
3591
  };
@@ -2911,8 +3614,8 @@ export declare const v4: Elysia<"/v4", false, {
2911
3614
  rewardTokenAddress?: string | undefined;
2912
3615
  distributionChain?: {} | undefined;
2913
3616
  opportunityIdentifier?: string | undefined;
2914
- type: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | "ION" | "EIGENLAYER" | "ERC20TRANSFERS" | "ERC20LOGPROCESSOR" | "ERC20REBASELOGPROCESSOR" | "VEST" | "ERC20_FIX_APR" | "HYPERDRIVELOGPROCESSOR" | "HYPERDRIVELOGFIXPROCESSOR";
2915
3617
  params: {};
3618
+ type: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | "ION" | "EIGENLAYER" | "ERC20TRANSFERS" | "ERC20LOGPROCESSOR" | "ERC20REBASELOGPROCESSOR" | "VEST" | "ERC20_FIX_APR" | "HYPERDRIVELOGPROCESSOR" | "HYPERDRIVELOGFIXPROCESSOR";
2916
3619
  computeChainId: number;
2917
3620
  };
2918
3621
  params: {};
@@ -2922,6 +3625,15 @@ export declare const v4: Elysia<"/v4", false, {
2922
3625
  };
2923
3626
  response: {
2924
3627
  200: any[];
3628
+ 422: {
3629
+ type: "validation";
3630
+ on: string;
3631
+ summary?: string;
3632
+ message?: string;
3633
+ found?: unknown;
3634
+ property?: string;
3635
+ expected?: string;
3636
+ };
2925
3637
  };
2926
3638
  };
2927
3639
  };
@@ -2955,6 +3667,15 @@ export declare const v4: Elysia<"/v4", false, {
2955
3667
  };
2956
3668
  response: {
2957
3669
  200: any[];
3670
+ 422: {
3671
+ type: "validation";
3672
+ on: string;
3673
+ summary?: string;
3674
+ message?: string;
3675
+ found?: unknown;
3676
+ property?: string;
3677
+ expected?: string;
3678
+ };
2958
3679
  };
2959
3680
  };
2960
3681
  };
@@ -2989,6 +3710,15 @@ export declare const v4: Elysia<"/v4", false, {
2989
3710
  };
2990
3711
  response: {
2991
3712
  200: void;
3713
+ 422: {
3714
+ type: "validation";
3715
+ on: string;
3716
+ summary?: string;
3717
+ message?: string;
3718
+ found?: unknown;
3719
+ property?: string;
3720
+ expected?: string;
3721
+ };
2992
3722
  };
2993
3723
  };
2994
3724
  };
@@ -3008,6 +3738,15 @@ export declare const v4: Elysia<"/v4", false, {
3008
3738
  };
3009
3739
  response: {
3010
3740
  200: boolean;
3741
+ 422: {
3742
+ type: "validation";
3743
+ on: string;
3744
+ summary?: string;
3745
+ message?: string;
3746
+ found?: unknown;
3747
+ property?: string;
3748
+ expected?: string;
3749
+ };
3011
3750
  };
3012
3751
  };
3013
3752
  };
@@ -3031,6 +3770,15 @@ export declare const v4: Elysia<"/v4", false, {
3031
3770
  computedUntil: bigint;
3032
3771
  processingStarted: bigint;
3033
3772
  }[];
3773
+ 422: {
3774
+ type: "validation";
3775
+ on: string;
3776
+ summary?: string;
3777
+ message?: string;
3778
+ found?: unknown;
3779
+ property?: string;
3780
+ expected?: string;
3781
+ };
3034
3782
  };
3035
3783
  };
3036
3784
  };
@@ -3059,6 +3807,15 @@ export declare const v4: Elysia<"/v4", false, {
3059
3807
  computedUntil: bigint;
3060
3808
  processingStarted: bigint;
3061
3809
  };
3810
+ 422: {
3811
+ type: "validation";
3812
+ on: string;
3813
+ summary?: string;
3814
+ message?: string;
3815
+ found?: unknown;
3816
+ property?: string;
3817
+ expected?: string;
3818
+ };
3062
3819
  };
3063
3820
  };
3064
3821
  };
@@ -3095,6 +3852,15 @@ export declare const v4: Elysia<"/v4", false, {
3095
3852
  processingStarted: bigint;
3096
3853
  }[];
3097
3854
  }[];
3855
+ 422: {
3856
+ type: "validation";
3857
+ on: string;
3858
+ summary?: string;
3859
+ message?: string;
3860
+ found?: unknown;
3861
+ property?: string;
3862
+ expected?: string;
3863
+ };
3098
3864
  };
3099
3865
  };
3100
3866
  };
@@ -3115,6 +3881,15 @@ export declare const v4: Elysia<"/v4", false, {
3115
3881
  headers: unknown;
3116
3882
  response: {
3117
3883
  200: import("./liquidity").PositionT[];
3884
+ 422: {
3885
+ type: "validation";
3886
+ on: string;
3887
+ summary?: string;
3888
+ message?: string;
3889
+ found?: unknown;
3890
+ property?: string;
3891
+ expected?: string;
3892
+ };
3118
3893
  };
3119
3894
  };
3120
3895
  };
@@ -3137,6 +3912,15 @@ export declare const v4: Elysia<"/v4", false, {
3137
3912
  200: (import("./claims").ClaimModel & {
3138
3913
  token?: import("./token").Token["model"];
3139
3914
  })[];
3915
+ 422: {
3916
+ type: "validation";
3917
+ on: string;
3918
+ summary?: string;
3919
+ message?: string;
3920
+ found?: unknown;
3921
+ property?: string;
3922
+ expected?: string;
3923
+ };
3140
3924
  };
3141
3925
  };
3142
3926
  };
@@ -3171,6 +3955,15 @@ export declare const v4: Elysia<"/v4", false, {
3171
3955
  };
3172
3956
  transactions: import("./programPayload").transaction[];
3173
3957
  };
3958
+ 422: {
3959
+ type: "validation";
3960
+ on: string;
3961
+ summary?: string;
3962
+ message?: string;
3963
+ found?: unknown;
3964
+ property?: string;
3965
+ expected?: string;
3966
+ };
3174
3967
  };
3175
3968
  };
3176
3969
  };
@@ -3195,6 +3988,15 @@ export declare const v4: Elysia<"/v4", false, {
3195
3988
  response: {
3196
3989
  [x: string]: any;
3197
3990
  200: any;
3991
+ 422: {
3992
+ type: "validation";
3993
+ on: string;
3994
+ summary?: string;
3995
+ message?: string;
3996
+ found?: unknown;
3997
+ property?: string;
3998
+ expected?: string;
3999
+ };
3198
4000
  };
3199
4001
  };
3200
4002
  };
@@ -3214,6 +4016,15 @@ export declare const v4: Elysia<"/v4", false, {
3214
4016
  200: {
3215
4017
  [x: string]: string;
3216
4018
  };
4019
+ 422: {
4020
+ type: "validation";
4021
+ on: string;
4022
+ summary?: string;
4023
+ message?: string;
4024
+ found?: unknown;
4025
+ property?: string;
4026
+ expected?: string;
4027
+ };
3217
4028
  };
3218
4029
  };
3219
4030
  };
@@ -3240,6 +4051,15 @@ export declare const v4: Elysia<"/v4", false, {
3240
4051
  200: {
3241
4052
  args: any;
3242
4053
  };
4054
+ 422: {
4055
+ type: "validation";
4056
+ on: string;
4057
+ summary?: string;
4058
+ message?: string;
4059
+ found?: unknown;
4060
+ property?: string;
4061
+ expected?: string;
4062
+ };
3243
4063
  };
3244
4064
  };
3245
4065
  };
@@ -3271,6 +4091,15 @@ export declare const v4: Elysia<"/v4", false, {
3271
4091
  };
3272
4092
  transactions: import("./programPayload").transaction[];
3273
4093
  } | null;
4094
+ 422: {
4095
+ type: "validation";
4096
+ on: string;
4097
+ summary?: string;
4098
+ message?: string;
4099
+ found?: unknown;
4100
+ property?: string;
4101
+ expected?: string;
4102
+ };
3274
4103
  };
3275
4104
  };
3276
4105
  };
@@ -3305,6 +4134,15 @@ export declare const v4: Elysia<"/v4", false, {
3305
4134
  };
3306
4135
  transactions: import("./programPayload").transaction[];
3307
4136
  } | null;
4137
+ 422: {
4138
+ type: "validation";
4139
+ on: string;
4140
+ summary?: string;
4141
+ message?: string;
4142
+ found?: unknown;
4143
+ property?: string;
4144
+ expected?: string;
4145
+ };
3308
4146
  };
3309
4147
  };
3310
4148
  };
@@ -3369,6 +4207,15 @@ export declare const v4: Elysia<"/v4", false, {
3369
4207
  safePayload: import("./programPayload").safePayload;
3370
4208
  nonEncodedConfig: any;
3371
4209
  };
4210
+ 422: {
4211
+ type: "validation";
4212
+ on: string;
4213
+ summary?: string;
4214
+ message?: string;
4215
+ found?: unknown;
4216
+ property?: string;
4217
+ expected?: string;
4218
+ };
3372
4219
  };
3373
4220
  };
3374
4221
  };
@@ -3399,6 +4246,15 @@ export declare const v4: Elysia<"/v4", false, {
3399
4246
  response: {
3400
4247
  [x: string]: any;
3401
4248
  200: any;
4249
+ 422: {
4250
+ type: "validation";
4251
+ on: string;
4252
+ summary?: string;
4253
+ message?: string;
4254
+ found?: unknown;
4255
+ property?: string;
4256
+ expected?: string;
4257
+ };
3402
4258
  };
3403
4259
  };
3404
4260
  };
@@ -3424,6 +4280,15 @@ export declare const v4: Elysia<"/v4", false, {
3424
4280
  address: string;
3425
4281
  boost: string;
3426
4282
  }[];
4283
+ 422: {
4284
+ type: "validation";
4285
+ on: string;
4286
+ summary?: string;
4287
+ message?: string;
4288
+ found?: unknown;
4289
+ property?: string;
4290
+ expected?: string;
4291
+ };
3427
4292
  };
3428
4293
  };
3429
4294
  };
@@ -3466,6 +4331,15 @@ export declare const v4: Elysia<"/v4", false, {
3466
4331
  totalDistributedInUSD: number | null;
3467
4332
  forfeitingBoost: number | null;
3468
4333
  } | null;
4334
+ 422: {
4335
+ type: "validation";
4336
+ on: string;
4337
+ summary?: string;
4338
+ message?: string;
4339
+ found?: unknown;
4340
+ property?: string;
4341
+ expected?: string;
4342
+ };
3469
4343
  };
3470
4344
  };
3471
4345
  };
@@ -3492,6 +4366,15 @@ export declare const v4: Elysia<"/v4", false, {
3492
4366
  campaignId: string;
3493
4367
  boost: number | null;
3494
4368
  }[];
4369
+ 422: {
4370
+ type: "validation";
4371
+ on: string;
4372
+ summary?: string;
4373
+ message?: string;
4374
+ found?: unknown;
4375
+ property?: string;
4376
+ expected?: string;
4377
+ };
3495
4378
  };
3496
4379
  };
3497
4380
  };
@@ -3515,6 +4398,15 @@ export declare const v4: Elysia<"/v4", false, {
3515
4398
  };
3516
4399
  response: {
3517
4400
  200: void;
4401
+ 422: {
4402
+ type: "validation";
4403
+ on: string;
4404
+ summary?: string;
4405
+ message?: string;
4406
+ found?: unknown;
4407
+ property?: string;
4408
+ expected?: string;
4409
+ };
3518
4410
  };
3519
4411
  };
3520
4412
  };
@@ -3539,6 +4431,15 @@ export declare const v4: Elysia<"/v4", false, {
3539
4431
  };
3540
4432
  response: {
3541
4433
  200: void;
4434
+ 422: {
4435
+ type: "validation";
4436
+ on: string;
4437
+ summary?: string;
4438
+ message?: string;
4439
+ found?: unknown;
4440
+ property?: string;
4441
+ expected?: string;
4442
+ };
3542
4443
  };
3543
4444
  };
3544
4445
  };
@@ -3566,6 +4467,15 @@ export declare const v4: Elysia<"/v4", false, {
3566
4467
  } & {
3567
4468
  icon?: string | undefined;
3568
4469
  })[];
4470
+ 422: {
4471
+ type: "validation";
4472
+ on: string;
4473
+ summary?: string;
4474
+ message?: string;
4475
+ found?: unknown;
4476
+ property?: string;
4477
+ expected?: string;
4478
+ };
3569
4479
  };
3570
4480
  };
3571
4481
  };
@@ -3587,6 +4497,15 @@ export declare const v4: Elysia<"/v4", false, {
3587
4497
  addresses: string[];
3588
4498
  icon?: string | undefined;
3589
4499
  };
4500
+ 422: {
4501
+ type: "validation";
4502
+ on: string;
4503
+ summary?: string;
4504
+ message?: string;
4505
+ found?: unknown;
4506
+ property?: string;
4507
+ expected?: string;
4508
+ };
3590
4509
  };
3591
4510
  };
3592
4511
  };
@@ -3612,6 +4531,15 @@ export declare const v4: Elysia<"/v4", false, {
3612
4531
  id: string;
3613
4532
  icon: string | null;
3614
4533
  };
4534
+ 422: {
4535
+ type: "validation";
4536
+ on: string;
4537
+ summary?: string;
4538
+ message?: string;
4539
+ found?: unknown;
4540
+ property?: string;
4541
+ expected?: string;
4542
+ };
3615
4543
  };
3616
4544
  };
3617
4545
  };
@@ -3638,6 +4566,15 @@ export declare const v4: Elysia<"/v4", false, {
3638
4566
  id: string;
3639
4567
  icon: string | null;
3640
4568
  };
4569
+ 422: {
4570
+ type: "validation";
4571
+ on: string;
4572
+ summary?: string;
4573
+ message?: string;
4574
+ found?: unknown;
4575
+ property?: string;
4576
+ expected?: string;
4577
+ };
3641
4578
  };
3642
4579
  };
3643
4580
  };