@poolzfinance/api4 1.12.7 → 1.12.8
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/adminListOfPoolzBackId.d.ts +3 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- 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 +22 -0
- package/package.json +1 -1
|
@@ -16,6 +16,7 @@ type Documents = {
|
|
|
16
16
|
"\n mutation AdminCreatePoolzBackId($projectId: String!, $poolzBackId: Int!, $chainId: Int!) {\n adminCreatePoolzBackId(projectId: $projectId, poolzBackId: $poolzBackId, chainId: $chainId) {\n ProjectId\n PoolzBackId\n }\n }\n": typeof types.AdminCreatePoolzBackIdDocument;
|
|
17
17
|
"\n query AdminGetAllocation($projectId: String!) {\n adminGetAllocation(projectId: $projectId) {\n PhaseId\n WhiteList {\n UserAddress\n Amount\n }\n }\n }\n": typeof types.AdminGetAllocationDocument;
|
|
18
18
|
"\n query AdminListOfCollateral($chainId: Int!, $collateralAddress: String!, $limit: Int!, $page: Int!) {\n adminListOfCollateral(\n chainId: $chainId\n collateralAddress: $collateralAddress\n limit: $limit\n page: $page\n ) {\n PoolId\n TokenAmountInWei\n MainCoinAmountInWei\n FinishTime\n }\n}": typeof types.AdminListOfCollateralDocument;
|
|
19
|
+
"\n query AdminListOfPoolzBackId($projectIDs: [String!]!) {\n adminListOfPoolzBackId(projectIDs: $projectIDs) {\n ProjectId\n PoolzBackId\n }\n}": typeof types.AdminListOfPoolzBackIdDocument;
|
|
19
20
|
"\n mutation AdminWriteAllocation($input: AdminWriteAllocation!) {\n adminWriteAllocation(input: $input)\n }\n": typeof types.AdminWriteAllocationDocument;
|
|
20
21
|
"\n query GetApprovedContracts($onlyApproved: Boolean!) {\n approvedContracts(onlyApproved: $onlyApproved) {\n ContractAddress\n Status\n }\n }": typeof types.GetApprovedContractsDocument;
|
|
21
22
|
"\n query AdminAutoSignUp($note: String) {\n adminAutoSignUp(note: $note) {\n Address\n PoolzAmount\n Note\n }\n }": typeof types.AdminAutoSignUpDocument;
|
|
@@ -98,6 +99,10 @@ export declare function gql(source: "\n query AdminGetAllocation($projectId: St
|
|
|
98
99
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
99
100
|
*/
|
|
100
101
|
export declare function gql(source: "\n query AdminListOfCollateral($chainId: Int!, $collateralAddress: String!, $limit: Int!, $page: Int!) {\n adminListOfCollateral(\n chainId: $chainId\n collateralAddress: $collateralAddress\n limit: $limit\n page: $page\n ) {\n PoolId\n TokenAmountInWei\n MainCoinAmountInWei\n FinishTime\n }\n}"): (typeof documents)["\n query AdminListOfCollateral($chainId: Int!, $collateralAddress: String!, $limit: Int!, $page: Int!) {\n adminListOfCollateral(\n chainId: $chainId\n collateralAddress: $collateralAddress\n limit: $limit\n page: $page\n ) {\n PoolId\n TokenAmountInWei\n MainCoinAmountInWei\n FinishTime\n }\n}"];
|
|
102
|
+
/**
|
|
103
|
+
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
104
|
+
*/
|
|
105
|
+
export declare function gql(source: "\n query AdminListOfPoolzBackId($projectIDs: [String!]!) {\n adminListOfPoolzBackId(projectIDs: $projectIDs) {\n ProjectId\n PoolzBackId\n }\n}"): (typeof documents)["\n query AdminListOfPoolzBackId($projectIDs: [String!]!) {\n adminListOfPoolzBackId(projectIDs: $projectIDs) {\n ProjectId\n PoolzBackId\n }\n}"];
|
|
101
106
|
/**
|
|
102
107
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
103
108
|
*/
|
|
@@ -133,6 +133,11 @@ export type AdminListOfCollateral = {
|
|
|
133
133
|
PoolId: Scalars['Int']['output'];
|
|
134
134
|
TokenAmountInWei: Scalars['String']['output'];
|
|
135
135
|
};
|
|
136
|
+
export type AdminListOfPoolzBackId = {
|
|
137
|
+
__typename?: 'AdminListOfPoolzBackId';
|
|
138
|
+
PoolzBackId: Scalars['Int']['output'];
|
|
139
|
+
ProjectId: Scalars['String']['output'];
|
|
140
|
+
};
|
|
136
141
|
export type AdminNonEvmInvested = {
|
|
137
142
|
__typename?: 'AdminNonEvmInvested';
|
|
138
143
|
AmountIn: Scalars['Float']['output'];
|
|
@@ -623,6 +628,8 @@ export type Query = {
|
|
|
623
628
|
adminKycProxy: Array<AdminKycProxy>;
|
|
624
629
|
adminListAssets: Array<AdminListAssetsResponse>;
|
|
625
630
|
adminListOfCollateral: Array<AdminListOfCollateral>;
|
|
631
|
+
/** Works with a maximum of 100 elements */
|
|
632
|
+
adminListOfPoolzBackId: Array<AdminListOfPoolzBackId>;
|
|
626
633
|
adminNonEvmInvested: Array<AdminNonEvmInvested>;
|
|
627
634
|
/** @deprecated Use a new query 'adminNonEvmInvested'. */
|
|
628
635
|
adminNonEvmWallet: Array<AdminNonEvmWallet>;
|
|
@@ -709,6 +716,9 @@ export type QueryAdminListOfCollateralArgs = {
|
|
|
709
716
|
limit: Scalars['Int']['input'];
|
|
710
717
|
page: Scalars['Int']['input'];
|
|
711
718
|
};
|
|
719
|
+
export type QueryAdminListOfPoolzBackIdArgs = {
|
|
720
|
+
projectIDs: Array<Scalars['String']['input']>;
|
|
721
|
+
};
|
|
712
722
|
export type QueryAdminNonEvmInvestedArgs = {
|
|
713
723
|
chainName: Scalars['String']['input'];
|
|
714
724
|
poolId: Scalars['Long']['input'];
|
|
@@ -1126,6 +1136,17 @@ export type AdminListOfCollateralQuery = {
|
|
|
1126
1136
|
FinishTime: number;
|
|
1127
1137
|
}>;
|
|
1128
1138
|
};
|
|
1139
|
+
export type AdminListOfPoolzBackIdQueryVariables = Exact<{
|
|
1140
|
+
projectIDs: Array<Scalars['String']['input']> | Scalars['String']['input'];
|
|
1141
|
+
}>;
|
|
1142
|
+
export type AdminListOfPoolzBackIdQuery = {
|
|
1143
|
+
__typename?: 'Query';
|
|
1144
|
+
adminListOfPoolzBackId: Array<{
|
|
1145
|
+
__typename?: 'AdminListOfPoolzBackId';
|
|
1146
|
+
ProjectId: string;
|
|
1147
|
+
PoolzBackId: number;
|
|
1148
|
+
}>;
|
|
1149
|
+
};
|
|
1129
1150
|
export type AdminWriteAllocationMutationVariables = Exact<{
|
|
1130
1151
|
input: AdminWriteAllocation;
|
|
1131
1152
|
}>;
|
|
@@ -1865,6 +1886,7 @@ export declare const AdminCleanCacheDocument: DocumentNode<AdminCleanCacheMutati
|
|
|
1865
1886
|
export declare const AdminCreatePoolzBackIdDocument: DocumentNode<AdminCreatePoolzBackIdMutation, AdminCreatePoolzBackIdMutationVariables>;
|
|
1866
1887
|
export declare const AdminGetAllocationDocument: DocumentNode<AdminGetAllocationQuery, AdminGetAllocationQueryVariables>;
|
|
1867
1888
|
export declare const AdminListOfCollateralDocument: DocumentNode<AdminListOfCollateralQuery, AdminListOfCollateralQueryVariables>;
|
|
1889
|
+
export declare const AdminListOfPoolzBackIdDocument: DocumentNode<AdminListOfPoolzBackIdQuery, AdminListOfPoolzBackIdQueryVariables>;
|
|
1868
1890
|
export declare const AdminWriteAllocationDocument: DocumentNode<AdminWriteAllocationMutation, AdminWriteAllocationMutationVariables>;
|
|
1869
1891
|
export declare const GetApprovedContractsDocument: DocumentNode<GetApprovedContractsQuery, GetApprovedContractsQueryVariables>;
|
|
1870
1892
|
export declare const AdminAutoSignUpDocument: DocumentNode<AdminAutoSignUpQuery, AdminAutoSignUpQueryVariables>;
|