@merkl/api 0.10.183 → 0.10.184

Sign up to get free protection for your applications and to get access to all the features.
Files changed (27) hide show
  1. package/dist/src/eden/index.d.ts +62 -9
  2. package/dist/src/index.d.ts +24 -3
  3. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/subtypesRound1RefactoFinal.js +0 -3
  4. package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +3 -3
  5. package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +4 -4
  6. package/dist/src/modules/v4/opportunity/opportunity.service.js +0 -2
  7. package/dist/src/modules/v4/reward/reward.controller.d.ts +21 -0
  8. package/dist/src/modules/v4/reward/reward.controller.js +15 -2
  9. package/dist/src/modules/v4/reward/reward.model.d.ts +7 -0
  10. package/dist/src/modules/v4/reward/reward.model.js +6 -0
  11. package/dist/src/modules/v4/reward/reward.repository.d.ts +1 -0
  12. package/dist/src/modules/v4/reward/reward.repository.js +15 -0
  13. package/dist/src/modules/v4/reward/reward.service.d.ts +2 -1
  14. package/dist/src/modules/v4/reward/reward.service.js +14 -0
  15. package/dist/src/modules/v4/router.d.ts +24 -3
  16. package/dist/src/modules/v4/token/token.repository.js +6 -2
  17. package/dist/src/routes/v3/blacklist.d.ts +24 -3
  18. package/dist/src/routes/v3/campaigns.d.ts +24 -3
  19. package/dist/src/routes/v3/campaignsInfo.d.ts +24 -3
  20. package/dist/src/routes/v3/multiChainPositions.d.ts +24 -3
  21. package/dist/src/routes/v3/opportunity.d.ts +24 -3
  22. package/dist/src/routes/v3/positions.d.ts +24 -3
  23. package/dist/src/routes/v3/rewards.d.ts +24 -3
  24. package/dist/src/routes/v3/updates.d.ts +24 -3
  25. package/dist/src/routes/v3/userRewards.d.ts +24 -3
  26. package/dist/tsconfig.package.tsbuildinfo +1 -1
  27. package/package.json +1 -1
@@ -164,7 +164,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
164
164
  tvl: number;
165
165
  apr: number;
166
166
  dailyRewards: number;
167
- } | null | undefined;
167
+ } | undefined;
168
168
  };
169
169
  };
170
170
  };
@@ -342,7 +342,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
342
342
  };
343
343
  headers: unknown;
344
344
  response: {
345
- 200: ({
345
+ 200: {
346
346
  aprRecord: {
347
347
  cumulated: number;
348
348
  timestamp: bigint;
@@ -428,7 +428,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
428
428
  tvl: number;
429
429
  apr: number;
430
430
  dailyRewards: number;
431
- } | null)[];
431
+ }[];
432
432
  };
433
433
  };
434
434
  };
@@ -1068,6 +1068,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1068
1068
  };
1069
1069
  };
1070
1070
  };
1071
+ } & {
1072
+ engine: {
1073
+ claims: {
1074
+ post: {
1075
+ body: {
1076
+ token: string;
1077
+ chainId: number;
1078
+ recipient: string;
1079
+ root: string;
1080
+ }[];
1081
+ params: {};
1082
+ query: unknown;
1083
+ headers: {
1084
+ authorization: string;
1085
+ };
1086
+ response: {
1087
+ 200: void;
1088
+ };
1089
+ };
1090
+ };
1091
+ };
1071
1092
  } & {
1072
1093
  engine: {
1073
1094
  pendings: {
@@ -169,7 +169,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
169
169
  tvl: number;
170
170
  apr: number;
171
171
  dailyRewards: number;
172
- } | null | undefined;
172
+ } | undefined;
173
173
  };
174
174
  };
175
175
  };
@@ -347,7 +347,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
347
347
  };
348
348
  headers: unknown;
349
349
  response: {
350
- 200: ({
350
+ 200: {
351
351
  aprRecord: {
352
352
  cumulated: number;
353
353
  timestamp: bigint;
@@ -433,7 +433,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
433
433
  tvl: number;
434
434
  apr: number;
435
435
  dailyRewards: number;
436
- } | null)[];
436
+ }[];
437
437
  };
438
438
  };
439
439
  };
@@ -1073,6 +1073,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1073
1073
  };
1074
1074
  };
1075
1075
  };
1076
+ } & {
1077
+ engine: {
1078
+ claims: {
1079
+ post: {
1080
+ body: {
1081
+ token: string;
1082
+ chainId: number;
1083
+ recipient: string;
1084
+ root: string;
1085
+ }[];
1086
+ params: {};
1087
+ query: unknown;
1088
+ headers: {
1089
+ authorization: string;
1090
+ };
1091
+ response: {
1092
+ 200: void;
1093
+ };
1094
+ };
1095
+ };
1096
+ };
1076
1097
  } & {
1077
1098
  engine: {
1078
1099
  pendings: {
@@ -187,7 +187,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
187
187
  tvl: number;
188
188
  apr: number;
189
189
  dailyRewards: number;
190
- } | null | undefined;
190
+ } | undefined;
191
191
  };
192
192
  };
193
193
  };
@@ -365,7 +365,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
365
365
  };
366
366
  headers: unknown;
367
367
  response: {
368
- 200: ({
368
+ 200: {
369
369
  aprRecord: {
370
370
  cumulated: number;
371
371
  timestamp: bigint;
@@ -451,7 +451,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
451
451
  tvl: number;
452
452
  apr: number;
453
453
  dailyRewards: number;
454
- } | null)[];
454
+ }[];
455
455
  };
456
456
  };
457
457
  };
@@ -1091,6 +1091,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1091
1091
  };
1092
1092
  };
1093
1093
  };
1094
+ } & {
1095
+ engine: {
1096
+ claims: {
1097
+ post: {
1098
+ body: {
1099
+ token: string;
1100
+ chainId: number;
1101
+ recipient: string;
1102
+ root: string;
1103
+ }[];
1104
+ params: {};
1105
+ query: unknown;
1106
+ headers: {
1107
+ authorization: string;
1108
+ };
1109
+ response: {
1110
+ 200: void;
1111
+ };
1112
+ };
1113
+ };
1114
+ };
1094
1115
  } & {
1095
1116
  engine: {
1096
1117
  pendings: {
@@ -188,7 +188,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
188
188
  tvl: number;
189
189
  apr: number;
190
190
  dailyRewards: number;
191
- } | null | undefined;
191
+ } | undefined;
192
192
  };
193
193
  };
194
194
  };
@@ -366,7 +366,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
366
366
  };
367
367
  headers: unknown;
368
368
  response: {
369
- 200: ({
369
+ 200: {
370
370
  aprRecord: {
371
371
  cumulated: number;
372
372
  timestamp: bigint;
@@ -452,7 +452,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
452
452
  tvl: number;
453
453
  apr: number;
454
454
  dailyRewards: number;
455
- } | null)[];
455
+ }[];
456
456
  };
457
457
  };
458
458
  };
@@ -1092,6 +1092,27 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
1092
1092
  };
1093
1093
  };
1094
1094
  };
1095
+ } & {
1096
+ engine: {
1097
+ claims: {
1098
+ post: {
1099
+ body: {
1100
+ token: string;
1101
+ chainId: number;
1102
+ recipient: string;
1103
+ root: string;
1104
+ }[];
1105
+ params: {};
1106
+ query: unknown;
1107
+ headers: {
1108
+ authorization: string;
1109
+ };
1110
+ response: {
1111
+ 200: void;
1112
+ };
1113
+ };
1114
+ };
1115
+ };
1095
1116
  } & {
1096
1117
  engine: {
1097
1118
  pendings: {
@@ -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: {
@@ -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: {
@@ -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: {