@poolzfinance/api4 1.12.0 → 1.12.2
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/adminCreatePoolzBackId.d.ts +8 -0
- package/dist/endpoints/adminListOfCollateral.d.ts +4 -4
- package/dist/endpoints/adminWriteAllocation.d.ts +7 -0
- package/dist/endpoints/boostProxy.d.ts +1 -1
- package/dist/endpoints/dispenser.d.ts +2 -2
- package/dist/endpoints/getGeneratedToken.d.ts +2 -2
- package/dist/endpoints/investProvider.d.ts +2 -2
- package/dist/endpoints/investedERC20.d.ts +1 -1
- package/dist/endpoints/myData.d.ts +7 -7
- package/dist/endpoints/seasonPass.d.ts +10 -10
- package/dist/endpoints/signupV2.d.ts +4 -4
- package/dist/endpoints/signupV3.d.ts +4 -4
- package/dist/endpoints/tokenRefundsNFT.d.ts +2 -2
- package/dist/endpoints/vaults.d.ts +3 -3
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +3 -6
- 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/IAPI4ProviderProps.d.ts +0 -1
- package/dist/types/graphql/fragment-masking.d.ts +4 -0
- package/dist/types/graphql/gql.d.ts +65 -219
- package/dist/types/graphql/graphql.d.ts +119 -341
- package/package.json +5 -5
- package/dist/endpoints/myLinkTelegram.d.ts +0 -7
- package/dist/endpoints/onBoardingCheckTx.d.ts +0 -9
- package/dist/endpoints/onBoardingData.d.ts +0 -5
- package/dist/endpoints/onBoardingProjects.d.ts +0 -4
- package/dist/endpoints/onBoardingSetAllocation.d.ts +0 -11
|
@@ -94,6 +94,16 @@ 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
|
+
UserAddress: Scalars['String']['output'];
|
|
106
|
+
};
|
|
97
107
|
export type AdminKycProxy = {
|
|
98
108
|
__typename?: 'AdminKycProxy';
|
|
99
109
|
ApprovedDate?: Maybe<Scalars['String']['output']>;
|
|
@@ -146,6 +156,15 @@ export type AdminUsers = {
|
|
|
146
156
|
RoleId: Scalars['Int']['output'];
|
|
147
157
|
Wallet: Scalars['String']['output'];
|
|
148
158
|
};
|
|
159
|
+
export type AdminWriteAllocation = {
|
|
160
|
+
PhaseId: Scalars['String']['input'];
|
|
161
|
+
ProjectId: Scalars['String']['input'];
|
|
162
|
+
Users: Array<AdminWriteAllocation_UserData>;
|
|
163
|
+
};
|
|
164
|
+
export type AdminWriteAllocation_UserData = {
|
|
165
|
+
Amount: Scalars['Float']['input'];
|
|
166
|
+
UserAddress: Scalars['String']['input'];
|
|
167
|
+
};
|
|
149
168
|
export type ApprovedContracts = {
|
|
150
169
|
__typename?: 'ApprovedContracts';
|
|
151
170
|
ChainId: Scalars['Int']['output'];
|
|
@@ -235,15 +254,6 @@ export type DaoSenderHistoryPage = {
|
|
|
235
254
|
items?: Maybe<Array<DaoSenderHistory>>;
|
|
236
255
|
totalPages: Scalars['Int']['output'];
|
|
237
256
|
};
|
|
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
257
|
export type DeleteAssetRequest = {
|
|
248
258
|
Message: DeleteAssetRequest_Message;
|
|
249
259
|
Signature: Scalars['String']['input'];
|
|
@@ -259,6 +269,7 @@ export type DeleteAssetResponse = {
|
|
|
259
269
|
};
|
|
260
270
|
export type GenerateMyInvestSignature = {
|
|
261
271
|
__typename?: 'GenerateMyInvestSignature';
|
|
272
|
+
PoolzBackId: Scalars['Int']['output'];
|
|
262
273
|
Signature: Scalars['String']['output'];
|
|
263
274
|
ValidUntil: Scalars['Int']['output'];
|
|
264
275
|
};
|
|
@@ -330,9 +341,11 @@ export type Mutation = {
|
|
|
330
341
|
adminAddAction: AdminAction;
|
|
331
342
|
adminCleanCache: CleanCache;
|
|
332
343
|
adminCreateAsset: CreateAssetResponse;
|
|
344
|
+
adminCreatePoolzBackId: AdminCreatePoolzBackId;
|
|
333
345
|
adminDeleteAction: Scalars['Boolean']['output'];
|
|
334
346
|
adminDeleteAsset: DeleteAssetResponse;
|
|
335
347
|
adminUpdateAction: ActionSettings;
|
|
348
|
+
adminWriteAllocation: Scalars['Int']['output'];
|
|
336
349
|
createSeasonPass: SeasonPass;
|
|
337
350
|
createSeasonPasses: Array<SeasonPass>;
|
|
338
351
|
deleteAutoSignUp: AdminAutoSignUp;
|
|
@@ -343,9 +356,7 @@ export type Mutation = {
|
|
|
343
356
|
generateSignature: GenerateSignatureResponse;
|
|
344
357
|
generateTokenFromSignature: GenerateTokenFromSignature;
|
|
345
358
|
logout: Scalars['Boolean']['output'];
|
|
346
|
-
|
|
347
|
-
onboardingCheckTx: OnboardingMutationsResponse;
|
|
348
|
-
onboardingSetAllocation: OnboardingMutationsResponse;
|
|
359
|
+
/** @deprecated Use projectSignUpV3 */
|
|
349
360
|
projectSignUpV2: ProjectSignUpV2;
|
|
350
361
|
projectSignUpV3: ProjectSignUpV3;
|
|
351
362
|
sendToMonitor: Scalars['Int']['output'];
|
|
@@ -379,6 +390,10 @@ export type MutationAdminAddActionArgs = {
|
|
|
379
390
|
export type MutationAdminCreateAssetArgs = {
|
|
380
391
|
request: CreateAssetRequest;
|
|
381
392
|
};
|
|
393
|
+
export type MutationAdminCreatePoolzBackIdArgs = {
|
|
394
|
+
poolzBackId: Scalars['Int']['input'];
|
|
395
|
+
projectId: Scalars['String']['input'];
|
|
396
|
+
};
|
|
382
397
|
export type MutationAdminDeleteActionArgs = {
|
|
383
398
|
settingsId: Scalars['Int']['input'];
|
|
384
399
|
};
|
|
@@ -388,6 +403,9 @@ export type MutationAdminDeleteAssetArgs = {
|
|
|
388
403
|
export type MutationAdminUpdateActionArgs = {
|
|
389
404
|
action: UpdateAction;
|
|
390
405
|
};
|
|
406
|
+
export type MutationAdminWriteAllocationArgs = {
|
|
407
|
+
input: AdminWriteAllocation;
|
|
408
|
+
};
|
|
391
409
|
export type MutationCreateSeasonPassArgs = {
|
|
392
410
|
seasonPass: SeasonPassInput;
|
|
393
411
|
};
|
|
@@ -417,21 +435,6 @@ export type MutationGenerateTokenFromSignatureArgs = {
|
|
|
417
435
|
eip4361message: Scalars['String']['input'];
|
|
418
436
|
signature: Scalars['String']['input'];
|
|
419
437
|
};
|
|
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
438
|
export type MutationProjectSignUpV2Args = {
|
|
436
439
|
projectId: Scalars['Int']['input'];
|
|
437
440
|
};
|
|
@@ -547,50 +550,17 @@ export type MySignUpV3 = {
|
|
|
547
550
|
ProjectId: Scalars['String']['output'];
|
|
548
551
|
SignedUp: Scalars['Boolean']['output'];
|
|
549
552
|
};
|
|
553
|
+
export type MyUpcomingAllocation = {
|
|
554
|
+
__typename?: 'MyUpcomingAllocation';
|
|
555
|
+
Amount: Scalars['Float']['output'];
|
|
556
|
+
PoolzBackId: Scalars['Int']['output'];
|
|
557
|
+
ProjectId: Scalars['String']['output'];
|
|
558
|
+
};
|
|
550
559
|
export type NonEvmWallet = {
|
|
551
560
|
__typename?: 'NonEvmWallet';
|
|
552
561
|
ChainName: Scalars['String']['output'];
|
|
553
562
|
Wallet: Scalars['String']['output'];
|
|
554
563
|
};
|
|
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
564
|
export type PoolxPrice = {
|
|
595
565
|
__typename?: 'PoolxPrice';
|
|
596
566
|
Price: Scalars['Float']['output'];
|
|
@@ -642,6 +612,7 @@ export type Query = {
|
|
|
642
612
|
__typename?: 'Query';
|
|
643
613
|
adminAutoSignUp: Array<AdminAutoSignUp>;
|
|
644
614
|
adminGetActions: Array<GetAction>;
|
|
615
|
+
adminGetAllocation: Array<AdminGetAllocation>;
|
|
645
616
|
adminKycProxy: Array<AdminKycProxy>;
|
|
646
617
|
adminListAssets: Array<AdminListAssetsResponse>;
|
|
647
618
|
adminListOfCollateral: Array<AdminListOfCollateral>;
|
|
@@ -650,6 +621,7 @@ export type Query = {
|
|
|
650
621
|
adminNonEvmWallet: Array<AdminNonEvmWallet>;
|
|
651
622
|
adminReadAssets: ReadAssetsResponse;
|
|
652
623
|
adminRpcWallets: Array<RpcWallet>;
|
|
624
|
+
/** @deprecated Use adminSignUpV3 */
|
|
653
625
|
adminSignUpV2: Array<AdminSignUpV2>;
|
|
654
626
|
adminSignUpV3: Array<AdminSignUpV3>;
|
|
655
627
|
adminUsers: Array<AdminUsers>;
|
|
@@ -673,12 +645,12 @@ export type Query = {
|
|
|
673
645
|
myRoles: Array<Scalars['String']['output']>;
|
|
674
646
|
/** @deprecated Old system. Please use new endpoints from API4.SignUp. */
|
|
675
647
|
mySignUpCheck: Array<SignUpCheck>;
|
|
648
|
+
/** @deprecated Use mySignUpV3 */
|
|
676
649
|
mySignUpV2: Array<MySignUpV2>;
|
|
677
650
|
mySignUpV3: Array<MySignUpV3>;
|
|
678
651
|
/** @deprecated Old system. Please use new endpoints from API4.SignUp. */
|
|
679
652
|
mySignup: Array<MySignUp>;
|
|
680
|
-
|
|
681
|
-
onboardingProjects: Array<OnboardingProject>;
|
|
653
|
+
myUpcomingAllocation: Array<MyUpcomingAllocation>;
|
|
682
654
|
poolxPrice: PoolxPrice;
|
|
683
655
|
poolxTokenomics: PoolxTokenomics;
|
|
684
656
|
retrieveSignature: RetrieveSignatureResponse;
|
|
@@ -712,6 +684,10 @@ export type Query = {
|
|
|
712
684
|
export type QueryAdminAutoSignUpArgs = {
|
|
713
685
|
note?: InputMaybe<Scalars['String']['input']>;
|
|
714
686
|
};
|
|
687
|
+
export type QueryAdminGetAllocationArgs = {
|
|
688
|
+
phaseId: Scalars['String']['input'];
|
|
689
|
+
projectId: Scalars['String']['input'];
|
|
690
|
+
};
|
|
715
691
|
export type QueryAdminKycProxyArgs = {
|
|
716
692
|
status?: InputMaybe<Scalars['String']['input']>;
|
|
717
693
|
};
|
|
@@ -776,7 +752,7 @@ export type QueryLeaderBoardArgs = {
|
|
|
776
752
|
timestamp?: InputMaybe<Scalars['Int']['input']>;
|
|
777
753
|
};
|
|
778
754
|
export type QueryMyAllocationArgs = {
|
|
779
|
-
|
|
755
|
+
projectId: Scalars['String']['input'];
|
|
780
756
|
};
|
|
781
757
|
export type QueryMyAssetsArgs = {
|
|
782
758
|
limit: Scalars['Int']['input'];
|
|
@@ -797,12 +773,8 @@ export type QueryMySignUpV2Args = {
|
|
|
797
773
|
export type QueryMySignUpV3Args = {
|
|
798
774
|
projectIDs: Array<Scalars['String']['input']>;
|
|
799
775
|
};
|
|
800
|
-
export type
|
|
801
|
-
|
|
802
|
-
dataOnAuth: DataOnAuth;
|
|
803
|
-
};
|
|
804
|
-
export type QueryOnboardingProjectsArgs = {
|
|
805
|
-
dataOnAuth: DataOnAuth;
|
|
776
|
+
export type QueryMyUpcomingAllocationArgs = {
|
|
777
|
+
projectIDs: Array<Scalars['String']['input']>;
|
|
806
778
|
};
|
|
807
779
|
export type QueryRetrieveSignatureArgs = {
|
|
808
780
|
request: RetrieveSignatureRequest;
|
|
@@ -1104,6 +1076,18 @@ export type AdminCleanCacheMutation = {
|
|
|
1104
1076
|
}>;
|
|
1105
1077
|
};
|
|
1106
1078
|
};
|
|
1079
|
+
export type AdminCreatePoolzBackIdMutationVariables = Exact<{
|
|
1080
|
+
projectId: Scalars['String']['input'];
|
|
1081
|
+
poolzBackId: Scalars['Int']['input'];
|
|
1082
|
+
}>;
|
|
1083
|
+
export type AdminCreatePoolzBackIdMutation = {
|
|
1084
|
+
__typename?: 'Mutation';
|
|
1085
|
+
adminCreatePoolzBackId: {
|
|
1086
|
+
__typename?: 'AdminCreatePoolzBackId';
|
|
1087
|
+
ProjectId: string;
|
|
1088
|
+
PoolzBackId: number;
|
|
1089
|
+
};
|
|
1090
|
+
};
|
|
1107
1091
|
export type AdminListOfCollateralQueryVariables = Exact<{
|
|
1108
1092
|
chainId: Scalars['Int']['input'];
|
|
1109
1093
|
collateralAddress: Scalars['String']['input'];
|
|
@@ -1120,6 +1104,13 @@ export type AdminListOfCollateralQuery = {
|
|
|
1120
1104
|
FinishTime: number;
|
|
1121
1105
|
}>;
|
|
1122
1106
|
};
|
|
1107
|
+
export type AdminWriteAllocationMutationVariables = Exact<{
|
|
1108
|
+
input: AdminWriteAllocation;
|
|
1109
|
+
}>;
|
|
1110
|
+
export type AdminWriteAllocationMutation = {
|
|
1111
|
+
__typename?: 'Mutation';
|
|
1112
|
+
adminWriteAllocation: number;
|
|
1113
|
+
};
|
|
1123
1114
|
export type GetApprovedContractsQueryVariables = Exact<{
|
|
1124
1115
|
onlyApproved: Scalars['Boolean']['input'];
|
|
1125
1116
|
}>;
|
|
@@ -1363,6 +1354,7 @@ export type GenerateMyInvestSignatureQuery = {
|
|
|
1363
1354
|
__typename?: 'GenerateMyInvestSignature';
|
|
1364
1355
|
Signature: string;
|
|
1365
1356
|
ValidUntil: number;
|
|
1357
|
+
PoolzBackId: number;
|
|
1366
1358
|
};
|
|
1367
1359
|
};
|
|
1368
1360
|
export type InvestedErc20QueryVariables = Exact<{
|
|
@@ -1522,13 +1514,6 @@ export type MyInvestedQuery = {
|
|
|
1522
1514
|
Id: number;
|
|
1523
1515
|
}>;
|
|
1524
1516
|
};
|
|
1525
|
-
export type MyLinkTelegramMutationVariables = Exact<{
|
|
1526
|
-
dataOnAuth: DataOnAuth;
|
|
1527
|
-
}>;
|
|
1528
|
-
export type MyLinkTelegramMutation = {
|
|
1529
|
-
__typename?: 'Mutation';
|
|
1530
|
-
myLinkTelegram: number;
|
|
1531
|
-
};
|
|
1532
1517
|
export type KycQueryVariables = Exact<{
|
|
1533
1518
|
[key: string]: never;
|
|
1534
1519
|
}>;
|
|
@@ -1559,69 +1544,6 @@ export type SignUpCheckQuery = {
|
|
|
1559
1544
|
SignUp?: boolean | null;
|
|
1560
1545
|
}>;
|
|
1561
1546
|
};
|
|
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
1547
|
export type PoolxPriceQueryVariables = Exact<{
|
|
1626
1548
|
[key: string]: never;
|
|
1627
1549
|
}>;
|
|
@@ -1892,199 +1814,55 @@ export type DataQuery = {
|
|
|
1892
1814
|
}>;
|
|
1893
1815
|
}>;
|
|
1894
1816
|
};
|
|
1895
|
-
export declare const AdminCleanCacheDocument: DocumentNode<AdminCleanCacheMutation,
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
export declare const
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
export declare const
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
export declare const
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
export declare const
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
export declare const
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
export declare const
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
export declare const
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
export declare const
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
export declare const
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
export declare const
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
export declare const
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
export declare const
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
export declare const
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
export declare const
|
|
1946
|
-
|
|
1947
|
-
}>>;
|
|
1948
|
-
export declare const MyQueryDocument: DocumentNode<MyQueryQuery, Exact<{
|
|
1949
|
-
[key: string]: never;
|
|
1950
|
-
}>>;
|
|
1951
|
-
export declare const GenerateTokenFromSignatureDocument: DocumentNode<GenerateTokenFromSignatureMutation, Exact<{
|
|
1952
|
-
eip4361message: Scalars['String']['input'];
|
|
1953
|
-
signature: Scalars['String']['input'];
|
|
1954
|
-
}>>;
|
|
1955
|
-
export declare const GenerateMyInvestSignatureDocument: DocumentNode<GenerateMyInvestSignatureQuery, Exact<{
|
|
1956
|
-
projectId: Scalars['String']['input'];
|
|
1957
|
-
weiAmount: Scalars['String']['input'];
|
|
1958
|
-
}>>;
|
|
1959
|
-
export declare const InvestedErc20Document: DocumentNode<InvestedErc20Query, Exact<{
|
|
1960
|
-
investedErc20Id: Scalars['Int']['input'];
|
|
1961
|
-
}>>;
|
|
1962
|
-
export declare const GetLeaderboardByAddressDocument: DocumentNode<GetLeaderboardByAddressQuery, Exact<{
|
|
1963
|
-
address?: InputMaybe<string> | undefined;
|
|
1964
|
-
}>>;
|
|
1965
|
-
export declare const GetLeaderboardDocument: DocumentNode<GetLeaderboardQuery, Exact<{
|
|
1966
|
-
[key: string]: never;
|
|
1967
|
-
}>>;
|
|
1968
|
-
export declare const LogoutDocument: DocumentNode<LogoutMutation, Exact<{
|
|
1969
|
-
[key: string]: never;
|
|
1970
|
-
}>>;
|
|
1971
|
-
export declare const SetMyAgreeDocument: DocumentNode<SetMyAgreeMutation, Exact<{
|
|
1972
|
-
[key: string]: never;
|
|
1973
|
-
}>>;
|
|
1974
|
-
export declare const MyDataDocument: DocumentNode<MyDataQuery, Exact<{
|
|
1975
|
-
[key: string]: never;
|
|
1976
|
-
}>>;
|
|
1977
|
-
export declare const AddEvmWalletDocument: DocumentNode<AddEvmWalletMutation, Exact<{
|
|
1978
|
-
wallet: Scalars['String']['input'];
|
|
1979
|
-
}>>;
|
|
1980
|
-
export declare const DeleteEvmWalletDocument: DocumentNode<DeleteEvmWalletMutation, Exact<{
|
|
1981
|
-
wallet: Scalars['String']['input'];
|
|
1982
|
-
}>>;
|
|
1983
|
-
export declare const AddNonEvmWalletDocument: DocumentNode<AddNonEvmWalletMutation, Exact<{
|
|
1984
|
-
chainName: Scalars['String']['input'];
|
|
1985
|
-
wallet: Scalars['String']['input'];
|
|
1986
|
-
}>>;
|
|
1987
|
-
export declare const DeleteNonEvmWalletDocument: DocumentNode<DeleteNonEvmWalletMutation, Exact<{
|
|
1988
|
-
chainName: Scalars['String']['input'];
|
|
1989
|
-
}>>;
|
|
1990
|
-
export declare const UpdateNonEvmWalletDocument: DocumentNode<UpdateNonEvmWalletMutation, Exact<{
|
|
1991
|
-
chainName: Scalars['String']['input'];
|
|
1992
|
-
wallet: Scalars['String']['input'];
|
|
1993
|
-
}>>;
|
|
1994
|
-
export declare const MyInvestedDocument: DocumentNode<MyInvestedQuery, Exact<{
|
|
1995
|
-
[key: string]: never;
|
|
1996
|
-
}>>;
|
|
1997
|
-
export declare const MyLinkTelegramDocument: DocumentNode<MyLinkTelegramMutation, Exact<{
|
|
1998
|
-
dataOnAuth: DataOnAuth;
|
|
1999
|
-
}>>;
|
|
2000
|
-
export declare const KycDocument: DocumentNode<KycQuery, Exact<{
|
|
2001
|
-
[key: string]: never;
|
|
2002
|
-
}>>;
|
|
2003
|
-
export declare const MyRoleDocument: DocumentNode<MyRoleQuery, Exact<{
|
|
2004
|
-
[key: string]: never;
|
|
2005
|
-
}>>;
|
|
2006
|
-
export declare const SignUpCheckDocument: DocumentNode<SignUpCheckQuery, Exact<{
|
|
2007
|
-
poolIDs: Array<Scalars['Int']['input']> | Scalars['Int']['input'];
|
|
2008
|
-
}>>;
|
|
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
|
-
export declare const PoolxPriceDocument: DocumentNode<PoolxPriceQuery, Exact<{
|
|
2029
|
-
[key: string]: never;
|
|
2030
|
-
}>>;
|
|
2031
|
-
export declare const GetPoolxTokenomicsDocument: DocumentNode<GetPoolxTokenomicsQuery, Exact<{
|
|
2032
|
-
[key: string]: never;
|
|
2033
|
-
}>>;
|
|
2034
|
-
export declare const SeasonPassDocument: DocumentNode<SeasonPassQuery, Exact<{
|
|
2035
|
-
[key: string]: never;
|
|
2036
|
-
}>>;
|
|
2037
|
-
export declare const CreateSeasonPassDocument: DocumentNode<CreateSeasonPassMutation, Exact<{
|
|
2038
|
-
Owner: Scalars['String']['input'];
|
|
2039
|
-
Amount: Scalars['Float']['input'];
|
|
2040
|
-
ValidUntil: Scalars['Int']['input'];
|
|
2041
|
-
Note: Scalars['String']['input'];
|
|
2042
|
-
}>>;
|
|
2043
|
-
export declare const UpdateSeasonPassDocument: DocumentNode<UpdateSeasonPassMutation, Exact<{
|
|
2044
|
-
Owner: Scalars['String']['input'];
|
|
2045
|
-
Amount: Scalars['Float']['input'];
|
|
2046
|
-
ValidUntil: Scalars['Int']['input'];
|
|
2047
|
-
Note: Scalars['String']['input'];
|
|
2048
|
-
}>>;
|
|
2049
|
-
export declare const DeleteSeasonPassDocument: DocumentNode<DeleteSeasonPassMutation, Exact<{
|
|
2050
|
-
owner: Scalars['String']['input'];
|
|
2051
|
-
note: Scalars['String']['input'];
|
|
2052
|
-
}>>;
|
|
2053
|
-
export declare const MySignUpV2Document: DocumentNode<MySignUpV2Query, Exact<{
|
|
2054
|
-
projectIDs: Array<Scalars['Int']['input']> | Scalars['Int']['input'];
|
|
2055
|
-
}>>;
|
|
2056
|
-
export declare const AdminSignUpV2Document: DocumentNode<AdminSignUpV2Query, Exact<{
|
|
2057
|
-
projectId: Scalars['Int']['input'];
|
|
2058
|
-
minPoolxAmount: Scalars['Int']['input'];
|
|
2059
|
-
}>>;
|
|
2060
|
-
export declare const ProjectSignUpV2Document: DocumentNode<ProjectSignUpV2Mutation, Exact<{
|
|
2061
|
-
projectId: Scalars['Int']['input'];
|
|
2062
|
-
}>>;
|
|
2063
|
-
export declare const MySignUpV3Document: DocumentNode<MySignUpV3Query, Exact<{
|
|
2064
|
-
projectIDs: Array<Scalars['String']['input']> | Scalars['String']['input'];
|
|
2065
|
-
}>>;
|
|
2066
|
-
export declare const AdminSignUpV3Document: DocumentNode<AdminSignUpV3Query, Exact<{
|
|
2067
|
-
projectId: Scalars['String']['input'];
|
|
2068
|
-
minPoolxAmount: Scalars['Int']['input'];
|
|
2069
|
-
}>>;
|
|
2070
|
-
export declare const ProjectSignUpV3Document: DocumentNode<ProjectSignUpV3Mutation, Exact<{
|
|
2071
|
-
projectId: Scalars['String']['input'];
|
|
2072
|
-
}>>;
|
|
2073
|
-
export declare const SimpleUrlShortenerDocument: DocumentNode<SimpleUrlShortenerQuery, Exact<{
|
|
2074
|
-
input: TxHashChainIdInput;
|
|
2075
|
-
}>>;
|
|
2076
|
-
export declare const StatusDocument: DocumentNode<StatusQuery, Exact<{
|
|
2077
|
-
[key: string]: never;
|
|
2078
|
-
}>>;
|
|
2079
|
-
export declare const TokenInfoDocument: DocumentNode<TokenInfoQuery, Exact<{
|
|
2080
|
-
hashKey: Scalars['String']['input'];
|
|
2081
|
-
}>>;
|
|
2082
|
-
export declare const TokenRefundsNftDocument: DocumentNode<TokenRefundsNftQuery, Exact<{
|
|
2083
|
-
chainId: Scalars['Int']['input'];
|
|
2084
|
-
poolId: Scalars['Int']['input'];
|
|
2085
|
-
}>>;
|
|
2086
|
-
export declare const DataDocument: DocumentNode<DataQuery, Exact<{
|
|
2087
|
-
chainId?: InputMaybe<number> | undefined;
|
|
2088
|
-
tokenAddress?: InputMaybe<string> | undefined;
|
|
2089
|
-
fetchBalance?: InputMaybe<boolean> | undefined;
|
|
2090
|
-
}>>;
|
|
1817
|
+
export declare const AdminCleanCacheDocument: DocumentNode<AdminCleanCacheMutation, AdminCleanCacheMutationVariables>;
|
|
1818
|
+
export declare const AdminCreatePoolzBackIdDocument: DocumentNode<AdminCreatePoolzBackIdMutation, AdminCreatePoolzBackIdMutationVariables>;
|
|
1819
|
+
export declare const AdminListOfCollateralDocument: DocumentNode<AdminListOfCollateralQuery, AdminListOfCollateralQueryVariables>;
|
|
1820
|
+
export declare const AdminWriteAllocationDocument: DocumentNode<AdminWriteAllocationMutation, AdminWriteAllocationMutationVariables>;
|
|
1821
|
+
export declare const GetApprovedContractsDocument: DocumentNode<GetApprovedContractsQuery, GetApprovedContractsQueryVariables>;
|
|
1822
|
+
export declare const AdminAutoSignUpDocument: DocumentNode<AdminAutoSignUpQuery, AdminAutoSignUpQueryVariables>;
|
|
1823
|
+
export declare const AdminAutoSignUpAllDocument: DocumentNode<AdminAutoSignUpAllQuery, AdminAutoSignUpAllQueryVariables>;
|
|
1824
|
+
export declare const AddAutoSignUpDocument: DocumentNode<AddAutoSignUpMutation, AddAutoSignUpMutationVariables>;
|
|
1825
|
+
export declare const UpdateAutoSignUpDocument: DocumentNode<UpdateAutoSignUpMutation, UpdateAutoSignUpMutationVariables>;
|
|
1826
|
+
export declare const DeleteAutoSignUpDocument: DocumentNode<DeleteAutoSignUpMutation, DeleteAutoSignUpMutationVariables>;
|
|
1827
|
+
export declare const BoostProxyDataDocument: DocumentNode<BoostProxyDataQuery, BoostProxyDataQueryVariables>;
|
|
1828
|
+
export declare const BoostProxyUsersDocument: DocumentNode<BoostProxyUsersQuery, BoostProxyUsersQueryVariables>;
|
|
1829
|
+
export declare const DaoSenderHistoryDocument: DocumentNode<DaoSenderHistoryQuery, DaoSenderHistoryQueryVariables>;
|
|
1830
|
+
export declare const AdminCreateAssetDocument: DocumentNode<AdminCreateAssetMutation, AdminCreateAssetMutationVariables>;
|
|
1831
|
+
export declare const MyAssetsDocument: DocumentNode<MyAssetsQuery, MyAssetsQueryVariables>;
|
|
1832
|
+
export declare const RetrieveSignatureDocument: DocumentNode<RetrieveSignatureQuery, RetrieveSignatureQueryVariables>;
|
|
1833
|
+
export declare const GenerateSignatureDocument: DocumentNode<GenerateSignatureMutation, GenerateSignatureMutationVariables>;
|
|
1834
|
+
export declare const MyQueryDocument: DocumentNode<MyQueryQuery, MyQueryQueryVariables>;
|
|
1835
|
+
export declare const GenerateTokenFromSignatureDocument: DocumentNode<GenerateTokenFromSignatureMutation, GenerateTokenFromSignatureMutationVariables>;
|
|
1836
|
+
export declare const GenerateMyInvestSignatureDocument: DocumentNode<GenerateMyInvestSignatureQuery, GenerateMyInvestSignatureQueryVariables>;
|
|
1837
|
+
export declare const InvestedErc20Document: DocumentNode<InvestedErc20Query, InvestedErc20QueryVariables>;
|
|
1838
|
+
export declare const GetLeaderboardByAddressDocument: DocumentNode<GetLeaderboardByAddressQuery, GetLeaderboardByAddressQueryVariables>;
|
|
1839
|
+
export declare const GetLeaderboardDocument: DocumentNode<GetLeaderboardQuery, GetLeaderboardQueryVariables>;
|
|
1840
|
+
export declare const LogoutDocument: DocumentNode<LogoutMutation, LogoutMutationVariables>;
|
|
1841
|
+
export declare const SetMyAgreeDocument: DocumentNode<SetMyAgreeMutation, SetMyAgreeMutationVariables>;
|
|
1842
|
+
export declare const MyDataDocument: DocumentNode<MyDataQuery, MyDataQueryVariables>;
|
|
1843
|
+
export declare const AddEvmWalletDocument: DocumentNode<AddEvmWalletMutation, AddEvmWalletMutationVariables>;
|
|
1844
|
+
export declare const DeleteEvmWalletDocument: DocumentNode<DeleteEvmWalletMutation, DeleteEvmWalletMutationVariables>;
|
|
1845
|
+
export declare const AddNonEvmWalletDocument: DocumentNode<AddNonEvmWalletMutation, AddNonEvmWalletMutationVariables>;
|
|
1846
|
+
export declare const DeleteNonEvmWalletDocument: DocumentNode<DeleteNonEvmWalletMutation, DeleteNonEvmWalletMutationVariables>;
|
|
1847
|
+
export declare const UpdateNonEvmWalletDocument: DocumentNode<UpdateNonEvmWalletMutation, UpdateNonEvmWalletMutationVariables>;
|
|
1848
|
+
export declare const MyInvestedDocument: DocumentNode<MyInvestedQuery, MyInvestedQueryVariables>;
|
|
1849
|
+
export declare const KycDocument: DocumentNode<KycQuery, KycQueryVariables>;
|
|
1850
|
+
export declare const MyRoleDocument: DocumentNode<MyRoleQuery, MyRoleQueryVariables>;
|
|
1851
|
+
export declare const SignUpCheckDocument: DocumentNode<SignUpCheckQuery, SignUpCheckQueryVariables>;
|
|
1852
|
+
export declare const PoolxPriceDocument: DocumentNode<PoolxPriceQuery, PoolxPriceQueryVariables>;
|
|
1853
|
+
export declare const GetPoolxTokenomicsDocument: DocumentNode<GetPoolxTokenomicsQuery, GetPoolxTokenomicsQueryVariables>;
|
|
1854
|
+
export declare const SeasonPassDocument: DocumentNode<SeasonPassQuery, SeasonPassQueryVariables>;
|
|
1855
|
+
export declare const CreateSeasonPassDocument: DocumentNode<CreateSeasonPassMutation, CreateSeasonPassMutationVariables>;
|
|
1856
|
+
export declare const UpdateSeasonPassDocument: DocumentNode<UpdateSeasonPassMutation, UpdateSeasonPassMutationVariables>;
|
|
1857
|
+
export declare const DeleteSeasonPassDocument: DocumentNode<DeleteSeasonPassMutation, DeleteSeasonPassMutationVariables>;
|
|
1858
|
+
export declare const MySignUpV2Document: DocumentNode<MySignUpV2Query, MySignUpV2QueryVariables>;
|
|
1859
|
+
export declare const AdminSignUpV2Document: DocumentNode<AdminSignUpV2Query, AdminSignUpV2QueryVariables>;
|
|
1860
|
+
export declare const ProjectSignUpV2Document: DocumentNode<ProjectSignUpV2Mutation, ProjectSignUpV2MutationVariables>;
|
|
1861
|
+
export declare const MySignUpV3Document: DocumentNode<MySignUpV3Query, MySignUpV3QueryVariables>;
|
|
1862
|
+
export declare const AdminSignUpV3Document: DocumentNode<AdminSignUpV3Query, AdminSignUpV3QueryVariables>;
|
|
1863
|
+
export declare const ProjectSignUpV3Document: DocumentNode<ProjectSignUpV3Mutation, ProjectSignUpV3MutationVariables>;
|
|
1864
|
+
export declare const SimpleUrlShortenerDocument: DocumentNode<SimpleUrlShortenerQuery, SimpleUrlShortenerQueryVariables>;
|
|
1865
|
+
export declare const StatusDocument: DocumentNode<StatusQuery, StatusQueryVariables>;
|
|
1866
|
+
export declare const TokenInfoDocument: DocumentNode<TokenInfoQuery, TokenInfoQueryVariables>;
|
|
1867
|
+
export declare const TokenRefundsNftDocument: DocumentNode<TokenRefundsNftQuery, TokenRefundsNftQueryVariables>;
|
|
1868
|
+
export declare const DataDocument: DocumentNode<DataQuery, DataQueryVariables>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@poolzfinance/api4",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.2",
|
|
4
4
|
"description": "Bridge between front and back",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"source": "src/index.ts",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"bracketSameLine": true
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@graphql-codegen/cli": "^
|
|
37
|
-
"@graphql-codegen/client-preset": "^4.0
|
|
36
|
+
"@graphql-codegen/cli": "^5.0.5",
|
|
37
|
+
"@graphql-codegen/client-preset": "^4.8.0",
|
|
38
38
|
"@graphql-typed-document-node/core": "^3.2.0",
|
|
39
39
|
"@types/crypto-js": "^4.2.2",
|
|
40
40
|
"@types/jest": "^29.5.2",
|
|
@@ -45,12 +45,12 @@
|
|
|
45
45
|
"rimraf": "^5.0.5",
|
|
46
46
|
"ts-jest": "^29.1.0",
|
|
47
47
|
"ts-node": "^10.9.1",
|
|
48
|
-
"typescript": "^5.
|
|
48
|
+
"typescript": "^5.8.3"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@apollo/client": "^3.7.16",
|
|
52
52
|
"crypto-js": "^4.2.0",
|
|
53
|
-
"graphql": "^16.
|
|
53
|
+
"graphql": "^16.11.0",
|
|
54
54
|
"react": "^18.2.0"
|
|
55
55
|
},
|
|
56
56
|
"scripts": {
|
|
@@ -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>>;
|