@poolzfinance/api4 1.12.2 → 1.12.4

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.
@@ -13,7 +13,7 @@ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/
13
13
  */
14
14
  type Documents = {
15
15
  "\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 types.AdminCleanCacheDocument;
16
- "\n mutation AdminCreatePoolzBackId($projectId: String!, $poolzBackId: Int!) {\n adminCreatePoolzBackId(projectId: $projectId, poolzBackId: $poolzBackId) {\n ProjectId\n PoolzBackId\n }\n }\n": typeof types.AdminCreatePoolzBackIdDocument;
16
+ "\n mutation AdminCreatePoolzBackId($projectId: String!, $poolzBackId: Int!, $chainId: Int!) {\n adminCreatePoolzBackId(projectId: $projectId, poolzBackId: $poolzBackId, chainId: $chainId) {\n ProjectId\n PoolzBackId\n }\n }\n": typeof types.AdminCreatePoolzBackIdDocument;
17
17
  "\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}": typeof types.AdminListOfCollateralDocument;
18
18
  "\n mutation AdminWriteAllocation($input: AdminWriteAllocation!) {\n adminWriteAllocation(input: $input)\n }\n": typeof types.AdminWriteAllocationDocument;
19
19
  "\n query GetApprovedContracts($onlyApproved: Boolean!) {\n approvedContracts(onlyApproved: $onlyApproved) {\n ContractAddress\n Status\n }\n }": typeof types.GetApprovedContractsDocument;
@@ -36,6 +36,8 @@ type Documents = {
36
36
  "\n query getLeaderboardByAddress($address: String) {\n leaderBoard(address: $address) {\n Amount\n Owner\n Rank\n }\n}": typeof types.GetLeaderboardByAddressDocument;
37
37
  "\n query getLeaderboard {\n leaderBoard {\n Rank\n Owner\n Amount\n }\n}": typeof types.GetLeaderboardDocument;
38
38
  "\n mutation Logout {\n logout\n }\n": typeof types.LogoutDocument;
39
+ "\n query MyAllocation($projectId: String!) {\n myAllocation(projectId: $projectId) {\n Amount\n StartTime\n EndTime\n PoolzBackId\n }\n }": typeof types.MyAllocationDocument;
40
+ "\n query MyUpcomingAllocation($projectIDs: [String!]!) {\n myUpcomingAllocation(projectIDs: $projectIDs) {\n ProjectId\n PoolzBackId\n Amount\n }\n }": typeof types.MyUpcomingAllocationDocument;
39
41
  "\n mutation setMyAgree {\n setMyAgree\n}": typeof types.SetMyAgreeDocument;
40
42
  "\n query MyData {\n myData {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n EvmWallets\n }\n}": typeof types.MyDataDocument;
41
43
  "\n mutation AddEvmWallet($wallet: String!) {\n addEvmWallet(wallet: $wallet) {\n EvmWallet\n }\n}": typeof types.AddEvmWalletDocument;
@@ -86,7 +88,7 @@ export declare function gql(source: "\nmutation AdminCleanCache {\n adminCleanC
86
88
  /**
87
89
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
88
90
  */
89
- 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"];
91
+ export declare function gql(source: "\n mutation AdminCreatePoolzBackId($projectId: String!, $poolzBackId: Int!, $chainId: Int!) {\n adminCreatePoolzBackId(projectId: $projectId, poolzBackId: $poolzBackId, chainId: $chainId) {\n ProjectId\n PoolzBackId\n }\n }\n"): (typeof documents)["\n mutation AdminCreatePoolzBackId($projectId: String!, $poolzBackId: Int!, $chainId: Int!) {\n adminCreatePoolzBackId(projectId: $projectId, poolzBackId: $poolzBackId, chainId: $chainId) {\n ProjectId\n PoolzBackId\n }\n }\n"];
90
92
  /**
91
93
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
92
94
  */
@@ -175,6 +177,14 @@ export declare function gql(source: "\n query getLeaderboard {\n leaderBoard
175
177
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
176
178
  */
177
179
  export declare function gql(source: "\n mutation Logout {\n logout\n }\n"): (typeof documents)["\n mutation Logout {\n logout\n }\n"];
180
+ /**
181
+ * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
182
+ */
183
+ export declare function gql(source: "\n query MyAllocation($projectId: String!) {\n myAllocation(projectId: $projectId) {\n Amount\n StartTime\n EndTime\n PoolzBackId\n }\n }"): (typeof documents)["\n query MyAllocation($projectId: String!) {\n myAllocation(projectId: $projectId) {\n Amount\n StartTime\n EndTime\n PoolzBackId\n }\n }"];
184
+ /**
185
+ * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
186
+ */
187
+ export declare function gql(source: "\n query MyUpcomingAllocation($projectIDs: [String!]!) {\n myUpcomingAllocation(projectIDs: $projectIDs) {\n ProjectId\n PoolzBackId\n Amount\n }\n }"): (typeof documents)["\n query MyUpcomingAllocation($projectIDs: [String!]!) {\n myUpcomingAllocation(projectIDs: $projectIDs) {\n ProjectId\n PoolzBackId\n Amount\n }\n }"];
178
188
  /**
179
189
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
180
190
  */
@@ -391,6 +391,7 @@ export type MutationAdminCreateAssetArgs = {
391
391
  request: CreateAssetRequest;
392
392
  };
393
393
  export type MutationAdminCreatePoolzBackIdArgs = {
394
+ chainId: Scalars['Int']['input'];
394
395
  poolzBackId: Scalars['Int']['input'];
395
396
  projectId: Scalars['String']['input'];
396
397
  };
@@ -469,6 +470,7 @@ export type MyAllocation = {
469
470
  __typename?: 'MyAllocation';
470
471
  Amount: Scalars['Float']['output'];
471
472
  EndTime: Scalars['String']['output'];
473
+ PoolzBackId: Scalars['Int']['output'];
472
474
  StartTime: Scalars['String']['output'];
473
475
  };
474
476
  export type MyAssets = {
@@ -1079,6 +1081,7 @@ export type AdminCleanCacheMutation = {
1079
1081
  export type AdminCreatePoolzBackIdMutationVariables = Exact<{
1080
1082
  projectId: Scalars['String']['input'];
1081
1083
  poolzBackId: Scalars['Int']['input'];
1084
+ chainId: Scalars['Int']['input'];
1082
1085
  }>;
1083
1086
  export type AdminCreatePoolzBackIdMutation = {
1084
1087
  __typename?: 'Mutation';
@@ -1400,6 +1403,31 @@ export type LogoutMutation = {
1400
1403
  __typename?: 'Mutation';
1401
1404
  logout: boolean;
1402
1405
  };
1406
+ export type MyAllocationQueryVariables = Exact<{
1407
+ projectId: Scalars['String']['input'];
1408
+ }>;
1409
+ export type MyAllocationQuery = {
1410
+ __typename?: 'Query';
1411
+ myAllocation: {
1412
+ __typename?: 'MyAllocation';
1413
+ Amount: number;
1414
+ StartTime: string;
1415
+ EndTime: string;
1416
+ PoolzBackId: number;
1417
+ };
1418
+ };
1419
+ export type MyUpcomingAllocationQueryVariables = Exact<{
1420
+ projectIDs: Array<Scalars['String']['input']> | Scalars['String']['input'];
1421
+ }>;
1422
+ export type MyUpcomingAllocationQuery = {
1423
+ __typename?: 'Query';
1424
+ myUpcomingAllocation: Array<{
1425
+ __typename?: 'MyUpcomingAllocation';
1426
+ ProjectId: string;
1427
+ PoolzBackId: number;
1428
+ Amount: number;
1429
+ }>;
1430
+ };
1403
1431
  export type SetMyAgreeMutationVariables = Exact<{
1404
1432
  [key: string]: never;
1405
1433
  }>;
@@ -1838,6 +1866,8 @@ export declare const InvestedErc20Document: DocumentNode<InvestedErc20Query, Inv
1838
1866
  export declare const GetLeaderboardByAddressDocument: DocumentNode<GetLeaderboardByAddressQuery, GetLeaderboardByAddressQueryVariables>;
1839
1867
  export declare const GetLeaderboardDocument: DocumentNode<GetLeaderboardQuery, GetLeaderboardQueryVariables>;
1840
1868
  export declare const LogoutDocument: DocumentNode<LogoutMutation, LogoutMutationVariables>;
1869
+ export declare const MyAllocationDocument: DocumentNode<MyAllocationQuery, MyAllocationQueryVariables>;
1870
+ export declare const MyUpcomingAllocationDocument: DocumentNode<MyUpcomingAllocationQuery, MyUpcomingAllocationQueryVariables>;
1841
1871
  export declare const SetMyAgreeDocument: DocumentNode<SetMyAgreeMutation, SetMyAgreeMutationVariables>;
1842
1872
  export declare const MyDataDocument: DocumentNode<MyDataQuery, MyDataQueryVariables>;
1843
1873
  export declare const AddEvmWalletDocument: DocumentNode<AddEvmWalletMutation, AddEvmWalletMutationVariables>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poolzfinance/api4",
3
- "version": "1.12.2",
3
+ "version": "1.12.4",
4
4
  "description": "Bridge between front and back",
5
5
  "type": "module",
6
6
  "source": "src/index.ts",