@merkl/api 1.0.32 → 1.0.33

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.
@@ -5113,6 +5113,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
5113
5113
  address: string;
5114
5114
  };
5115
5115
  query: {
5116
+ tags?: string | undefined;
5116
5117
  test?: boolean | undefined;
5117
5118
  chainIds?: string[] | undefined;
5118
5119
  reloadChainId?: number | undefined;
@@ -14469,6 +14470,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
14469
14470
  get: (options: {
14470
14471
  headers?: Record<string, unknown> | undefined;
14471
14472
  query: {
14473
+ tags?: string | undefined;
14472
14474
  test?: boolean | undefined;
14473
14475
  chainIds?: string[] | undefined;
14474
14476
  reloadChainId?: number | undefined;
@@ -5114,6 +5114,7 @@ declare const app: Elysia<"", {
5114
5114
  address: string;
5115
5115
  };
5116
5116
  query: {
5117
+ tags?: string | undefined;
5117
5118
  test?: boolean | undefined;
5118
5119
  chainIds?: string[] | undefined;
5119
5120
  reloadChainId?: number | undefined;
@@ -4,7 +4,7 @@ import type { BreakdownForCampaignsRaw, CampaignIdModel, CampaignIdWithoutPageMo
4
4
  export declare abstract class RewardRepository {
5
5
  static createManyReward(rewards: CreateManyRewardModel): Promise<Prisma.BatchPayload>;
6
6
  static createManyBreakdown(data: CreateManyBreakdownModel): Promise<Prisma.BatchPayload>;
7
- static getByRecipient(recipient: string, roots: string[], withToken: boolean, withTestTokens: boolean, breakdownPage?: number, chainFilter?: ChainId[] | null, reasonFilter?: string): Promise<({
7
+ static getByRecipient(recipient: string, roots: string[], withToken: boolean, withTestTokens: boolean, tags: string[], breakdownPage?: number, chainFilter?: ChainId[] | null, reasonFilter?: string): Promise<({
8
8
  RewardToken: {
9
9
  symbol: string;
10
10
  name: string | null;
@@ -362,7 +362,7 @@ export declare abstract class RewardService {
362
362
  proofs: string[];
363
363
  }[];
364
364
  static createManyBreakdown(data: CreateManyBreakdownModel): Promise<import("@package/databases").BatchPayload | undefined>;
365
- static getByRecipient(recipient: string, roots: string[], withToken?: boolean, withTestTokens?: boolean, breakdownPage?: number, chainFilter?: ChainId[] | null, reasonFilter?: string): Promise<({
365
+ static getByRecipient(recipient: string, roots: string[], tags: string[], withToken?: boolean, withTestTokens?: boolean, breakdownPage?: number, chainFilter?: ChainId[] | null, reasonFilter?: string): Promise<({
366
366
  RewardToken: {
367
367
  symbol: string;
368
368
  name: string | null;
@@ -788,7 +788,7 @@ export declare abstract class RewardService {
788
788
  pending: string;
789
789
  rewardTokenId: string;
790
790
  })[]>;
791
- static getUserRewardsByChain(user: string, withToken: boolean, breakdownPage?: number, chainFilter?: ChainId[], connectedChainId?: MerklChainId | null, withTestTokens?: boolean, claimableOnly?: boolean): Promise<{
791
+ static getUserRewardsByChain(user: string, withToken: boolean, breakdownPage?: number, chainFilter?: ChainId[], connectedChainId?: MerklChainId | null, withTestTokens?: boolean, claimableOnly?: boolean, tags?: string[]): Promise<{
792
792
  chain: Chain;
793
793
  rewards: Awaited<ReturnType<(typeof RewardService)["format"]>>;
794
794
  }[]>;
@@ -4923,6 +4923,7 @@ export declare const v4: Elysia<"/v4", {
4923
4923
  address: string;
4924
4924
  };
4925
4925
  query: {
4926
+ tags?: string | undefined;
4926
4927
  test?: boolean | undefined;
4927
4928
  chainIds?: string[] | undefined;
4928
4929
  reloadChainId?: number | undefined;
@@ -178,6 +178,7 @@ export declare const UserController: Elysia<"/users", {
178
178
  address: string;
179
179
  };
180
180
  query: {
181
+ tags?: string | undefined;
181
182
  test?: boolean | undefined;
182
183
  chainIds?: string[] | undefined;
183
184
  reloadChainId?: number | undefined;
@@ -52,7 +52,8 @@ export declare const UserRewardsResourceDto: import("@sinclair/typebox").TObject
52
52
  export declare const UserUniqueDto: import("@sinclair/typebox").TObject<{
53
53
  address: import("@sinclair/typebox").TString;
54
54
  }>;
55
- export declare const OptionalChainIdDto: import("@sinclair/typebox").TObject<{
55
+ export declare const GetRewardBreakdownsDto: import("@sinclair/typebox").TObject<{
56
+ tags: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
56
57
  chainIds: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
57
58
  reloadChainId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
58
59
  test: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
@@ -80,5 +81,5 @@ export declare const UserTagsDto: import("@sinclair/typebox").TObject<{
80
81
  }>;
81
82
  export type UserUniqueModel = typeof UserUniqueDto.static;
82
83
  export type UserModel = typeof UserDto.static;
83
- export type OptionalChainIdModel = typeof OptionalChainIdDto.static;
84
+ export type OptionalChainIdModel = typeof GetRewardBreakdownsDto.static;
84
85
  export type GetManyUserModel = typeof GetManyUserQuery.static;