@poolzfinance/api4 1.12.4 → 1.12.6

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.
@@ -14,6 +14,7 @@ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/
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
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
+ "\n query AdminGetAllocation($projectId: String!) {\n adminGetAllocation(projectId: $projectId) {\n PhaseId\n WhiteList {\n UserAddress\n Amount\n }\n }\n }\n": typeof types.AdminGetAllocationDocument;
17
18
  "\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
19
  "\n mutation AdminWriteAllocation($input: AdminWriteAllocation!) {\n adminWriteAllocation(input: $input)\n }\n": typeof types.AdminWriteAllocationDocument;
19
20
  "\n query GetApprovedContracts($onlyApproved: Boolean!) {\n approvedContracts(onlyApproved: $onlyApproved) {\n ContractAddress\n Status\n }\n }": typeof types.GetApprovedContractsDocument;
@@ -89,6 +90,10 @@ export declare function gql(source: "\nmutation AdminCleanCache {\n adminCleanC
89
90
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
90
91
  */
91
92
  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"];
93
+ /**
94
+ * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
95
+ */
96
+ export declare function gql(source: "\n query AdminGetAllocation($projectId: String!) {\n adminGetAllocation(projectId: $projectId) {\n PhaseId\n WhiteList {\n UserAddress\n Amount\n }\n }\n }\n"): (typeof documents)["\n query AdminGetAllocation($projectId: String!) {\n adminGetAllocation(projectId: $projectId) {\n PhaseId\n WhiteList {\n UserAddress\n Amount\n }\n }\n }\n"];
92
97
  /**
93
98
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
94
99
  */
@@ -101,6 +101,11 @@ export type AdminCreatePoolzBackId = {
101
101
  };
102
102
  export type AdminGetAllocation = {
103
103
  __typename?: 'AdminGetAllocation';
104
+ PhaseId: Scalars['String']['output'];
105
+ WhiteList?: Maybe<Array<AdminGetAllocation_WhiteList>>;
106
+ };
107
+ export type AdminGetAllocation_WhiteList = {
108
+ __typename?: 'AdminGetAllocation_WhiteList';
104
109
  Amount: Scalars['Float']['output'];
105
110
  UserAddress: Scalars['String']['output'];
106
111
  };
@@ -687,7 +692,6 @@ export type QueryAdminAutoSignUpArgs = {
687
692
  note?: InputMaybe<Scalars['String']['input']>;
688
693
  };
689
694
  export type QueryAdminGetAllocationArgs = {
690
- phaseId: Scalars['String']['input'];
691
695
  projectId: Scalars['String']['input'];
692
696
  };
693
697
  export type QueryAdminKycProxyArgs = {
@@ -1091,6 +1095,21 @@ export type AdminCreatePoolzBackIdMutation = {
1091
1095
  PoolzBackId: number;
1092
1096
  };
1093
1097
  };
1098
+ export type AdminGetAllocationQueryVariables = Exact<{
1099
+ projectId: Scalars['String']['input'];
1100
+ }>;
1101
+ export type AdminGetAllocationQuery = {
1102
+ __typename?: 'Query';
1103
+ adminGetAllocation: Array<{
1104
+ __typename?: 'AdminGetAllocation';
1105
+ PhaseId: string;
1106
+ WhiteList?: Array<{
1107
+ __typename?: 'AdminGetAllocation_WhiteList';
1108
+ UserAddress: string;
1109
+ Amount: number;
1110
+ }> | null;
1111
+ }>;
1112
+ };
1094
1113
  export type AdminListOfCollateralQueryVariables = Exact<{
1095
1114
  chainId: Scalars['Int']['input'];
1096
1115
  collateralAddress: Scalars['String']['input'];
@@ -1844,6 +1863,7 @@ export type DataQuery = {
1844
1863
  };
1845
1864
  export declare const AdminCleanCacheDocument: DocumentNode<AdminCleanCacheMutation, AdminCleanCacheMutationVariables>;
1846
1865
  export declare const AdminCreatePoolzBackIdDocument: DocumentNode<AdminCreatePoolzBackIdMutation, AdminCreatePoolzBackIdMutationVariables>;
1866
+ export declare const AdminGetAllocationDocument: DocumentNode<AdminGetAllocationQuery, AdminGetAllocationQueryVariables>;
1847
1867
  export declare const AdminListOfCollateralDocument: DocumentNode<AdminListOfCollateralQuery, AdminListOfCollateralQueryVariables>;
1848
1868
  export declare const AdminWriteAllocationDocument: DocumentNode<AdminWriteAllocationMutation, AdminWriteAllocationMutationVariables>;
1849
1869
  export declare const GetApprovedContractsDocument: DocumentNode<GetApprovedContractsQuery, GetApprovedContractsQueryVariables>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poolzfinance/api4",
3
- "version": "1.12.4",
3
+ "version": "1.12.6",
4
4
  "description": "Bridge between front and back",
5
5
  "type": "module",
6
6
  "source": "src/index.ts",