@poolzfinance/api4 1.11.33 → 1.11.35

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: String!, $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: string;
137
+ Note: string;
138
+ }>>;
139
+ "\n mutation UpdateSeasonPass($Owner: String!, $Amount: Float!, $ValidUntil: String!, $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: string;
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: String!, $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: String!, $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: String!, $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: String!, $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,6 +135,11 @@ 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';
140
145
  RoleId: Scalars['Int']['output'];
@@ -345,17 +350,20 @@ export type Mutation = {
345
350
  adminCleanCache: CleanCache;
346
351
  adminDeleteAction: Scalars['Boolean']['output'];
347
352
  adminUpdateAction: ActionSettings;
353
+ createSeasonPass: SeasonPass;
348
354
  deleteAutoSignUp: AdminAutoSignUp;
349
355
  deleteDownloaderEvent: Scalars['Boolean']['output'];
350
356
  deleteEvmWallet: UserData;
351
357
  deleteMapping: Scalars['Boolean']['output'];
352
358
  deleteNonEvmWallet: UserData;
359
+ deleteSeasonPass: SeasonPass;
353
360
  deleteUser: AdminUsers;
354
361
  generateTokenFromSignature: GenerateTokenFromSignature;
355
362
  logout: Scalars['Boolean']['output'];
356
363
  myLinkTelegram: Scalars['Int']['output'];
357
364
  onboardingCheckTx: OnboardingMutationsResponse;
358
365
  onboardingSetAllocation: OnboardingMutationsResponse;
366
+ projectSignUpV2: ProjectSignUpV2;
359
367
  sendToMonitor: Scalars['Int']['output'];
360
368
  setMyAgree: Scalars['Boolean']['output'];
361
369
  updateAutoSignUp: AdminAutoSignUp;
@@ -363,6 +371,7 @@ export type Mutation = {
363
371
  updateEvmWallet: UserData;
364
372
  updateMapping: Scalars['Boolean']['output'];
365
373
  updateNonEvmWallet: UserData;
374
+ updateSeasonPass: SeasonPass;
366
375
  updateUser: AdminUsers;
367
376
  };
368
377
  export type MutationAddAutoSignUpArgs = {
@@ -400,6 +409,9 @@ export type MutationAdminDeleteActionArgs = {
400
409
  export type MutationAdminUpdateActionArgs = {
401
410
  action: UpdateAction;
402
411
  };
412
+ export type MutationCreateSeasonPassArgs = {
413
+ seasonPass: SeasonPassInput;
414
+ };
403
415
  export type MutationDeleteAutoSignUpArgs = {
404
416
  address: Scalars['String']['input'];
405
417
  };
@@ -417,6 +429,9 @@ export type MutationDeleteMappingArgs = {
417
429
  export type MutationDeleteNonEvmWalletArgs = {
418
430
  chainName: Scalars['String']['input'];
419
431
  };
432
+ export type MutationDeleteSeasonPassArgs = {
433
+ owner: Scalars['String']['input'];
434
+ };
420
435
  export type MutationDeleteUserArgs = {
421
436
  wallet: Scalars['String']['input'];
422
437
  };
@@ -439,6 +454,9 @@ export type MutationOnboardingSetAllocationArgs = {
439
454
  tokenAddress: Scalars['String']['input'];
440
455
  tokenAllocation: Array<OnboardingTokenAllocation>;
441
456
  };
457
+ export type MutationProjectSignUpV2Args = {
458
+ projectId: Scalars['Long']['input'];
459
+ };
442
460
  export type MutationSendToMonitorArgs = {
443
461
  input: Scalars['String']['input'];
444
462
  };
@@ -463,6 +481,9 @@ export type MutationUpdateNonEvmWalletArgs = {
463
481
  chainName: Scalars['String']['input'];
464
482
  wallet: Scalars['String']['input'];
465
483
  };
484
+ export type MutationUpdateSeasonPassArgs = {
485
+ seasonPass: SeasonPassInput;
486
+ };
466
487
  export type MutationUpdateUserArgs = {
467
488
  roleId: Scalars['Int']['input'];
468
489
  wallet: Scalars['String']['input'];
@@ -487,17 +508,17 @@ export type MyInvestSum = {
487
508
  export type MyInvestmentsEth = {
488
509
  __typename?: 'MyInvestmentsETH';
489
510
  Amount: Scalars['Float']['output'];
490
- BlockSignedAt: Scalars['String']['output'];
491
- ChainId: Scalars['Long']['output'];
492
- Id: Scalars['Long']['output'];
511
+ BlockSignedAt: Scalars['Int']['output'];
512
+ ChainId: Scalars['Int']['output'];
513
+ Id: Scalars['Int']['output'];
493
514
  TxHash: Scalars['String']['output'];
494
515
  };
495
516
  export type MyInvestmentsErc20 = {
496
517
  __typename?: 'MyInvestmentsErc20';
497
518
  Amount: Scalars['Float']['output'];
498
- BlockSignedAt: Scalars['String']['output'];
499
- ChainId: Scalars['Long']['output'];
500
- Id: Scalars['Long']['output'];
519
+ BlockSignedAt: Scalars['Int']['output'];
520
+ ChainId: Scalars['Int']['output'];
521
+ Id: Scalars['Int']['output'];
501
522
  Token: Scalars['String']['output'];
502
523
  TxHash: Scalars['String']['output'];
503
524
  };
@@ -505,6 +526,11 @@ export type MySignUp = {
505
526
  __typename?: 'MySignUp';
506
527
  SignupId: Scalars['Int']['output'];
507
528
  };
529
+ export type MySignUpV2 = {
530
+ __typename?: 'MySignUpV2';
531
+ ProjectId: Scalars['Long']['output'];
532
+ SignedUp: Scalars['Boolean']['output'];
533
+ };
508
534
  export type NonEvmWallet = {
509
535
  __typename?: 'NonEvmWallet';
510
536
  ChainName: Scalars['String']['output'];
@@ -586,6 +612,12 @@ export type PoolxTokenomicsTrade = {
586
612
  PancakeSwapV3_01: Scalars['Float']['output'];
587
613
  Sum: Scalars['Float']['output'];
588
614
  };
615
+ export type ProjectSignUpV2 = {
616
+ __typename?: 'ProjectSignUpV2';
617
+ JoinedTime: Scalars['Long']['output'];
618
+ ProjectId: Scalars['Long']['output'];
619
+ UserAddress: Scalars['String']['output'];
620
+ };
589
621
  export type PutMyDataNonEvmWallet = {
590
622
  ChainName: Scalars['String']['input'];
591
623
  NonEvmWallet: Scalars['String']['input'];
@@ -594,12 +626,12 @@ export type Query = {
594
626
  __typename?: 'Query';
595
627
  adminAutoSignUp: Array<AdminAutoSignUp>;
596
628
  adminGetActions: Array<GetAction>;
597
- /** @deprecated This endpoint is deprecated cause not working. */
598
629
  adminKycProxy: Array<AdminKycProxy>;
599
630
  adminNonEvmInvested: Array<AdminNonEvmInvested>;
600
631
  /** @deprecated Use a new query 'adminNonEvmInvested'. */
601
632
  adminNonEvmWallet: Array<AdminNonEvmWallet>;
602
633
  adminRpcWallets: Array<RpcWallet>;
634
+ adminSignUpV2: Array<AdminSignUpV2>;
603
635
  adminUsers: Array<AdminUsers>;
604
636
  approvedContracts: Array<ApprovedContracts>;
605
637
  boostProxy: Array<BoostProxy>;
@@ -617,11 +649,13 @@ export type Query = {
617
649
  myProxyKYC: KycProxy;
618
650
  myRole: Scalars['String']['output'];
619
651
  mySignUpCheck: Array<SignUpCheck>;
652
+ mySignUpV2: Array<MySignUpV2>;
620
653
  mySignup: Array<MySignUp>;
621
654
  onboardingData: Array<OnboardingData_Data>;
622
655
  onboardingProjects: Array<OnboardingProject>;
623
656
  poolxPrice: PoolxPrice;
624
657
  poolxTokenomics: PoolxTokenomics;
658
+ seasonPass: Array<SeasonPass>;
625
659
  signUp: Array<SignUp>;
626
660
  signUpAllocation?: Maybe<Array<SignUpAllocation>>;
627
661
  signUpCheck: Array<SignUpCheck>;
@@ -655,6 +689,10 @@ export type QueryAdminNonEvmWalletArgs = {
655
689
  export type QueryAdminRpcWalletsArgs = {
656
690
  IDs: Array<InputMaybe<Scalars['Int']['input']>>;
657
691
  };
692
+ export type QueryAdminSignUpV2Args = {
693
+ minPoolxAmount: Scalars['Int']['input'];
694
+ projectId: Scalars['Long']['input'];
695
+ };
658
696
  export type QueryAdminUsersArgs = {
659
697
  address?: InputMaybe<Scalars['String']['input']>;
660
698
  };
@@ -665,6 +703,7 @@ export type QueryBoostProxyArgs = {
665
703
  campaignCodes: Array<Scalars['String']['input']>;
666
704
  };
667
705
  export type QueryDaoSenderHistoryArgs = {
706
+ limit?: InputMaybe<Scalars['Int']['input']>;
668
707
  page: Scalars['Int']['input'];
669
708
  };
670
709
  export type QueryInvestedErc20Args = {
@@ -686,6 +725,9 @@ export type QueryMyInvestSumArgs = {
686
725
  export type QueryMySignUpCheckArgs = {
687
726
  poolIDs: Array<Scalars['Int']['input']>;
688
727
  };
728
+ export type QueryMySignUpV2Args = {
729
+ projectIDs: Array<Scalars['Long']['input']>;
730
+ };
689
731
  export type QueryOnboardingDataArgs = {
690
732
  chatId: Scalars['Long']['input'];
691
733
  dataOnAuth: DataOnAuth;
@@ -747,6 +789,19 @@ export type RpcWallet = {
747
789
  Id: Scalars['Int']['output'];
748
790
  Wallet: Scalars['String']['output'];
749
791
  };
792
+ export type SeasonPass = {
793
+ __typename?: 'SeasonPass';
794
+ Amount: Scalars['Float']['output'];
795
+ Note?: Maybe<Scalars['String']['output']>;
796
+ Owner: Scalars['String']['output'];
797
+ ValidUntil: Scalars['String']['output'];
798
+ };
799
+ export type SeasonPassInput = {
800
+ Amount: Scalars['Float']['input'];
801
+ Note?: InputMaybe<Scalars['String']['input']>;
802
+ Owner: Scalars['String']['input'];
803
+ ValidUntil: Scalars['String']['input'];
804
+ };
750
805
  export type SignUp = {
751
806
  __typename?: 'SignUp';
752
807
  Address: Scalars['String']['output'];
@@ -1225,20 +1280,20 @@ export type MyInvestedQuery = {
1225
1280
  __typename?: 'Query';
1226
1281
  myInvestmentsErc20: Array<{
1227
1282
  __typename?: 'MyInvestmentsErc20';
1228
- ChainId: any;
1283
+ ChainId: number;
1229
1284
  TxHash: string;
1230
- BlockSignedAt: string;
1285
+ BlockSignedAt: number;
1231
1286
  Amount: number;
1232
1287
  Token: string;
1233
- Id: any;
1288
+ Id: number;
1234
1289
  }>;
1235
1290
  myInvestmentsETH: Array<{
1236
1291
  __typename?: 'MyInvestmentsETH';
1237
- ChainId: any;
1292
+ ChainId: number;
1238
1293
  TxHash: string;
1239
- BlockSignedAt: string;
1294
+ BlockSignedAt: number;
1240
1295
  Amount: number;
1241
- Id: any;
1296
+ Id: number;
1242
1297
  }>;
1243
1298
  };
1244
1299
  export type MyLinkTelegramMutationVariables = Exact<{
@@ -1381,6 +1436,64 @@ export type GetPoolxTokenomicsQuery = {
1381
1436
  };
1382
1437
  };
1383
1438
  };
1439
+ export type SeasonPassQueryVariables = Exact<{
1440
+ [key: string]: never;
1441
+ }>;
1442
+ export type SeasonPassQuery = {
1443
+ __typename?: 'Query';
1444
+ seasonPass: Array<{
1445
+ __typename?: 'SeasonPass';
1446
+ Owner: string;
1447
+ Amount: number;
1448
+ ValidUntil: string;
1449
+ Note?: string | null;
1450
+ }>;
1451
+ };
1452
+ export type CreateSeasonPassMutationVariables = Exact<{
1453
+ Owner: Scalars['String']['input'];
1454
+ Amount: Scalars['Float']['input'];
1455
+ ValidUntil: Scalars['String']['input'];
1456
+ Note: Scalars['String']['input'];
1457
+ }>;
1458
+ export type CreateSeasonPassMutation = {
1459
+ __typename?: 'Mutation';
1460
+ createSeasonPass: {
1461
+ __typename?: 'SeasonPass';
1462
+ Owner: string;
1463
+ Amount: number;
1464
+ ValidUntil: string;
1465
+ Note?: string | null;
1466
+ };
1467
+ };
1468
+ export type UpdateSeasonPassMutationVariables = Exact<{
1469
+ Owner: Scalars['String']['input'];
1470
+ Amount: Scalars['Float']['input'];
1471
+ ValidUntil: Scalars['String']['input'];
1472
+ Note: Scalars['String']['input'];
1473
+ }>;
1474
+ export type UpdateSeasonPassMutation = {
1475
+ __typename?: 'Mutation';
1476
+ updateSeasonPass: {
1477
+ __typename?: 'SeasonPass';
1478
+ Owner: string;
1479
+ Amount: number;
1480
+ ValidUntil: string;
1481
+ Note?: string | null;
1482
+ };
1483
+ };
1484
+ export type DeleteSeasonPassMutationVariables = Exact<{
1485
+ owner: Scalars['String']['input'];
1486
+ }>;
1487
+ export type DeleteSeasonPassMutation = {
1488
+ __typename?: 'Mutation';
1489
+ deleteSeasonPass: {
1490
+ __typename?: 'SeasonPass';
1491
+ Owner: string;
1492
+ Amount: number;
1493
+ ValidUntil: string;
1494
+ Note?: string | null;
1495
+ };
1496
+ };
1384
1497
  export type SignupQueryVariables = Exact<{
1385
1498
  signUpId: Scalars['Int']['input'];
1386
1499
  }>;
@@ -1596,6 +1709,24 @@ export declare const PoolxPriceDocument: DocumentNode<PoolxPriceQuery, Exact<{
1596
1709
  export declare const GetPoolxTokenomicsDocument: DocumentNode<GetPoolxTokenomicsQuery, Exact<{
1597
1710
  [key: string]: never;
1598
1711
  }>>;
1712
+ export declare const SeasonPassDocument: DocumentNode<SeasonPassQuery, Exact<{
1713
+ [key: string]: never;
1714
+ }>>;
1715
+ export declare const CreateSeasonPassDocument: DocumentNode<CreateSeasonPassMutation, Exact<{
1716
+ Owner: Scalars['String']['input'];
1717
+ Amount: Scalars['Float']['input'];
1718
+ ValidUntil: Scalars['String']['input'];
1719
+ Note: Scalars['String']['input'];
1720
+ }>>;
1721
+ export declare const UpdateSeasonPassDocument: DocumentNode<UpdateSeasonPassMutation, Exact<{
1722
+ Owner: Scalars['String']['input'];
1723
+ Amount: Scalars['Float']['input'];
1724
+ ValidUntil: Scalars['String']['input'];
1725
+ Note: Scalars['String']['input'];
1726
+ }>>;
1727
+ export declare const DeleteSeasonPassDocument: DocumentNode<DeleteSeasonPassMutation, Exact<{
1728
+ owner: Scalars['String']['input'];
1729
+ }>>;
1599
1730
  export declare const SignupDocument: DocumentNode<SignupQuery, Exact<{
1600
1731
  signUpId: Scalars['Int']['input'];
1601
1732
  }>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poolzfinance/api4",
3
- "version": "1.11.33",
3
+ "version": "1.11.35",
4
4
  "description": "Bridge between front and back",
5
5
  "type": "module",
6
6
  "source": "src/index.ts",