@poolzfinance/api4 1.11.61 → 1.12.1

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.
@@ -14,6 +14,10 @@ declare const documents: {
14
14
  "\nmutation AdminCleanCache {\n adminCleanCache {\n result {\n id\n }\n messages {\n code\n message\n }\n errors {\n code\n message\n }\n success\n }\n}": DocumentNode<types.AdminCleanCacheMutation, types.Exact<{
15
15
  [key: string]: never;
16
16
  }>>;
17
+ "\n mutation AdminCreatePoolzBackId($projectId: String!, $poolzBackId: Int!) {\n adminCreatePoolzBackId(projectId: $projectId, poolzBackId: $poolzBackId) {\n ProjectId\n PoolzBackId\n }\n }\n": DocumentNode<types.AdminCreatePoolzBackIdMutation, types.Exact<{
18
+ projectId: string;
19
+ poolzBackId: number;
20
+ }>>;
17
21
  "\n query AdminListOfCollateral($chainId: Int!, $collateralAddress: String!, $limit: Int!, $page: Int!) {\n adminListOfCollateral(\n chainId: $chainId\n collateralAddress: $collateralAddress\n limit: $limit\n page: $page\n ) {\n PoolId\n TokenAmountInWei\n MainCoinAmountInWei\n FinishTime\n }\n}": DocumentNode<types.AdminListOfCollateralQuery, types.Exact<{
18
22
  chainId: number;
19
23
  collateralAddress: string;
@@ -71,9 +75,9 @@ declare const documents: {
71
75
  eip4361message: string;
72
76
  signature: string;
73
77
  }>>;
74
- "\n query GenerateMyInvestSignature($phaseId: String!, $WeiAmount: String!) {\n generateMyInvestSignature(phaseId: $phaseId, WeiAmount: $WeiAmount) {\n Signature\n ValidUntil\n }\n }\n": DocumentNode<types.GenerateMyInvestSignatureQuery, types.Exact<{
75
- phaseId: string;
76
- WeiAmount: string;
78
+ "\n query GenerateMyInvestSignature($projectId: String!, $weiAmount: String!) {\n generateMyInvestSignature(projectId: $projectId, weiAmount: $weiAmount) {\n Signature\n ValidUntil\n PoolzBackId\n }\n }\n": DocumentNode<types.GenerateMyInvestSignatureQuery, types.Exact<{
79
+ projectId: string;
80
+ weiAmount: string;
77
81
  }>>;
78
82
  "\n query InvestedErc20($investedErc20Id: Int!) {\n investedErc20(id: $investedErc20Id) {\n Wallet\n AmountIn\n TokenOut\n }\n}": DocumentNode<types.InvestedErc20Query, types.Exact<{
79
83
  investedErc20Id: number;
@@ -113,9 +117,6 @@ declare const documents: {
113
117
  "\n query MyInvested {\n myInvestmentsErc20 {\n ChainId\n TxHash\n BlockSignedAt\n Amount\n Token\n Id\n }\n myInvestmentsETH {\n ChainId\n TxHash\n BlockSignedAt\n Amount\n Id\n }\n}": DocumentNode<types.MyInvestedQuery, types.Exact<{
114
118
  [key: string]: never;
115
119
  }>>;
116
- "\n mutation MyLinkTelegram($dataOnAuth: DataOnAuth!) {\n myLinkTelegram(dataOnAuth: $dataOnAuth)\n}": DocumentNode<types.MyLinkTelegramMutation, types.Exact<{
117
- dataOnAuth: types.DataOnAuth;
118
- }>>;
119
120
  "\n query KYC {\n myProxyKYC {\n Proxy\n RequestStatus\n Status\n }\n}": DocumentNode<types.KycQuery, types.Exact<{
120
121
  [key: string]: never;
121
122
  }>>;
@@ -125,25 +126,6 @@ declare const documents: {
125
126
  "\n query SignUpCheck($poolIDs: [Int!]!) {\n mySignUpCheck(poolIDs: $poolIDs) {\n PoolId\n SignUp\n }\n }": DocumentNode<types.SignUpCheckQuery, types.Exact<{
126
127
  poolIDs: number | number[];
127
128
  }>>;
128
- "\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<{
129
- chatId: any;
130
- dataOnAuth: types.DataOnAuth;
131
- tokenTransfer: types.OnboardingTokenTransfer;
132
- }>>;
133
- "\nquery OnboardingData($dataOnAuth: DataOnAuth!, $chatId:Long!) {\n onboardingData(dataOnAuth: $dataOnAuth, chatId: $chatId) {\n TokenAddress\n ChainId\n TokenTransfers {\n Amount\n TxHash\n Timestamp\n }\n TokenAllocations {\n StartDate\n FinishDate\n Ratio\n }\n }\n}": DocumentNode<types.OnboardingDataQuery, types.Exact<{
134
- dataOnAuth: types.DataOnAuth;
135
- chatId: any;
136
- }>>;
137
- "\nquery OnboardingProjects($dataOnAuth: DataOnAuth!) {\n onboardingProjects(dataOnAuth: $dataOnAuth)\n {\n ChatId\n ChatTitle\n }\n}": DocumentNode<types.OnboardingProjectsQuery, types.Exact<{
138
- dataOnAuth: types.DataOnAuth;
139
- }>>;
140
- "\n mutation OnboardingSetAllocation($dataOnAuth: DataOnAuth!, $chatId: Long!, $tokenAllocation: [OnboardingTokenAllocation!]!, $chainId: Long!, $tokenAddress: String!) {\n onboardingSetAllocation(dataOnAuth: $dataOnAuth, chatId: $chatId, chainId: $chainId, tokenAddress: $tokenAddress, tokenAllocation: $tokenAllocation) {\n Success\n ErrorMessage\n }\n}": DocumentNode<types.OnboardingSetAllocationMutation, types.Exact<{
141
- dataOnAuth: types.DataOnAuth;
142
- chatId: any;
143
- tokenAllocation: types.OnboardingTokenAllocation | types.OnboardingTokenAllocation[];
144
- chainId: any;
145
- tokenAddress: string;
146
- }>>;
147
129
  "\n query PoolxPrice {\n poolxPrice {\n Price\n Timestamp\n }\n }": DocumentNode<types.PoolxPriceQuery, types.Exact<{
148
130
  [key: string]: never;
149
131
  }>>;
@@ -225,6 +207,10 @@ export declare function gql(source: string): unknown;
225
207
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
226
208
  */
227
209
  export declare function gql(source: "\nmutation AdminCleanCache {\n adminCleanCache {\n result {\n id\n }\n messages {\n code\n message\n }\n errors {\n code\n message\n }\n success\n }\n}"): (typeof documents)["\nmutation AdminCleanCache {\n adminCleanCache {\n result {\n id\n }\n messages {\n code\n message\n }\n errors {\n code\n message\n }\n success\n }\n}"];
210
+ /**
211
+ * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
212
+ */
213
+ export declare function gql(source: "\n mutation AdminCreatePoolzBackId($projectId: String!, $poolzBackId: Int!) {\n adminCreatePoolzBackId(projectId: $projectId, poolzBackId: $poolzBackId) {\n ProjectId\n PoolzBackId\n }\n }\n"): (typeof documents)["\n mutation AdminCreatePoolzBackId($projectId: String!, $poolzBackId: Int!) {\n adminCreatePoolzBackId(projectId: $projectId, poolzBackId: $poolzBackId) {\n ProjectId\n PoolzBackId\n }\n }\n"];
228
214
  /**
229
215
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
230
216
  */
@@ -292,7 +278,7 @@ export declare function gql(source: "\nmutation GenerateTokenFromSignature($eip4
292
278
  /**
293
279
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
294
280
  */
295
- export declare function gql(source: "\n query GenerateMyInvestSignature($phaseId: String!, $WeiAmount: String!) {\n generateMyInvestSignature(phaseId: $phaseId, WeiAmount: $WeiAmount) {\n Signature\n ValidUntil\n }\n }\n"): (typeof documents)["\n query GenerateMyInvestSignature($phaseId: String!, $WeiAmount: String!) {\n generateMyInvestSignature(phaseId: $phaseId, WeiAmount: $WeiAmount) {\n Signature\n ValidUntil\n }\n }\n"];
281
+ export declare function gql(source: "\n query GenerateMyInvestSignature($projectId: String!, $weiAmount: String!) {\n generateMyInvestSignature(projectId: $projectId, weiAmount: $weiAmount) {\n Signature\n ValidUntil\n PoolzBackId\n }\n }\n"): (typeof documents)["\n query GenerateMyInvestSignature($projectId: String!, $weiAmount: String!) {\n generateMyInvestSignature(projectId: $projectId, weiAmount: $weiAmount) {\n Signature\n ValidUntil\n PoolzBackId\n }\n }\n"];
296
282
  /**
297
283
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
298
284
  */
@@ -341,10 +327,6 @@ export declare function gql(source: "\n mutation UpdateNonEvmWallet($chainName:
341
327
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
342
328
  */
343
329
  export declare function gql(source: "\n query MyInvested {\n myInvestmentsErc20 {\n ChainId\n TxHash\n BlockSignedAt\n Amount\n Token\n Id\n }\n myInvestmentsETH {\n ChainId\n TxHash\n BlockSignedAt\n Amount\n Id\n }\n}"): (typeof documents)["\n query MyInvested {\n myInvestmentsErc20 {\n ChainId\n TxHash\n BlockSignedAt\n Amount\n Token\n Id\n }\n myInvestmentsETH {\n ChainId\n TxHash\n BlockSignedAt\n Amount\n Id\n }\n}"];
344
- /**
345
- * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
346
- */
347
- export declare function gql(source: "\n mutation MyLinkTelegram($dataOnAuth: DataOnAuth!) {\n myLinkTelegram(dataOnAuth: $dataOnAuth)\n}"): (typeof documents)["\n mutation MyLinkTelegram($dataOnAuth: DataOnAuth!) {\n myLinkTelegram(dataOnAuth: $dataOnAuth)\n}"];
348
330
  /**
349
331
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
350
332
  */
@@ -357,22 +339,6 @@ export declare function gql(source: "\n query MyRole {\n myRole\n}"): (typeo
357
339
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
358
340
  */
359
341
  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 }"];
360
- /**
361
- * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
362
- */
363
- 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}"];
364
- /**
365
- * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
366
- */
367
- export declare function gql(source: "\nquery OnboardingData($dataOnAuth: DataOnAuth!, $chatId:Long!) {\n onboardingData(dataOnAuth: $dataOnAuth, chatId: $chatId) {\n TokenAddress\n ChainId\n TokenTransfers {\n Amount\n TxHash\n Timestamp\n }\n TokenAllocations {\n StartDate\n FinishDate\n Ratio\n }\n }\n}"): (typeof documents)["\nquery OnboardingData($dataOnAuth: DataOnAuth!, $chatId:Long!) {\n onboardingData(dataOnAuth: $dataOnAuth, chatId: $chatId) {\n TokenAddress\n ChainId\n TokenTransfers {\n Amount\n TxHash\n Timestamp\n }\n TokenAllocations {\n StartDate\n FinishDate\n Ratio\n }\n }\n}"];
368
- /**
369
- * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
370
- */
371
- 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}"];
372
- /**
373
- * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
374
- */
375
- export declare function gql(source: "\n mutation OnboardingSetAllocation($dataOnAuth: DataOnAuth!, $chatId: Long!, $tokenAllocation: [OnboardingTokenAllocation!]!, $chainId: Long!, $tokenAddress: String!) {\n onboardingSetAllocation(dataOnAuth: $dataOnAuth, chatId: $chatId, chainId: $chainId, tokenAddress: $tokenAddress, tokenAllocation: $tokenAllocation) {\n Success\n ErrorMessage\n }\n}"): (typeof documents)["\n mutation OnboardingSetAllocation($dataOnAuth: DataOnAuth!, $chatId: Long!, $tokenAllocation: [OnboardingTokenAllocation!]!, $chainId: Long!, $tokenAddress: String!) {\n onboardingSetAllocation(dataOnAuth: $dataOnAuth, chatId: $chatId, chainId: $chainId, tokenAddress: $tokenAddress, tokenAllocation: $tokenAllocation) {\n Success\n ErrorMessage\n }\n}"];
376
342
  /**
377
343
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
378
344
  */
@@ -94,6 +94,17 @@ export type AdminAutoSignUp = {
94
94
  Note: Scalars['String']['output'];
95
95
  PoolzAmount: Scalars['Float']['output'];
96
96
  };
97
+ export type AdminCreatePoolzBackId = {
98
+ __typename?: 'AdminCreatePoolzBackId';
99
+ PoolzBackId: Scalars['Int']['output'];
100
+ ProjectId: Scalars['String']['output'];
101
+ };
102
+ export type AdminGetAllocation = {
103
+ __typename?: 'AdminGetAllocation';
104
+ Amount: Scalars['Float']['output'];
105
+ PhaseId: Scalars['String']['output'];
106
+ UserAddress: Scalars['String']['output'];
107
+ };
97
108
  export type AdminKycProxy = {
98
109
  __typename?: 'AdminKycProxy';
99
110
  ApprovedDate?: Maybe<Scalars['String']['output']>;
@@ -146,6 +157,15 @@ export type AdminUsers = {
146
157
  RoleId: Scalars['Int']['output'];
147
158
  Wallet: Scalars['String']['output'];
148
159
  };
160
+ export type AdminWriteAllocation = {
161
+ PhaseId: Scalars['String']['input'];
162
+ ProjectId: Scalars['String']['input'];
163
+ Users: Array<AdminWriteAllocation_UserData>;
164
+ };
165
+ export type AdminWriteAllocation_UserData = {
166
+ Amount: Scalars['Float']['input'];
167
+ UserAddress: Scalars['String']['input'];
168
+ };
149
169
  export type ApprovedContracts = {
150
170
  __typename?: 'ApprovedContracts';
151
171
  ChainId: Scalars['Int']['output'];
@@ -235,15 +255,6 @@ export type DaoSenderHistoryPage = {
235
255
  items?: Maybe<Array<DaoSenderHistory>>;
236
256
  totalPages: Scalars['Int']['output'];
237
257
  };
238
- export type DataOnAuth = {
239
- auth_date: Scalars['Long']['input'];
240
- first_name: Scalars['String']['input'];
241
- hash: Scalars['String']['input'];
242
- id: Scalars['Long']['input'];
243
- last_name?: InputMaybe<Scalars['String']['input']>;
244
- photo_url?: InputMaybe<Scalars['String']['input']>;
245
- username?: InputMaybe<Scalars['String']['input']>;
246
- };
247
258
  export type DeleteAssetRequest = {
248
259
  Message: DeleteAssetRequest_Message;
249
260
  Signature: Scalars['String']['input'];
@@ -259,6 +270,7 @@ export type DeleteAssetResponse = {
259
270
  };
260
271
  export type GenerateMyInvestSignature = {
261
272
  __typename?: 'GenerateMyInvestSignature';
273
+ PoolzBackId: Scalars['Int']['output'];
262
274
  Signature: Scalars['String']['output'];
263
275
  ValidUntil: Scalars['Int']['output'];
264
276
  };
@@ -330,9 +342,11 @@ export type Mutation = {
330
342
  adminAddAction: AdminAction;
331
343
  adminCleanCache: CleanCache;
332
344
  adminCreateAsset: CreateAssetResponse;
345
+ adminCreatePoolzBackId: AdminCreatePoolzBackId;
333
346
  adminDeleteAction: Scalars['Boolean']['output'];
334
347
  adminDeleteAsset: DeleteAssetResponse;
335
348
  adminUpdateAction: ActionSettings;
349
+ adminWriteAllocation: Scalars['Int']['output'];
336
350
  createSeasonPass: SeasonPass;
337
351
  createSeasonPasses: Array<SeasonPass>;
338
352
  deleteAutoSignUp: AdminAutoSignUp;
@@ -343,9 +357,7 @@ export type Mutation = {
343
357
  generateSignature: GenerateSignatureResponse;
344
358
  generateTokenFromSignature: GenerateTokenFromSignature;
345
359
  logout: Scalars['Boolean']['output'];
346
- myLinkTelegram: Scalars['Int']['output'];
347
- onboardingCheckTx: OnboardingMutationsResponse;
348
- onboardingSetAllocation: OnboardingMutationsResponse;
360
+ /** @deprecated Use projectSignUpV3 */
349
361
  projectSignUpV2: ProjectSignUpV2;
350
362
  projectSignUpV3: ProjectSignUpV3;
351
363
  sendToMonitor: Scalars['Int']['output'];
@@ -379,6 +391,10 @@ export type MutationAdminAddActionArgs = {
379
391
  export type MutationAdminCreateAssetArgs = {
380
392
  request: CreateAssetRequest;
381
393
  };
394
+ export type MutationAdminCreatePoolzBackIdArgs = {
395
+ poolzBackId: Scalars['Int']['input'];
396
+ projectId: Scalars['String']['input'];
397
+ };
382
398
  export type MutationAdminDeleteActionArgs = {
383
399
  settingsId: Scalars['Int']['input'];
384
400
  };
@@ -388,6 +404,9 @@ export type MutationAdminDeleteAssetArgs = {
388
404
  export type MutationAdminUpdateActionArgs = {
389
405
  action: UpdateAction;
390
406
  };
407
+ export type MutationAdminWriteAllocationArgs = {
408
+ input: AdminWriteAllocation;
409
+ };
391
410
  export type MutationCreateSeasonPassArgs = {
392
411
  seasonPass: SeasonPassInput;
393
412
  };
@@ -417,21 +436,6 @@ export type MutationGenerateTokenFromSignatureArgs = {
417
436
  eip4361message: Scalars['String']['input'];
418
437
  signature: Scalars['String']['input'];
419
438
  };
420
- export type MutationMyLinkTelegramArgs = {
421
- dataOnAuth: DataOnAuth;
422
- };
423
- export type MutationOnboardingCheckTxArgs = {
424
- chatId: Scalars['Long']['input'];
425
- dataOnAuth: DataOnAuth;
426
- tokenTransfer: OnboardingTokenTransfer;
427
- };
428
- export type MutationOnboardingSetAllocationArgs = {
429
- chainId: Scalars['Long']['input'];
430
- chatId: Scalars['Long']['input'];
431
- dataOnAuth: DataOnAuth;
432
- tokenAddress: Scalars['String']['input'];
433
- tokenAllocation: Array<OnboardingTokenAllocation>;
434
- };
435
439
  export type MutationProjectSignUpV2Args = {
436
440
  projectId: Scalars['Int']['input'];
437
441
  };
@@ -552,45 +556,6 @@ export type NonEvmWallet = {
552
556
  ChainName: Scalars['String']['output'];
553
557
  Wallet: Scalars['String']['output'];
554
558
  };
555
- export type OnboardingData_Data = {
556
- __typename?: 'OnboardingData_Data';
557
- ChainId: Scalars['Long']['output'];
558
- TokenAddress: Scalars['String']['output'];
559
- TokenAllocations: Array<OnboardingData_TokenAllocation>;
560
- TokenTransfers: Array<OnboardingData_TokenTransfer>;
561
- };
562
- export type OnboardingData_TokenAllocation = {
563
- __typename?: 'OnboardingData_TokenAllocation';
564
- FinishDate?: Maybe<Scalars['String']['output']>;
565
- Ratio: Scalars['Float']['output'];
566
- StartDate: Scalars['String']['output'];
567
- };
568
- export type OnboardingData_TokenTransfer = {
569
- __typename?: 'OnboardingData_TokenTransfer';
570
- Amount: Scalars['Float']['output'];
571
- Timestamp: Scalars['Long']['output'];
572
- TxHash: Scalars['String']['output'];
573
- };
574
- export type OnboardingMutationsResponse = {
575
- __typename?: 'OnboardingMutationsResponse';
576
- ErrorMessage?: Maybe<Scalars['String']['output']>;
577
- Success: Scalars['Boolean']['output'];
578
- };
579
- export type OnboardingProject = {
580
- __typename?: 'OnboardingProject';
581
- ChatId: Scalars['Long']['output'];
582
- ChatTitle?: Maybe<Scalars['String']['output']>;
583
- };
584
- export type OnboardingTokenAllocation = {
585
- FinishDate?: InputMaybe<Scalars['String']['input']>;
586
- Ratio: Scalars['Float']['input'];
587
- StartDate: Scalars['String']['input'];
588
- };
589
- export type OnboardingTokenTransfer = {
590
- ChainId: Scalars['Long']['input'];
591
- TokenAddress: Scalars['String']['input'];
592
- TxHash: Scalars['String']['input'];
593
- };
594
559
  export type PoolxPrice = {
595
560
  __typename?: 'PoolxPrice';
596
561
  Price: Scalars['Float']['output'];
@@ -642,6 +607,7 @@ export type Query = {
642
607
  __typename?: 'Query';
643
608
  adminAutoSignUp: Array<AdminAutoSignUp>;
644
609
  adminGetActions: Array<GetAction>;
610
+ adminGetAllocation: Array<AdminGetAllocation>;
645
611
  adminKycProxy: Array<AdminKycProxy>;
646
612
  adminListAssets: Array<AdminListAssetsResponse>;
647
613
  adminListOfCollateral: Array<AdminListOfCollateral>;
@@ -650,6 +616,7 @@ export type Query = {
650
616
  adminNonEvmWallet: Array<AdminNonEvmWallet>;
651
617
  adminReadAssets: ReadAssetsResponse;
652
618
  adminRpcWallets: Array<RpcWallet>;
619
+ /** @deprecated Use adminSignUpV3 */
653
620
  adminSignUpV2: Array<AdminSignUpV2>;
654
621
  adminSignUpV3: Array<AdminSignUpV3>;
655
622
  adminUsers: Array<AdminUsers>;
@@ -673,12 +640,11 @@ export type Query = {
673
640
  myRoles: Array<Scalars['String']['output']>;
674
641
  /** @deprecated Old system. Please use new endpoints from API4.SignUp. */
675
642
  mySignUpCheck: Array<SignUpCheck>;
643
+ /** @deprecated Use mySignUpV3 */
676
644
  mySignUpV2: Array<MySignUpV2>;
677
645
  mySignUpV3: Array<MySignUpV3>;
678
646
  /** @deprecated Old system. Please use new endpoints from API4.SignUp. */
679
647
  mySignup: Array<MySignUp>;
680
- onboardingData: Array<OnboardingData_Data>;
681
- onboardingProjects: Array<OnboardingProject>;
682
648
  poolxPrice: PoolxPrice;
683
649
  poolxTokenomics: PoolxTokenomics;
684
650
  retrieveSignature: RetrieveSignatureResponse;
@@ -712,6 +678,9 @@ export type Query = {
712
678
  export type QueryAdminAutoSignUpArgs = {
713
679
  note?: InputMaybe<Scalars['String']['input']>;
714
680
  };
681
+ export type QueryAdminGetAllocationArgs = {
682
+ projectId: Scalars['String']['input'];
683
+ };
715
684
  export type QueryAdminKycProxyArgs = {
716
685
  status?: InputMaybe<Scalars['String']['input']>;
717
686
  };
@@ -762,8 +731,8 @@ export type QueryDaoSenderHistoryArgs = {
762
731
  page: Scalars['Int']['input'];
763
732
  };
764
733
  export type QueryGenerateMyInvestSignatureArgs = {
765
- WeiAmount: Scalars['String']['input'];
766
- phaseId: Scalars['String']['input'];
734
+ projectId: Scalars['String']['input'];
735
+ weiAmount: Scalars['String']['input'];
767
736
  };
768
737
  export type QueryInvestedErc20Args = {
769
738
  id: Scalars['Int']['input'];
@@ -776,7 +745,7 @@ export type QueryLeaderBoardArgs = {
776
745
  timestamp?: InputMaybe<Scalars['Int']['input']>;
777
746
  };
778
747
  export type QueryMyAllocationArgs = {
779
- phaseId: Scalars['String']['input'];
748
+ projectId: Scalars['String']['input'];
780
749
  };
781
750
  export type QueryMyAssetsArgs = {
782
751
  limit: Scalars['Int']['input'];
@@ -797,13 +766,6 @@ export type QueryMySignUpV2Args = {
797
766
  export type QueryMySignUpV3Args = {
798
767
  projectIDs: Array<Scalars['String']['input']>;
799
768
  };
800
- export type QueryOnboardingDataArgs = {
801
- chatId: Scalars['Long']['input'];
802
- dataOnAuth: DataOnAuth;
803
- };
804
- export type QueryOnboardingProjectsArgs = {
805
- dataOnAuth: DataOnAuth;
806
- };
807
769
  export type QueryRetrieveSignatureArgs = {
808
770
  request: RetrieveSignatureRequest;
809
771
  };
@@ -1104,6 +1066,18 @@ export type AdminCleanCacheMutation = {
1104
1066
  }>;
1105
1067
  };
1106
1068
  };
1069
+ export type AdminCreatePoolzBackIdMutationVariables = Exact<{
1070
+ projectId: Scalars['String']['input'];
1071
+ poolzBackId: Scalars['Int']['input'];
1072
+ }>;
1073
+ export type AdminCreatePoolzBackIdMutation = {
1074
+ __typename?: 'Mutation';
1075
+ adminCreatePoolzBackId: {
1076
+ __typename?: 'AdminCreatePoolzBackId';
1077
+ ProjectId: string;
1078
+ PoolzBackId: number;
1079
+ };
1080
+ };
1107
1081
  export type AdminListOfCollateralQueryVariables = Exact<{
1108
1082
  chainId: Scalars['Int']['input'];
1109
1083
  collateralAddress: Scalars['String']['input'];
@@ -1354,8 +1328,8 @@ export type GenerateTokenFromSignatureMutation = {
1354
1328
  };
1355
1329
  };
1356
1330
  export type GenerateMyInvestSignatureQueryVariables = Exact<{
1357
- phaseId: Scalars['String']['input'];
1358
- WeiAmount: Scalars['String']['input'];
1331
+ projectId: Scalars['String']['input'];
1332
+ weiAmount: Scalars['String']['input'];
1359
1333
  }>;
1360
1334
  export type GenerateMyInvestSignatureQuery = {
1361
1335
  __typename?: 'Query';
@@ -1363,6 +1337,7 @@ export type GenerateMyInvestSignatureQuery = {
1363
1337
  __typename?: 'GenerateMyInvestSignature';
1364
1338
  Signature: string;
1365
1339
  ValidUntil: number;
1340
+ PoolzBackId: number;
1366
1341
  };
1367
1342
  };
1368
1343
  export type InvestedErc20QueryVariables = Exact<{
@@ -1522,13 +1497,6 @@ export type MyInvestedQuery = {
1522
1497
  Id: number;
1523
1498
  }>;
1524
1499
  };
1525
- export type MyLinkTelegramMutationVariables = Exact<{
1526
- dataOnAuth: DataOnAuth;
1527
- }>;
1528
- export type MyLinkTelegramMutation = {
1529
- __typename?: 'Mutation';
1530
- myLinkTelegram: number;
1531
- };
1532
1500
  export type KycQueryVariables = Exact<{
1533
1501
  [key: string]: never;
1534
1502
  }>;
@@ -1559,69 +1527,6 @@ export type SignUpCheckQuery = {
1559
1527
  SignUp?: boolean | null;
1560
1528
  }>;
1561
1529
  };
1562
- export type OnboardingCheckTxMutationVariables = Exact<{
1563
- chatId: Scalars['Long']['input'];
1564
- dataOnAuth: DataOnAuth;
1565
- tokenTransfer: OnboardingTokenTransfer;
1566
- }>;
1567
- export type OnboardingCheckTxMutation = {
1568
- __typename?: 'Mutation';
1569
- onboardingCheckTx: {
1570
- __typename?: 'OnboardingMutationsResponse';
1571
- Success: boolean;
1572
- ErrorMessage?: string | null;
1573
- };
1574
- };
1575
- export type OnboardingDataQueryVariables = Exact<{
1576
- dataOnAuth: DataOnAuth;
1577
- chatId: Scalars['Long']['input'];
1578
- }>;
1579
- export type OnboardingDataQuery = {
1580
- __typename?: 'Query';
1581
- onboardingData: Array<{
1582
- __typename?: 'OnboardingData_Data';
1583
- TokenAddress: string;
1584
- ChainId: any;
1585
- TokenTransfers: Array<{
1586
- __typename?: 'OnboardingData_TokenTransfer';
1587
- Amount: number;
1588
- TxHash: string;
1589
- Timestamp: any;
1590
- }>;
1591
- TokenAllocations: Array<{
1592
- __typename?: 'OnboardingData_TokenAllocation';
1593
- StartDate: string;
1594
- FinishDate?: string | null;
1595
- Ratio: number;
1596
- }>;
1597
- }>;
1598
- };
1599
- export type OnboardingProjectsQueryVariables = Exact<{
1600
- dataOnAuth: DataOnAuth;
1601
- }>;
1602
- export type OnboardingProjectsQuery = {
1603
- __typename?: 'Query';
1604
- onboardingProjects: Array<{
1605
- __typename?: 'OnboardingProject';
1606
- ChatId: any;
1607
- ChatTitle?: string | null;
1608
- }>;
1609
- };
1610
- export type OnboardingSetAllocationMutationVariables = Exact<{
1611
- dataOnAuth: DataOnAuth;
1612
- chatId: Scalars['Long']['input'];
1613
- tokenAllocation: Array<OnboardingTokenAllocation> | OnboardingTokenAllocation;
1614
- chainId: Scalars['Long']['input'];
1615
- tokenAddress: Scalars['String']['input'];
1616
- }>;
1617
- export type OnboardingSetAllocationMutation = {
1618
- __typename?: 'Mutation';
1619
- onboardingSetAllocation: {
1620
- __typename?: 'OnboardingMutationsResponse';
1621
- Success: boolean;
1622
- ErrorMessage?: string | null;
1623
- };
1624
- };
1625
1530
  export type PoolxPriceQueryVariables = Exact<{
1626
1531
  [key: string]: never;
1627
1532
  }>;
@@ -1895,6 +1800,10 @@ export type DataQuery = {
1895
1800
  export declare const AdminCleanCacheDocument: DocumentNode<AdminCleanCacheMutation, Exact<{
1896
1801
  [key: string]: never;
1897
1802
  }>>;
1803
+ export declare const AdminCreatePoolzBackIdDocument: DocumentNode<AdminCreatePoolzBackIdMutation, Exact<{
1804
+ projectId: Scalars['String']['input'];
1805
+ poolzBackId: Scalars['Int']['input'];
1806
+ }>>;
1898
1807
  export declare const AdminListOfCollateralDocument: DocumentNode<AdminListOfCollateralQuery, Exact<{
1899
1808
  chainId: Scalars['Int']['input'];
1900
1809
  collateralAddress: Scalars['String']['input'];
@@ -1953,8 +1862,8 @@ export declare const GenerateTokenFromSignatureDocument: DocumentNode<GenerateTo
1953
1862
  signature: Scalars['String']['input'];
1954
1863
  }>>;
1955
1864
  export declare const GenerateMyInvestSignatureDocument: DocumentNode<GenerateMyInvestSignatureQuery, Exact<{
1956
- phaseId: Scalars['String']['input'];
1957
- WeiAmount: Scalars['String']['input'];
1865
+ projectId: Scalars['String']['input'];
1866
+ weiAmount: Scalars['String']['input'];
1958
1867
  }>>;
1959
1868
  export declare const InvestedErc20Document: DocumentNode<InvestedErc20Query, Exact<{
1960
1869
  investedErc20Id: Scalars['Int']['input'];
@@ -1994,9 +1903,6 @@ export declare const UpdateNonEvmWalletDocument: DocumentNode<UpdateNonEvmWallet
1994
1903
  export declare const MyInvestedDocument: DocumentNode<MyInvestedQuery, Exact<{
1995
1904
  [key: string]: never;
1996
1905
  }>>;
1997
- export declare const MyLinkTelegramDocument: DocumentNode<MyLinkTelegramMutation, Exact<{
1998
- dataOnAuth: DataOnAuth;
1999
- }>>;
2000
1906
  export declare const KycDocument: DocumentNode<KycQuery, Exact<{
2001
1907
  [key: string]: never;
2002
1908
  }>>;
@@ -2006,25 +1912,6 @@ export declare const MyRoleDocument: DocumentNode<MyRoleQuery, Exact<{
2006
1912
  export declare const SignUpCheckDocument: DocumentNode<SignUpCheckQuery, Exact<{
2007
1913
  poolIDs: Array<Scalars['Int']['input']> | Scalars['Int']['input'];
2008
1914
  }>>;
2009
- export declare const OnboardingCheckTxDocument: DocumentNode<OnboardingCheckTxMutation, Exact<{
2010
- chatId: Scalars['Long']['input'];
2011
- dataOnAuth: DataOnAuth;
2012
- tokenTransfer: OnboardingTokenTransfer;
2013
- }>>;
2014
- export declare const OnboardingDataDocument: DocumentNode<OnboardingDataQuery, Exact<{
2015
- dataOnAuth: DataOnAuth;
2016
- chatId: Scalars['Long']['input'];
2017
- }>>;
2018
- export declare const OnboardingProjectsDocument: DocumentNode<OnboardingProjectsQuery, Exact<{
2019
- dataOnAuth: DataOnAuth;
2020
- }>>;
2021
- export declare const OnboardingSetAllocationDocument: DocumentNode<OnboardingSetAllocationMutation, Exact<{
2022
- dataOnAuth: DataOnAuth;
2023
- chatId: Scalars['Long']['input'];
2024
- tokenAllocation: Array<OnboardingTokenAllocation> | OnboardingTokenAllocation;
2025
- chainId: Scalars['Long']['input'];
2026
- tokenAddress: Scalars['String']['input'];
2027
- }>>;
2028
1915
  export declare const PoolxPriceDocument: DocumentNode<PoolxPriceQuery, Exact<{
2029
1916
  [key: string]: never;
2030
1917
  }>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poolzfinance/api4",
3
- "version": "1.11.61",
3
+ "version": "1.12.1",
4
4
  "description": "Bridge between front and back",
5
5
  "type": "module",
6
6
  "source": "src/index.ts",
@@ -1,7 +0,0 @@
1
- export declare const useSetMyTelegram: () => import("@apollo/client").MutationTuple<import("../types/graphql/graphql").MyLinkTelegramMutation, import("../types/graphql/graphql").Exact<{
2
- dataOnAuth: import("../types/graphql/graphql").DataOnAuth;
3
- }>, {
4
- headers: {
5
- Authorization: string | null | undefined;
6
- };
7
- }, import("@apollo/client").ApolloCache<any>>;
@@ -1,9 +0,0 @@
1
- export declare const useOnBoardingCheckTx: () => import("@apollo/client").MutationTuple<import("../types/graphql/graphql").OnboardingCheckTxMutation, import("../types/graphql/graphql").Exact<{
2
- chatId: any;
3
- dataOnAuth: import("../types/graphql/graphql").DataOnAuth;
4
- tokenTransfer: import("../types/graphql/graphql").OnboardingTokenTransfer;
5
- }>, {
6
- headers: {
7
- Authorization: string;
8
- };
9
- }, import("@apollo/client").ApolloCache<any>>;
@@ -1,5 +0,0 @@
1
- import { DataOnAuth } from '../types/graphql/graphql';
2
- export declare const useOnBoardingData: (dataOnAuth: DataOnAuth, chatId: number) => import("@apollo/client").QueryResult<import("../types/graphql/graphql").OnboardingDataQuery, {
3
- dataOnAuth: DataOnAuth;
4
- chatId: number;
5
- }>;
@@ -1,4 +0,0 @@
1
- import { DataOnAuth } from "../types/graphql/graphql";
2
- export declare const useOnBoardingProjects: (dataOnAuth: DataOnAuth) => import("@apollo/client").QueryResult<import("../types/graphql/graphql").OnboardingProjectsQuery, {
3
- dataOnAuth: DataOnAuth;
4
- }>;
@@ -1,11 +0,0 @@
1
- export declare const useOnBoardingSetAllocation: () => import("@apollo/client").MutationTuple<import("../types/graphql/graphql").OnboardingSetAllocationMutation, import("../types/graphql/graphql").Exact<{
2
- dataOnAuth: import("../types/graphql/graphql").DataOnAuth;
3
- chatId: any;
4
- tokenAllocation: import("../types/graphql/graphql").OnboardingTokenAllocation | import("../types/graphql/graphql").OnboardingTokenAllocation[];
5
- chainId: any;
6
- tokenAddress: string;
7
- }>, {
8
- headers: {
9
- Authorization: string;
10
- };
11
- }, import("@apollo/client").ApolloCache<any>>;