@merkl/api 1.18.22 → 1.18.24

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.
@@ -41,12 +41,12 @@ export declare abstract class CampaignService {
41
41
  };
42
42
  startTimestamp?: undefined;
43
43
  } | {
44
- endTimestamp?: undefined;
45
44
  startTimestamp: {
46
45
  lte?: undefined;
47
46
  gt: number;
48
47
  gte?: undefined;
49
48
  };
49
+ endTimestamp?: undefined;
50
50
  } | {
51
51
  endTimestamp: {
52
52
  lt?: undefined;
@@ -122,8 +122,8 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
122
122
  };
123
123
  mainProtocolId?: undefined;
124
124
  } | {
125
- tags?: undefined;
126
125
  mainProtocolId: string;
126
+ tags?: undefined;
127
127
  })[] | undefined;
128
128
  type: {
129
129
  not: string;
@@ -522,12 +522,12 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
522
522
  };
523
523
  startTimestamp?: undefined;
524
524
  } | {
525
- endTimestamp?: undefined;
526
525
  startTimestamp: {
527
526
  lte?: undefined;
528
527
  gt: number;
529
528
  gte?: undefined;
530
529
  };
530
+ endTimestamp?: undefined;
531
531
  } | {
532
532
  endTimestamp: {
533
533
  lt?: undefined;
@@ -578,32 +578,30 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
578
578
  contains: string;
579
579
  mode: "insensitive";
580
580
  };
581
- name?: undefined;
582
- identifier?: undefined;
583
581
  explorerAddress?: undefined;
584
582
  type?: undefined;
585
583
  MainProtocol?: undefined;
586
- mainProtocolId?: undefined;
587
584
  Tokens?: undefined;
588
585
  Campaigns?: undefined;
589
586
  Chain?: undefined;
587
+ identifier?: undefined;
588
+ mainProtocolId?: undefined;
589
+ name?: undefined;
590
590
  } | {
591
- id?: undefined;
592
591
  name: {
593
592
  contains: string;
594
593
  mode: "insensitive";
595
594
  };
596
- identifier?: undefined;
597
595
  explorerAddress?: undefined;
598
596
  type?: undefined;
599
597
  MainProtocol?: undefined;
600
- mainProtocolId?: undefined;
601
598
  Tokens?: undefined;
602
599
  Campaigns?: undefined;
603
600
  Chain?: undefined;
604
- } | {
601
+ identifier?: undefined;
602
+ mainProtocolId?: undefined;
605
603
  id?: undefined;
606
- name?: undefined;
604
+ } | {
607
605
  identifier: {
608
606
  contains: string;
609
607
  mode: "insensitive";
@@ -611,60 +609,59 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
611
609
  explorerAddress?: undefined;
612
610
  type?: undefined;
613
611
  MainProtocol?: undefined;
614
- mainProtocolId?: undefined;
615
612
  Tokens?: undefined;
616
613
  Campaigns?: undefined;
617
614
  Chain?: undefined;
618
- } | {
619
- id?: undefined;
615
+ mainProtocolId?: undefined;
620
616
  name?: undefined;
621
- identifier?: undefined;
617
+ id?: undefined;
618
+ } | {
622
619
  explorerAddress: {
623
620
  contains: string;
624
621
  mode: "insensitive";
625
622
  };
626
623
  type?: undefined;
627
624
  MainProtocol?: undefined;
628
- mainProtocolId?: undefined;
629
625
  Tokens?: undefined;
630
626
  Campaigns?: undefined;
631
627
  Chain?: undefined;
632
- } | {
633
- id?: undefined;
634
- name?: undefined;
635
628
  identifier?: undefined;
629
+ mainProtocolId?: undefined;
630
+ name?: undefined;
631
+ id?: undefined;
632
+ } | {
636
633
  explorerAddress?: undefined;
637
634
  Campaigns: {
638
635
  some: {
639
- endTimestamp?: undefined;
640
- id?: undefined;
641
636
  campaignId: {
642
637
  contains: string;
643
638
  mode: "insensitive";
644
639
  };
645
640
  isPrivate: boolean;
641
+ endTimestamp?: undefined;
646
642
  creatorAddress?: undefined;
647
643
  RewardToken?: undefined;
644
+ id?: undefined;
648
645
  };
649
646
  };
650
647
  type?: undefined;
651
648
  MainProtocol?: undefined;
652
- mainProtocolId?: undefined;
653
649
  Tokens?: undefined;
654
650
  Chain?: undefined;
655
- } | {
656
- id?: undefined;
657
- name?: undefined;
658
651
  identifier?: undefined;
652
+ mainProtocolId?: undefined;
653
+ name?: undefined;
654
+ id?: undefined;
655
+ } | {
659
656
  explorerAddress?: undefined;
660
657
  Campaigns: {
661
658
  some: {
662
- endTimestamp?: undefined;
663
659
  id: {
664
660
  contains: string;
665
661
  mode: "insensitive";
666
662
  };
667
663
  isPrivate: boolean;
664
+ endTimestamp?: undefined;
668
665
  creatorAddress?: undefined;
669
666
  RewardToken?: undefined;
670
667
  campaignId?: undefined;
@@ -672,50 +669,50 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
672
669
  };
673
670
  type?: undefined;
674
671
  MainProtocol?: undefined;
675
- mainProtocolId?: undefined;
676
672
  Tokens?: undefined;
677
673
  Chain?: undefined;
678
- } | {
679
- id?: undefined;
680
- name?: undefined;
681
674
  identifier?: undefined;
675
+ mainProtocolId?: undefined;
676
+ name?: undefined;
677
+ id?: undefined;
678
+ } | {
682
679
  explorerAddress?: undefined;
683
680
  Campaigns: {
684
681
  some: {
685
- endTimestamp?: undefined;
686
- id?: undefined;
687
682
  creatorAddress: {
688
683
  contains: string;
689
684
  mode: "insensitive";
690
685
  };
691
686
  isPrivate: boolean;
687
+ endTimestamp?: undefined;
692
688
  RewardToken?: undefined;
693
689
  campaignId?: undefined;
690
+ id?: undefined;
694
691
  };
695
692
  };
696
693
  type?: undefined;
697
694
  MainProtocol?: undefined;
698
- mainProtocolId?: undefined;
699
695
  Tokens?: undefined;
700
696
  Chain?: undefined;
701
- } | {
702
- id?: undefined;
703
- name?: undefined;
704
697
  identifier?: undefined;
698
+ mainProtocolId?: undefined;
699
+ name?: undefined;
700
+ id?: undefined;
701
+ } | {
705
702
  explorerAddress?: undefined;
706
703
  type: {
707
704
  contains: string;
708
705
  mode: "insensitive";
709
706
  };
710
707
  MainProtocol?: undefined;
711
- mainProtocolId?: undefined;
712
708
  Tokens?: undefined;
713
709
  Campaigns?: undefined;
714
710
  Chain?: undefined;
715
- } | {
716
- id?: undefined;
717
- name?: undefined;
718
711
  identifier?: undefined;
712
+ mainProtocolId?: undefined;
713
+ name?: undefined;
714
+ id?: undefined;
715
+ } | {
719
716
  explorerAddress?: undefined;
720
717
  type?: undefined;
721
718
  MainProtocol: {
@@ -724,14 +721,14 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
724
721
  mode: "insensitive";
725
722
  };
726
723
  };
727
- mainProtocolId?: undefined;
728
724
  Tokens?: undefined;
729
725
  Campaigns?: undefined;
730
726
  Chain?: undefined;
731
- } | {
732
- id?: undefined;
733
- name?: undefined;
734
727
  identifier?: undefined;
728
+ mainProtocolId?: undefined;
729
+ name?: undefined;
730
+ id?: undefined;
731
+ } | {
735
732
  explorerAddress?: undefined;
736
733
  type?: undefined;
737
734
  MainProtocol?: undefined;
@@ -742,14 +739,13 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
742
739
  Tokens?: undefined;
743
740
  Campaigns?: undefined;
744
741
  Chain?: undefined;
745
- } | {
746
- id?: undefined;
747
- name?: undefined;
748
742
  identifier?: undefined;
743
+ name?: undefined;
744
+ id?: undefined;
745
+ } | {
749
746
  explorerAddress?: undefined;
750
747
  type?: undefined;
751
748
  MainProtocol?: undefined;
752
- mainProtocolId?: undefined;
753
749
  Tokens: {
754
750
  some: {
755
751
  name: {
@@ -762,90 +758,90 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
762
758
  };
763
759
  Campaigns?: undefined;
764
760
  Chain?: undefined;
765
- } | {
766
- id?: undefined;
767
- name?: undefined;
768
761
  identifier?: undefined;
762
+ mainProtocolId?: undefined;
763
+ name?: undefined;
764
+ id?: undefined;
765
+ } | {
769
766
  explorerAddress?: undefined;
770
767
  type?: undefined;
771
768
  MainProtocol?: undefined;
772
- mainProtocolId?: undefined;
773
769
  Tokens: {
774
770
  some: {
775
- name?: undefined;
776
771
  symbol: {
777
772
  contains: string;
778
773
  mode: "insensitive";
779
774
  };
780
775
  address?: undefined;
776
+ name?: undefined;
781
777
  };
782
778
  };
783
779
  Campaigns?: undefined;
784
780
  Chain?: undefined;
785
- } | {
786
- id?: undefined;
787
- name?: undefined;
788
781
  identifier?: undefined;
782
+ mainProtocolId?: undefined;
783
+ name?: undefined;
784
+ id?: undefined;
785
+ } | {
789
786
  explorerAddress?: undefined;
790
787
  type?: undefined;
791
788
  MainProtocol?: undefined;
792
- mainProtocolId?: undefined;
793
789
  Tokens: {
794
790
  some: {
795
- name?: undefined;
796
- symbol?: undefined;
797
791
  address: {
798
792
  contains: string;
799
793
  mode: "insensitive";
800
794
  };
795
+ symbol?: undefined;
796
+ name?: undefined;
801
797
  };
802
798
  };
803
799
  Campaigns?: undefined;
804
800
  Chain?: undefined;
805
- } | {
806
- id?: undefined;
807
- name?: undefined;
808
801
  identifier?: undefined;
802
+ mainProtocolId?: undefined;
803
+ name?: undefined;
804
+ id?: undefined;
805
+ } | {
809
806
  explorerAddress?: undefined;
810
807
  type?: undefined;
811
808
  MainProtocol?: undefined;
812
- mainProtocolId?: undefined;
813
809
  Tokens?: undefined;
814
810
  Campaigns: {
815
811
  some: {
816
- id?: undefined;
817
- creatorAddress?: undefined;
818
812
  isPrivate?: undefined;
819
813
  endTimestamp: {
820
814
  gte: number;
821
815
  };
822
816
  RewardToken: {
823
817
  OR: ({
824
- address?: undefined;
825
818
  symbol: {
826
819
  contains: string;
827
820
  mode: "insensitive";
828
821
  };
822
+ address?: undefined;
829
823
  } | {
830
- symbol?: undefined;
831
824
  address: {
832
825
  contains: string;
833
826
  mode: "insensitive";
834
827
  };
828
+ symbol?: undefined;
835
829
  })[];
836
830
  };
831
+ creatorAddress?: undefined;
837
832
  campaignId?: undefined;
833
+ id?: undefined;
838
834
  };
839
835
  };
840
836
  Chain?: undefined;
841
- } | {
842
- id?: undefined;
843
- name?: undefined;
844
837
  identifier?: undefined;
838
+ mainProtocolId?: undefined;
839
+ name?: undefined;
840
+ id?: undefined;
841
+ } | {
845
842
  explorerAddress?: undefined;
846
843
  type?: undefined;
847
844
  MainProtocol?: undefined;
848
- mainProtocolId?: undefined;
849
845
  Tokens?: undefined;
850
846
  Campaigns?: undefined;
851
847
  Chain: {
@@ -854,6 +850,10 @@ export declare function transformQueryToPrismaFilters(query: FindManyOpportunity
854
850
  mode: "insensitive";
855
851
  };
856
852
  };
853
+ identifier?: undefined;
854
+ mainProtocolId?: undefined;
855
+ name?: undefined;
856
+ id?: undefined;
857
857
  })[];
858
858
  }[];
859
859
  })[];