@merkl/api 0.17.0 → 0.17.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. package/dist/database/api/.generated/drizzle/schema.d.ts +0 -18
  2. package/dist/database/api/.generated/drizzle/schema.js +0 -2
  3. package/dist/database/api/.generated/drizzle/schema.ts +0 -3
  4. package/dist/database/api/.generated/edge.js +3 -12
  5. package/dist/database/api/.generated/index-browser.js +0 -9
  6. package/dist/database/api/.generated/index.d.ts +1 -148
  7. package/dist/database/api/.generated/index.js +3 -12
  8. package/dist/database/api/.generated/package.json +1 -1
  9. package/dist/database/api/.generated/schema.prisma +8 -8
  10. package/dist/database/api/.generated/wasm.js +0 -9
  11. package/dist/src/eden/index.d.ts +200 -75
  12. package/dist/src/index.d.ts +40 -15
  13. package/dist/src/modules/v4/campaign/campaign.controller.d.ts +0 -4
  14. package/dist/src/modules/v4/campaign/campaign.repository.d.ts +0 -8
  15. package/dist/src/modules/v4/campaign/campaign.service.d.ts +0 -8
  16. package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +0 -1
  17. package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +0 -5
  18. package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +0 -3
  19. package/dist/src/modules/v4/protocol/index.d.ts +0 -2
  20. package/dist/src/modules/v4/protocol/index.js +0 -8
  21. package/dist/src/modules/v4/protocol/protocol.controller.d.ts +40 -10
  22. package/dist/src/modules/v4/protocol/protocol.controller.js +7 -9
  23. package/dist/src/modules/v4/protocol/protocol.repository.d.ts +0 -1
  24. package/dist/src/modules/v4/router.d.ts +40 -15
  25. package/dist/tsconfig.package.tsbuildinfo +1 -1
  26. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  {
2
- "name": "prisma-client-474bb89b02ca46577195d1e8fbca2c9e7046f77a1d49b77ac784ea980c10a02d",
2
+ "name": "prisma-client-3d8e5fcffd577957579873da0d707f54225e88f986b3123f2172aff827d251df",
3
3
  "main": "index.js",
4
4
  "types": "index.d.ts",
5
5
  "browser": "index-browser.js",
@@ -23,7 +23,7 @@ model Campaign {
23
23
  distributionChainId Int
24
24
  campaignId String
25
25
  type String
26
- distributionType DistributionType
26
+ // distributionType DistributionType
27
27
  subType Int?
28
28
  RewardToken Token @relation(fields: [rewardTokenId], references: [id])
29
29
  rewardTokenId String
@@ -422,10 +422,10 @@ enum PriceSourceMethod {
422
422
  DEFILLAMA
423
423
  }
424
424
 
425
- enum DistributionType {
426
- DUTCH_AUCTION
427
- FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE // The fix reward value will lie in params.apr
428
- FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE
429
- FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT
430
- FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT
431
- }
425
+ // enum DistributionType {
426
+ // DUTCH_AUCTION
427
+ // FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE // The fix reward value will lie in params.apr
428
+ // FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE
429
+ // FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT
430
+ // FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT
431
+ // }
@@ -123,7 +123,6 @@ exports.Prisma.CampaignScalarFieldEnum = {
123
123
  distributionChainId: 'distributionChainId',
124
124
  campaignId: 'campaignId',
125
125
  type: 'type',
126
- distributionType: 'distributionType',
127
126
  subType: 'subType',
128
127
  rewardTokenId: 'rewardTokenId',
129
128
  amount: 'amount',
@@ -524,14 +523,6 @@ exports.Prisma.LoggedOrderByRelevanceFieldEnum = {
524
523
  address: 'address',
525
524
  caughtFromAddress: 'caughtFromAddress'
526
525
  };
527
- exports.DistributionType = exports.$Enums.DistributionType = {
528
- DUTCH_AUCTION: 'DUTCH_AUCTION',
529
- FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE: 'FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE',
530
- FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE: 'FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE',
531
- FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT: 'FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT',
532
- FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT: 'FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT'
533
- };
534
-
535
526
  exports.RunStatus = exports.$Enums.RunStatus = {
536
527
  PROCESSING: 'PROCESSING',
537
528
  SUCCESS: 'SUCCESS',
@@ -571,7 +571,6 @@ declare const eden: {
571
571
  computeChainId: number;
572
572
  distributionChainId: number;
573
573
  campaignId: string;
574
- distributionType: import("../../database/api/.generated").$Enums.DistributionType;
575
574
  rewardTokenId: string;
576
575
  amount: string;
577
576
  opportunityId: string;
@@ -957,7 +956,6 @@ declare const eden: {
957
956
  computeChainId: number;
958
957
  distributionChainId: number;
959
958
  campaignId: string;
960
- distributionType: import("../../database/api/.generated").$Enums.DistributionType;
961
959
  rewardTokenId: string;
962
960
  amount: string;
963
961
  opportunityId: string;
@@ -997,7 +995,6 @@ declare const eden: {
997
995
  computeChainId: number;
998
996
  distributionChainId: number;
999
997
  campaignId: string;
1000
- distributionType: import("../../database/api/.generated").$Enums.DistributionType;
1001
998
  rewardTokenId: string;
1002
999
  amount: string;
1003
1000
  opportunityId: string;
@@ -1043,7 +1040,6 @@ declare const eden: {
1043
1040
  computeChainId: number;
1044
1041
  distributionChainId: number;
1045
1042
  campaignId: string;
1046
- distributionType: import("../../database/api/.generated").$Enums.DistributionType;
1047
1043
  rewardTokenId: string;
1048
1044
  amount: string;
1049
1045
  opportunityId: string;
@@ -1121,7 +1117,6 @@ declare const eden: {
1121
1117
  computeChainId: number;
1122
1118
  distributionChainId: number;
1123
1119
  campaignId: string;
1124
- distributionType: import("../../database/api/.generated").$Enums.DistributionType;
1125
1120
  rewardTokenId: string;
1126
1121
  amount: string;
1127
1122
  opportunityId: string;
@@ -1223,8 +1218,17 @@ declare const eden: {
1223
1218
  query?: Record<string, unknown> | undefined;
1224
1219
  fetch?: RequestInit | undefined;
1225
1220
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1226
- [x: string]: any;
1227
- 200: any;
1221
+ 200: {
1222
+ name: string;
1223
+ url: string;
1224
+ description: string;
1225
+ id: string;
1226
+ tags: string[];
1227
+ icon: string;
1228
+ dailyRewards?: number | undefined;
1229
+ numberOfLiveCampaigns?: number | undefined;
1230
+ opportunityLiveTags?: string[] | undefined;
1231
+ } | null;
1228
1232
  }>>;
1229
1233
  patch: (body: {
1230
1234
  name?: string | undefined;
@@ -1238,8 +1242,14 @@ declare const eden: {
1238
1242
  query?: Record<string, unknown> | undefined;
1239
1243
  fetch?: RequestInit | undefined;
1240
1244
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1241
- [x: string]: any;
1242
- 200: any;
1245
+ 200: {
1246
+ name: string;
1247
+ url: string;
1248
+ description: string;
1249
+ id: string;
1250
+ tags: string[];
1251
+ icon: string;
1252
+ };
1243
1253
  }>>;
1244
1254
  }) & {
1245
1255
  index: {
@@ -1256,8 +1266,18 @@ declare const eden: {
1256
1266
  };
1257
1267
  fetch?: RequestInit | undefined;
1258
1268
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1259
- [x: string]: any;
1260
- 200: any;
1269
+ 200: ({
1270
+ name: string;
1271
+ url: string;
1272
+ description: string;
1273
+ id: string;
1274
+ tags: string[];
1275
+ icon: string;
1276
+ } & {
1277
+ dailyRewards?: number | undefined;
1278
+ numberOfLiveCampaigns?: number | undefined;
1279
+ opportunityLiveTags?: string[] | undefined;
1280
+ })[];
1261
1281
  }>>;
1262
1282
  post: (body: {
1263
1283
  name: string;
@@ -1273,8 +1293,14 @@ declare const eden: {
1273
1293
  query?: Record<string, unknown> | undefined;
1274
1294
  fetch?: RequestInit | undefined;
1275
1295
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1276
- [x: string]: any;
1277
- 200: any;
1296
+ 200: {
1297
+ name: string;
1298
+ url: string;
1299
+ description: string;
1300
+ id: string;
1301
+ tags: string[];
1302
+ icon: string;
1303
+ };
1278
1304
  }>>;
1279
1305
  };
1280
1306
  count: {
@@ -1283,8 +1309,7 @@ declare const eden: {
1283
1309
  query?: Record<string, unknown> | undefined;
1284
1310
  fetch?: RequestInit | undefined;
1285
1311
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
1286
- [x: string]: any;
1287
- 200: any;
1312
+ 200: number;
1288
1313
  }>>;
1289
1314
  };
1290
1315
  };
@@ -3854,7 +3879,6 @@ declare const eden: {
3854
3879
  computeChainId: number;
3855
3880
  distributionChainId: number;
3856
3881
  campaignId: string;
3857
- distributionType: import("../../database/api/.generated").$Enums.DistributionType;
3858
3882
  rewardTokenId: string;
3859
3883
  amount: string;
3860
3884
  opportunityId: string;
@@ -4240,7 +4264,6 @@ declare const eden: {
4240
4264
  computeChainId: number;
4241
4265
  distributionChainId: number;
4242
4266
  campaignId: string;
4243
- distributionType: import("../../database/api/.generated").$Enums.DistributionType;
4244
4267
  rewardTokenId: string;
4245
4268
  amount: string;
4246
4269
  opportunityId: string;
@@ -4280,7 +4303,6 @@ declare const eden: {
4280
4303
  computeChainId: number;
4281
4304
  distributionChainId: number;
4282
4305
  campaignId: string;
4283
- distributionType: import("../../database/api/.generated").$Enums.DistributionType;
4284
4306
  rewardTokenId: string;
4285
4307
  amount: string;
4286
4308
  opportunityId: string;
@@ -4326,7 +4348,6 @@ declare const eden: {
4326
4348
  computeChainId: number;
4327
4349
  distributionChainId: number;
4328
4350
  campaignId: string;
4329
- distributionType: import("../../database/api/.generated").$Enums.DistributionType;
4330
4351
  rewardTokenId: string;
4331
4352
  amount: string;
4332
4353
  opportunityId: string;
@@ -4404,7 +4425,6 @@ declare const eden: {
4404
4425
  computeChainId: number;
4405
4426
  distributionChainId: number;
4406
4427
  campaignId: string;
4407
- distributionType: import("../../database/api/.generated").$Enums.DistributionType;
4408
4428
  rewardTokenId: string;
4409
4429
  amount: string;
4410
4430
  opportunityId: string;
@@ -4506,8 +4526,17 @@ declare const eden: {
4506
4526
  query?: Record<string, unknown> | undefined;
4507
4527
  fetch?: RequestInit | undefined;
4508
4528
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4509
- [x: string]: any;
4510
- 200: any;
4529
+ 200: {
4530
+ name: string;
4531
+ url: string;
4532
+ description: string;
4533
+ id: string;
4534
+ tags: string[];
4535
+ icon: string;
4536
+ dailyRewards?: number | undefined;
4537
+ numberOfLiveCampaigns?: number | undefined;
4538
+ opportunityLiveTags?: string[] | undefined;
4539
+ } | null;
4511
4540
  }>>;
4512
4541
  patch: (body: {
4513
4542
  name?: string | undefined;
@@ -4521,8 +4550,14 @@ declare const eden: {
4521
4550
  query?: Record<string, unknown> | undefined;
4522
4551
  fetch?: RequestInit | undefined;
4523
4552
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4524
- [x: string]: any;
4525
- 200: any;
4553
+ 200: {
4554
+ name: string;
4555
+ url: string;
4556
+ description: string;
4557
+ id: string;
4558
+ tags: string[];
4559
+ icon: string;
4560
+ };
4526
4561
  }>>;
4527
4562
  }) & {
4528
4563
  index: {
@@ -4539,8 +4574,18 @@ declare const eden: {
4539
4574
  };
4540
4575
  fetch?: RequestInit | undefined;
4541
4576
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4542
- [x: string]: any;
4543
- 200: any;
4577
+ 200: ({
4578
+ name: string;
4579
+ url: string;
4580
+ description: string;
4581
+ id: string;
4582
+ tags: string[];
4583
+ icon: string;
4584
+ } & {
4585
+ dailyRewards?: number | undefined;
4586
+ numberOfLiveCampaigns?: number | undefined;
4587
+ opportunityLiveTags?: string[] | undefined;
4588
+ })[];
4544
4589
  }>>;
4545
4590
  post: (body: {
4546
4591
  name: string;
@@ -4556,8 +4601,14 @@ declare const eden: {
4556
4601
  query?: Record<string, unknown> | undefined;
4557
4602
  fetch?: RequestInit | undefined;
4558
4603
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4559
- [x: string]: any;
4560
- 200: any;
4604
+ 200: {
4605
+ name: string;
4606
+ url: string;
4607
+ description: string;
4608
+ id: string;
4609
+ tags: string[];
4610
+ icon: string;
4611
+ };
4561
4612
  }>>;
4562
4613
  };
4563
4614
  count: {
@@ -4566,8 +4617,7 @@ declare const eden: {
4566
4617
  query?: Record<string, unknown> | undefined;
4567
4618
  fetch?: RequestInit | undefined;
4568
4619
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
4569
- [x: string]: any;
4570
- 200: any;
4620
+ 200: number;
4571
4621
  }>>;
4572
4622
  };
4573
4623
  };
@@ -7603,7 +7653,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
7603
7653
  computeChainId: number;
7604
7654
  distributionChainId: number;
7605
7655
  campaignId: string;
7606
- distributionType: import("../../database/api/.generated").$Enums.DistributionType;
7607
7656
  rewardTokenId: string;
7608
7657
  amount: string;
7609
7658
  opportunityId: string;
@@ -8312,7 +8361,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
8312
8361
  computeChainId: number;
8313
8362
  distributionChainId: number;
8314
8363
  campaignId: string;
8315
- distributionType: import("../../database/api/.generated").$Enums.DistributionType;
8316
8364
  rewardTokenId: string;
8317
8365
  amount: string;
8318
8366
  opportunityId: string;
@@ -8364,7 +8412,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
8364
8412
  computeChainId: number;
8365
8413
  distributionChainId: number;
8366
8414
  campaignId: string;
8367
- distributionType: import("../../database/api/.generated").$Enums.DistributionType;
8368
8415
  rewardTokenId: string;
8369
8416
  amount: string;
8370
8417
  opportunityId: string;
@@ -8445,7 +8492,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
8445
8492
  computeChainId: number;
8446
8493
  distributionChainId: number;
8447
8494
  campaignId: string;
8448
- distributionType: import("../../database/api/.generated").$Enums.DistributionType;
8449
8495
  rewardTokenId: string;
8450
8496
  amount: string;
8451
8497
  opportunityId: string;
@@ -8510,7 +8556,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
8510
8556
  computeChainId: number;
8511
8557
  distributionChainId: number;
8512
8558
  campaignId: string;
8513
- distributionType: import("../../database/api/.generated").$Enums.DistributionType;
8514
8559
  rewardTokenId: string;
8515
8560
  amount: string;
8516
8561
  opportunityId: string;
@@ -8645,8 +8690,18 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
8645
8690
  };
8646
8691
  headers: unknown;
8647
8692
  response: {
8648
- [x: string]: any;
8649
- 200: any;
8693
+ 200: ({
8694
+ name: string;
8695
+ url: string;
8696
+ description: string;
8697
+ id: string;
8698
+ tags: string[];
8699
+ icon: string;
8700
+ } & {
8701
+ dailyRewards?: number | undefined;
8702
+ numberOfLiveCampaigns?: number | undefined;
8703
+ opportunityLiveTags?: string[] | undefined;
8704
+ })[];
8650
8705
  };
8651
8706
  };
8652
8707
  };
@@ -8660,8 +8715,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
8660
8715
  query: unknown;
8661
8716
  headers: unknown;
8662
8717
  response: {
8663
- [x: string]: any;
8664
- 200: any;
8718
+ 200: number;
8665
8719
  };
8666
8720
  };
8667
8721
  };
@@ -8677,8 +8731,17 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
8677
8731
  query: unknown;
8678
8732
  headers: unknown;
8679
8733
  response: {
8680
- [x: string]: any;
8681
- 200: any;
8734
+ 200: {
8735
+ name: string;
8736
+ url: string;
8737
+ description: string;
8738
+ id: string;
8739
+ tags: string[];
8740
+ icon: string;
8741
+ dailyRewards?: number | undefined;
8742
+ numberOfLiveCampaigns?: number | undefined;
8743
+ opportunityLiveTags?: string[] | undefined;
8744
+ } | null;
8682
8745
  };
8683
8746
  };
8684
8747
  };
@@ -8701,8 +8764,14 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
8701
8764
  authorization: string;
8702
8765
  };
8703
8766
  response: {
8704
- [x: string]: any;
8705
- 200: any;
8767
+ 200: {
8768
+ name: string;
8769
+ url: string;
8770
+ description: string;
8771
+ id: string;
8772
+ tags: string[];
8773
+ icon: string;
8774
+ };
8706
8775
  };
8707
8776
  };
8708
8777
  };
@@ -8725,8 +8794,14 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
8725
8794
  authorization: string;
8726
8795
  };
8727
8796
  response: {
8728
- [x: string]: any;
8729
- 200: any;
8797
+ 200: {
8798
+ name: string;
8799
+ url: string;
8800
+ description: string;
8801
+ id: string;
8802
+ tags: string[];
8803
+ icon: string;
8804
+ };
8730
8805
  };
8731
8806
  };
8732
8807
  };
@@ -12702,7 +12777,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
12702
12777
  computeChainId: number;
12703
12778
  distributionChainId: number;
12704
12779
  campaignId: string;
12705
- distributionType: import("../../database/api/.generated").$Enums.DistributionType;
12706
12780
  rewardTokenId: string;
12707
12781
  amount: string;
12708
12782
  opportunityId: string;
@@ -13088,7 +13162,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
13088
13162
  computeChainId: number;
13089
13163
  distributionChainId: number;
13090
13164
  campaignId: string;
13091
- distributionType: import("../../database/api/.generated").$Enums.DistributionType;
13092
13165
  rewardTokenId: string;
13093
13166
  amount: string;
13094
13167
  opportunityId: string;
@@ -13128,7 +13201,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
13128
13201
  computeChainId: number;
13129
13202
  distributionChainId: number;
13130
13203
  campaignId: string;
13131
- distributionType: import("../../database/api/.generated").$Enums.DistributionType;
13132
13204
  rewardTokenId: string;
13133
13205
  amount: string;
13134
13206
  opportunityId: string;
@@ -13174,7 +13246,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
13174
13246
  computeChainId: number;
13175
13247
  distributionChainId: number;
13176
13248
  campaignId: string;
13177
- distributionType: import("../../database/api/.generated").$Enums.DistributionType;
13178
13249
  rewardTokenId: string;
13179
13250
  amount: string;
13180
13251
  opportunityId: string;
@@ -13252,7 +13323,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
13252
13323
  computeChainId: number;
13253
13324
  distributionChainId: number;
13254
13325
  campaignId: string;
13255
- distributionType: import("../../database/api/.generated").$Enums.DistributionType;
13256
13326
  rewardTokenId: string;
13257
13327
  amount: string;
13258
13328
  opportunityId: string;
@@ -13354,8 +13424,17 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
13354
13424
  query?: Record<string, unknown> | undefined;
13355
13425
  fetch?: RequestInit | undefined;
13356
13426
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
13357
- [x: string]: any;
13358
- 200: any;
13427
+ 200: {
13428
+ name: string;
13429
+ url: string;
13430
+ description: string;
13431
+ id: string;
13432
+ tags: string[];
13433
+ icon: string;
13434
+ dailyRewards?: number | undefined;
13435
+ numberOfLiveCampaigns?: number | undefined;
13436
+ opportunityLiveTags?: string[] | undefined;
13437
+ } | null;
13359
13438
  }>>;
13360
13439
  patch: (body: {
13361
13440
  name?: string | undefined;
@@ -13369,8 +13448,14 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
13369
13448
  query?: Record<string, unknown> | undefined;
13370
13449
  fetch?: RequestInit | undefined;
13371
13450
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
13372
- [x: string]: any;
13373
- 200: any;
13451
+ 200: {
13452
+ name: string;
13453
+ url: string;
13454
+ description: string;
13455
+ id: string;
13456
+ tags: string[];
13457
+ icon: string;
13458
+ };
13374
13459
  }>>;
13375
13460
  }) & {
13376
13461
  index: {
@@ -13387,8 +13472,18 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
13387
13472
  };
13388
13473
  fetch?: RequestInit | undefined;
13389
13474
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
13390
- [x: string]: any;
13391
- 200: any;
13475
+ 200: ({
13476
+ name: string;
13477
+ url: string;
13478
+ description: string;
13479
+ id: string;
13480
+ tags: string[];
13481
+ icon: string;
13482
+ } & {
13483
+ dailyRewards?: number | undefined;
13484
+ numberOfLiveCampaigns?: number | undefined;
13485
+ opportunityLiveTags?: string[] | undefined;
13486
+ })[];
13392
13487
  }>>;
13393
13488
  post: (body: {
13394
13489
  name: string;
@@ -13404,8 +13499,14 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
13404
13499
  query?: Record<string, unknown> | undefined;
13405
13500
  fetch?: RequestInit | undefined;
13406
13501
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
13407
- [x: string]: any;
13408
- 200: any;
13502
+ 200: {
13503
+ name: string;
13504
+ url: string;
13505
+ description: string;
13506
+ id: string;
13507
+ tags: string[];
13508
+ icon: string;
13509
+ };
13409
13510
  }>>;
13410
13511
  };
13411
13512
  count: {
@@ -13414,8 +13515,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
13414
13515
  query?: Record<string, unknown> | undefined;
13415
13516
  fetch?: RequestInit | undefined;
13416
13517
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
13417
- [x: string]: any;
13418
- 200: any;
13518
+ 200: number;
13419
13519
  }>>;
13420
13520
  };
13421
13521
  };
@@ -15985,7 +16085,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
15985
16085
  computeChainId: number;
15986
16086
  distributionChainId: number;
15987
16087
  campaignId: string;
15988
- distributionType: import("../../database/api/.generated").$Enums.DistributionType;
15989
16088
  rewardTokenId: string;
15990
16089
  amount: string;
15991
16090
  opportunityId: string;
@@ -16371,7 +16470,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
16371
16470
  computeChainId: number;
16372
16471
  distributionChainId: number;
16373
16472
  campaignId: string;
16374
- distributionType: import("../../database/api/.generated").$Enums.DistributionType;
16375
16473
  rewardTokenId: string;
16376
16474
  amount: string;
16377
16475
  opportunityId: string;
@@ -16411,7 +16509,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
16411
16509
  computeChainId: number;
16412
16510
  distributionChainId: number;
16413
16511
  campaignId: string;
16414
- distributionType: import("../../database/api/.generated").$Enums.DistributionType;
16415
16512
  rewardTokenId: string;
16416
16513
  amount: string;
16417
16514
  opportunityId: string;
@@ -16457,7 +16554,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
16457
16554
  computeChainId: number;
16458
16555
  distributionChainId: number;
16459
16556
  campaignId: string;
16460
- distributionType: import("../../database/api/.generated").$Enums.DistributionType;
16461
16557
  rewardTokenId: string;
16462
16558
  amount: string;
16463
16559
  opportunityId: string;
@@ -16535,7 +16631,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
16535
16631
  computeChainId: number;
16536
16632
  distributionChainId: number;
16537
16633
  campaignId: string;
16538
- distributionType: import("../../database/api/.generated").$Enums.DistributionType;
16539
16634
  rewardTokenId: string;
16540
16635
  amount: string;
16541
16636
  opportunityId: string;
@@ -16637,8 +16732,17 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
16637
16732
  query?: Record<string, unknown> | undefined;
16638
16733
  fetch?: RequestInit | undefined;
16639
16734
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
16640
- [x: string]: any;
16641
- 200: any;
16735
+ 200: {
16736
+ name: string;
16737
+ url: string;
16738
+ description: string;
16739
+ id: string;
16740
+ tags: string[];
16741
+ icon: string;
16742
+ dailyRewards?: number | undefined;
16743
+ numberOfLiveCampaigns?: number | undefined;
16744
+ opportunityLiveTags?: string[] | undefined;
16745
+ } | null;
16642
16746
  }>>;
16643
16747
  patch: (body: {
16644
16748
  name?: string | undefined;
@@ -16652,8 +16756,14 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
16652
16756
  query?: Record<string, unknown> | undefined;
16653
16757
  fetch?: RequestInit | undefined;
16654
16758
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
16655
- [x: string]: any;
16656
- 200: any;
16759
+ 200: {
16760
+ name: string;
16761
+ url: string;
16762
+ description: string;
16763
+ id: string;
16764
+ tags: string[];
16765
+ icon: string;
16766
+ };
16657
16767
  }>>;
16658
16768
  }) & {
16659
16769
  index: {
@@ -16670,8 +16780,18 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
16670
16780
  };
16671
16781
  fetch?: RequestInit | undefined;
16672
16782
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
16673
- [x: string]: any;
16674
- 200: any;
16783
+ 200: ({
16784
+ name: string;
16785
+ url: string;
16786
+ description: string;
16787
+ id: string;
16788
+ tags: string[];
16789
+ icon: string;
16790
+ } & {
16791
+ dailyRewards?: number | undefined;
16792
+ numberOfLiveCampaigns?: number | undefined;
16793
+ opportunityLiveTags?: string[] | undefined;
16794
+ })[];
16675
16795
  }>>;
16676
16796
  post: (body: {
16677
16797
  name: string;
@@ -16687,8 +16807,14 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
16687
16807
  query?: Record<string, unknown> | undefined;
16688
16808
  fetch?: RequestInit | undefined;
16689
16809
  }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
16690
- [x: string]: any;
16691
- 200: any;
16810
+ 200: {
16811
+ name: string;
16812
+ url: string;
16813
+ description: string;
16814
+ id: string;
16815
+ tags: string[];
16816
+ icon: string;
16817
+ };
16692
16818
  }>>;
16693
16819
  };
16694
16820
  count: {
@@ -16697,8 +16823,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
16697
16823
  query?: Record<string, unknown> | undefined;
16698
16824
  fetch?: RequestInit | undefined;
16699
16825
  } | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
16700
- [x: string]: any;
16701
- 200: any;
16826
+ 200: number;
16702
16827
  }>>;
16703
16828
  };
16704
16829
  };