@poolzfinance/api4 1.11.40 → 1.11.42

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.
@@ -61,6 +61,9 @@ declare const documents: {
61
61
  "\n query getLeaderboard {\n leaderBoard {\n Rank\n Owner\n Amount\n }\n}": DocumentNode<types.GetLeaderboardQuery, types.Exact<{
62
62
  [key: string]: never;
63
63
  }>>;
64
+ "\n mutation Logout {\n logout\n }\n": DocumentNode<types.LogoutMutation, types.Exact<{
65
+ [key: string]: never;
66
+ }>>;
64
67
  "\n mutation setMyAgree {\n setMyAgree\n}": DocumentNode<types.SetMyAgreeMutation, types.Exact<{
65
68
  [key: string]: never;
66
69
  }>>;
@@ -168,6 +171,10 @@ declare const documents: {
168
171
  "\n query TokenInfo($hashKey: String!) {\n tokenInfo(hashKey: $hashKey) {\n Address\n ChainId\n Decimals\n Name\n Symbol\n TotalSupply\n }\n }\n": DocumentNode<types.TokenInfoQuery, types.Exact<{
169
172
  hashKey: string;
170
173
  }>>;
174
+ "\n query TokenRefundsNFT($chainId: Int!, $poolId: Int!) {\n tokenRefundsNFT(chainId: $chainId, poolId: $poolId) {\n TxHash\n BlockSignedAt\n From\n }\n}": DocumentNode<types.TokenRefundsNftQuery, types.Exact<{
175
+ chainId: number;
176
+ poolId: number;
177
+ }>>;
171
178
  "\n query Data($chainId: Int, $tokenAddress: String, $fetchBalance: Boolean) {\n vaults(chainId: $chainId, tokenAddress: $tokenAddress, fetchBalance: $fetchBalance) {\n Data {\n VaultId\n VaultAddress\n VaultCreationTx\n TokenAddress\n TokenName\n TokenSymbol\n TokenDecimals\n Balance {\n BalanceOfToken\n FetchTime\n }\n }\n ChainId\n }\n }\n": DocumentNode<types.DataQuery, types.Exact<{
172
179
  chainId?: types.InputMaybe<number> | undefined;
173
180
  tokenAddress?: types.InputMaybe<string> | undefined;
@@ -247,6 +254,10 @@ export declare function gql(source: "\n query getLeaderboardByAddress($address:
247
254
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
248
255
  */
249
256
  export declare function gql(source: "\n query getLeaderboard {\n leaderBoard {\n Rank\n Owner\n Amount\n }\n}"): (typeof documents)["\n query getLeaderboard {\n leaderBoard {\n Rank\n Owner\n Amount\n }\n}"];
257
+ /**
258
+ * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
259
+ */
260
+ export declare function gql(source: "\n mutation Logout {\n logout\n }\n"): (typeof documents)["\n mutation Logout {\n logout\n }\n"];
250
261
  /**
251
262
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
252
263
  */
@@ -367,6 +378,10 @@ export declare function gql(source: "\nquery Status {\n status {\n Chain
367
378
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
368
379
  */
369
380
  export declare function gql(source: "\n query TokenInfo($hashKey: String!) {\n tokenInfo(hashKey: $hashKey) {\n Address\n ChainId\n Decimals\n Name\n Symbol\n TotalSupply\n }\n }\n"): (typeof documents)["\n query TokenInfo($hashKey: String!) {\n tokenInfo(hashKey: $hashKey) {\n Address\n ChainId\n Decimals\n Name\n Symbol\n TotalSupply\n }\n }\n"];
381
+ /**
382
+ * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
383
+ */
384
+ export declare function gql(source: "\n query TokenRefundsNFT($chainId: Int!, $poolId: Int!) {\n tokenRefundsNFT(chainId: $chainId, poolId: $poolId) {\n TxHash\n BlockSignedAt\n From\n }\n}"): (typeof documents)["\n query TokenRefundsNFT($chainId: Int!, $poolId: Int!) {\n tokenRefundsNFT(chainId: $chainId, poolId: $poolId) {\n TxHash\n BlockSignedAt\n From\n }\n}"];
370
385
  /**
371
386
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
372
387
  */
@@ -519,7 +519,9 @@ export type Query = {
519
519
  myInvestmentsETH: Array<MyInvestmentsEth>;
520
520
  myInvestmentsErc20: Array<MyInvestmentsErc20>;
521
521
  myProxyKYC: KycProxy;
522
+ /** @deprecated Use 'myRoles' endpoint. */
522
523
  myRole: Scalars['String']['output'];
524
+ myRoles: Array<Scalars['String']['output']>;
523
525
  mySignUpCheck: Array<SignUpCheck>;
524
526
  mySignUpV2: Array<MySignUpV2>;
525
527
  mySignup: Array<MySignUp>;
@@ -760,9 +762,20 @@ export type TokenRefundsLDv2 = {
760
762
  };
761
763
  export type TokenRefundsNft = {
762
764
  __typename?: 'TokenRefundsNFT';
763
- Amount: Scalars['Float']['output'];
764
765
  BlockSignedAt: Scalars['Int']['output'];
765
766
  From: Scalars['String']['output'];
767
+ TokenOut: TokenRefundsNft_TokenOut;
768
+ TokensRefunded: TokenRefundsNft_TokensRefunded;
769
+ TxHash: Scalars['String']['output'];
770
+ };
771
+ export type TokenRefundsNft_TokenOut = {
772
+ __typename?: 'TokenRefundsNFT_TokenOut';
773
+ Amount: Scalars['Float']['output'];
774
+ TokenId: Scalars['Int']['output'];
775
+ };
776
+ export type TokenRefundsNft_TokensRefunded = {
777
+ __typename?: 'TokenRefundsNFT_TokensRefunded';
778
+ Amount: Scalars['Float']['output'];
766
779
  TokenId: Scalars['Int']['output'];
767
780
  };
768
781
  export type TxHashChainIdInput = {
@@ -1033,6 +1046,13 @@ export type GetLeaderboardQuery = {
1033
1046
  Amount: number;
1034
1047
  }>;
1035
1048
  };
1049
+ export type LogoutMutationVariables = Exact<{
1050
+ [key: string]: never;
1051
+ }>;
1052
+ export type LogoutMutation = {
1053
+ __typename?: 'Mutation';
1054
+ logout: boolean;
1055
+ };
1036
1056
  export type SetMyAgreeMutationVariables = Exact<{
1037
1057
  [key: string]: never;
1038
1058
  }>;
@@ -1453,6 +1473,19 @@ export type TokenInfoQuery = {
1453
1473
  TotalSupply: number;
1454
1474
  } | null;
1455
1475
  };
1476
+ export type TokenRefundsNftQueryVariables = Exact<{
1477
+ chainId: Scalars['Int']['input'];
1478
+ poolId: Scalars['Int']['input'];
1479
+ }>;
1480
+ export type TokenRefundsNftQuery = {
1481
+ __typename?: 'Query';
1482
+ tokenRefundsNFT: Array<{
1483
+ __typename?: 'TokenRefundsNFT';
1484
+ TxHash: string;
1485
+ BlockSignedAt: number;
1486
+ From: string;
1487
+ }>;
1488
+ };
1456
1489
  export type DataQueryVariables = Exact<{
1457
1490
  chainId?: InputMaybe<Scalars['Int']['input']>;
1458
1491
  tokenAddress?: InputMaybe<Scalars['String']['input']>;
@@ -1530,6 +1563,9 @@ export declare const GetLeaderboardByAddressDocument: DocumentNode<GetLeaderboar
1530
1563
  export declare const GetLeaderboardDocument: DocumentNode<GetLeaderboardQuery, Exact<{
1531
1564
  [key: string]: never;
1532
1565
  }>>;
1566
+ export declare const LogoutDocument: DocumentNode<LogoutMutation, Exact<{
1567
+ [key: string]: never;
1568
+ }>>;
1533
1569
  export declare const SetMyAgreeDocument: DocumentNode<SetMyAgreeMutation, Exact<{
1534
1570
  [key: string]: never;
1535
1571
  }>>;
@@ -1637,6 +1673,10 @@ export declare const StatusDocument: DocumentNode<StatusQuery, Exact<{
1637
1673
  export declare const TokenInfoDocument: DocumentNode<TokenInfoQuery, Exact<{
1638
1674
  hashKey: Scalars['String']['input'];
1639
1675
  }>>;
1676
+ export declare const TokenRefundsNftDocument: DocumentNode<TokenRefundsNftQuery, Exact<{
1677
+ chainId: Scalars['Int']['input'];
1678
+ poolId: Scalars['Int']['input'];
1679
+ }>>;
1640
1680
  export declare const DataDocument: DocumentNode<DataQuery, Exact<{
1641
1681
  chainId?: InputMaybe<number> | undefined;
1642
1682
  tokenAddress?: InputMaybe<string> | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poolzfinance/api4",
3
- "version": "1.11.40",
3
+ "version": "1.11.42",
4
4
  "description": "Bridge between front and back",
5
5
  "type": "module",
6
6
  "source": "src/index.ts",