@poolzfinance/api4 1.12.1 → 1.12.2
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/adminCreatePoolzBackId.d.ts +2 -2
- package/dist/endpoints/adminListOfCollateral.d.ts +4 -4
- package/dist/endpoints/adminWriteAllocation.d.ts +7 -0
- package/dist/endpoints/boostProxy.d.ts +1 -1
- package/dist/endpoints/dispenser.d.ts +2 -2
- package/dist/endpoints/getGeneratedToken.d.ts +2 -2
- package/dist/endpoints/investProvider.d.ts +2 -2
- package/dist/endpoints/investedERC20.d.ts +1 -1
- package/dist/endpoints/myData.d.ts +7 -7
- package/dist/endpoints/seasonPass.d.ts +10 -10
- package/dist/endpoints/signupV2.d.ts +4 -4
- package/dist/endpoints/signupV3.d.ts +4 -4
- package/dist/endpoints/tokenRefundsNFT.d.ts +2 -2
- package/dist/endpoints/vaults.d.ts +3 -3
- 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/IAPI4ProviderProps.d.ts +0 -1
- package/dist/types/graphql/fragment-masking.d.ts +4 -0
- package/dist/types/graphql/gql.d.ts +60 -180
- package/dist/types/graphql/graphql.d.ts +70 -179
- package/package.json +5 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const useAdminCreatePoolzBackId: () => import("@apollo/client").MutationTuple<import("../types/graphql/graphql").AdminCreatePoolzBackIdMutation, import("../types/graphql/graphql").Exact<{
|
|
2
|
-
projectId:
|
|
3
|
-
poolzBackId:
|
|
2
|
+
projectId: import("../types/graphql/graphql").Scalars["String"]["input"];
|
|
3
|
+
poolzBackId: import("../types/graphql/graphql").Scalars["Int"]["input"];
|
|
4
4
|
}>, {
|
|
5
5
|
headers: {
|
|
6
6
|
Authorization: string | null | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const useLazyAdminListOfCollateral: () => import("@apollo/client").LazyQueryResultTuple<import("../types/graphql/graphql").AdminListOfCollateralQuery, import("../types/graphql/graphql").Exact<{
|
|
2
|
-
chainId:
|
|
3
|
-
collateralAddress:
|
|
4
|
-
limit:
|
|
5
|
-
page:
|
|
2
|
+
chainId: import("../types/graphql/graphql").Scalars["Int"]["input"];
|
|
3
|
+
collateralAddress: import("../types/graphql/graphql").Scalars["String"]["input"];
|
|
4
|
+
limit: import("../types/graphql/graphql").Scalars["Int"]["input"];
|
|
5
|
+
page: import("../types/graphql/graphql").Scalars["Int"]["input"];
|
|
6
6
|
}>>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const useAdminWriteAllocation: () => import("@apollo/client").MutationTuple<import("../types/graphql/graphql").AdminWriteAllocationMutation, import("../types/graphql/graphql").Exact<{
|
|
2
|
+
input: import("../types/graphql/graphql").AdminWriteAllocation;
|
|
3
|
+
}>, {
|
|
4
|
+
headers: {
|
|
5
|
+
Authorization: string | null | undefined;
|
|
6
|
+
};
|
|
7
|
+
}, import("@apollo/client").ApolloCache<any>>;
|
|
@@ -5,5 +5,5 @@ export declare const useBoostData: (campaignCodes?: string[]) => import("@apollo
|
|
|
5
5
|
campaignCodes: string[];
|
|
6
6
|
}>;
|
|
7
7
|
export declare const useLazyBoostUsers: () => import("@apollo/client").LazyQueryResultTuple<import("../types/graphql/graphql").BoostProxyUsersQuery, import("../types/graphql/graphql").Exact<{
|
|
8
|
-
campaignCodes:
|
|
8
|
+
campaignCodes: Array<import("../types/graphql/graphql").Scalars["String"]["input"]> | import("../types/graphql/graphql").Scalars["String"]["input"];
|
|
9
9
|
}>>;
|
|
@@ -2,8 +2,8 @@ export declare const useLazyRetrieveSignature: () => import("@apollo/client").La
|
|
|
2
2
|
request: import("../types/graphql/graphql").RetrieveSignatureRequest;
|
|
3
3
|
}>>;
|
|
4
4
|
export declare const useLazyMyAsset: () => import("@apollo/client").LazyQueryResultTuple<import("../types/graphql/graphql").MyAssetsQuery, import("../types/graphql/graphql").Exact<{
|
|
5
|
-
limit:
|
|
6
|
-
page:
|
|
5
|
+
limit: import("../types/graphql/graphql").Scalars["Int"]["input"];
|
|
6
|
+
page: import("../types/graphql/graphql").Scalars["Int"]["input"];
|
|
7
7
|
}>>;
|
|
8
8
|
export declare const useAdminCreateAsset: () => import("@apollo/client").MutationTuple<import("../types/graphql/graphql").AdminCreateAssetMutation, import("../types/graphql/graphql").Exact<{
|
|
9
9
|
Request: import("../types/graphql/graphql").CreateAssetRequest;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const useGetGeneratedToken: () => import("@apollo/client").MutationTuple<import("../types/graphql/graphql").GenerateTokenFromSignatureMutation, import("../types/graphql/graphql").Exact<{
|
|
2
|
-
eip4361message:
|
|
3
|
-
signature:
|
|
2
|
+
eip4361message: import("../types/graphql/graphql").Scalars["String"]["input"];
|
|
3
|
+
signature: import("../types/graphql/graphql").Scalars["String"]["input"];
|
|
4
4
|
}>, {
|
|
5
5
|
headers: {
|
|
6
6
|
Authorization: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const useLazyGenerateInvestSignature: () => import("@apollo/client").LazyQueryResultTuple<import("../types/graphql/graphql").GenerateMyInvestSignatureQuery, import("../types/graphql/graphql").Exact<{
|
|
2
|
-
projectId:
|
|
3
|
-
weiAmount:
|
|
2
|
+
projectId: import("../types/graphql/graphql").Scalars["String"]["input"];
|
|
3
|
+
weiAmount: import("../types/graphql/graphql").Scalars["String"]["input"];
|
|
4
4
|
}>>;
|
|
@@ -2,5 +2,5 @@ export declare const useInvestedERC20: (investedErc20Id: number) => import("@apo
|
|
|
2
2
|
investedErc20Id: number;
|
|
3
3
|
}>;
|
|
4
4
|
export declare const useLazyInvestedERC20: () => import("@apollo/client").LazyQueryResultTuple<import("../types/graphql/graphql").InvestedErc20Query, import("../types/graphql/graphql").Exact<{
|
|
5
|
-
investedErc20Id:
|
|
5
|
+
investedErc20Id: import("../types/graphql/graphql").Scalars["Int"]["input"];
|
|
6
6
|
}>>;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
export declare const useAddEvmWallet: () => import("@apollo/client").MutationTuple<import("../types/graphql/graphql").AddEvmWalletMutation, import("../types/graphql/graphql").Exact<{
|
|
2
|
-
wallet:
|
|
2
|
+
wallet: import("../types/graphql/graphql").Scalars["String"]["input"];
|
|
3
3
|
}>, {
|
|
4
4
|
headers: {
|
|
5
5
|
Authorization: string | null | undefined;
|
|
6
6
|
};
|
|
7
7
|
}, import("@apollo/client").ApolloCache<any>>;
|
|
8
8
|
export declare const useDeleteEvmWallet: () => import("@apollo/client").MutationTuple<import("../types/graphql/graphql").DeleteEvmWalletMutation, import("../types/graphql/graphql").Exact<{
|
|
9
|
-
wallet:
|
|
9
|
+
wallet: import("../types/graphql/graphql").Scalars["String"]["input"];
|
|
10
10
|
}>, {
|
|
11
11
|
headers: {
|
|
12
12
|
Authorization: string | null | undefined;
|
|
13
13
|
};
|
|
14
14
|
}, import("@apollo/client").ApolloCache<any>>;
|
|
15
15
|
export declare const useSetNonEvmWallet: () => import("@apollo/client").MutationTuple<import("../types/graphql/graphql").AddNonEvmWalletMutation, import("../types/graphql/graphql").Exact<{
|
|
16
|
-
chainName:
|
|
17
|
-
wallet:
|
|
16
|
+
chainName: import("../types/graphql/graphql").Scalars["String"]["input"];
|
|
17
|
+
wallet: import("../types/graphql/graphql").Scalars["String"]["input"];
|
|
18
18
|
}>, {
|
|
19
19
|
headers: {
|
|
20
20
|
Authorization: string | null | undefined;
|
|
@@ -31,15 +31,15 @@ export declare const useMyData: () => import("@apollo/client").QueryResult<impor
|
|
|
31
31
|
[key: string]: never;
|
|
32
32
|
}>>;
|
|
33
33
|
export declare const useDeleteNonEvmWallet: () => import("@apollo/client").MutationTuple<import("../types/graphql/graphql").DeleteNonEvmWalletMutation, import("../types/graphql/graphql").Exact<{
|
|
34
|
-
chainName:
|
|
34
|
+
chainName: import("../types/graphql/graphql").Scalars["String"]["input"];
|
|
35
35
|
}>, {
|
|
36
36
|
headers: {
|
|
37
37
|
Authorization: string | null | undefined;
|
|
38
38
|
};
|
|
39
39
|
}, import("@apollo/client").ApolloCache<any>>;
|
|
40
40
|
export declare const useUpdateNonEvmWallet: () => import("@apollo/client").MutationTuple<import("../types/graphql/graphql").UpdateNonEvmWalletMutation, import("../types/graphql/graphql").Exact<{
|
|
41
|
-
chainName:
|
|
42
|
-
wallet:
|
|
41
|
+
chainName: import("../types/graphql/graphql").Scalars["String"]["input"];
|
|
42
|
+
wallet: import("../types/graphql/graphql").Scalars["String"]["input"];
|
|
43
43
|
}>, {
|
|
44
44
|
headers: {
|
|
45
45
|
Authorization: string | null | undefined;
|
|
@@ -2,28 +2,28 @@ export declare const useGetSeasonPass: () => import("@apollo/client").QueryResul
|
|
|
2
2
|
[key: string]: never;
|
|
3
3
|
}>>;
|
|
4
4
|
export declare const useCreateSeasonPass: () => import("@apollo/client").MutationTuple<import("../types/graphql/graphql").CreateSeasonPassMutation, import("../types/graphql/graphql").Exact<{
|
|
5
|
-
Owner:
|
|
6
|
-
Amount:
|
|
7
|
-
ValidUntil:
|
|
8
|
-
Note:
|
|
5
|
+
Owner: import("../types/graphql/graphql").Scalars["String"]["input"];
|
|
6
|
+
Amount: import("../types/graphql/graphql").Scalars["Float"]["input"];
|
|
7
|
+
ValidUntil: import("../types/graphql/graphql").Scalars["Int"]["input"];
|
|
8
|
+
Note: import("../types/graphql/graphql").Scalars["String"]["input"];
|
|
9
9
|
}>, {
|
|
10
10
|
headers: {
|
|
11
11
|
Authorization: string | null | undefined;
|
|
12
12
|
};
|
|
13
13
|
}, import("@apollo/client").ApolloCache<any>>;
|
|
14
14
|
export declare const useUpdateSeasonPass: () => import("@apollo/client").MutationTuple<import("../types/graphql/graphql").UpdateSeasonPassMutation, import("../types/graphql/graphql").Exact<{
|
|
15
|
-
Owner:
|
|
16
|
-
Amount:
|
|
17
|
-
ValidUntil:
|
|
18
|
-
Note:
|
|
15
|
+
Owner: import("../types/graphql/graphql").Scalars["String"]["input"];
|
|
16
|
+
Amount: import("../types/graphql/graphql").Scalars["Float"]["input"];
|
|
17
|
+
ValidUntil: import("../types/graphql/graphql").Scalars["Int"]["input"];
|
|
18
|
+
Note: import("../types/graphql/graphql").Scalars["String"]["input"];
|
|
19
19
|
}>, {
|
|
20
20
|
headers: {
|
|
21
21
|
Authorization: string | null | undefined;
|
|
22
22
|
};
|
|
23
23
|
}, import("@apollo/client").ApolloCache<any>>;
|
|
24
24
|
export declare const useDeleteSeasonPass: () => import("@apollo/client").MutationTuple<import("../types/graphql/graphql").DeleteSeasonPassMutation, import("../types/graphql/graphql").Exact<{
|
|
25
|
-
owner:
|
|
26
|
-
note:
|
|
25
|
+
owner: import("../types/graphql/graphql").Scalars["String"]["input"];
|
|
26
|
+
note: import("../types/graphql/graphql").Scalars["String"]["input"];
|
|
27
27
|
}>, {
|
|
28
28
|
headers: {
|
|
29
29
|
Authorization: string | null | undefined;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { MutationTuple } from "@apollo/client";
|
|
2
2
|
import { types } from "../";
|
|
3
3
|
export declare const useLazyGetMySignUp: () => import("@apollo/client").LazyQueryResultTuple<types.MySignUpV2Query, types.Exact<{
|
|
4
|
-
projectIDs:
|
|
4
|
+
projectIDs: Array<types.Scalars["Int"]["input"]> | types.Scalars["Int"]["input"];
|
|
5
5
|
}>>;
|
|
6
6
|
export declare const useLazyGetAdminSignUp: () => import("@apollo/client").LazyQueryResultTuple<types.AdminSignUpV2Query, types.Exact<{
|
|
7
|
-
projectId:
|
|
8
|
-
minPoolxAmount:
|
|
7
|
+
projectId: types.Scalars["Int"]["input"];
|
|
8
|
+
minPoolxAmount: types.Scalars["Int"]["input"];
|
|
9
9
|
}>>;
|
|
10
10
|
export declare const useSetMySignUp: () => MutationTuple<types.ProjectSignUpV2Mutation, types.Exact<{
|
|
11
|
-
projectId:
|
|
11
|
+
projectId: types.Scalars["Int"]["input"];
|
|
12
12
|
}>, {
|
|
13
13
|
headers: {
|
|
14
14
|
Authorization: string | null | undefined;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export declare const useLazyGetMySignUpV3: () => import("@apollo/client").LazyQueryResultTuple<import("../types/graphql/graphql").MySignUpV3Query, import("../types/graphql/graphql").Exact<{
|
|
2
|
-
projectIDs:
|
|
2
|
+
projectIDs: Array<import("../types/graphql/graphql").Scalars["String"]["input"]> | import("../types/graphql/graphql").Scalars["String"]["input"];
|
|
3
3
|
}>>;
|
|
4
4
|
export declare const useLazyGetAdminSignUpV3: () => import("@apollo/client").LazyQueryResultTuple<import("../types/graphql/graphql").AdminSignUpV3Query, import("../types/graphql/graphql").Exact<{
|
|
5
|
-
projectId:
|
|
6
|
-
minPoolxAmount:
|
|
5
|
+
projectId: import("../types/graphql/graphql").Scalars["String"]["input"];
|
|
6
|
+
minPoolxAmount: import("../types/graphql/graphql").Scalars["Int"]["input"];
|
|
7
7
|
}>>;
|
|
8
8
|
export declare const useSetMySignUpV3: () => import("@apollo/client").MutationTuple<import("../types/graphql/graphql").ProjectSignUpV3Mutation, import("../types/graphql/graphql").Exact<{
|
|
9
|
-
projectId:
|
|
9
|
+
projectId: import("../types/graphql/graphql").Scalars["String"]["input"];
|
|
10
10
|
}>, {
|
|
11
11
|
headers: {
|
|
12
12
|
Authorization: string | null | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const useLazyTokenRefundsNFT: () => import("@apollo/client").LazyQueryResultTuple<import("../types/graphql/graphql").TokenRefundsNftQuery, import("../types/graphql/graphql").Exact<{
|
|
2
|
-
chainId:
|
|
3
|
-
poolId:
|
|
2
|
+
chainId: import("../types/graphql/graphql").Scalars["Int"]["input"];
|
|
3
|
+
poolId: import("../types/graphql/graphql").Scalars["Int"]["input"];
|
|
4
4
|
}>>;
|
|
@@ -7,8 +7,8 @@ export declare const useVaults: (chainId: ChainIdType, tokenAddress: TokenAddres
|
|
|
7
7
|
fetchBalance: FetchBalanceType;
|
|
8
8
|
}>;
|
|
9
9
|
export declare const useLazyGetVaults: () => import("@apollo/client").LazyQueryResultTuple<import("../types/graphql/graphql").DataQuery, import("../types/graphql/graphql").Exact<{
|
|
10
|
-
chainId?: import("../types/graphql/graphql").InputMaybe<
|
|
11
|
-
tokenAddress?: import("../types/graphql/graphql").InputMaybe<
|
|
12
|
-
fetchBalance?: import("../types/graphql/graphql").InputMaybe<
|
|
10
|
+
chainId?: import("../types/graphql/graphql").InputMaybe<import("../types/graphql/graphql").Scalars["Int"]["input"]>;
|
|
11
|
+
tokenAddress?: import("../types/graphql/graphql").InputMaybe<import("../types/graphql/graphql").Scalars["String"]["input"]>;
|
|
12
|
+
fetchBalance?: import("../types/graphql/graphql").InputMaybe<import("../types/graphql/graphql").Scalars["Boolean"]["input"]>;
|
|
13
13
|
}>>;
|
|
14
14
|
export {};
|