@poolzfinance/api4 1.11.56 → 1.11.57

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,7 +54,7 @@ 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($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<{
57
+ "\n query MyAssets($limit: Int!, $page: Int!) {\n myAssets(limit: $limit, page: $page) {\n Count\n Assets {\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 }\n}": DocumentNode<types.MyAssetsQuery, types.Exact<{
58
58
  limit: number;
59
59
  page: number;
60
60
  }>>;
@@ -258,7 +258,7 @@ export declare function gql(source: "\n mutation AdminCreateAsset($Request: Cre
258
258
  /**
259
259
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
260
260
  */
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}"];
261
+ export declare function gql(source: "\n query MyAssets($limit: Int!, $page: Int!) {\n myAssets(limit: $limit, page: $page) {\n Count\n Assets {\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 }\n}"): (typeof documents)["\n query MyAssets($limit: Int!, $page: Int!) {\n myAssets(limit: $limit, page: $page) {\n Count\n Assets {\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 }\n}"];
262
262
  /**
263
263
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
264
264
  */
@@ -106,6 +106,11 @@ export type AdminKycProxy = {
106
106
  SubmitCount?: Maybe<Scalars['Int']['output']>;
107
107
  WaitingDate?: Maybe<Scalars['String']['output']>;
108
108
  };
109
+ export type AdminListAssetsResponse = {
110
+ __typename?: 'AdminListAssetsResponse';
111
+ PoolId: Scalars['Int']['output'];
112
+ WeiStartAmount: Scalars['String']['output'];
113
+ };
109
114
  export type AdminListOfCollateral = {
110
115
  __typename?: 'AdminListOfCollateral';
111
116
  FinishTime: Scalars['Int']['output'];
@@ -449,6 +454,11 @@ export type MyAssets = {
449
454
  UserAddress: Scalars['String']['output'];
450
455
  WithdrawalDetail: MyAssets_TransactionDetail;
451
456
  };
457
+ export type MyAssetsResponse = {
458
+ __typename?: 'MyAssetsResponse';
459
+ Assets: Array<MyAssets>;
460
+ Count: Scalars['Int']['output'];
461
+ };
452
462
  export type MyAssets_Builder = {
453
463
  __typename?: 'MyAssets_Builder';
454
464
  FinishTime?: Maybe<Scalars['Int']['output']>;
@@ -601,6 +611,7 @@ export type Query = {
601
611
  adminAutoSignUp: Array<AdminAutoSignUp>;
602
612
  adminGetActions: Array<GetAction>;
603
613
  adminKycProxy: Array<AdminKycProxy>;
614
+ adminListAssets: Array<AdminListAssetsResponse>;
604
615
  adminListOfCollateral: Array<AdminListOfCollateral>;
605
616
  adminNonEvmInvested: Array<AdminNonEvmInvested>;
606
617
  /** @deprecated Use a new query 'adminNonEvmInvested'. */
@@ -615,7 +626,7 @@ export type Query = {
615
626
  investedErc20: Array<InvestedErc20>;
616
627
  kolInvestedErc20: Array<KolInvestedErc20>;
617
628
  leaderBoard: Array<LeaderBoard>;
618
- myAssets: Array<MyAssets>;
629
+ myAssets: MyAssetsResponse;
619
630
  myData?: Maybe<MyData>;
620
631
  /** @deprecated Right now isn't work. Will be deleted with new Invested contract/system. */
621
632
  myInvestSum: MyInvestSum;
@@ -668,6 +679,12 @@ export type QueryAdminAutoSignUpArgs = {
668
679
  export type QueryAdminKycProxyArgs = {
669
680
  status?: InputMaybe<Scalars['String']['input']>;
670
681
  };
682
+ export type QueryAdminListAssetsArgs = {
683
+ chainId: Scalars['Int']['input'];
684
+ dispenserProvider: Scalars['String']['input'];
685
+ limit: Scalars['Int']['input'];
686
+ page: Scalars['Int']['input'];
687
+ };
671
688
  export type QueryAdminListOfCollateralArgs = {
672
689
  chainId: Scalars['Int']['input'];
673
690
  collateralAddress: Scalars['String']['input'];
@@ -1200,35 +1217,39 @@ export type MyAssetsQueryVariables = Exact<{
1200
1217
  }>;
1201
1218
  export type MyAssetsQuery = {
1202
1219
  __typename?: 'Query';
1203
- myAssets: Array<{
1204
- __typename?: 'MyAssets';
1205
- UserAddress: string;
1206
- RefundFinishTime?: number | null;
1207
- WithdrawalDetail: {
1208
- __typename?: 'MyAssets_TransactionDetail';
1209
- ChainId: number;
1210
- PoolId: number;
1211
- Builders: Array<{
1212
- __typename?: 'MyAssets_Builder';
1213
- ProviderAddress: string;
1214
- WeiAmount: string;
1215
- StartTime?: number | null;
1216
- FinishTime?: number | null;
1217
- }>;
1218
- };
1219
- RefundDetail?: {
1220
- __typename?: 'MyAssets_TransactionDetail';
1221
- ChainId: number;
1222
- PoolId: number;
1223
- Builders: Array<{
1224
- __typename?: 'MyAssets_Builder';
1225
- ProviderAddress: string;
1226
- WeiAmount: string;
1227
- StartTime?: number | null;
1228
- FinishTime?: number | null;
1229
- }>;
1230
- } | null;
1231
- }>;
1220
+ myAssets: {
1221
+ __typename?: 'MyAssetsResponse';
1222
+ Count: number;
1223
+ Assets: Array<{
1224
+ __typename?: 'MyAssets';
1225
+ UserAddress: string;
1226
+ RefundFinishTime?: number | null;
1227
+ WithdrawalDetail: {
1228
+ __typename?: 'MyAssets_TransactionDetail';
1229
+ ChainId: number;
1230
+ PoolId: number;
1231
+ Builders: Array<{
1232
+ __typename?: 'MyAssets_Builder';
1233
+ ProviderAddress: string;
1234
+ WeiAmount: string;
1235
+ StartTime?: number | null;
1236
+ FinishTime?: number | null;
1237
+ }>;
1238
+ };
1239
+ RefundDetail?: {
1240
+ __typename?: 'MyAssets_TransactionDetail';
1241
+ ChainId: number;
1242
+ PoolId: number;
1243
+ Builders: Array<{
1244
+ __typename?: 'MyAssets_Builder';
1245
+ ProviderAddress: string;
1246
+ WeiAmount: string;
1247
+ StartTime?: number | null;
1248
+ FinishTime?: number | null;
1249
+ }>;
1250
+ } | null;
1251
+ }>;
1252
+ };
1232
1253
  };
1233
1254
  export type RetrieveSignatureQueryVariables = Exact<{
1234
1255
  request: RetrieveSignatureRequest;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poolzfinance/api4",
3
- "version": "1.11.56",
3
+ "version": "1.11.57",
4
4
  "description": "Bridge between front and back",
5
5
  "type": "module",
6
6
  "source": "src/index.ts",