@merkl/api 0.10.94 → 0.10.96

Sign up to get free protection for your applications and to get access to all the features.
@@ -685,6 +685,44 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
685
685
  };
686
686
  } & {
687
687
  v4: {
688
+ rewards: {
689
+ index: {
690
+ get: {
691
+ body: unknown;
692
+ params: Record<never, string>;
693
+ query: {
694
+ items?: number | undefined;
695
+ page?: number | undefined;
696
+ chainId: number;
697
+ campaignIds: string;
698
+ };
699
+ headers: unknown;
700
+ response: {
701
+ 200: unknown;
702
+ };
703
+ };
704
+ };
705
+ };
706
+ } & {
707
+ rewards: {
708
+ total: {
709
+ get: {
710
+ body: unknown;
711
+ params: Record<never, string>;
712
+ query: {
713
+ items?: number | undefined;
714
+ page?: number | undefined;
715
+ chainId: number;
716
+ campaignIds: string;
717
+ };
718
+ headers: unknown;
719
+ response: {
720
+ 200: unknown;
721
+ };
722
+ };
723
+ };
724
+ };
725
+ } & {
688
726
  rewards: {
689
727
  engine: {
690
728
  post: {
@@ -733,7 +771,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
733
771
  authorization: string;
734
772
  };
735
773
  response: {
736
- 200: import("../../../database/api/.generated").Prisma.BatchPayload;
774
+ 200: import("../../../database/api/.generated").Prisma.BatchPayload | undefined;
737
775
  };
738
776
  };
739
777
  };
@@ -793,33 +831,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
793
831
  };
794
832
  };
795
833
  };
796
- } & {
797
- rewards: {
798
- breakdown: {
799
- get: {
800
- body: unknown;
801
- params: Record<never, string>;
802
- query: {
803
- items?: number | undefined;
804
- page?: number | undefined;
805
- chainId: number;
806
- campaignIdentifiers: string | string[];
807
- };
808
- headers: unknown;
809
- response: {
810
- 200: {
811
- Campaign: {
812
- campaignId: string;
813
- };
814
- amount: string;
815
- Reward: {
816
- recipient: string;
817
- };
818
- }[];
819
- };
820
- };
821
- };
822
- };
823
834
  };
824
835
  } & {
825
836
  v4: {