@poolzfinance/api4 1.16.3 → 1.16.4
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/adminDeleteAsset.d.ts +7 -0
- package/dist/hooks/useTokenExpiration.d.ts +1 -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 +2 -2
- 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 +16 -5
- package/package.json +1 -1
|
@@ -13,6 +13,7 @@ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/
|
|
|
13
13
|
*/
|
|
14
14
|
type Documents = {
|
|
15
15
|
"\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;
|
|
16
|
+
"\n mutation AdminDeleteAsset($deleteAssetRequest: DeleteAssetRequest!) {\n adminDeleteAsset(request: $deleteAssetRequest) {\n StatusCode\n }\n }\n": typeof types.AdminDeleteAssetDocument;
|
|
16
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;
|
|
17
18
|
"\n query AdminListOfPoolzBackId($projectIDs: [String!]!) {\n adminListOfPoolzBackId(projectIDs: $projectIDs) {\n ProjectId\n PoolzBackId\n }\n}": typeof types.AdminListOfPoolzBackIdDocument;
|
|
18
19
|
"\n query AdminReadAssets($request: [ReadAssetsRequest!]!) {\n adminReadAssets(request: $request) {\n Assets {\n ChainId\n PoolId\n Dispensers {\n UserAddress\n Builders {\n WeiAmount\n }\n Taken {\n IsRefunded\n }\n }\n }\n }\n}": typeof types.AdminReadAssetsDocument;
|
|
@@ -75,6 +76,10 @@ export declare function gql(source: string): unknown;
|
|
|
75
76
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
76
77
|
*/
|
|
77
78
|
export declare function gql(source: "\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 documents)["\n mutation AdminCreatePoolzBackId($projectId: String!, $poolzBackId: Int!, $chainId: Int!) {\n adminCreatePoolzBackId(projectId: $projectId, poolzBackId: $poolzBackId, chainId: $chainId) {\n ProjectId\n PoolzBackId\n }\n }\n"];
|
|
79
|
+
/**
|
|
80
|
+
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
81
|
+
*/
|
|
82
|
+
export declare function gql(source: "\n mutation AdminDeleteAsset($deleteAssetRequest: DeleteAssetRequest!) {\n adminDeleteAsset(request: $deleteAssetRequest) {\n StatusCode\n }\n }\n"): (typeof documents)["\n mutation AdminDeleteAsset($deleteAssetRequest: DeleteAssetRequest!) {\n adminDeleteAsset(request: $deleteAssetRequest) {\n StatusCode\n }\n }\n"];
|
|
78
83
|
/**
|
|
79
84
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
80
85
|
*/
|
|
@@ -209,13 +209,13 @@ export type DaoSenderHistoryV2_Token = {
|
|
|
209
209
|
Symbol: Scalars['String']['output'];
|
|
210
210
|
};
|
|
211
211
|
export type DeleteAssetRequest = {
|
|
212
|
-
|
|
213
|
-
|
|
212
|
+
message: DeleteAssetRequest_Message;
|
|
213
|
+
signature: Scalars['String']['input'];
|
|
214
214
|
};
|
|
215
215
|
export type DeleteAssetRequest_Message = {
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
216
|
+
chainId: Scalars['Int']['input'];
|
|
217
|
+
poolId: Scalars['Int']['input'];
|
|
218
|
+
users: Array<Scalars['String']['input']>;
|
|
219
219
|
};
|
|
220
220
|
export type DeleteAssetResponse = {
|
|
221
221
|
__typename?: 'DeleteAssetResponse';
|
|
@@ -748,6 +748,16 @@ export type AdminCreatePoolzBackIdMutation = {
|
|
|
748
748
|
PoolzBackId: number;
|
|
749
749
|
};
|
|
750
750
|
};
|
|
751
|
+
export type AdminDeleteAssetMutationVariables = Exact<{
|
|
752
|
+
deleteAssetRequest: DeleteAssetRequest;
|
|
753
|
+
}>;
|
|
754
|
+
export type AdminDeleteAssetMutation = {
|
|
755
|
+
__typename?: 'Mutation';
|
|
756
|
+
adminDeleteAsset: {
|
|
757
|
+
__typename?: 'DeleteAssetResponse';
|
|
758
|
+
StatusCode: number;
|
|
759
|
+
};
|
|
760
|
+
};
|
|
751
761
|
export type AdminGetAllocationQueryVariables = Exact<{
|
|
752
762
|
projectId: Scalars['String']['input'];
|
|
753
763
|
}>;
|
|
@@ -1394,6 +1404,7 @@ export type VaultsV2Query = {
|
|
|
1394
1404
|
}>;
|
|
1395
1405
|
};
|
|
1396
1406
|
export declare const AdminCreatePoolzBackIdDocument: DocumentNode<AdminCreatePoolzBackIdMutation, AdminCreatePoolzBackIdMutationVariables>;
|
|
1407
|
+
export declare const AdminDeleteAssetDocument: DocumentNode<AdminDeleteAssetMutation, AdminDeleteAssetMutationVariables>;
|
|
1397
1408
|
export declare const AdminGetAllocationDocument: DocumentNode<AdminGetAllocationQuery, AdminGetAllocationQueryVariables>;
|
|
1398
1409
|
export declare const AdminListOfPoolzBackIdDocument: DocumentNode<AdminListOfPoolzBackIdQuery, AdminListOfPoolzBackIdQueryVariables>;
|
|
1399
1410
|
export declare const AdminReadAssetsDocument: DocumentNode<AdminReadAssetsQuery, AdminReadAssetsQueryVariables>;
|