@poolzfinance/api4 1.11.10 → 1.11.13

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.
@@ -90,6 +90,10 @@ 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
  }>>;
@@ -223,6 +227,10 @@ export declare function gql(source: "\n query MyRole {\n myRole\n}"): (typeo
223
227
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
224
228
  */
225
229
  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 }"];
230
+ /**
231
+ * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
232
+ */
233
+ 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
234
  /**
227
235
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
228
236
  */
@@ -231,6 +231,7 @@ 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
235
  sendToMonitor: Scalars['Int']['output'];
235
236
  setMyAgree: Scalars['Boolean']['output'];
236
237
  updateAutoSignUp: AdminAutoSignUp;
@@ -282,6 +283,11 @@ export type MutationGenerateTokenFromSignatureArgs = {
282
283
  export type MutationMyLinkTelegramArgs = {
283
284
  dataOnAuth: DataOnAuth;
284
285
  };
286
+ export type MutationOnboardingSetTokenArgs = {
287
+ chatId: Scalars['Long']['input'];
288
+ dataOnAuth: DataOnAuth;
289
+ token: OnboardingToken;
290
+ };
285
291
  export type MutationSendToMonitorArgs = {
286
292
  input: Scalars['String']['input'];
287
293
  };
@@ -328,11 +334,42 @@ export type NonEvmWallet = {
328
334
  ChainName: Scalars['String']['output'];
329
335
  Wallet: Scalars['String']['output'];
330
336
  };
337
+ export type OnboardingData_Data = {
338
+ __typename?: 'OnboardingData_Data';
339
+ TokenAllocation: Array<OnboardingData_TokenAllocation>;
340
+ TokenTransfer: Array<OnboardingData_TokenTransfer>;
341
+ Tokens: Array<OnboardingData_Tokens>;
342
+ };
343
+ export type OnboardingData_TokenAllocation = {
344
+ __typename?: 'OnboardingData_TokenAllocation';
345
+ FinishDate?: Maybe<Scalars['String']['output']>;
346
+ Ratio: Scalars['Float']['output'];
347
+ StartDate: Scalars['String']['output'];
348
+ };
349
+ export type OnboardingData_TokenTransfer = {
350
+ __typename?: 'OnboardingData_TokenTransfer';
351
+ Amount: Scalars['Float']['output'];
352
+ ChainId: Scalars['Long']['output'];
353
+ IsVerified: Scalars['Boolean']['output'];
354
+ TokenAddress: Scalars['String']['output'];
355
+ TxHash: Scalars['String']['output'];
356
+ };
357
+ export type OnboardingData_Tokens = {
358
+ __typename?: 'OnboardingData_Tokens';
359
+ Amount: Scalars['Float']['output'];
360
+ ChainId: Scalars['Long']['output'];
361
+ TokenAddress: Scalars['String']['output'];
362
+ };
331
363
  export type OnboardingProject = {
332
364
  __typename?: 'OnboardingProject';
333
365
  ChatId: Scalars['Long']['output'];
334
366
  ChatTitle?: Maybe<Scalars['String']['output']>;
335
367
  };
368
+ export type OnboardingToken = {
369
+ Amount: Scalars['Float']['input'];
370
+ ChainId: Scalars['Long']['input'];
371
+ TokenAddress: Scalars['String']['input'];
372
+ };
336
373
  export type PoolxPrice = {
337
374
  __typename?: 'PoolxPrice';
338
375
  Price: Scalars['Float']['output'];
@@ -387,6 +424,7 @@ export type Query = {
387
424
  myRole: Scalars['String']['output'];
388
425
  mySignUpCheck: Array<SignUpCheck>;
389
426
  mySignup: Array<MySignUp>;
427
+ onboardingData: OnboardingData_Data;
390
428
  onboardingProjects: Array<OnboardingProject>;
391
429
  poolxPrice: PoolxPrice;
392
430
  poolxTokenomics: PoolxTokenomics;
@@ -445,6 +483,10 @@ export type QueryMyInvestSumArgs = {
445
483
  export type QueryMySignUpCheckArgs = {
446
484
  poolIDs: Array<Scalars['Int']['input']>;
447
485
  };
486
+ export type QueryOnboardingDataArgs = {
487
+ chatId: Scalars['Long']['input'];
488
+ dataOnAuth: DataOnAuth;
489
+ };
448
490
  export type QueryOnboardingProjectsArgs = {
449
491
  dataOnAuth: DataOnAuth;
450
492
  };
@@ -914,6 +956,36 @@ export type SignUpCheckQuery = {
914
956
  SignUp?: boolean | null;
915
957
  }>;
916
958
  };
959
+ export type OnboardingDataQueryVariables = Exact<{
960
+ chatId: Scalars['Long']['input'];
961
+ dataOnAuth: DataOnAuth;
962
+ }>;
963
+ export type OnboardingDataQuery = {
964
+ __typename?: 'Query';
965
+ onboardingData: {
966
+ __typename?: 'OnboardingData_Data';
967
+ Tokens: Array<{
968
+ __typename?: 'OnboardingData_Tokens';
969
+ ChainId: any;
970
+ TokenAddress: string;
971
+ Amount: number;
972
+ }>;
973
+ TokenTransfer: Array<{
974
+ __typename?: 'OnboardingData_TokenTransfer';
975
+ ChainId: any;
976
+ TokenAddress: string;
977
+ Amount: number;
978
+ TxHash: string;
979
+ IsVerified: boolean;
980
+ }>;
981
+ TokenAllocation: Array<{
982
+ __typename?: 'OnboardingData_TokenAllocation';
983
+ StartDate: string;
984
+ FinishDate?: string | null;
985
+ Ratio: number;
986
+ }>;
987
+ };
988
+ };
917
989
  export type OnboardingProjectsQueryVariables = Exact<{
918
990
  dataOnAuth: DataOnAuth;
919
991
  }>;
@@ -1115,6 +1187,10 @@ export declare const MyRoleDocument: DocumentNode<MyRoleQuery, Exact<{
1115
1187
  export declare const SignUpCheckDocument: DocumentNode<SignUpCheckQuery, Exact<{
1116
1188
  poolIDs: Array<Scalars['Int']['input']> | Scalars['Int']['input'];
1117
1189
  }>>;
1190
+ export declare const OnboardingDataDocument: DocumentNode<OnboardingDataQuery, Exact<{
1191
+ chatId: Scalars['Long']['input'];
1192
+ dataOnAuth: DataOnAuth;
1193
+ }>>;
1118
1194
  export declare const OnboardingProjectsDocument: DocumentNode<OnboardingProjectsQuery, Exact<{
1119
1195
  dataOnAuth: DataOnAuth;
1120
1196
  }>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poolzfinance/api4",
3
- "version": "1.11.10",
3
+ "version": "1.11.13",
4
4
  "description": "Bridge between front and back",
5
5
  "type": "module",
6
6
  "source": "src/index.ts",