@poolzfinance/api4 1.11.41 → 1.11.43

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,9 @@ 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 {\n tokenRefundsNFT(chainId: 56, poolId: 63963) {\n TxHash\n BlockSignedAt\n From\n TokensRefunded {\n TokenId\n Amount\n }\n TokenOut {\n TokenId\n Amount\n }\n }\n}": DocumentNode<types.TokenRefundsNftQuery, types.Exact<{
175
+ [key: string]: never;
176
+ }>>;
174
177
  "\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
178
  chainId?: types.InputMaybe<number> | undefined;
176
179
  tokenAddress?: types.InputMaybe<string> | undefined;
@@ -374,6 +377,10 @@ export declare function gql(source: "\nquery Status {\n status {\n Chain
374
377
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
375
378
  */
376
379
  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"];
380
+ /**
381
+ * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
382
+ */
383
+ export declare function gql(source: "\n query TokenRefundsNFT {\n tokenRefundsNFT(chainId: 56, poolId: 63963) {\n TxHash\n BlockSignedAt\n From\n TokensRefunded {\n TokenId\n Amount\n }\n TokenOut {\n TokenId\n Amount\n }\n }\n}"): (typeof documents)["\n query TokenRefundsNFT {\n tokenRefundsNFT(chainId: 56, poolId: 63963) {\n TxHash\n BlockSignedAt\n From\n TokensRefunded {\n TokenId\n Amount\n }\n TokenOut {\n TokenId\n Amount\n }\n }\n}"];
377
384
  /**
378
385
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
379
386
  */
@@ -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,28 @@ export type TokenInfoQuery = {
1471
1473
  TotalSupply: number;
1472
1474
  } | null;
1473
1475
  };
1476
+ export type TokenRefundsNftQueryVariables = Exact<{
1477
+ [key: string]: never;
1478
+ }>;
1479
+ export type TokenRefundsNftQuery = {
1480
+ __typename?: 'Query';
1481
+ tokenRefundsNFT: Array<{
1482
+ __typename?: 'TokenRefundsNFT';
1483
+ TxHash: string;
1484
+ BlockSignedAt: number;
1485
+ From: string;
1486
+ TokensRefunded: {
1487
+ __typename?: 'TokenRefundsNFT_TokensRefunded';
1488
+ TokenId: number;
1489
+ Amount: number;
1490
+ };
1491
+ TokenOut: {
1492
+ __typename?: 'TokenRefundsNFT_TokenOut';
1493
+ TokenId: number;
1494
+ Amount: number;
1495
+ };
1496
+ }>;
1497
+ };
1474
1498
  export type DataQueryVariables = Exact<{
1475
1499
  chainId?: InputMaybe<Scalars['Int']['input']>;
1476
1500
  tokenAddress?: InputMaybe<Scalars['String']['input']>;
@@ -1658,6 +1682,9 @@ export declare const StatusDocument: DocumentNode<StatusQuery, Exact<{
1658
1682
  export declare const TokenInfoDocument: DocumentNode<TokenInfoQuery, Exact<{
1659
1683
  hashKey: Scalars['String']['input'];
1660
1684
  }>>;
1685
+ export declare const TokenRefundsNftDocument: DocumentNode<TokenRefundsNftQuery, Exact<{
1686
+ [key: string]: never;
1687
+ }>>;
1661
1688
  export declare const DataDocument: DocumentNode<DataQuery, Exact<{
1662
1689
  chainId?: InputMaybe<number> | undefined;
1663
1690
  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.43",
4
4
  "description": "Bridge between front and back",
5
5
  "type": "module",
6
6
  "source": "src/index.ts",