@poolzfinance/api4 1.11.54 → 1.11.56

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.
@@ -54,8 +54,9 @@ declare const documents: {
54
54
  "\n mutation AdminCreateAsset($Request: CreateAssetRequest!) {\n adminCreateAsset(\n request: $Request\n ) {\n StatusCode\n }\n}": DocumentNode<types.AdminCreateAssetMutation, types.Exact<{
55
55
  Request: types.CreateAssetRequest;
56
56
  }>>;
57
- "\n query MyAssets {\n myAssets {\n UserAddress\n RefundFinishTime\n WithdrawalDetail {\n ChainId\n PoolId\n Builders {\n ProviderAddress\n WeiAmount\n StartTime\n FinishTime\n }\n }\n RefundDetail {\n ChainId\n PoolId\n Builders {\n ProviderAddress\n WeiAmount\n StartTime\n FinishTime\n }\n }\n }\n}": DocumentNode<types.MyAssetsQuery, types.Exact<{
58
- [key: string]: never;
57
+ "\n query MyAssets($limit: Int!, $page: Int!) {\n myAssets(limit: $limit, page: $page) {\n UserAddress\n RefundFinishTime\n WithdrawalDetail {\n ChainId\n PoolId\n Builders {\n ProviderAddress\n WeiAmount\n StartTime\n FinishTime\n }\n }\n RefundDetail {\n ChainId\n PoolId\n Builders {\n ProviderAddress\n WeiAmount\n StartTime\n FinishTime\n }\n }\n }\n}": DocumentNode<types.MyAssetsQuery, types.Exact<{
58
+ limit: number;
59
+ page: number;
59
60
  }>>;
60
61
  "\n query RetrieveSignature($request: RetrieveSignatureRequest!) {\n retrieveSignature(request: $request) {\n ValidUntil\n Receiver\n ChainId\n PoolId\n Signature\n IsRefund\n Builders {\n ProviderAddress\n WeiAmount\n StartTime\n FinishTime\n }\n }\n}": DocumentNode<types.RetrieveSignatureQuery, types.Exact<{
61
62
  request: types.RetrieveSignatureRequest;
@@ -164,12 +165,6 @@ declare const documents: {
164
165
  owner: string;
165
166
  note: string;
166
167
  }>>;
167
- "\n query Signup($signUpId: Int!) {\n signUp(id: $signUpId) {\n Address\n Amount\n }\n}": DocumentNode<types.SignupQuery, types.Exact<{
168
- signUpId: number;
169
- }>>;
170
- "\n query MySignup {\n mySignup {\n SignupId\n }\n}": DocumentNode<types.MySignupQuery, types.Exact<{
171
- [key: string]: never;
172
- }>>;
173
168
  "\n query MySignUpV2($projectIDs: [Int!]!) {\n mySignUpV2(projectIDs: $projectIDs) {\n ProjectId\n SignedUp\n }\n }\n": DocumentNode<types.MySignUpV2Query, types.Exact<{
174
169
  projectIDs: number | number[];
175
170
  }>>;
@@ -263,7 +258,7 @@ export declare function gql(source: "\n mutation AdminCreateAsset($Request: Cre
263
258
  /**
264
259
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
265
260
  */
266
- export declare function gql(source: "\n query MyAssets {\n myAssets {\n UserAddress\n RefundFinishTime\n WithdrawalDetail {\n ChainId\n PoolId\n Builders {\n ProviderAddress\n WeiAmount\n StartTime\n FinishTime\n }\n }\n RefundDetail {\n ChainId\n PoolId\n Builders {\n ProviderAddress\n WeiAmount\n StartTime\n FinishTime\n }\n }\n }\n}"): (typeof documents)["\n query MyAssets {\n myAssets {\n UserAddress\n RefundFinishTime\n WithdrawalDetail {\n ChainId\n PoolId\n Builders {\n ProviderAddress\n WeiAmount\n StartTime\n FinishTime\n }\n }\n RefundDetail {\n ChainId\n PoolId\n Builders {\n ProviderAddress\n WeiAmount\n StartTime\n FinishTime\n }\n }\n }\n}"];
261
+ export declare function gql(source: "\n query MyAssets($limit: Int!, $page: Int!) {\n myAssets(limit: $limit, page: $page) {\n UserAddress\n RefundFinishTime\n WithdrawalDetail {\n ChainId\n PoolId\n Builders {\n ProviderAddress\n WeiAmount\n StartTime\n FinishTime\n }\n }\n RefundDetail {\n ChainId\n PoolId\n Builders {\n ProviderAddress\n WeiAmount\n StartTime\n FinishTime\n }\n }\n }\n}"): (typeof documents)["\n query MyAssets($limit: Int!, $page: Int!) {\n myAssets(limit: $limit, page: $page) {\n UserAddress\n RefundFinishTime\n WithdrawalDetail {\n ChainId\n PoolId\n Builders {\n ProviderAddress\n WeiAmount\n StartTime\n FinishTime\n }\n }\n RefundDetail {\n ChainId\n PoolId\n Builders {\n ProviderAddress\n WeiAmount\n StartTime\n FinishTime\n }\n }\n }\n}"];
267
262
  /**
268
263
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
269
264
  */
@@ -384,14 +379,6 @@ export declare function gql(source: "\n mutation UpdateSeasonPass($Owner: Strin
384
379
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
385
380
  */
386
381
  export declare function gql(source: "\n mutation DeleteSeasonPass($owner: String!, $note: String!) {\n deleteSeasonPass(owner: $owner, note: $note) {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n"): (typeof documents)["\n mutation DeleteSeasonPass($owner: String!, $note: String!) {\n deleteSeasonPass(owner: $owner, note: $note) {\n Owner\n Amount\n ValidUntil\n Note\n }\n }\n"];
387
- /**
388
- * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
389
- */
390
- export declare function gql(source: "\n query Signup($signUpId: Int!) {\n signUp(id: $signUpId) {\n Address\n Amount\n }\n}"): (typeof documents)["\n query Signup($signUpId: Int!) {\n signUp(id: $signUpId) {\n Address\n Amount\n }\n}"];
391
- /**
392
- * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
393
- */
394
- export declare function gql(source: "\n query MySignup {\n mySignup {\n SignupId\n }\n}"): (typeof documents)["\n query MySignup {\n mySignup {\n SignupId\n }\n}"];
395
382
  /**
396
383
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
397
384
  */
@@ -617,6 +617,7 @@ export type Query = {
617
617
  leaderBoard: Array<LeaderBoard>;
618
618
  myAssets: Array<MyAssets>;
619
619
  myData?: Maybe<MyData>;
620
+ /** @deprecated Right now isn't work. Will be deleted with new Invested contract/system. */
620
621
  myInvestSum: MyInvestSum;
621
622
  myInvestmentsETH: Array<MyInvestmentsEth>;
622
623
  myInvestmentsErc20: Array<MyInvestmentsErc20>;
@@ -624,8 +625,10 @@ export type Query = {
624
625
  /** @deprecated Use 'myRoles' endpoint. */
625
626
  myRole: Scalars['String']['output'];
626
627
  myRoles: Array<Scalars['String']['output']>;
628
+ /** @deprecated Old system. Please use new endpoints from API4.SignUp. */
627
629
  mySignUpCheck: Array<SignUpCheck>;
628
630
  mySignUpV2: Array<MySignUpV2>;
631
+ /** @deprecated Old system. Please use new endpoints from API4.SignUp. */
629
632
  mySignup: Array<MySignUp>;
630
633
  onboardingData: Array<OnboardingData_Data>;
631
634
  onboardingProjects: Array<OnboardingProject>;
@@ -633,10 +636,15 @@ export type Query = {
633
636
  poolxTokenomics: PoolxTokenomics;
634
637
  retrieveSignature: RetrieveSignatureResponse;
635
638
  seasonPass: Array<SeasonPass>;
639
+ /** @deprecated Old system. Please use new endpoints from API4.SignUp. */
636
640
  signUp: Array<SignUp>;
641
+ /** @deprecated Right now, isn't work. */
637
642
  signUpAllocation?: Maybe<Array<SignUpAllocation>>;
643
+ /** @deprecated Old system. Please use new endpoints from API4.SignUp. */
638
644
  signUpCheck: Array<SignUpCheck>;
645
+ /** @deprecated Old system. Please use new endpoints from API4.SignUp. */
639
646
  signUpList: Array<SignUpList>;
647
+ /** @deprecated Old system. Please use new endpoints from API4.SignUp. */
640
648
  signUpsTimes: Array<SignUpsTimes>;
641
649
  simpleUrlShortener?: Maybe<SimpleUrlShortener>;
642
650
  splitDataEncoder: Scalars['String']['output'];
@@ -651,6 +659,7 @@ export type Query = {
651
659
  unlocks: Array<Unlocks>;
652
660
  /** @deprecated This endpoint is deprecated. */
653
661
  vaultOut: Array<VaultOut>;
662
+ /** The 'fetchBalance' will be deprecated */
654
663
  vaults: Array<Vaults>;
655
664
  };
656
665
  export type QueryAdminAutoSignUpArgs = {
@@ -705,6 +714,10 @@ export type QueryLeaderBoardArgs = {
705
714
  address?: InputMaybe<Scalars['String']['input']>;
706
715
  timestamp?: InputMaybe<Scalars['Int']['input']>;
707
716
  };
717
+ export type QueryMyAssetsArgs = {
718
+ limit: Scalars['Int']['input'];
719
+ page: Scalars['Int']['input'];
720
+ };
708
721
  export type QueryMyDataArgs = {
709
722
  chainNames?: InputMaybe<Array<Scalars['String']['input']>>;
710
723
  };
@@ -1182,7 +1195,8 @@ export type AdminCreateAssetMutation = {
1182
1195
  };
1183
1196
  };
1184
1197
  export type MyAssetsQueryVariables = Exact<{
1185
- [key: string]: never;
1198
+ limit: Scalars['Int']['input'];
1199
+ page: Scalars['Int']['input'];
1186
1200
  }>;
1187
1201
  export type MyAssetsQuery = {
1188
1202
  __typename?: 'Query';
@@ -1624,27 +1638,6 @@ export type DeleteSeasonPassMutation = {
1624
1638
  Note: string;
1625
1639
  };
1626
1640
  };
1627
- export type SignupQueryVariables = Exact<{
1628
- signUpId: Scalars['Int']['input'];
1629
- }>;
1630
- export type SignupQuery = {
1631
- __typename?: 'Query';
1632
- signUp: Array<{
1633
- __typename?: 'SignUp';
1634
- Address: string;
1635
- Amount: number;
1636
- }>;
1637
- };
1638
- export type MySignupQueryVariables = Exact<{
1639
- [key: string]: never;
1640
- }>;
1641
- export type MySignupQuery = {
1642
- __typename?: 'Query';
1643
- mySignup: Array<{
1644
- __typename?: 'MySignUp';
1645
- SignupId: number;
1646
- }>;
1647
- };
1648
1641
  export type MySignUpV2QueryVariables = Exact<{
1649
1642
  projectIDs: Array<Scalars['Int']['input']> | Scalars['Int']['input'];
1650
1643
  }>;
@@ -1825,7 +1818,8 @@ export declare const AdminCreateAssetDocument: DocumentNode<AdminCreateAssetMuta
1825
1818
  Request: CreateAssetRequest;
1826
1819
  }>>;
1827
1820
  export declare const MyAssetsDocument: DocumentNode<MyAssetsQuery, Exact<{
1828
- [key: string]: never;
1821
+ limit: Scalars['Int']['input'];
1822
+ page: Scalars['Int']['input'];
1829
1823
  }>>;
1830
1824
  export declare const RetrieveSignatureDocument: DocumentNode<RetrieveSignatureQuery, Exact<{
1831
1825
  request: RetrieveSignatureRequest;
@@ -1934,12 +1928,6 @@ export declare const DeleteSeasonPassDocument: DocumentNode<DeleteSeasonPassMuta
1934
1928
  owner: Scalars['String']['input'];
1935
1929
  note: Scalars['String']['input'];
1936
1930
  }>>;
1937
- export declare const SignupDocument: DocumentNode<SignupQuery, Exact<{
1938
- signUpId: Scalars['Int']['input'];
1939
- }>>;
1940
- export declare const MySignupDocument: DocumentNode<MySignupQuery, Exact<{
1941
- [key: string]: never;
1942
- }>>;
1943
1931
  export declare const MySignUpV2Document: DocumentNode<MySignUpV2Query, Exact<{
1944
1932
  projectIDs: Array<Scalars['Int']['input']> | Scalars['Int']['input'];
1945
1933
  }>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poolzfinance/api4",
3
- "version": "1.11.54",
3
+ "version": "1.11.56",
4
4
  "description": "Bridge between front and back",
5
5
  "type": "module",
6
6
  "source": "src/index.ts",