@poolzfinance/api4 1.13.6 → 1.13.7
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.
- package/dist/endpoints/myInvest.d.ts +3 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.modern.js +1 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.module.js +1 -1
- package/dist/index.module.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/types/graphql/gql.d.ts +5 -0
- package/dist/types/graphql/graphql.d.ts +27 -1
- package/package.json +1 -1
|
@@ -40,6 +40,7 @@ type Documents = {
|
|
|
40
40
|
"\n mutation AddNonEvmWallet($chainName: String!, $wallet: String!) {\n addNonEvmWallet(chainName: $chainName, wallet: $wallet) {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n EvmWallet\n }\n}": typeof types.AddNonEvmWalletDocument;
|
|
41
41
|
"\n mutation DeleteNonEvmWallet($chainName: String!) {\n deleteNonEvmWallet(chainName: $chainName) {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n }\n}": typeof types.DeleteNonEvmWalletDocument;
|
|
42
42
|
"\n mutation UpdateNonEvmWallet($chainName: String!, $wallet: String!) {\n updateNonEvmWallet(chainName: $chainName, wallet: $wallet) {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n }\n}": typeof types.UpdateNonEvmWalletDocument;
|
|
43
|
+
"\n query MyInvest {\n myInvest {\n ProjectId\n PoolId\n ChainId\n Token\n Amount\n }\n }\n": typeof types.MyInvestDocument;
|
|
43
44
|
"\n query MyInvested {\n myInvestmentsErc20 {\n ChainId\n TxHash\n BlockSignedAt\n Amount\n Token\n Id\n }\n myInvestmentsETH {\n ChainId\n TxHash\n BlockSignedAt\n Amount\n Id\n }\n}": typeof types.MyInvestedDocument;
|
|
44
45
|
"\n query KYC {\n myProxyKYC {\n Proxy\n RequestStatus\n Status\n }\n}": typeof types.KycDocument;
|
|
45
46
|
"\n query MyRoles {\n myRoles\n }": typeof types.MyRolesDocument;
|
|
@@ -179,6 +180,10 @@ export declare function gql(source: "\n mutation DeleteNonEvmWallet($chainName:
|
|
|
179
180
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
180
181
|
*/
|
|
181
182
|
export declare function gql(source: "\n mutation UpdateNonEvmWallet($chainName: String!, $wallet: String!) {\n updateNonEvmWallet(chainName: $chainName, wallet: $wallet) {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n }\n}"): (typeof documents)["\n mutation UpdateNonEvmWallet($chainName: String!, $wallet: String!) {\n updateNonEvmWallet(chainName: $chainName, wallet: $wallet) {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n }\n}"];
|
|
183
|
+
/**
|
|
184
|
+
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
185
|
+
*/
|
|
186
|
+
export declare function gql(source: "\n query MyInvest {\n myInvest {\n ProjectId\n PoolId\n ChainId\n Token\n Amount\n }\n }\n"): (typeof documents)["\n query MyInvest {\n myInvest {\n ProjectId\n PoolId\n ChainId\n Token\n Amount\n }\n }\n"];
|
|
182
187
|
/**
|
|
183
188
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
184
189
|
*/
|
|
@@ -340,7 +340,6 @@ export type LeaderBoard = {
|
|
|
340
340
|
Amount: Scalars['Float']['output'];
|
|
341
341
|
Owner: Scalars['String']['output'];
|
|
342
342
|
Rank: Scalars['Int']['output'];
|
|
343
|
-
VaultAmount: Scalars['Float']['output'];
|
|
344
343
|
};
|
|
345
344
|
export type Mutation = {
|
|
346
345
|
__typename?: 'Mutation';
|
|
@@ -527,6 +526,14 @@ export type MyData = {
|
|
|
527
526
|
EvmWallets: Array<Scalars['String']['output']>;
|
|
528
527
|
NonEvmWallet: Array<NonEvmWallet>;
|
|
529
528
|
};
|
|
529
|
+
export type MyInvest = {
|
|
530
|
+
__typename?: 'MyInvest';
|
|
531
|
+
Amount: Scalars['Float']['output'];
|
|
532
|
+
ChainId: Scalars['Int']['output'];
|
|
533
|
+
PoolId: Scalars['Int']['output'];
|
|
534
|
+
ProjectId: Scalars['String']['output'];
|
|
535
|
+
Token: Scalars['String']['output'];
|
|
536
|
+
};
|
|
530
537
|
export type MyInvestSum = {
|
|
531
538
|
__typename?: 'MyInvestSum';
|
|
532
539
|
DateOfFirstTx?: Maybe<Scalars['Int']['output']>;
|
|
@@ -661,9 +668,13 @@ export type Query = {
|
|
|
661
668
|
myAllocation: MyAllocation;
|
|
662
669
|
myAssets: MyAssetsResponse;
|
|
663
670
|
myData?: Maybe<MyData>;
|
|
671
|
+
/** Returns archived and new investments data */
|
|
672
|
+
myInvest: Array<MyInvest>;
|
|
664
673
|
/** @deprecated Right now isn't work. Will be deleted with new Invested contract/system. */
|
|
665
674
|
myInvestSum: MyInvestSum;
|
|
675
|
+
/** @deprecated Use new `myInvest` endpoint */
|
|
666
676
|
myInvestmentsETH: Array<MyInvestmentsEth>;
|
|
677
|
+
/** @deprecated Use new `myInvest` endpoint */
|
|
667
678
|
myInvestmentsErc20: Array<MyInvestmentsErc20>;
|
|
668
679
|
myProxyKYC: KycProxy;
|
|
669
680
|
/** @deprecated Use 'myRoles' endpoint. */
|
|
@@ -1499,6 +1510,20 @@ export type UpdateNonEvmWalletMutation = {
|
|
|
1499
1510
|
}>;
|
|
1500
1511
|
};
|
|
1501
1512
|
};
|
|
1513
|
+
export type MyInvestQueryVariables = Exact<{
|
|
1514
|
+
[key: string]: never;
|
|
1515
|
+
}>;
|
|
1516
|
+
export type MyInvestQuery = {
|
|
1517
|
+
__typename?: 'Query';
|
|
1518
|
+
myInvest: Array<{
|
|
1519
|
+
__typename?: 'MyInvest';
|
|
1520
|
+
ProjectId: string;
|
|
1521
|
+
PoolId: number;
|
|
1522
|
+
ChainId: number;
|
|
1523
|
+
Token: string;
|
|
1524
|
+
Amount: number;
|
|
1525
|
+
}>;
|
|
1526
|
+
};
|
|
1502
1527
|
export type MyInvestedQueryVariables = Exact<{
|
|
1503
1528
|
[key: string]: never;
|
|
1504
1529
|
}>;
|
|
@@ -1706,6 +1731,7 @@ export declare const DeleteEvmWalletDocument: DocumentNode<DeleteEvmWalletMutati
|
|
|
1706
1731
|
export declare const AddNonEvmWalletDocument: DocumentNode<AddNonEvmWalletMutation, AddNonEvmWalletMutationVariables>;
|
|
1707
1732
|
export declare const DeleteNonEvmWalletDocument: DocumentNode<DeleteNonEvmWalletMutation, DeleteNonEvmWalletMutationVariables>;
|
|
1708
1733
|
export declare const UpdateNonEvmWalletDocument: DocumentNode<UpdateNonEvmWalletMutation, UpdateNonEvmWalletMutationVariables>;
|
|
1734
|
+
export declare const MyInvestDocument: DocumentNode<MyInvestQuery, MyInvestQueryVariables>;
|
|
1709
1735
|
export declare const MyInvestedDocument: DocumentNode<MyInvestedQuery, MyInvestedQueryVariables>;
|
|
1710
1736
|
export declare const KycDocument: DocumentNode<KycQuery, KycQueryVariables>;
|
|
1711
1737
|
export declare const MyRolesDocument: DocumentNode<MyRolesQuery, MyRolesQueryVariables>;
|