@poolzfinance/api4 1.11.41 → 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.
@@ -171,6 +171,10 @@ declare const documents: {
171
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<{
172
172
  hashKey: string;
173
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
+ }>>;
174
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<{
175
179
  chainId?: types.InputMaybe<number> | undefined;
176
180
  tokenAddress?: types.InputMaybe<string> | undefined;
@@ -374,6 +378,10 @@ export declare function gql(source: "\nquery Status {\n status {\n Chain
374
378
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
375
379
  */
376
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}"];
377
385
  /**
378
386
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
379
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>;
@@ -1471,6 +1473,19 @@ export type TokenInfoQuery = {
1471
1473
  TotalSupply: number;
1472
1474
  } | null;
1473
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
+ };
1474
1489
  export type DataQueryVariables = Exact<{
1475
1490
  chainId?: InputMaybe<Scalars['Int']['input']>;
1476
1491
  tokenAddress?: InputMaybe<Scalars['String']['input']>;
@@ -1658,6 +1673,10 @@ export declare const StatusDocument: DocumentNode<StatusQuery, Exact<{
1658
1673
  export declare const TokenInfoDocument: DocumentNode<TokenInfoQuery, Exact<{
1659
1674
  hashKey: Scalars['String']['input'];
1660
1675
  }>>;
1676
+ export declare const TokenRefundsNftDocument: DocumentNode<TokenRefundsNftQuery, Exact<{
1677
+ chainId: Scalars['Int']['input'];
1678
+ poolId: Scalars['Int']['input'];
1679
+ }>>;
1661
1680
  export declare const DataDocument: DocumentNode<DataQuery, Exact<{
1662
1681
  chainId?: InputMaybe<number> | undefined;
1663
1682
  tokenAddress?: InputMaybe<string> | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poolzfinance/api4",
3
- "version": "1.11.41",
3
+ "version": "1.11.42",
4
4
  "description": "Bridge between front and back",
5
5
  "type": "module",
6
6
  "source": "src/index.ts",