@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 v2: Elysia<"/v2", {
13
13
  macro: {};
14
14
  macroFn: {};
15
15
  parser: {};
16
+ response: {};
16
17
  }, {
17
18
  v2: {
18
19
  merkl: {
@@ -31,118 +32,7 @@ export declare const v2: Elysia<"/v2", {
31
32
  };
32
33
  headers: unknown;
33
34
  response: {
34
- 200: {
35
- [x: number]: {
36
- merkleRoot: string;
37
- message: string;
38
- validRewardTokens: {
39
- token: string;
40
- minimumAmountPerEpoch: number;
41
- decimals: number;
42
- symbol: string;
43
- }[];
44
- pools: {
45
- [address: string]: import("@package/sdk").PoolType<import("@package/sdk").AERODROME>;
46
- } | {
47
- [address: string]: import("@package/sdk").PoolType<import("@package/sdk").ARTHSWAP>;
48
- } | {
49
- [address: string]: import("@package/sdk").PoolType<import("@package/sdk").BaseSwap>;
50
- } | {
51
- [address: string]: import("@package/sdk").PoolType<import("@package/sdk").Camelot>;
52
- } | {
53
- [address: string]: import("@package/sdk").PoolType<import("@package/sdk").Crust>;
54
- } | {
55
- [address: string]: import("@package/sdk").PoolType<import("@package/sdk").Fenix>;
56
- } | {
57
- [address: string]: import("@package/sdk").PoolType<import("@package/sdk").GLiquid>;
58
- } | {
59
- [address: string]: import("@package/sdk").PoolType<import("@package/sdk").Horiza>;
60
- } | {
61
- [address: string]: import("@package/sdk").PoolType<import("@package/sdk").Hybra>;
62
- } | {
63
- [address: string]: import("@package/sdk").PoolType<import("@package/sdk").Hyperswap>;
64
- } | {
65
- [address: string]: import("@package/sdk").PoolType<import("@package/sdk").Iguana>;
66
- } | {
67
- [address: string]: import("@package/sdk").PoolType<import("@package/sdk").Izumi>;
68
- } | {
69
- [address: string]: import("@package/sdk").PoolType<import("@package/sdk").KOI>;
70
- } | {
71
- [address: string]: import("@package/sdk").PoolType<import("@package/sdk").KYO>;
72
- } | {
73
- [address: string]: import("@package/sdk").PoolType<import("@package/sdk").Katana>;
74
- } | {
75
- [address: string]: import("@package/sdk").PoolType<import("@package/sdk").KatanaAlgebraV1_2>;
76
- } | {
77
- [address: string]: import("@package/sdk").PoolType<import("@package/sdk").Kim>;
78
- } | {
79
- [address: string]: import("@package/sdk").PoolType<import("@package/sdk").Kittenswap>;
80
- } | {
81
- [address: string]: import("@package/sdk").PoolType<import("@package/sdk").NINEMM>;
82
- } | {
83
- [address: string]: import("@package/sdk").PoolType<import("@package/sdk").Neptune>;
84
- } | {
85
- [address: string]: import("@package/sdk").PoolType<import("@package/sdk").PancakeSwapV3>;
86
- } | {
87
- [address: string]: import("@package/sdk").PoolType<import("@package/sdk").QuickswapAlgebra>;
88
- } | {
89
- [address: string]: import("@package/sdk").PoolType<import("@package/sdk").QuickswapAlgebraV1_2>;
90
- } | {
91
- [address: string]: import("@package/sdk").PoolType<import("@package/sdk").QuickswapUni>;
92
- } | {
93
- [address: string]: import("@package/sdk").PoolType<import("@package/sdk").Ramses>;
94
- } | {
95
- [address: string]: import("@package/sdk").PoolType<import("@package/sdk").Retro>;
96
- } | {
97
- [address: string]: import("@package/sdk").PoolType<import("@package/sdk").Snap>;
98
- } | {
99
- [address: string]: import("@package/sdk").PoolType<import("@package/sdk").Sonex>;
100
- } | {
101
- [address: string]: import("@package/sdk").PoolType<import("@package/sdk").SpookyswapV3>;
102
- } | {
103
- [address: string]: import("@package/sdk").PoolType<import("@package/sdk").Stryke>;
104
- } | {
105
- [address: string]: import("@package/sdk").PoolType<import("@package/sdk").StrykePCS>;
106
- } | {
107
- [address: string]: import("@package/sdk").PoolType<import("@package/sdk").StrykeSushi>;
108
- } | {
109
- [address: string]: import("@package/sdk").PoolType<import("@package/sdk").SupswapV3>;
110
- } | {
111
- [address: string]: import("@package/sdk").PoolType<import("@package/sdk").SushiSwapV3>;
112
- } | {
113
- [address: string]: import("@package/sdk").PoolType<import("@package/sdk").SwapX>;
114
- } | {
115
- [address: string]: import("@package/sdk").PoolType<import("@package/sdk").Swapr>;
116
- } | {
117
- [address: string]: import("@package/sdk").PoolType<import("@package/sdk").SyncswapV3>;
118
- } | {
119
- [address: string]: import("@package/sdk").PoolType<import("@package/sdk").ThirdTrade>;
120
- } | {
121
- [address: string]: import("@package/sdk").PoolType<import("@package/sdk").Thruster>;
122
- } | {
123
- [address: string]: import("@package/sdk").PoolType<import("@package/sdk").UniswapV3>;
124
- } | {
125
- [address: string]: import("@package/sdk").PoolType<import("@package/sdk").Velodrome>;
126
- } | {
127
- [address: string]: import("@package/sdk").PoolType<import("@package/sdk").Voltage>;
128
- } | {
129
- [address: string]: import("@package/sdk").PoolType<import("@package/sdk").ZERO>;
130
- } | {
131
- [address: string]: import("@package/sdk").PoolType<import("@package/sdk").zkSwap>;
132
- };
133
- } & Partial<{
134
- signed: boolean;
135
- feeRebate: number;
136
- transactionData: {
137
- [token: string]: {
138
- claim: string;
139
- token: string;
140
- leaf: string;
141
- proof: string[];
142
- };
143
- };
144
- }>;
145
- };
35
+ 200: import("@package/sdk").MerklAPIType;
146
36
  422: {
147
37
  type: "validation";
148
38
  on: string;
@@ -161,9 +51,11 @@ export declare const v2: Elysia<"/v2", {
161
51
  resolve: {};
162
52
  schema: {};
163
53
  standaloneSchema: {};
54
+ response: {};
164
55
  }, {
165
56
  derive: {};
166
57
  resolve: {};
167
58
  schema: {};
168
59
  standaloneSchema: {};
60
+ response: {};
169
61
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"router.js","sourceRoot":"","sources":["../../../../../../apps/api/src/routes/v2/router.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,KAAK,MAAM,SAAS,CAAC;AAE5B,MAAM,CAAC,MAAM,EAAE,GAAG,IAAI,MAAM,CAAC,EAAE,IAAI,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"router.js","sourceRoot":"","sources":["../../../../../../apps/api/src/routes/v2/router.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,KAAK,MAAM,SAAS,CAAC;AAE5B,MAAM,CAAC,MAAM,EAAE,GAAG,IAAI,MAAM,CAAC,EAAE,IAAI,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;KAC1D,KAAK,CAAC;IACL,MAAM,EAAE;QACN,IAAI,EAAE,IAAI;KACX;CACF,CAAC;KACD,GAAG,CAAC,KAAK,CAAC,CAAC"}
@@ -20,16 +20,19 @@ declare const _default: (app: Elysia<"", {
20
20
  macro: {};
21
21
  macroFn: {};
22
22
  parser: {};
23
+ response: {};
23
24
  }, {}, {
24
25
  derive: {};
25
26
  resolve: {};
26
27
  schema: {};
27
28
  standaloneSchema: {};
29
+ response: {};
28
30
  }, {
29
31
  derive: {};
30
32
  resolve: {};
31
33
  schema: {};
32
34
  standaloneSchema: {};
35
+ response: {};
33
36
  }>) => Elysia<"", {
34
37
  decorator: {};
35
38
  store: {};
@@ -44,6 +47,7 @@ declare const _default: (app: Elysia<"", {
44
47
  macro: {};
45
48
  macroFn: {};
46
49
  parser: {};
50
+ response: {};
47
51
  }, {
48
52
  app: {
49
53
  get: {
@@ -53,7 +57,7 @@ declare const _default: (app: Elysia<"", {
53
57
  headers: unknown;
54
58
  response: {
55
59
  200: {
56
- tokens: any;
60
+ tokens: TokenList;
57
61
  prices: {
58
62
  rate: number;
59
63
  token: string;
@@ -76,10 +80,12 @@ declare const _default: (app: Elysia<"", {
76
80
  resolve: {};
77
81
  schema: {};
78
82
  standaloneSchema: {};
83
+ response: {};
79
84
  }, {
80
85
  derive: {};
81
86
  resolve: {};
82
87
  schema: {};
83
88
  standaloneSchema: {};
89
+ response: {};
84
90
  }>;
85
91
  export default _default;
@@ -20,16 +20,19 @@ declare const _default: (app: Elysia<"", {
20
20
  macro: {};
21
21
  macroFn: {};
22
22
  parser: {};
23
+ response: {};
23
24
  }, {}, {
24
25
  derive: {};
25
26
  resolve: {};
26
27
  schema: {};
27
28
  standaloneSchema: {};
29
+ response: {};
28
30
  }, {
29
31
  derive: {};
30
32
  resolve: {};
31
33
  schema: {};
32
34
  standaloneSchema: {};
35
+ response: {};
33
36
  }>) => Elysia<"", {
34
37
  decorator: {};
35
38
  store: {};
@@ -44,6 +47,7 @@ declare const _default: (app: Elysia<"", {
44
47
  macro: {};
45
48
  macroFn: {};
46
49
  parser: {};
50
+ response: {};
47
51
  }, {
48
52
  blacklist: {
49
53
  get: {
@@ -74,10 +78,12 @@ declare const _default: (app: Elysia<"", {
74
78
  resolve: {};
75
79
  schema: {};
76
80
  standaloneSchema: {};
81
+ response: {};
77
82
  }, {
78
83
  derive: {};
79
84
  resolve: {};
80
85
  schema: {};
81
86
  standaloneSchema: {};
87
+ response: {};
82
88
  }>;
83
89
  export default _default;
@@ -21,16 +21,19 @@ declare const _default: (app: Elysia<"", {
21
21
  macro: {};
22
22
  macroFn: {};
23
23
  parser: {};
24
+ response: {};
24
25
  }, {}, {
25
26
  derive: {};
26
27
  resolve: {};
27
28
  schema: {};
28
29
  standaloneSchema: {};
30
+ response: {};
29
31
  }, {
30
32
  derive: {};
31
33
  resolve: {};
32
34
  schema: {};
33
35
  standaloneSchema: {};
36
+ response: {};
34
37
  }>) => Elysia<"", {
35
38
  decorator: {};
36
39
  store: {};
@@ -45,6 +48,7 @@ declare const _default: (app: Elysia<"", {
45
48
  macro: {};
46
49
  macroFn: {};
47
50
  parser: {};
51
+ response: {};
48
52
  }, {
49
53
  get: {
50
54
  body: unknown;
@@ -55,6 +59,10 @@ declare const _default: (app: Elysia<"", {
55
59
  headers: unknown;
56
60
  response: {
57
61
  200: CampaignDelay;
62
+ 400: {
63
+ error: string;
64
+ message?: string | undefined;
65
+ };
58
66
  422: {
59
67
  type: "validation";
60
68
  on: string;
@@ -64,10 +72,6 @@ declare const _default: (app: Elysia<"", {
64
72
  property?: string | undefined;
65
73
  expected?: string | undefined;
66
74
  };
67
- readonly 400: {
68
- error: string;
69
- message?: string | undefined;
70
- };
71
75
  };
72
76
  };
73
77
  }, {
@@ -75,10 +79,12 @@ declare const _default: (app: Elysia<"", {
75
79
  resolve: {};
76
80
  schema: {};
77
81
  standaloneSchema: {};
82
+ response: {};
78
83
  }, {
79
84
  derive: {};
80
85
  resolve: {};
81
86
  schema: {};
82
87
  standaloneSchema: {};
88
+ response: {};
83
89
  }>;
84
90
  export default _default;
@@ -22,16 +22,19 @@ declare const _default: (app: Elysia<"", {
22
22
  macro: {};
23
23
  macroFn: {};
24
24
  parser: {};
25
+ response: {};
25
26
  }, {}, {
26
27
  derive: {};
27
28
  resolve: {};
28
29
  schema: {};
29
30
  standaloneSchema: {};
31
+ response: {};
30
32
  }, {
31
33
  derive: {};
32
34
  resolve: {};
33
35
  schema: {};
34
36
  standaloneSchema: {};
37
+ response: {};
35
38
  }>) => Elysia<"", {
36
39
  decorator: {};
37
40
  store: {};
@@ -46,6 +49,7 @@ declare const _default: (app: Elysia<"", {
46
49
  macro: {};
47
50
  macroFn: {};
48
51
  parser: {};
52
+ response: {};
49
53
  }, {
50
54
  campaignClaims: {
51
55
  get: {
@@ -58,7 +62,6 @@ declare const _default: (app: Elysia<"", {
58
62
  };
59
63
  headers: unknown;
60
64
  response: {
61
- 200: unknown;
62
65
  422: {
63
66
  type: "validation";
64
67
  on: string;
@@ -76,10 +79,12 @@ declare const _default: (app: Elysia<"", {
76
79
  resolve: {};
77
80
  schema: {};
78
81
  standaloneSchema: {};
82
+ response: {};
79
83
  }, {
80
84
  derive: {};
81
85
  resolve: {};
82
86
  schema: {};
83
87
  standaloneSchema: {};
88
+ response: {};
84
89
  }>;
85
90
  export default _default;
@@ -20,16 +20,19 @@ declare const _default: (app: Elysia<"", {
20
20
  macro: {};
21
21
  macroFn: {};
22
22
  parser: {};
23
+ response: {};
23
24
  }, {}, {
24
25
  derive: {};
25
26
  resolve: {};
26
27
  schema: {};
27
28
  standaloneSchema: {};
29
+ response: {};
28
30
  }, {
29
31
  derive: {};
30
32
  resolve: {};
31
33
  schema: {};
32
34
  standaloneSchema: {};
35
+ response: {};
33
36
  }>) => Elysia<"", {
34
37
  decorator: {};
35
38
  store: {};
@@ -44,6 +47,7 @@ declare const _default: (app: Elysia<"", {
44
47
  macro: {};
45
48
  macroFn: {};
46
49
  parser: {};
50
+ response: {};
47
51
  }, {
48
52
  campaignUnclaimed: {
49
53
  get: {
@@ -55,9 +59,7 @@ declare const _default: (app: Elysia<"", {
55
59
  };
56
60
  headers: unknown;
57
61
  response: {
58
- 200: {
59
- [x: string]: string;
60
- };
62
+ 200: Record<string, string>;
61
63
  422: {
62
64
  type: "validation";
63
65
  on: string;
@@ -75,10 +77,12 @@ declare const _default: (app: Elysia<"", {
75
77
  resolve: {};
76
78
  schema: {};
77
79
  standaloneSchema: {};
80
+ response: {};
78
81
  }, {
79
82
  derive: {};
80
83
  resolve: {};
81
84
  schema: {};
82
85
  standaloneSchema: {};
86
+ response: {};
83
87
  }>;
84
88
  export default _default;
@@ -21,16 +21,19 @@ declare const _default: (app: Elysia<"", {
21
21
  macro: {};
22
22
  macroFn: {};
23
23
  parser: {};
24
+ response: {};
24
25
  }, {}, {
25
26
  derive: {};
26
27
  resolve: {};
27
28
  schema: {};
28
29
  standaloneSchema: {};
30
+ response: {};
29
31
  }, {
30
32
  derive: {};
31
33
  resolve: {};
32
34
  schema: {};
33
35
  standaloneSchema: {};
36
+ response: {};
34
37
  }>) => Elysia<"", {
35
38
  decorator: {};
36
39
  store: {};
@@ -45,6 +48,7 @@ declare const _default: (app: Elysia<"", {
45
48
  macro: {};
46
49
  macroFn: {};
47
50
  parser: {};
51
+ response: {};
48
52
  }, {
49
53
  campaigns: {
50
54
  get: {
@@ -60,16 +64,8 @@ declare const _default: (app: Elysia<"", {
60
64
  headers: unknown;
61
65
  response: {
62
66
  [x: string]: any;
63
- 200: any;
64
- 422: {
65
- type: "validation";
66
- on: string;
67
- summary?: string | undefined;
68
- message?: string | undefined;
69
- found?: unknown;
70
- property?: string | undefined;
71
- expected?: string | undefined;
72
- };
67
+ [x: number]: any;
68
+ [x: symbol]: any;
73
69
  };
74
70
  };
75
71
  };
@@ -78,10 +74,12 @@ declare const _default: (app: Elysia<"", {
78
74
  resolve: {};
79
75
  schema: {};
80
76
  standaloneSchema: {};
77
+ response: {};
81
78
  }, {
82
79
  derive: {};
83
80
  resolve: {};
84
81
  schema: {};
85
82
  standaloneSchema: {};
83
+ response: {};
86
84
  }>;
87
85
  export default _default;
@@ -29,16 +29,19 @@ declare const _default: (app: Elysia<"", {
29
29
  macro: {};
30
30
  macroFn: {};
31
31
  parser: {};
32
+ response: {};
32
33
  }, {}, {
33
34
  derive: {};
34
35
  resolve: {};
35
36
  schema: {};
36
37
  standaloneSchema: {};
38
+ response: {};
37
39
  }, {
38
40
  derive: {};
39
41
  resolve: {};
40
42
  schema: {};
41
43
  standaloneSchema: {};
44
+ response: {};
42
45
  }>) => Elysia<"", {
43
46
  decorator: {};
44
47
  store: {};
@@ -53,6 +56,7 @@ declare const _default: (app: Elysia<"", {
53
56
  macro: {};
54
57
  macroFn: {};
55
58
  parser: {};
59
+ response: {};
56
60
  }, {
57
61
  campaignsForMainParameter: {
58
62
  get: {
@@ -82,10 +86,12 @@ declare const _default: (app: Elysia<"", {
82
86
  resolve: {};
83
87
  schema: {};
84
88
  standaloneSchema: {};
89
+ response: {};
85
90
  }, {
86
91
  derive: {};
87
92
  resolve: {};
88
93
  schema: {};
89
94
  standaloneSchema: {};
95
+ response: {};
90
96
  }>;
91
97
  export default _default;
@@ -21,16 +21,19 @@ declare const _default: (app: Elysia<"", {
21
21
  macro: {};
22
22
  macroFn: {};
23
23
  parser: {};
24
+ response: {};
24
25
  }, {}, {
25
26
  derive: {};
26
27
  resolve: {};
27
28
  schema: {};
28
29
  standaloneSchema: {};
30
+ response: {};
29
31
  }, {
30
32
  derive: {};
31
33
  resolve: {};
32
34
  schema: {};
33
35
  standaloneSchema: {};
36
+ response: {};
34
37
  }>) => Elysia<"", {
35
38
  decorator: {};
36
39
  store: {};
@@ -45,6 +48,7 @@ declare const _default: (app: Elysia<"", {
45
48
  macro: {};
46
49
  macroFn: {};
47
50
  parser: {};
51
+ response: {};
48
52
  }, {
49
53
  campaignsRewardsReport: {
50
54
  get: {
@@ -75,10 +79,12 @@ declare const _default: (app: Elysia<"", {
75
79
  resolve: {};
76
80
  schema: {};
77
81
  standaloneSchema: {};
82
+ response: {};
78
83
  }, {
79
84
  derive: {};
80
85
  resolve: {};
81
86
  schema: {};
82
87
  standaloneSchema: {};
88
+ response: {};
83
89
  }>;
84
90
  export default _default;
@@ -19,16 +19,19 @@ declare const _default: (app: Elysia<"", {
19
19
  macro: {};
20
20
  macroFn: {};
21
21
  parser: {};
22
+ response: {};
22
23
  }, {}, {
23
24
  derive: {};
24
25
  resolve: {};
25
26
  schema: {};
26
27
  standaloneSchema: {};
28
+ response: {};
27
29
  }, {
28
30
  derive: {};
29
31
  resolve: {};
30
32
  schema: {};
31
33
  standaloneSchema: {};
34
+ response: {};
32
35
  }>) => Elysia<"", {
33
36
  decorator: {};
34
37
  store: {};
@@ -43,6 +46,7 @@ declare const _default: (app: Elysia<"", {
43
46
  macro: {};
44
47
  macroFn: {};
45
48
  parser: {};
49
+ response: {};
46
50
  }, {
47
51
  claims: {
48
52
  get: {
@@ -76,10 +80,12 @@ declare const _default: (app: Elysia<"", {
76
80
  resolve: {};
77
81
  schema: {};
78
82
  standaloneSchema: {};
83
+ response: {};
79
84
  }, {
80
85
  derive: {};
81
86
  resolve: {};
82
87
  schema: {};
83
88
  standaloneSchema: {};
89
+ response: {};
84
90
  }>;
85
91
  export default _default;
@@ -19,16 +19,19 @@ declare const _default: (app: Elysia<"", {
19
19
  macro: {};
20
20
  macroFn: {};
21
21
  parser: {};
22
+ response: {};
22
23
  }, {}, {
23
24
  derive: {};
24
25
  resolve: {};
25
26
  schema: {};
26
27
  standaloneSchema: {};
28
+ response: {};
27
29
  }, {
28
30
  derive: {};
29
31
  resolve: {};
30
32
  schema: {};
31
33
  standaloneSchema: {};
34
+ response: {};
32
35
  }>) => Elysia<"", {
33
36
  decorator: {};
34
37
  store: {};
@@ -43,6 +46,7 @@ declare const _default: (app: Elysia<"", {
43
46
  macro: {};
44
47
  macroFn: {};
45
48
  parser: {};
49
+ response: {};
46
50
  }, {
47
51
  compoundV2: {
48
52
  get: {
@@ -52,16 +56,8 @@ declare const _default: (app: Elysia<"", {
52
56
  headers: unknown;
53
57
  response: {
54
58
  [x: string]: any;
55
- 200: any;
56
- 422: {
57
- type: "validation";
58
- on: string;
59
- summary?: string | undefined;
60
- message?: string | undefined;
61
- found?: unknown;
62
- property?: string | undefined;
63
- expected?: string | undefined;
64
- };
59
+ [x: number]: any;
60
+ [x: symbol]: any;
65
61
  };
66
62
  };
67
63
  };
@@ -70,10 +66,12 @@ declare const _default: (app: Elysia<"", {
70
66
  resolve: {};
71
67
  schema: {};
72
68
  standaloneSchema: {};
69
+ response: {};
73
70
  }, {
74
71
  derive: {};
75
72
  resolve: {};
76
73
  schema: {};
77
74
  standaloneSchema: {};
75
+ response: {};
78
76
  }>;
79
77
  export default _default;
@@ -17,16 +17,19 @@ declare const _default: (app: Elysia<"", {
17
17
  macro: {};
18
18
  macroFn: {};
19
19
  parser: {};
20
+ response: {};
20
21
  }, {}, {
21
22
  derive: {};
22
23
  resolve: {};
23
24
  schema: {};
24
25
  standaloneSchema: {};
26
+ response: {};
25
27
  }, {
26
28
  derive: {};
27
29
  resolve: {};
28
30
  schema: {};
29
31
  standaloneSchema: {};
32
+ response: {};
30
33
  }>) => Elysia<"", {
31
34
  decorator: {};
32
35
  store: {};
@@ -41,6 +44,7 @@ declare const _default: (app: Elysia<"", {
41
44
  macro: {};
42
45
  macroFn: {};
43
46
  parser: {};
47
+ response: {};
44
48
  }, {
45
49
  createCampaign: {
46
50
  get: {
@@ -75,10 +79,12 @@ declare const _default: (app: Elysia<"", {
75
79
  resolve: {};
76
80
  schema: {};
77
81
  standaloneSchema: {};
82
+ response: {};
78
83
  }, {
79
84
  derive: {};
80
85
  resolve: {};
81
86
  schema: {};
82
87
  standaloneSchema: {};
88
+ response: {};
83
89
  }>;
84
90
  export default _default;