@poolzfinance/api4 1.11.20 → 1.11.21
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/onBoardingSetAllocation.d.ts +3 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -2
- 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 -12
- package/dist/types/graphql/graphql.d.ts +8 -31
- package/package.json +1 -1
- package/dist/endpoints/onboardingSetToken.d.ts +0 -9
|
@@ -102,15 +102,12 @@ declare const documents: {
|
|
|
102
102
|
"\nquery OnboardingProjects($dataOnAuth: DataOnAuth!) {\n onboardingProjects(dataOnAuth: $dataOnAuth)\n {\n ChatId\n ChatTitle\n }\n}": DocumentNode<types.OnboardingProjectsQuery, types.Exact<{
|
|
103
103
|
dataOnAuth: types.DataOnAuth;
|
|
104
104
|
}>>;
|
|
105
|
-
"\n mutation OnboardingSetAllocation($tokenAllocation: [OnboardingTokenAllocation!]!, $
|
|
106
|
-
tokenAllocation: types.OnboardingTokenAllocation | types.OnboardingTokenAllocation[];
|
|
105
|
+
"\n mutation OnboardingSetAllocation($dataOnAuth: DataOnAuth!, $chatId: Long!, $tokenAllocation: [OnboardingTokenAllocation!]!, $chainId: Long!, $tokenAddress: String!) {\n onboardingSetAllocation(dataOnAuth: $dataOnAuth, chatId: $chatId, chainId: $chainId, tokenAddress: $tokenAddress, tokenAllocation: $tokenAllocation) {\n Success\n ErrorMessage\n }\n}": DocumentNode<types.OnboardingSetAllocationMutation, types.Exact<{
|
|
107
106
|
dataOnAuth: types.DataOnAuth;
|
|
108
107
|
chatId: any;
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
dataOnAuth: types.DataOnAuth;
|
|
113
|
-
token: types.OnboardingToken;
|
|
108
|
+
tokenAllocation: types.OnboardingTokenAllocation | types.OnboardingTokenAllocation[];
|
|
109
|
+
chainId: any;
|
|
110
|
+
tokenAddress: string;
|
|
114
111
|
}>>;
|
|
115
112
|
"\n query PoolxPrice {\n poolxPrice {\n Price\n Timestamp\n }\n }": DocumentNode<types.PoolxPriceQuery, types.Exact<{
|
|
116
113
|
[key: string]: never;
|
|
@@ -257,11 +254,7 @@ export declare function gql(source: "\nquery OnboardingProjects($dataOnAuth: Dat
|
|
|
257
254
|
/**
|
|
258
255
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
259
256
|
*/
|
|
260
|
-
export declare function gql(source: "\n mutation OnboardingSetAllocation($tokenAllocation: [OnboardingTokenAllocation!]!, $
|
|
261
|
-
/**
|
|
262
|
-
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
263
|
-
*/
|
|
264
|
-
export declare function gql(source: "\n mutation OnboardingSetToken($chatId:Long!, $dataOnAuth: DataOnAuth!, $token: OnboardingToken!) {\n onboardingSetToken(chatId: $chatId, dataOnAuth: $dataOnAuth, token: $token) {\n Success\n ErrorMessage\n }\n}"): (typeof documents)["\n mutation OnboardingSetToken($chatId:Long!, $dataOnAuth: DataOnAuth!, $token: OnboardingToken!) {\n onboardingSetToken(chatId: $chatId, dataOnAuth: $dataOnAuth, token: $token) {\n Success\n ErrorMessage\n }\n}"];
|
|
257
|
+
export declare function gql(source: "\n mutation OnboardingSetAllocation($dataOnAuth: DataOnAuth!, $chatId: Long!, $tokenAllocation: [OnboardingTokenAllocation!]!, $chainId: Long!, $tokenAddress: String!) {\n onboardingSetAllocation(dataOnAuth: $dataOnAuth, chatId: $chatId, chainId: $chainId, tokenAddress: $tokenAddress, tokenAllocation: $tokenAllocation) {\n Success\n ErrorMessage\n }\n}"): (typeof documents)["\n mutation OnboardingSetAllocation($dataOnAuth: DataOnAuth!, $chatId: Long!, $tokenAllocation: [OnboardingTokenAllocation!]!, $chainId: Long!, $tokenAddress: String!) {\n onboardingSetAllocation(dataOnAuth: $dataOnAuth, chatId: $chatId, chainId: $chainId, tokenAddress: $tokenAddress, tokenAllocation: $tokenAllocation) {\n Success\n ErrorMessage\n }\n}"];
|
|
265
258
|
/**
|
|
266
259
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
267
260
|
*/
|
|
@@ -233,7 +233,6 @@ export type Mutation = {
|
|
|
233
233
|
myLinkTelegram: Scalars['Int']['output'];
|
|
234
234
|
onboardingCheckTx: OnboardingMutationsResponse;
|
|
235
235
|
onboardingSetAllocation: OnboardingMutationsResponse;
|
|
236
|
-
onboardingSetToken: OnboardingMutationsResponse;
|
|
237
236
|
sendToMonitor: Scalars['Int']['output'];
|
|
238
237
|
setMyAgree: Scalars['Boolean']['output'];
|
|
239
238
|
updateAutoSignUp: AdminAutoSignUp;
|
|
@@ -291,15 +290,12 @@ export type MutationOnboardingCheckTxArgs = {
|
|
|
291
290
|
tokenTransfer: OnboardingTokenTransfer;
|
|
292
291
|
};
|
|
293
292
|
export type MutationOnboardingSetAllocationArgs = {
|
|
293
|
+
chainId: Scalars['Long']['input'];
|
|
294
294
|
chatId: Scalars['Long']['input'];
|
|
295
295
|
dataOnAuth: DataOnAuth;
|
|
296
|
+
tokenAddress: Scalars['String']['input'];
|
|
296
297
|
tokenAllocation: Array<OnboardingTokenAllocation>;
|
|
297
298
|
};
|
|
298
|
-
export type MutationOnboardingSetTokenArgs = {
|
|
299
|
-
chatId: Scalars['Long']['input'];
|
|
300
|
-
dataOnAuth: DataOnAuth;
|
|
301
|
-
token: OnboardingToken;
|
|
302
|
-
};
|
|
303
299
|
export type MutationSendToMonitorArgs = {
|
|
304
300
|
input: Scalars['String']['input'];
|
|
305
301
|
};
|
|
@@ -381,11 +377,6 @@ export type OnboardingProject = {
|
|
|
381
377
|
ChatId: Scalars['Long']['output'];
|
|
382
378
|
ChatTitle?: Maybe<Scalars['String']['output']>;
|
|
383
379
|
};
|
|
384
|
-
export type OnboardingToken = {
|
|
385
|
-
Amount: Scalars['Float']['input'];
|
|
386
|
-
ChainId: Scalars['Long']['input'];
|
|
387
|
-
TokenAddress: Scalars['String']['input'];
|
|
388
|
-
};
|
|
389
380
|
export type OnboardingTokenAllocation = {
|
|
390
381
|
FinishDate?: InputMaybe<Scalars['String']['input']>;
|
|
391
382
|
Ratio: Scalars['Float']['input'];
|
|
@@ -1032,9 +1023,11 @@ export type OnboardingProjectsQuery = {
|
|
|
1032
1023
|
}>;
|
|
1033
1024
|
};
|
|
1034
1025
|
export type OnboardingSetAllocationMutationVariables = Exact<{
|
|
1035
|
-
tokenAllocation: Array<OnboardingTokenAllocation> | OnboardingTokenAllocation;
|
|
1036
1026
|
dataOnAuth: DataOnAuth;
|
|
1037
1027
|
chatId: Scalars['Long']['input'];
|
|
1028
|
+
tokenAllocation: Array<OnboardingTokenAllocation> | OnboardingTokenAllocation;
|
|
1029
|
+
chainId: Scalars['Long']['input'];
|
|
1030
|
+
tokenAddress: Scalars['String']['input'];
|
|
1038
1031
|
}>;
|
|
1039
1032
|
export type OnboardingSetAllocationMutation = {
|
|
1040
1033
|
__typename?: 'Mutation';
|
|
@@ -1044,19 +1037,6 @@ export type OnboardingSetAllocationMutation = {
|
|
|
1044
1037
|
ErrorMessage?: string | null;
|
|
1045
1038
|
};
|
|
1046
1039
|
};
|
|
1047
|
-
export type OnboardingSetTokenMutationVariables = Exact<{
|
|
1048
|
-
chatId: Scalars['Long']['input'];
|
|
1049
|
-
dataOnAuth: DataOnAuth;
|
|
1050
|
-
token: OnboardingToken;
|
|
1051
|
-
}>;
|
|
1052
|
-
export type OnboardingSetTokenMutation = {
|
|
1053
|
-
__typename?: 'Mutation';
|
|
1054
|
-
onboardingSetToken: {
|
|
1055
|
-
__typename?: 'OnboardingMutationsResponse';
|
|
1056
|
-
Success: boolean;
|
|
1057
|
-
ErrorMessage?: string | null;
|
|
1058
|
-
};
|
|
1059
|
-
};
|
|
1060
1040
|
export type PoolxPriceQueryVariables = Exact<{
|
|
1061
1041
|
[key: string]: never;
|
|
1062
1042
|
}>;
|
|
@@ -1260,14 +1240,11 @@ export declare const OnboardingProjectsDocument: DocumentNode<OnboardingProjects
|
|
|
1260
1240
|
dataOnAuth: DataOnAuth;
|
|
1261
1241
|
}>>;
|
|
1262
1242
|
export declare const OnboardingSetAllocationDocument: DocumentNode<OnboardingSetAllocationMutation, Exact<{
|
|
1263
|
-
tokenAllocation: Array<OnboardingTokenAllocation> | OnboardingTokenAllocation;
|
|
1264
1243
|
dataOnAuth: DataOnAuth;
|
|
1265
1244
|
chatId: Scalars['Long']['input'];
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
dataOnAuth: DataOnAuth;
|
|
1270
|
-
token: OnboardingToken;
|
|
1245
|
+
tokenAllocation: Array<OnboardingTokenAllocation> | OnboardingTokenAllocation;
|
|
1246
|
+
chainId: Scalars['Long']['input'];
|
|
1247
|
+
tokenAddress: Scalars['String']['input'];
|
|
1271
1248
|
}>>;
|
|
1272
1249
|
export declare const PoolxPriceDocument: DocumentNode<PoolxPriceQuery, Exact<{
|
|
1273
1250
|
[key: string]: never;
|
package/package.json
CHANGED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare const useOnBoardingSetToken: () => import("@apollo/client").MutationTuple<import("../types/graphql/graphql").OnboardingSetTokenMutation, import("../types/graphql/graphql").Exact<{
|
|
2
|
-
chatId: any;
|
|
3
|
-
dataOnAuth: import("../types/graphql/graphql").DataOnAuth;
|
|
4
|
-
token: import("../types/graphql/graphql").OnboardingToken;
|
|
5
|
-
}>, {
|
|
6
|
-
headers: {
|
|
7
|
-
Authorization: string;
|
|
8
|
-
};
|
|
9
|
-
}, import("@apollo/client").ApolloCache<any>>;
|