@poolzfinance/api4 1.12.3 → 1.12.5

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,8 @@ 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
+ "\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;
@@ -88,7 +89,11 @@ export declare function gql(source: "\nmutation AdminCleanCache {\n adminCleanC
88
89
  /**
89
90
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
90
91
  */
91
- 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"];
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
  };
@@ -391,6 +396,7 @@ export type MutationAdminCreateAssetArgs = {
391
396
  request: CreateAssetRequest;
392
397
  };
393
398
  export type MutationAdminCreatePoolzBackIdArgs = {
399
+ chainId: Scalars['Int']['input'];
394
400
  poolzBackId: Scalars['Int']['input'];
395
401
  projectId: Scalars['String']['input'];
396
402
  };
@@ -686,7 +692,6 @@ export type QueryAdminAutoSignUpArgs = {
686
692
  note?: InputMaybe<Scalars['String']['input']>;
687
693
  };
688
694
  export type QueryAdminGetAllocationArgs = {
689
- phaseId: Scalars['String']['input'];
690
695
  projectId: Scalars['String']['input'];
691
696
  };
692
697
  export type QueryAdminKycProxyArgs = {
@@ -1080,6 +1085,7 @@ export type AdminCleanCacheMutation = {
1080
1085
  export type AdminCreatePoolzBackIdMutationVariables = Exact<{
1081
1086
  projectId: Scalars['String']['input'];
1082
1087
  poolzBackId: Scalars['Int']['input'];
1088
+ chainId: Scalars['Int']['input'];
1083
1089
  }>;
1084
1090
  export type AdminCreatePoolzBackIdMutation = {
1085
1091
  __typename?: 'Mutation';
@@ -1089,6 +1095,21 @@ export type AdminCreatePoolzBackIdMutation = {
1089
1095
  PoolzBackId: number;
1090
1096
  };
1091
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
+ };
1092
1113
  export type AdminListOfCollateralQueryVariables = Exact<{
1093
1114
  chainId: Scalars['Int']['input'];
1094
1115
  collateralAddress: Scalars['String']['input'];
@@ -1842,6 +1863,7 @@ export type DataQuery = {
1842
1863
  };
1843
1864
  export declare const AdminCleanCacheDocument: DocumentNode<AdminCleanCacheMutation, AdminCleanCacheMutationVariables>;
1844
1865
  export declare const AdminCreatePoolzBackIdDocument: DocumentNode<AdminCreatePoolzBackIdMutation, AdminCreatePoolzBackIdMutationVariables>;
1866
+ export declare const AdminGetAllocationDocument: DocumentNode<AdminGetAllocationQuery, AdminGetAllocationQueryVariables>;
1845
1867
  export declare const AdminListOfCollateralDocument: DocumentNode<AdminListOfCollateralQuery, AdminListOfCollateralQueryVariables>;
1846
1868
  export declare const AdminWriteAllocationDocument: DocumentNode<AdminWriteAllocationMutation, AdminWriteAllocationMutationVariables>;
1847
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.3",
3
+ "version": "1.12.5",
4
4
  "description": "Bridge between front and back",
5
5
  "type": "module",
6
6
  "source": "src/index.ts",