@merkl/api 0.19.1 → 0.19.3
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.
- package/dist/database/api/.generated/drizzle/schema.d.ts +20 -3
- package/dist/database/api/.generated/drizzle/schema.js +3 -2
- package/dist/database/api/.generated/drizzle/schema.ts +3 -2
- package/dist/database/api/.generated/edge.js +6 -4
- package/dist/database/api/.generated/index-browser.js +3 -1
- package/dist/database/api/.generated/index.d.ts +151 -70
- package/dist/database/api/.generated/index.js +6 -4
- package/dist/database/api/.generated/package.json +1 -1
- package/dist/database/api/.generated/schema.prisma +3 -0
- package/dist/database/api/.generated/wasm.js +3 -1
- package/dist/src/eden/index.d.ts +562 -5
- package/dist/src/index.d.ts +122 -1
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +119 -0
- package/dist/src/modules/v4/campaign/campaign.controller.js +13 -2
- package/dist/src/modules/v4/campaign/campaign.model.d.ts +1 -0
- package/dist/src/modules/v4/campaign/campaign.model.js +1 -0
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +20 -0
- package/dist/src/modules/v4/campaign/campaign.repository.js +4 -3
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +223 -0
- package/dist/src/modules/v4/campaign/campaign.service.js +26 -2
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +3 -1
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +1 -0
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +5 -0
- package/dist/src/modules/v4/opportunity/opportunity.repository.js +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +3 -0
- package/dist/src/modules/v4/protocol/protocol.repository.d.ts +1 -0
- package/dist/src/modules/v4/router.d.ts +122 -1
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +6 -4
package/dist/src/eden/index.d.ts
CHANGED
@@ -433,7 +433,7 @@ declare const eden: {
|
|
433
433
|
chainId: number;
|
434
434
|
}[];
|
435
435
|
identifier: string;
|
436
|
-
action: "POOL" | "HOLD" | "DROP" | "LEND" | "BORROW" | "LONG" | "SHORT" | "INVALID";
|
436
|
+
action: "POOL" | "HOLD" | "DROP" | "LEND" | "BORROW" | "LONG" | "SHORT" | "SWAP" | "INVALID";
|
437
437
|
chainId: number;
|
438
438
|
}, options: {
|
439
439
|
headers: {
|
@@ -602,6 +602,7 @@ declare const eden: {
|
|
602
602
|
amount: string;
|
603
603
|
opportunityId: string;
|
604
604
|
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
605
|
+
createdAt: Date;
|
605
606
|
}[] | undefined;
|
606
607
|
id: string;
|
607
608
|
depositUrl: string | undefined;
|
@@ -693,6 +694,7 @@ declare const eden: {
|
|
693
694
|
mainParameter?: string | undefined;
|
694
695
|
tokenAddress?: string | undefined;
|
695
696
|
test?: boolean | undefined;
|
697
|
+
createdAfter?: Date | undefined;
|
696
698
|
creatorTag?: string | undefined;
|
697
699
|
distributionChainIds?: number[] | undefined;
|
698
700
|
tokenSymbol?: string | undefined;
|
@@ -1021,6 +1023,7 @@ declare const eden: {
|
|
1021
1023
|
amount: string;
|
1022
1024
|
opportunityId: string;
|
1023
1025
|
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
1026
|
+
createdAt: Date;
|
1024
1027
|
};
|
1025
1028
|
}>>;
|
1026
1029
|
} | {
|
@@ -1074,6 +1077,7 @@ declare const eden: {
|
|
1074
1077
|
endTimestamp: bigint;
|
1075
1078
|
creatorAddress: string;
|
1076
1079
|
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
1080
|
+
createdAt: Date;
|
1077
1081
|
} | undefined;
|
1078
1082
|
}>>;
|
1079
1083
|
};
|
@@ -1149,6 +1153,7 @@ declare const eden: {
|
|
1149
1153
|
endTimestamp: bigint;
|
1150
1154
|
creatorAddress: string;
|
1151
1155
|
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
1156
|
+
createdAt: Date;
|
1152
1157
|
};
|
1153
1158
|
}>>;
|
1154
1159
|
};
|
@@ -1172,6 +1177,7 @@ declare const eden: {
|
|
1172
1177
|
mainParameter?: string | undefined;
|
1173
1178
|
tokenAddress?: string | undefined;
|
1174
1179
|
test?: boolean | undefined;
|
1180
|
+
createdAfter?: Date | undefined;
|
1175
1181
|
creatorTag?: string | undefined;
|
1176
1182
|
distributionChainIds?: number[] | undefined;
|
1177
1183
|
tokenSymbol?: string | undefined;
|
@@ -1247,6 +1253,7 @@ declare const eden: {
|
|
1247
1253
|
amount: string;
|
1248
1254
|
opportunityId: string;
|
1249
1255
|
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
1256
|
+
createdAt: Date;
|
1250
1257
|
}[];
|
1251
1258
|
}>>;
|
1252
1259
|
};
|
@@ -1270,6 +1277,7 @@ declare const eden: {
|
|
1270
1277
|
mainParameter?: string | undefined;
|
1271
1278
|
tokenAddress?: string | undefined;
|
1272
1279
|
test?: boolean | undefined;
|
1280
|
+
createdAfter?: Date | undefined;
|
1273
1281
|
creatorTag?: string | undefined;
|
1274
1282
|
distributionChainIds?: number[] | undefined;
|
1275
1283
|
tokenSymbol?: string | undefined;
|
@@ -1279,6 +1287,72 @@ declare const eden: {
|
|
1279
1287
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1280
1288
|
200: number;
|
1281
1289
|
}>>;
|
1290
|
+
"by-type": {
|
1291
|
+
get: (options: {
|
1292
|
+
headers?: Record<string, unknown> | undefined;
|
1293
|
+
query: {
|
1294
|
+
type?: string | undefined;
|
1295
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
1296
|
+
items?: number | undefined;
|
1297
|
+
subType?: number | undefined;
|
1298
|
+
page?: number | undefined;
|
1299
|
+
types?: string[] | undefined;
|
1300
|
+
campaignId?: string | undefined;
|
1301
|
+
opportunityId?: string | undefined;
|
1302
|
+
startTimestamp?: string | undefined;
|
1303
|
+
endTimestamp?: string | undefined;
|
1304
|
+
creatorAddress?: string | undefined;
|
1305
|
+
chainId?: number | undefined;
|
1306
|
+
creatorId?: string | undefined;
|
1307
|
+
mainParameter?: string | undefined;
|
1308
|
+
tokenAddress?: string | undefined;
|
1309
|
+
test?: boolean | undefined;
|
1310
|
+
createdAfter?: Date | undefined;
|
1311
|
+
creatorTag?: string | undefined;
|
1312
|
+
distributionChainIds?: number[] | undefined;
|
1313
|
+
tokenSymbol?: string | undefined;
|
1314
|
+
withOpportunity?: boolean | undefined;
|
1315
|
+
};
|
1316
|
+
fetch?: RequestInit | undefined;
|
1317
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1318
|
+
200: {
|
1319
|
+
[x: string]: number;
|
1320
|
+
};
|
1321
|
+
}>>;
|
1322
|
+
};
|
1323
|
+
"by-protocol": {
|
1324
|
+
get: (options: {
|
1325
|
+
headers?: Record<string, unknown> | undefined;
|
1326
|
+
query: {
|
1327
|
+
type?: string | undefined;
|
1328
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
1329
|
+
items?: number | undefined;
|
1330
|
+
subType?: number | undefined;
|
1331
|
+
page?: number | undefined;
|
1332
|
+
types?: string[] | undefined;
|
1333
|
+
campaignId?: string | undefined;
|
1334
|
+
opportunityId?: string | undefined;
|
1335
|
+
startTimestamp?: string | undefined;
|
1336
|
+
endTimestamp?: string | undefined;
|
1337
|
+
creatorAddress?: string | undefined;
|
1338
|
+
chainId?: number | undefined;
|
1339
|
+
creatorId?: string | undefined;
|
1340
|
+
mainParameter?: string | undefined;
|
1341
|
+
tokenAddress?: string | undefined;
|
1342
|
+
test?: boolean | undefined;
|
1343
|
+
createdAfter?: Date | undefined;
|
1344
|
+
creatorTag?: string | undefined;
|
1345
|
+
distributionChainIds?: number[] | undefined;
|
1346
|
+
tokenSymbol?: string | undefined;
|
1347
|
+
withOpportunity?: boolean | undefined;
|
1348
|
+
};
|
1349
|
+
fetch?: RequestInit | undefined;
|
1350
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1351
|
+
200: {
|
1352
|
+
[x: string]: number;
|
1353
|
+
};
|
1354
|
+
}>>;
|
1355
|
+
};
|
1282
1356
|
};
|
1283
1357
|
"campaigns-to-process": {
|
1284
1358
|
index: {
|
@@ -1341,6 +1415,41 @@ declare const eden: {
|
|
1341
1415
|
};
|
1342
1416
|
};
|
1343
1417
|
};
|
1418
|
+
campaignscount: {
|
1419
|
+
"by-chains": {
|
1420
|
+
get: (options: {
|
1421
|
+
headers?: Record<string, unknown> | undefined;
|
1422
|
+
query: {
|
1423
|
+
type?: string | undefined;
|
1424
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
1425
|
+
items?: number | undefined;
|
1426
|
+
subType?: number | undefined;
|
1427
|
+
page?: number | undefined;
|
1428
|
+
types?: string[] | undefined;
|
1429
|
+
campaignId?: string | undefined;
|
1430
|
+
opportunityId?: string | undefined;
|
1431
|
+
startTimestamp?: string | undefined;
|
1432
|
+
endTimestamp?: string | undefined;
|
1433
|
+
creatorAddress?: string | undefined;
|
1434
|
+
chainId?: number | undefined;
|
1435
|
+
creatorId?: string | undefined;
|
1436
|
+
mainParameter?: string | undefined;
|
1437
|
+
tokenAddress?: string | undefined;
|
1438
|
+
test?: boolean | undefined;
|
1439
|
+
createdAfter?: Date | undefined;
|
1440
|
+
creatorTag?: string | undefined;
|
1441
|
+
distributionChainIds?: number[] | undefined;
|
1442
|
+
tokenSymbol?: string | undefined;
|
1443
|
+
withOpportunity?: boolean | undefined;
|
1444
|
+
};
|
1445
|
+
fetch?: RequestInit | undefined;
|
1446
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1447
|
+
200: {
|
1448
|
+
[x: string]: number;
|
1449
|
+
};
|
1450
|
+
}>>;
|
1451
|
+
};
|
1452
|
+
};
|
1344
1453
|
protocols: ((params: {
|
1345
1454
|
id: string | number;
|
1346
1455
|
}) => {
|
@@ -3909,7 +4018,7 @@ declare const eden: {
|
|
3909
4018
|
chainId: number;
|
3910
4019
|
}[];
|
3911
4020
|
identifier: string;
|
3912
|
-
action: "POOL" | "HOLD" | "DROP" | "LEND" | "BORROW" | "LONG" | "SHORT" | "INVALID";
|
4021
|
+
action: "POOL" | "HOLD" | "DROP" | "LEND" | "BORROW" | "LONG" | "SHORT" | "SWAP" | "INVALID";
|
3913
4022
|
chainId: number;
|
3914
4023
|
}, options: {
|
3915
4024
|
headers: {
|
@@ -4078,6 +4187,7 @@ declare const eden: {
|
|
4078
4187
|
amount: string;
|
4079
4188
|
opportunityId: string;
|
4080
4189
|
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
4190
|
+
createdAt: Date;
|
4081
4191
|
}[] | undefined;
|
4082
4192
|
id: string;
|
4083
4193
|
depositUrl: string | undefined;
|
@@ -4169,6 +4279,7 @@ declare const eden: {
|
|
4169
4279
|
mainParameter?: string | undefined;
|
4170
4280
|
tokenAddress?: string | undefined;
|
4171
4281
|
test?: boolean | undefined;
|
4282
|
+
createdAfter?: Date | undefined;
|
4172
4283
|
creatorTag?: string | undefined;
|
4173
4284
|
distributionChainIds?: number[] | undefined;
|
4174
4285
|
tokenSymbol?: string | undefined;
|
@@ -4497,6 +4608,7 @@ declare const eden: {
|
|
4497
4608
|
amount: string;
|
4498
4609
|
opportunityId: string;
|
4499
4610
|
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
4611
|
+
createdAt: Date;
|
4500
4612
|
};
|
4501
4613
|
}>>;
|
4502
4614
|
} | {
|
@@ -4550,6 +4662,7 @@ declare const eden: {
|
|
4550
4662
|
endTimestamp: bigint;
|
4551
4663
|
creatorAddress: string;
|
4552
4664
|
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
4665
|
+
createdAt: Date;
|
4553
4666
|
} | undefined;
|
4554
4667
|
}>>;
|
4555
4668
|
};
|
@@ -4625,6 +4738,7 @@ declare const eden: {
|
|
4625
4738
|
endTimestamp: bigint;
|
4626
4739
|
creatorAddress: string;
|
4627
4740
|
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
4741
|
+
createdAt: Date;
|
4628
4742
|
};
|
4629
4743
|
}>>;
|
4630
4744
|
};
|
@@ -4648,6 +4762,7 @@ declare const eden: {
|
|
4648
4762
|
mainParameter?: string | undefined;
|
4649
4763
|
tokenAddress?: string | undefined;
|
4650
4764
|
test?: boolean | undefined;
|
4765
|
+
createdAfter?: Date | undefined;
|
4651
4766
|
creatorTag?: string | undefined;
|
4652
4767
|
distributionChainIds?: number[] | undefined;
|
4653
4768
|
tokenSymbol?: string | undefined;
|
@@ -4723,6 +4838,7 @@ declare const eden: {
|
|
4723
4838
|
amount: string;
|
4724
4839
|
opportunityId: string;
|
4725
4840
|
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
4841
|
+
createdAt: Date;
|
4726
4842
|
}[];
|
4727
4843
|
}>>;
|
4728
4844
|
};
|
@@ -4746,6 +4862,7 @@ declare const eden: {
|
|
4746
4862
|
mainParameter?: string | undefined;
|
4747
4863
|
tokenAddress?: string | undefined;
|
4748
4864
|
test?: boolean | undefined;
|
4865
|
+
createdAfter?: Date | undefined;
|
4749
4866
|
creatorTag?: string | undefined;
|
4750
4867
|
distributionChainIds?: number[] | undefined;
|
4751
4868
|
tokenSymbol?: string | undefined;
|
@@ -4755,6 +4872,72 @@ declare const eden: {
|
|
4755
4872
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4756
4873
|
200: number;
|
4757
4874
|
}>>;
|
4875
|
+
"by-type": {
|
4876
|
+
get: (options: {
|
4877
|
+
headers?: Record<string, unknown> | undefined;
|
4878
|
+
query: {
|
4879
|
+
type?: string | undefined;
|
4880
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
4881
|
+
items?: number | undefined;
|
4882
|
+
subType?: number | undefined;
|
4883
|
+
page?: number | undefined;
|
4884
|
+
types?: string[] | undefined;
|
4885
|
+
campaignId?: string | undefined;
|
4886
|
+
opportunityId?: string | undefined;
|
4887
|
+
startTimestamp?: string | undefined;
|
4888
|
+
endTimestamp?: string | undefined;
|
4889
|
+
creatorAddress?: string | undefined;
|
4890
|
+
chainId?: number | undefined;
|
4891
|
+
creatorId?: string | undefined;
|
4892
|
+
mainParameter?: string | undefined;
|
4893
|
+
tokenAddress?: string | undefined;
|
4894
|
+
test?: boolean | undefined;
|
4895
|
+
createdAfter?: Date | undefined;
|
4896
|
+
creatorTag?: string | undefined;
|
4897
|
+
distributionChainIds?: number[] | undefined;
|
4898
|
+
tokenSymbol?: string | undefined;
|
4899
|
+
withOpportunity?: boolean | undefined;
|
4900
|
+
};
|
4901
|
+
fetch?: RequestInit | undefined;
|
4902
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4903
|
+
200: {
|
4904
|
+
[x: string]: number;
|
4905
|
+
};
|
4906
|
+
}>>;
|
4907
|
+
};
|
4908
|
+
"by-protocol": {
|
4909
|
+
get: (options: {
|
4910
|
+
headers?: Record<string, unknown> | undefined;
|
4911
|
+
query: {
|
4912
|
+
type?: string | undefined;
|
4913
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
4914
|
+
items?: number | undefined;
|
4915
|
+
subType?: number | undefined;
|
4916
|
+
page?: number | undefined;
|
4917
|
+
types?: string[] | undefined;
|
4918
|
+
campaignId?: string | undefined;
|
4919
|
+
opportunityId?: string | undefined;
|
4920
|
+
startTimestamp?: string | undefined;
|
4921
|
+
endTimestamp?: string | undefined;
|
4922
|
+
creatorAddress?: string | undefined;
|
4923
|
+
chainId?: number | undefined;
|
4924
|
+
creatorId?: string | undefined;
|
4925
|
+
mainParameter?: string | undefined;
|
4926
|
+
tokenAddress?: string | undefined;
|
4927
|
+
test?: boolean | undefined;
|
4928
|
+
createdAfter?: Date | undefined;
|
4929
|
+
creatorTag?: string | undefined;
|
4930
|
+
distributionChainIds?: number[] | undefined;
|
4931
|
+
tokenSymbol?: string | undefined;
|
4932
|
+
withOpportunity?: boolean | undefined;
|
4933
|
+
};
|
4934
|
+
fetch?: RequestInit | undefined;
|
4935
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4936
|
+
200: {
|
4937
|
+
[x: string]: number;
|
4938
|
+
};
|
4939
|
+
}>>;
|
4940
|
+
};
|
4758
4941
|
};
|
4759
4942
|
"campaigns-to-process": {
|
4760
4943
|
index: {
|
@@ -4817,6 +5000,41 @@ declare const eden: {
|
|
4817
5000
|
};
|
4818
5001
|
};
|
4819
5002
|
};
|
5003
|
+
campaignscount: {
|
5004
|
+
"by-chains": {
|
5005
|
+
get: (options: {
|
5006
|
+
headers?: Record<string, unknown> | undefined;
|
5007
|
+
query: {
|
5008
|
+
type?: string | undefined;
|
5009
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
5010
|
+
items?: number | undefined;
|
5011
|
+
subType?: number | undefined;
|
5012
|
+
page?: number | undefined;
|
5013
|
+
types?: string[] | undefined;
|
5014
|
+
campaignId?: string | undefined;
|
5015
|
+
opportunityId?: string | undefined;
|
5016
|
+
startTimestamp?: string | undefined;
|
5017
|
+
endTimestamp?: string | undefined;
|
5018
|
+
creatorAddress?: string | undefined;
|
5019
|
+
chainId?: number | undefined;
|
5020
|
+
creatorId?: string | undefined;
|
5021
|
+
mainParameter?: string | undefined;
|
5022
|
+
tokenAddress?: string | undefined;
|
5023
|
+
test?: boolean | undefined;
|
5024
|
+
createdAfter?: Date | undefined;
|
5025
|
+
creatorTag?: string | undefined;
|
5026
|
+
distributionChainIds?: number[] | undefined;
|
5027
|
+
tokenSymbol?: string | undefined;
|
5028
|
+
withOpportunity?: boolean | undefined;
|
5029
|
+
};
|
5030
|
+
fetch?: RequestInit | undefined;
|
5031
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
5032
|
+
200: {
|
5033
|
+
[x: string]: number;
|
5034
|
+
};
|
5035
|
+
}>>;
|
5036
|
+
};
|
5037
|
+
};
|
4820
5038
|
protocols: ((params: {
|
4821
5039
|
id: string | number;
|
4822
5040
|
}) => {
|
@@ -7799,7 +8017,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
7799
8017
|
chainId: number;
|
7800
8018
|
}[];
|
7801
8019
|
identifier: string;
|
7802
|
-
action: "POOL" | "HOLD" | "DROP" | "LEND" | "BORROW" | "LONG" | "SHORT" | "INVALID";
|
8020
|
+
action: "POOL" | "HOLD" | "DROP" | "LEND" | "BORROW" | "LONG" | "SHORT" | "SWAP" | "INVALID";
|
7803
8021
|
chainId: number;
|
7804
8022
|
};
|
7805
8023
|
params: {};
|
@@ -8020,6 +8238,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
8020
8238
|
amount: string;
|
8021
8239
|
opportunityId: string;
|
8022
8240
|
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
8241
|
+
createdAt: Date;
|
8023
8242
|
}[] | undefined;
|
8024
8243
|
id: string;
|
8025
8244
|
depositUrl: string | undefined;
|
@@ -8232,6 +8451,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
8232
8451
|
mainParameter?: string | undefined;
|
8233
8452
|
tokenAddress?: string | undefined;
|
8234
8453
|
test?: boolean | undefined;
|
8454
|
+
createdAfter?: Date | undefined;
|
8235
8455
|
creatorTag?: string | undefined;
|
8236
8456
|
distributionChainIds?: number[] | undefined;
|
8237
8457
|
tokenSymbol?: string | undefined;
|
@@ -8750,6 +8970,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
8750
8970
|
endTimestamp: bigint;
|
8751
8971
|
creatorAddress: string;
|
8752
8972
|
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
8973
|
+
createdAt: Date;
|
8753
8974
|
} | undefined;
|
8754
8975
|
};
|
8755
8976
|
};
|
@@ -8837,6 +9058,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
8837
9058
|
endTimestamp: bigint;
|
8838
9059
|
creatorAddress: string;
|
8839
9060
|
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
9061
|
+
createdAt: Date;
|
8840
9062
|
};
|
8841
9063
|
};
|
8842
9064
|
};
|
@@ -8881,6 +9103,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
8881
9103
|
mainParameter?: string | undefined;
|
8882
9104
|
tokenAddress?: string | undefined;
|
8883
9105
|
test?: boolean | undefined;
|
9106
|
+
createdAfter?: Date | undefined;
|
8884
9107
|
creatorTag?: string | undefined;
|
8885
9108
|
distributionChainIds?: number[] | undefined;
|
8886
9109
|
tokenSymbol?: string | undefined;
|
@@ -8956,6 +9179,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
8956
9179
|
amount: string;
|
8957
9180
|
opportunityId: string;
|
8958
9181
|
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
9182
|
+
createdAt: Date;
|
8959
9183
|
}[];
|
8960
9184
|
};
|
8961
9185
|
};
|
@@ -9038,6 +9262,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
9038
9262
|
amount: string;
|
9039
9263
|
opportunityId: string;
|
9040
9264
|
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
9265
|
+
createdAt: Date;
|
9041
9266
|
};
|
9042
9267
|
};
|
9043
9268
|
};
|
@@ -9064,6 +9289,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
9064
9289
|
mainParameter?: string | undefined;
|
9065
9290
|
tokenAddress?: string | undefined;
|
9066
9291
|
test?: boolean | undefined;
|
9292
|
+
createdAfter?: Date | undefined;
|
9067
9293
|
creatorTag?: string | undefined;
|
9068
9294
|
distributionChainIds?: number[] | undefined;
|
9069
9295
|
tokenSymbol?: string | undefined;
|
@@ -9075,6 +9301,82 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
9075
9301
|
};
|
9076
9302
|
};
|
9077
9303
|
};
|
9304
|
+
} & {
|
9305
|
+
count: {
|
9306
|
+
"by-type": {
|
9307
|
+
get: {
|
9308
|
+
body: unknown;
|
9309
|
+
params: {};
|
9310
|
+
query: {
|
9311
|
+
type?: string | undefined;
|
9312
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
9313
|
+
items?: number | undefined;
|
9314
|
+
subType?: number | undefined;
|
9315
|
+
page?: number | undefined;
|
9316
|
+
types?: string[] | undefined;
|
9317
|
+
campaignId?: string | undefined;
|
9318
|
+
opportunityId?: string | undefined;
|
9319
|
+
startTimestamp?: string | undefined;
|
9320
|
+
endTimestamp?: string | undefined;
|
9321
|
+
creatorAddress?: string | undefined;
|
9322
|
+
chainId?: number | undefined;
|
9323
|
+
creatorId?: string | undefined;
|
9324
|
+
mainParameter?: string | undefined;
|
9325
|
+
tokenAddress?: string | undefined;
|
9326
|
+
test?: boolean | undefined;
|
9327
|
+
createdAfter?: Date | undefined;
|
9328
|
+
creatorTag?: string | undefined;
|
9329
|
+
distributionChainIds?: number[] | undefined;
|
9330
|
+
tokenSymbol?: string | undefined;
|
9331
|
+
withOpportunity?: boolean | undefined;
|
9332
|
+
};
|
9333
|
+
headers: unknown;
|
9334
|
+
response: {
|
9335
|
+
200: {
|
9336
|
+
[x: string]: number;
|
9337
|
+
};
|
9338
|
+
};
|
9339
|
+
};
|
9340
|
+
};
|
9341
|
+
};
|
9342
|
+
} & {
|
9343
|
+
count: {
|
9344
|
+
"by-protocol": {
|
9345
|
+
get: {
|
9346
|
+
body: unknown;
|
9347
|
+
params: {};
|
9348
|
+
query: {
|
9349
|
+
type?: string | undefined;
|
9350
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
9351
|
+
items?: number | undefined;
|
9352
|
+
subType?: number | undefined;
|
9353
|
+
page?: number | undefined;
|
9354
|
+
types?: string[] | undefined;
|
9355
|
+
campaignId?: string | undefined;
|
9356
|
+
opportunityId?: string | undefined;
|
9357
|
+
startTimestamp?: string | undefined;
|
9358
|
+
endTimestamp?: string | undefined;
|
9359
|
+
creatorAddress?: string | undefined;
|
9360
|
+
chainId?: number | undefined;
|
9361
|
+
creatorId?: string | undefined;
|
9362
|
+
mainParameter?: string | undefined;
|
9363
|
+
tokenAddress?: string | undefined;
|
9364
|
+
test?: boolean | undefined;
|
9365
|
+
createdAfter?: Date | undefined;
|
9366
|
+
creatorTag?: string | undefined;
|
9367
|
+
distributionChainIds?: number[] | undefined;
|
9368
|
+
tokenSymbol?: string | undefined;
|
9369
|
+
withOpportunity?: boolean | undefined;
|
9370
|
+
};
|
9371
|
+
headers: unknown;
|
9372
|
+
response: {
|
9373
|
+
200: {
|
9374
|
+
[x: string]: number;
|
9375
|
+
};
|
9376
|
+
};
|
9377
|
+
};
|
9378
|
+
};
|
9379
|
+
};
|
9078
9380
|
} & {
|
9079
9381
|
"campaigns-to-process": {
|
9080
9382
|
index: {
|
@@ -9154,6 +9456,43 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
9154
9456
|
};
|
9155
9457
|
};
|
9156
9458
|
};
|
9459
|
+
campaignscount: {
|
9460
|
+
"by-chains": {
|
9461
|
+
get: {
|
9462
|
+
body: unknown;
|
9463
|
+
params: {};
|
9464
|
+
query: {
|
9465
|
+
type?: string | undefined;
|
9466
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
9467
|
+
items?: number | undefined;
|
9468
|
+
subType?: number | undefined;
|
9469
|
+
page?: number | undefined;
|
9470
|
+
types?: string[] | undefined;
|
9471
|
+
campaignId?: string | undefined;
|
9472
|
+
opportunityId?: string | undefined;
|
9473
|
+
startTimestamp?: string | undefined;
|
9474
|
+
endTimestamp?: string | undefined;
|
9475
|
+
creatorAddress?: string | undefined;
|
9476
|
+
chainId?: number | undefined;
|
9477
|
+
creatorId?: string | undefined;
|
9478
|
+
mainParameter?: string | undefined;
|
9479
|
+
tokenAddress?: string | undefined;
|
9480
|
+
test?: boolean | undefined;
|
9481
|
+
createdAfter?: Date | undefined;
|
9482
|
+
creatorTag?: string | undefined;
|
9483
|
+
distributionChainIds?: number[] | undefined;
|
9484
|
+
tokenSymbol?: string | undefined;
|
9485
|
+
withOpportunity?: boolean | undefined;
|
9486
|
+
};
|
9487
|
+
headers: unknown;
|
9488
|
+
response: {
|
9489
|
+
200: {
|
9490
|
+
[x: string]: number;
|
9491
|
+
};
|
9492
|
+
};
|
9493
|
+
};
|
9494
|
+
};
|
9495
|
+
};
|
9157
9496
|
};
|
9158
9497
|
} & {
|
9159
9498
|
v4: {
|
@@ -13159,7 +13498,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
13159
13498
|
chainId: number;
|
13160
13499
|
}[];
|
13161
13500
|
identifier: string;
|
13162
|
-
action: "POOL" | "HOLD" | "DROP" | "LEND" | "BORROW" | "LONG" | "SHORT" | "INVALID";
|
13501
|
+
action: "POOL" | "HOLD" | "DROP" | "LEND" | "BORROW" | "LONG" | "SHORT" | "SWAP" | "INVALID";
|
13163
13502
|
chainId: number;
|
13164
13503
|
}, options: {
|
13165
13504
|
headers: {
|
@@ -13328,6 +13667,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
13328
13667
|
amount: string;
|
13329
13668
|
opportunityId: string;
|
13330
13669
|
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
13670
|
+
createdAt: Date;
|
13331
13671
|
}[] | undefined;
|
13332
13672
|
id: string;
|
13333
13673
|
depositUrl: string | undefined;
|
@@ -13419,6 +13759,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
13419
13759
|
mainParameter?: string | undefined;
|
13420
13760
|
tokenAddress?: string | undefined;
|
13421
13761
|
test?: boolean | undefined;
|
13762
|
+
createdAfter?: Date | undefined;
|
13422
13763
|
creatorTag?: string | undefined;
|
13423
13764
|
distributionChainIds?: number[] | undefined;
|
13424
13765
|
tokenSymbol?: string | undefined;
|
@@ -13747,6 +14088,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
13747
14088
|
amount: string;
|
13748
14089
|
opportunityId: string;
|
13749
14090
|
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
14091
|
+
createdAt: Date;
|
13750
14092
|
};
|
13751
14093
|
}>>;
|
13752
14094
|
} | {
|
@@ -13800,6 +14142,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
13800
14142
|
endTimestamp: bigint;
|
13801
14143
|
creatorAddress: string;
|
13802
14144
|
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
14145
|
+
createdAt: Date;
|
13803
14146
|
} | undefined;
|
13804
14147
|
}>>;
|
13805
14148
|
};
|
@@ -13875,6 +14218,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
13875
14218
|
endTimestamp: bigint;
|
13876
14219
|
creatorAddress: string;
|
13877
14220
|
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
14221
|
+
createdAt: Date;
|
13878
14222
|
};
|
13879
14223
|
}>>;
|
13880
14224
|
};
|
@@ -13898,6 +14242,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
13898
14242
|
mainParameter?: string | undefined;
|
13899
14243
|
tokenAddress?: string | undefined;
|
13900
14244
|
test?: boolean | undefined;
|
14245
|
+
createdAfter?: Date | undefined;
|
13901
14246
|
creatorTag?: string | undefined;
|
13902
14247
|
distributionChainIds?: number[] | undefined;
|
13903
14248
|
tokenSymbol?: string | undefined;
|
@@ -13973,6 +14318,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
13973
14318
|
amount: string;
|
13974
14319
|
opportunityId: string;
|
13975
14320
|
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
14321
|
+
createdAt: Date;
|
13976
14322
|
}[];
|
13977
14323
|
}>>;
|
13978
14324
|
};
|
@@ -13996,6 +14342,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
13996
14342
|
mainParameter?: string | undefined;
|
13997
14343
|
tokenAddress?: string | undefined;
|
13998
14344
|
test?: boolean | undefined;
|
14345
|
+
createdAfter?: Date | undefined;
|
13999
14346
|
creatorTag?: string | undefined;
|
14000
14347
|
distributionChainIds?: number[] | undefined;
|
14001
14348
|
tokenSymbol?: string | undefined;
|
@@ -14005,6 +14352,72 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
14005
14352
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
14006
14353
|
200: number;
|
14007
14354
|
}>>;
|
14355
|
+
"by-type": {
|
14356
|
+
get: (options: {
|
14357
|
+
headers?: Record<string, unknown> | undefined;
|
14358
|
+
query: {
|
14359
|
+
type?: string | undefined;
|
14360
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
14361
|
+
items?: number | undefined;
|
14362
|
+
subType?: number | undefined;
|
14363
|
+
page?: number | undefined;
|
14364
|
+
types?: string[] | undefined;
|
14365
|
+
campaignId?: string | undefined;
|
14366
|
+
opportunityId?: string | undefined;
|
14367
|
+
startTimestamp?: string | undefined;
|
14368
|
+
endTimestamp?: string | undefined;
|
14369
|
+
creatorAddress?: string | undefined;
|
14370
|
+
chainId?: number | undefined;
|
14371
|
+
creatorId?: string | undefined;
|
14372
|
+
mainParameter?: string | undefined;
|
14373
|
+
tokenAddress?: string | undefined;
|
14374
|
+
test?: boolean | undefined;
|
14375
|
+
createdAfter?: Date | undefined;
|
14376
|
+
creatorTag?: string | undefined;
|
14377
|
+
distributionChainIds?: number[] | undefined;
|
14378
|
+
tokenSymbol?: string | undefined;
|
14379
|
+
withOpportunity?: boolean | undefined;
|
14380
|
+
};
|
14381
|
+
fetch?: RequestInit | undefined;
|
14382
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
14383
|
+
200: {
|
14384
|
+
[x: string]: number;
|
14385
|
+
};
|
14386
|
+
}>>;
|
14387
|
+
};
|
14388
|
+
"by-protocol": {
|
14389
|
+
get: (options: {
|
14390
|
+
headers?: Record<string, unknown> | undefined;
|
14391
|
+
query: {
|
14392
|
+
type?: string | undefined;
|
14393
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
14394
|
+
items?: number | undefined;
|
14395
|
+
subType?: number | undefined;
|
14396
|
+
page?: number | undefined;
|
14397
|
+
types?: string[] | undefined;
|
14398
|
+
campaignId?: string | undefined;
|
14399
|
+
opportunityId?: string | undefined;
|
14400
|
+
startTimestamp?: string | undefined;
|
14401
|
+
endTimestamp?: string | undefined;
|
14402
|
+
creatorAddress?: string | undefined;
|
14403
|
+
chainId?: number | undefined;
|
14404
|
+
creatorId?: string | undefined;
|
14405
|
+
mainParameter?: string | undefined;
|
14406
|
+
tokenAddress?: string | undefined;
|
14407
|
+
test?: boolean | undefined;
|
14408
|
+
createdAfter?: Date | undefined;
|
14409
|
+
creatorTag?: string | undefined;
|
14410
|
+
distributionChainIds?: number[] | undefined;
|
14411
|
+
tokenSymbol?: string | undefined;
|
14412
|
+
withOpportunity?: boolean | undefined;
|
14413
|
+
};
|
14414
|
+
fetch?: RequestInit | undefined;
|
14415
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
14416
|
+
200: {
|
14417
|
+
[x: string]: number;
|
14418
|
+
};
|
14419
|
+
}>>;
|
14420
|
+
};
|
14008
14421
|
};
|
14009
14422
|
"campaigns-to-process": {
|
14010
14423
|
index: {
|
@@ -14067,6 +14480,41 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
14067
14480
|
};
|
14068
14481
|
};
|
14069
14482
|
};
|
14483
|
+
campaignscount: {
|
14484
|
+
"by-chains": {
|
14485
|
+
get: (options: {
|
14486
|
+
headers?: Record<string, unknown> | undefined;
|
14487
|
+
query: {
|
14488
|
+
type?: string | undefined;
|
14489
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
14490
|
+
items?: number | undefined;
|
14491
|
+
subType?: number | undefined;
|
14492
|
+
page?: number | undefined;
|
14493
|
+
types?: string[] | undefined;
|
14494
|
+
campaignId?: string | undefined;
|
14495
|
+
opportunityId?: string | undefined;
|
14496
|
+
startTimestamp?: string | undefined;
|
14497
|
+
endTimestamp?: string | undefined;
|
14498
|
+
creatorAddress?: string | undefined;
|
14499
|
+
chainId?: number | undefined;
|
14500
|
+
creatorId?: string | undefined;
|
14501
|
+
mainParameter?: string | undefined;
|
14502
|
+
tokenAddress?: string | undefined;
|
14503
|
+
test?: boolean | undefined;
|
14504
|
+
createdAfter?: Date | undefined;
|
14505
|
+
creatorTag?: string | undefined;
|
14506
|
+
distributionChainIds?: number[] | undefined;
|
14507
|
+
tokenSymbol?: string | undefined;
|
14508
|
+
withOpportunity?: boolean | undefined;
|
14509
|
+
};
|
14510
|
+
fetch?: RequestInit | undefined;
|
14511
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
14512
|
+
200: {
|
14513
|
+
[x: string]: number;
|
14514
|
+
};
|
14515
|
+
}>>;
|
14516
|
+
};
|
14517
|
+
};
|
14070
14518
|
protocols: ((params: {
|
14071
14519
|
id: string | number;
|
14072
14520
|
}) => {
|
@@ -16635,7 +17083,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
16635
17083
|
chainId: number;
|
16636
17084
|
}[];
|
16637
17085
|
identifier: string;
|
16638
|
-
action: "POOL" | "HOLD" | "DROP" | "LEND" | "BORROW" | "LONG" | "SHORT" | "INVALID";
|
17086
|
+
action: "POOL" | "HOLD" | "DROP" | "LEND" | "BORROW" | "LONG" | "SHORT" | "SWAP" | "INVALID";
|
16639
17087
|
chainId: number;
|
16640
17088
|
}, options: {
|
16641
17089
|
headers: {
|
@@ -16804,6 +17252,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
16804
17252
|
amount: string;
|
16805
17253
|
opportunityId: string;
|
16806
17254
|
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
17255
|
+
createdAt: Date;
|
16807
17256
|
}[] | undefined;
|
16808
17257
|
id: string;
|
16809
17258
|
depositUrl: string | undefined;
|
@@ -16895,6 +17344,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
16895
17344
|
mainParameter?: string | undefined;
|
16896
17345
|
tokenAddress?: string | undefined;
|
16897
17346
|
test?: boolean | undefined;
|
17347
|
+
createdAfter?: Date | undefined;
|
16898
17348
|
creatorTag?: string | undefined;
|
16899
17349
|
distributionChainIds?: number[] | undefined;
|
16900
17350
|
tokenSymbol?: string | undefined;
|
@@ -17223,6 +17673,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
17223
17673
|
amount: string;
|
17224
17674
|
opportunityId: string;
|
17225
17675
|
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
17676
|
+
createdAt: Date;
|
17226
17677
|
};
|
17227
17678
|
}>>;
|
17228
17679
|
} | {
|
@@ -17276,6 +17727,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
17276
17727
|
endTimestamp: bigint;
|
17277
17728
|
creatorAddress: string;
|
17278
17729
|
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
17730
|
+
createdAt: Date;
|
17279
17731
|
} | undefined;
|
17280
17732
|
}>>;
|
17281
17733
|
};
|
@@ -17351,6 +17803,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
17351
17803
|
endTimestamp: bigint;
|
17352
17804
|
creatorAddress: string;
|
17353
17805
|
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
17806
|
+
createdAt: Date;
|
17354
17807
|
};
|
17355
17808
|
}>>;
|
17356
17809
|
};
|
@@ -17374,6 +17827,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
17374
17827
|
mainParameter?: string | undefined;
|
17375
17828
|
tokenAddress?: string | undefined;
|
17376
17829
|
test?: boolean | undefined;
|
17830
|
+
createdAfter?: Date | undefined;
|
17377
17831
|
creatorTag?: string | undefined;
|
17378
17832
|
distributionChainIds?: number[] | undefined;
|
17379
17833
|
tokenSymbol?: string | undefined;
|
@@ -17449,6 +17903,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
17449
17903
|
amount: string;
|
17450
17904
|
opportunityId: string;
|
17451
17905
|
manualOverrides: import("@db/api").$Enums.CampaignManualOverride[];
|
17906
|
+
createdAt: Date;
|
17452
17907
|
}[];
|
17453
17908
|
}>>;
|
17454
17909
|
};
|
@@ -17472,6 +17927,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
17472
17927
|
mainParameter?: string | undefined;
|
17473
17928
|
tokenAddress?: string | undefined;
|
17474
17929
|
test?: boolean | undefined;
|
17930
|
+
createdAfter?: Date | undefined;
|
17475
17931
|
creatorTag?: string | undefined;
|
17476
17932
|
distributionChainIds?: number[] | undefined;
|
17477
17933
|
tokenSymbol?: string | undefined;
|
@@ -17481,6 +17937,72 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
17481
17937
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
17482
17938
|
200: number;
|
17483
17939
|
}>>;
|
17940
|
+
"by-type": {
|
17941
|
+
get: (options: {
|
17942
|
+
headers?: Record<string, unknown> | undefined;
|
17943
|
+
query: {
|
17944
|
+
type?: string | undefined;
|
17945
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
17946
|
+
items?: number | undefined;
|
17947
|
+
subType?: number | undefined;
|
17948
|
+
page?: number | undefined;
|
17949
|
+
types?: string[] | undefined;
|
17950
|
+
campaignId?: string | undefined;
|
17951
|
+
opportunityId?: string | undefined;
|
17952
|
+
startTimestamp?: string | undefined;
|
17953
|
+
endTimestamp?: string | undefined;
|
17954
|
+
creatorAddress?: string | undefined;
|
17955
|
+
chainId?: number | undefined;
|
17956
|
+
creatorId?: string | undefined;
|
17957
|
+
mainParameter?: string | undefined;
|
17958
|
+
tokenAddress?: string | undefined;
|
17959
|
+
test?: boolean | undefined;
|
17960
|
+
createdAfter?: Date | undefined;
|
17961
|
+
creatorTag?: string | undefined;
|
17962
|
+
distributionChainIds?: number[] | undefined;
|
17963
|
+
tokenSymbol?: string | undefined;
|
17964
|
+
withOpportunity?: boolean | undefined;
|
17965
|
+
};
|
17966
|
+
fetch?: RequestInit | undefined;
|
17967
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
17968
|
+
200: {
|
17969
|
+
[x: string]: number;
|
17970
|
+
};
|
17971
|
+
}>>;
|
17972
|
+
};
|
17973
|
+
"by-protocol": {
|
17974
|
+
get: (options: {
|
17975
|
+
headers?: Record<string, unknown> | undefined;
|
17976
|
+
query: {
|
17977
|
+
type?: string | undefined;
|
17978
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
17979
|
+
items?: number | undefined;
|
17980
|
+
subType?: number | undefined;
|
17981
|
+
page?: number | undefined;
|
17982
|
+
types?: string[] | undefined;
|
17983
|
+
campaignId?: string | undefined;
|
17984
|
+
opportunityId?: string | undefined;
|
17985
|
+
startTimestamp?: string | undefined;
|
17986
|
+
endTimestamp?: string | undefined;
|
17987
|
+
creatorAddress?: string | undefined;
|
17988
|
+
chainId?: number | undefined;
|
17989
|
+
creatorId?: string | undefined;
|
17990
|
+
mainParameter?: string | undefined;
|
17991
|
+
tokenAddress?: string | undefined;
|
17992
|
+
test?: boolean | undefined;
|
17993
|
+
createdAfter?: Date | undefined;
|
17994
|
+
creatorTag?: string | undefined;
|
17995
|
+
distributionChainIds?: number[] | undefined;
|
17996
|
+
tokenSymbol?: string | undefined;
|
17997
|
+
withOpportunity?: boolean | undefined;
|
17998
|
+
};
|
17999
|
+
fetch?: RequestInit | undefined;
|
18000
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
18001
|
+
200: {
|
18002
|
+
[x: string]: number;
|
18003
|
+
};
|
18004
|
+
}>>;
|
18005
|
+
};
|
17484
18006
|
};
|
17485
18007
|
"campaigns-to-process": {
|
17486
18008
|
index: {
|
@@ -17543,6 +18065,41 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
17543
18065
|
};
|
17544
18066
|
};
|
17545
18067
|
};
|
18068
|
+
campaignscount: {
|
18069
|
+
"by-chains": {
|
18070
|
+
get: (options: {
|
18071
|
+
headers?: Record<string, unknown> | undefined;
|
18072
|
+
query: {
|
18073
|
+
type?: string | undefined;
|
18074
|
+
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
18075
|
+
items?: number | undefined;
|
18076
|
+
subType?: number | undefined;
|
18077
|
+
page?: number | undefined;
|
18078
|
+
types?: string[] | undefined;
|
18079
|
+
campaignId?: string | undefined;
|
18080
|
+
opportunityId?: string | undefined;
|
18081
|
+
startTimestamp?: string | undefined;
|
18082
|
+
endTimestamp?: string | undefined;
|
18083
|
+
creatorAddress?: string | undefined;
|
18084
|
+
chainId?: number | undefined;
|
18085
|
+
creatorId?: string | undefined;
|
18086
|
+
mainParameter?: string | undefined;
|
18087
|
+
tokenAddress?: string | undefined;
|
18088
|
+
test?: boolean | undefined;
|
18089
|
+
createdAfter?: Date | undefined;
|
18090
|
+
creatorTag?: string | undefined;
|
18091
|
+
distributionChainIds?: number[] | undefined;
|
18092
|
+
tokenSymbol?: string | undefined;
|
18093
|
+
withOpportunity?: boolean | undefined;
|
18094
|
+
};
|
18095
|
+
fetch?: RequestInit | undefined;
|
18096
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
18097
|
+
200: {
|
18098
|
+
[x: string]: number;
|
18099
|
+
};
|
18100
|
+
}>>;
|
18101
|
+
};
|
18102
|
+
};
|
17546
18103
|
protocols: ((params: {
|
17547
18104
|
id: string | number;
|
17548
18105
|
}) => {
|