@poolzfinance/api4 1.11.19 → 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/onBoardingData.d.ts +2 -2
- 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 +8 -15
- package/dist/types/graphql/graphql.d.ts +22 -49
- package/package.json +1 -1
- package/dist/endpoints/onboardingSetToken.d.ts +0 -9
|
@@ -95,22 +95,19 @@ declare const documents: {
|
|
|
95
95
|
dataOnAuth: types.DataOnAuth;
|
|
96
96
|
tokenTransfer: types.OnboardingTokenTransfer;
|
|
97
97
|
}>>;
|
|
98
|
-
"\nquery OnboardingData($
|
|
99
|
-
chatId: any;
|
|
98
|
+
"\nquery OnboardingData($dataOnAuth: DataOnAuth!, $chatId:Long!) {\n onboardingData(dataOnAuth: $dataOnAuth, chatId: $chatId) {\n TokenAddress\n ChainId\n TokenTransfers {\n Amount\n TxHash\n Timestamp\n }\n TokenAllocations {\n StartDate\n FinishDate\n Ratio\n }\n }\n}": DocumentNode<types.OnboardingDataQuery, types.Exact<{
|
|
100
99
|
dataOnAuth: types.DataOnAuth;
|
|
100
|
+
chatId: any;
|
|
101
101
|
}>>;
|
|
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;
|
|
@@ -249,7 +246,7 @@ export declare function gql(source: "\n mutation OnboardingCheckTx($chatId:Long
|
|
|
249
246
|
/**
|
|
250
247
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
251
248
|
*/
|
|
252
|
-
export declare function gql(source: "\nquery OnboardingData($
|
|
249
|
+
export declare function gql(source: "\nquery OnboardingData($dataOnAuth: DataOnAuth!, $chatId:Long!) {\n onboardingData(dataOnAuth: $dataOnAuth, chatId: $chatId) {\n TokenAddress\n ChainId\n TokenTransfers {\n Amount\n TxHash\n Timestamp\n }\n TokenAllocations {\n StartDate\n FinishDate\n Ratio\n }\n }\n}"): (typeof documents)["\nquery OnboardingData($dataOnAuth: DataOnAuth!, $chatId:Long!) {\n onboardingData(dataOnAuth: $dataOnAuth, chatId: $chatId) {\n TokenAddress\n ChainId\n TokenTransfers {\n Amount\n TxHash\n Timestamp\n }\n TokenAllocations {\n StartDate\n FinishDate\n Ratio\n }\n }\n}"];
|
|
253
250
|
/**
|
|
254
251
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
255
252
|
*/
|
|
@@ -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
|
};
|
|
@@ -348,9 +344,10 @@ export type NonEvmWallet = {
|
|
|
348
344
|
};
|
|
349
345
|
export type OnboardingData_Data = {
|
|
350
346
|
__typename?: 'OnboardingData_Data';
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
347
|
+
ChainId: Scalars['Long']['output'];
|
|
348
|
+
TokenAddress: Scalars['String']['output'];
|
|
349
|
+
TokenAllocations: Array<OnboardingData_TokenAllocation>;
|
|
350
|
+
TokenTransfers: Array<OnboardingData_TokenTransfer>;
|
|
354
351
|
};
|
|
355
352
|
export type OnboardingData_TokenAllocation = {
|
|
356
353
|
__typename?: 'OnboardingData_TokenAllocation';
|
|
@@ -361,7 +358,6 @@ export type OnboardingData_TokenAllocation = {
|
|
|
361
358
|
export type OnboardingData_TokenTransfer = {
|
|
362
359
|
__typename?: 'OnboardingData_TokenTransfer';
|
|
363
360
|
Amount: Scalars['Float']['output'];
|
|
364
|
-
ChainId: Scalars['Long']['output'];
|
|
365
361
|
Timestamp: Scalars['Long']['output'];
|
|
366
362
|
TxHash: Scalars['String']['output'];
|
|
367
363
|
};
|
|
@@ -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'];
|
|
@@ -393,6 +384,7 @@ export type OnboardingTokenAllocation = {
|
|
|
393
384
|
};
|
|
394
385
|
export type OnboardingTokenTransfer = {
|
|
395
386
|
ChainId: Scalars['Long']['input'];
|
|
387
|
+
TokenAddress: Scalars['String']['input'];
|
|
396
388
|
TxHash: Scalars['String']['input'];
|
|
397
389
|
};
|
|
398
390
|
export type PoolxPrice = {
|
|
@@ -450,7 +442,7 @@ export type Query = {
|
|
|
450
442
|
myRole: Scalars['String']['output'];
|
|
451
443
|
mySignUpCheck: Array<SignUpCheck>;
|
|
452
444
|
mySignup: Array<MySignUp>;
|
|
453
|
-
onboardingData: OnboardingData_Data
|
|
445
|
+
onboardingData: Array<OnboardingData_Data>;
|
|
454
446
|
onboardingProjects: Array<OnboardingProject>;
|
|
455
447
|
poolxPrice: PoolxPrice;
|
|
456
448
|
poolxTokenomics: PoolxTokenomics;
|
|
@@ -996,33 +988,28 @@ export type OnboardingCheckTxMutation = {
|
|
|
996
988
|
};
|
|
997
989
|
};
|
|
998
990
|
export type OnboardingDataQueryVariables = Exact<{
|
|
999
|
-
chatId: Scalars['Long']['input'];
|
|
1000
991
|
dataOnAuth: DataOnAuth;
|
|
992
|
+
chatId: Scalars['Long']['input'];
|
|
1001
993
|
}>;
|
|
1002
994
|
export type OnboardingDataQuery = {
|
|
1003
995
|
__typename?: 'Query';
|
|
1004
|
-
onboardingData: {
|
|
996
|
+
onboardingData: Array<{
|
|
1005
997
|
__typename?: 'OnboardingData_Data';
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
TokenAddress: string;
|
|
1010
|
-
Amount: number;
|
|
1011
|
-
};
|
|
1012
|
-
TokenTransfer: Array<{
|
|
998
|
+
TokenAddress: string;
|
|
999
|
+
ChainId: any;
|
|
1000
|
+
TokenTransfers: Array<{
|
|
1013
1001
|
__typename?: 'OnboardingData_TokenTransfer';
|
|
1014
|
-
ChainId: any;
|
|
1015
1002
|
Amount: number;
|
|
1016
1003
|
TxHash: string;
|
|
1017
1004
|
Timestamp: any;
|
|
1018
1005
|
}>;
|
|
1019
|
-
|
|
1006
|
+
TokenAllocations: Array<{
|
|
1020
1007
|
__typename?: 'OnboardingData_TokenAllocation';
|
|
1021
1008
|
StartDate: string;
|
|
1022
1009
|
FinishDate?: string | null;
|
|
1023
1010
|
Ratio: number;
|
|
1024
1011
|
}>;
|
|
1025
|
-
}
|
|
1012
|
+
}>;
|
|
1026
1013
|
};
|
|
1027
1014
|
export type OnboardingProjectsQueryVariables = Exact<{
|
|
1028
1015
|
dataOnAuth: DataOnAuth;
|
|
@@ -1036,9 +1023,11 @@ export type OnboardingProjectsQuery = {
|
|
|
1036
1023
|
}>;
|
|
1037
1024
|
};
|
|
1038
1025
|
export type OnboardingSetAllocationMutationVariables = Exact<{
|
|
1039
|
-
tokenAllocation: Array<OnboardingTokenAllocation> | OnboardingTokenAllocation;
|
|
1040
1026
|
dataOnAuth: DataOnAuth;
|
|
1041
1027
|
chatId: Scalars['Long']['input'];
|
|
1028
|
+
tokenAllocation: Array<OnboardingTokenAllocation> | OnboardingTokenAllocation;
|
|
1029
|
+
chainId: Scalars['Long']['input'];
|
|
1030
|
+
tokenAddress: Scalars['String']['input'];
|
|
1042
1031
|
}>;
|
|
1043
1032
|
export type OnboardingSetAllocationMutation = {
|
|
1044
1033
|
__typename?: 'Mutation';
|
|
@@ -1048,19 +1037,6 @@ export type OnboardingSetAllocationMutation = {
|
|
|
1048
1037
|
ErrorMessage?: string | null;
|
|
1049
1038
|
};
|
|
1050
1039
|
};
|
|
1051
|
-
export type OnboardingSetTokenMutationVariables = Exact<{
|
|
1052
|
-
chatId: Scalars['Long']['input'];
|
|
1053
|
-
dataOnAuth: DataOnAuth;
|
|
1054
|
-
token: OnboardingToken;
|
|
1055
|
-
}>;
|
|
1056
|
-
export type OnboardingSetTokenMutation = {
|
|
1057
|
-
__typename?: 'Mutation';
|
|
1058
|
-
onboardingSetToken: {
|
|
1059
|
-
__typename?: 'OnboardingMutationsResponse';
|
|
1060
|
-
Success: boolean;
|
|
1061
|
-
ErrorMessage?: string | null;
|
|
1062
|
-
};
|
|
1063
|
-
};
|
|
1064
1040
|
export type PoolxPriceQueryVariables = Exact<{
|
|
1065
1041
|
[key: string]: never;
|
|
1066
1042
|
}>;
|
|
@@ -1257,21 +1233,18 @@ export declare const OnboardingCheckTxDocument: DocumentNode<OnboardingCheckTxMu
|
|
|
1257
1233
|
tokenTransfer: OnboardingTokenTransfer;
|
|
1258
1234
|
}>>;
|
|
1259
1235
|
export declare const OnboardingDataDocument: DocumentNode<OnboardingDataQuery, Exact<{
|
|
1260
|
-
chatId: Scalars['Long']['input'];
|
|
1261
1236
|
dataOnAuth: DataOnAuth;
|
|
1237
|
+
chatId: Scalars['Long']['input'];
|
|
1262
1238
|
}>>;
|
|
1263
1239
|
export declare const OnboardingProjectsDocument: DocumentNode<OnboardingProjectsQuery, Exact<{
|
|
1264
1240
|
dataOnAuth: DataOnAuth;
|
|
1265
1241
|
}>>;
|
|
1266
1242
|
export declare const OnboardingSetAllocationDocument: DocumentNode<OnboardingSetAllocationMutation, Exact<{
|
|
1267
|
-
tokenAllocation: Array<OnboardingTokenAllocation> | OnboardingTokenAllocation;
|
|
1268
1243
|
dataOnAuth: DataOnAuth;
|
|
1269
1244
|
chatId: Scalars['Long']['input'];
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
dataOnAuth: DataOnAuth;
|
|
1274
|
-
token: OnboardingToken;
|
|
1245
|
+
tokenAllocation: Array<OnboardingTokenAllocation> | OnboardingTokenAllocation;
|
|
1246
|
+
chainId: Scalars['Long']['input'];
|
|
1247
|
+
tokenAddress: Scalars['String']['input'];
|
|
1275
1248
|
}>>;
|
|
1276
1249
|
export declare const PoolxPriceDocument: DocumentNode<PoolxPriceQuery, Exact<{
|
|
1277
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>>;
|