@poolzfinance/api4 1.11.12 → 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
  };
@@ -330,9 +336,9 @@ export type NonEvmWallet = {
330
336
  };
331
337
  export type OnboardingData_Data = {
332
338
  __typename?: 'OnboardingData_Data';
333
- TokenAllocation?: Maybe<Array<OnboardingData_TokenAllocation>>;
334
- TokenTransfer?: Maybe<Array<OnboardingData_TokenTransfer>>;
335
- Tokens?: Maybe<Array<OnboardingData_Tokens>>;
339
+ TokenAllocation: Array<OnboardingData_TokenAllocation>;
340
+ TokenTransfer: Array<OnboardingData_TokenTransfer>;
341
+ Tokens: Array<OnboardingData_Tokens>;
336
342
  };
337
343
  export type OnboardingData_TokenAllocation = {
338
344
  __typename?: 'OnboardingData_TokenAllocation';
@@ -359,6 +365,11 @@ export type OnboardingProject = {
359
365
  ChatId: Scalars['Long']['output'];
360
366
  ChatTitle?: Maybe<Scalars['String']['output']>;
361
367
  };
368
+ export type OnboardingToken = {
369
+ Amount: Scalars['Float']['input'];
370
+ ChainId: Scalars['Long']['input'];
371
+ TokenAddress: Scalars['String']['input'];
372
+ };
362
373
  export type PoolxPrice = {
363
374
  __typename?: 'PoolxPrice';
364
375
  Price: Scalars['Float']['output'];
@@ -413,7 +424,7 @@ export type Query = {
413
424
  myRole: Scalars['String']['output'];
414
425
  mySignUpCheck: Array<SignUpCheck>;
415
426
  mySignup: Array<MySignUp>;
416
- onboardingData: Array<OnboardingData_Data>;
427
+ onboardingData: OnboardingData_Data;
417
428
  onboardingProjects: Array<OnboardingProject>;
418
429
  poolxPrice: PoolxPrice;
419
430
  poolxTokenomics: PoolxTokenomics;
@@ -945,6 +956,36 @@ export type SignUpCheckQuery = {
945
956
  SignUp?: boolean | null;
946
957
  }>;
947
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
+ };
948
989
  export type OnboardingProjectsQueryVariables = Exact<{
949
990
  dataOnAuth: DataOnAuth;
950
991
  }>;
@@ -1146,6 +1187,10 @@ export declare const MyRoleDocument: DocumentNode<MyRoleQuery, Exact<{
1146
1187
  export declare const SignUpCheckDocument: DocumentNode<SignUpCheckQuery, Exact<{
1147
1188
  poolIDs: Array<Scalars['Int']['input']> | Scalars['Int']['input'];
1148
1189
  }>>;
1190
+ export declare const OnboardingDataDocument: DocumentNode<OnboardingDataQuery, Exact<{
1191
+ chatId: Scalars['Long']['input'];
1192
+ dataOnAuth: DataOnAuth;
1193
+ }>>;
1149
1194
  export declare const OnboardingProjectsDocument: DocumentNode<OnboardingProjectsQuery, Exact<{
1150
1195
  dataOnAuth: DataOnAuth;
1151
1196
  }>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poolzfinance/api4",
3
- "version": "1.11.12",
3
+ "version": "1.11.13",
4
4
  "description": "Bridge between front and back",
5
5
  "type": "module",
6
6
  "source": "src/index.ts",