@merkl/api 0.10.394 → 0.10.396

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 (42) hide show
  1. package/dist/database/api/.generated/drizzle/schema.d.ts +2806 -0
  2. package/dist/database/api/.generated/drizzle/schema.js +849 -0
  3. package/dist/database/api/.generated/drizzle/schema.ts +906 -0
  4. package/dist/database/api/.generated/edge.js +2 -2
  5. package/dist/database/api/.generated/index.js +2 -2
  6. package/dist/database/api/.generated/package.json +1 -1
  7. package/dist/database/api/.generated/schema.prisma +5 -0
  8. package/dist/src/eden/index.d.ts +314 -36
  9. package/dist/src/index.d.ts +120 -12
  10. package/dist/src/modules/v4/cache/cache.service.js +2 -0
  11. package/dist/src/modules/v4/campaign/campaign.controller.d.ts +1 -1
  12. package/dist/src/modules/v4/campaign/campaign.repository.d.ts +10 -10
  13. package/dist/src/modules/v4/campaign/campaign.repository.js +2 -2
  14. package/dist/src/modules/v4/campaign/campaign.service.d.ts +3 -2
  15. package/dist/src/modules/v4/campaign/campaign.service.js +9 -1
  16. package/dist/src/modules/v4/dynamicData/dynamicData.controller.d.ts +1 -1
  17. package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +3 -3
  18. package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +5 -5
  19. package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +72 -72
  20. package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +1 -1
  21. package/dist/src/modules/v4/reward/reward.controller.d.ts +109 -1
  22. package/dist/src/modules/v4/reward/reward.controller.js +29 -21
  23. package/dist/src/modules/v4/reward/reward.model.d.ts +5 -0
  24. package/dist/src/modules/v4/reward/reward.model.js +8 -0
  25. package/dist/src/modules/v4/reward/reward.repository.d.ts +12 -8
  26. package/dist/src/modules/v4/reward/reward.repository.js +13 -16
  27. package/dist/src/modules/v4/reward/reward.service.d.ts +10 -5
  28. package/dist/src/modules/v4/router.d.ts +120 -12
  29. package/dist/src/modules/v4/status/status.controller.d.ts +6 -6
  30. package/dist/src/modules/v4/status/status.repository.d.ts +6 -6
  31. package/dist/src/modules/v4/status/status.service.d.ts +6 -6
  32. package/dist/src/modules/v4/token/token.repository.d.ts +2 -2
  33. package/dist/src/modules/v4/token/token.service.d.ts +3 -4
  34. package/dist/src/modules/v4/token/token.service.js +2 -1
  35. package/dist/src/modules/v4/user/user.model.d.ts +5 -0
  36. package/dist/src/modules/v4/user/user.model.js +4 -0
  37. package/dist/src/modules/v4/user/user.repository.d.ts +1 -1
  38. package/dist/src/modules/v4/user/user.service.d.ts +1 -1
  39. package/dist/src/utils/prisma.d.ts +16 -3
  40. package/dist/src/utils/prisma.js +2 -1
  41. package/dist/tsconfig.package.tsbuildinfo +1 -1
  42. package/package.json +4 -2
@@ -200,7 +200,6 @@ declare const eden: {
200
200
  tags: string[];
201
201
  icon: string;
202
202
  } | null | undefined;
203
- depositUrl?: string | undefined;
204
203
  aprRecord?: {
205
204
  timestamp: string | bigint;
206
205
  cumulated: number;
@@ -212,6 +211,7 @@ declare const eden: {
212
211
  aprRecordId: string;
213
212
  }[];
214
213
  } | undefined;
214
+ depositUrl?: string | undefined;
215
215
  tvlRecord?: {
216
216
  total: number;
217
217
  timestamp: string | bigint;
@@ -312,7 +312,6 @@ declare const eden: {
312
312
  tags: string[];
313
313
  icon: string;
314
314
  } | null | undefined;
315
- depositUrl?: string | undefined;
316
315
  aprRecord?: {
317
316
  timestamp: string | bigint;
318
317
  cumulated: number;
@@ -324,6 +323,7 @@ declare const eden: {
324
323
  aprRecordId: string;
325
324
  }[];
326
325
  } | undefined;
326
+ depositUrl?: string | undefined;
327
327
  tvlRecord?: {
328
328
  total: number;
329
329
  timestamp: string | bigint;
@@ -721,7 +721,6 @@ declare const eden: {
721
721
  tags: string[];
722
722
  icon: string;
723
723
  } | null | undefined;
724
- depositUrl?: string | undefined;
725
724
  aprRecord?: {
726
725
  timestamp: string | bigint;
727
726
  cumulated: number;
@@ -733,6 +732,7 @@ declare const eden: {
733
732
  aprRecordId: string;
734
733
  }[];
735
734
  } | undefined;
735
+ depositUrl?: string | undefined;
736
736
  tvlRecord?: {
737
737
  total: number;
738
738
  timestamp: string | bigint;
@@ -1216,10 +1216,10 @@ declare const eden: {
1216
1216
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1217
1217
  200: {
1218
1218
  endTimestamp: bigint;
1219
- campaignId: string;
1220
1219
  CampaignStatus: {
1221
1220
  computedUntil: bigint;
1222
1221
  }[];
1222
+ campaignId: string;
1223
1223
  }[];
1224
1224
  422: {
1225
1225
  type: "validation";
@@ -1807,6 +1807,83 @@ declare const eden: {
1807
1807
  }>>;
1808
1808
  };
1809
1809
  };
1810
+ campaign: ((params: {
1811
+ campaignId: string | number;
1812
+ }) => {
1813
+ index: {
1814
+ get: (options: {
1815
+ headers?: Record<string, unknown> | undefined;
1816
+ query: {
1817
+ items?: number | undefined;
1818
+ page?: number | undefined;
1819
+ };
1820
+ fetch?: RequestInit | undefined;
1821
+ }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1822
+ 200: {
1823
+ amount: string;
1824
+ claimed: string;
1825
+ pending: string;
1826
+ recipient: string;
1827
+ }[];
1828
+ 422: {
1829
+ type: "validation";
1830
+ on: string;
1831
+ summary?: string;
1832
+ message?: string;
1833
+ found?: unknown;
1834
+ property?: string;
1835
+ expected?: string;
1836
+ };
1837
+ }>>;
1838
+ };
1839
+ total: {
1840
+ get: (options: {
1841
+ headers?: Record<string, unknown> | undefined;
1842
+ query: {
1843
+ items?: number | undefined;
1844
+ page?: number | undefined;
1845
+ };
1846
+ fetch?: RequestInit | undefined;
1847
+ }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1848
+ 200: {
1849
+ tokenId: string;
1850
+ amount: bigint;
1851
+ };
1852
+ 422: {
1853
+ type: "validation";
1854
+ on: string;
1855
+ summary?: string;
1856
+ message?: string;
1857
+ found?: unknown;
1858
+ property?: string;
1859
+ expected?: string;
1860
+ };
1861
+ }>>;
1862
+ };
1863
+ count: {
1864
+ get: (options: {
1865
+ headers?: Record<string, unknown> | undefined;
1866
+ query: {
1867
+ items?: number | undefined;
1868
+ page?: number | undefined;
1869
+ };
1870
+ fetch?: RequestInit | undefined;
1871
+ }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1872
+ 200: {
1873
+ count: number;
1874
+ };
1875
+ 422: {
1876
+ type: "validation";
1877
+ on: string;
1878
+ summary?: string;
1879
+ message?: string;
1880
+ found?: unknown;
1881
+ property?: string;
1882
+ expected?: string;
1883
+ };
1884
+ }>>;
1885
+ };
1886
+ }) & {};
1810
1887
  token: {
1811
1888
  index: {
1812
1889
  get: (options: {
@@ -1814,12 +1891,18 @@ declare const eden: {
1814
1891
  query: {
1815
1892
  items?: number | undefined;
1816
1893
  page?: number | undefined;
1894
+ campaignIds?: string[] | undefined;
1817
1895
  chainId: number;
1818
1896
  address: string;
1819
1897
  };
1820
1898
  fetch?: RequestInit | undefined;
1821
1899
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1822
- 200: import("../modules/v4/reward").BreakdownForTokenRaw[];
1900
+ 200: {
1901
+ amount: string;
1902
+ claimed: string;
1903
+ pending: string;
1904
+ recipient: string;
1905
+ }[];
1823
1906
  422: {
1824
1907
  type: "validation";
1825
1908
  on: string;
@@ -1837,6 +1920,7 @@ declare const eden: {
1837
1920
  query: {
1838
1921
  items?: number | undefined;
1839
1922
  page?: number | undefined;
1923
+ campaignIds?: string[] | undefined;
1840
1924
  chainId: number;
1841
1925
  address: string;
1842
1926
  };
@@ -1863,6 +1947,7 @@ declare const eden: {
1863
1947
  query: {
1864
1948
  items?: number | undefined;
1865
1949
  page?: number | undefined;
1950
+ campaignIds?: string[] | undefined;
1866
1951
  chainId: number;
1867
1952
  address: string;
1868
1953
  };
@@ -3190,13 +3275,13 @@ declare const eden: {
3190
3275
  chainId?: number | undefined;
3191
3276
  startTimestamp?: string | undefined;
3192
3277
  endTimestamp?: string | undefined;
3278
+ campaignStatus?: {} | undefined;
3193
3279
  distributionChainId?: number | undefined;
3194
3280
  campaignId?: string | undefined;
3195
3281
  rewardTokenId?: string | undefined;
3196
3282
  amount?: string | undefined;
3197
3283
  opportunityId?: string | undefined;
3198
3284
  creatorAddress?: string | undefined;
3199
- campaignStatus?: {} | undefined;
3200
3285
  rewardToken?: {} | undefined;
3201
3286
  rewardTokenAddress?: string | undefined;
3202
3287
  distributionChain?: {} | undefined;
@@ -3398,12 +3483,6 @@ declare const eden: {
3398
3483
  delayFormatted: string;
3399
3484
  startTimestamp: bigint;
3400
3485
  endTimestamp: bigint;
3401
- computeChainId: number;
3402
- distributionChainId: number;
3403
- campaignId: string;
3404
- Opportunity: {
3405
- name: string;
3406
- };
3407
3486
  CampaignStatus: {
3408
3487
  error: string;
3409
3488
  details: import("database/api/.generated/runtime/library").JsonValue;
@@ -3412,6 +3491,12 @@ declare const eden: {
3412
3491
  computedUntil: bigint;
3413
3492
  processingStarted: bigint;
3414
3493
  }[];
3494
+ Opportunity: {
3495
+ name: string;
3496
+ };
3497
+ computeChainId: number;
3498
+ distributionChainId: number;
3499
+ campaignId: string;
3415
3500
  }[];
3416
3501
  422: {
3417
3502
  type: "validation";
@@ -5403,7 +5488,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
5403
5488
  tags: string[];
5404
5489
  icon: string;
5405
5490
  } | null | undefined;
5406
- depositUrl?: string | undefined;
5407
5491
  aprRecord?: {
5408
5492
  timestamp: string | bigint;
5409
5493
  cumulated: number;
@@ -5415,6 +5499,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
5415
5499
  aprRecordId: string;
5416
5500
  }[];
5417
5501
  } | undefined;
5502
+ depositUrl?: string | undefined;
5418
5503
  tvlRecord?: {
5419
5504
  total: number;
5420
5505
  timestamp: string | bigint;
@@ -5536,7 +5621,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
5536
5621
  tags: string[];
5537
5622
  icon: string;
5538
5623
  } | null | undefined;
5539
- depositUrl?: string | undefined;
5540
5624
  aprRecord?: {
5541
5625
  timestamp: string | bigint;
5542
5626
  cumulated: number;
@@ -5548,6 +5632,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
5548
5632
  aprRecordId: string;
5549
5633
  }[];
5550
5634
  } | undefined;
5635
+ depositUrl?: string | undefined;
5551
5636
  tvlRecord?: {
5552
5637
  total: number;
5553
5638
  timestamp: string | bigint;
@@ -5704,7 +5789,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
5704
5789
  tags: string[];
5705
5790
  icon: string;
5706
5791
  } | null | undefined;
5707
- depositUrl?: string | undefined;
5708
5792
  aprRecord?: {
5709
5793
  timestamp: string | bigint;
5710
5794
  cumulated: number;
@@ -5716,6 +5800,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
5716
5800
  aprRecordId: string;
5717
5801
  }[];
5718
5802
  } | undefined;
5803
+ depositUrl?: string | undefined;
5719
5804
  tvlRecord?: {
5720
5805
  total: number;
5721
5806
  timestamp: string | bigint;
@@ -6286,10 +6371,10 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
6286
6371
  response: {
6287
6372
  200: {
6288
6373
  endTimestamp: bigint;
6289
- campaignId: string;
6290
6374
  CampaignStatus: {
6291
6375
  computedUntil: bigint;
6292
6376
  }[];
6377
+ campaignId: string;
6293
6378
  }[];
6294
6379
  422: {
6295
6380
  type: "validation";
@@ -6964,6 +7049,106 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
6964
7049
  };
6965
7050
  };
6966
7051
  };
7052
+ } & {
7053
+ campaign: {
7054
+ ":campaignId": {
7055
+ index: {
7056
+ get: {
7057
+ body: unknown;
7058
+ params: {
7059
+ campaignId: string;
7060
+ };
7061
+ query: {
7062
+ items?: number | undefined;
7063
+ page?: number | undefined;
7064
+ };
7065
+ headers: unknown;
7066
+ response: {
7067
+ 200: {
7068
+ amount: string;
7069
+ claimed: string;
7070
+ pending: string;
7071
+ recipient: string;
7072
+ }[];
7073
+ 422: {
7074
+ type: "validation";
7075
+ on: string;
7076
+ summary?: string;
7077
+ message?: string;
7078
+ found?: unknown;
7079
+ property?: string;
7080
+ expected?: string;
7081
+ };
7082
+ };
7083
+ };
7084
+ };
7085
+ };
7086
+ };
7087
+ } & {
7088
+ campaign: {
7089
+ ":campaignId": {
7090
+ total: {
7091
+ get: {
7092
+ body: unknown;
7093
+ params: {
7094
+ campaignId: string;
7095
+ };
7096
+ query: {
7097
+ items?: number | undefined;
7098
+ page?: number | undefined;
7099
+ };
7100
+ headers: unknown;
7101
+ response: {
7102
+ 200: {
7103
+ tokenId: string;
7104
+ amount: bigint;
7105
+ };
7106
+ 422: {
7107
+ type: "validation";
7108
+ on: string;
7109
+ summary?: string;
7110
+ message?: string;
7111
+ found?: unknown;
7112
+ property?: string;
7113
+ expected?: string;
7114
+ };
7115
+ };
7116
+ };
7117
+ };
7118
+ };
7119
+ };
7120
+ } & {
7121
+ campaign: {
7122
+ ":campaignId": {
7123
+ count: {
7124
+ get: {
7125
+ body: unknown;
7126
+ params: {
7127
+ campaignId: string;
7128
+ };
7129
+ query: {
7130
+ items?: number | undefined;
7131
+ page?: number | undefined;
7132
+ };
7133
+ headers: unknown;
7134
+ response: {
7135
+ 200: {
7136
+ count: number;
7137
+ };
7138
+ 422: {
7139
+ type: "validation";
7140
+ on: string;
7141
+ summary?: string;
7142
+ message?: string;
7143
+ found?: unknown;
7144
+ property?: string;
7145
+ expected?: string;
7146
+ };
7147
+ };
7148
+ };
7149
+ };
7150
+ };
7151
+ };
6967
7152
  } & {
6968
7153
  token: {
6969
7154
  index: {
@@ -6973,12 +7158,18 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
6973
7158
  query: {
6974
7159
  items?: number | undefined;
6975
7160
  page?: number | undefined;
7161
+ campaignIds?: string[] | undefined;
6976
7162
  chainId: number;
6977
7163
  address: string;
6978
7164
  };
6979
7165
  headers: unknown;
6980
7166
  response: {
6981
- 200: import("../modules/v4/reward").BreakdownForTokenRaw[];
7167
+ 200: {
7168
+ amount: string;
7169
+ claimed: string;
7170
+ pending: string;
7171
+ recipient: string;
7172
+ }[];
6982
7173
  422: {
6983
7174
  type: "validation";
6984
7175
  on: string;
@@ -7001,6 +7192,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
7001
7192
  query: {
7002
7193
  items?: number | undefined;
7003
7194
  page?: number | undefined;
7195
+ campaignIds?: string[] | undefined;
7004
7196
  chainId: number;
7005
7197
  address: string;
7006
7198
  };
@@ -7032,6 +7224,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
7032
7224
  query: {
7033
7225
  items?: number | undefined;
7034
7226
  page?: number | undefined;
7227
+ campaignIds?: string[] | undefined;
7035
7228
  chainId: number;
7036
7229
  address: string;
7037
7230
  };
@@ -8682,13 +8875,13 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
8682
8875
  chainId?: number | undefined;
8683
8876
  startTimestamp?: string | undefined;
8684
8877
  endTimestamp?: string | undefined;
8878
+ campaignStatus?: {} | undefined;
8685
8879
  distributionChainId?: number | undefined;
8686
8880
  campaignId?: string | undefined;
8687
8881
  rewardTokenId?: string | undefined;
8688
8882
  amount?: string | undefined;
8689
8883
  opportunityId?: string | undefined;
8690
8884
  creatorAddress?: string | undefined;
8691
- campaignStatus?: {} | undefined;
8692
8885
  rewardToken?: {} | undefined;
8693
8886
  rewardTokenAddress?: string | undefined;
8694
8887
  distributionChain?: {} | undefined;
@@ -8916,12 +9109,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
8916
9109
  delayFormatted: string;
8917
9110
  startTimestamp: bigint;
8918
9111
  endTimestamp: bigint;
8919
- computeChainId: number;
8920
- distributionChainId: number;
8921
- campaignId: string;
8922
- Opportunity: {
8923
- name: string;
8924
- };
8925
9112
  CampaignStatus: {
8926
9113
  error: string;
8927
9114
  details: import("database/api/.generated/runtime/library").JsonValue;
@@ -8930,6 +9117,12 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
8930
9117
  computedUntil: bigint;
8931
9118
  processingStarted: bigint;
8932
9119
  }[];
9120
+ Opportunity: {
9121
+ name: string;
9122
+ };
9123
+ computeChainId: number;
9124
+ distributionChainId: number;
9125
+ campaignId: string;
8933
9126
  }[];
8934
9127
  422: {
8935
9128
  type: "validation";
@@ -10959,7 +11152,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
10959
11152
  tags: string[];
10960
11153
  icon: string;
10961
11154
  } | null | undefined;
10962
- depositUrl?: string | undefined;
10963
11155
  aprRecord?: {
10964
11156
  timestamp: string | bigint;
10965
11157
  cumulated: number;
@@ -10971,6 +11163,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
10971
11163
  aprRecordId: string;
10972
11164
  }[];
10973
11165
  } | undefined;
11166
+ depositUrl?: string | undefined;
10974
11167
  tvlRecord?: {
10975
11168
  total: number;
10976
11169
  timestamp: string | bigint;
@@ -11071,7 +11264,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
11071
11264
  tags: string[];
11072
11265
  icon: string;
11073
11266
  } | null | undefined;
11074
- depositUrl?: string | undefined;
11075
11267
  aprRecord?: {
11076
11268
  timestamp: string | bigint;
11077
11269
  cumulated: number;
@@ -11083,6 +11275,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
11083
11275
  aprRecordId: string;
11084
11276
  }[];
11085
11277
  } | undefined;
11278
+ depositUrl?: string | undefined;
11086
11279
  tvlRecord?: {
11087
11280
  total: number;
11088
11281
  timestamp: string | bigint;
@@ -11480,7 +11673,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
11480
11673
  tags: string[];
11481
11674
  icon: string;
11482
11675
  } | null | undefined;
11483
- depositUrl?: string | undefined;
11484
11676
  aprRecord?: {
11485
11677
  timestamp: string | bigint;
11486
11678
  cumulated: number;
@@ -11492,6 +11684,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
11492
11684
  aprRecordId: string;
11493
11685
  }[];
11494
11686
  } | undefined;
11687
+ depositUrl?: string | undefined;
11495
11688
  tvlRecord?: {
11496
11689
  total: number;
11497
11690
  timestamp: string | bigint;
@@ -11975,10 +12168,10 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
11975
12168
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
11976
12169
  200: {
11977
12170
  endTimestamp: bigint;
11978
- campaignId: string;
11979
12171
  CampaignStatus: {
11980
12172
  computedUntil: bigint;
11981
12173
  }[];
12174
+ campaignId: string;
11982
12175
  }[];
11983
12176
  422: {
11984
12177
  type: "validation";
@@ -12566,6 +12759,83 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
12566
12759
  }>>;
12567
12760
  };
12568
12761
  };
12762
+ campaign: ((params: {
12763
+ campaignId: string | number;
12764
+ }) => {
12765
+ index: {
12766
+ get: (options: {
12767
+ headers?: Record<string, unknown> | undefined;
12768
+ query: {
12769
+ items?: number | undefined;
12770
+ page?: number | undefined;
12771
+ };
12772
+ fetch?: RequestInit | undefined;
12773
+ }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
12774
+ 200: {
12775
+ amount: string;
12776
+ claimed: string;
12777
+ pending: string;
12778
+ recipient: string;
12779
+ }[];
12780
+ 422: {
12781
+ type: "validation";
12782
+ on: string;
12783
+ summary?: string;
12784
+ message?: string;
12785
+ found?: unknown;
12786
+ property?: string;
12787
+ expected?: string;
12788
+ };
12789
+ }>>;
12790
+ };
12791
+ total: {
12792
+ get: (options: {
12793
+ headers?: Record<string, unknown> | undefined;
12794
+ query: {
12795
+ items?: number | undefined;
12796
+ page?: number | undefined;
12797
+ };
12798
+ fetch?: RequestInit | undefined;
12799
+ }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
12800
+ 200: {
12801
+ tokenId: string;
12802
+ amount: bigint;
12803
+ };
12804
+ 422: {
12805
+ type: "validation";
12806
+ on: string;
12807
+ summary?: string;
12808
+ message?: string;
12809
+ found?: unknown;
12810
+ property?: string;
12811
+ expected?: string;
12812
+ };
12813
+ }>>;
12814
+ };
12815
+ count: {
12816
+ get: (options: {
12817
+ headers?: Record<string, unknown> | undefined;
12818
+ query: {
12819
+ items?: number | undefined;
12820
+ page?: number | undefined;
12821
+ };
12822
+ fetch?: RequestInit | undefined;
12823
+ }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
12824
+ 200: {
12825
+ count: number;
12826
+ };
12827
+ 422: {
12828
+ type: "validation";
12829
+ on: string;
12830
+ summary?: string;
12831
+ message?: string;
12832
+ found?: unknown;
12833
+ property?: string;
12834
+ expected?: string;
12835
+ };
12836
+ }>>;
12837
+ };
12838
+ }) & {};
12569
12839
  token: {
12570
12840
  index: {
12571
12841
  get: (options: {
@@ -12573,12 +12843,18 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
12573
12843
  query: {
12574
12844
  items?: number | undefined;
12575
12845
  page?: number | undefined;
12846
+ campaignIds?: string[] | undefined;
12576
12847
  chainId: number;
12577
12848
  address: string;
12578
12849
  };
12579
12850
  fetch?: RequestInit | undefined;
12580
12851
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
12581
- 200: import("../modules/v4/reward").BreakdownForTokenRaw[];
12852
+ 200: {
12853
+ amount: string;
12854
+ claimed: string;
12855
+ pending: string;
12856
+ recipient: string;
12857
+ }[];
12582
12858
  422: {
12583
12859
  type: "validation";
12584
12860
  on: string;
@@ -12596,6 +12872,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
12596
12872
  query: {
12597
12873
  items?: number | undefined;
12598
12874
  page?: number | undefined;
12875
+ campaignIds?: string[] | undefined;
12599
12876
  chainId: number;
12600
12877
  address: string;
12601
12878
  };
@@ -12622,6 +12899,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
12622
12899
  query: {
12623
12900
  items?: number | undefined;
12624
12901
  page?: number | undefined;
12902
+ campaignIds?: string[] | undefined;
12625
12903
  chainId: number;
12626
12904
  address: string;
12627
12905
  };
@@ -13949,13 +14227,13 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
13949
14227
  chainId?: number | undefined;
13950
14228
  startTimestamp?: string | undefined;
13951
14229
  endTimestamp?: string | undefined;
14230
+ campaignStatus?: {} | undefined;
13952
14231
  distributionChainId?: number | undefined;
13953
14232
  campaignId?: string | undefined;
13954
14233
  rewardTokenId?: string | undefined;
13955
14234
  amount?: string | undefined;
13956
14235
  opportunityId?: string | undefined;
13957
14236
  creatorAddress?: string | undefined;
13958
- campaignStatus?: {} | undefined;
13959
14237
  rewardToken?: {} | undefined;
13960
14238
  rewardTokenAddress?: string | undefined;
13961
14239
  distributionChain?: {} | undefined;
@@ -14157,12 +14435,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
14157
14435
  delayFormatted: string;
14158
14436
  startTimestamp: bigint;
14159
14437
  endTimestamp: bigint;
14160
- computeChainId: number;
14161
- distributionChainId: number;
14162
- campaignId: string;
14163
- Opportunity: {
14164
- name: string;
14165
- };
14166
14438
  CampaignStatus: {
14167
14439
  error: string;
14168
14440
  details: import("database/api/.generated/runtime/library").JsonValue;
@@ -14171,6 +14443,12 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
14171
14443
  computedUntil: bigint;
14172
14444
  processingStarted: bigint;
14173
14445
  }[];
14446
+ Opportunity: {
14447
+ name: string;
14448
+ };
14449
+ computeChainId: number;
14450
+ distributionChainId: number;
14451
+ campaignId: string;
14174
14452
  }[];
14175
14453
  422: {
14176
14454
  type: "validation";