@merkl/api 1.8.25 → 1.8.26

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 (21) hide show
  1. package/dist/src/engine/deprecated/erc20SubTypeProcessors/helpers/ownerFinder.js.map +1 -1
  2. package/dist/src/engine/implementations/Erc20/subTypes/factories.js.map +1 -1
  3. package/dist/src/engine/implementations/Erc20/subTypes/implementations/bimexchange/metadata.d.ts +18 -0
  4. package/dist/src/engine/implementations/Erc20/subTypes/implementations/bimexchange/metadata.js.map +1 -0
  5. package/dist/src/engine/implementations/Erc20/subTypes/implementations/bimexchange/tvl.d.ts +7 -0
  6. package/dist/src/engine/implementations/Erc20/subTypes/implementations/bimexchange/tvl.js.map +1 -0
  7. package/dist/src/engine/implementations/Erc20/subTypes/index.d.ts +2 -1
  8. package/dist/src/engine/implementations/Erc20/subTypes/index.js.map +1 -1
  9. package/dist/src/engine/implementations/ErcMultiToken/metadata.d.ts +1 -1
  10. package/dist/src/engine/implementations/JsonAirdrop/metadata.d.ts +1 -1
  11. package/dist/src/engine/implementations/StabullStaking/metadata.d.ts +1 -1
  12. package/dist/src/engine/implementations/Transfer/metadata.js.map +1 -1
  13. package/dist/src/modules/v4/campaign/campaign.query-transformer.d.ts +144 -144
  14. package/dist/src/modules/v4/campaign/campaign.service.d.ts +1 -1
  15. package/dist/src/modules/v4/campaign/campaign.service.js.map +1 -1
  16. package/dist/src/modules/v4/opportunity/opportunity.query-transformer.d.ts +21 -21
  17. package/dist/src/modules/v4/tvl/tvl.service.js.map +1 -1
  18. package/dist/src/utils/getAPR.d.ts +75 -75
  19. package/dist/src/utils/parseDistributionType.d.ts +358 -358
  20. package/dist/tsconfig.tsbuildinfo +1 -1
  21. package/package.json +1 -1
@@ -102,6 +102,16 @@ export declare function getCampaignInclusionFromOpportunity(test: boolean, token
102
102
  */
103
103
  export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignModel, "page" | "items">): {
104
104
  where: {
105
+ endTimestamp: {
106
+ gt: number;
107
+ lt?: undefined;
108
+ gte?: undefined;
109
+ };
110
+ startTimestamp: {
111
+ lte: number;
112
+ gt?: undefined;
113
+ gte?: undefined;
114
+ };
105
115
  OR: {
106
116
  id: string;
107
117
  }[] | ({
@@ -171,11 +181,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
171
181
  };
172
182
  displaySymbol?: undefined;
173
183
  } | {
184
+ symbol?: undefined;
174
185
  displaySymbol: {
175
186
  equals: string;
176
187
  mode: "insensitive";
177
188
  };
178
- symbol?: undefined;
179
189
  })[] | undefined;
180
190
  isTest: false | undefined;
181
191
  type: {
@@ -184,11 +194,12 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
184
194
  };
185
195
  };
186
196
  Creator: {
197
+ tags?: undefined;
187
198
  OR: ({
199
+ tags?: undefined;
188
200
  Creator: {
189
201
  id: string;
190
202
  };
191
- tags?: undefined;
192
203
  } | {
193
204
  Creator?: undefined;
194
205
  tags: {
@@ -196,13 +207,12 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
196
207
  };
197
208
  })[];
198
209
  Creator?: undefined;
199
- tags?: undefined;
200
210
  } | {
211
+ tags?: undefined;
201
212
  OR?: undefined;
202
213
  Creator: {
203
214
  id: string;
204
215
  };
205
- tags?: undefined;
206
216
  } | {
207
217
  OR?: undefined;
208
218
  Creator?: undefined;
@@ -217,13 +227,13 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
217
227
  in: import("@package/resources/enums").DistributionType[];
218
228
  } | undefined;
219
229
  rootCampaignId: {
230
+ not?: undefined;
220
231
  equals: string;
221
232
  mode: "insensitive";
222
- not?: undefined;
223
233
  } | {
234
+ not?: undefined;
224
235
  mode?: undefined;
225
236
  equals: null;
226
- not?: undefined;
227
237
  } | {
228
238
  mode?: undefined;
229
239
  equals?: undefined;
@@ -235,88 +245,94 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
235
245
  } | undefined;
236
246
  AND: {
237
247
  OR: ({
248
+ campaignId?: undefined;
249
+ creatorAddress?: undefined;
250
+ RewardToken?: undefined;
238
251
  id: {
239
252
  contains: string;
240
253
  mode: "insensitive";
241
254
  };
242
255
  Opportunity?: undefined;
243
- campaignId?: undefined;
256
+ } | {
257
+ id?: undefined;
244
258
  creatorAddress?: undefined;
245
259
  RewardToken?: undefined;
246
- } | {
247
260
  campaignId: {
248
261
  contains: string;
249
262
  mode: "insensitive";
250
263
  };
251
264
  Opportunity?: undefined;
265
+ } | {
252
266
  id?: undefined;
253
- creatorAddress?: undefined;
267
+ campaignId?: undefined;
254
268
  RewardToken?: undefined;
255
- } | {
256
269
  creatorAddress: {
257
270
  contains: string;
258
271
  mode: "insensitive";
259
272
  };
260
273
  Opportunity?: undefined;
274
+ } | {
261
275
  id?: undefined;
262
276
  campaignId?: undefined;
277
+ creatorAddress?: undefined;
263
278
  RewardToken?: undefined;
264
- } | {
265
279
  Opportunity: {
280
+ mainProtocolId?: undefined;
266
281
  identifier: {
267
282
  contains: string;
268
283
  mode: "insensitive";
269
284
  };
270
- mainProtocolId?: undefined;
271
285
  };
286
+ } | {
272
287
  id?: undefined;
273
288
  campaignId?: undefined;
274
289
  creatorAddress?: undefined;
275
290
  RewardToken?: undefined;
276
- } | {
277
291
  Opportunity: {
292
+ identifier?: undefined;
278
293
  mainProtocolId: {
279
294
  contains: string;
280
295
  mode: "insensitive";
281
296
  };
282
- identifier?: undefined;
283
297
  };
298
+ } | {
284
299
  id?: undefined;
285
300
  campaignId?: undefined;
286
301
  creatorAddress?: undefined;
287
- RewardToken?: undefined;
288
- } | {
289
302
  Opportunity?: undefined;
290
303
  RewardToken: {
291
304
  OR: ({
305
+ address?: undefined;
292
306
  symbol: {
293
307
  contains: string;
294
308
  mode: "insensitive";
295
309
  };
296
310
  displaySymbol?: undefined;
297
- address?: undefined;
298
311
  } | {
312
+ symbol?: undefined;
313
+ address?: undefined;
299
314
  displaySymbol: {
300
315
  contains: string;
301
316
  mode: "insensitive";
302
317
  };
303
- symbol?: undefined;
304
- address?: undefined;
305
318
  } | {
319
+ symbol?: undefined;
306
320
  displaySymbol?: undefined;
307
321
  address: {
308
322
  contains: string;
309
323
  mode: "insensitive";
310
324
  };
311
- symbol?: undefined;
312
325
  })[];
313
326
  };
314
- id?: undefined;
315
- campaignId?: undefined;
316
- creatorAddress?: undefined;
317
327
  })[];
318
328
  }[] | undefined;
319
329
  } | {
330
+ endTimestamp: {
331
+ lt: number;
332
+ gt?: undefined;
333
+ gte?: undefined;
334
+ };
335
+ startTimestamp?: undefined;
320
336
  OR: {
321
337
  id: string;
322
338
  }[] | ({
@@ -386,11 +402,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
386
402
  };
387
403
  displaySymbol?: undefined;
388
404
  } | {
405
+ symbol?: undefined;
389
406
  displaySymbol: {
390
407
  equals: string;
391
408
  mode: "insensitive";
392
409
  };
393
- symbol?: undefined;
394
410
  })[] | undefined;
395
411
  isTest: false | undefined;
396
412
  type: {
@@ -399,11 +415,12 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
399
415
  };
400
416
  };
401
417
  Creator: {
418
+ tags?: undefined;
402
419
  OR: ({
420
+ tags?: undefined;
403
421
  Creator: {
404
422
  id: string;
405
423
  };
406
- tags?: undefined;
407
424
  } | {
408
425
  Creator?: undefined;
409
426
  tags: {
@@ -411,13 +428,12 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
411
428
  };
412
429
  })[];
413
430
  Creator?: undefined;
414
- tags?: undefined;
415
431
  } | {
432
+ tags?: undefined;
416
433
  OR?: undefined;
417
434
  Creator: {
418
435
  id: string;
419
436
  };
420
- tags?: undefined;
421
437
  } | {
422
438
  OR?: undefined;
423
439
  Creator?: undefined;
@@ -432,13 +448,13 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
432
448
  in: import("@package/resources/enums").DistributionType[];
433
449
  } | undefined;
434
450
  rootCampaignId: {
451
+ not?: undefined;
435
452
  equals: string;
436
453
  mode: "insensitive";
437
- not?: undefined;
438
454
  } | {
455
+ not?: undefined;
439
456
  mode?: undefined;
440
457
  equals: null;
441
- not?: undefined;
442
458
  } | {
443
459
  mode?: undefined;
444
460
  equals?: undefined;
@@ -450,98 +466,94 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
450
466
  } | undefined;
451
467
  AND: {
452
468
  OR: ({
469
+ campaignId?: undefined;
470
+ creatorAddress?: undefined;
471
+ RewardToken?: undefined;
453
472
  id: {
454
473
  contains: string;
455
474
  mode: "insensitive";
456
475
  };
457
476
  Opportunity?: undefined;
458
- campaignId?: undefined;
477
+ } | {
478
+ id?: undefined;
459
479
  creatorAddress?: undefined;
460
480
  RewardToken?: undefined;
461
- } | {
462
481
  campaignId: {
463
482
  contains: string;
464
483
  mode: "insensitive";
465
484
  };
466
485
  Opportunity?: undefined;
486
+ } | {
467
487
  id?: undefined;
468
- creatorAddress?: undefined;
488
+ campaignId?: undefined;
469
489
  RewardToken?: undefined;
470
- } | {
471
490
  creatorAddress: {
472
491
  contains: string;
473
492
  mode: "insensitive";
474
493
  };
475
494
  Opportunity?: undefined;
495
+ } | {
476
496
  id?: undefined;
477
497
  campaignId?: undefined;
498
+ creatorAddress?: undefined;
478
499
  RewardToken?: undefined;
479
- } | {
480
500
  Opportunity: {
501
+ mainProtocolId?: undefined;
481
502
  identifier: {
482
503
  contains: string;
483
504
  mode: "insensitive";
484
505
  };
485
- mainProtocolId?: undefined;
486
506
  };
507
+ } | {
487
508
  id?: undefined;
488
509
  campaignId?: undefined;
489
510
  creatorAddress?: undefined;
490
511
  RewardToken?: undefined;
491
- } | {
492
512
  Opportunity: {
513
+ identifier?: undefined;
493
514
  mainProtocolId: {
494
515
  contains: string;
495
516
  mode: "insensitive";
496
517
  };
497
- identifier?: undefined;
498
518
  };
519
+ } | {
499
520
  id?: undefined;
500
521
  campaignId?: undefined;
501
522
  creatorAddress?: undefined;
502
- RewardToken?: undefined;
503
- } | {
504
523
  Opportunity?: undefined;
505
524
  RewardToken: {
506
525
  OR: ({
526
+ address?: undefined;
507
527
  symbol: {
508
528
  contains: string;
509
529
  mode: "insensitive";
510
530
  };
511
531
  displaySymbol?: undefined;
512
- address?: undefined;
513
532
  } | {
533
+ symbol?: undefined;
534
+ address?: undefined;
514
535
  displaySymbol: {
515
536
  contains: string;
516
537
  mode: "insensitive";
517
538
  };
518
- symbol?: undefined;
519
- address?: undefined;
520
539
  } | {
540
+ symbol?: undefined;
521
541
  displaySymbol?: undefined;
522
542
  address: {
523
543
  contains: string;
524
544
  mode: "insensitive";
525
545
  };
526
- symbol?: undefined;
527
546
  })[];
528
547
  };
529
- id?: undefined;
530
- campaignId?: undefined;
531
- creatorAddress?: undefined;
532
548
  })[];
533
549
  }[] | undefined;
534
- endTimestamp: {
535
- gt: number;
536
- lt?: undefined;
537
- gte?: undefined;
538
- };
550
+ } | {
539
551
  startTimestamp: {
540
- lte: number;
541
- gt?: undefined;
552
+ lte?: undefined;
553
+ gt: number;
542
554
  gte?: undefined;
543
555
  };
544
- } | {
556
+ endTimestamp?: undefined;
545
557
  OR: {
546
558
  id: string;
547
559
  }[] | ({
@@ -611,11 +623,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
611
623
  };
612
624
  displaySymbol?: undefined;
613
625
  } | {
626
+ symbol?: undefined;
614
627
  displaySymbol: {
615
628
  equals: string;
616
629
  mode: "insensitive";
617
630
  };
618
- symbol?: undefined;
619
631
  })[] | undefined;
620
632
  isTest: false | undefined;
621
633
  type: {
@@ -624,11 +636,12 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
624
636
  };
625
637
  };
626
638
  Creator: {
639
+ tags?: undefined;
627
640
  OR: ({
641
+ tags?: undefined;
628
642
  Creator: {
629
643
  id: string;
630
644
  };
631
- tags?: undefined;
632
645
  } | {
633
646
  Creator?: undefined;
634
647
  tags: {
@@ -636,13 +649,12 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
636
649
  };
637
650
  })[];
638
651
  Creator?: undefined;
639
- tags?: undefined;
640
652
  } | {
653
+ tags?: undefined;
641
654
  OR?: undefined;
642
655
  Creator: {
643
656
  id: string;
644
657
  };
645
- tags?: undefined;
646
658
  } | {
647
659
  OR?: undefined;
648
660
  Creator?: undefined;
@@ -657,13 +669,13 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
657
669
  in: import("@package/resources/enums").DistributionType[];
658
670
  } | undefined;
659
671
  rootCampaignId: {
672
+ not?: undefined;
660
673
  equals: string;
661
674
  mode: "insensitive";
662
- not?: undefined;
663
675
  } | {
676
+ not?: undefined;
664
677
  mode?: undefined;
665
678
  equals: null;
666
- not?: undefined;
667
679
  } | {
668
680
  mode?: undefined;
669
681
  equals?: undefined;
@@ -675,94 +687,98 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
675
687
  } | undefined;
676
688
  AND: {
677
689
  OR: ({
690
+ campaignId?: undefined;
691
+ creatorAddress?: undefined;
692
+ RewardToken?: undefined;
678
693
  id: {
679
694
  contains: string;
680
695
  mode: "insensitive";
681
696
  };
682
697
  Opportunity?: undefined;
683
- campaignId?: undefined;
698
+ } | {
699
+ id?: undefined;
684
700
  creatorAddress?: undefined;
685
701
  RewardToken?: undefined;
686
- } | {
687
702
  campaignId: {
688
703
  contains: string;
689
704
  mode: "insensitive";
690
705
  };
691
706
  Opportunity?: undefined;
707
+ } | {
692
708
  id?: undefined;
693
- creatorAddress?: undefined;
709
+ campaignId?: undefined;
694
710
  RewardToken?: undefined;
695
- } | {
696
711
  creatorAddress: {
697
712
  contains: string;
698
713
  mode: "insensitive";
699
714
  };
700
715
  Opportunity?: undefined;
716
+ } | {
701
717
  id?: undefined;
702
718
  campaignId?: undefined;
719
+ creatorAddress?: undefined;
703
720
  RewardToken?: undefined;
704
- } | {
705
721
  Opportunity: {
722
+ mainProtocolId?: undefined;
706
723
  identifier: {
707
724
  contains: string;
708
725
  mode: "insensitive";
709
726
  };
710
- mainProtocolId?: undefined;
711
727
  };
728
+ } | {
712
729
  id?: undefined;
713
730
  campaignId?: undefined;
714
731
  creatorAddress?: undefined;
715
732
  RewardToken?: undefined;
716
- } | {
717
733
  Opportunity: {
734
+ identifier?: undefined;
718
735
  mainProtocolId: {
719
736
  contains: string;
720
737
  mode: "insensitive";
721
738
  };
722
- identifier?: undefined;
723
739
  };
740
+ } | {
724
741
  id?: undefined;
725
742
  campaignId?: undefined;
726
743
  creatorAddress?: undefined;
727
- RewardToken?: undefined;
728
- } | {
729
744
  Opportunity?: undefined;
730
745
  RewardToken: {
731
746
  OR: ({
747
+ address?: undefined;
732
748
  symbol: {
733
749
  contains: string;
734
750
  mode: "insensitive";
735
751
  };
736
752
  displaySymbol?: undefined;
737
- address?: undefined;
738
753
  } | {
754
+ symbol?: undefined;
755
+ address?: undefined;
739
756
  displaySymbol: {
740
757
  contains: string;
741
758
  mode: "insensitive";
742
759
  };
743
- symbol?: undefined;
744
- address?: undefined;
745
760
  } | {
761
+ symbol?: undefined;
746
762
  displaySymbol?: undefined;
747
763
  address: {
748
764
  contains: string;
749
765
  mode: "insensitive";
750
766
  };
751
- symbol?: undefined;
752
767
  })[];
753
768
  };
754
- id?: undefined;
755
- campaignId?: undefined;
756
- creatorAddress?: undefined;
757
769
  })[];
758
770
  }[] | undefined;
771
+ } | {
759
772
  endTimestamp: {
760
- lt: number;
773
+ lt?: undefined;
761
774
  gt?: undefined;
762
- gte?: undefined;
763
- };
764
- startTimestamp?: undefined;
765
- } | {
775
+ gte: number;
776
+ } | undefined;
777
+ startTimestamp: {
778
+ lte?: undefined;
779
+ gt?: undefined;
780
+ gte: number;
781
+ } | undefined;
766
782
  OR: {
767
783
  id: string;
768
784
  }[] | ({
@@ -832,11 +848,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
832
848
  };
833
849
  displaySymbol?: undefined;
834
850
  } | {
851
+ symbol?: undefined;
835
852
  displaySymbol: {
836
853
  equals: string;
837
854
  mode: "insensitive";
838
855
  };
839
- symbol?: undefined;
840
856
  })[] | undefined;
841
857
  isTest: false | undefined;
842
858
  type: {
@@ -845,11 +861,12 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
845
861
  };
846
862
  };
847
863
  Creator: {
864
+ tags?: undefined;
848
865
  OR: ({
866
+ tags?: undefined;
849
867
  Creator: {
850
868
  id: string;
851
869
  };
852
- tags?: undefined;
853
870
  } | {
854
871
  Creator?: undefined;
855
872
  tags: {
@@ -857,13 +874,12 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
857
874
  };
858
875
  })[];
859
876
  Creator?: undefined;
860
- tags?: undefined;
861
877
  } | {
878
+ tags?: undefined;
862
879
  OR?: undefined;
863
880
  Creator: {
864
881
  id: string;
865
882
  };
866
- tags?: undefined;
867
883
  } | {
868
884
  OR?: undefined;
869
885
  Creator?: undefined;
@@ -878,13 +894,13 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
878
894
  in: import("@package/resources/enums").DistributionType[];
879
895
  } | undefined;
880
896
  rootCampaignId: {
897
+ not?: undefined;
881
898
  equals: string;
882
899
  mode: "insensitive";
883
- not?: undefined;
884
900
  } | {
901
+ not?: undefined;
885
902
  mode?: undefined;
886
903
  equals: null;
887
- not?: undefined;
888
904
  } | {
889
905
  mode?: undefined;
890
906
  equals?: undefined;
@@ -896,93 +912,87 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
896
912
  } | undefined;
897
913
  AND: {
898
914
  OR: ({
915
+ campaignId?: undefined;
916
+ creatorAddress?: undefined;
917
+ RewardToken?: undefined;
899
918
  id: {
900
919
  contains: string;
901
920
  mode: "insensitive";
902
921
  };
903
922
  Opportunity?: undefined;
904
- campaignId?: undefined;
923
+ } | {
924
+ id?: undefined;
905
925
  creatorAddress?: undefined;
906
926
  RewardToken?: undefined;
907
- } | {
908
927
  campaignId: {
909
928
  contains: string;
910
929
  mode: "insensitive";
911
930
  };
912
931
  Opportunity?: undefined;
932
+ } | {
913
933
  id?: undefined;
914
- creatorAddress?: undefined;
934
+ campaignId?: undefined;
915
935
  RewardToken?: undefined;
916
- } | {
917
936
  creatorAddress: {
918
937
  contains: string;
919
938
  mode: "insensitive";
920
939
  };
921
940
  Opportunity?: undefined;
941
+ } | {
922
942
  id?: undefined;
923
943
  campaignId?: undefined;
944
+ creatorAddress?: undefined;
924
945
  RewardToken?: undefined;
925
- } | {
926
946
  Opportunity: {
947
+ mainProtocolId?: undefined;
927
948
  identifier: {
928
949
  contains: string;
929
950
  mode: "insensitive";
930
951
  };
931
- mainProtocolId?: undefined;
932
952
  };
953
+ } | {
933
954
  id?: undefined;
934
955
  campaignId?: undefined;
935
956
  creatorAddress?: undefined;
936
957
  RewardToken?: undefined;
937
- } | {
938
958
  Opportunity: {
959
+ identifier?: undefined;
939
960
  mainProtocolId: {
940
961
  contains: string;
941
962
  mode: "insensitive";
942
963
  };
943
- identifier?: undefined;
944
964
  };
965
+ } | {
945
966
  id?: undefined;
946
967
  campaignId?: undefined;
947
968
  creatorAddress?: undefined;
948
- RewardToken?: undefined;
949
- } | {
950
969
  Opportunity?: undefined;
951
970
  RewardToken: {
952
971
  OR: ({
972
+ address?: undefined;
953
973
  symbol: {
954
974
  contains: string;
955
975
  mode: "insensitive";
956
976
  };
957
977
  displaySymbol?: undefined;
958
- address?: undefined;
959
978
  } | {
979
+ symbol?: undefined;
980
+ address?: undefined;
960
981
  displaySymbol: {
961
982
  contains: string;
962
983
  mode: "insensitive";
963
984
  };
964
- symbol?: undefined;
965
- address?: undefined;
966
985
  } | {
986
+ symbol?: undefined;
967
987
  displaySymbol?: undefined;
968
988
  address: {
969
989
  contains: string;
970
990
  mode: "insensitive";
971
991
  };
972
- symbol?: undefined;
973
992
  })[];
974
993
  };
975
- id?: undefined;
976
- campaignId?: undefined;
977
- creatorAddress?: undefined;
978
994
  })[];
979
995
  }[] | undefined;
980
- startTimestamp: {
981
- lte?: undefined;
982
- gt: number;
983
- gte?: undefined;
984
- };
985
- endTimestamp?: undefined;
986
996
  } | {
987
997
  OR: {
988
998
  id: string;
@@ -1053,11 +1063,11 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
1053
1063
  };
1054
1064
  displaySymbol?: undefined;
1055
1065
  } | {
1066
+ symbol?: undefined;
1056
1067
  displaySymbol: {
1057
1068
  equals: string;
1058
1069
  mode: "insensitive";
1059
1070
  };
1060
- symbol?: undefined;
1061
1071
  })[] | undefined;
1062
1072
  isTest: false | undefined;
1063
1073
  type: {
@@ -1066,11 +1076,12 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
1066
1076
  };
1067
1077
  };
1068
1078
  Creator: {
1079
+ tags?: undefined;
1069
1080
  OR: ({
1081
+ tags?: undefined;
1070
1082
  Creator: {
1071
1083
  id: string;
1072
1084
  };
1073
- tags?: undefined;
1074
1085
  } | {
1075
1086
  Creator?: undefined;
1076
1087
  tags: {
@@ -1078,13 +1089,12 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
1078
1089
  };
1079
1090
  })[];
1080
1091
  Creator?: undefined;
1081
- tags?: undefined;
1082
1092
  } | {
1093
+ tags?: undefined;
1083
1094
  OR?: undefined;
1084
1095
  Creator: {
1085
1096
  id: string;
1086
1097
  };
1087
- tags?: undefined;
1088
1098
  } | {
1089
1099
  OR?: undefined;
1090
1100
  Creator?: undefined;
@@ -1099,13 +1109,13 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
1099
1109
  in: import("@package/resources/enums").DistributionType[];
1100
1110
  } | undefined;
1101
1111
  rootCampaignId: {
1112
+ not?: undefined;
1102
1113
  equals: string;
1103
1114
  mode: "insensitive";
1104
- not?: undefined;
1105
1115
  } | {
1116
+ not?: undefined;
1106
1117
  mode?: undefined;
1107
1118
  equals: null;
1108
- not?: undefined;
1109
1119
  } | {
1110
1120
  mode?: undefined;
1111
1121
  equals?: undefined;
@@ -1117,96 +1127,86 @@ export declare function transformQueryToPrismaFilters(query: Omit<FindCampaignMo
1117
1127
  } | undefined;
1118
1128
  AND: {
1119
1129
  OR: ({
1130
+ campaignId?: undefined;
1131
+ creatorAddress?: undefined;
1132
+ RewardToken?: undefined;
1120
1133
  id: {
1121
1134
  contains: string;
1122
1135
  mode: "insensitive";
1123
1136
  };
1124
1137
  Opportunity?: undefined;
1125
- campaignId?: undefined;
1138
+ } | {
1139
+ id?: undefined;
1126
1140
  creatorAddress?: undefined;
1127
1141
  RewardToken?: undefined;
1128
- } | {
1129
1142
  campaignId: {
1130
1143
  contains: string;
1131
1144
  mode: "insensitive";
1132
1145
  };
1133
1146
  Opportunity?: undefined;
1147
+ } | {
1134
1148
  id?: undefined;
1135
- creatorAddress?: undefined;
1149
+ campaignId?: undefined;
1136
1150
  RewardToken?: undefined;
1137
- } | {
1138
1151
  creatorAddress: {
1139
1152
  contains: string;
1140
1153
  mode: "insensitive";
1141
1154
  };
1142
1155
  Opportunity?: undefined;
1156
+ } | {
1143
1157
  id?: undefined;
1144
1158
  campaignId?: undefined;
1159
+ creatorAddress?: undefined;
1145
1160
  RewardToken?: undefined;
1146
- } | {
1147
1161
  Opportunity: {
1162
+ mainProtocolId?: undefined;
1148
1163
  identifier: {
1149
1164
  contains: string;
1150
1165
  mode: "insensitive";
1151
1166
  };
1152
- mainProtocolId?: undefined;
1153
1167
  };
1168
+ } | {
1154
1169
  id?: undefined;
1155
1170
  campaignId?: undefined;
1156
1171
  creatorAddress?: undefined;
1157
1172
  RewardToken?: undefined;
1158
- } | {
1159
1173
  Opportunity: {
1174
+ identifier?: undefined;
1160
1175
  mainProtocolId: {
1161
1176
  contains: string;
1162
1177
  mode: "insensitive";
1163
1178
  };
1164
- identifier?: undefined;
1165
1179
  };
1180
+ } | {
1166
1181
  id?: undefined;
1167
1182
  campaignId?: undefined;
1168
1183
  creatorAddress?: undefined;
1169
- RewardToken?: undefined;
1170
- } | {
1171
1184
  Opportunity?: undefined;
1172
1185
  RewardToken: {
1173
1186
  OR: ({
1187
+ address?: undefined;
1174
1188
  symbol: {
1175
1189
  contains: string;
1176
1190
  mode: "insensitive";
1177
1191
  };
1178
1192
  displaySymbol?: undefined;
1179
- address?: undefined;
1180
1193
  } | {
1194
+ symbol?: undefined;
1195
+ address?: undefined;
1181
1196
  displaySymbol: {
1182
1197
  contains: string;
1183
1198
  mode: "insensitive";
1184
1199
  };
1185
- symbol?: undefined;
1186
- address?: undefined;
1187
1200
  } | {
1201
+ symbol?: undefined;
1188
1202
  displaySymbol?: undefined;
1189
1203
  address: {
1190
1204
  contains: string;
1191
1205
  mode: "insensitive";
1192
1206
  };
1193
- symbol?: undefined;
1194
1207
  })[];
1195
1208
  };
1196
- id?: undefined;
1197
- campaignId?: undefined;
1198
- creatorAddress?: undefined;
1199
1209
  })[];
1200
1210
  }[] | undefined;
1201
- endTimestamp: {
1202
- lt?: undefined;
1203
- gt?: undefined;
1204
- gte: number;
1205
- } | undefined;
1206
- startTimestamp: {
1207
- lte?: undefined;
1208
- gt?: undefined;
1209
- gte: number;
1210
- } | undefined;
1211
1211
  };
1212
1212
  };