@merkl/api 0.10.86 → 0.10.88

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 (29) hide show
  1. package/dist/database/api/.generated/index.d.ts +28 -100
  2. package/dist/database/api/.generated/package.json +1 -1
  3. package/dist/database/api/.generated/schema.prisma +2 -3
  4. package/dist/src/eden/index.d.ts +48 -18
  5. package/dist/src/index.d.ts +16 -6
  6. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/helpers/getBlacklistedSupply.d.ts +1 -0
  7. package/dist/src/modules/v4/campaign/campaign.controller.d.ts +16 -5
  8. package/dist/src/modules/v4/campaign/campaign.model.d.ts +2 -3
  9. package/dist/src/modules/v4/campaign/campaign.repository.d.ts +0 -4
  10. package/dist/src/modules/v4/campaign/campaign.service.d.ts +0 -4
  11. package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +0 -2
  12. package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +0 -1
  13. package/dist/src/modules/v4/reward/reward.controller.d.ts +0 -1
  14. package/dist/src/modules/v4/reward/reward.repository.d.ts +0 -3
  15. package/dist/src/modules/v4/reward/reward.service.d.ts +0 -3
  16. package/dist/src/modules/v4/router.d.ts +16 -6
  17. package/dist/src/modules/v4/status/status.controller.d.ts +2 -2
  18. package/dist/src/routes/v3/ERC20Campaigns.d.ts +16 -6
  19. package/dist/src/routes/v3/blacklist.d.ts +16 -6
  20. package/dist/src/routes/v3/campaigns.d.ts +16 -6
  21. package/dist/src/routes/v3/campaignsInfo.d.ts +16 -6
  22. package/dist/src/routes/v3/multiChainPositions.d.ts +16 -6
  23. package/dist/src/routes/v3/opportunity.d.ts +16 -6
  24. package/dist/src/routes/v3/positions.d.ts +16 -6
  25. package/dist/src/routes/v3/rewards.d.ts +16 -6
  26. package/dist/src/routes/v3/updates.d.ts +16 -6
  27. package/dist/src/routes/v3/userRewards.d.ts +16 -6
  28. package/dist/tsconfig.package.tsbuildinfo +1 -1
  29. package/package.json +1 -1
@@ -375,10 +375,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
375
375
  index: {
376
376
  post: {
377
377
  body: {
378
+ identifier?: string | undefined;
378
379
  subType?: number | undefined;
379
380
  type: number;
380
381
  params: string;
381
- identifier: string;
382
382
  chainId: number;
383
383
  startTimestamp: string;
384
384
  endTimestamp: string;
@@ -395,7 +395,21 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
395
395
  authorization: string;
396
396
  };
397
397
  response: {
398
- 200: unknown;
398
+ 200: {
399
+ id: string;
400
+ computeChainId: number;
401
+ distributionChainId: number;
402
+ campaignId: string;
403
+ type: import("../../../database/api/.generated").$Enums.CampaignType;
404
+ subType: number | null;
405
+ rewardTokenId: string;
406
+ amount: string;
407
+ opportunityId: string;
408
+ startTimestamp: bigint;
409
+ endTimestamp: bigint;
410
+ params: import("../../../database/api/.generated").Prisma.JsonValue;
411
+ creatorAddress: string;
412
+ } | undefined;
399
413
  };
400
414
  };
401
415
  };
@@ -409,7 +423,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
409
423
  query: {
410
424
  type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
411
425
  items?: number | undefined;
412
- identifier?: string | undefined;
413
426
  subType?: number | undefined;
414
427
  chainId?: number | undefined;
415
428
  startTimestamp?: string | undefined;
@@ -447,7 +460,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
447
460
  id: string;
448
461
  computeChainId: number;
449
462
  distributionChainId: number;
450
- identifier: string;
451
463
  campaignId: string;
452
464
  type: import("../../../database/api/.generated").$Enums.CampaignType;
453
465
  subType: number | null;
@@ -471,7 +483,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
471
483
  query: {
472
484
  type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
473
485
  items?: number | undefined;
474
- identifier?: string | undefined;
475
486
  subType?: number | undefined;
476
487
  chainId?: number | undefined;
477
488
  startTimestamp?: string | undefined;
@@ -795,7 +806,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
795
806
  response: {
796
807
  200: {
797
808
  Campaign: {
798
- identifier: string;
799
809
  campaignId: string;
800
810
  };
801
811
  amount: string;
@@ -378,10 +378,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
378
378
  index: {
379
379
  post: {
380
380
  body: {
381
+ identifier?: string | undefined;
381
382
  subType?: number | undefined;
382
383
  type: number;
383
384
  params: string;
384
- identifier: string;
385
385
  chainId: number;
386
386
  startTimestamp: string;
387
387
  endTimestamp: string;
@@ -398,7 +398,21 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
398
398
  authorization: string;
399
399
  };
400
400
  response: {
401
- 200: unknown;
401
+ 200: {
402
+ id: string;
403
+ computeChainId: number;
404
+ distributionChainId: number;
405
+ campaignId: string;
406
+ type: import("../../../database/api/.generated").$Enums.CampaignType;
407
+ subType: number | null;
408
+ rewardTokenId: string;
409
+ amount: string;
410
+ opportunityId: string;
411
+ startTimestamp: bigint;
412
+ endTimestamp: bigint;
413
+ params: import("../../../database/api/.generated").Prisma.JsonValue;
414
+ creatorAddress: string;
415
+ } | undefined;
402
416
  };
403
417
  };
404
418
  };
@@ -412,7 +426,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
412
426
  query: {
413
427
  type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
414
428
  items?: number | undefined;
415
- identifier?: string | undefined;
416
429
  subType?: number | undefined;
417
430
  chainId?: number | undefined;
418
431
  startTimestamp?: string | undefined;
@@ -450,7 +463,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
450
463
  id: string;
451
464
  computeChainId: number;
452
465
  distributionChainId: number;
453
- identifier: string;
454
466
  campaignId: string;
455
467
  type: import("../../../database/api/.generated").$Enums.CampaignType;
456
468
  subType: number | null;
@@ -474,7 +486,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
474
486
  query: {
475
487
  type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
476
488
  items?: number | undefined;
477
- identifier?: string | undefined;
478
489
  subType?: number | undefined;
479
490
  chainId?: number | undefined;
480
491
  startTimestamp?: string | undefined;
@@ -798,7 +809,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
798
809
  response: {
799
810
  200: {
800
811
  Campaign: {
801
- identifier: string;
802
812
  campaignId: string;
803
813
  };
804
814
  amount: string;
@@ -369,10 +369,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
369
369
  index: {
370
370
  post: {
371
371
  body: {
372
+ identifier?: string | undefined;
372
373
  subType?: number | undefined;
373
374
  type: number;
374
375
  params: string;
375
- identifier: string;
376
376
  chainId: number;
377
377
  startTimestamp: string;
378
378
  endTimestamp: string;
@@ -389,7 +389,21 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
389
389
  authorization: string;
390
390
  };
391
391
  response: {
392
- 200: unknown;
392
+ 200: {
393
+ id: string;
394
+ computeChainId: number;
395
+ distributionChainId: number;
396
+ campaignId: string;
397
+ type: import("../../../database/api/.generated").$Enums.CampaignType;
398
+ subType: number | null;
399
+ rewardTokenId: string;
400
+ amount: string;
401
+ opportunityId: string;
402
+ startTimestamp: bigint;
403
+ endTimestamp: bigint;
404
+ params: import("../../../database/api/.generated").Prisma.JsonValue;
405
+ creatorAddress: string;
406
+ } | undefined;
393
407
  };
394
408
  };
395
409
  };
@@ -403,7 +417,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
403
417
  query: {
404
418
  type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
405
419
  items?: number | undefined;
406
- identifier?: string | undefined;
407
420
  subType?: number | undefined;
408
421
  chainId?: number | undefined;
409
422
  startTimestamp?: string | undefined;
@@ -441,7 +454,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
441
454
  id: string;
442
455
  computeChainId: number;
443
456
  distributionChainId: number;
444
- identifier: string;
445
457
  campaignId: string;
446
458
  type: import("../../../database/api/.generated").$Enums.CampaignType;
447
459
  subType: number | null;
@@ -465,7 +477,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
465
477
  query: {
466
478
  type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
467
479
  items?: number | undefined;
468
- identifier?: string | undefined;
469
480
  subType?: number | undefined;
470
481
  chainId?: number | undefined;
471
482
  startTimestamp?: string | undefined;
@@ -789,7 +800,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
789
800
  response: {
790
801
  200: {
791
802
  Campaign: {
792
- identifier: string;
793
803
  campaignId: string;
794
804
  };
795
805
  amount: string;
@@ -374,10 +374,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
374
374
  index: {
375
375
  post: {
376
376
  body: {
377
+ identifier?: string | undefined;
377
378
  subType?: number | undefined;
378
379
  type: number;
379
380
  params: string;
380
- identifier: string;
381
381
  chainId: number;
382
382
  startTimestamp: string;
383
383
  endTimestamp: string;
@@ -394,7 +394,21 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
394
394
  authorization: string;
395
395
  };
396
396
  response: {
397
- 200: unknown;
397
+ 200: {
398
+ id: string;
399
+ computeChainId: number;
400
+ distributionChainId: number;
401
+ campaignId: string;
402
+ type: import("../../../database/api/.generated").$Enums.CampaignType;
403
+ subType: number | null;
404
+ rewardTokenId: string;
405
+ amount: string;
406
+ opportunityId: string;
407
+ startTimestamp: bigint;
408
+ endTimestamp: bigint;
409
+ params: import("../../../database/api/.generated").Prisma.JsonValue;
410
+ creatorAddress: string;
411
+ } | undefined;
398
412
  };
399
413
  };
400
414
  };
@@ -408,7 +422,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
408
422
  query: {
409
423
  type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
410
424
  items?: number | undefined;
411
- identifier?: string | undefined;
412
425
  subType?: number | undefined;
413
426
  chainId?: number | undefined;
414
427
  startTimestamp?: string | undefined;
@@ -446,7 +459,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
446
459
  id: string;
447
460
  computeChainId: number;
448
461
  distributionChainId: number;
449
- identifier: string;
450
462
  campaignId: string;
451
463
  type: import("../../../database/api/.generated").$Enums.CampaignType;
452
464
  subType: number | null;
@@ -470,7 +482,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
470
482
  query: {
471
483
  type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
472
484
  items?: number | undefined;
473
- identifier?: string | undefined;
474
485
  subType?: number | undefined;
475
486
  chainId?: number | undefined;
476
487
  startTimestamp?: string | undefined;
@@ -794,7 +805,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
794
805
  response: {
795
806
  200: {
796
807
  Campaign: {
797
- identifier: string;
798
808
  campaignId: string;
799
809
  };
800
810
  amount: string;
@@ -392,10 +392,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
392
392
  index: {
393
393
  post: {
394
394
  body: {
395
+ identifier?: string | undefined;
395
396
  subType?: number | undefined;
396
397
  type: number;
397
398
  params: string;
398
- identifier: string;
399
399
  chainId: number;
400
400
  startTimestamp: string;
401
401
  endTimestamp: string;
@@ -412,7 +412,21 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
412
412
  authorization: string;
413
413
  };
414
414
  response: {
415
- 200: unknown;
415
+ 200: {
416
+ id: string;
417
+ computeChainId: number;
418
+ distributionChainId: number;
419
+ campaignId: string;
420
+ type: import("../../../database/api/.generated").$Enums.CampaignType;
421
+ subType: number | null;
422
+ rewardTokenId: string;
423
+ amount: string;
424
+ opportunityId: string;
425
+ startTimestamp: bigint;
426
+ endTimestamp: bigint;
427
+ params: import("../../../database/api/.generated").Prisma.JsonValue;
428
+ creatorAddress: string;
429
+ } | undefined;
416
430
  };
417
431
  };
418
432
  };
@@ -426,7 +440,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
426
440
  query: {
427
441
  type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
428
442
  items?: number | undefined;
429
- identifier?: string | undefined;
430
443
  subType?: number | undefined;
431
444
  chainId?: number | undefined;
432
445
  startTimestamp?: string | undefined;
@@ -464,7 +477,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
464
477
  id: string;
465
478
  computeChainId: number;
466
479
  distributionChainId: number;
467
- identifier: string;
468
480
  campaignId: string;
469
481
  type: import("../../../database/api/.generated").$Enums.CampaignType;
470
482
  subType: number | null;
@@ -488,7 +500,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
488
500
  query: {
489
501
  type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
490
502
  items?: number | undefined;
491
- identifier?: string | undefined;
492
503
  subType?: number | undefined;
493
504
  chainId?: number | undefined;
494
505
  startTimestamp?: string | undefined;
@@ -812,7 +823,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
812
823
  response: {
813
824
  200: {
814
825
  Campaign: {
815
- identifier: string;
816
826
  campaignId: string;
817
827
  };
818
828
  amount: string;
@@ -393,10 +393,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
393
393
  index: {
394
394
  post: {
395
395
  body: {
396
+ identifier?: string | undefined;
396
397
  subType?: number | undefined;
397
398
  type: number;
398
399
  params: string;
399
- identifier: string;
400
400
  chainId: number;
401
401
  startTimestamp: string;
402
402
  endTimestamp: string;
@@ -413,7 +413,21 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
413
413
  authorization: string;
414
414
  };
415
415
  response: {
416
- 200: unknown;
416
+ 200: {
417
+ id: string;
418
+ computeChainId: number;
419
+ distributionChainId: number;
420
+ campaignId: string;
421
+ type: import("../../../database/api/.generated").$Enums.CampaignType;
422
+ subType: number | null;
423
+ rewardTokenId: string;
424
+ amount: string;
425
+ opportunityId: string;
426
+ startTimestamp: bigint;
427
+ endTimestamp: bigint;
428
+ params: import("../../../database/api/.generated").Prisma.JsonValue;
429
+ creatorAddress: string;
430
+ } | undefined;
417
431
  };
418
432
  };
419
433
  };
@@ -427,7 +441,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
427
441
  query: {
428
442
  type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
429
443
  items?: number | undefined;
430
- identifier?: string | undefined;
431
444
  subType?: number | undefined;
432
445
  chainId?: number | undefined;
433
446
  startTimestamp?: string | undefined;
@@ -465,7 +478,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
465
478
  id: string;
466
479
  computeChainId: number;
467
480
  distributionChainId: number;
468
- identifier: string;
469
481
  campaignId: string;
470
482
  type: import("../../../database/api/.generated").$Enums.CampaignType;
471
483
  subType: number | null;
@@ -489,7 +501,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
489
501
  query: {
490
502
  type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
491
503
  items?: number | undefined;
492
- identifier?: string | undefined;
493
504
  subType?: number | undefined;
494
505
  chainId?: number | undefined;
495
506
  startTimestamp?: string | undefined;
@@ -813,7 +824,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
813
824
  response: {
814
825
  200: {
815
826
  Campaign: {
816
- identifier: string;
817
827
  campaignId: string;
818
828
  };
819
829
  amount: string;
@@ -375,10 +375,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
375
375
  index: {
376
376
  post: {
377
377
  body: {
378
+ identifier?: string | undefined;
378
379
  subType?: number | undefined;
379
380
  type: number;
380
381
  params: string;
381
- identifier: string;
382
382
  chainId: number;
383
383
  startTimestamp: string;
384
384
  endTimestamp: string;
@@ -395,7 +395,21 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
395
395
  authorization: string;
396
396
  };
397
397
  response: {
398
- 200: unknown;
398
+ 200: {
399
+ id: string;
400
+ computeChainId: number;
401
+ distributionChainId: number;
402
+ campaignId: string;
403
+ type: import("../../../database/api/.generated").$Enums.CampaignType;
404
+ subType: number | null;
405
+ rewardTokenId: string;
406
+ amount: string;
407
+ opportunityId: string;
408
+ startTimestamp: bigint;
409
+ endTimestamp: bigint;
410
+ params: import("../../../database/api/.generated").Prisma.JsonValue;
411
+ creatorAddress: string;
412
+ } | undefined;
399
413
  };
400
414
  };
401
415
  };
@@ -409,7 +423,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
409
423
  query: {
410
424
  type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
411
425
  items?: number | undefined;
412
- identifier?: string | undefined;
413
426
  subType?: number | undefined;
414
427
  chainId?: number | undefined;
415
428
  startTimestamp?: string | undefined;
@@ -447,7 +460,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
447
460
  id: string;
448
461
  computeChainId: number;
449
462
  distributionChainId: number;
450
- identifier: string;
451
463
  campaignId: string;
452
464
  type: import("../../../database/api/.generated").$Enums.CampaignType;
453
465
  subType: number | null;
@@ -471,7 +483,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
471
483
  query: {
472
484
  type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
473
485
  items?: number | undefined;
474
- identifier?: string | undefined;
475
486
  subType?: number | undefined;
476
487
  chainId?: number | undefined;
477
488
  startTimestamp?: string | undefined;
@@ -795,7 +806,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
795
806
  response: {
796
807
  200: {
797
808
  Campaign: {
798
- identifier: string;
799
809
  campaignId: string;
800
810
  };
801
811
  amount: string;
@@ -376,10 +376,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
376
376
  index: {
377
377
  post: {
378
378
  body: {
379
+ identifier?: string | undefined;
379
380
  subType?: number | undefined;
380
381
  type: number;
381
382
  params: string;
382
- identifier: string;
383
383
  chainId: number;
384
384
  startTimestamp: string;
385
385
  endTimestamp: string;
@@ -396,7 +396,21 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
396
396
  authorization: string;
397
397
  };
398
398
  response: {
399
- 200: unknown;
399
+ 200: {
400
+ id: string;
401
+ computeChainId: number;
402
+ distributionChainId: number;
403
+ campaignId: string;
404
+ type: import("../../../database/api/.generated").$Enums.CampaignType;
405
+ subType: number | null;
406
+ rewardTokenId: string;
407
+ amount: string;
408
+ opportunityId: string;
409
+ startTimestamp: bigint;
410
+ endTimestamp: bigint;
411
+ params: import("../../../database/api/.generated").Prisma.JsonValue;
412
+ creatorAddress: string;
413
+ } | undefined;
400
414
  };
401
415
  };
402
416
  };
@@ -410,7 +424,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
410
424
  query: {
411
425
  type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
412
426
  items?: number | undefined;
413
- identifier?: string | undefined;
414
427
  subType?: number | undefined;
415
428
  chainId?: number | undefined;
416
429
  startTimestamp?: string | undefined;
@@ -448,7 +461,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
448
461
  id: string;
449
462
  computeChainId: number;
450
463
  distributionChainId: number;
451
- identifier: string;
452
464
  campaignId: string;
453
465
  type: import("../../../database/api/.generated").$Enums.CampaignType;
454
466
  subType: number | null;
@@ -472,7 +484,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
472
484
  query: {
473
485
  type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
474
486
  items?: number | undefined;
475
- identifier?: string | undefined;
476
487
  subType?: number | undefined;
477
488
  chainId?: number | undefined;
478
489
  startTimestamp?: string | undefined;
@@ -796,7 +807,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
796
807
  response: {
797
808
  200: {
798
809
  Campaign: {
799
- identifier: string;
800
810
  campaignId: string;
801
811
  };
802
812
  amount: string;
@@ -378,10 +378,10 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
378
378
  index: {
379
379
  post: {
380
380
  body: {
381
+ identifier?: string | undefined;
381
382
  subType?: number | undefined;
382
383
  type: number;
383
384
  params: string;
384
- identifier: string;
385
385
  chainId: number;
386
386
  startTimestamp: string;
387
387
  endTimestamp: string;
@@ -398,7 +398,21 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
398
398
  authorization: string;
399
399
  };
400
400
  response: {
401
- 200: unknown;
401
+ 200: {
402
+ id: string;
403
+ computeChainId: number;
404
+ distributionChainId: number;
405
+ campaignId: string;
406
+ type: import("../../../database/api/.generated").$Enums.CampaignType;
407
+ subType: number | null;
408
+ rewardTokenId: string;
409
+ amount: string;
410
+ opportunityId: string;
411
+ startTimestamp: bigint;
412
+ endTimestamp: bigint;
413
+ params: import("../../../database/api/.generated").Prisma.JsonValue;
414
+ creatorAddress: string;
415
+ } | undefined;
402
416
  };
403
417
  };
404
418
  };
@@ -412,7 +426,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
412
426
  query: {
413
427
  type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
414
428
  items?: number | undefined;
415
- identifier?: string | undefined;
416
429
  subType?: number | undefined;
417
430
  chainId?: number | undefined;
418
431
  startTimestamp?: string | undefined;
@@ -450,7 +463,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
450
463
  id: string;
451
464
  computeChainId: number;
452
465
  distributionChainId: number;
453
- identifier: string;
454
466
  campaignId: string;
455
467
  type: import("../../../database/api/.generated").$Enums.CampaignType;
456
468
  subType: number | null;
@@ -474,7 +486,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
474
486
  query: {
475
487
  type?: "INVALID" | "ERC20" | "CLAMM" | "ERC20_SNAPSHOT" | "JSON_AIRDROP" | "SILO" | "RADIANT" | "MORPHO" | "DOLOMITE" | "BADGER" | "COMPOUND" | "AJNA" | "EULER" | "UNISWAP_V4" | undefined;
476
488
  items?: number | undefined;
477
- identifier?: string | undefined;
478
489
  subType?: number | undefined;
479
490
  chainId?: number | undefined;
480
491
  startTimestamp?: string | undefined;
@@ -798,7 +809,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
798
809
  response: {
799
810
  200: {
800
811
  Campaign: {
801
- identifier: string;
802
812
  campaignId: string;
803
813
  };
804
814
  amount: string;