@merkl/api 0.19.12 → 0.19.13

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.
@@ -368,6 +368,7 @@ declare const eden: {
368
368
  startTimestamp: string | number;
369
369
  endTimestamp: string | number;
370
370
  creatorAddress: string;
371
+ createdAt: string;
371
372
  rewardToken: {
372
373
  price?: number | null | undefined;
373
374
  symbol: string;
@@ -580,6 +581,7 @@ declare const eden: {
580
581
  address: string;
581
582
  creatorId: string | null;
582
583
  };
584
+ createdAt: string;
583
585
  Opportunity: {
584
586
  id: string;
585
587
  name: string;
@@ -604,8 +606,6 @@ declare const eden: {
604
606
  rewardTokenId: string;
605
607
  amount: string;
606
608
  opportunityId: string;
607
- manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
608
- createdAt: Date;
609
609
  }[] | undefined;
610
610
  id: string;
611
611
  depositUrl: string | undefined;
@@ -699,11 +699,11 @@ declare const eden: {
699
699
  point?: boolean | undefined;
700
700
  tokenAddress?: string | undefined;
701
701
  test?: boolean | undefined;
702
- createdAfter?: number | undefined;
703
702
  creatorTag?: string | undefined;
704
703
  distributionChainIds?: number[] | undefined;
705
704
  tokenSymbol?: string | undefined;
706
705
  withOpportunity?: boolean | undefined;
706
+ createdAfter?: Date | null | undefined;
707
707
  };
708
708
  fetch?: RequestInit | undefined;
709
709
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
@@ -828,6 +828,7 @@ declare const eden: {
828
828
  startTimestamp: string | number;
829
829
  endTimestamp: string | number;
830
830
  creatorAddress: string;
831
+ createdAt: string;
831
832
  rewardToken: {
832
833
  price?: number | null | undefined;
833
834
  symbol: string;
@@ -1006,6 +1007,7 @@ declare const eden: {
1006
1007
  address: string;
1007
1008
  creatorId: string | null;
1008
1009
  };
1010
+ createdAt: string;
1009
1011
  Opportunity: {
1010
1012
  id: string;
1011
1013
  name: string;
@@ -1030,8 +1032,6 @@ declare const eden: {
1030
1032
  rewardTokenId: string;
1031
1033
  amount: string;
1032
1034
  opportunityId: string;
1033
- manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
1034
- createdAt: Date;
1035
1035
  };
1036
1036
  }>>;
1037
1037
  } | {
@@ -1165,6 +1165,66 @@ declare const eden: {
1165
1165
  };
1166
1166
  }>>;
1167
1167
  };
1168
+ "campaigns-to-process": {
1169
+ index: {
1170
+ get: (options: {
1171
+ headers?: Record<string, unknown> | undefined;
1172
+ query: {
1173
+ chainId: number;
1174
+ };
1175
+ fetch?: RequestInit | undefined;
1176
+ }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1177
+ 200: {
1178
+ campaignId: string;
1179
+ endTimestamp: bigint;
1180
+ CampaignStatus: {
1181
+ status: import("@db/api").$Enums.RunStatus;
1182
+ computedUntil: bigint;
1183
+ processingStarted: bigint;
1184
+ }[];
1185
+ }[];
1186
+ }>>;
1187
+ };
1188
+ count: {
1189
+ get: (options: {
1190
+ headers?: Record<string, unknown> | undefined;
1191
+ query: {
1192
+ chainId: number;
1193
+ };
1194
+ fetch?: RequestInit | undefined;
1195
+ }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1196
+ 200: number;
1197
+ }>>;
1198
+ };
1199
+ next: {
1200
+ get: (options: {
1201
+ headers?: Record<string, unknown> | undefined;
1202
+ query: {
1203
+ chainId: number;
1204
+ };
1205
+ fetch?: RequestInit | undefined;
1206
+ }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1207
+ 200: {
1208
+ campaignId: string;
1209
+ };
1210
+ }>>;
1211
+ };
1212
+ engine: {
1213
+ post: (body: unknown, options: {
1214
+ headers: {
1215
+ authorization: string;
1216
+ };
1217
+ query: {
1218
+ chainId: number;
1219
+ };
1220
+ fetch?: RequestInit | undefined;
1221
+ }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1222
+ 200: {
1223
+ campaignId: string;
1224
+ };
1225
+ }>>;
1226
+ };
1227
+ };
1168
1228
  index: {
1169
1229
  get: (options: {
1170
1230
  headers?: Record<string, unknown> | undefined;
@@ -1186,11 +1246,11 @@ declare const eden: {
1186
1246
  point?: boolean | undefined;
1187
1247
  tokenAddress?: string | undefined;
1188
1248
  test?: boolean | undefined;
1189
- createdAfter?: number | undefined;
1190
1249
  creatorTag?: string | undefined;
1191
1250
  distributionChainIds?: number[] | undefined;
1192
1251
  tokenSymbol?: string | undefined;
1193
1252
  withOpportunity?: boolean | undefined;
1253
+ createdAfter?: Date | null | undefined;
1194
1254
  };
1195
1255
  fetch?: RequestInit | undefined;
1196
1256
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
@@ -1237,6 +1297,7 @@ declare const eden: {
1237
1297
  address: string;
1238
1298
  creatorId: string | null;
1239
1299
  };
1300
+ createdAt: string;
1240
1301
  Opportunity: {
1241
1302
  id: string;
1242
1303
  name: string;
@@ -1261,8 +1322,6 @@ declare const eden: {
1261
1322
  rewardTokenId: string;
1262
1323
  amount: string;
1263
1324
  opportunityId: string;
1264
- manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
1265
- createdAt: Date;
1266
1325
  }[];
1267
1326
  }>>;
1268
1327
  };
@@ -1287,11 +1346,11 @@ declare const eden: {
1287
1346
  point?: boolean | undefined;
1288
1347
  tokenAddress?: string | undefined;
1289
1348
  test?: boolean | undefined;
1290
- createdAfter?: number | undefined;
1291
1349
  creatorTag?: string | undefined;
1292
1350
  distributionChainIds?: number[] | undefined;
1293
1351
  tokenSymbol?: string | undefined;
1294
1352
  withOpportunity?: boolean | undefined;
1353
+ createdAfter?: Date | null | undefined;
1295
1354
  };
1296
1355
  fetch?: RequestInit | undefined;
1297
1356
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
@@ -1318,11 +1377,11 @@ declare const eden: {
1318
1377
  point?: boolean | undefined;
1319
1378
  tokenAddress?: string | undefined;
1320
1379
  test?: boolean | undefined;
1321
- createdAfter?: number | undefined;
1322
1380
  creatorTag?: string | undefined;
1323
1381
  distributionChainIds?: number[] | undefined;
1324
1382
  tokenSymbol?: string | undefined;
1325
1383
  withOpportunity?: boolean | undefined;
1384
+ createdAfter?: Date | null | undefined;
1326
1385
  };
1327
1386
  fetch?: RequestInit | undefined;
1328
1387
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
@@ -1352,11 +1411,11 @@ declare const eden: {
1352
1411
  point?: boolean | undefined;
1353
1412
  tokenAddress?: string | undefined;
1354
1413
  test?: boolean | undefined;
1355
- createdAfter?: number | undefined;
1356
1414
  creatorTag?: string | undefined;
1357
1415
  distributionChainIds?: number[] | undefined;
1358
1416
  tokenSymbol?: string | undefined;
1359
1417
  withOpportunity?: boolean | undefined;
1418
+ createdAfter?: Date | null | undefined;
1360
1419
  };
1361
1420
  fetch?: RequestInit | undefined;
1362
1421
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
@@ -1366,66 +1425,6 @@ declare const eden: {
1366
1425
  }>>;
1367
1426
  };
1368
1427
  };
1369
- "campaigns-to-process": {
1370
- index: {
1371
- get: (options: {
1372
- headers?: Record<string, unknown> | undefined;
1373
- query: {
1374
- chainId: number;
1375
- };
1376
- fetch?: RequestInit | undefined;
1377
- }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1378
- 200: {
1379
- campaignId: string;
1380
- endTimestamp: bigint;
1381
- CampaignStatus: {
1382
- status: import("@db/api").$Enums.RunStatus;
1383
- computedUntil: bigint;
1384
- processingStarted: bigint;
1385
- }[];
1386
- }[];
1387
- }>>;
1388
- };
1389
- count: {
1390
- get: (options: {
1391
- headers?: Record<string, unknown> | undefined;
1392
- query: {
1393
- chainId: number;
1394
- };
1395
- fetch?: RequestInit | undefined;
1396
- }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1397
- 200: number;
1398
- }>>;
1399
- };
1400
- next: {
1401
- get: (options: {
1402
- headers?: Record<string, unknown> | undefined;
1403
- query: {
1404
- chainId: number;
1405
- };
1406
- fetch?: RequestInit | undefined;
1407
- }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1408
- 200: {
1409
- campaignId: string;
1410
- };
1411
- }>>;
1412
- };
1413
- engine: {
1414
- post: (body: unknown, options: {
1415
- headers: {
1416
- authorization: string;
1417
- };
1418
- query: {
1419
- chainId: number;
1420
- };
1421
- fetch?: RequestInit | undefined;
1422
- }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1423
- 200: {
1424
- campaignId: string;
1425
- };
1426
- }>>;
1427
- };
1428
- };
1429
1428
  };
1430
1429
  campaignscount: {
1431
1430
  "by-chains": {
@@ -1449,11 +1448,11 @@ declare const eden: {
1449
1448
  point?: boolean | undefined;
1450
1449
  tokenAddress?: string | undefined;
1451
1450
  test?: boolean | undefined;
1452
- createdAfter?: number | undefined;
1453
1451
  creatorTag?: string | undefined;
1454
1452
  distributionChainIds?: number[] | undefined;
1455
1453
  tokenSymbol?: string | undefined;
1456
1454
  withOpportunity?: boolean | undefined;
1455
+ createdAfter?: Date | null | undefined;
1457
1456
  };
1458
1457
  fetch?: RequestInit | undefined;
1459
1458
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
@@ -3967,6 +3966,7 @@ declare const eden: {
3967
3966
  startTimestamp: string | number;
3968
3967
  endTimestamp: string | number;
3969
3968
  creatorAddress: string;
3969
+ createdAt: string;
3970
3970
  rewardToken: {
3971
3971
  price?: number | null | undefined;
3972
3972
  symbol: string;
@@ -4179,6 +4179,7 @@ declare const eden: {
4179
4179
  address: string;
4180
4180
  creatorId: string | null;
4181
4181
  };
4182
+ createdAt: string;
4182
4183
  Opportunity: {
4183
4184
  id: string;
4184
4185
  name: string;
@@ -4203,8 +4204,6 @@ declare const eden: {
4203
4204
  rewardTokenId: string;
4204
4205
  amount: string;
4205
4206
  opportunityId: string;
4206
- manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
4207
- createdAt: Date;
4208
4207
  }[] | undefined;
4209
4208
  id: string;
4210
4209
  depositUrl: string | undefined;
@@ -4298,11 +4297,11 @@ declare const eden: {
4298
4297
  point?: boolean | undefined;
4299
4298
  tokenAddress?: string | undefined;
4300
4299
  test?: boolean | undefined;
4301
- createdAfter?: number | undefined;
4302
4300
  creatorTag?: string | undefined;
4303
4301
  distributionChainIds?: number[] | undefined;
4304
4302
  tokenSymbol?: string | undefined;
4305
4303
  withOpportunity?: boolean | undefined;
4304
+ createdAfter?: Date | null | undefined;
4306
4305
  };
4307
4306
  fetch?: RequestInit | undefined;
4308
4307
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
@@ -4427,6 +4426,7 @@ declare const eden: {
4427
4426
  startTimestamp: string | number;
4428
4427
  endTimestamp: string | number;
4429
4428
  creatorAddress: string;
4429
+ createdAt: string;
4430
4430
  rewardToken: {
4431
4431
  price?: number | null | undefined;
4432
4432
  symbol: string;
@@ -4605,6 +4605,7 @@ declare const eden: {
4605
4605
  address: string;
4606
4606
  creatorId: string | null;
4607
4607
  };
4608
+ createdAt: string;
4608
4609
  Opportunity: {
4609
4610
  id: string;
4610
4611
  name: string;
@@ -4629,8 +4630,6 @@ declare const eden: {
4629
4630
  rewardTokenId: string;
4630
4631
  amount: string;
4631
4632
  opportunityId: string;
4632
- manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
4633
- createdAt: Date;
4634
4633
  };
4635
4634
  }>>;
4636
4635
  } | {
@@ -4764,6 +4763,66 @@ declare const eden: {
4764
4763
  };
4765
4764
  }>>;
4766
4765
  };
4766
+ "campaigns-to-process": {
4767
+ index: {
4768
+ get: (options: {
4769
+ headers?: Record<string, unknown> | undefined;
4770
+ query: {
4771
+ chainId: number;
4772
+ };
4773
+ fetch?: RequestInit | undefined;
4774
+ }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4775
+ 200: {
4776
+ campaignId: string;
4777
+ endTimestamp: bigint;
4778
+ CampaignStatus: {
4779
+ status: import("@db/api").$Enums.RunStatus;
4780
+ computedUntil: bigint;
4781
+ processingStarted: bigint;
4782
+ }[];
4783
+ }[];
4784
+ }>>;
4785
+ };
4786
+ count: {
4787
+ get: (options: {
4788
+ headers?: Record<string, unknown> | undefined;
4789
+ query: {
4790
+ chainId: number;
4791
+ };
4792
+ fetch?: RequestInit | undefined;
4793
+ }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4794
+ 200: number;
4795
+ }>>;
4796
+ };
4797
+ next: {
4798
+ get: (options: {
4799
+ headers?: Record<string, unknown> | undefined;
4800
+ query: {
4801
+ chainId: number;
4802
+ };
4803
+ fetch?: RequestInit | undefined;
4804
+ }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4805
+ 200: {
4806
+ campaignId: string;
4807
+ };
4808
+ }>>;
4809
+ };
4810
+ engine: {
4811
+ post: (body: unknown, options: {
4812
+ headers: {
4813
+ authorization: string;
4814
+ };
4815
+ query: {
4816
+ chainId: number;
4817
+ };
4818
+ fetch?: RequestInit | undefined;
4819
+ }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4820
+ 200: {
4821
+ campaignId: string;
4822
+ };
4823
+ }>>;
4824
+ };
4825
+ };
4767
4826
  index: {
4768
4827
  get: (options: {
4769
4828
  headers?: Record<string, unknown> | undefined;
@@ -4785,11 +4844,11 @@ declare const eden: {
4785
4844
  point?: boolean | undefined;
4786
4845
  tokenAddress?: string | undefined;
4787
4846
  test?: boolean | undefined;
4788
- createdAfter?: number | undefined;
4789
4847
  creatorTag?: string | undefined;
4790
4848
  distributionChainIds?: number[] | undefined;
4791
4849
  tokenSymbol?: string | undefined;
4792
4850
  withOpportunity?: boolean | undefined;
4851
+ createdAfter?: Date | null | undefined;
4793
4852
  };
4794
4853
  fetch?: RequestInit | undefined;
4795
4854
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
@@ -4836,6 +4895,7 @@ declare const eden: {
4836
4895
  address: string;
4837
4896
  creatorId: string | null;
4838
4897
  };
4898
+ createdAt: string;
4839
4899
  Opportunity: {
4840
4900
  id: string;
4841
4901
  name: string;
@@ -4860,8 +4920,6 @@ declare const eden: {
4860
4920
  rewardTokenId: string;
4861
4921
  amount: string;
4862
4922
  opportunityId: string;
4863
- manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
4864
- createdAt: Date;
4865
4923
  }[];
4866
4924
  }>>;
4867
4925
  };
@@ -4886,11 +4944,11 @@ declare const eden: {
4886
4944
  point?: boolean | undefined;
4887
4945
  tokenAddress?: string | undefined;
4888
4946
  test?: boolean | undefined;
4889
- createdAfter?: number | undefined;
4890
4947
  creatorTag?: string | undefined;
4891
4948
  distributionChainIds?: number[] | undefined;
4892
4949
  tokenSymbol?: string | undefined;
4893
4950
  withOpportunity?: boolean | undefined;
4951
+ createdAfter?: Date | null | undefined;
4894
4952
  };
4895
4953
  fetch?: RequestInit | undefined;
4896
4954
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
@@ -4917,11 +4975,11 @@ declare const eden: {
4917
4975
  point?: boolean | undefined;
4918
4976
  tokenAddress?: string | undefined;
4919
4977
  test?: boolean | undefined;
4920
- createdAfter?: number | undefined;
4921
4978
  creatorTag?: string | undefined;
4922
4979
  distributionChainIds?: number[] | undefined;
4923
4980
  tokenSymbol?: string | undefined;
4924
4981
  withOpportunity?: boolean | undefined;
4982
+ createdAfter?: Date | null | undefined;
4925
4983
  };
4926
4984
  fetch?: RequestInit | undefined;
4927
4985
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
@@ -4951,11 +5009,11 @@ declare const eden: {
4951
5009
  point?: boolean | undefined;
4952
5010
  tokenAddress?: string | undefined;
4953
5011
  test?: boolean | undefined;
4954
- createdAfter?: number | undefined;
4955
5012
  creatorTag?: string | undefined;
4956
5013
  distributionChainIds?: number[] | undefined;
4957
5014
  tokenSymbol?: string | undefined;
4958
5015
  withOpportunity?: boolean | undefined;
5016
+ createdAfter?: Date | null | undefined;
4959
5017
  };
4960
5018
  fetch?: RequestInit | undefined;
4961
5019
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
@@ -4965,66 +5023,6 @@ declare const eden: {
4965
5023
  }>>;
4966
5024
  };
4967
5025
  };
4968
- "campaigns-to-process": {
4969
- index: {
4970
- get: (options: {
4971
- headers?: Record<string, unknown> | undefined;
4972
- query: {
4973
- chainId: number;
4974
- };
4975
- fetch?: RequestInit | undefined;
4976
- }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4977
- 200: {
4978
- campaignId: string;
4979
- endTimestamp: bigint;
4980
- CampaignStatus: {
4981
- status: import("@db/api").$Enums.RunStatus;
4982
- computedUntil: bigint;
4983
- processingStarted: bigint;
4984
- }[];
4985
- }[];
4986
- }>>;
4987
- };
4988
- count: {
4989
- get: (options: {
4990
- headers?: Record<string, unknown> | undefined;
4991
- query: {
4992
- chainId: number;
4993
- };
4994
- fetch?: RequestInit | undefined;
4995
- }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4996
- 200: number;
4997
- }>>;
4998
- };
4999
- next: {
5000
- get: (options: {
5001
- headers?: Record<string, unknown> | undefined;
5002
- query: {
5003
- chainId: number;
5004
- };
5005
- fetch?: RequestInit | undefined;
5006
- }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
5007
- 200: {
5008
- campaignId: string;
5009
- };
5010
- }>>;
5011
- };
5012
- engine: {
5013
- post: (body: unknown, options: {
5014
- headers: {
5015
- authorization: string;
5016
- };
5017
- query: {
5018
- chainId: number;
5019
- };
5020
- fetch?: RequestInit | undefined;
5021
- }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
5022
- 200: {
5023
- campaignId: string;
5024
- };
5025
- }>>;
5026
- };
5027
- };
5028
5026
  };
5029
5027
  campaignscount: {
5030
5028
  "by-chains": {
@@ -5048,11 +5046,11 @@ declare const eden: {
5048
5046
  point?: boolean | undefined;
5049
5047
  tokenAddress?: string | undefined;
5050
5048
  test?: boolean | undefined;
5051
- createdAfter?: number | undefined;
5052
5049
  creatorTag?: string | undefined;
5053
5050
  distributionChainIds?: number[] | undefined;
5054
5051
  tokenSymbol?: string | undefined;
5055
5052
  withOpportunity?: boolean | undefined;
5053
+ createdAfter?: Date | null | undefined;
5056
5054
  };
5057
5055
  fetch?: RequestInit | undefined;
5058
5056
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
@@ -8231,6 +8229,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
8231
8229
  address: string;
8232
8230
  creatorId: string | null;
8233
8231
  };
8232
+ createdAt: string;
8234
8233
  Opportunity: {
8235
8234
  id: string;
8236
8235
  name: string;
@@ -8255,8 +8254,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
8255
8254
  rewardTokenId: string;
8256
8255
  amount: string;
8257
8256
  opportunityId: string;
8258
- manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
8259
- createdAt: Date;
8260
8257
  }[] | undefined;
8261
8258
  id: string;
8262
8259
  depositUrl: string | undefined;
@@ -8472,11 +8469,11 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
8472
8469
  point?: boolean | undefined;
8473
8470
  tokenAddress?: string | undefined;
8474
8471
  test?: boolean | undefined;
8475
- createdAfter?: number | undefined;
8476
8472
  creatorTag?: string | undefined;
8477
8473
  distributionChainIds?: number[] | undefined;
8478
8474
  tokenSymbol?: string | undefined;
8479
8475
  withOpportunity?: boolean | undefined;
8476
+ createdAfter?: Date | null | undefined;
8480
8477
  };
8481
8478
  headers: unknown;
8482
8479
  response: {
@@ -8601,6 +8598,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
8601
8598
  startTimestamp: string | number;
8602
8599
  endTimestamp: string | number;
8603
8600
  creatorAddress: string;
8601
+ createdAt: string;
8604
8602
  rewardToken: {
8605
8603
  price?: number | null | undefined;
8606
8604
  symbol: string;
@@ -8764,6 +8762,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
8764
8762
  startTimestamp: string | number;
8765
8763
  endTimestamp: string | number;
8766
8764
  creatorAddress: string;
8765
+ createdAt: string;
8767
8766
  rewardToken: {
8768
8767
  price?: number | null | undefined;
8769
8768
  symbol: string;
@@ -9107,34 +9106,13 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
9107
9106
  };
9108
9107
  };
9109
9108
  } & {
9110
- index: {
9109
+ ":id": {
9111
9110
  get: {
9112
9111
  body: unknown;
9113
- params: {};
9114
- query: {
9115
- type?: string | undefined;
9116
- status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
9117
- items?: number | undefined;
9118
- subType?: number | undefined;
9119
- page?: number | undefined;
9120
- types?: string[] | undefined;
9121
- campaignId?: string | undefined;
9122
- opportunityId?: string | undefined;
9123
- startTimestamp?: string | undefined;
9124
- endTimestamp?: string | undefined;
9125
- creatorAddress?: string | undefined;
9126
- chainId?: number | undefined;
9127
- creatorId?: string | undefined;
9128
- mainParameter?: string | undefined;
9129
- point?: boolean | undefined;
9130
- tokenAddress?: string | undefined;
9131
- test?: boolean | undefined;
9132
- createdAfter?: number | undefined;
9133
- creatorTag?: string | undefined;
9134
- distributionChainIds?: number[] | undefined;
9135
- tokenSymbol?: string | undefined;
9136
- withOpportunity?: boolean | undefined;
9112
+ params: {
9113
+ id: string;
9137
9114
  };
9115
+ query: unknown;
9138
9116
  headers: unknown;
9139
9117
  response: {
9140
9118
  200: {
@@ -9180,6 +9158,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
9180
9158
  address: string;
9181
9159
  creatorId: string | null;
9182
9160
  };
9161
+ createdAt: string;
9183
9162
  Opportunity: {
9184
9163
  id: string;
9185
9164
  name: string;
@@ -9204,20 +9183,119 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
9204
9183
  rewardTokenId: string;
9205
9184
  amount: string;
9206
9185
  opportunityId: string;
9207
- manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
9208
- createdAt: Date;
9209
- }[];
9186
+ };
9210
9187
  };
9211
9188
  };
9212
9189
  };
9213
9190
  } & {
9214
- ":id": {
9191
+ "campaigns-to-process": {
9192
+ index: {
9193
+ get: {
9194
+ body: unknown;
9195
+ params: {};
9196
+ query: {
9197
+ chainId: number;
9198
+ };
9199
+ headers: unknown;
9200
+ response: {
9201
+ 200: {
9202
+ campaignId: string;
9203
+ endTimestamp: bigint;
9204
+ CampaignStatus: {
9205
+ status: import("@db/api").$Enums.RunStatus;
9206
+ computedUntil: bigint;
9207
+ processingStarted: bigint;
9208
+ }[];
9209
+ }[];
9210
+ };
9211
+ };
9212
+ };
9213
+ };
9214
+ } & {
9215
+ "campaigns-to-process": {
9216
+ count: {
9217
+ get: {
9218
+ body: unknown;
9219
+ params: {};
9220
+ query: {
9221
+ chainId: number;
9222
+ };
9223
+ headers: unknown;
9224
+ response: {
9225
+ 200: number;
9226
+ };
9227
+ };
9228
+ };
9229
+ };
9230
+ } & {
9231
+ "campaigns-to-process": {
9232
+ next: {
9233
+ get: {
9234
+ body: unknown;
9235
+ params: {};
9236
+ query: {
9237
+ chainId: number;
9238
+ };
9239
+ headers: unknown;
9240
+ response: {
9241
+ 200: {
9242
+ campaignId: string;
9243
+ };
9244
+ };
9245
+ };
9246
+ };
9247
+ };
9248
+ } & {
9249
+ "campaigns-to-process": {
9250
+ engine: {
9251
+ post: {
9252
+ body: unknown;
9253
+ params: {};
9254
+ query: {
9255
+ chainId: number;
9256
+ };
9257
+ headers: {
9258
+ authorization: string;
9259
+ };
9260
+ response: {
9261
+ 200: {
9262
+ campaignId: string;
9263
+ };
9264
+ };
9265
+ };
9266
+ };
9267
+ };
9268
+ };
9269
+ } & {
9270
+ campaigns: {
9271
+ index: {
9215
9272
  get: {
9216
9273
  body: unknown;
9217
- params: {
9218
- id: string;
9274
+ params: {};
9275
+ query: {
9276
+ type?: string | undefined;
9277
+ status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
9278
+ items?: number | undefined;
9279
+ subType?: number | undefined;
9280
+ page?: number | undefined;
9281
+ types?: string[] | undefined;
9282
+ campaignId?: string | undefined;
9283
+ opportunityId?: string | undefined;
9284
+ startTimestamp?: string | undefined;
9285
+ endTimestamp?: string | undefined;
9286
+ creatorAddress?: string | undefined;
9287
+ chainId?: number | undefined;
9288
+ creatorId?: string | undefined;
9289
+ mainParameter?: string | undefined;
9290
+ point?: boolean | undefined;
9291
+ tokenAddress?: string | undefined;
9292
+ test?: boolean | undefined;
9293
+ creatorTag?: string | undefined;
9294
+ distributionChainIds?: number[] | undefined;
9295
+ tokenSymbol?: string | undefined;
9296
+ withOpportunity?: boolean | undefined;
9297
+ createdAfter?: Date | null | undefined;
9219
9298
  };
9220
- query: unknown;
9221
9299
  headers: unknown;
9222
9300
  response: {
9223
9301
  200: {
@@ -9263,6 +9341,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
9263
9341
  address: string;
9264
9342
  creatorId: string | null;
9265
9343
  };
9344
+ createdAt: string;
9266
9345
  Opportunity: {
9267
9346
  id: string;
9268
9347
  name: string;
@@ -9287,13 +9366,13 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
9287
9366
  rewardTokenId: string;
9288
9367
  amount: string;
9289
9368
  opportunityId: string;
9290
- manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
9291
- createdAt: Date;
9292
- };
9369
+ }[];
9293
9370
  };
9294
9371
  };
9295
9372
  };
9296
- } & {
9373
+ };
9374
+ } & {
9375
+ campaigns: {
9297
9376
  count: {
9298
9377
  get: {
9299
9378
  body: unknown;
@@ -9316,11 +9395,11 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
9316
9395
  point?: boolean | undefined;
9317
9396
  tokenAddress?: string | undefined;
9318
9397
  test?: boolean | undefined;
9319
- createdAfter?: number | undefined;
9320
9398
  creatorTag?: string | undefined;
9321
9399
  distributionChainIds?: number[] | undefined;
9322
9400
  tokenSymbol?: string | undefined;
9323
9401
  withOpportunity?: boolean | undefined;
9402
+ createdAfter?: Date | null | undefined;
9324
9403
  };
9325
9404
  headers: unknown;
9326
9405
  response: {
@@ -9328,7 +9407,48 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
9328
9407
  };
9329
9408
  };
9330
9409
  };
9331
- } & {
9410
+ };
9411
+ } & {
9412
+ campaignscount: {
9413
+ "by-chains": {
9414
+ get: {
9415
+ body: unknown;
9416
+ params: {};
9417
+ query: {
9418
+ type?: string | undefined;
9419
+ status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
9420
+ items?: number | undefined;
9421
+ subType?: number | undefined;
9422
+ page?: number | undefined;
9423
+ types?: string[] | undefined;
9424
+ campaignId?: string | undefined;
9425
+ opportunityId?: string | undefined;
9426
+ startTimestamp?: string | undefined;
9427
+ endTimestamp?: string | undefined;
9428
+ creatorAddress?: string | undefined;
9429
+ chainId?: number | undefined;
9430
+ creatorId?: string | undefined;
9431
+ mainParameter?: string | undefined;
9432
+ point?: boolean | undefined;
9433
+ tokenAddress?: string | undefined;
9434
+ test?: boolean | undefined;
9435
+ creatorTag?: string | undefined;
9436
+ distributionChainIds?: number[] | undefined;
9437
+ tokenSymbol?: string | undefined;
9438
+ withOpportunity?: boolean | undefined;
9439
+ createdAfter?: Date | null | undefined;
9440
+ };
9441
+ headers: unknown;
9442
+ response: {
9443
+ 200: {
9444
+ [x: string]: number;
9445
+ };
9446
+ };
9447
+ };
9448
+ };
9449
+ };
9450
+ } & {
9451
+ campaigns: {
9332
9452
  count: {
9333
9453
  "by-type": {
9334
9454
  get: {
@@ -9352,11 +9472,11 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
9352
9472
  point?: boolean | undefined;
9353
9473
  tokenAddress?: string | undefined;
9354
9474
  test?: boolean | undefined;
9355
- createdAfter?: number | undefined;
9356
9475
  creatorTag?: string | undefined;
9357
9476
  distributionChainIds?: number[] | undefined;
9358
9477
  tokenSymbol?: string | undefined;
9359
9478
  withOpportunity?: boolean | undefined;
9479
+ createdAfter?: Date | null | undefined;
9360
9480
  };
9361
9481
  headers: unknown;
9362
9482
  response: {
@@ -9367,7 +9487,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
9367
9487
  };
9368
9488
  };
9369
9489
  };
9370
- } & {
9490
+ };
9491
+ } & {
9492
+ campaigns: {
9371
9493
  count: {
9372
9494
  "by-protocol": {
9373
9495
  get: {
@@ -9391,133 +9513,17 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
9391
9513
  point?: boolean | undefined;
9392
9514
  tokenAddress?: string | undefined;
9393
9515
  test?: boolean | undefined;
9394
- createdAfter?: number | undefined;
9395
9516
  creatorTag?: string | undefined;
9396
9517
  distributionChainIds?: number[] | undefined;
9397
- tokenSymbol?: string | undefined;
9398
- withOpportunity?: boolean | undefined;
9399
- };
9400
- headers: unknown;
9401
- response: {
9402
- 200: {
9403
- [x: string]: number;
9404
- };
9405
- };
9406
- };
9407
- };
9408
- };
9409
- } & {
9410
- "campaigns-to-process": {
9411
- index: {
9412
- get: {
9413
- body: unknown;
9414
- params: {};
9415
- query: {
9416
- chainId: number;
9417
- };
9418
- headers: unknown;
9419
- response: {
9420
- 200: {
9421
- campaignId: string;
9422
- endTimestamp: bigint;
9423
- CampaignStatus: {
9424
- status: import("@db/api").$Enums.RunStatus;
9425
- computedUntil: bigint;
9426
- processingStarted: bigint;
9427
- }[];
9428
- }[];
9429
- };
9430
- };
9431
- };
9432
- };
9433
- } & {
9434
- "campaigns-to-process": {
9435
- count: {
9436
- get: {
9437
- body: unknown;
9438
- params: {};
9439
- query: {
9440
- chainId: number;
9441
- };
9442
- headers: unknown;
9443
- response: {
9444
- 200: number;
9445
- };
9446
- };
9447
- };
9448
- };
9449
- } & {
9450
- "campaigns-to-process": {
9451
- next: {
9452
- get: {
9453
- body: unknown;
9454
- params: {};
9455
- query: {
9456
- chainId: number;
9457
- };
9458
- headers: unknown;
9459
- response: {
9460
- 200: {
9461
- campaignId: string;
9462
- };
9463
- };
9464
- };
9465
- };
9466
- };
9467
- } & {
9468
- "campaigns-to-process": {
9469
- engine: {
9470
- post: {
9471
- body: unknown;
9472
- params: {};
9473
- query: {
9474
- chainId: number;
9475
- };
9476
- headers: {
9477
- authorization: string;
9478
- };
9479
- response: {
9480
- 200: {
9481
- campaignId: string;
9482
- };
9483
- };
9484
- };
9485
- };
9486
- };
9487
- };
9488
- campaignscount: {
9489
- "by-chains": {
9490
- get: {
9491
- body: unknown;
9492
- params: {};
9493
- query: {
9494
- type?: string | undefined;
9495
- status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
9496
- items?: number | undefined;
9497
- subType?: number | undefined;
9498
- page?: number | undefined;
9499
- types?: string[] | undefined;
9500
- campaignId?: string | undefined;
9501
- opportunityId?: string | undefined;
9502
- startTimestamp?: string | undefined;
9503
- endTimestamp?: string | undefined;
9504
- creatorAddress?: string | undefined;
9505
- chainId?: number | undefined;
9506
- creatorId?: string | undefined;
9507
- mainParameter?: string | undefined;
9508
- point?: boolean | undefined;
9509
- tokenAddress?: string | undefined;
9510
- test?: boolean | undefined;
9511
- createdAfter?: number | undefined;
9512
- creatorTag?: string | undefined;
9513
- distributionChainIds?: number[] | undefined;
9514
- tokenSymbol?: string | undefined;
9515
- withOpportunity?: boolean | undefined;
9516
- };
9517
- headers: unknown;
9518
- response: {
9519
- 200: {
9520
- [x: string]: number;
9518
+ tokenSymbol?: string | undefined;
9519
+ withOpportunity?: boolean | undefined;
9520
+ createdAfter?: Date | null | undefined;
9521
+ };
9522
+ headers: unknown;
9523
+ response: {
9524
+ 200: {
9525
+ [x: string]: number;
9526
+ };
9521
9527
  };
9522
9528
  };
9523
9529
  };
@@ -13453,6 +13459,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
13453
13459
  startTimestamp: string | number;
13454
13460
  endTimestamp: string | number;
13455
13461
  creatorAddress: string;
13462
+ createdAt: string;
13456
13463
  rewardToken: {
13457
13464
  price?: number | null | undefined;
13458
13465
  symbol: string;
@@ -13665,6 +13672,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
13665
13672
  address: string;
13666
13673
  creatorId: string | null;
13667
13674
  };
13675
+ createdAt: string;
13668
13676
  Opportunity: {
13669
13677
  id: string;
13670
13678
  name: string;
@@ -13689,8 +13697,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
13689
13697
  rewardTokenId: string;
13690
13698
  amount: string;
13691
13699
  opportunityId: string;
13692
- manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
13693
- createdAt: Date;
13694
13700
  }[] | undefined;
13695
13701
  id: string;
13696
13702
  depositUrl: string | undefined;
@@ -13784,11 +13790,11 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
13784
13790
  point?: boolean | undefined;
13785
13791
  tokenAddress?: string | undefined;
13786
13792
  test?: boolean | undefined;
13787
- createdAfter?: number | undefined;
13788
13793
  creatorTag?: string | undefined;
13789
13794
  distributionChainIds?: number[] | undefined;
13790
13795
  tokenSymbol?: string | undefined;
13791
13796
  withOpportunity?: boolean | undefined;
13797
+ createdAfter?: Date | null | undefined;
13792
13798
  };
13793
13799
  fetch?: RequestInit | undefined;
13794
13800
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
@@ -13913,6 +13919,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
13913
13919
  startTimestamp: string | number;
13914
13920
  endTimestamp: string | number;
13915
13921
  creatorAddress: string;
13922
+ createdAt: string;
13916
13923
  rewardToken: {
13917
13924
  price?: number | null | undefined;
13918
13925
  symbol: string;
@@ -14091,6 +14098,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
14091
14098
  address: string;
14092
14099
  creatorId: string | null;
14093
14100
  };
14101
+ createdAt: string;
14094
14102
  Opportunity: {
14095
14103
  id: string;
14096
14104
  name: string;
@@ -14115,8 +14123,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
14115
14123
  rewardTokenId: string;
14116
14124
  amount: string;
14117
14125
  opportunityId: string;
14118
- manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
14119
- createdAt: Date;
14120
14126
  };
14121
14127
  }>>;
14122
14128
  } | {
@@ -14250,6 +14256,66 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
14250
14256
  };
14251
14257
  }>>;
14252
14258
  };
14259
+ "campaigns-to-process": {
14260
+ index: {
14261
+ get: (options: {
14262
+ headers?: Record<string, unknown> | undefined;
14263
+ query: {
14264
+ chainId: number;
14265
+ };
14266
+ fetch?: RequestInit | undefined;
14267
+ }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
14268
+ 200: {
14269
+ campaignId: string;
14270
+ endTimestamp: bigint;
14271
+ CampaignStatus: {
14272
+ status: import("@db/api").$Enums.RunStatus;
14273
+ computedUntil: bigint;
14274
+ processingStarted: bigint;
14275
+ }[];
14276
+ }[];
14277
+ }>>;
14278
+ };
14279
+ count: {
14280
+ get: (options: {
14281
+ headers?: Record<string, unknown> | undefined;
14282
+ query: {
14283
+ chainId: number;
14284
+ };
14285
+ fetch?: RequestInit | undefined;
14286
+ }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
14287
+ 200: number;
14288
+ }>>;
14289
+ };
14290
+ next: {
14291
+ get: (options: {
14292
+ headers?: Record<string, unknown> | undefined;
14293
+ query: {
14294
+ chainId: number;
14295
+ };
14296
+ fetch?: RequestInit | undefined;
14297
+ }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
14298
+ 200: {
14299
+ campaignId: string;
14300
+ };
14301
+ }>>;
14302
+ };
14303
+ engine: {
14304
+ post: (body: unknown, options: {
14305
+ headers: {
14306
+ authorization: string;
14307
+ };
14308
+ query: {
14309
+ chainId: number;
14310
+ };
14311
+ fetch?: RequestInit | undefined;
14312
+ }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
14313
+ 200: {
14314
+ campaignId: string;
14315
+ };
14316
+ }>>;
14317
+ };
14318
+ };
14253
14319
  index: {
14254
14320
  get: (options: {
14255
14321
  headers?: Record<string, unknown> | undefined;
@@ -14271,11 +14337,11 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
14271
14337
  point?: boolean | undefined;
14272
14338
  tokenAddress?: string | undefined;
14273
14339
  test?: boolean | undefined;
14274
- createdAfter?: number | undefined;
14275
14340
  creatorTag?: string | undefined;
14276
14341
  distributionChainIds?: number[] | undefined;
14277
14342
  tokenSymbol?: string | undefined;
14278
14343
  withOpportunity?: boolean | undefined;
14344
+ createdAfter?: Date | null | undefined;
14279
14345
  };
14280
14346
  fetch?: RequestInit | undefined;
14281
14347
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
@@ -14322,6 +14388,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
14322
14388
  address: string;
14323
14389
  creatorId: string | null;
14324
14390
  };
14391
+ createdAt: string;
14325
14392
  Opportunity: {
14326
14393
  id: string;
14327
14394
  name: string;
@@ -14346,8 +14413,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
14346
14413
  rewardTokenId: string;
14347
14414
  amount: string;
14348
14415
  opportunityId: string;
14349
- manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
14350
- createdAt: Date;
14351
14416
  }[];
14352
14417
  }>>;
14353
14418
  };
@@ -14372,11 +14437,11 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
14372
14437
  point?: boolean | undefined;
14373
14438
  tokenAddress?: string | undefined;
14374
14439
  test?: boolean | undefined;
14375
- createdAfter?: number | undefined;
14376
14440
  creatorTag?: string | undefined;
14377
14441
  distributionChainIds?: number[] | undefined;
14378
14442
  tokenSymbol?: string | undefined;
14379
14443
  withOpportunity?: boolean | undefined;
14444
+ createdAfter?: Date | null | undefined;
14380
14445
  };
14381
14446
  fetch?: RequestInit | undefined;
14382
14447
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
@@ -14403,11 +14468,11 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
14403
14468
  point?: boolean | undefined;
14404
14469
  tokenAddress?: string | undefined;
14405
14470
  test?: boolean | undefined;
14406
- createdAfter?: number | undefined;
14407
14471
  creatorTag?: string | undefined;
14408
14472
  distributionChainIds?: number[] | undefined;
14409
14473
  tokenSymbol?: string | undefined;
14410
14474
  withOpportunity?: boolean | undefined;
14475
+ createdAfter?: Date | null | undefined;
14411
14476
  };
14412
14477
  fetch?: RequestInit | undefined;
14413
14478
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
@@ -14437,11 +14502,11 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
14437
14502
  point?: boolean | undefined;
14438
14503
  tokenAddress?: string | undefined;
14439
14504
  test?: boolean | undefined;
14440
- createdAfter?: number | undefined;
14441
14505
  creatorTag?: string | undefined;
14442
14506
  distributionChainIds?: number[] | undefined;
14443
14507
  tokenSymbol?: string | undefined;
14444
14508
  withOpportunity?: boolean | undefined;
14509
+ createdAfter?: Date | null | undefined;
14445
14510
  };
14446
14511
  fetch?: RequestInit | undefined;
14447
14512
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
@@ -14451,66 +14516,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
14451
14516
  }>>;
14452
14517
  };
14453
14518
  };
14454
- "campaigns-to-process": {
14455
- index: {
14456
- get: (options: {
14457
- headers?: Record<string, unknown> | undefined;
14458
- query: {
14459
- chainId: number;
14460
- };
14461
- fetch?: RequestInit | undefined;
14462
- }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
14463
- 200: {
14464
- campaignId: string;
14465
- endTimestamp: bigint;
14466
- CampaignStatus: {
14467
- status: import("@db/api").$Enums.RunStatus;
14468
- computedUntil: bigint;
14469
- processingStarted: bigint;
14470
- }[];
14471
- }[];
14472
- }>>;
14473
- };
14474
- count: {
14475
- get: (options: {
14476
- headers?: Record<string, unknown> | undefined;
14477
- query: {
14478
- chainId: number;
14479
- };
14480
- fetch?: RequestInit | undefined;
14481
- }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
14482
- 200: number;
14483
- }>>;
14484
- };
14485
- next: {
14486
- get: (options: {
14487
- headers?: Record<string, unknown> | undefined;
14488
- query: {
14489
- chainId: number;
14490
- };
14491
- fetch?: RequestInit | undefined;
14492
- }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
14493
- 200: {
14494
- campaignId: string;
14495
- };
14496
- }>>;
14497
- };
14498
- engine: {
14499
- post: (body: unknown, options: {
14500
- headers: {
14501
- authorization: string;
14502
- };
14503
- query: {
14504
- chainId: number;
14505
- };
14506
- fetch?: RequestInit | undefined;
14507
- }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
14508
- 200: {
14509
- campaignId: string;
14510
- };
14511
- }>>;
14512
- };
14513
- };
14514
14519
  };
14515
14520
  campaignscount: {
14516
14521
  "by-chains": {
@@ -14534,11 +14539,11 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
14534
14539
  point?: boolean | undefined;
14535
14540
  tokenAddress?: string | undefined;
14536
14541
  test?: boolean | undefined;
14537
- createdAfter?: number | undefined;
14538
14542
  creatorTag?: string | undefined;
14539
14543
  distributionChainIds?: number[] | undefined;
14540
14544
  tokenSymbol?: string | undefined;
14541
14545
  withOpportunity?: boolean | undefined;
14546
+ createdAfter?: Date | null | undefined;
14542
14547
  };
14543
14548
  fetch?: RequestInit | undefined;
14544
14549
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
@@ -17052,6 +17057,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
17052
17057
  startTimestamp: string | number;
17053
17058
  endTimestamp: string | number;
17054
17059
  creatorAddress: string;
17060
+ createdAt: string;
17055
17061
  rewardToken: {
17056
17062
  price?: number | null | undefined;
17057
17063
  symbol: string;
@@ -17264,6 +17270,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
17264
17270
  address: string;
17265
17271
  creatorId: string | null;
17266
17272
  };
17273
+ createdAt: string;
17267
17274
  Opportunity: {
17268
17275
  id: string;
17269
17276
  name: string;
@@ -17288,8 +17295,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
17288
17295
  rewardTokenId: string;
17289
17296
  amount: string;
17290
17297
  opportunityId: string;
17291
- manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
17292
- createdAt: Date;
17293
17298
  }[] | undefined;
17294
17299
  id: string;
17295
17300
  depositUrl: string | undefined;
@@ -17383,11 +17388,11 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
17383
17388
  point?: boolean | undefined;
17384
17389
  tokenAddress?: string | undefined;
17385
17390
  test?: boolean | undefined;
17386
- createdAfter?: number | undefined;
17387
17391
  creatorTag?: string | undefined;
17388
17392
  distributionChainIds?: number[] | undefined;
17389
17393
  tokenSymbol?: string | undefined;
17390
17394
  withOpportunity?: boolean | undefined;
17395
+ createdAfter?: Date | null | undefined;
17391
17396
  };
17392
17397
  fetch?: RequestInit | undefined;
17393
17398
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
@@ -17512,6 +17517,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
17512
17517
  startTimestamp: string | number;
17513
17518
  endTimestamp: string | number;
17514
17519
  creatorAddress: string;
17520
+ createdAt: string;
17515
17521
  rewardToken: {
17516
17522
  price?: number | null | undefined;
17517
17523
  symbol: string;
@@ -17690,6 +17696,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
17690
17696
  address: string;
17691
17697
  creatorId: string | null;
17692
17698
  };
17699
+ createdAt: string;
17693
17700
  Opportunity: {
17694
17701
  id: string;
17695
17702
  name: string;
@@ -17714,8 +17721,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
17714
17721
  rewardTokenId: string;
17715
17722
  amount: string;
17716
17723
  opportunityId: string;
17717
- manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
17718
- createdAt: Date;
17719
17724
  };
17720
17725
  }>>;
17721
17726
  } | {
@@ -17849,6 +17854,66 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
17849
17854
  };
17850
17855
  }>>;
17851
17856
  };
17857
+ "campaigns-to-process": {
17858
+ index: {
17859
+ get: (options: {
17860
+ headers?: Record<string, unknown> | undefined;
17861
+ query: {
17862
+ chainId: number;
17863
+ };
17864
+ fetch?: RequestInit | undefined;
17865
+ }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
17866
+ 200: {
17867
+ campaignId: string;
17868
+ endTimestamp: bigint;
17869
+ CampaignStatus: {
17870
+ status: import("@db/api").$Enums.RunStatus;
17871
+ computedUntil: bigint;
17872
+ processingStarted: bigint;
17873
+ }[];
17874
+ }[];
17875
+ }>>;
17876
+ };
17877
+ count: {
17878
+ get: (options: {
17879
+ headers?: Record<string, unknown> | undefined;
17880
+ query: {
17881
+ chainId: number;
17882
+ };
17883
+ fetch?: RequestInit | undefined;
17884
+ }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
17885
+ 200: number;
17886
+ }>>;
17887
+ };
17888
+ next: {
17889
+ get: (options: {
17890
+ headers?: Record<string, unknown> | undefined;
17891
+ query: {
17892
+ chainId: number;
17893
+ };
17894
+ fetch?: RequestInit | undefined;
17895
+ }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
17896
+ 200: {
17897
+ campaignId: string;
17898
+ };
17899
+ }>>;
17900
+ };
17901
+ engine: {
17902
+ post: (body: unknown, options: {
17903
+ headers: {
17904
+ authorization: string;
17905
+ };
17906
+ query: {
17907
+ chainId: number;
17908
+ };
17909
+ fetch?: RequestInit | undefined;
17910
+ }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
17911
+ 200: {
17912
+ campaignId: string;
17913
+ };
17914
+ }>>;
17915
+ };
17916
+ };
17852
17917
  index: {
17853
17918
  get: (options: {
17854
17919
  headers?: Record<string, unknown> | undefined;
@@ -17870,11 +17935,11 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
17870
17935
  point?: boolean | undefined;
17871
17936
  tokenAddress?: string | undefined;
17872
17937
  test?: boolean | undefined;
17873
- createdAfter?: number | undefined;
17874
17938
  creatorTag?: string | undefined;
17875
17939
  distributionChainIds?: number[] | undefined;
17876
17940
  tokenSymbol?: string | undefined;
17877
17941
  withOpportunity?: boolean | undefined;
17942
+ createdAfter?: Date | null | undefined;
17878
17943
  };
17879
17944
  fetch?: RequestInit | undefined;
17880
17945
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
@@ -17921,6 +17986,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
17921
17986
  address: string;
17922
17987
  creatorId: string | null;
17923
17988
  };
17989
+ createdAt: string;
17924
17990
  Opportunity: {
17925
17991
  id: string;
17926
17992
  name: string;
@@ -17945,8 +18011,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
17945
18011
  rewardTokenId: string;
17946
18012
  amount: string;
17947
18013
  opportunityId: string;
17948
- manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
17949
- createdAt: Date;
17950
18014
  }[];
17951
18015
  }>>;
17952
18016
  };
@@ -17971,11 +18035,11 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
17971
18035
  point?: boolean | undefined;
17972
18036
  tokenAddress?: string | undefined;
17973
18037
  test?: boolean | undefined;
17974
- createdAfter?: number | undefined;
17975
18038
  creatorTag?: string | undefined;
17976
18039
  distributionChainIds?: number[] | undefined;
17977
18040
  tokenSymbol?: string | undefined;
17978
18041
  withOpportunity?: boolean | undefined;
18042
+ createdAfter?: Date | null | undefined;
17979
18043
  };
17980
18044
  fetch?: RequestInit | undefined;
17981
18045
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
@@ -18002,11 +18066,11 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
18002
18066
  point?: boolean | undefined;
18003
18067
  tokenAddress?: string | undefined;
18004
18068
  test?: boolean | undefined;
18005
- createdAfter?: number | undefined;
18006
18069
  creatorTag?: string | undefined;
18007
18070
  distributionChainIds?: number[] | undefined;
18008
18071
  tokenSymbol?: string | undefined;
18009
18072
  withOpportunity?: boolean | undefined;
18073
+ createdAfter?: Date | null | undefined;
18010
18074
  };
18011
18075
  fetch?: RequestInit | undefined;
18012
18076
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
@@ -18036,11 +18100,11 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
18036
18100
  point?: boolean | undefined;
18037
18101
  tokenAddress?: string | undefined;
18038
18102
  test?: boolean | undefined;
18039
- createdAfter?: number | undefined;
18040
18103
  creatorTag?: string | undefined;
18041
18104
  distributionChainIds?: number[] | undefined;
18042
18105
  tokenSymbol?: string | undefined;
18043
18106
  withOpportunity?: boolean | undefined;
18107
+ createdAfter?: Date | null | undefined;
18044
18108
  };
18045
18109
  fetch?: RequestInit | undefined;
18046
18110
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
@@ -18050,66 +18114,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
18050
18114
  }>>;
18051
18115
  };
18052
18116
  };
18053
- "campaigns-to-process": {
18054
- index: {
18055
- get: (options: {
18056
- headers?: Record<string, unknown> | undefined;
18057
- query: {
18058
- chainId: number;
18059
- };
18060
- fetch?: RequestInit | undefined;
18061
- }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
18062
- 200: {
18063
- campaignId: string;
18064
- endTimestamp: bigint;
18065
- CampaignStatus: {
18066
- status: import("@db/api").$Enums.RunStatus;
18067
- computedUntil: bigint;
18068
- processingStarted: bigint;
18069
- }[];
18070
- }[];
18071
- }>>;
18072
- };
18073
- count: {
18074
- get: (options: {
18075
- headers?: Record<string, unknown> | undefined;
18076
- query: {
18077
- chainId: number;
18078
- };
18079
- fetch?: RequestInit | undefined;
18080
- }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
18081
- 200: number;
18082
- }>>;
18083
- };
18084
- next: {
18085
- get: (options: {
18086
- headers?: Record<string, unknown> | undefined;
18087
- query: {
18088
- chainId: number;
18089
- };
18090
- fetch?: RequestInit | undefined;
18091
- }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
18092
- 200: {
18093
- campaignId: string;
18094
- };
18095
- }>>;
18096
- };
18097
- engine: {
18098
- post: (body: unknown, options: {
18099
- headers: {
18100
- authorization: string;
18101
- };
18102
- query: {
18103
- chainId: number;
18104
- };
18105
- fetch?: RequestInit | undefined;
18106
- }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
18107
- 200: {
18108
- campaignId: string;
18109
- };
18110
- }>>;
18111
- };
18112
- };
18113
18117
  };
18114
18118
  campaignscount: {
18115
18119
  "by-chains": {
@@ -18133,11 +18137,11 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
18133
18137
  point?: boolean | undefined;
18134
18138
  tokenAddress?: string | undefined;
18135
18139
  test?: boolean | undefined;
18136
- createdAfter?: number | undefined;
18137
18140
  creatorTag?: string | undefined;
18138
18141
  distributionChainIds?: number[] | undefined;
18139
18142
  tokenSymbol?: string | undefined;
18140
18143
  withOpportunity?: boolean | undefined;
18144
+ createdAfter?: Date | null | undefined;
18141
18145
  };
18142
18146
  fetch?: RequestInit | undefined;
18143
18147
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{