@poolzfinance/api4 1.11.12 → 1.11.14
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 +5 -0
- package/dist/endpoints/onboardingSetToken.d.ts +9 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +3 -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 +17 -0
- package/dist/types/graphql/graphql.d.ts +83 -4
- package/package.json +1 -1
|
@@ -90,9 +90,18 @@ declare const documents: {
|
|
|
90
90
|
"\n query SignUpCheck($poolIDs: [Int!]!) {\n mySignUpCheck(poolIDs: $poolIDs) {\n PoolId\n SignUp\n }\n }": DocumentNode<types.SignUpCheckQuery, types.Exact<{
|
|
91
91
|
poolIDs: number | number[];
|
|
92
92
|
}>>;
|
|
93
|
+
"\nquery OnboardingData($chatId:Long!, $dataOnAuth: DataOnAuth!) {\n onboardingData(chatId: $chatId, dataOnAuth: $dataOnAuth) {\n Tokens {\n ChainId\n TokenAddress\n Amount\n }\n TokenTransfer {\n ChainId\n TokenAddress\n Amount\n TxHash\n IsVerified\n }\n TokenAllocation {\n StartDate\n FinishDate\n Ratio\n }\n }\n}": DocumentNode<types.OnboardingDataQuery, types.Exact<{
|
|
94
|
+
chatId: any;
|
|
95
|
+
dataOnAuth: types.DataOnAuth;
|
|
96
|
+
}>>;
|
|
93
97
|
"\nquery OnboardingProjects($dataOnAuth: DataOnAuth!) {\n onboardingProjects(dataOnAuth: $dataOnAuth)\n {\n ChatId\n ChatTitle\n }\n}": DocumentNode<types.OnboardingProjectsQuery, types.Exact<{
|
|
94
98
|
dataOnAuth: types.DataOnAuth;
|
|
95
99
|
}>>;
|
|
100
|
+
"\n mutation OnboardingSetToken($chatId:Long!, $dataOnAuth: DataOnAuth!, $token: OnboardingToken!) {\n onboardingSetToken(chatId: $chatId, dataOnAuth: $dataOnAuth, token: $token) {\n Success\n ErrorMessage\n }\n}": DocumentNode<types.OnboardingSetTokenMutation, types.Exact<{
|
|
101
|
+
chatId: any;
|
|
102
|
+
dataOnAuth: types.DataOnAuth;
|
|
103
|
+
token: types.OnboardingToken;
|
|
104
|
+
}>>;
|
|
96
105
|
"\n query PoolxPrice {\n poolxPrice {\n Price\n Timestamp\n }\n }": DocumentNode<types.PoolxPriceQuery, types.Exact<{
|
|
97
106
|
[key: string]: never;
|
|
98
107
|
}>>;
|
|
@@ -223,10 +232,18 @@ export declare function gql(source: "\n query MyRole {\n myRole\n}"): (typeo
|
|
|
223
232
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
224
233
|
*/
|
|
225
234
|
export declare function gql(source: "\n query SignUpCheck($poolIDs: [Int!]!) {\n mySignUpCheck(poolIDs: $poolIDs) {\n PoolId\n SignUp\n }\n }"): (typeof documents)["\n query SignUpCheck($poolIDs: [Int!]!) {\n mySignUpCheck(poolIDs: $poolIDs) {\n PoolId\n SignUp\n }\n }"];
|
|
235
|
+
/**
|
|
236
|
+
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
237
|
+
*/
|
|
238
|
+
export declare function gql(source: "\nquery OnboardingData($chatId:Long!, $dataOnAuth: DataOnAuth!) {\n onboardingData(chatId: $chatId, dataOnAuth: $dataOnAuth) {\n Tokens {\n ChainId\n TokenAddress\n Amount\n }\n TokenTransfer {\n ChainId\n TokenAddress\n Amount\n TxHash\n IsVerified\n }\n TokenAllocation {\n StartDate\n FinishDate\n Ratio\n }\n }\n}"): (typeof documents)["\nquery OnboardingData($chatId:Long!, $dataOnAuth: DataOnAuth!) {\n onboardingData(chatId: $chatId, dataOnAuth: $dataOnAuth) {\n Tokens {\n ChainId\n TokenAddress\n Amount\n }\n TokenTransfer {\n ChainId\n TokenAddress\n Amount\n TxHash\n IsVerified\n }\n TokenAllocation {\n StartDate\n FinishDate\n Ratio\n }\n }\n}"];
|
|
226
239
|
/**
|
|
227
240
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
228
241
|
*/
|
|
229
242
|
export declare function gql(source: "\nquery OnboardingProjects($dataOnAuth: DataOnAuth!) {\n onboardingProjects(dataOnAuth: $dataOnAuth)\n {\n ChatId\n ChatTitle\n }\n}"): (typeof documents)["\nquery OnboardingProjects($dataOnAuth: DataOnAuth!) {\n onboardingProjects(dataOnAuth: $dataOnAuth)\n {\n ChatId\n ChatTitle\n }\n}"];
|
|
243
|
+
/**
|
|
244
|
+
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
245
|
+
*/
|
|
246
|
+
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}"];
|
|
230
247
|
/**
|
|
231
248
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
232
249
|
*/
|
|
@@ -231,6 +231,8 @@ export type Mutation = {
|
|
|
231
231
|
generateTokenFromSignature: GenerateTokenFromSignature;
|
|
232
232
|
logout: Scalars['Boolean']['output'];
|
|
233
233
|
myLinkTelegram: Scalars['Int']['output'];
|
|
234
|
+
onboardingCheckTx: OnboardingMutationsResponse;
|
|
235
|
+
onboardingSetToken: OnboardingMutationsResponse;
|
|
234
236
|
sendToMonitor: Scalars['Int']['output'];
|
|
235
237
|
setMyAgree: Scalars['Boolean']['output'];
|
|
236
238
|
updateAutoSignUp: AdminAutoSignUp;
|
|
@@ -282,6 +284,16 @@ export type MutationGenerateTokenFromSignatureArgs = {
|
|
|
282
284
|
export type MutationMyLinkTelegramArgs = {
|
|
283
285
|
dataOnAuth: DataOnAuth;
|
|
284
286
|
};
|
|
287
|
+
export type MutationOnboardingCheckTxArgs = {
|
|
288
|
+
chatId: Scalars['Long']['input'];
|
|
289
|
+
dataOnAuth: DataOnAuth;
|
|
290
|
+
tokenTransfer: OnboardingTokenTransfer;
|
|
291
|
+
};
|
|
292
|
+
export type MutationOnboardingSetTokenArgs = {
|
|
293
|
+
chatId: Scalars['Long']['input'];
|
|
294
|
+
dataOnAuth: DataOnAuth;
|
|
295
|
+
token: OnboardingToken;
|
|
296
|
+
};
|
|
285
297
|
export type MutationSendToMonitorArgs = {
|
|
286
298
|
input: Scalars['String']['input'];
|
|
287
299
|
};
|
|
@@ -330,9 +342,9 @@ export type NonEvmWallet = {
|
|
|
330
342
|
};
|
|
331
343
|
export type OnboardingData_Data = {
|
|
332
344
|
__typename?: 'OnboardingData_Data';
|
|
333
|
-
TokenAllocation
|
|
334
|
-
TokenTransfer
|
|
335
|
-
Tokens
|
|
345
|
+
TokenAllocation: Array<OnboardingData_TokenAllocation>;
|
|
346
|
+
TokenTransfer: Array<OnboardingData_TokenTransfer>;
|
|
347
|
+
Tokens: Array<OnboardingData_Tokens>;
|
|
336
348
|
};
|
|
337
349
|
export type OnboardingData_TokenAllocation = {
|
|
338
350
|
__typename?: 'OnboardingData_TokenAllocation';
|
|
@@ -354,11 +366,26 @@ export type OnboardingData_Tokens = {
|
|
|
354
366
|
ChainId: Scalars['Long']['output'];
|
|
355
367
|
TokenAddress: Scalars['String']['output'];
|
|
356
368
|
};
|
|
369
|
+
export type OnboardingMutationsResponse = {
|
|
370
|
+
__typename?: 'OnboardingMutationsResponse';
|
|
371
|
+
ErrorMessage?: Maybe<Scalars['String']['output']>;
|
|
372
|
+
Success: Scalars['Boolean']['output'];
|
|
373
|
+
};
|
|
357
374
|
export type OnboardingProject = {
|
|
358
375
|
__typename?: 'OnboardingProject';
|
|
359
376
|
ChatId: Scalars['Long']['output'];
|
|
360
377
|
ChatTitle?: Maybe<Scalars['String']['output']>;
|
|
361
378
|
};
|
|
379
|
+
export type OnboardingToken = {
|
|
380
|
+
Amount: Scalars['Float']['input'];
|
|
381
|
+
ChainId: Scalars['Long']['input'];
|
|
382
|
+
TokenAddress: Scalars['String']['input'];
|
|
383
|
+
};
|
|
384
|
+
export type OnboardingTokenTransfer = {
|
|
385
|
+
ChainId: Scalars['Long']['input'];
|
|
386
|
+
TokenAddress: Scalars['String']['input'];
|
|
387
|
+
TxHash: Scalars['String']['input'];
|
|
388
|
+
};
|
|
362
389
|
export type PoolxPrice = {
|
|
363
390
|
__typename?: 'PoolxPrice';
|
|
364
391
|
Price: Scalars['Float']['output'];
|
|
@@ -413,7 +440,7 @@ export type Query = {
|
|
|
413
440
|
myRole: Scalars['String']['output'];
|
|
414
441
|
mySignUpCheck: Array<SignUpCheck>;
|
|
415
442
|
mySignup: Array<MySignUp>;
|
|
416
|
-
onboardingData:
|
|
443
|
+
onboardingData: OnboardingData_Data;
|
|
417
444
|
onboardingProjects: Array<OnboardingProject>;
|
|
418
445
|
poolxPrice: PoolxPrice;
|
|
419
446
|
poolxTokenomics: PoolxTokenomics;
|
|
@@ -945,6 +972,36 @@ export type SignUpCheckQuery = {
|
|
|
945
972
|
SignUp?: boolean | null;
|
|
946
973
|
}>;
|
|
947
974
|
};
|
|
975
|
+
export type OnboardingDataQueryVariables = Exact<{
|
|
976
|
+
chatId: Scalars['Long']['input'];
|
|
977
|
+
dataOnAuth: DataOnAuth;
|
|
978
|
+
}>;
|
|
979
|
+
export type OnboardingDataQuery = {
|
|
980
|
+
__typename?: 'Query';
|
|
981
|
+
onboardingData: {
|
|
982
|
+
__typename?: 'OnboardingData_Data';
|
|
983
|
+
Tokens: Array<{
|
|
984
|
+
__typename?: 'OnboardingData_Tokens';
|
|
985
|
+
ChainId: any;
|
|
986
|
+
TokenAddress: string;
|
|
987
|
+
Amount: number;
|
|
988
|
+
}>;
|
|
989
|
+
TokenTransfer: Array<{
|
|
990
|
+
__typename?: 'OnboardingData_TokenTransfer';
|
|
991
|
+
ChainId: any;
|
|
992
|
+
TokenAddress: string;
|
|
993
|
+
Amount: number;
|
|
994
|
+
TxHash: string;
|
|
995
|
+
IsVerified: boolean;
|
|
996
|
+
}>;
|
|
997
|
+
TokenAllocation: Array<{
|
|
998
|
+
__typename?: 'OnboardingData_TokenAllocation';
|
|
999
|
+
StartDate: string;
|
|
1000
|
+
FinishDate?: string | null;
|
|
1001
|
+
Ratio: number;
|
|
1002
|
+
}>;
|
|
1003
|
+
};
|
|
1004
|
+
};
|
|
948
1005
|
export type OnboardingProjectsQueryVariables = Exact<{
|
|
949
1006
|
dataOnAuth: DataOnAuth;
|
|
950
1007
|
}>;
|
|
@@ -956,6 +1013,19 @@ export type OnboardingProjectsQuery = {
|
|
|
956
1013
|
ChatTitle?: string | null;
|
|
957
1014
|
}>;
|
|
958
1015
|
};
|
|
1016
|
+
export type OnboardingSetTokenMutationVariables = Exact<{
|
|
1017
|
+
chatId: Scalars['Long']['input'];
|
|
1018
|
+
dataOnAuth: DataOnAuth;
|
|
1019
|
+
token: OnboardingToken;
|
|
1020
|
+
}>;
|
|
1021
|
+
export type OnboardingSetTokenMutation = {
|
|
1022
|
+
__typename?: 'Mutation';
|
|
1023
|
+
onboardingSetToken: {
|
|
1024
|
+
__typename?: 'OnboardingMutationsResponse';
|
|
1025
|
+
Success: boolean;
|
|
1026
|
+
ErrorMessage?: string | null;
|
|
1027
|
+
};
|
|
1028
|
+
};
|
|
959
1029
|
export type PoolxPriceQueryVariables = Exact<{
|
|
960
1030
|
[key: string]: never;
|
|
961
1031
|
}>;
|
|
@@ -1146,9 +1216,18 @@ export declare const MyRoleDocument: DocumentNode<MyRoleQuery, Exact<{
|
|
|
1146
1216
|
export declare const SignUpCheckDocument: DocumentNode<SignUpCheckQuery, Exact<{
|
|
1147
1217
|
poolIDs: Array<Scalars['Int']['input']> | Scalars['Int']['input'];
|
|
1148
1218
|
}>>;
|
|
1219
|
+
export declare const OnboardingDataDocument: DocumentNode<OnboardingDataQuery, Exact<{
|
|
1220
|
+
chatId: Scalars['Long']['input'];
|
|
1221
|
+
dataOnAuth: DataOnAuth;
|
|
1222
|
+
}>>;
|
|
1149
1223
|
export declare const OnboardingProjectsDocument: DocumentNode<OnboardingProjectsQuery, Exact<{
|
|
1150
1224
|
dataOnAuth: DataOnAuth;
|
|
1151
1225
|
}>>;
|
|
1226
|
+
export declare const OnboardingSetTokenDocument: DocumentNode<OnboardingSetTokenMutation, Exact<{
|
|
1227
|
+
chatId: Scalars['Long']['input'];
|
|
1228
|
+
dataOnAuth: DataOnAuth;
|
|
1229
|
+
token: OnboardingToken;
|
|
1230
|
+
}>>;
|
|
1152
1231
|
export declare const PoolxPriceDocument: DocumentNode<PoolxPriceQuery, Exact<{
|
|
1153
1232
|
[key: string]: never;
|
|
1154
1233
|
}>>;
|