@poolzfinance/api4 1.11.34 → 1.11.36

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.
@@ -127,6 +127,24 @@ declare const documents: {
127
127
  "\n query GetPoolxTokenomics {\n poolxTokenomics {\n CirculatingSupply\n Locked\n Data {\n TotalSupply\n BuyBack\n LockedDealV2\n DelayVault\n DelayVaultV2\n Reserved\n }\n Trade {\n Sum\n Huobi\n GateIO\n PancakeSwapV3_01\n PancakeSwapV3\n Mexc\n }\n }\n }\n": DocumentNode<types.GetPoolxTokenomicsQuery, types.Exact<{
128
128
  [key: string]: never;
129
129
  }>>;
130
+ "\n query SeasonPass {\n seasonPass {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n": DocumentNode<types.SeasonPassQuery, types.Exact<{
131
+ [key: string]: never;
132
+ }>>;
133
+ "\n mutation CreateSeasonPass($Owner: String!, $Amount: Float!, $ValidUntil: Int!, $Note: String!) {\n createSeasonPass(\n seasonPass: { Owner: $Owner, Amount: $Amount, ValidUntil: $ValidUntil, Note: $Note }\n ) {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n": DocumentNode<types.CreateSeasonPassMutation, types.Exact<{
134
+ Owner: string;
135
+ Amount: number;
136
+ ValidUntil: number;
137
+ Note: string;
138
+ }>>;
139
+ "\n mutation UpdateSeasonPass($Owner: String!, $Amount: Float!, $ValidUntil: Int!, $Note: String!) {\n updateSeasonPass(\n seasonPass: { Owner: $Owner, Amount: $Amount, ValidUntil: $ValidUntil, Note: $Note }\n ) {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n": DocumentNode<types.UpdateSeasonPassMutation, types.Exact<{
140
+ Owner: string;
141
+ Amount: number;
142
+ ValidUntil: number;
143
+ Note: string;
144
+ }>>;
145
+ "\n mutation DeleteSeasonPass($owner: String!) {\n deleteSeasonPass(owner: $owner) {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n": DocumentNode<types.DeleteSeasonPassMutation, types.Exact<{
146
+ owner: string;
147
+ }>>;
130
148
  "\n query Signup($signUpId: Int!) {\n signUp(id: $signUpId) {\n Address\n Amount\n }\n}": DocumentNode<types.SignupQuery, types.Exact<{
131
149
  signUpId: number;
132
150
  }>>;
@@ -297,6 +315,22 @@ export declare function gql(source: "\n query PoolxPrice {\n poolxPrice {\n
297
315
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
298
316
  */
299
317
  export declare function gql(source: "\n query GetPoolxTokenomics {\n poolxTokenomics {\n CirculatingSupply\n Locked\n Data {\n TotalSupply\n BuyBack\n LockedDealV2\n DelayVault\n DelayVaultV2\n Reserved\n }\n Trade {\n Sum\n Huobi\n GateIO\n PancakeSwapV3_01\n PancakeSwapV3\n Mexc\n }\n }\n }\n"): (typeof documents)["\n query GetPoolxTokenomics {\n poolxTokenomics {\n CirculatingSupply\n Locked\n Data {\n TotalSupply\n BuyBack\n LockedDealV2\n DelayVault\n DelayVaultV2\n Reserved\n }\n Trade {\n Sum\n Huobi\n GateIO\n PancakeSwapV3_01\n PancakeSwapV3\n Mexc\n }\n }\n }\n"];
318
+ /**
319
+ * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
320
+ */
321
+ export declare function gql(source: "\n query SeasonPass {\n seasonPass {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n"): (typeof documents)["\n query SeasonPass {\n seasonPass {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n"];
322
+ /**
323
+ * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
324
+ */
325
+ export declare function gql(source: "\n mutation CreateSeasonPass($Owner: String!, $Amount: Float!, $ValidUntil: Int!, $Note: String!) {\n createSeasonPass(\n seasonPass: { Owner: $Owner, Amount: $Amount, ValidUntil: $ValidUntil, Note: $Note }\n ) {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n"): (typeof documents)["\n mutation CreateSeasonPass($Owner: String!, $Amount: Float!, $ValidUntil: Int!, $Note: String!) {\n createSeasonPass(\n seasonPass: { Owner: $Owner, Amount: $Amount, ValidUntil: $ValidUntil, Note: $Note }\n ) {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n"];
326
+ /**
327
+ * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
328
+ */
329
+ export declare function gql(source: "\n mutation UpdateSeasonPass($Owner: String!, $Amount: Float!, $ValidUntil: Int!, $Note: String!) {\n updateSeasonPass(\n seasonPass: { Owner: $Owner, Amount: $Amount, ValidUntil: $ValidUntil, Note: $Note }\n ) {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n"): (typeof documents)["\n mutation UpdateSeasonPass($Owner: String!, $Amount: Float!, $ValidUntil: Int!, $Note: String!) {\n updateSeasonPass(\n seasonPass: { Owner: $Owner, Amount: $Amount, ValidUntil: $ValidUntil, Note: $Note }\n ) {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n"];
330
+ /**
331
+ * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
332
+ */
333
+ export declare function gql(source: "\n mutation DeleteSeasonPass($owner: String!) {\n deleteSeasonPass(owner: $owner) {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n"): (typeof documents)["\n mutation DeleteSeasonPass($owner: String!) {\n deleteSeasonPass(owner: $owner) {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n"];
300
334
  /**
301
335
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
302
336
  */
@@ -135,8 +135,14 @@ export type AdminNonEvmWallet = {
135
135
  EvmWallet: Scalars['String']['output'];
136
136
  NonEvmWallet: Scalars['String']['output'];
137
137
  };
138
+ export type AdminSignUpV2 = {
139
+ __typename?: 'AdminSignUpV2';
140
+ Address: Scalars['String']['output'];
141
+ Amount: Scalars['Float']['output'];
142
+ };
138
143
  export type AdminUsers = {
139
144
  __typename?: 'AdminUsers';
145
+ Note?: Maybe<Scalars['String']['output']>;
140
146
  RoleId: Scalars['Int']['output'];
141
147
  Wallet: Scalars['String']['output'];
142
148
  };
@@ -279,24 +285,6 @@ export type KolInvestedErc20 = {
279
285
  TokenOut: Scalars['Float']['output'];
280
286
  Wallet: Scalars['String']['output'];
281
287
  };
282
- export type Kyc = {
283
- __typename?: 'Kyc';
284
- data: KycData;
285
- name: Scalars['String']['output'];
286
- status: Scalars['String']['output'];
287
- };
288
- export type KycData = {
289
- __typename?: 'KycData';
290
- approvedDate?: Maybe<Scalars['String']['output']>;
291
- blockPassID?: Maybe<Scalars['String']['output']>;
292
- inreviewDate?: Maybe<Scalars['String']['output']>;
293
- isArchived?: Maybe<Scalars['Boolean']['output']>;
294
- recordId?: Maybe<Scalars['String']['output']>;
295
- refId?: Maybe<Scalars['String']['output']>;
296
- status: Scalars['String']['output'];
297
- submitCount?: Maybe<Scalars['Int']['output']>;
298
- waitingDate?: Maybe<Scalars['String']['output']>;
299
- };
300
288
  export type KycProxy = {
301
289
  __typename?: 'KycProxy';
302
290
  Proxy?: Maybe<Scalars['String']['output']>;
@@ -345,17 +333,20 @@ export type Mutation = {
345
333
  adminCleanCache: CleanCache;
346
334
  adminDeleteAction: Scalars['Boolean']['output'];
347
335
  adminUpdateAction: ActionSettings;
336
+ createSeasonPass: SeasonPass;
348
337
  deleteAutoSignUp: AdminAutoSignUp;
349
338
  deleteDownloaderEvent: Scalars['Boolean']['output'];
350
339
  deleteEvmWallet: UserData;
351
340
  deleteMapping: Scalars['Boolean']['output'];
352
341
  deleteNonEvmWallet: UserData;
342
+ deleteSeasonPass: SeasonPass;
353
343
  deleteUser: AdminUsers;
354
344
  generateTokenFromSignature: GenerateTokenFromSignature;
355
345
  logout: Scalars['Boolean']['output'];
356
346
  myLinkTelegram: Scalars['Int']['output'];
357
347
  onboardingCheckTx: OnboardingMutationsResponse;
358
348
  onboardingSetAllocation: OnboardingMutationsResponse;
349
+ projectSignUpV2: ProjectSignUpV2;
359
350
  sendToMonitor: Scalars['Int']['output'];
360
351
  setMyAgree: Scalars['Boolean']['output'];
361
352
  updateAutoSignUp: AdminAutoSignUp;
@@ -363,6 +354,7 @@ export type Mutation = {
363
354
  updateEvmWallet: UserData;
364
355
  updateMapping: Scalars['Boolean']['output'];
365
356
  updateNonEvmWallet: UserData;
357
+ updateSeasonPass: SeasonPass;
366
358
  updateUser: AdminUsers;
367
359
  };
368
360
  export type MutationAddAutoSignUpArgs = {
@@ -388,6 +380,7 @@ export type MutationAddNonEvmWalletArgs = {
388
380
  wallet: Scalars['String']['input'];
389
381
  };
390
382
  export type MutationAddUserArgs = {
383
+ note?: InputMaybe<Scalars['String']['input']>;
391
384
  roleId: Scalars['Int']['input'];
392
385
  wallet: Scalars['String']['input'];
393
386
  };
@@ -400,6 +393,9 @@ export type MutationAdminDeleteActionArgs = {
400
393
  export type MutationAdminUpdateActionArgs = {
401
394
  action: UpdateAction;
402
395
  };
396
+ export type MutationCreateSeasonPassArgs = {
397
+ seasonPass: SeasonPassInput;
398
+ };
403
399
  export type MutationDeleteAutoSignUpArgs = {
404
400
  address: Scalars['String']['input'];
405
401
  };
@@ -417,6 +413,9 @@ export type MutationDeleteMappingArgs = {
417
413
  export type MutationDeleteNonEvmWalletArgs = {
418
414
  chainName: Scalars['String']['input'];
419
415
  };
416
+ export type MutationDeleteSeasonPassArgs = {
417
+ owner: Scalars['String']['input'];
418
+ };
420
419
  export type MutationDeleteUserArgs = {
421
420
  wallet: Scalars['String']['input'];
422
421
  };
@@ -439,6 +438,9 @@ export type MutationOnboardingSetAllocationArgs = {
439
438
  tokenAddress: Scalars['String']['input'];
440
439
  tokenAllocation: Array<OnboardingTokenAllocation>;
441
440
  };
441
+ export type MutationProjectSignUpV2Args = {
442
+ projectId: Scalars['Long']['input'];
443
+ };
442
444
  export type MutationSendToMonitorArgs = {
443
445
  input: Scalars['String']['input'];
444
446
  };
@@ -463,7 +465,11 @@ export type MutationUpdateNonEvmWalletArgs = {
463
465
  chainName: Scalars['String']['input'];
464
466
  wallet: Scalars['String']['input'];
465
467
  };
468
+ export type MutationUpdateSeasonPassArgs = {
469
+ seasonPass: SeasonPassInput;
470
+ };
466
471
  export type MutationUpdateUserArgs = {
472
+ note?: InputMaybe<Scalars['String']['input']>;
467
473
  roleId: Scalars['Int']['input'];
468
474
  wallet: Scalars['String']['input'];
469
475
  };
@@ -505,6 +511,11 @@ export type MySignUp = {
505
511
  __typename?: 'MySignUp';
506
512
  SignupId: Scalars['Int']['output'];
507
513
  };
514
+ export type MySignUpV2 = {
515
+ __typename?: 'MySignUpV2';
516
+ ProjectId: Scalars['Long']['output'];
517
+ SignedUp: Scalars['Boolean']['output'];
518
+ };
508
519
  export type NonEvmWallet = {
509
520
  __typename?: 'NonEvmWallet';
510
521
  ChainName: Scalars['String']['output'];
@@ -529,12 +540,6 @@ export type OnboardingData_TokenTransfer = {
529
540
  Timestamp: Scalars['Long']['output'];
530
541
  TxHash: Scalars['String']['output'];
531
542
  };
532
- export type OnboardingData_Tokens = {
533
- __typename?: 'OnboardingData_Tokens';
534
- Amount: Scalars['Float']['output'];
535
- ChainId: Scalars['Long']['output'];
536
- TokenAddress: Scalars['String']['output'];
537
- };
538
543
  export type OnboardingMutationsResponse = {
539
544
  __typename?: 'OnboardingMutationsResponse';
540
545
  ErrorMessage?: Maybe<Scalars['String']['output']>;
@@ -586,6 +591,12 @@ export type PoolxTokenomicsTrade = {
586
591
  PancakeSwapV3_01: Scalars['Float']['output'];
587
592
  Sum: Scalars['Float']['output'];
588
593
  };
594
+ export type ProjectSignUpV2 = {
595
+ __typename?: 'ProjectSignUpV2';
596
+ JoinedTime: Scalars['Long']['output'];
597
+ ProjectId: Scalars['Long']['output'];
598
+ UserAddress: Scalars['String']['output'];
599
+ };
589
600
  export type PutMyDataNonEvmWallet = {
590
601
  ChainName: Scalars['String']['input'];
591
602
  NonEvmWallet: Scalars['String']['input'];
@@ -594,12 +605,12 @@ export type Query = {
594
605
  __typename?: 'Query';
595
606
  adminAutoSignUp: Array<AdminAutoSignUp>;
596
607
  adminGetActions: Array<GetAction>;
597
- /** @deprecated This endpoint is deprecated cause not working. */
598
608
  adminKycProxy: Array<AdminKycProxy>;
599
609
  adminNonEvmInvested: Array<AdminNonEvmInvested>;
600
610
  /** @deprecated Use a new query 'adminNonEvmInvested'. */
601
611
  adminNonEvmWallet: Array<AdminNonEvmWallet>;
602
612
  adminRpcWallets: Array<RpcWallet>;
613
+ adminSignUpV2: Array<AdminSignUpV2>;
603
614
  adminUsers: Array<AdminUsers>;
604
615
  approvedContracts: Array<ApprovedContracts>;
605
616
  boostProxy: Array<BoostProxy>;
@@ -612,16 +623,16 @@ export type Query = {
612
623
  myInvestSum: MyInvestSum;
613
624
  myInvestmentsETH: Array<MyInvestmentsEth>;
614
625
  myInvestmentsErc20: Array<MyInvestmentsErc20>;
615
- /** @deprecated Use a new query 'myProxyKYC'. */
616
- myKYC: Kyc;
617
626
  myProxyKYC: KycProxy;
618
627
  myRole: Scalars['String']['output'];
619
628
  mySignUpCheck: Array<SignUpCheck>;
629
+ mySignUpV2: Array<MySignUpV2>;
620
630
  mySignup: Array<MySignUp>;
621
631
  onboardingData: Array<OnboardingData_Data>;
622
632
  onboardingProjects: Array<OnboardingProject>;
623
633
  poolxPrice: PoolxPrice;
624
634
  poolxTokenomics: PoolxTokenomics;
635
+ seasonPass: Array<SeasonPass>;
625
636
  signUp: Array<SignUp>;
626
637
  signUpAllocation?: Maybe<Array<SignUpAllocation>>;
627
638
  signUpCheck: Array<SignUpCheck>;
@@ -655,6 +666,10 @@ export type QueryAdminNonEvmWalletArgs = {
655
666
  export type QueryAdminRpcWalletsArgs = {
656
667
  IDs: Array<InputMaybe<Scalars['Int']['input']>>;
657
668
  };
669
+ export type QueryAdminSignUpV2Args = {
670
+ minPoolxAmount: Scalars['Int']['input'];
671
+ projectId: Scalars['Long']['input'];
672
+ };
658
673
  export type QueryAdminUsersArgs = {
659
674
  address?: InputMaybe<Scalars['String']['input']>;
660
675
  };
@@ -665,6 +680,7 @@ export type QueryBoostProxyArgs = {
665
680
  campaignCodes: Array<Scalars['String']['input']>;
666
681
  };
667
682
  export type QueryDaoSenderHistoryArgs = {
683
+ limit?: InputMaybe<Scalars['Int']['input']>;
668
684
  page: Scalars['Int']['input'];
669
685
  };
670
686
  export type QueryInvestedErc20Args = {
@@ -686,6 +702,9 @@ export type QueryMyInvestSumArgs = {
686
702
  export type QueryMySignUpCheckArgs = {
687
703
  poolIDs: Array<Scalars['Int']['input']>;
688
704
  };
705
+ export type QueryMySignUpV2Args = {
706
+ projectIDs: Array<Scalars['Long']['input']>;
707
+ };
689
708
  export type QueryOnboardingDataArgs = {
690
709
  chatId: Scalars['Long']['input'];
691
710
  dataOnAuth: DataOnAuth;
@@ -747,6 +766,19 @@ export type RpcWallet = {
747
766
  Id: Scalars['Int']['output'];
748
767
  Wallet: Scalars['String']['output'];
749
768
  };
769
+ export type SeasonPass = {
770
+ __typename?: 'SeasonPass';
771
+ Amount: Scalars['Float']['output'];
772
+ Note?: Maybe<Scalars['String']['output']>;
773
+ Owner: Scalars['String']['output'];
774
+ ValidUntil: Scalars['Int']['output'];
775
+ };
776
+ export type SeasonPassInput = {
777
+ Amount: Scalars['Float']['input'];
778
+ Note?: InputMaybe<Scalars['String']['input']>;
779
+ Owner: Scalars['String']['input'];
780
+ ValidUntil: Scalars['Int']['input'];
781
+ };
750
782
  export type SignUp = {
751
783
  __typename?: 'SignUp';
752
784
  Address: Scalars['String']['output'];
@@ -1381,6 +1413,64 @@ export type GetPoolxTokenomicsQuery = {
1381
1413
  };
1382
1414
  };
1383
1415
  };
1416
+ export type SeasonPassQueryVariables = Exact<{
1417
+ [key: string]: never;
1418
+ }>;
1419
+ export type SeasonPassQuery = {
1420
+ __typename?: 'Query';
1421
+ seasonPass: Array<{
1422
+ __typename?: 'SeasonPass';
1423
+ Owner: string;
1424
+ Amount: number;
1425
+ ValidUntil: number;
1426
+ Note?: string | null;
1427
+ }>;
1428
+ };
1429
+ export type CreateSeasonPassMutationVariables = Exact<{
1430
+ Owner: Scalars['String']['input'];
1431
+ Amount: Scalars['Float']['input'];
1432
+ ValidUntil: Scalars['Int']['input'];
1433
+ Note: Scalars['String']['input'];
1434
+ }>;
1435
+ export type CreateSeasonPassMutation = {
1436
+ __typename?: 'Mutation';
1437
+ createSeasonPass: {
1438
+ __typename?: 'SeasonPass';
1439
+ Owner: string;
1440
+ Amount: number;
1441
+ ValidUntil: number;
1442
+ Note?: string | null;
1443
+ };
1444
+ };
1445
+ export type UpdateSeasonPassMutationVariables = Exact<{
1446
+ Owner: Scalars['String']['input'];
1447
+ Amount: Scalars['Float']['input'];
1448
+ ValidUntil: Scalars['Int']['input'];
1449
+ Note: Scalars['String']['input'];
1450
+ }>;
1451
+ export type UpdateSeasonPassMutation = {
1452
+ __typename?: 'Mutation';
1453
+ updateSeasonPass: {
1454
+ __typename?: 'SeasonPass';
1455
+ Owner: string;
1456
+ Amount: number;
1457
+ ValidUntil: number;
1458
+ Note?: string | null;
1459
+ };
1460
+ };
1461
+ export type DeleteSeasonPassMutationVariables = Exact<{
1462
+ owner: Scalars['String']['input'];
1463
+ }>;
1464
+ export type DeleteSeasonPassMutation = {
1465
+ __typename?: 'Mutation';
1466
+ deleteSeasonPass: {
1467
+ __typename?: 'SeasonPass';
1468
+ Owner: string;
1469
+ Amount: number;
1470
+ ValidUntil: number;
1471
+ Note?: string | null;
1472
+ };
1473
+ };
1384
1474
  export type SignupQueryVariables = Exact<{
1385
1475
  signUpId: Scalars['Int']['input'];
1386
1476
  }>;
@@ -1596,6 +1686,24 @@ export declare const PoolxPriceDocument: DocumentNode<PoolxPriceQuery, Exact<{
1596
1686
  export declare const GetPoolxTokenomicsDocument: DocumentNode<GetPoolxTokenomicsQuery, Exact<{
1597
1687
  [key: string]: never;
1598
1688
  }>>;
1689
+ export declare const SeasonPassDocument: DocumentNode<SeasonPassQuery, Exact<{
1690
+ [key: string]: never;
1691
+ }>>;
1692
+ export declare const CreateSeasonPassDocument: DocumentNode<CreateSeasonPassMutation, Exact<{
1693
+ Owner: Scalars['String']['input'];
1694
+ Amount: Scalars['Float']['input'];
1695
+ ValidUntil: Scalars['Int']['input'];
1696
+ Note: Scalars['String']['input'];
1697
+ }>>;
1698
+ export declare const UpdateSeasonPassDocument: DocumentNode<UpdateSeasonPassMutation, Exact<{
1699
+ Owner: Scalars['String']['input'];
1700
+ Amount: Scalars['Float']['input'];
1701
+ ValidUntil: Scalars['Int']['input'];
1702
+ Note: Scalars['String']['input'];
1703
+ }>>;
1704
+ export declare const DeleteSeasonPassDocument: DocumentNode<DeleteSeasonPassMutation, Exact<{
1705
+ owner: Scalars['String']['input'];
1706
+ }>>;
1599
1707
  export declare const SignupDocument: DocumentNode<SignupQuery, Exact<{
1600
1708
  signUpId: Scalars['Int']['input'];
1601
1709
  }>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poolzfinance/api4",
3
- "version": "1.11.34",
3
+ "version": "1.11.36",
4
4
  "description": "Bridge between front and back",
5
5
  "type": "module",
6
6
  "source": "src/index.ts",