@poolzfinance/api4 1.11.27 → 1.11.29

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.
@@ -42,6 +42,9 @@ declare const documents: {
42
42
  "\n query BoostProxyUsers($campaignCodes: [String!]!) {\n boostProxy(campaignCodes: $campaignCodes) {\n Actions\n Participants\n TotalUsers\n CampaignName\n TotalEntries\n CampaignCode\n DataKey\n Users {\n Address\n Entries\n }\n }\n}": DocumentNode<types.BoostProxyUsersQuery, types.Exact<{
43
43
  campaignCodes: string | string[];
44
44
  }>>;
45
+ "\n query DaoSenderHistory($page: Int!) {\n daoSenderHistory(page: $page) {\n items {\n ChainId\n TxHash\n Token\n UserCount\n TotalAmount\n }\n currentPage\n totalPages\n }\n }\n": DocumentNode<types.DaoSenderHistoryQuery, types.Exact<{
46
+ page: number;
47
+ }>>;
45
48
  "\n query MyQuery {\n time\n}": DocumentNode<types.MyQueryQuery, types.Exact<{
46
49
  [key: string]: never;
47
50
  }>>;
@@ -124,7 +127,7 @@ declare const documents: {
124
127
  "\n query MySignup {\n mySignup {\n SignupId\n }\n}": DocumentNode<types.MySignupQuery, types.Exact<{
125
128
  [key: string]: never;
126
129
  }>>;
127
- "\nquery SimpleUrlShortener($input: TxHashChainIdInput!) {\n simpleUrlShortener(input: $input) {\n ShortUrl\n ContainerText\n }\n}": DocumentNode<types.SimpleUrlShortenerQuery, types.Exact<{
130
+ "\nquery SimpleUrlShortener($input: TxHashChainIdInput!) {\n simpleUrlShortener(input: $input) {\n ShortUrl\n ContainerText\n UrlToScan\n XPostText\n }\n}": DocumentNode<types.SimpleUrlShortenerQuery, types.Exact<{
128
131
  input: types.TxHashChainIdInput;
129
132
  }>>;
130
133
  "\nquery Status {\n status {\n ChainId\n ChainName\n RpcUrl\n CovalentLastBlock\n SecondsToWarning\n SecondsToError\n BlockPerSecond\n Events {\n Active\n StartingBlock\n EndingBlock\n ResponseType\n }\n }\n }": DocumentNode<types.StatusQuery, types.Exact<{
@@ -188,6 +191,10 @@ export declare function gql(source: "\n query BoostProxyData($campaignCodes: [S
188
191
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
189
192
  */
190
193
  export declare function gql(source: "\n query BoostProxyUsers($campaignCodes: [String!]!) {\n boostProxy(campaignCodes: $campaignCodes) {\n Actions\n Participants\n TotalUsers\n CampaignName\n TotalEntries\n CampaignCode\n DataKey\n Users {\n Address\n Entries\n }\n }\n}"): (typeof documents)["\n query BoostProxyUsers($campaignCodes: [String!]!) {\n boostProxy(campaignCodes: $campaignCodes) {\n Actions\n Participants\n TotalUsers\n CampaignName\n TotalEntries\n CampaignCode\n DataKey\n Users {\n Address\n Entries\n }\n }\n}"];
194
+ /**
195
+ * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
196
+ */
197
+ export declare function gql(source: "\n query DaoSenderHistory($page: Int!) {\n daoSenderHistory(page: $page) {\n items {\n ChainId\n TxHash\n Token\n UserCount\n TotalAmount\n }\n currentPage\n totalPages\n }\n }\n"): (typeof documents)["\n query DaoSenderHistory($page: Int!) {\n daoSenderHistory(page: $page) {\n items {\n ChainId\n TxHash\n Token\n UserCount\n TotalAmount\n }\n currentPage\n totalPages\n }\n }\n"];
191
198
  /**
192
199
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
193
200
  */
@@ -287,7 +294,7 @@ export declare function gql(source: "\n query MySignup {\n mySignup {\n
287
294
  /**
288
295
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
289
296
  */
290
- export declare function gql(source: "\nquery SimpleUrlShortener($input: TxHashChainIdInput!) {\n simpleUrlShortener(input: $input) {\n ShortUrl\n ContainerText\n }\n}"): (typeof documents)["\nquery SimpleUrlShortener($input: TxHashChainIdInput!) {\n simpleUrlShortener(input: $input) {\n ShortUrl\n ContainerText\n }\n}"];
297
+ export declare function gql(source: "\nquery SimpleUrlShortener($input: TxHashChainIdInput!) {\n simpleUrlShortener(input: $input) {\n ShortUrl\n ContainerText\n UrlToScan\n XPostText\n }\n}"): (typeof documents)["\nquery SimpleUrlShortener($input: TxHashChainIdInput!) {\n simpleUrlShortener(input: $input) {\n ShortUrl\n ContainerText\n UrlToScan\n XPostText\n }\n}"];
291
298
  /**
292
299
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
293
300
  */
@@ -158,6 +158,20 @@ export type CleanCacheResult = {
158
158
  __typename?: 'CleanCacheResult';
159
159
  id: Scalars['String']['output'];
160
160
  };
161
+ export type DaoSenderHistory = {
162
+ __typename?: 'DaoSenderHistory';
163
+ ChainId: Scalars['Int']['output'];
164
+ Token: Scalars['String']['output'];
165
+ TotalAmount: Scalars['Float']['output'];
166
+ TxHash: Scalars['String']['output'];
167
+ UserCount: Scalars['Int']['output'];
168
+ };
169
+ export type DaoSenderHistoryPage = {
170
+ __typename?: 'DaoSenderHistoryPage';
171
+ currentPage: Scalars['Int']['output'];
172
+ items?: Maybe<Array<DaoSenderHistory>>;
173
+ totalPages: Scalars['Int']['output'];
174
+ };
161
175
  export type DataOnAuth = {
162
176
  auth_date: Scalars['Long']['input'];
163
177
  first_name: Scalars['String']['input'];
@@ -167,6 +181,42 @@ export type DataOnAuth = {
167
181
  photo_url?: InputMaybe<Scalars['String']['input']>;
168
182
  username?: InputMaybe<Scalars['String']['input']>;
169
183
  };
184
+ export type Downloader = {
185
+ __typename?: 'Downloader';
186
+ BlockPerSecond: Scalars['Float']['output'];
187
+ ChainId: Scalars['Int']['output'];
188
+ ChainName: Scalars['String']['output'];
189
+ CovalentLastBlock: Scalars['Int']['output'];
190
+ Events?: Maybe<Array<DownloaderEvents>>;
191
+ RpcUrl: Scalars['String']['output'];
192
+ SecondsToError: Scalars['Int']['output'];
193
+ SecondsToWarning: Scalars['Int']['output'];
194
+ };
195
+ export type DownloaderEventInput = {
196
+ Active: Scalars['Boolean']['input'];
197
+ ContractAddress: Scalars['String']['input'];
198
+ EndingBlock?: InputMaybe<Scalars['Int']['input']>;
199
+ EventHash: Scalars['String']['input'];
200
+ Key: Scalars['String']['input'];
201
+ MaxBatchSize: Scalars['Int']['input'];
202
+ MaxPageNumber?: InputMaybe<Scalars['Int']['input']>;
203
+ ResponseType: Scalars['String']['input'];
204
+ StartingBlock: Scalars['Int']['input'];
205
+ UrlSet: Scalars['String']['input'];
206
+ };
207
+ export type DownloaderEvents = {
208
+ __typename?: 'DownloaderEvents';
209
+ Active: Scalars['Boolean']['output'];
210
+ ContractAddress: Scalars['String']['output'];
211
+ EndingBlock?: Maybe<Scalars['Int']['output']>;
212
+ EventHash: Scalars['String']['output'];
213
+ Mapping?: Maybe<Array<Mapping>>;
214
+ MaxBatchSize: Scalars['Int']['output'];
215
+ MaxPageNumber?: Maybe<Scalars['Int']['output']>;
216
+ ResponseType: Scalars['String']['output'];
217
+ StartingBlock: Scalars['Int']['output'];
218
+ UrlSet: Scalars['String']['output'];
219
+ };
170
220
  export type GenerateTokenFromSignature = {
171
221
  __typename?: 'GenerateTokenFromSignature';
172
222
  token: Scalars['String']['output'];
@@ -216,9 +266,22 @@ export type LeaderBoard = {
216
266
  Rank: Scalars['Int']['output'];
217
267
  VaultAmount: Scalars['Float']['output'];
218
268
  };
269
+ export type Mapping = {
270
+ __typename?: 'Mapping';
271
+ Converter: Scalars['String']['output'];
272
+ Id: Scalars['Int']['output'];
273
+ Name: Scalars['String']['output'];
274
+ Path: Scalars['String']['output'];
275
+ };
276
+ export type MappingInput = {
277
+ Converter: Scalars['String']['input'];
278
+ Name: Scalars['String']['input'];
279
+ Path: Scalars['String']['input'];
280
+ };
219
281
  export type Mutation = {
220
282
  __typename?: 'Mutation';
221
283
  addAutoSignUp: AdminAutoSignUp;
284
+ addDownloaderEvent?: Maybe<DownloaderEvents>;
222
285
  addEvmWallet: UserData;
223
286
  addNonEvmWallet: UserData;
224
287
  addUser: AdminUsers;
@@ -247,6 +310,10 @@ export type MutationAddAutoSignUpArgs = {
247
310
  note: Scalars['String']['input'];
248
311
  poolzAmount: Scalars['Float']['input'];
249
312
  };
313
+ export type MutationAddDownloaderEventArgs = {
314
+ chainId: Scalars['Int']['input'];
315
+ eventData: DownloaderEventInput;
316
+ };
250
317
  export type MutationAddEvmWalletArgs = {
251
318
  wallet: Scalars['String']['input'];
252
319
  };
@@ -433,6 +500,9 @@ export type Query = {
433
500
  adminUsers: Array<AdminUsers>;
434
501
  approvedContracts: Array<ApprovedContracts>;
435
502
  boostProxy: Array<BoostProxy>;
503
+ daoSenderHistory: DaoSenderHistoryPage;
504
+ downloader: Array<Downloader>;
505
+ downloaderWithFilter?: Maybe<Array<Downloader>>;
436
506
  investedErc20: Array<InvestedErc20>;
437
507
  kolInvestedErc20: Array<KolInvestedErc20>;
438
508
  leaderBoard: Array<LeaderBoard>;
@@ -486,6 +556,13 @@ export type QueryApprovedContractsArgs = {
486
556
  export type QueryBoostProxyArgs = {
487
557
  campaignCodes: Array<Scalars['String']['input']>;
488
558
  };
559
+ export type QueryDaoSenderHistoryArgs = {
560
+ page: Scalars['Int']['input'];
561
+ };
562
+ export type QueryDownloaderWithFilterArgs = {
563
+ chainId?: InputMaybe<Scalars['Int']['input']>;
564
+ contractAddress?: InputMaybe<Scalars['String']['input']>;
565
+ };
489
566
  export type QueryInvestedErc20Args = {
490
567
  id: Scalars['Int']['input'];
491
568
  };
@@ -600,6 +677,8 @@ export type SimpleUrlShortener = {
600
677
  __typename?: 'SimpleUrlShortener';
601
678
  ContainerText: Scalars['String']['output'];
602
679
  ShortUrl: Scalars['String']['output'];
680
+ UrlToScan: Scalars['String']['output'];
681
+ XPostText: Scalars['String']['output'];
603
682
  };
604
683
  export type Status = {
605
684
  __typename?: 'Status';
@@ -835,6 +914,25 @@ export type BoostProxyUsersQuery = {
835
914
  }>;
836
915
  }>;
837
916
  };
917
+ export type DaoSenderHistoryQueryVariables = Exact<{
918
+ page: Scalars['Int']['input'];
919
+ }>;
920
+ export type DaoSenderHistoryQuery = {
921
+ __typename?: 'Query';
922
+ daoSenderHistory: {
923
+ __typename?: 'DaoSenderHistoryPage';
924
+ currentPage: number;
925
+ totalPages: number;
926
+ items?: Array<{
927
+ __typename?: 'DaoSenderHistory';
928
+ ChainId: number;
929
+ TxHash: string;
930
+ Token: string;
931
+ UserCount: number;
932
+ TotalAmount: number;
933
+ }> | null;
934
+ };
935
+ };
838
936
  export type MyQueryQueryVariables = Exact<{
839
937
  [key: string]: never;
840
938
  }>;
@@ -1151,6 +1249,8 @@ export type SimpleUrlShortenerQuery = {
1151
1249
  __typename?: 'SimpleUrlShortener';
1152
1250
  ShortUrl: string;
1153
1251
  ContainerText: string;
1252
+ UrlToScan: string;
1253
+ XPostText: string;
1154
1254
  } | null;
1155
1255
  };
1156
1256
  export type StatusQueryVariables = Exact<{
@@ -1249,6 +1349,9 @@ export declare const BoostProxyDataDocument: DocumentNode<BoostProxyDataQuery, E
1249
1349
  export declare const BoostProxyUsersDocument: DocumentNode<BoostProxyUsersQuery, Exact<{
1250
1350
  campaignCodes: Array<Scalars['String']['input']> | Scalars['String']['input'];
1251
1351
  }>>;
1352
+ export declare const DaoSenderHistoryDocument: DocumentNode<DaoSenderHistoryQuery, Exact<{
1353
+ page: Scalars['Int']['input'];
1354
+ }>>;
1252
1355
  export declare const MyQueryDocument: DocumentNode<MyQueryQuery, Exact<{
1253
1356
  [key: string]: never;
1254
1357
  }>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poolzfinance/api4",
3
- "version": "1.11.27",
3
+ "version": "1.11.29",
4
4
  "description": "Bridge between front and back",
5
5
  "type": "module",
6
6
  "source": "src/index.ts",