@poolzfinance/api4 1.11.14 → 1.11.16
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/onBoardingSetAllocation.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 +47 -0
- 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 OnboardingSetAllocation($tokenAllocation: [OnboardingTokenAllocation!]!, $dataOnAuth: DataOnAuth!, $chatId: Long!) {\n onboardingSetAllocation(tokenAllocation: $tokenAllocation, dataOnAuth: $dataOnAuth, chatId: $chatId) {\n Success\n ErrorMessage\n }\n}": DocumentNode<types.OnboardingSetAllocationMutation, types.Exact<{
|
|
106
|
+
tokenAllocation: types.OnboardingTokenAllocation | types.OnboardingTokenAllocation[];
|
|
107
|
+
dataOnAuth: types.DataOnAuth;
|
|
108
|
+
chatId: any;
|
|
109
|
+
}>>;
|
|
100
110
|
"\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
111
|
chatId: any;
|
|
102
112
|
dataOnAuth: types.DataOnAuth;
|
|
@@ -232,6 +242,10 @@ export declare function gql(source: "\n query MyRole {\n myRole\n}"): (typeo
|
|
|
232
242
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
233
243
|
*/
|
|
234
244
|
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 }"];
|
|
245
|
+
/**
|
|
246
|
+
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
247
|
+
*/
|
|
248
|
+
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}"];
|
|
235
249
|
/**
|
|
236
250
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
237
251
|
*/
|
|
@@ -240,6 +254,10 @@ export declare function gql(source: "\nquery OnboardingData($chatId:Long!, $data
|
|
|
240
254
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
241
255
|
*/
|
|
242
256
|
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}"];
|
|
257
|
+
/**
|
|
258
|
+
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
259
|
+
*/
|
|
260
|
+
export declare function gql(source: "\n mutation OnboardingSetAllocation($tokenAllocation: [OnboardingTokenAllocation!]!, $dataOnAuth: DataOnAuth!, $chatId: Long!) {\n onboardingSetAllocation(tokenAllocation: $tokenAllocation, dataOnAuth: $dataOnAuth, chatId: $chatId) {\n Success\n ErrorMessage\n }\n}"): (typeof documents)["\n mutation OnboardingSetAllocation($tokenAllocation: [OnboardingTokenAllocation!]!, $dataOnAuth: DataOnAuth!, $chatId: Long!) {\n onboardingSetAllocation(tokenAllocation: $tokenAllocation, dataOnAuth: $dataOnAuth, chatId: $chatId) {\n Success\n ErrorMessage\n }\n}"];
|
|
243
261
|
/**
|
|
244
262
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
245
263
|
*/
|
|
@@ -232,6 +232,7 @@ export type Mutation = {
|
|
|
232
232
|
logout: Scalars['Boolean']['output'];
|
|
233
233
|
myLinkTelegram: Scalars['Int']['output'];
|
|
234
234
|
onboardingCheckTx: OnboardingMutationsResponse;
|
|
235
|
+
onboardingSetAllocation: OnboardingMutationsResponse;
|
|
235
236
|
onboardingSetToken: OnboardingMutationsResponse;
|
|
236
237
|
sendToMonitor: Scalars['Int']['output'];
|
|
237
238
|
setMyAgree: Scalars['Boolean']['output'];
|
|
@@ -289,6 +290,11 @@ export type MutationOnboardingCheckTxArgs = {
|
|
|
289
290
|
dataOnAuth: DataOnAuth;
|
|
290
291
|
tokenTransfer: OnboardingTokenTransfer;
|
|
291
292
|
};
|
|
293
|
+
export type MutationOnboardingSetAllocationArgs = {
|
|
294
|
+
chatId: Scalars['Long']['input'];
|
|
295
|
+
dataOnAuth: DataOnAuth;
|
|
296
|
+
tokenAllocation: Array<OnboardingTokenAllocation>;
|
|
297
|
+
};
|
|
292
298
|
export type MutationOnboardingSetTokenArgs = {
|
|
293
299
|
chatId: Scalars['Long']['input'];
|
|
294
300
|
dataOnAuth: DataOnAuth;
|
|
@@ -381,6 +387,11 @@ export type OnboardingToken = {
|
|
|
381
387
|
ChainId: Scalars['Long']['input'];
|
|
382
388
|
TokenAddress: Scalars['String']['input'];
|
|
383
389
|
};
|
|
390
|
+
export type OnboardingTokenAllocation = {
|
|
391
|
+
EndTime?: InputMaybe<Scalars['String']['input']>;
|
|
392
|
+
Ratio: Scalars['Float']['input'];
|
|
393
|
+
StartTime: Scalars['String']['input'];
|
|
394
|
+
};
|
|
384
395
|
export type OnboardingTokenTransfer = {
|
|
385
396
|
ChainId: Scalars['Long']['input'];
|
|
386
397
|
TokenAddress: Scalars['String']['input'];
|
|
@@ -972,6 +983,19 @@ export type SignUpCheckQuery = {
|
|
|
972
983
|
SignUp?: boolean | null;
|
|
973
984
|
}>;
|
|
974
985
|
};
|
|
986
|
+
export type OnboardingCheckTxMutationVariables = Exact<{
|
|
987
|
+
chatId: Scalars['Long']['input'];
|
|
988
|
+
dataOnAuth: DataOnAuth;
|
|
989
|
+
tokenTransfer: OnboardingTokenTransfer;
|
|
990
|
+
}>;
|
|
991
|
+
export type OnboardingCheckTxMutation = {
|
|
992
|
+
__typename?: 'Mutation';
|
|
993
|
+
onboardingCheckTx: {
|
|
994
|
+
__typename?: 'OnboardingMutationsResponse';
|
|
995
|
+
Success: boolean;
|
|
996
|
+
ErrorMessage?: string | null;
|
|
997
|
+
};
|
|
998
|
+
};
|
|
975
999
|
export type OnboardingDataQueryVariables = Exact<{
|
|
976
1000
|
chatId: Scalars['Long']['input'];
|
|
977
1001
|
dataOnAuth: DataOnAuth;
|
|
@@ -1013,6 +1037,19 @@ export type OnboardingProjectsQuery = {
|
|
|
1013
1037
|
ChatTitle?: string | null;
|
|
1014
1038
|
}>;
|
|
1015
1039
|
};
|
|
1040
|
+
export type OnboardingSetAllocationMutationVariables = Exact<{
|
|
1041
|
+
tokenAllocation: Array<OnboardingTokenAllocation> | OnboardingTokenAllocation;
|
|
1042
|
+
dataOnAuth: DataOnAuth;
|
|
1043
|
+
chatId: Scalars['Long']['input'];
|
|
1044
|
+
}>;
|
|
1045
|
+
export type OnboardingSetAllocationMutation = {
|
|
1046
|
+
__typename?: 'Mutation';
|
|
1047
|
+
onboardingSetAllocation: {
|
|
1048
|
+
__typename?: 'OnboardingMutationsResponse';
|
|
1049
|
+
Success: boolean;
|
|
1050
|
+
ErrorMessage?: string | null;
|
|
1051
|
+
};
|
|
1052
|
+
};
|
|
1016
1053
|
export type OnboardingSetTokenMutationVariables = Exact<{
|
|
1017
1054
|
chatId: Scalars['Long']['input'];
|
|
1018
1055
|
dataOnAuth: DataOnAuth;
|
|
@@ -1216,6 +1253,11 @@ export declare const MyRoleDocument: DocumentNode<MyRoleQuery, Exact<{
|
|
|
1216
1253
|
export declare const SignUpCheckDocument: DocumentNode<SignUpCheckQuery, Exact<{
|
|
1217
1254
|
poolIDs: Array<Scalars['Int']['input']> | Scalars['Int']['input'];
|
|
1218
1255
|
}>>;
|
|
1256
|
+
export declare const OnboardingCheckTxDocument: DocumentNode<OnboardingCheckTxMutation, Exact<{
|
|
1257
|
+
chatId: Scalars['Long']['input'];
|
|
1258
|
+
dataOnAuth: DataOnAuth;
|
|
1259
|
+
tokenTransfer: OnboardingTokenTransfer;
|
|
1260
|
+
}>>;
|
|
1219
1261
|
export declare const OnboardingDataDocument: DocumentNode<OnboardingDataQuery, Exact<{
|
|
1220
1262
|
chatId: Scalars['Long']['input'];
|
|
1221
1263
|
dataOnAuth: DataOnAuth;
|
|
@@ -1223,6 +1265,11 @@ export declare const OnboardingDataDocument: DocumentNode<OnboardingDataQuery, E
|
|
|
1223
1265
|
export declare const OnboardingProjectsDocument: DocumentNode<OnboardingProjectsQuery, Exact<{
|
|
1224
1266
|
dataOnAuth: DataOnAuth;
|
|
1225
1267
|
}>>;
|
|
1268
|
+
export declare const OnboardingSetAllocationDocument: DocumentNode<OnboardingSetAllocationMutation, Exact<{
|
|
1269
|
+
tokenAllocation: Array<OnboardingTokenAllocation> | OnboardingTokenAllocation;
|
|
1270
|
+
dataOnAuth: DataOnAuth;
|
|
1271
|
+
chatId: Scalars['Long']['input'];
|
|
1272
|
+
}>>;
|
|
1226
1273
|
export declare const OnboardingSetTokenDocument: DocumentNode<OnboardingSetTokenMutation, Exact<{
|
|
1227
1274
|
chatId: Scalars['Long']['input'];
|
|
1228
1275
|
dataOnAuth: DataOnAuth;
|