@merkl/api 0.10.183 → 0.10.185

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. package/dist/src/eden/index.d.ts +126 -9
  2. package/dist/src/index.d.ts +50 -3
  3. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound1RefactoFinal.js +0 -3
  4. package/dist/src/modules/v4/merklRoot/merklRoot.controller.d.ts +26 -0
  5. package/dist/src/modules/v4/merklRoot/merklRoot.controller.js +16 -3
  6. package/dist/src/modules/v4/merklRoot/merklRoot.model.d.ts +7 -0
  7. package/dist/src/modules/v4/merklRoot/merklRoot.model.js +6 -0
  8. package/dist/src/modules/v4/merklRoot/merklRoot.repository.d.ts +7 -1
  9. package/dist/src/modules/v4/merklRoot/merklRoot.repository.js +5 -0
  10. package/dist/src/modules/v4/merklRoot/merklRoot.service.d.ts +7 -1
  11. package/dist/src/modules/v4/merklRoot/merklRoot.service.js +3 -0
  12. package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +3 -3
  13. package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +4 -4
  14. package/dist/src/modules/v4/opportunity/opportunity.service.js +0 -2
  15. package/dist/src/modules/v4/reward/reward.controller.d.ts +21 -0
  16. package/dist/src/modules/v4/reward/reward.controller.js +15 -2
  17. package/dist/src/modules/v4/reward/reward.model.d.ts +7 -0
  18. package/dist/src/modules/v4/reward/reward.model.js +6 -0
  19. package/dist/src/modules/v4/reward/reward.repository.d.ts +1 -0
  20. package/dist/src/modules/v4/reward/reward.repository.js +15 -0
  21. package/dist/src/modules/v4/reward/reward.service.d.ts +2 -1
  22. package/dist/src/modules/v4/reward/reward.service.js +14 -0
  23. package/dist/src/modules/v4/router.d.ts +50 -3
  24. package/dist/src/modules/v4/token/token.repository.js +6 -2
  25. package/dist/src/routes/v3/blacklist.d.ts +50 -3
  26. package/dist/src/routes/v3/campaigns.d.ts +50 -3
  27. package/dist/src/routes/v3/campaignsInfo.d.ts +50 -3
  28. package/dist/src/routes/v3/multiChainPositions.d.ts +50 -3
  29. package/dist/src/routes/v3/opportunity.d.ts +50 -3
  30. package/dist/src/routes/v3/positions.d.ts +50 -3
  31. package/dist/src/routes/v3/rewards.d.ts +50 -3
  32. package/dist/src/routes/v3/updates.d.ts +50 -3
  33. package/dist/src/routes/v3/userRewards.d.ts +50 -3
  34. package/dist/tsconfig.package.tsbuildinfo +1 -1
  35. package/package.json +1 -1
@@ -170,7 +170,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
170
170
  tvl: number;
171
171
  apr: number;
172
172
  dailyRewards: number;
173
- } | null | undefined;
173
+ } | undefined;
174
174
  };
175
175
  };
176
176
  };
@@ -348,7 +348,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
348
348
  };
349
349
  headers: unknown;
350
350
  response: {
351
- 200: ({
351
+ 200: {
352
352
  aprRecord: {
353
353
  cumulated: number;
354
354
  timestamp: bigint;
@@ -434,7 +434,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
434
434
  tvl: number;
435
435
  apr: number;
436
436
  dailyRewards: number;
437
- } | null)[];
437
+ }[];
438
438
  };
439
439
  };
440
440
  };
@@ -1074,6 +1074,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1074
1074
  };
1075
1075
  };
1076
1076
  };
1077
+ } & {
1078
+ engine: {
1079
+ claims: {
1080
+ post: {
1081
+ body: {
1082
+ token: string;
1083
+ chainId: number;
1084
+ recipient: string;
1085
+ root: string;
1086
+ }[];
1087
+ params: {};
1088
+ query: unknown;
1089
+ headers: {
1090
+ authorization: string;
1091
+ };
1092
+ response: {
1093
+ 200: void;
1094
+ };
1095
+ };
1096
+ };
1097
+ };
1077
1098
  } & {
1078
1099
  engine: {
1079
1100
  pendings: {
@@ -1944,6 +1965,32 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1944
1965
  };
1945
1966
  };
1946
1967
  };
1968
+ } & {
1969
+ roots: {
1970
+ index: {
1971
+ post: {
1972
+ body: {
1973
+ timestamp: number;
1974
+ chainId: number;
1975
+ root: string;
1976
+ epoch: number;
1977
+ };
1978
+ params: {};
1979
+ query: unknown;
1980
+ headers: {
1981
+ authorization: string;
1982
+ };
1983
+ response: {
1984
+ 200: {
1985
+ timestamp: bigint;
1986
+ chainId: number;
1987
+ root: string;
1988
+ epoch: number;
1989
+ };
1990
+ };
1991
+ };
1992
+ };
1993
+ };
1947
1994
  };
1948
1995
  } & {
1949
1996
  v4: {
@@ -171,7 +171,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
171
171
  tvl: number;
172
172
  apr: number;
173
173
  dailyRewards: number;
174
- } | null | undefined;
174
+ } | undefined;
175
175
  };
176
176
  };
177
177
  };
@@ -349,7 +349,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
349
349
  };
350
350
  headers: unknown;
351
351
  response: {
352
- 200: ({
352
+ 200: {
353
353
  aprRecord: {
354
354
  cumulated: number;
355
355
  timestamp: bigint;
@@ -435,7 +435,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
435
435
  tvl: number;
436
436
  apr: number;
437
437
  dailyRewards: number;
438
- } | null)[];
438
+ }[];
439
439
  };
440
440
  };
441
441
  };
@@ -1075,6 +1075,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1075
1075
  };
1076
1076
  };
1077
1077
  };
1078
+ } & {
1079
+ engine: {
1080
+ claims: {
1081
+ post: {
1082
+ body: {
1083
+ token: string;
1084
+ chainId: number;
1085
+ recipient: string;
1086
+ root: string;
1087
+ }[];
1088
+ params: {};
1089
+ query: unknown;
1090
+ headers: {
1091
+ authorization: string;
1092
+ };
1093
+ response: {
1094
+ 200: void;
1095
+ };
1096
+ };
1097
+ };
1098
+ };
1078
1099
  } & {
1079
1100
  engine: {
1080
1101
  pendings: {
@@ -1945,6 +1966,32 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1945
1966
  };
1946
1967
  };
1947
1968
  };
1969
+ } & {
1970
+ roots: {
1971
+ index: {
1972
+ post: {
1973
+ body: {
1974
+ timestamp: number;
1975
+ chainId: number;
1976
+ root: string;
1977
+ epoch: number;
1978
+ };
1979
+ params: {};
1980
+ query: unknown;
1981
+ headers: {
1982
+ authorization: string;
1983
+ };
1984
+ response: {
1985
+ 200: {
1986
+ timestamp: bigint;
1987
+ chainId: number;
1988
+ root: string;
1989
+ epoch: number;
1990
+ };
1991
+ };
1992
+ };
1993
+ };
1994
+ };
1948
1995
  };
1949
1996
  } & {
1950
1997
  v4: {
@@ -173,7 +173,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
173
173
  tvl: number;
174
174
  apr: number;
175
175
  dailyRewards: number;
176
- } | null | undefined;
176
+ } | undefined;
177
177
  };
178
178
  };
179
179
  };
@@ -351,7 +351,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
351
351
  };
352
352
  headers: unknown;
353
353
  response: {
354
- 200: ({
354
+ 200: {
355
355
  aprRecord: {
356
356
  cumulated: number;
357
357
  timestamp: bigint;
@@ -437,7 +437,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
437
437
  tvl: number;
438
438
  apr: number;
439
439
  dailyRewards: number;
440
- } | null)[];
440
+ }[];
441
441
  };
442
442
  };
443
443
  };
@@ -1077,6 +1077,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1077
1077
  };
1078
1078
  };
1079
1079
  };
1080
+ } & {
1081
+ engine: {
1082
+ claims: {
1083
+ post: {
1084
+ body: {
1085
+ token: string;
1086
+ chainId: number;
1087
+ recipient: string;
1088
+ root: string;
1089
+ }[];
1090
+ params: {};
1091
+ query: unknown;
1092
+ headers: {
1093
+ authorization: string;
1094
+ };
1095
+ response: {
1096
+ 200: void;
1097
+ };
1098
+ };
1099
+ };
1100
+ };
1080
1101
  } & {
1081
1102
  engine: {
1082
1103
  pendings: {
@@ -1947,6 +1968,32 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1947
1968
  };
1948
1969
  };
1949
1970
  };
1971
+ } & {
1972
+ roots: {
1973
+ index: {
1974
+ post: {
1975
+ body: {
1976
+ timestamp: number;
1977
+ chainId: number;
1978
+ root: string;
1979
+ epoch: number;
1980
+ };
1981
+ params: {};
1982
+ query: unknown;
1983
+ headers: {
1984
+ authorization: string;
1985
+ };
1986
+ response: {
1987
+ 200: {
1988
+ timestamp: bigint;
1989
+ chainId: number;
1990
+ root: string;
1991
+ epoch: number;
1992
+ };
1993
+ };
1994
+ };
1995
+ };
1996
+ };
1950
1997
  };
1951
1998
  } & {
1952
1999
  v4: {