@poolzfinance/api4 1.11.13 → 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.
@@ -97,6 +97,11 @@ declare const documents: {
97
97
  "\nquery OnboardingProjects($dataOnAuth: DataOnAuth!) {\n onboardingProjects(dataOnAuth: $dataOnAuth)\n {\n ChatId\n ChatTitle\n }\n}": DocumentNode<types.OnboardingProjectsQuery, types.Exact<{
98
98
  dataOnAuth: types.DataOnAuth;
99
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
+ }>>;
100
105
  "\n query PoolxPrice {\n poolxPrice {\n Price\n Timestamp\n }\n }": DocumentNode<types.PoolxPriceQuery, types.Exact<{
101
106
  [key: string]: never;
102
107
  }>>;
@@ -235,6 +240,10 @@ export declare function gql(source: "\nquery OnboardingData($chatId:Long!, $data
235
240
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
236
241
  */
237
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}"];
238
247
  /**
239
248
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
240
249
  */
@@ -231,7 +231,8 @@ export type Mutation = {
231
231
  generateTokenFromSignature: GenerateTokenFromSignature;
232
232
  logout: Scalars['Boolean']['output'];
233
233
  myLinkTelegram: Scalars['Int']['output'];
234
- onboardingSetToken: Scalars['Boolean']['output'];
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'];
@@ -997,6 +1013,19 @@ export type OnboardingProjectsQuery = {
997
1013
  ChatTitle?: string | null;
998
1014
  }>;
999
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
+ };
1000
1029
  export type PoolxPriceQueryVariables = Exact<{
1001
1030
  [key: string]: never;
1002
1031
  }>;
@@ -1194,6 +1223,11 @@ export declare const OnboardingDataDocument: DocumentNode<OnboardingDataQuery, E
1194
1223
  export declare const OnboardingProjectsDocument: DocumentNode<OnboardingProjectsQuery, Exact<{
1195
1224
  dataOnAuth: DataOnAuth;
1196
1225
  }>>;
1226
+ export declare const OnboardingSetTokenDocument: DocumentNode<OnboardingSetTokenMutation, Exact<{
1227
+ chatId: Scalars['Long']['input'];
1228
+ dataOnAuth: DataOnAuth;
1229
+ token: OnboardingToken;
1230
+ }>>;
1197
1231
  export declare const PoolxPriceDocument: DocumentNode<PoolxPriceQuery, Exact<{
1198
1232
  [key: string]: never;
1199
1233
  }>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poolzfinance/api4",
3
- "version": "1.11.13",
3
+ "version": "1.11.14",
4
4
  "description": "Bridge between front and back",
5
5
  "type": "module",
6
6
  "source": "src/index.ts",