@poolzfinance/api4 1.11.13 → 1.11.15
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/onBoardingCheckTx.d.ts +9 -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 +18 -0
- package/dist/types/graphql/graphql.d.ts +53 -1
- package/package.json +1 -1
|
@@ -90,6 +90,11 @@ 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
|
+
"\n mutation OnboardingCheckTx($chatId:Long!, $dataOnAuth: DataOnAuth!, $tokenTransfer: OnboardingTokenTransfer!) {\n onboardingCheckTx(chatId: $chatId, dataOnAuth: $dataOnAuth, tokenTransfer: $tokenTransfer) {\n Success\n ErrorMessage\n }\n}": DocumentNode<types.OnboardingCheckTxMutation, types.Exact<{
|
|
94
|
+
chatId: any;
|
|
95
|
+
dataOnAuth: types.DataOnAuth;
|
|
96
|
+
tokenTransfer: types.OnboardingTokenTransfer;
|
|
97
|
+
}>>;
|
|
93
98
|
"\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
99
|
chatId: any;
|
|
95
100
|
dataOnAuth: types.DataOnAuth;
|
|
@@ -97,6 +102,11 @@ declare const documents: {
|
|
|
97
102
|
"\nquery OnboardingProjects($dataOnAuth: DataOnAuth!) {\n onboardingProjects(dataOnAuth: $dataOnAuth)\n {\n ChatId\n ChatTitle\n }\n}": DocumentNode<types.OnboardingProjectsQuery, types.Exact<{
|
|
98
103
|
dataOnAuth: types.DataOnAuth;
|
|
99
104
|
}>>;
|
|
105
|
+
"\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<{
|
|
106
|
+
chatId: any;
|
|
107
|
+
dataOnAuth: types.DataOnAuth;
|
|
108
|
+
token: types.OnboardingToken;
|
|
109
|
+
}>>;
|
|
100
110
|
"\n query PoolxPrice {\n poolxPrice {\n Price\n Timestamp\n }\n }": DocumentNode<types.PoolxPriceQuery, types.Exact<{
|
|
101
111
|
[key: string]: never;
|
|
102
112
|
}>>;
|
|
@@ -227,6 +237,10 @@ export declare function gql(source: "\n query MyRole {\n myRole\n}"): (typeo
|
|
|
227
237
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
228
238
|
*/
|
|
229
239
|
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 }"];
|
|
240
|
+
/**
|
|
241
|
+
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
242
|
+
*/
|
|
243
|
+
export declare function gql(source: "\n mutation OnboardingCheckTx($chatId:Long!, $dataOnAuth: DataOnAuth!, $tokenTransfer: OnboardingTokenTransfer!) {\n onboardingCheckTx(chatId: $chatId, dataOnAuth: $dataOnAuth, tokenTransfer: $tokenTransfer) {\n Success\n ErrorMessage\n }\n}"): (typeof documents)["\n mutation OnboardingCheckTx($chatId:Long!, $dataOnAuth: DataOnAuth!, $tokenTransfer: OnboardingTokenTransfer!) {\n onboardingCheckTx(chatId: $chatId, dataOnAuth: $dataOnAuth, tokenTransfer: $tokenTransfer) {\n Success\n ErrorMessage\n }\n}"];
|
|
230
244
|
/**
|
|
231
245
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
232
246
|
*/
|
|
@@ -235,6 +249,10 @@ export declare function gql(source: "\nquery OnboardingData($chatId:Long!, $data
|
|
|
235
249
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
236
250
|
*/
|
|
237
251
|
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}"];
|
|
252
|
+
/**
|
|
253
|
+
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
254
|
+
*/
|
|
255
|
+
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}"];
|
|
238
256
|
/**
|
|
239
257
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
240
258
|
*/
|
|
@@ -231,7 +231,8 @@ export type Mutation = {
|
|
|
231
231
|
generateTokenFromSignature: GenerateTokenFromSignature;
|
|
232
232
|
logout: Scalars['Boolean']['output'];
|
|
233
233
|
myLinkTelegram: Scalars['Int']['output'];
|
|
234
|
-
|
|
234
|
+
onboardingCheckTx: OnboardingMutationsResponse;
|
|
235
|
+
onboardingSetToken: OnboardingMutationsResponse;
|
|
235
236
|
sendToMonitor: Scalars['Int']['output'];
|
|
236
237
|
setMyAgree: Scalars['Boolean']['output'];
|
|
237
238
|
updateAutoSignUp: AdminAutoSignUp;
|
|
@@ -283,6 +284,11 @@ export type MutationGenerateTokenFromSignatureArgs = {
|
|
|
283
284
|
export type MutationMyLinkTelegramArgs = {
|
|
284
285
|
dataOnAuth: DataOnAuth;
|
|
285
286
|
};
|
|
287
|
+
export type MutationOnboardingCheckTxArgs = {
|
|
288
|
+
chatId: Scalars['Long']['input'];
|
|
289
|
+
dataOnAuth: DataOnAuth;
|
|
290
|
+
tokenTransfer: OnboardingTokenTransfer;
|
|
291
|
+
};
|
|
286
292
|
export type MutationOnboardingSetTokenArgs = {
|
|
287
293
|
chatId: Scalars['Long']['input'];
|
|
288
294
|
dataOnAuth: DataOnAuth;
|
|
@@ -360,6 +366,11 @@ export type OnboardingData_Tokens = {
|
|
|
360
366
|
ChainId: Scalars['Long']['output'];
|
|
361
367
|
TokenAddress: Scalars['String']['output'];
|
|
362
368
|
};
|
|
369
|
+
export type OnboardingMutationsResponse = {
|
|
370
|
+
__typename?: 'OnboardingMutationsResponse';
|
|
371
|
+
ErrorMessage?: Maybe<Scalars['String']['output']>;
|
|
372
|
+
Success: Scalars['Boolean']['output'];
|
|
373
|
+
};
|
|
363
374
|
export type OnboardingProject = {
|
|
364
375
|
__typename?: 'OnboardingProject';
|
|
365
376
|
ChatId: Scalars['Long']['output'];
|
|
@@ -370,6 +381,11 @@ export type OnboardingToken = {
|
|
|
370
381
|
ChainId: Scalars['Long']['input'];
|
|
371
382
|
TokenAddress: Scalars['String']['input'];
|
|
372
383
|
};
|
|
384
|
+
export type OnboardingTokenTransfer = {
|
|
385
|
+
ChainId: Scalars['Long']['input'];
|
|
386
|
+
TokenAddress: Scalars['String']['input'];
|
|
387
|
+
TxHash: Scalars['String']['input'];
|
|
388
|
+
};
|
|
373
389
|
export type PoolxPrice = {
|
|
374
390
|
__typename?: 'PoolxPrice';
|
|
375
391
|
Price: Scalars['Float']['output'];
|
|
@@ -956,6 +972,19 @@ export type SignUpCheckQuery = {
|
|
|
956
972
|
SignUp?: boolean | null;
|
|
957
973
|
}>;
|
|
958
974
|
};
|
|
975
|
+
export type OnboardingCheckTxMutationVariables = Exact<{
|
|
976
|
+
chatId: Scalars['Long']['input'];
|
|
977
|
+
dataOnAuth: DataOnAuth;
|
|
978
|
+
tokenTransfer: OnboardingTokenTransfer;
|
|
979
|
+
}>;
|
|
980
|
+
export type OnboardingCheckTxMutation = {
|
|
981
|
+
__typename?: 'Mutation';
|
|
982
|
+
onboardingCheckTx: {
|
|
983
|
+
__typename?: 'OnboardingMutationsResponse';
|
|
984
|
+
Success: boolean;
|
|
985
|
+
ErrorMessage?: string | null;
|
|
986
|
+
};
|
|
987
|
+
};
|
|
959
988
|
export type OnboardingDataQueryVariables = Exact<{
|
|
960
989
|
chatId: Scalars['Long']['input'];
|
|
961
990
|
dataOnAuth: DataOnAuth;
|
|
@@ -997,6 +1026,19 @@ export type OnboardingProjectsQuery = {
|
|
|
997
1026
|
ChatTitle?: string | null;
|
|
998
1027
|
}>;
|
|
999
1028
|
};
|
|
1029
|
+
export type OnboardingSetTokenMutationVariables = Exact<{
|
|
1030
|
+
chatId: Scalars['Long']['input'];
|
|
1031
|
+
dataOnAuth: DataOnAuth;
|
|
1032
|
+
token: OnboardingToken;
|
|
1033
|
+
}>;
|
|
1034
|
+
export type OnboardingSetTokenMutation = {
|
|
1035
|
+
__typename?: 'Mutation';
|
|
1036
|
+
onboardingSetToken: {
|
|
1037
|
+
__typename?: 'OnboardingMutationsResponse';
|
|
1038
|
+
Success: boolean;
|
|
1039
|
+
ErrorMessage?: string | null;
|
|
1040
|
+
};
|
|
1041
|
+
};
|
|
1000
1042
|
export type PoolxPriceQueryVariables = Exact<{
|
|
1001
1043
|
[key: string]: never;
|
|
1002
1044
|
}>;
|
|
@@ -1187,6 +1229,11 @@ export declare const MyRoleDocument: DocumentNode<MyRoleQuery, Exact<{
|
|
|
1187
1229
|
export declare const SignUpCheckDocument: DocumentNode<SignUpCheckQuery, Exact<{
|
|
1188
1230
|
poolIDs: Array<Scalars['Int']['input']> | Scalars['Int']['input'];
|
|
1189
1231
|
}>>;
|
|
1232
|
+
export declare const OnboardingCheckTxDocument: DocumentNode<OnboardingCheckTxMutation, Exact<{
|
|
1233
|
+
chatId: Scalars['Long']['input'];
|
|
1234
|
+
dataOnAuth: DataOnAuth;
|
|
1235
|
+
tokenTransfer: OnboardingTokenTransfer;
|
|
1236
|
+
}>>;
|
|
1190
1237
|
export declare const OnboardingDataDocument: DocumentNode<OnboardingDataQuery, Exact<{
|
|
1191
1238
|
chatId: Scalars['Long']['input'];
|
|
1192
1239
|
dataOnAuth: DataOnAuth;
|
|
@@ -1194,6 +1241,11 @@ export declare const OnboardingDataDocument: DocumentNode<OnboardingDataQuery, E
|
|
|
1194
1241
|
export declare const OnboardingProjectsDocument: DocumentNode<OnboardingProjectsQuery, Exact<{
|
|
1195
1242
|
dataOnAuth: DataOnAuth;
|
|
1196
1243
|
}>>;
|
|
1244
|
+
export declare const OnboardingSetTokenDocument: DocumentNode<OnboardingSetTokenMutation, Exact<{
|
|
1245
|
+
chatId: Scalars['Long']['input'];
|
|
1246
|
+
dataOnAuth: DataOnAuth;
|
|
1247
|
+
token: OnboardingToken;
|
|
1248
|
+
}>>;
|
|
1197
1249
|
export declare const PoolxPriceDocument: DocumentNode<PoolxPriceQuery, Exact<{
|
|
1198
1250
|
[key: string]: never;
|
|
1199
1251
|
}>>;
|