@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
@@ -13,6 +13,7 @@ export declare const CampaignBatchController: Elysia<"campaign-batch", {
13
13
  macro: {};
14
14
  macroFn: {};
15
15
  parser: {};
16
+ response: {};
16
17
  }, {
17
18
  "campaign-batch": {
18
19
  post: {
@@ -84,11 +85,7 @@ export declare const CampaignBatchController: Elysia<"campaign-batch", {
84
85
  query: unknown;
85
86
  headers: unknown;
86
87
  response: {
87
- 200: {
88
- id: string;
89
- slug: string | null;
90
- groupId: string;
91
- creatorId: string;
88
+ 200: ({
92
89
  TemplateCampaigns: {
93
90
  campaigns: {
94
91
  id: string;
@@ -103,7 +100,7 @@ export declare const CampaignBatchController: Elysia<"campaign-batch", {
103
100
  opportunityId: string;
104
101
  startTimestamp: bigint;
105
102
  endTimestamp: bigint;
106
- params: import("@prisma/client/runtime/library").JsonValue;
103
+ params: import("@prisma/client/runtime/client").JsonValue;
107
104
  description: string | null;
108
105
  dailyRewards: number;
109
106
  apr: number;
@@ -118,7 +115,12 @@ export declare const CampaignBatchController: Elysia<"campaign-batch", {
118
115
  slug: string | null;
119
116
  programId: string | null;
120
117
  };
121
- } | null;
118
+ } & {
119
+ id: string;
120
+ slug: string | null;
121
+ groupId: string;
122
+ creatorId: string;
123
+ }) | null;
122
124
  422: {
123
125
  type: "validation";
124
126
  on: string;
@@ -150,10 +152,6 @@ export declare const CampaignBatchController: Elysia<"campaign-batch", {
150
152
  };
151
153
  response: {
152
154
  200: {
153
- id: string;
154
- slug: string | null;
155
- groupId: string;
156
- creatorId: string;
157
155
  TemplateCampaigns: {
158
156
  campaigns: {
159
157
  id: string;
@@ -168,7 +166,7 @@ export declare const CampaignBatchController: Elysia<"campaign-batch", {
168
166
  opportunityId: string;
169
167
  startTimestamp: bigint;
170
168
  endTimestamp: bigint;
171
- params: import("@prisma/client/runtime/library").JsonValue;
169
+ params: import("@prisma/client/runtime/client").JsonValue;
172
170
  description: string | null;
173
171
  dailyRewards: number;
174
172
  apr: number;
@@ -183,6 +181,11 @@ export declare const CampaignBatchController: Elysia<"campaign-batch", {
183
181
  slug: string | null;
184
182
  programId: string | null;
185
183
  };
184
+ } & {
185
+ id: string;
186
+ slug: string | null;
187
+ groupId: string;
188
+ creatorId: string;
186
189
  };
187
190
  422: {
188
191
  type: "validation";
@@ -290,16 +293,7 @@ export declare const CampaignBatchController: Elysia<"campaign-batch", {
290
293
  query: unknown;
291
294
  headers: unknown;
292
295
  response: {
293
- 200: {
294
- version: string;
295
- chainId: string;
296
- createdAt: number;
297
- meta: {
298
- name: string;
299
- txBuilderVersion: string;
300
- };
301
- transactions: import("./campaignBatch.model").Transaction[];
302
- } | null;
296
+ 200: import("./campaignBatch.model").SafePayload | null;
303
297
  422: {
304
298
  type: "validation";
305
299
  on: string;
@@ -357,9 +351,11 @@ export declare const CampaignBatchController: Elysia<"campaign-batch", {
357
351
  resolve: {};
358
352
  schema: {};
359
353
  standaloneSchema: {};
354
+ response: {};
360
355
  }, {
361
356
  derive: {};
362
357
  resolve: {};
363
358
  schema: {};
364
359
  standaloneSchema: {};
360
+ response: {};
365
361
  }>;
@@ -27,7 +27,7 @@ export declare abstract class CampaignBatchTemplateRepository {
27
27
  opportunityId: string;
28
28
  startTimestamp: bigint;
29
29
  endTimestamp: bigint;
30
- params: import("@prisma/client/runtime/library").JsonValue;
30
+ params: import("@prisma/client/runtime/client").JsonValue;
31
31
  description: string | null;
32
32
  dailyRewards: number;
33
33
  apr: number;
@@ -63,7 +63,7 @@ export declare abstract class CampaignBatchTemplateRepository {
63
63
  opportunityId: string;
64
64
  startTimestamp: bigint;
65
65
  endTimestamp: bigint;
66
- params: import("@prisma/client/runtime/library").JsonValue;
66
+ params: import("@prisma/client/runtime/client").JsonValue;
67
67
  description: string | null;
68
68
  dailyRewards: number;
69
69
  apr: number;
@@ -105,7 +105,7 @@ export declare abstract class CampaignBatchTemplateRepository {
105
105
  opportunityId: string;
106
106
  startTimestamp: bigint;
107
107
  endTimestamp: bigint;
108
- params: import("@prisma/client/runtime/library").JsonValue;
108
+ params: import("@prisma/client/runtime/client").JsonValue;
109
109
  description: string | null;
110
110
  dailyRewards: number;
111
111
  apr: number;
@@ -35,7 +35,7 @@ export declare abstract class CampaignBatchServices {
35
35
  opportunityId: string;
36
36
  startTimestamp: bigint;
37
37
  endTimestamp: bigint;
38
- params: import("@prisma/client/runtime/library").JsonValue;
38
+ params: import("@prisma/client/runtime/client").JsonValue;
39
39
  description: string | null;
40
40
  dailyRewards: number;
41
41
  apr: number;
@@ -71,7 +71,7 @@ export declare abstract class CampaignBatchServices {
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;
@@ -111,7 +111,7 @@ export declare abstract class CampaignBatchServices {
111
111
  opportunityId: string;
112
112
  startTimestamp: bigint;
113
113
  endTimestamp: bigint;
114
- params: import("@prisma/client/runtime/library").JsonValue;
114
+ params: import("@prisma/client/runtime/client").JsonValue;
115
115
  description: string | null;
116
116
  dailyRewards: number;
117
117
  apr: number;
@@ -1 +1 @@
1
- {"version":3,"file":"campaignBatch.service.js","sourceRoot":"","sources":["../../../../../../../apps/api/src/modules/v4/campaignBatch/campaignBatch.service.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAG5C,OAAO,EAAE,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAE7D,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AACvC,OAAO,CAAC,MAAM,QAAQ,CAAC;AACvB,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CA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AAoB,CAAC;wBACjE,MAAM,IAAI,KAAK,CAAC,6BAA6B,CAAC,CAAC;oBACjD,mDAAmD;oBACnD,MAAM,MAAM,GAAG;wBACb,GAAG,CAAC,MAAM,cAAc,CAAC,yBAAyB,CAAC,QAAQ,EAAE;4BAC3D,MAAM,EAAE,CAAC,CAAC,MAAM;4BAChB,WAAW,EAAE,IAAI,CAAC,WAAW;4BAC7B,cAAc,EAAE,IAAI,CAAC,cAAc;4BACnC,cAAc,EAAE,aAAa,CAAC,cAAc;4BAC5C,YAAY,EAAE,IAAI,CAAC,YAAY;yBAChC,CAAC,CAAC;wBACH,mBAAmB,EAAE,IAAI,CAAC,mBAAmB;wBAC7C,GAAG,CAAC;qBACL,CAAC;oBAEF,kBAAkB,CAAC,IAAI,CACrB,cAAc,CAAC,sBAAsB,CACnC,MAIC,CACF,CACF,CAAC;gBACJ,CAAC;YACH,CAAC;;gBAAM,MAAM,IAAI,KAAK,CAAC,YAAY,QAAQ,yBAAyB,UAAU,EAAE,CAAC,CAAC;QACpF,CAAC;QAED,OAAO,OAAO,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC;IAAA,CACxC;CACF"}
1
+ {"version":3,"file":"campaignBatch.service.js","sourceRoot":"","sources":["../../../../../../../apps/api/src/modules/v4/campaignBatch/campaignBatch.service.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAG5C,OAAO,EAAE,OAAO,EAAE,oBAAoB,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAEtE,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AACvC,OAAO,CAAC,MAAM,QAAQ,CAAC;AACvB,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,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Ac,EAAE,CAAC;oBACvC,IAAI,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,GAAG,aAAa,GAAG,MAAM,CAAC,oBAAoB,CAAC;wBACzE,MAAM,IAAI,KAAK,CAAC,6BAA6B,CAAC,CAAC;oBACjD,mDAAmD;oBACnD,MAAM,YAAY,GAAG,MAAM,eAAe,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC;oBACzE,MAAM,UAAU,GAAG,OAAO,CAAC;wBACzB,GAAG,iBAAiB,CAAC,uBAAuB,CAAC,YAAY,CAAC;wBAC1D,mBAAmB,EAAE,IAAI,CAAC,mBAAmB,IAAI,YAAY,CAAC,mBAAmB;qBAClF,CAAC,CAAC;oBACH,MAAM,MAAM,GAAG;wBACb,GAAG,UAAU;wBACb,WAAW,EAAE,IAAI,CAAC,WAAW;wBAC7B,cAAc,EAAE,IAAI,CAAC,cAAc;wBACnC,cAAc,EAAE,aAAa,CAAC,cAAc;wBAC5C,YAAY,EAAE,IAAI,CAAC,YAAY;wBAC/B,mBAAmB,EAAE,IAAI,CAAC,mBAAmB;wBAC7C,GAAG,SAAS;qBACb,CAAC;oBAEF,kBAAkB,CAAC,IAAI,CACrB,cAAc,CAAC,sBAAsB,CACnC,MAIC,CACF,CACF,CAAC;gBACJ,CAAC;YACH,CAAC;;gBAAM,MAAM,IAAI,KAAK,CAAC,YAAY,UAAU,yBAAyB,UAAU,EAAE,CAAC,CAAC;QACtF,CAAC;QAED,OAAO,OAAO,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC;IAAA,CACxC;CACF"}
@@ -19,7 +19,7 @@ export declare abstract class CampaignGroupRepository {
19
19
  opportunityId: string;
20
20
  startTimestamp: bigint;
21
21
  endTimestamp: bigint;
22
- params: import("@prisma/client/runtime/library").JsonValue;
22
+ params: import("@prisma/client/runtime/client").JsonValue;
23
23
  description: string | null;
24
24
  dailyRewards: number;
25
25
  apr: number;
@@ -48,7 +48,7 @@ export declare abstract class CampaignGroupRepository {
48
48
  opportunityId: string;
49
49
  startTimestamp: bigint;
50
50
  endTimestamp: bigint;
51
- params: import("@prisma/client/runtime/library").JsonValue;
51
+ params: import("@prisma/client/runtime/client").JsonValue;
52
52
  description: string | null;
53
53
  dailyRewards: number;
54
54
  apr: number;
@@ -77,7 +77,7 @@ export declare abstract class CampaignGroupRepository {
77
77
  opportunityId: string;
78
78
  startTimestamp: bigint;
79
79
  endTimestamp: bigint;
80
- params: import("@prisma/client/runtime/library").JsonValue;
80
+ params: import("@prisma/client/runtime/client").JsonValue;
81
81
  description: string | null;
82
82
  dailyRewards: number;
83
83
  apr: number;
@@ -106,7 +106,7 @@ export declare abstract class CampaignGroupRepository {
106
106
  opportunityId: string;
107
107
  startTimestamp: bigint;
108
108
  endTimestamp: bigint;
109
- params: import("@prisma/client/runtime/library").JsonValue;
109
+ params: import("@prisma/client/runtime/client").JsonValue;
110
110
  description: string | null;
111
111
  dailyRewards: number;
112
112
  apr: number;
@@ -19,7 +19,7 @@ export declare abstract class CampaignGroupService {
19
19
  opportunityId: string;
20
20
  startTimestamp: bigint;
21
21
  endTimestamp: bigint;
22
- params: import("@prisma/client/runtime/library").JsonValue;
22
+ params: import("@prisma/client/runtime/client").JsonValue;
23
23
  description: string | null;
24
24
  dailyRewards: number;
25
25
  apr: number;
@@ -48,7 +48,7 @@ export declare abstract class CampaignGroupService {
48
48
  opportunityId: string;
49
49
  startTimestamp: bigint;
50
50
  endTimestamp: bigint;
51
- params: import("@prisma/client/runtime/library").JsonValue;
51
+ params: import("@prisma/client/runtime/client").JsonValue;
52
52
  description: string | null;
53
53
  dailyRewards: number;
54
54
  apr: number;
@@ -77,7 +77,7 @@ export declare abstract class CampaignGroupService {
77
77
  opportunityId: string;
78
78
  startTimestamp: bigint;
79
79
  endTimestamp: bigint;
80
- params: import("@prisma/client/runtime/library").JsonValue;
80
+ params: import("@prisma/client/runtime/client").JsonValue;
81
81
  description: string | null;
82
82
  dailyRewards: number;
83
83
  apr: number;
@@ -106,7 +106,7 @@ export declare abstract class CampaignGroupService {
106
106
  opportunityId: string;
107
107
  startTimestamp: bigint;
108
108
  endTimestamp: bigint;
109
- params: import("@prisma/client/runtime/library").JsonValue;
109
+ params: import("@prisma/client/runtime/client").JsonValue;
110
110
  description: string | null;
111
111
  dailyRewards: number;
112
112
  apr: number;
@@ -13,6 +13,7 @@ export declare const CampaignStatusController: Elysia<"/campaign-status", {
13
13
  macro: {};
14
14
  macroFn: {};
15
15
  parser: {};
16
+ response: {};
16
17
  }, {
17
18
  "campaign-status": {
18
19
  engine: {
@@ -40,7 +41,6 @@ export declare const CampaignStatusController: Elysia<"/campaign-status", {
40
41
  authorization: string;
41
42
  };
42
43
  response: {
43
- 200: void;
44
44
  422: {
45
45
  type: "validation";
46
46
  on: string;
@@ -70,7 +70,6 @@ export declare const CampaignStatusController: Elysia<"/campaign-status", {
70
70
  authorization: string;
71
71
  };
72
72
  response: {
73
- 200: void;
74
73
  422: {
75
74
  type: "validation";
76
75
  on: string;
@@ -100,7 +99,6 @@ export declare const CampaignStatusController: Elysia<"/campaign-status", {
100
99
  authorization: string;
101
100
  };
102
101
  response: {
103
- 200: void;
104
102
  422: {
105
103
  type: "validation";
106
104
  on: string;
@@ -155,7 +153,7 @@ export declare const CampaignStatusController: Elysia<"/campaign-status", {
155
153
  200: {
156
154
  status: import("@package/databases").RunStatus;
157
155
  error: string;
158
- details: string | number | boolean | import("@prisma/client/runtime/library").JsonArray | import("@prisma/client/runtime/library").JsonObject;
156
+ details: string | number | boolean | import("@prisma/client/runtime/client").JsonArray | import("@prisma/client/runtime/client").JsonObject;
159
157
  delay: number;
160
158
  computedUntil: number;
161
159
  processingStarted: number;
@@ -187,14 +185,14 @@ export declare const CampaignStatusController: Elysia<"/campaign-status", {
187
185
  processingStarted: bigint;
188
186
  status: import("@package/databases").RunStatus;
189
187
  error: string;
190
- details: import("@prisma/client/runtime/library").JsonValue;
188
+ details: import("@prisma/client/runtime/client").JsonValue;
191
189
  }[] | {
192
190
  campaignId: string;
193
191
  computedUntil: bigint;
194
192
  processingStarted: bigint;
195
193
  status: import("@package/databases").RunStatus;
196
194
  error: string;
197
- details: import("@prisma/client/runtime/library").JsonValue;
195
+ details: import("@prisma/client/runtime/client").JsonValue;
198
196
  };
199
197
  422: {
200
198
  type: "validation";
@@ -224,7 +222,7 @@ export declare const CampaignStatusController: Elysia<"/campaign-status", {
224
222
  status: {
225
223
  status: import("@package/databases").RunStatus;
226
224
  error: string;
227
- details: string | number | boolean | import("@prisma/client/runtime/library").JsonArray | import("@prisma/client/runtime/library").JsonObject;
225
+ details: string | number | boolean | import("@prisma/client/runtime/client").JsonArray | import("@prisma/client/runtime/client").JsonObject;
228
226
  delay: number;
229
227
  computedUntil: number;
230
228
  processingStarted: number;
@@ -235,7 +233,7 @@ export declare const CampaignStatusController: Elysia<"/campaign-status", {
235
233
  processingStarted: bigint;
236
234
  status: import("@package/databases").RunStatus;
237
235
  error: string;
238
- details: import("@prisma/client/runtime/library").JsonValue;
236
+ details: import("@prisma/client/runtime/client").JsonValue;
239
237
  }[];
240
238
  Opportunity: {
241
239
  identifier: string;
@@ -274,51 +272,58 @@ export declare const CampaignStatusController: Elysia<"/campaign-status", {
274
272
  query: unknown;
275
273
  headers: unknown;
276
274
  response: {
277
- 200: {
278
- [x: number]: {
279
- live: string;
280
- tree: string;
281
- lastTree: string;
282
- admin: string;
283
- adminUrl?: string | undefined;
284
- distributor: string;
285
- distributionCreator: string;
286
- endOfDisputePeriod: number;
287
- disputer: string;
288
- delayed: {
289
- status: {
290
- status: import("@package/databases").RunStatus;
291
- error: string;
292
- details: string | number | boolean | import("@prisma/client/runtime/library").JsonArray | import("@prisma/client/runtime/library").JsonObject;
293
- delay: number;
294
- computedUntil: number;
295
- processingStarted: number;
296
- };
297
- CampaignStatus: {
298
- campaignId: string;
299
- computedUntil: bigint;
300
- processingStarted: bigint;
301
- status: import("@package/databases").RunStatus;
302
- error: string;
303
- details: import("@prisma/client/runtime/library").JsonValue;
304
- }[];
305
- Opportunity: {
306
- identifier: string;
307
- name: string;
308
- type: string;
309
- };
310
- RewardToken: {
311
- address: string;
312
- isTest: boolean;
313
- symbol: string;
314
- };
275
+ 200: Record<number, {
276
+ live: string;
277
+ tree: string;
278
+ lastTree: string;
279
+ admin: string;
280
+ adminUrl?: string | undefined;
281
+ distributor: string;
282
+ distributionCreator: string;
283
+ endOfDisputePeriod: number;
284
+ disputer: string;
285
+ delayed: {
286
+ status: {
287
+ status: import("@package/databases").RunStatus;
288
+ error: string;
289
+ details: string | number | boolean | import("@prisma/client/runtime/client").JsonArray | import("@prisma/client/runtime/client").JsonObject;
290
+ delay: number;
291
+ computedUntil: number;
292
+ processingStarted: number;
293
+ };
294
+ CampaignStatus: {
315
295
  campaignId: string;
316
- computeChainId: number;
317
- distributionChainId: number;
318
- endTimestamp: bigint;
319
- startTimestamp: bigint;
296
+ computedUntil: bigint;
297
+ processingStarted: bigint;
298
+ status: import("@package/databases").RunStatus;
299
+ error: string;
300
+ details: import("@prisma/client/runtime/client").JsonValue;
320
301
  }[];
321
- };
302
+ Opportunity: {
303
+ identifier: string;
304
+ name: string;
305
+ type: string;
306
+ };
307
+ RewardToken: {
308
+ address: string;
309
+ isTest: boolean;
310
+ symbol: string;
311
+ };
312
+ campaignId: string;
313
+ computeChainId: number;
314
+ distributionChainId: number;
315
+ endTimestamp: bigint;
316
+ startTimestamp: bigint;
317
+ }[];
318
+ }>;
319
+ 422: {
320
+ type: "validation";
321
+ on: string;
322
+ summary?: string | undefined;
323
+ message?: string | undefined;
324
+ found?: unknown;
325
+ property?: string | undefined;
326
+ expected?: string | undefined;
322
327
  };
323
328
  };
324
329
  };
@@ -330,9 +335,11 @@ export declare const CampaignStatusController: Elysia<"/campaign-status", {
330
335
  resolve: {};
331
336
  schema: {};
332
337
  standaloneSchema: {};
338
+ response: {};
333
339
  }, {
334
340
  derive: {};
335
341
  resolve: {};
336
342
  schema: {};
337
343
  standaloneSchema: {};
344
+ response: {};
338
345
  }>;
@@ -17,7 +17,7 @@ export declare abstract class CampaignStatusRepository {
17
17
  opportunityId: string;
18
18
  startTimestamp: bigint;
19
19
  endTimestamp: bigint;
20
- params: import("@prisma/client/runtime/library").JsonValue;
20
+ params: import("@prisma/client/runtime/client").JsonValue;
21
21
  description: string | null;
22
22
  dailyRewards: number;
23
23
  apr: number;
@@ -33,7 +33,7 @@ export declare abstract class CampaignStatusRepository {
33
33
  processingStarted: bigint;
34
34
  status: RunStatus;
35
35
  error: string;
36
- details: import("@prisma/client/runtime/library").JsonValue;
36
+ details: import("@prisma/client/runtime/client").JsonValue;
37
37
  })[]>;
38
38
  static findManyByCampaignId(campaignId: string): Promise<{
39
39
  campaignId: string;
@@ -41,7 +41,7 @@ export declare abstract class CampaignStatusRepository {
41
41
  processingStarted: bigint;
42
42
  status: RunStatus;
43
43
  error: string;
44
- details: import("@prisma/client/runtime/library").JsonValue;
44
+ details: import("@prisma/client/runtime/client").JsonValue;
45
45
  }[]>;
46
46
  static findUniqueOrThrow(campaignId: string): Promise<{
47
47
  campaignId: string;
@@ -49,7 +49,7 @@ export declare abstract class CampaignStatusRepository {
49
49
  processingStarted: bigint;
50
50
  status: RunStatus;
51
51
  error: string;
52
- details: import("@prisma/client/runtime/library").JsonValue;
52
+ details: import("@prisma/client/runtime/client").JsonValue;
53
53
  }>;
54
54
  static findUnique(campaignUnique: CampaignUnique): Promise<{
55
55
  campaignId: string;
@@ -57,7 +57,7 @@ export declare abstract class CampaignStatusRepository {
57
57
  processingStarted: bigint;
58
58
  status: RunStatus;
59
59
  error: string;
60
- details: import("@prisma/client/runtime/library").JsonValue;
60
+ details: import("@prisma/client/runtime/client").JsonValue;
61
61
  } | null>;
62
62
  static create(campaign: CampaignUnique, startTimestamp: bigint): Promise<{
63
63
  campaignId: string;
@@ -65,7 +65,7 @@ export declare abstract class CampaignStatusRepository {
65
65
  processingStarted: bigint;
66
66
  status: RunStatus;
67
67
  error: string;
68
- details: import("@prisma/client/runtime/library").JsonValue;
68
+ details: import("@prisma/client/runtime/client").JsonValue;
69
69
  }>;
70
70
  static updateSuccess(campaignUnique: CampaignUnique, computedUntil: number): Promise<{
71
71
  campaignId: string;
@@ -73,7 +73,7 @@ export declare abstract class CampaignStatusRepository {
73
73
  processingStarted: bigint;
74
74
  status: RunStatus;
75
75
  error: string;
76
- details: import("@prisma/client/runtime/library").JsonValue;
76
+ details: import("@prisma/client/runtime/client").JsonValue;
77
77
  }>;
78
78
  static updateWithError(campaignUnique: CampaignUnique, status: Exclude<RunStatus, "SUCCESS" | "PROCESSING">, error: string, details: string): Promise<{
79
79
  campaignId: string;
@@ -81,7 +81,7 @@ export declare abstract class CampaignStatusRepository {
81
81
  processingStarted: bigint;
82
82
  status: RunStatus;
83
83
  error: string;
84
- details: import("@prisma/client/runtime/library").JsonValue;
84
+ details: import("@prisma/client/runtime/client").JsonValue;
85
85
  }>;
86
86
  static updateProcessing(campaignUnique: CampaignUnique): Promise<void>;
87
87
  static updateComputedUntil(campaignUnique: CampaignUnique, computedUntil: number): Promise<{
@@ -90,7 +90,7 @@ export declare abstract class CampaignStatusRepository {
90
90
  processingStarted: bigint;
91
91
  status: RunStatus;
92
92
  error: string;
93
- details: import("@prisma/client/runtime/library").JsonValue;
93
+ details: import("@prisma/client/runtime/client").JsonValue;
94
94
  }>;
95
95
  static updateErrorMessage(campaignUnique: CampaignUnique, error: string): Promise<{
96
96
  campaignId: string;
@@ -98,7 +98,7 @@ export declare abstract class CampaignStatusRepository {
98
98
  processingStarted: bigint;
99
99
  status: RunStatus;
100
100
  error: string;
101
- details: import("@prisma/client/runtime/library").JsonValue;
101
+ details: import("@prisma/client/runtime/client").JsonValue;
102
102
  }>;
103
103
  static findManyDelay(query: DelayModel): Promise<{
104
104
  CampaignStatus: {
@@ -107,7 +107,7 @@ export declare abstract class CampaignStatusRepository {
107
107
  processingStarted: bigint;
108
108
  status: RunStatus;
109
109
  error: string;
110
- details: import("@prisma/client/runtime/library").JsonValue;
110
+ details: import("@prisma/client/runtime/client").JsonValue;
111
111
  }[];
112
112
  Opportunity: {
113
113
  identifier: string;
@@ -19,7 +19,7 @@ export declare abstract class CampaignStatusService {
19
19
  }): {
20
20
  status: RunStatus;
21
21
  error: string;
22
- details: string | number | boolean | import("@prisma/client/runtime/library").JsonArray | import("@prisma/client/runtime/library").JsonObject;
22
+ details: string | number | boolean | import("@prisma/client/runtime/client").JsonArray | import("@prisma/client/runtime/client").JsonObject;
23
23
  delay: number;
24
24
  computedUntil: number;
25
25
  processingStarted: number;
@@ -27,7 +27,7 @@ export declare abstract class CampaignStatusService {
27
27
  static findMany(query: QueryCampaignStatus): Promise<{
28
28
  status: RunStatus;
29
29
  error: string;
30
- details: string | number | boolean | import("@prisma/client/runtime/library").JsonArray | import("@prisma/client/runtime/library").JsonObject;
30
+ details: string | number | boolean | import("@prisma/client/runtime/client").JsonArray | import("@prisma/client/runtime/client").JsonObject;
31
31
  delay: number;
32
32
  computedUntil: number;
33
33
  processingStarted: number;
@@ -38,7 +38,7 @@ export declare abstract class CampaignStatusService {
38
38
  processingStarted: bigint;
39
39
  status: RunStatus;
40
40
  error: string;
41
- details: import("@prisma/client/runtime/library").JsonValue;
41
+ details: import("@prisma/client/runtime/client").JsonValue;
42
42
  }[]>;
43
43
  static findUniqueOrThrow(campaignUnique: CampaignUnique | string): Promise<{
44
44
  campaignId: string;
@@ -46,7 +46,7 @@ export declare abstract class CampaignStatusService {
46
46
  processingStarted: bigint;
47
47
  status: RunStatus;
48
48
  error: string;
49
- details: import("@prisma/client/runtime/library").JsonValue;
49
+ details: import("@prisma/client/runtime/client").JsonValue;
50
50
  }>;
51
51
  static findUnique(campaignUnique: CampaignUnique): Promise<{
52
52
  campaignId: string;
@@ -54,7 +54,7 @@ export declare abstract class CampaignStatusService {
54
54
  processingStarted: bigint;
55
55
  status: RunStatus;
56
56
  error: string;
57
- details: import("@prisma/client/runtime/library").JsonValue;
57
+ details: import("@prisma/client/runtime/client").JsonValue;
58
58
  } | null>;
59
59
  static update(campaignUnique: CampaignUnique, status: UpdateStatusModel): Promise<void>;
60
60
  static updateComputedUntil(campaignUnique: CampaignUnique, computedUntil: number): Promise<void>;
@@ -74,7 +74,7 @@ export declare abstract class CampaignStatusService {
74
74
  status: {
75
75
  status: RunStatus;
76
76
  error: string;
77
- details: string | number | boolean | import("@prisma/client/runtime/library").JsonArray | import("@prisma/client/runtime/library").JsonObject;
77
+ details: string | number | boolean | import("@prisma/client/runtime/client").JsonArray | import("@prisma/client/runtime/client").JsonObject;
78
78
  delay: number;
79
79
  computedUntil: number;
80
80
  processingStarted: number;
@@ -85,7 +85,7 @@ export declare abstract class CampaignStatusService {
85
85
  processingStarted: bigint;
86
86
  status: RunStatus;
87
87
  error: string;
88
- details: import("@prisma/client/runtime/library").JsonValue;
88
+ details: import("@prisma/client/runtime/client").JsonValue;
89
89
  }[];
90
90
  Opportunity: {
91
91
  identifier: string;
@@ -108,7 +108,7 @@ export declare abstract class CampaignStatusService {
108
108
  status: {
109
109
  status: RunStatus;
110
110
  error: string;
111
- details: string | number | boolean | import("@prisma/client/runtime/library").JsonArray | import("@prisma/client/runtime/library").JsonObject;
111
+ details: string | number | boolean | import("@prisma/client/runtime/client").JsonArray | import("@prisma/client/runtime/client").JsonObject;
112
112
  delay: number;
113
113
  computedUntil: number;
114
114
  processingStarted: number;
@@ -119,7 +119,7 @@ export declare abstract class CampaignStatusService {
119
119
  processingStarted: bigint;
120
120
  status: RunStatus;
121
121
  error: string;
122
- details: import("@prisma/client/runtime/library").JsonValue;
122
+ details: import("@prisma/client/runtime/client").JsonValue;
123
123
  }[];
124
124
  Opportunity: {
125
125
  identifier: string;