@poolzfinance/api4 1.12.2 → 1.12.3

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.
@@ -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;
@@ -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
  */
@@ -469,6 +469,7 @@ export type MyAllocation = {
469
469
  __typename?: 'MyAllocation';
470
470
  Amount: Scalars['Float']['output'];
471
471
  EndTime: Scalars['String']['output'];
472
+ PoolzBackId: Scalars['Int']['output'];
472
473
  StartTime: Scalars['String']['output'];
473
474
  };
474
475
  export type MyAssets = {
@@ -1400,6 +1401,31 @@ export type LogoutMutation = {
1400
1401
  __typename?: 'Mutation';
1401
1402
  logout: boolean;
1402
1403
  };
1404
+ export type MyAllocationQueryVariables = Exact<{
1405
+ projectId: Scalars['String']['input'];
1406
+ }>;
1407
+ export type MyAllocationQuery = {
1408
+ __typename?: 'Query';
1409
+ myAllocation: {
1410
+ __typename?: 'MyAllocation';
1411
+ Amount: number;
1412
+ StartTime: string;
1413
+ EndTime: string;
1414
+ PoolzBackId: number;
1415
+ };
1416
+ };
1417
+ export type MyUpcomingAllocationQueryVariables = Exact<{
1418
+ projectIDs: Array<Scalars['String']['input']> | Scalars['String']['input'];
1419
+ }>;
1420
+ export type MyUpcomingAllocationQuery = {
1421
+ __typename?: 'Query';
1422
+ myUpcomingAllocation: Array<{
1423
+ __typename?: 'MyUpcomingAllocation';
1424
+ ProjectId: string;
1425
+ PoolzBackId: number;
1426
+ Amount: number;
1427
+ }>;
1428
+ };
1403
1429
  export type SetMyAgreeMutationVariables = Exact<{
1404
1430
  [key: string]: never;
1405
1431
  }>;
@@ -1838,6 +1864,8 @@ export declare const InvestedErc20Document: DocumentNode<InvestedErc20Query, Inv
1838
1864
  export declare const GetLeaderboardByAddressDocument: DocumentNode<GetLeaderboardByAddressQuery, GetLeaderboardByAddressQueryVariables>;
1839
1865
  export declare const GetLeaderboardDocument: DocumentNode<GetLeaderboardQuery, GetLeaderboardQueryVariables>;
1840
1866
  export declare const LogoutDocument: DocumentNode<LogoutMutation, LogoutMutationVariables>;
1867
+ export declare const MyAllocationDocument: DocumentNode<MyAllocationQuery, MyAllocationQueryVariables>;
1868
+ export declare const MyUpcomingAllocationDocument: DocumentNode<MyUpcomingAllocationQuery, MyUpcomingAllocationQueryVariables>;
1841
1869
  export declare const SetMyAgreeDocument: DocumentNode<SetMyAgreeMutation, SetMyAgreeMutationVariables>;
1842
1870
  export declare const MyDataDocument: DocumentNode<MyDataQuery, MyDataQueryVariables>;
1843
1871
  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.3",
4
4
  "description": "Bridge between front and back",
5
5
  "type": "module",
6
6
  "source": "src/index.ts",