@merkl/api 0.10.92 → 0.10.94

Sign up to get free protection for your applications and to get access to all the features.
Files changed (25) hide show
  1. package/dist/src/eden/index.d.ts +102 -48
  2. package/dist/src/index.d.ts +37 -20
  3. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/helpers/tokenType.d.ts +28 -28
  4. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/AaveProcessor.d.ts +1 -1
  5. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/GenericProcessor.d.ts +10 -1
  6. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/MetamorphoProcessor.d.ts +1 -1
  7. package/dist/src/libs/campaigns/campaignTypes/ERC20SubTypes/processor/SpliceProcessor.d.ts +1 -1
  8. package/dist/src/modules/v4/chain/chain.controller.d.ts +37 -20
  9. package/dist/src/modules/v4/chain/chain.model.d.ts +8 -0
  10. package/dist/src/modules/v4/explorer/explorer.model.d.ts +7 -0
  11. package/dist/src/modules/v4/explorer/explorer.repository.d.ts +13 -0
  12. package/dist/src/modules/v4/explorer/explorer.service.d.ts +20 -0
  13. package/dist/src/modules/v4/router.d.ts +37 -20
  14. package/dist/src/routes/v3/ERC20Campaigns.d.ts +37 -20
  15. package/dist/src/routes/v3/blacklist.d.ts +37 -20
  16. package/dist/src/routes/v3/campaigns.d.ts +37 -20
  17. package/dist/src/routes/v3/campaignsInfo.d.ts +37 -20
  18. package/dist/src/routes/v3/multiChainPositions.d.ts +37 -20
  19. package/dist/src/routes/v3/opportunity.d.ts +37 -20
  20. package/dist/src/routes/v3/positions.d.ts +37 -20
  21. package/dist/src/routes/v3/rewards.d.ts +37 -20
  22. package/dist/src/routes/v3/updates.d.ts +37 -20
  23. package/dist/src/routes/v3/userRewards.d.ts +37 -20
  24. package/dist/tsconfig.package.tsbuildinfo +1 -1
  25. package/package.json +1 -1
@@ -848,24 +848,21 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
848
848
  query: unknown;
849
849
  headers: unknown;
850
850
  response: {
851
- 200: ({
852
- Explorer: {
851
+ 200: {
852
+ id: number;
853
+ name: string;
854
+ icon: string;
855
+ explorers: {
853
856
  id: string;
854
857
  type: import("../../../database/api/.generated").$Enums.ExplorerType;
855
858
  url: string;
856
859
  chainId: number;
857
860
  }[];
858
- } & {
859
- id: number;
860
- name: string;
861
- icon: string;
862
- }) | null;
861
+ } | null;
863
862
  };
864
863
  };
865
864
  };
866
- };
867
- } & {
868
- chains: {
865
+ } & {
869
866
  index: {
870
867
  get: {
871
868
  body: unknown;
@@ -875,24 +872,21 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
875
872
  };
876
873
  headers: unknown;
877
874
  response: {
878
- 200: ({
879
- Explorer: {
875
+ 200: {
876
+ id: number;
877
+ name: string;
878
+ icon: string;
879
+ explorers: {
880
880
  id: string;
881
881
  type: import("../../../database/api/.generated").$Enums.ExplorerType;
882
882
  url: string;
883
883
  chainId: number;
884
884
  }[];
885
- } & {
886
- id: number;
887
- name: string;
888
- icon: string;
889
- })[];
885
+ }[];
890
886
  };
891
887
  };
892
888
  };
893
- };
894
- } & {
895
- chains: {
889
+ } & {
896
890
  count: {
897
891
  get: {
898
892
  body: unknown;
@@ -906,6 +900,29 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
906
900
  };
907
901
  };
908
902
  };
903
+ } & {
904
+ explorers: {
905
+ post: {
906
+ body: {
907
+ type: "ETHERSCAN" | "BLOCKSCOUT";
908
+ url: string;
909
+ chainId: number;
910
+ };
911
+ params: Record<never, string>;
912
+ query: unknown;
913
+ headers: {
914
+ authorization: string;
915
+ };
916
+ response: {
917
+ 200: {
918
+ id: string;
919
+ type: import("../../../database/api/.generated").$Enums.ExplorerType;
920
+ url: string;
921
+ chainId: number;
922
+ };
923
+ };
924
+ };
925
+ };
909
926
  };
910
927
  };
911
928
  } & {
@@ -830,24 +830,21 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
830
830
  query: unknown;
831
831
  headers: unknown;
832
832
  response: {
833
- 200: ({
834
- Explorer: {
833
+ 200: {
834
+ id: number;
835
+ name: string;
836
+ icon: string;
837
+ explorers: {
835
838
  id: string;
836
839
  type: import("../../../database/api/.generated").$Enums.ExplorerType;
837
840
  url: string;
838
841
  chainId: number;
839
842
  }[];
840
- } & {
841
- id: number;
842
- name: string;
843
- icon: string;
844
- }) | null;
843
+ } | null;
845
844
  };
846
845
  };
847
846
  };
848
- };
849
- } & {
850
- chains: {
847
+ } & {
851
848
  index: {
852
849
  get: {
853
850
  body: unknown;
@@ -857,24 +854,21 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
857
854
  };
858
855
  headers: unknown;
859
856
  response: {
860
- 200: ({
861
- Explorer: {
857
+ 200: {
858
+ id: number;
859
+ name: string;
860
+ icon: string;
861
+ explorers: {
862
862
  id: string;
863
863
  type: import("../../../database/api/.generated").$Enums.ExplorerType;
864
864
  url: string;
865
865
  chainId: number;
866
866
  }[];
867
- } & {
868
- id: number;
869
- name: string;
870
- icon: string;
871
- })[];
867
+ }[];
872
868
  };
873
869
  };
874
870
  };
875
- };
876
- } & {
877
- chains: {
871
+ } & {
878
872
  count: {
879
873
  get: {
880
874
  body: unknown;
@@ -888,6 +882,29 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
888
882
  };
889
883
  };
890
884
  };
885
+ } & {
886
+ explorers: {
887
+ post: {
888
+ body: {
889
+ type: "ETHERSCAN" | "BLOCKSCOUT";
890
+ url: string;
891
+ chainId: number;
892
+ };
893
+ params: Record<never, string>;
894
+ query: unknown;
895
+ headers: {
896
+ authorization: string;
897
+ };
898
+ response: {
899
+ 200: {
900
+ id: string;
901
+ type: import("../../../database/api/.generated").$Enums.ExplorerType;
902
+ url: string;
903
+ chainId: number;
904
+ };
905
+ };
906
+ };
907
+ };
891
908
  };
892
909
  };
893
910
  } & {
@@ -831,24 +831,21 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
831
831
  query: unknown;
832
832
  headers: unknown;
833
833
  response: {
834
- 200: ({
835
- Explorer: {
834
+ 200: {
835
+ id: number;
836
+ name: string;
837
+ icon: string;
838
+ explorers: {
836
839
  id: string;
837
840
  type: import("../../../database/api/.generated").$Enums.ExplorerType;
838
841
  url: string;
839
842
  chainId: number;
840
843
  }[];
841
- } & {
842
- id: number;
843
- name: string;
844
- icon: string;
845
- }) | null;
844
+ } | null;
846
845
  };
847
846
  };
848
847
  };
849
- };
850
- } & {
851
- chains: {
848
+ } & {
852
849
  index: {
853
850
  get: {
854
851
  body: unknown;
@@ -858,24 +855,21 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
858
855
  };
859
856
  headers: unknown;
860
857
  response: {
861
- 200: ({
862
- Explorer: {
858
+ 200: {
859
+ id: number;
860
+ name: string;
861
+ icon: string;
862
+ explorers: {
863
863
  id: string;
864
864
  type: import("../../../database/api/.generated").$Enums.ExplorerType;
865
865
  url: string;
866
866
  chainId: number;
867
867
  }[];
868
- } & {
869
- id: number;
870
- name: string;
871
- icon: string;
872
- })[];
868
+ }[];
873
869
  };
874
870
  };
875
871
  };
876
- };
877
- } & {
878
- chains: {
872
+ } & {
879
873
  count: {
880
874
  get: {
881
875
  body: unknown;
@@ -889,6 +883,29 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
889
883
  };
890
884
  };
891
885
  };
886
+ } & {
887
+ explorers: {
888
+ post: {
889
+ body: {
890
+ type: "ETHERSCAN" | "BLOCKSCOUT";
891
+ url: string;
892
+ chainId: number;
893
+ };
894
+ params: Record<never, string>;
895
+ query: unknown;
896
+ headers: {
897
+ authorization: string;
898
+ };
899
+ response: {
900
+ 200: {
901
+ id: string;
902
+ type: import("../../../database/api/.generated").$Enums.ExplorerType;
903
+ url: string;
904
+ chainId: number;
905
+ };
906
+ };
907
+ };
908
+ };
892
909
  };
893
910
  };
894
911
  } & {
@@ -833,24 +833,21 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
833
833
  query: unknown;
834
834
  headers: unknown;
835
835
  response: {
836
- 200: ({
837
- Explorer: {
836
+ 200: {
837
+ id: number;
838
+ name: string;
839
+ icon: string;
840
+ explorers: {
838
841
  id: string;
839
842
  type: import("../../../database/api/.generated").$Enums.ExplorerType;
840
843
  url: string;
841
844
  chainId: number;
842
845
  }[];
843
- } & {
844
- id: number;
845
- name: string;
846
- icon: string;
847
- }) | null;
846
+ } | null;
848
847
  };
849
848
  };
850
849
  };
851
- };
852
- } & {
853
- chains: {
850
+ } & {
854
851
  index: {
855
852
  get: {
856
853
  body: unknown;
@@ -860,24 +857,21 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
860
857
  };
861
858
  headers: unknown;
862
859
  response: {
863
- 200: ({
864
- Explorer: {
860
+ 200: {
861
+ id: number;
862
+ name: string;
863
+ icon: string;
864
+ explorers: {
865
865
  id: string;
866
866
  type: import("../../../database/api/.generated").$Enums.ExplorerType;
867
867
  url: string;
868
868
  chainId: number;
869
869
  }[];
870
- } & {
871
- id: number;
872
- name: string;
873
- icon: string;
874
- })[];
870
+ }[];
875
871
  };
876
872
  };
877
873
  };
878
- };
879
- } & {
880
- chains: {
874
+ } & {
881
875
  count: {
882
876
  get: {
883
877
  body: unknown;
@@ -891,6 +885,29 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
891
885
  };
892
886
  };
893
887
  };
888
+ } & {
889
+ explorers: {
890
+ post: {
891
+ body: {
892
+ type: "ETHERSCAN" | "BLOCKSCOUT";
893
+ url: string;
894
+ chainId: number;
895
+ };
896
+ params: Record<never, string>;
897
+ query: unknown;
898
+ headers: {
899
+ authorization: string;
900
+ };
901
+ response: {
902
+ 200: {
903
+ id: string;
904
+ type: import("../../../database/api/.generated").$Enums.ExplorerType;
905
+ url: string;
906
+ chainId: number;
907
+ };
908
+ };
909
+ };
910
+ };
894
911
  };
895
912
  };
896
913
  } & {