@poolzfinance/api4 1.13.1 → 1.13.3
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/index.cjs +1 -1
- package/dist/index.cjs.map +1 -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 +2 -2
- package/dist/types/graphql/graphql.d.ts +10 -6
- package/package.json +1 -1
|
@@ -15,7 +15,7 @@ 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
16
|
"\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
17
|
"\n query AdminListOfPoolzBackId($projectIDs: [String!]!) {\n adminListOfPoolzBackId(projectIDs: $projectIDs) {\n ProjectId\n PoolzBackId\n }\n}": typeof types.AdminListOfPoolzBackIdDocument;
|
|
18
|
-
"\n query AdminReadAssets($request: [ReadAssetsRequest!]!) {\n adminReadAssets(request: $request) {\n Assets {\n ChainId\n PoolId\n Dispensers {\n
|
|
18
|
+
"\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;
|
|
19
19
|
"\n mutation AdminWriteAllocation($input: AdminWriteAllocation!) {\n adminWriteAllocation(input: $input)\n }\n": typeof types.AdminWriteAllocationDocument;
|
|
20
20
|
"\n query GetApprovedContracts($onlyApproved: Boolean!) {\n approvedContracts(onlyApproved: $onlyApproved) {\n ContractAddress\n Status\n }\n }": typeof types.GetApprovedContractsDocument;
|
|
21
21
|
"\n query BoostProxyData($campaignCodes: [String!]!) {\n boostProxy(campaignCodes: $campaignCodes) {\n Actions\n Participants\n TotalUsers\n DataKey\n CampaignName\n TotalEntries\n CampaignCode\n }\n}": typeof types.BoostProxyDataDocument;
|
|
@@ -81,7 +81,7 @@ export declare function gql(source: "\n query AdminListOfPoolzBackId($projectID
|
|
|
81
81
|
/**
|
|
82
82
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
83
83
|
*/
|
|
84
|
-
export declare function gql(source: "\n query AdminReadAssets($request: [ReadAssetsRequest!]!) {\n adminReadAssets(request: $request) {\n Assets {\n ChainId\n PoolId\n Dispensers {\n
|
|
84
|
+
export declare function gql(source: "\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 documents)["\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}"];
|
|
85
85
|
/**
|
|
86
86
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
87
87
|
*/
|
|
@@ -653,6 +653,7 @@ export type Query = {
|
|
|
653
653
|
boostProxy: Array<BoostProxy>;
|
|
654
654
|
daoSenderHistory: DaoSenderHistoryPage;
|
|
655
655
|
generateMyInvestSignature: GenerateMyInvestSignature;
|
|
656
|
+
/** @deprecated Will be removed. */
|
|
656
657
|
investedErc20: Array<InvestedErc20>;
|
|
657
658
|
/** @deprecated This endpoint is deprecated. */
|
|
658
659
|
kolInvestedErc20: Array<KolInvestedErc20>;
|
|
@@ -885,8 +886,8 @@ export type ReadAssetResponse_Builder = {
|
|
|
885
886
|
export type ReadAssetResponse_Dispenser = {
|
|
886
887
|
__typename?: 'ReadAssetResponse_Dispenser';
|
|
887
888
|
Builders: Array<ReadAssetResponse_Builder>;
|
|
888
|
-
IsTaken: Scalars['Boolean']['output'];
|
|
889
889
|
RefundFinishTime?: Maybe<Scalars['Int']['output']>;
|
|
890
|
+
Taken?: Maybe<ReadAssetsResponse_Taken>;
|
|
890
891
|
UserAddress: Scalars['String']['output'];
|
|
891
892
|
};
|
|
892
893
|
export type ReadAssetsRequest = {
|
|
@@ -897,6 +898,10 @@ export type ReadAssetsResponse = {
|
|
|
897
898
|
__typename?: 'ReadAssetsResponse';
|
|
898
899
|
Assets: Array<ReadAssetResponse_Asset>;
|
|
899
900
|
};
|
|
901
|
+
export type ReadAssetsResponse_Taken = {
|
|
902
|
+
__typename?: 'ReadAssetsResponse_Taken';
|
|
903
|
+
IsRefunded: Scalars['Boolean']['output'];
|
|
904
|
+
};
|
|
900
905
|
export type RetrieveSignatureRequest = {
|
|
901
906
|
ChainId: Scalars['Int']['input'];
|
|
902
907
|
PoolId: Scalars['Int']['input'];
|
|
@@ -1141,16 +1146,15 @@ export type AdminReadAssetsQuery = {
|
|
|
1141
1146
|
PoolId: number;
|
|
1142
1147
|
Dispensers: Array<{
|
|
1143
1148
|
__typename?: 'ReadAssetResponse_Dispenser';
|
|
1144
|
-
IsTaken: boolean;
|
|
1145
1149
|
UserAddress: string;
|
|
1146
|
-
RefundFinishTime?: number | null;
|
|
1147
1150
|
Builders: Array<{
|
|
1148
1151
|
__typename?: 'ReadAssetResponse_Builder';
|
|
1149
|
-
ProviderAddress: string;
|
|
1150
1152
|
WeiAmount: string;
|
|
1151
|
-
StartTime?: number | null;
|
|
1152
|
-
FinishTime?: number | null;
|
|
1153
1153
|
}>;
|
|
1154
|
+
Taken?: {
|
|
1155
|
+
__typename?: 'ReadAssetsResponse_Taken';
|
|
1156
|
+
IsRefunded: boolean;
|
|
1157
|
+
} | null;
|
|
1154
1158
|
}>;
|
|
1155
1159
|
}>;
|
|
1156
1160
|
};
|