@merkl/api 1.0.42 → 1.0.44

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 (33) hide show
  1. package/dist/src/eden/index.d.ts +1590 -1518
  2. package/dist/src/index.d.ts +842 -848
  3. package/dist/src/modules/v4/accounting/accounting.controller.d.ts +2 -2
  4. package/dist/src/modules/v4/accounting/accounting.model.d.ts +4 -4
  5. package/dist/src/modules/v4/accounting/accounting.repository.d.ts +1 -1
  6. package/dist/src/modules/v4/accounting/accounting.service.d.ts +1 -1
  7. package/dist/src/modules/v4/campaign/campaign.controller.d.ts +303 -315
  8. package/dist/src/modules/v4/campaign/campaign.model.d.ts +2 -2
  9. package/dist/src/modules/v4/campaign/campaign.repository.d.ts +83 -2
  10. package/dist/src/modules/v4/campaign/campaign.service.d.ts +90 -7
  11. package/dist/src/modules/v4/computedValue/computedValue.controller.d.ts +2 -0
  12. package/dist/src/modules/v4/computedValue/computedValue.repository.d.ts +2 -0
  13. package/dist/src/modules/v4/computedValue/computedValue.service.d.ts +2 -0
  14. package/dist/src/modules/v4/creator/creator.controller.d.ts +2 -2
  15. package/dist/src/modules/v4/creator/creator.model.d.ts +2 -2
  16. package/dist/src/modules/v4/dynamicData/dynamicData.service.d.ts +6 -0
  17. package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +627 -627
  18. package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +2 -2
  19. package/dist/src/modules/v4/programPayload/programPayload.repository.d.ts +36 -4
  20. package/dist/src/modules/v4/protocol/protocol.controller.d.ts +4 -4
  21. package/dist/src/modules/v4/protocol/protocol.model.d.ts +2 -2
  22. package/dist/src/modules/v4/reward/reward.controller.d.ts +18 -18
  23. package/dist/src/modules/v4/reward/reward.model.d.ts +6 -6
  24. package/dist/src/modules/v4/router.d.ts +842 -848
  25. package/dist/src/modules/v4/token/token.controller.d.ts +4 -4
  26. package/dist/src/modules/v4/token/token.model.d.ts +2 -2
  27. package/dist/src/modules/v4/token/token.repository.d.ts +16 -0
  28. package/dist/src/modules/v4/token/token.service.d.ts +1 -1
  29. package/dist/src/modules/v4/user/user.controller.d.ts +2 -2
  30. package/dist/src/modules/v4/user/user.model.d.ts +2 -2
  31. package/dist/src/utils/pagination.d.ts +11 -0
  32. package/dist/tsconfig.tsbuildinfo +1 -1
  33. package/package.json +1 -1
@@ -19,8 +19,8 @@ export declare const AccountingController: Elysia<"/accounting", {
19
19
  body: unknown;
20
20
  params: {};
21
21
  query: {
22
- items?: number | undefined;
23
- page?: number | undefined;
22
+ items: number;
23
+ page: number;
24
24
  };
25
25
  headers: {
26
26
  authorization: string;
@@ -2,9 +2,9 @@ export declare const TokensDto: import("@sinclair/typebox").TObject<{
2
2
  chainId: import("@sinclair/typebox").TNumber;
3
3
  tokenAddress: import("@sinclair/typebox").TString;
4
4
  }>;
5
- export declare const GetTransactionsQueryModel: import("@sinclair/typebox").TObject<{
6
- page: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
7
- items: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
5
+ export declare const GetTransactionsQueryDto: import("@sinclair/typebox").TObject<{
6
+ page: import("@sinclair/typebox").TNumber;
7
+ items: import("@sinclair/typebox").TNumber;
8
8
  }>;
9
9
  export declare const TokensDateDto: import("@sinclair/typebox").TObject<{
10
10
  chainId: import("@sinclair/typebox").TNumber;
@@ -29,4 +29,4 @@ export declare const GetRevenuesDto: import("@sinclair/typebox").TObject<{
29
29
  month: import("@sinclair/typebox").TNumber;
30
30
  year: import("@sinclair/typebox").TNumber;
31
31
  }>;
32
- export type GetTransactionsQueryModel = typeof GetTransactionsQueryModel.static;
32
+ export type GetTransactionsQueryModel = typeof GetTransactionsQueryDto.static;
@@ -1,4 +1,4 @@
1
- import type { GetTransactionsQueryModel } from "../../../modules/v4/accounting/accounting.model";
1
+ import type { GetTransactionsQueryModel } from "./accounting.model";
2
2
  export declare class AccountingRepository {
3
3
  static findMany(query: GetTransactionsQueryModel): Promise<{
4
4
  id: string;
@@ -1,5 +1,5 @@
1
1
  import { ChainId } from "@angleprotocol/sdk/ts";
2
- import type { GetTransactionsQueryModel } from "../../../modules/v4/accounting/accounting.model";
2
+ import type { GetTransactionsQueryModel } from "./accounting.model";
3
3
  export declare class AccountingService {
4
4
  static hashId(chainId: ChainId, fromTokenId: string, toTokenId: string, timestamp: number): string;
5
5
  static getTokenId(chainId: number, address: string): string;