@merkl/api 0.10.137 → 0.10.139
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/eden/index.d.ts +291 -520
- package/dist/src/index.d.ts +99 -186
- package/dist/src/index.js +1 -1
- package/dist/src/libs/campaigns/campaignTypes/CompoundDynamicData.js +21 -7
- package/dist/src/libs/deprecated-merklv3/index.js +1 -1
- package/dist/src/libs/positions/compound/index.d.ts +0 -2
- package/dist/src/libs/positions/compound/index.js +3 -6
- package/dist/src/modules/v4/blacklist/blacklist.controller.d.ts +0 -21
- package/dist/src/modules/v4/blacklist/blacklist.controller.js +2 -2
- package/dist/src/modules/v4/blacklist/blacklist.repository.d.ts +0 -8
- package/dist/src/modules/v4/blacklist/blacklist.repository.js +1 -4
- package/dist/src/modules/v4/blacklist/blacklist.service.d.ts +1 -9
- package/dist/src/modules/v4/blacklist/blacklist.service.js +1 -4
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +3 -3
- package/dist/src/modules/v4/campaign/campaign.controller.js +8 -6
- package/dist/src/modules/v4/campaign/campaign.service.js +1 -2
- package/dist/src/modules/v4/chain/chain.controller.js +2 -1
- package/dist/src/modules/v4/dynamicData/dynamicData.controller.d.ts +20 -26
- package/dist/src/modules/v4/dynamicData/dynamicData.controller.js +5 -5
- package/dist/src/modules/v4/enso/enso.service.d.ts +1 -1
- package/dist/src/modules/v4/{participate/participate.controller.d.ts → interaction/interaction.controller.d.ts} +6 -6
- package/dist/src/modules/v4/{participate/participate.controller.js → interaction/interaction.controller.js} +12 -13
- package/dist/src/modules/v4/{participate/participate.model.d.ts → interaction/interaction.model.d.ts} +12 -12
- package/dist/src/modules/v4/{participate/participate.model.js → interaction/interaction.model.js} +3 -3
- package/dist/src/modules/v4/{participate/participate.service.d.ts → interaction/interaction.service.d.ts} +5 -5
- package/dist/src/modules/v4/{participate/participate.service.js → interaction/interaction.service.js} +3 -3
- package/dist/src/modules/v4/merklRoot/merklRoot.controller.d.ts +2 -2
- package/dist/src/modules/v4/merklRoot/merklRoot.controller.js +2 -2
- package/dist/src/modules/v4/opportunity/opportunity.controller.js +5 -1
- package/dist/src/modules/v4/price/price.controller.js +3 -0
- package/dist/src/modules/v4/reward/reward.controller.d.ts +31 -29
- package/dist/src/modules/v4/reward/reward.controller.js +3 -3
- package/dist/src/modules/v4/reward/{rewardConvertor.service.d.ts → subservices/converter.d.ts} +2 -2
- package/dist/src/modules/v4/reward/{rewardConvertor.service.js → subservices/converter.js} +1 -1
- package/dist/src/modules/v4/router.d.ts +99 -186
- package/dist/src/modules/v4/router.js +2 -2
- package/dist/src/modules/v4/status/status.controller.d.ts +40 -102
- package/dist/src/modules/v4/status/status.controller.js +16 -22
- package/dist/src/modules/v4/status/status.model.d.ts +33 -26
- package/dist/src/modules/v4/status/status.model.js +9 -20
- package/dist/src/modules/v4/status/status.repository.d.ts +12 -42
- package/dist/src/modules/v4/status/status.repository.js +10 -22
- package/dist/src/modules/v4/status/status.service.d.ts +4 -36
- package/dist/src/modules/v4/status/status.service.js +9 -18
- package/dist/src/modules/v4/uniswapV4/uniswapV4.controller.d.ts +1 -1
- package/dist/src/modules/v4/uniswapV4/uniswapV4.controller.js +1 -1
- package/dist/src/modules/v4/user/user.controller.js +3 -2
- package/dist/src/routes/v3/ERC20Campaigns.d.ts +99 -186
- package/dist/src/routes/v3/blacklist.d.ts +99 -186
- package/dist/src/routes/v3/campaigns.d.ts +99 -186
- package/dist/src/routes/v3/campaignsInfo.d.ts +99 -186
- package/dist/src/routes/v3/multiChainPositions.d.ts +99 -186
- package/dist/src/routes/v3/opportunity.d.ts +99 -186
- package/dist/src/routes/v3/positions.d.ts +99 -186
- package/dist/src/routes/v3/rewards.d.ts +99 -186
- package/dist/src/routes/v3/rewards.js +1 -1
- package/dist/src/routes/v3/updates.d.ts +99 -186
- package/dist/src/routes/v3/userRewards.d.ts +99 -186
- package/dist/src/routes/v3/userRewards.js +1 -1
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +4 -5
- package/dist/src/modules/v4/apr/apr.repository.d.ts +0 -0
- package/dist/src/modules/v4/apr/apr.repository.js +0 -1
- package/dist/src/modules/v4/tvl/tvl.repository.d.ts +0 -0
- package/dist/src/modules/v4/tvl/tvl.repository.js +0 -1
@@ -580,7 +580,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
580
580
|
};
|
581
581
|
};
|
582
582
|
} & {
|
583
|
-
|
583
|
+
"campaigns-to-process": {
|
584
584
|
index: {
|
585
585
|
get: {
|
586
586
|
body: unknown;
|
@@ -602,7 +602,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
602
602
|
};
|
603
603
|
};
|
604
604
|
} & {
|
605
|
-
|
605
|
+
"campaigns-to-process": {
|
606
606
|
count: {
|
607
607
|
get: {
|
608
608
|
body: unknown;
|
@@ -618,7 +618,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
618
618
|
};
|
619
619
|
};
|
620
620
|
} & {
|
621
|
-
|
621
|
+
"campaigns-to-process": {
|
622
622
|
index: {
|
623
623
|
post: {
|
624
624
|
body: unknown;
|
@@ -917,35 +917,37 @@ export declare const v4: Elysia<"/v4", false, {
|
|
917
917
|
};
|
918
918
|
} & {
|
919
919
|
rewards: {
|
920
|
-
|
921
|
-
|
922
|
-
|
923
|
-
|
924
|
-
|
925
|
-
|
926
|
-
|
927
|
-
|
928
|
-
|
929
|
-
|
930
|
-
|
931
|
-
|
932
|
-
|
933
|
-
|
934
|
-
|
935
|
-
|
936
|
-
|
937
|
-
|
938
|
-
|
939
|
-
|
940
|
-
|
941
|
-
|
942
|
-
|
943
|
-
|
944
|
-
|
945
|
-
|
946
|
-
|
947
|
-
|
948
|
-
|
920
|
+
engine: {
|
921
|
+
pendings: {
|
922
|
+
post: {
|
923
|
+
body: {
|
924
|
+
distributionChainId: number;
|
925
|
+
campaignId: string;
|
926
|
+
root: string;
|
927
|
+
rewardToken: string;
|
928
|
+
toUpdate: {
|
929
|
+
auxiliaryData1?: string | undefined;
|
930
|
+
auxiliaryData2?: string | undefined;
|
931
|
+
reason: string;
|
932
|
+
pending: string;
|
933
|
+
recipient: string;
|
934
|
+
}[];
|
935
|
+
toCreate: {
|
936
|
+
auxiliaryData1?: string | undefined;
|
937
|
+
auxiliaryData2?: string | undefined;
|
938
|
+
reason: string;
|
939
|
+
pending: string;
|
940
|
+
recipient: string;
|
941
|
+
}[];
|
942
|
+
};
|
943
|
+
params: {};
|
944
|
+
query: unknown;
|
945
|
+
headers: {
|
946
|
+
authorization: string;
|
947
|
+
};
|
948
|
+
response: {
|
949
|
+
200: boolean;
|
950
|
+
};
|
949
951
|
};
|
950
952
|
};
|
951
953
|
};
|
@@ -1253,27 +1255,6 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1253
1255
|
v4: {
|
1254
1256
|
blacklists: {
|
1255
1257
|
index: {
|
1256
|
-
get: {
|
1257
|
-
body: unknown;
|
1258
|
-
params: {};
|
1259
|
-
query: unknown;
|
1260
|
-
headers: unknown;
|
1261
|
-
response: {
|
1262
|
-
200: {
|
1263
|
-
id: string;
|
1264
|
-
chainId: number;
|
1265
|
-
poolAddress: string;
|
1266
|
-
userAddress: string;
|
1267
|
-
arrestTimestamp: bigint;
|
1268
|
-
arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
|
1269
|
-
}[];
|
1270
|
-
};
|
1271
|
-
};
|
1272
|
-
};
|
1273
|
-
};
|
1274
|
-
} & {
|
1275
|
-
blacklists: {
|
1276
|
-
all: {
|
1277
1258
|
get: {
|
1278
1259
|
body: unknown;
|
1279
1260
|
params: {};
|
@@ -1700,7 +1681,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1700
1681
|
} & {
|
1701
1682
|
v4: {
|
1702
1683
|
roots: {
|
1703
|
-
|
1684
|
+
index: {
|
1704
1685
|
get: {
|
1705
1686
|
body: unknown;
|
1706
1687
|
params: {};
|
@@ -1723,7 +1704,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1723
1704
|
};
|
1724
1705
|
} & {
|
1725
1706
|
roots: {
|
1726
|
-
|
1707
|
+
live: {
|
1727
1708
|
get: {
|
1728
1709
|
body: unknown;
|
1729
1710
|
params: {};
|
@@ -1742,7 +1723,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1742
1723
|
};
|
1743
1724
|
} & {
|
1744
1725
|
v4: {
|
1745
|
-
|
1726
|
+
interaction: {
|
1746
1727
|
targets: {
|
1747
1728
|
get: {
|
1748
1729
|
body: unknown;
|
@@ -1754,13 +1735,13 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1754
1735
|
};
|
1755
1736
|
headers: unknown;
|
1756
1737
|
response: {
|
1757
|
-
200: import("./
|
1738
|
+
200: import("./interaction/interaction.model").InteractionTarget[] | undefined;
|
1758
1739
|
};
|
1759
1740
|
};
|
1760
1741
|
};
|
1761
1742
|
};
|
1762
1743
|
} & {
|
1763
|
-
|
1744
|
+
interaction: {
|
1764
1745
|
protocols: {
|
1765
1746
|
get: {
|
1766
1747
|
body: unknown;
|
@@ -1783,7 +1764,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1783
1764
|
};
|
1784
1765
|
};
|
1785
1766
|
} & {
|
1786
|
-
|
1767
|
+
interaction: {
|
1787
1768
|
quote: {
|
1788
1769
|
get: {
|
1789
1770
|
body: unknown;
|
@@ -1809,7 +1790,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1809
1790
|
};
|
1810
1791
|
};
|
1811
1792
|
} & {
|
1812
|
-
|
1793
|
+
interaction: {
|
1813
1794
|
transaction: {
|
1814
1795
|
get: {
|
1815
1796
|
body: unknown;
|
@@ -2031,31 +2012,25 @@ export declare const v4: Elysia<"/v4", false, {
|
|
2031
2012
|
};
|
2032
2013
|
} & {
|
2033
2014
|
v4: {
|
2034
|
-
|
2035
|
-
|
2036
|
-
|
2037
|
-
|
2038
|
-
|
2039
|
-
|
2040
|
-
|
2041
|
-
|
2042
|
-
|
2043
|
-
|
2044
|
-
|
2045
|
-
|
2046
|
-
|
2047
|
-
|
2048
|
-
|
2049
|
-
|
2050
|
-
|
2051
|
-
|
2052
|
-
|
2053
|
-
cardName: string;
|
2054
|
-
blacklistedSupply: number;
|
2055
|
-
priceTargetToken: number;
|
2056
|
-
};
|
2057
|
-
};
|
2058
|
-
};
|
2015
|
+
"dynamic-data": {
|
2016
|
+
index: {
|
2017
|
+
get: {
|
2018
|
+
body: unknown;
|
2019
|
+
params: {};
|
2020
|
+
query: {
|
2021
|
+
chainId: number;
|
2022
|
+
tokenAddress: string;
|
2023
|
+
};
|
2024
|
+
headers: {
|
2025
|
+
authorization: string;
|
2026
|
+
};
|
2027
|
+
response: {
|
2028
|
+
200: {
|
2029
|
+
tvl: number;
|
2030
|
+
totalSupply: number;
|
2031
|
+
cardName: string;
|
2032
|
+
blacklistedSupply: number;
|
2033
|
+
priceTargetToken: number;
|
2059
2034
|
};
|
2060
2035
|
};
|
2061
2036
|
};
|
@@ -2064,11 +2039,11 @@ export declare const v4: Elysia<"/v4", false, {
|
|
2064
2039
|
};
|
2065
2040
|
} & {
|
2066
2041
|
v4: {
|
2067
|
-
|
2042
|
+
"campaign-status": {
|
2068
2043
|
engine: {
|
2069
|
-
|
2070
|
-
|
2071
|
-
|
2044
|
+
":campaignId": {
|
2045
|
+
put: {
|
2046
|
+
body: {
|
2072
2047
|
value: "SUCCESS";
|
2073
2048
|
computedUntil: number;
|
2074
2049
|
} | {
|
@@ -2082,90 +2057,74 @@ export declare const v4: Elysia<"/v4", false, {
|
|
2082
2057
|
details: string;
|
2083
2058
|
value: "FAILED";
|
2084
2059
|
};
|
2085
|
-
|
2086
|
-
|
2087
|
-
|
2088
|
-
|
2089
|
-
|
2090
|
-
|
2091
|
-
|
2092
|
-
|
2093
|
-
|
2094
|
-
|
2060
|
+
params: {
|
2061
|
+
campaignId: string;
|
2062
|
+
};
|
2063
|
+
query: unknown;
|
2064
|
+
headers: {
|
2065
|
+
authorization: string;
|
2066
|
+
};
|
2067
|
+
response: {
|
2068
|
+
200: void;
|
2069
|
+
};
|
2095
2070
|
};
|
2096
2071
|
};
|
2097
2072
|
};
|
2098
2073
|
};
|
2099
2074
|
} & {
|
2100
|
-
|
2101
|
-
|
2102
|
-
|
2103
|
-
|
2104
|
-
|
2105
|
-
|
2106
|
-
|
2107
|
-
response: {
|
2108
|
-
200: {
|
2109
|
-
error: string;
|
2110
|
-
details: import("database/api/.generated/runtime/library").JsonValue;
|
2111
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2075
|
+
"campaign-status": {
|
2076
|
+
engine: {
|
2077
|
+
overlaps: {
|
2078
|
+
get: {
|
2079
|
+
body: unknown;
|
2080
|
+
params: {};
|
2081
|
+
query: {
|
2112
2082
|
campaignId: string;
|
2113
|
-
|
2114
|
-
|
2115
|
-
|
2083
|
+
distributionChain: number;
|
2084
|
+
};
|
2085
|
+
headers: {
|
2086
|
+
authorization: string;
|
2087
|
+
};
|
2088
|
+
response: {
|
2089
|
+
200: boolean;
|
2090
|
+
};
|
2116
2091
|
};
|
2117
2092
|
};
|
2118
2093
|
};
|
2119
2094
|
};
|
2120
2095
|
} & {
|
2121
|
-
|
2122
|
-
|
2096
|
+
"campaign-status": {
|
2097
|
+
index: {
|
2123
2098
|
get: {
|
2124
2099
|
body: unknown;
|
2125
2100
|
params: {};
|
2126
2101
|
query: {
|
2127
|
-
status
|
2102
|
+
status?: "PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED" | ("PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED")[] | undefined;
|
2103
|
+
computeChainId?: number | undefined;
|
2128
2104
|
};
|
2129
2105
|
headers: unknown;
|
2130
2106
|
response: {
|
2131
|
-
200:
|
2132
|
-
Campaign: {
|
2133
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
2134
|
-
id: string;
|
2135
|
-
params: import("database/api/.generated/runtime/library").JsonValue;
|
2136
|
-
subType: number | null;
|
2137
|
-
startTimestamp: bigint;
|
2138
|
-
endTimestamp: bigint;
|
2139
|
-
computeChainId: number;
|
2140
|
-
distributionChainId: number;
|
2141
|
-
campaignId: string;
|
2142
|
-
rewardTokenId: string;
|
2143
|
-
amount: string;
|
2144
|
-
opportunityId: string;
|
2145
|
-
creatorAddress: string;
|
2146
|
-
};
|
2147
|
-
} & {
|
2107
|
+
200: {
|
2148
2108
|
error: string;
|
2149
2109
|
details: import("database/api/.generated/runtime/library").JsonValue;
|
2150
2110
|
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2151
2111
|
campaignId: string;
|
2152
2112
|
computedUntil: bigint;
|
2153
2113
|
processingStarted: bigint;
|
2154
|
-
}
|
2114
|
+
}[];
|
2155
2115
|
};
|
2156
2116
|
};
|
2157
2117
|
};
|
2158
2118
|
};
|
2159
2119
|
} & {
|
2160
|
-
|
2161
|
-
|
2120
|
+
"campaign-status": {
|
2121
|
+
":campaignId": {
|
2162
2122
|
get: {
|
2163
2123
|
body: unknown;
|
2164
|
-
params: {
|
2165
|
-
query: {
|
2124
|
+
params: {
|
2166
2125
|
campaignId: string;
|
2167
|
-
distributionChain: number;
|
2168
2126
|
};
|
2127
|
+
query: unknown;
|
2169
2128
|
headers: unknown;
|
2170
2129
|
response: {
|
2171
2130
|
200: {
|
@@ -2180,52 +2139,6 @@ export declare const v4: Elysia<"/v4", false, {
|
|
2180
2139
|
};
|
2181
2140
|
};
|
2182
2141
|
};
|
2183
|
-
} & {
|
2184
|
-
campaignStatus: {
|
2185
|
-
computeChain: {
|
2186
|
-
":chainId": {
|
2187
|
-
get: {
|
2188
|
-
body: unknown;
|
2189
|
-
params: {
|
2190
|
-
chainId: number;
|
2191
|
-
};
|
2192
|
-
query: unknown;
|
2193
|
-
headers: unknown;
|
2194
|
-
response: {
|
2195
|
-
200: {
|
2196
|
-
error: string;
|
2197
|
-
details: import("database/api/.generated/runtime/library").JsonValue;
|
2198
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2199
|
-
campaignId: string;
|
2200
|
-
computedUntil: bigint;
|
2201
|
-
processingStarted: bigint;
|
2202
|
-
}[];
|
2203
|
-
};
|
2204
|
-
};
|
2205
|
-
};
|
2206
|
-
};
|
2207
|
-
};
|
2208
|
-
} & {
|
2209
|
-
campaignStatus: {
|
2210
|
-
engine: {
|
2211
|
-
overlaps: {
|
2212
|
-
get: {
|
2213
|
-
body: unknown;
|
2214
|
-
params: {};
|
2215
|
-
query: {
|
2216
|
-
campaignId: string;
|
2217
|
-
distributionChain: number;
|
2218
|
-
};
|
2219
|
-
headers: {
|
2220
|
-
authorization: string;
|
2221
|
-
};
|
2222
|
-
response: {
|
2223
|
-
200: boolean;
|
2224
|
-
};
|
2225
|
-
};
|
2226
|
-
};
|
2227
|
-
};
|
2228
|
-
};
|
2229
2142
|
};
|
2230
2143
|
}, {
|
2231
2144
|
derive: {};
|
@@ -14,8 +14,8 @@ import { OTLPTraceExporter } from "@opentelemetry/exporter-trace-otlp-http";
|
|
14
14
|
import { BatchSpanProcessor } from "@opentelemetry/sdk-trace-node";
|
15
15
|
import Elysia from "elysia";
|
16
16
|
import { DynamicDataController } from "./dynamicData";
|
17
|
+
import { InteractionController } from "./interaction/interaction.controller";
|
17
18
|
import { MerklRootController } from "./merklRoot";
|
18
|
-
import { ParticipateController } from "./participate/participate.controller";
|
19
19
|
import { StatusController } from "./status";
|
20
20
|
import { UserController } from "./user";
|
21
21
|
// ─── V4 Router ───────────────────────────────────────────────────────────────
|
@@ -51,7 +51,7 @@ export const v4 = new Elysia({ tags: ["v4"], prefix: "/v4" })
|
|
51
51
|
.use(BlacklistController)
|
52
52
|
.use(UserController)
|
53
53
|
.use(MerklRootController)
|
54
|
-
.use(
|
54
|
+
.use(InteractionController)
|
55
55
|
.use(AccountingController)
|
56
56
|
.use(DynamicDataController)
|
57
57
|
.use(StatusController);
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import Elysia from "elysia";
|
2
|
-
export declare const StatusController: Elysia<"/
|
2
|
+
export declare const StatusController: Elysia<"/campaign-status", false, {
|
3
3
|
decorator: {};
|
4
4
|
store: {};
|
5
5
|
derive: {};
|
@@ -12,11 +12,11 @@ export declare const StatusController: Elysia<"/campaignStatus", false, {
|
|
12
12
|
macro: {};
|
13
13
|
macroFn: {};
|
14
14
|
}, {
|
15
|
-
|
15
|
+
"campaign-status": {
|
16
16
|
engine: {
|
17
|
-
|
18
|
-
|
19
|
-
|
17
|
+
":campaignId": {
|
18
|
+
put: {
|
19
|
+
body: {
|
20
20
|
value: "SUCCESS";
|
21
21
|
computedUntil: number;
|
22
22
|
} | {
|
@@ -30,90 +30,74 @@ export declare const StatusController: Elysia<"/campaignStatus", false, {
|
|
30
30
|
details: string;
|
31
31
|
value: "FAILED";
|
32
32
|
};
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
33
|
+
params: {
|
34
|
+
campaignId: string;
|
35
|
+
};
|
36
|
+
query: unknown;
|
37
|
+
headers: {
|
38
|
+
authorization: string;
|
39
|
+
};
|
40
|
+
response: {
|
41
|
+
200: void;
|
42
|
+
};
|
43
43
|
};
|
44
44
|
};
|
45
45
|
};
|
46
46
|
};
|
47
47
|
} & {
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
response: {
|
56
|
-
200: {
|
57
|
-
error: string;
|
58
|
-
details: import("database/api/.generated/runtime/library").JsonValue;
|
59
|
-
status: import("../../../../database/api/.generated").$Enums.RunStatus;
|
48
|
+
"campaign-status": {
|
49
|
+
engine: {
|
50
|
+
overlaps: {
|
51
|
+
get: {
|
52
|
+
body: unknown;
|
53
|
+
params: {};
|
54
|
+
query: {
|
60
55
|
campaignId: string;
|
61
|
-
|
62
|
-
|
63
|
-
|
56
|
+
distributionChain: number;
|
57
|
+
};
|
58
|
+
headers: {
|
59
|
+
authorization: string;
|
60
|
+
};
|
61
|
+
response: {
|
62
|
+
200: boolean;
|
63
|
+
};
|
64
64
|
};
|
65
65
|
};
|
66
66
|
};
|
67
67
|
};
|
68
68
|
} & {
|
69
|
-
|
70
|
-
|
69
|
+
"campaign-status": {
|
70
|
+
index: {
|
71
71
|
get: {
|
72
72
|
body: unknown;
|
73
73
|
params: {};
|
74
74
|
query: {
|
75
|
-
status
|
75
|
+
status?: "PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED" | ("PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED")[] | undefined;
|
76
|
+
computeChainId?: number | undefined;
|
76
77
|
};
|
77
78
|
headers: unknown;
|
78
79
|
response: {
|
79
|
-
200:
|
80
|
-
Campaign: {
|
81
|
-
type: import("../../../../database/api/.generated").$Enums.CampaignType;
|
82
|
-
id: string;
|
83
|
-
params: import("database/api/.generated/runtime/library").JsonValue;
|
84
|
-
subType: number | null;
|
85
|
-
startTimestamp: bigint;
|
86
|
-
endTimestamp: bigint;
|
87
|
-
computeChainId: number;
|
88
|
-
distributionChainId: number;
|
89
|
-
campaignId: string;
|
90
|
-
rewardTokenId: string;
|
91
|
-
amount: string;
|
92
|
-
opportunityId: string;
|
93
|
-
creatorAddress: string;
|
94
|
-
};
|
95
|
-
} & {
|
80
|
+
200: {
|
96
81
|
error: string;
|
97
82
|
details: import("database/api/.generated/runtime/library").JsonValue;
|
98
83
|
status: import("../../../../database/api/.generated").$Enums.RunStatus;
|
99
84
|
campaignId: string;
|
100
85
|
computedUntil: bigint;
|
101
86
|
processingStarted: bigint;
|
102
|
-
}
|
87
|
+
}[];
|
103
88
|
};
|
104
89
|
};
|
105
90
|
};
|
106
91
|
};
|
107
92
|
} & {
|
108
|
-
|
109
|
-
|
93
|
+
"campaign-status": {
|
94
|
+
":campaignId": {
|
110
95
|
get: {
|
111
96
|
body: unknown;
|
112
|
-
params: {
|
113
|
-
query: {
|
97
|
+
params: {
|
114
98
|
campaignId: string;
|
115
|
-
distributionChain: number;
|
116
99
|
};
|
100
|
+
query: unknown;
|
117
101
|
headers: unknown;
|
118
102
|
response: {
|
119
103
|
200: {
|
@@ -128,52 +112,6 @@ export declare const StatusController: Elysia<"/campaignStatus", false, {
|
|
128
112
|
};
|
129
113
|
};
|
130
114
|
};
|
131
|
-
} & {
|
132
|
-
campaignStatus: {
|
133
|
-
computeChain: {
|
134
|
-
":chainId": {
|
135
|
-
get: {
|
136
|
-
body: unknown;
|
137
|
-
params: {
|
138
|
-
chainId: number;
|
139
|
-
};
|
140
|
-
query: unknown;
|
141
|
-
headers: unknown;
|
142
|
-
response: {
|
143
|
-
200: {
|
144
|
-
error: string;
|
145
|
-
details: import("database/api/.generated/runtime/library").JsonValue;
|
146
|
-
status: import("../../../../database/api/.generated").$Enums.RunStatus;
|
147
|
-
campaignId: string;
|
148
|
-
computedUntil: bigint;
|
149
|
-
processingStarted: bigint;
|
150
|
-
}[];
|
151
|
-
};
|
152
|
-
};
|
153
|
-
};
|
154
|
-
};
|
155
|
-
};
|
156
|
-
} & {
|
157
|
-
campaignStatus: {
|
158
|
-
engine: {
|
159
|
-
overlaps: {
|
160
|
-
get: {
|
161
|
-
body: unknown;
|
162
|
-
params: {};
|
163
|
-
query: {
|
164
|
-
campaignId: string;
|
165
|
-
distributionChain: number;
|
166
|
-
};
|
167
|
-
headers: {
|
168
|
-
authorization: string;
|
169
|
-
};
|
170
|
-
response: {
|
171
|
-
200: boolean;
|
172
|
-
};
|
173
|
-
};
|
174
|
-
};
|
175
|
-
};
|
176
|
-
};
|
177
115
|
}, {
|
178
116
|
derive: {};
|
179
117
|
resolve: {};
|