@merkl/api 1.18.12 → 1.18.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/dist/src/eden/index.d.ts +84 -4
  2. package/dist/src/engine/implementations/ErcMultiToken/metadata.d.ts +1 -1
  3. package/dist/src/engine/implementations/StabullStaking/metadata.d.ts +1 -1
  4. package/dist/src/engine/implementations/clamm/tvl.abstract.d.ts +1 -1
  5. package/dist/src/engine/metadata/factory.js.map +1 -1
  6. package/dist/src/engine/tvl/factory.js.map +1 -1
  7. package/dist/src/index.d.ts +94 -2
  8. package/dist/src/modules/v4/campaign/campaign.query-transformer.d.ts +131 -131
  9. package/dist/src/modules/v4/clamm/clamm.controller.d.ts +2 -2
  10. package/dist/src/modules/v4/historical/historical.controller.d.ts +95 -0
  11. package/dist/src/modules/v4/historical/historical.controller.js.map +1 -0
  12. package/dist/src/modules/v4/historical/historical.model.d.ts +38 -0
  13. package/dist/src/modules/v4/historical/historical.model.js.map +1 -0
  14. package/dist/src/modules/v4/historical/historical.service.d.ts +16 -0
  15. package/dist/src/modules/v4/historical/historical.service.js.map +1 -0
  16. package/dist/src/modules/v4/leaf/leaf.service.js.map +1 -1
  17. package/dist/src/modules/v4/merklRoot/merklRoot.repository.d.ts +10 -0
  18. package/dist/src/modules/v4/merklRoot/merklRoot.repository.js.map +1 -1
  19. package/dist/src/modules/v4/merklRoot/merklRoot.service.d.ts +11 -1
  20. package/dist/src/modules/v4/merklRoot/merklRoot.service.js.map +1 -1
  21. package/dist/src/modules/v4/opportunity/opportunity.query-transformer.d.ts +33 -33
  22. package/dist/src/modules/v4/router.d.ts +94 -2
  23. package/dist/src/modules/v4/router.js.map +1 -1
  24. package/dist/src/modules/v4/transaction/transaction.service.d.ts +168 -120
  25. package/dist/src/modules/v4/uniswap/uniswap.controller.d.ts +26 -0
  26. package/dist/src/modules/v4/uniswap/uniswap.service.d.ts +28 -0
  27. package/dist/src/plugins/errorHandler.js.map +1 -1
  28. package/dist/src/routes/v3/merkl.js.map +1 -1
  29. package/dist/src/routes/v3/rewards.js.map +1 -1
  30. package/dist/src/scripts/bench-merkl.js.map +1 -1
  31. package/dist/src/scripts/ingest-tree-all.js.map +1 -1
  32. package/dist/src/scripts/ingest-tree-history.d.ts +19 -0
  33. package/dist/src/scripts/ingest-tree-history.js.map +1 -0
  34. package/dist/src/scripts/ingest-tree.js.map +1 -1
  35. package/dist/src/scripts/perf-tree.js.map +1 -1
  36. package/dist/src/scripts/verify-tree.js.map +1 -1
  37. package/dist/src/utils/getAPR.d.ts +28 -4
  38. package/dist/src/utils/parseDistributionType.d.ts +304 -280
  39. package/dist/src/utils/providers.d.ts +4 -0
  40. package/dist/src/utils/throw.js.map +1 -1
  41. package/dist/tsconfig.tsbuildinfo +1 -1
  42. package/package.json +1 -1
@@ -191,11 +191,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
191
191
  };
192
192
  displaySymbol?: undefined;
193
193
  } | {
194
- symbol?: undefined;
195
194
  displaySymbol: {
196
195
  equals: string;
197
196
  mode: "insensitive";
198
197
  };
198
+ symbol?: undefined;
199
199
  })[] | undefined;
200
200
  isTest: false | undefined;
201
201
  type: {
@@ -204,12 +204,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
204
204
  };
205
205
  };
206
206
  Creator: {
207
- tags?: undefined;
208
207
  OR: ({
209
- tags?: undefined;
210
208
  Creator: {
211
209
  id: string;
212
210
  };
211
+ tags?: undefined;
213
212
  } | {
214
213
  Creator?: undefined;
215
214
  tags: {
@@ -217,9 +216,10 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
217
216
  };
218
217
  })[];
219
218
  Creator?: undefined;
220
- } | {
221
219
  tags?: undefined;
220
+ } | {
222
221
  OR?: undefined;
222
+ tags?: undefined;
223
223
  Creator: {
224
224
  id: string;
225
225
  };
@@ -238,13 +238,13 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
238
238
  in: import("@package/resources/enums").DistributionType[];
239
239
  } | undefined;
240
240
  rootCampaignId: {
241
- not?: undefined;
242
241
  equals: string;
243
242
  mode: "insensitive";
244
- } | {
245
243
  not?: undefined;
244
+ } | {
246
245
  mode?: undefined;
247
246
  equals: null;
247
+ not?: undefined;
248
248
  } | {
249
249
  mode?: undefined;
250
250
  equals?: undefined;
@@ -256,49 +256,46 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
256
256
  } | undefined;
257
257
  AND: {
258
258
  OR: ({
259
- campaignId?: undefined;
260
- creatorAddress?: undefined;
261
- RewardToken?: undefined;
262
259
  id: {
263
260
  contains: string;
264
261
  mode: "insensitive";
265
262
  };
266
- Opportunity?: undefined;
267
- } | {
268
- id?: undefined;
269
263
  creatorAddress?: undefined;
264
+ Opportunity?: undefined;
270
265
  RewardToken?: undefined;
266
+ campaignId?: undefined;
267
+ } | {
271
268
  campaignId: {
272
269
  contains: string;
273
270
  mode: "insensitive";
274
271
  };
272
+ creatorAddress?: undefined;
275
273
  Opportunity?: undefined;
276
- } | {
277
- id?: undefined;
278
- campaignId?: undefined;
279
274
  RewardToken?: undefined;
275
+ id?: undefined;
276
+ } | {
280
277
  creatorAddress: {
281
278
  contains: string;
282
279
  mode: "insensitive";
283
280
  };
284
281
  Opportunity?: undefined;
285
- } | {
286
- id?: undefined;
282
+ RewardToken?: undefined;
287
283
  campaignId?: undefined;
284
+ id?: undefined;
285
+ } | {
288
286
  creatorAddress?: undefined;
289
- RewardToken?: undefined;
290
287
  Opportunity: {
291
- mainProtocolId?: undefined;
292
288
  identifier: {
293
289
  contains: string;
294
290
  mode: "insensitive";
295
291
  };
292
+ mainProtocolId?: undefined;
296
293
  };
297
- } | {
298
- id?: undefined;
294
+ RewardToken?: undefined;
299
295
  campaignId?: undefined;
296
+ id?: undefined;
297
+ } | {
300
298
  creatorAddress?: undefined;
301
- RewardToken?: undefined;
302
299
  Opportunity: {
303
300
  identifier?: undefined;
304
301
  mainProtocolId: {
@@ -306,26 +303,27 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
306
303
  mode: "insensitive";
307
304
  };
308
305
  };
309
- } | {
310
- id?: undefined;
306
+ RewardToken?: undefined;
311
307
  campaignId?: undefined;
308
+ id?: undefined;
309
+ } | {
312
310
  creatorAddress?: undefined;
313
311
  Opportunity?: undefined;
314
312
  RewardToken: {
315
313
  OR: ({
316
- address?: undefined;
317
314
  symbol: {
318
315
  contains: string;
319
316
  mode: "insensitive";
320
317
  };
321
318
  displaySymbol?: undefined;
319
+ address?: undefined;
322
320
  } | {
323
321
  symbol?: undefined;
324
- address?: undefined;
325
322
  displaySymbol: {
326
323
  contains: string;
327
324
  mode: "insensitive";
328
325
  };
326
+ address?: undefined;
329
327
  } | {
330
328
  symbol?: undefined;
331
329
  displaySymbol?: undefined;
@@ -335,6 +333,8 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
335
333
  };
336
334
  })[];
337
335
  };
336
+ campaignId?: undefined;
337
+ id?: undefined;
338
338
  })[];
339
339
  }[] | undefined;
340
340
  } | {
@@ -343,7 +343,6 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
343
343
  gt?: undefined;
344
344
  gte?: undefined;
345
345
  };
346
- startTimestamp?: undefined;
347
346
  OR: {
348
347
  id: string;
349
348
  }[] | ({
@@ -415,11 +414,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
415
414
  };
416
415
  displaySymbol?: undefined;
417
416
  } | {
418
- symbol?: undefined;
419
417
  displaySymbol: {
420
418
  equals: string;
421
419
  mode: "insensitive";
422
420
  };
421
+ symbol?: undefined;
423
422
  })[] | undefined;
424
423
  isTest: false | undefined;
425
424
  type: {
@@ -428,12 +427,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
428
427
  };
429
428
  };
430
429
  Creator: {
431
- tags?: undefined;
432
430
  OR: ({
433
- tags?: undefined;
434
431
  Creator: {
435
432
  id: string;
436
433
  };
434
+ tags?: undefined;
437
435
  } | {
438
436
  Creator?: undefined;
439
437
  tags: {
@@ -441,9 +439,10 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
441
439
  };
442
440
  })[];
443
441
  Creator?: undefined;
444
- } | {
445
442
  tags?: undefined;
443
+ } | {
446
444
  OR?: undefined;
445
+ tags?: undefined;
447
446
  Creator: {
448
447
  id: string;
449
448
  };
@@ -462,13 +461,13 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
462
461
  in: import("@package/resources/enums").DistributionType[];
463
462
  } | undefined;
464
463
  rootCampaignId: {
465
- not?: undefined;
466
464
  equals: string;
467
465
  mode: "insensitive";
468
- } | {
469
466
  not?: undefined;
467
+ } | {
470
468
  mode?: undefined;
471
469
  equals: null;
470
+ not?: undefined;
472
471
  } | {
473
472
  mode?: undefined;
474
473
  equals?: undefined;
@@ -480,49 +479,46 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
480
479
  } | undefined;
481
480
  AND: {
482
481
  OR: ({
483
- campaignId?: undefined;
484
- creatorAddress?: undefined;
485
- RewardToken?: undefined;
486
482
  id: {
487
483
  contains: string;
488
484
  mode: "insensitive";
489
485
  };
490
- Opportunity?: undefined;
491
- } | {
492
- id?: undefined;
493
486
  creatorAddress?: undefined;
487
+ Opportunity?: undefined;
494
488
  RewardToken?: undefined;
489
+ campaignId?: undefined;
490
+ } | {
495
491
  campaignId: {
496
492
  contains: string;
497
493
  mode: "insensitive";
498
494
  };
495
+ creatorAddress?: undefined;
499
496
  Opportunity?: undefined;
500
- } | {
501
- id?: undefined;
502
- campaignId?: undefined;
503
497
  RewardToken?: undefined;
498
+ id?: undefined;
499
+ } | {
504
500
  creatorAddress: {
505
501
  contains: string;
506
502
  mode: "insensitive";
507
503
  };
508
504
  Opportunity?: undefined;
509
- } | {
510
- id?: undefined;
505
+ RewardToken?: undefined;
511
506
  campaignId?: undefined;
507
+ id?: undefined;
508
+ } | {
512
509
  creatorAddress?: undefined;
513
- RewardToken?: undefined;
514
510
  Opportunity: {
515
- mainProtocolId?: undefined;
516
511
  identifier: {
517
512
  contains: string;
518
513
  mode: "insensitive";
519
514
  };
515
+ mainProtocolId?: undefined;
520
516
  };
521
- } | {
522
- id?: undefined;
517
+ RewardToken?: undefined;
523
518
  campaignId?: undefined;
519
+ id?: undefined;
520
+ } | {
524
521
  creatorAddress?: undefined;
525
- RewardToken?: undefined;
526
522
  Opportunity: {
527
523
  identifier?: undefined;
528
524
  mainProtocolId: {
@@ -530,26 +526,27 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
530
526
  mode: "insensitive";
531
527
  };
532
528
  };
533
- } | {
534
- id?: undefined;
529
+ RewardToken?: undefined;
535
530
  campaignId?: undefined;
531
+ id?: undefined;
532
+ } | {
536
533
  creatorAddress?: undefined;
537
534
  Opportunity?: undefined;
538
535
  RewardToken: {
539
536
  OR: ({
540
- address?: undefined;
541
537
  symbol: {
542
538
  contains: string;
543
539
  mode: "insensitive";
544
540
  };
545
541
  displaySymbol?: undefined;
542
+ address?: undefined;
546
543
  } | {
547
544
  symbol?: undefined;
548
- address?: undefined;
549
545
  displaySymbol: {
550
546
  contains: string;
551
547
  mode: "insensitive";
552
548
  };
549
+ address?: undefined;
553
550
  } | {
554
551
  symbol?: undefined;
555
552
  displaySymbol?: undefined;
@@ -559,8 +556,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
559
556
  };
560
557
  })[];
561
558
  };
559
+ campaignId?: undefined;
560
+ id?: undefined;
562
561
  })[];
563
562
  }[] | undefined;
563
+ startTimestamp?: undefined;
564
564
  } | {
565
565
  startTimestamp: {
566
566
  lte?: undefined;
@@ -639,11 +639,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
639
639
  };
640
640
  displaySymbol?: undefined;
641
641
  } | {
642
- symbol?: undefined;
643
642
  displaySymbol: {
644
643
  equals: string;
645
644
  mode: "insensitive";
646
645
  };
646
+ symbol?: undefined;
647
647
  })[] | undefined;
648
648
  isTest: false | undefined;
649
649
  type: {
@@ -652,12 +652,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
652
652
  };
653
653
  };
654
654
  Creator: {
655
- tags?: undefined;
656
655
  OR: ({
657
- tags?: undefined;
658
656
  Creator: {
659
657
  id: string;
660
658
  };
659
+ tags?: undefined;
661
660
  } | {
662
661
  Creator?: undefined;
663
662
  tags: {
@@ -665,9 +664,10 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
665
664
  };
666
665
  })[];
667
666
  Creator?: undefined;
668
- } | {
669
667
  tags?: undefined;
668
+ } | {
670
669
  OR?: undefined;
670
+ tags?: undefined;
671
671
  Creator: {
672
672
  id: string;
673
673
  };
@@ -686,13 +686,13 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
686
686
  in: import("@package/resources/enums").DistributionType[];
687
687
  } | undefined;
688
688
  rootCampaignId: {
689
- not?: undefined;
690
689
  equals: string;
691
690
  mode: "insensitive";
692
- } | {
693
691
  not?: undefined;
692
+ } | {
694
693
  mode?: undefined;
695
694
  equals: null;
695
+ not?: undefined;
696
696
  } | {
697
697
  mode?: undefined;
698
698
  equals?: undefined;
@@ -704,49 +704,46 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
704
704
  } | undefined;
705
705
  AND: {
706
706
  OR: ({
707
- campaignId?: undefined;
708
- creatorAddress?: undefined;
709
- RewardToken?: undefined;
710
707
  id: {
711
708
  contains: string;
712
709
  mode: "insensitive";
713
710
  };
714
- Opportunity?: undefined;
715
- } | {
716
- id?: undefined;
717
711
  creatorAddress?: undefined;
712
+ Opportunity?: undefined;
718
713
  RewardToken?: undefined;
714
+ campaignId?: undefined;
715
+ } | {
719
716
  campaignId: {
720
717
  contains: string;
721
718
  mode: "insensitive";
722
719
  };
720
+ creatorAddress?: undefined;
723
721
  Opportunity?: undefined;
724
- } | {
725
- id?: undefined;
726
- campaignId?: undefined;
727
722
  RewardToken?: undefined;
723
+ id?: undefined;
724
+ } | {
728
725
  creatorAddress: {
729
726
  contains: string;
730
727
  mode: "insensitive";
731
728
  };
732
729
  Opportunity?: undefined;
733
- } | {
734
- id?: undefined;
730
+ RewardToken?: undefined;
735
731
  campaignId?: undefined;
732
+ id?: undefined;
733
+ } | {
736
734
  creatorAddress?: undefined;
737
- RewardToken?: undefined;
738
735
  Opportunity: {
739
- mainProtocolId?: undefined;
740
736
  identifier: {
741
737
  contains: string;
742
738
  mode: "insensitive";
743
739
  };
740
+ mainProtocolId?: undefined;
744
741
  };
745
- } | {
746
- id?: undefined;
742
+ RewardToken?: undefined;
747
743
  campaignId?: undefined;
744
+ id?: undefined;
745
+ } | {
748
746
  creatorAddress?: undefined;
749
- RewardToken?: undefined;
750
747
  Opportunity: {
751
748
  identifier?: undefined;
752
749
  mainProtocolId: {
@@ -754,26 +751,27 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
754
751
  mode: "insensitive";
755
752
  };
756
753
  };
757
- } | {
758
- id?: undefined;
754
+ RewardToken?: undefined;
759
755
  campaignId?: undefined;
756
+ id?: undefined;
757
+ } | {
760
758
  creatorAddress?: undefined;
761
759
  Opportunity?: undefined;
762
760
  RewardToken: {
763
761
  OR: ({
764
- address?: undefined;
765
762
  symbol: {
766
763
  contains: string;
767
764
  mode: "insensitive";
768
765
  };
769
766
  displaySymbol?: undefined;
767
+ address?: undefined;
770
768
  } | {
771
769
  symbol?: undefined;
772
- address?: undefined;
773
770
  displaySymbol: {
774
771
  contains: string;
775
772
  mode: "insensitive";
776
773
  };
774
+ address?: undefined;
777
775
  } | {
778
776
  symbol?: undefined;
779
777
  displaySymbol?: undefined;
@@ -783,6 +781,8 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
783
781
  };
784
782
  })[];
785
783
  };
784
+ campaignId?: undefined;
785
+ id?: undefined;
786
786
  })[];
787
787
  }[] | undefined;
788
788
  } | {
@@ -867,11 +867,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
867
867
  };
868
868
  displaySymbol?: undefined;
869
869
  } | {
870
- symbol?: undefined;
871
870
  displaySymbol: {
872
871
  equals: string;
873
872
  mode: "insensitive";
874
873
  };
874
+ symbol?: undefined;
875
875
  })[] | undefined;
876
876
  isTest: false | undefined;
877
877
  type: {
@@ -880,12 +880,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
880
880
  };
881
881
  };
882
882
  Creator: {
883
- tags?: undefined;
884
883
  OR: ({
885
- tags?: undefined;
886
884
  Creator: {
887
885
  id: string;
888
886
  };
887
+ tags?: undefined;
889
888
  } | {
890
889
  Creator?: undefined;
891
890
  tags: {
@@ -893,9 +892,10 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
893
892
  };
894
893
  })[];
895
894
  Creator?: undefined;
896
- } | {
897
895
  tags?: undefined;
896
+ } | {
898
897
  OR?: undefined;
898
+ tags?: undefined;
899
899
  Creator: {
900
900
  id: string;
901
901
  };
@@ -914,13 +914,13 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
914
914
  in: import("@package/resources/enums").DistributionType[];
915
915
  } | undefined;
916
916
  rootCampaignId: {
917
- not?: undefined;
918
917
  equals: string;
919
918
  mode: "insensitive";
920
- } | {
921
919
  not?: undefined;
920
+ } | {
922
921
  mode?: undefined;
923
922
  equals: null;
923
+ not?: undefined;
924
924
  } | {
925
925
  mode?: undefined;
926
926
  equals?: undefined;
@@ -932,49 +932,46 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
932
932
  } | undefined;
933
933
  AND: {
934
934
  OR: ({
935
- campaignId?: undefined;
936
- creatorAddress?: undefined;
937
- RewardToken?: undefined;
938
935
  id: {
939
936
  contains: string;
940
937
  mode: "insensitive";
941
938
  };
942
- Opportunity?: undefined;
943
- } | {
944
- id?: undefined;
945
939
  creatorAddress?: undefined;
940
+ Opportunity?: undefined;
946
941
  RewardToken?: undefined;
942
+ campaignId?: undefined;
943
+ } | {
947
944
  campaignId: {
948
945
  contains: string;
949
946
  mode: "insensitive";
950
947
  };
948
+ creatorAddress?: undefined;
951
949
  Opportunity?: undefined;
952
- } | {
953
- id?: undefined;
954
- campaignId?: undefined;
955
950
  RewardToken?: undefined;
951
+ id?: undefined;
952
+ } | {
956
953
  creatorAddress: {
957
954
  contains: string;
958
955
  mode: "insensitive";
959
956
  };
960
957
  Opportunity?: undefined;
961
- } | {
962
- id?: undefined;
958
+ RewardToken?: undefined;
963
959
  campaignId?: undefined;
960
+ id?: undefined;
961
+ } | {
964
962
  creatorAddress?: undefined;
965
- RewardToken?: undefined;
966
963
  Opportunity: {
967
- mainProtocolId?: undefined;
968
964
  identifier: {
969
965
  contains: string;
970
966
  mode: "insensitive";
971
967
  };
968
+ mainProtocolId?: undefined;
972
969
  };
973
- } | {
974
- id?: undefined;
970
+ RewardToken?: undefined;
975
971
  campaignId?: undefined;
972
+ id?: undefined;
973
+ } | {
976
974
  creatorAddress?: undefined;
977
- RewardToken?: undefined;
978
975
  Opportunity: {
979
976
  identifier?: undefined;
980
977
  mainProtocolId: {
@@ -982,26 +979,27 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
982
979
  mode: "insensitive";
983
980
  };
984
981
  };
985
- } | {
986
- id?: undefined;
982
+ RewardToken?: undefined;
987
983
  campaignId?: undefined;
984
+ id?: undefined;
985
+ } | {
988
986
  creatorAddress?: undefined;
989
987
  Opportunity?: undefined;
990
988
  RewardToken: {
991
989
  OR: ({
992
- address?: undefined;
993
990
  symbol: {
994
991
  contains: string;
995
992
  mode: "insensitive";
996
993
  };
997
994
  displaySymbol?: undefined;
995
+ address?: undefined;
998
996
  } | {
999
997
  symbol?: undefined;
1000
- address?: undefined;
1001
998
  displaySymbol: {
1002
999
  contains: string;
1003
1000
  mode: "insensitive";
1004
1001
  };
1002
+ address?: undefined;
1005
1003
  } | {
1006
1004
  symbol?: undefined;
1007
1005
  displaySymbol?: undefined;
@@ -1011,6 +1009,8 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
1011
1009
  };
1012
1010
  })[];
1013
1011
  };
1012
+ campaignId?: undefined;
1013
+ id?: undefined;
1014
1014
  })[];
1015
1015
  }[] | undefined;
1016
1016
  } | {
@@ -1085,11 +1085,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
1085
1085
  };
1086
1086
  displaySymbol?: undefined;
1087
1087
  } | {
1088
- symbol?: undefined;
1089
1088
  displaySymbol: {
1090
1089
  equals: string;
1091
1090
  mode: "insensitive";
1092
1091
  };
1092
+ symbol?: undefined;
1093
1093
  })[] | undefined;
1094
1094
  isTest: false | undefined;
1095
1095
  type: {
@@ -1098,12 +1098,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
1098
1098
  };
1099
1099
  };
1100
1100
  Creator: {
1101
- tags?: undefined;
1102
1101
  OR: ({
1103
- tags?: undefined;
1104
1102
  Creator: {
1105
1103
  id: string;
1106
1104
  };
1105
+ tags?: undefined;
1107
1106
  } | {
1108
1107
  Creator?: undefined;
1109
1108
  tags: {
@@ -1111,9 +1110,10 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
1111
1110
  };
1112
1111
  })[];
1113
1112
  Creator?: undefined;
1114
- } | {
1115
1113
  tags?: undefined;
1114
+ } | {
1116
1115
  OR?: undefined;
1116
+ tags?: undefined;
1117
1117
  Creator: {
1118
1118
  id: string;
1119
1119
  };
@@ -1132,13 +1132,13 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
1132
1132
  in: import("@package/resources/enums").DistributionType[];
1133
1133
  } | undefined;
1134
1134
  rootCampaignId: {
1135
- not?: undefined;
1136
1135
  equals: string;
1137
1136
  mode: "insensitive";
1138
- } | {
1139
1137
  not?: undefined;
1138
+ } | {
1140
1139
  mode?: undefined;
1141
1140
  equals: null;
1141
+ not?: undefined;
1142
1142
  } | {
1143
1143
  mode?: undefined;
1144
1144
  equals?: undefined;
@@ -1150,49 +1150,46 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
1150
1150
  } | undefined;
1151
1151
  AND: {
1152
1152
  OR: ({
1153
- campaignId?: undefined;
1154
- creatorAddress?: undefined;
1155
- RewardToken?: undefined;
1156
1153
  id: {
1157
1154
  contains: string;
1158
1155
  mode: "insensitive";
1159
1156
  };
1160
- Opportunity?: undefined;
1161
- } | {
1162
- id?: undefined;
1163
1157
  creatorAddress?: undefined;
1158
+ Opportunity?: undefined;
1164
1159
  RewardToken?: undefined;
1160
+ campaignId?: undefined;
1161
+ } | {
1165
1162
  campaignId: {
1166
1163
  contains: string;
1167
1164
  mode: "insensitive";
1168
1165
  };
1166
+ creatorAddress?: undefined;
1169
1167
  Opportunity?: undefined;
1170
- } | {
1171
- id?: undefined;
1172
- campaignId?: undefined;
1173
1168
  RewardToken?: undefined;
1169
+ id?: undefined;
1170
+ } | {
1174
1171
  creatorAddress: {
1175
1172
  contains: string;
1176
1173
  mode: "insensitive";
1177
1174
  };
1178
1175
  Opportunity?: undefined;
1179
- } | {
1180
- id?: undefined;
1176
+ RewardToken?: undefined;
1181
1177
  campaignId?: undefined;
1178
+ id?: undefined;
1179
+ } | {
1182
1180
  creatorAddress?: undefined;
1183
- RewardToken?: undefined;
1184
1181
  Opportunity: {
1185
- mainProtocolId?: undefined;
1186
1182
  identifier: {
1187
1183
  contains: string;
1188
1184
  mode: "insensitive";
1189
1185
  };
1186
+ mainProtocolId?: undefined;
1190
1187
  };
1191
- } | {
1192
- id?: undefined;
1188
+ RewardToken?: undefined;
1193
1189
  campaignId?: undefined;
1190
+ id?: undefined;
1191
+ } | {
1194
1192
  creatorAddress?: undefined;
1195
- RewardToken?: undefined;
1196
1193
  Opportunity: {
1197
1194
  identifier?: undefined;
1198
1195
  mainProtocolId: {
@@ -1200,26 +1197,27 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
1200
1197
  mode: "insensitive";
1201
1198
  };
1202
1199
  };
1203
- } | {
1204
- id?: undefined;
1200
+ RewardToken?: undefined;
1205
1201
  campaignId?: undefined;
1202
+ id?: undefined;
1203
+ } | {
1206
1204
  creatorAddress?: undefined;
1207
1205
  Opportunity?: undefined;
1208
1206
  RewardToken: {
1209
1207
  OR: ({
1210
- address?: undefined;
1211
1208
  symbol: {
1212
1209
  contains: string;
1213
1210
  mode: "insensitive";
1214
1211
  };
1215
1212
  displaySymbol?: undefined;
1213
+ address?: undefined;
1216
1214
  } | {
1217
1215
  symbol?: undefined;
1218
- address?: undefined;
1219
1216
  displaySymbol: {
1220
1217
  contains: string;
1221
1218
  mode: "insensitive";
1222
1219
  };
1220
+ address?: undefined;
1223
1221
  } | {
1224
1222
  symbol?: undefined;
1225
1223
  displaySymbol?: undefined;
@@ -1229,6 +1227,8 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
1229
1227
  };
1230
1228
  })[];
1231
1229
  };
1230
+ campaignId?: undefined;
1231
+ id?: undefined;
1232
1232
  })[];
1233
1233
  }[] | undefined;
1234
1234
  };