@poolzfinance/api4 1.11.8 → 1.11.10

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.
@@ -11,6 +11,9 @@ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/
11
11
  * Therefore it is highly recommended to use the babel or swc plugin for production.
12
12
  */
13
13
  declare const documents: {
14
+ "\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}": DocumentNode<types.AdminCleanCacheMutation, types.Exact<{
15
+ [key: string]: never;
16
+ }>>;
14
17
  "\n query GetApprovedContracts($onlyApproved: Boolean!) {\n approvedContracts(onlyApproved: $onlyApproved) {\n ContractAddress\n Status\n }\n }": DocumentNode<types.GetApprovedContractsQuery, types.Exact<{
15
18
  onlyApproved: boolean;
16
19
  }>>;
@@ -87,6 +90,9 @@ declare const documents: {
87
90
  "\n query SignUpCheck($poolIDs: [Int!]!) {\n mySignUpCheck(poolIDs: $poolIDs) {\n PoolId\n SignUp\n }\n }": DocumentNode<types.SignUpCheckQuery, types.Exact<{
88
91
  poolIDs: number | number[];
89
92
  }>>;
93
+ "\nquery OnboardingProjects($dataOnAuth: DataOnAuth!) {\n onboardingProjects(dataOnAuth: $dataOnAuth)\n {\n ChatId\n ChatTitle\n }\n}": DocumentNode<types.OnboardingProjectsQuery, types.Exact<{
94
+ dataOnAuth: types.DataOnAuth;
95
+ }>>;
90
96
  "\n query PoolxPrice {\n poolxPrice {\n Price\n Timestamp\n }\n }": DocumentNode<types.PoolxPriceQuery, types.Exact<{
91
97
  [key: string]: never;
92
98
  }>>;
@@ -121,6 +127,10 @@ declare const documents: {
121
127
  * Please regenerate the types.
122
128
  */
123
129
  export declare function gql(source: string): unknown;
130
+ /**
131
+ * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
132
+ */
133
+ export declare function gql(source: "\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 documents)["\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}"];
124
134
  /**
125
135
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
126
136
  */
@@ -213,6 +223,10 @@ export declare function gql(source: "\n query MyRole {\n myRole\n}"): (typeo
213
223
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
214
224
  */
215
225
  export declare function gql(source: "\n query SignUpCheck($poolIDs: [Int!]!) {\n mySignUpCheck(poolIDs: $poolIDs) {\n PoolId\n SignUp\n }\n }"): (typeof documents)["\n query SignUpCheck($poolIDs: [Int!]!) {\n mySignUpCheck(poolIDs: $poolIDs) {\n PoolId\n SignUp\n }\n }"];
226
+ /**
227
+ * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
228
+ */
229
+ export declare function gql(source: "\nquery OnboardingProjects($dataOnAuth: DataOnAuth!) {\n onboardingProjects(dataOnAuth: $dataOnAuth)\n {\n ChatId\n ChatTitle\n }\n}"): (typeof documents)["\nquery OnboardingProjects($dataOnAuth: DataOnAuth!) {\n onboardingProjects(dataOnAuth: $dataOnAuth)\n {\n ChatId\n ChatTitle\n }\n}"];
216
230
  /**
217
231
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
218
232
  */
@@ -42,6 +42,11 @@ export type Scalars = {
42
42
  input: number;
43
43
  output: number;
44
44
  };
45
+ /** Long type */
46
+ Long: {
47
+ input: any;
48
+ output: any;
49
+ };
45
50
  };
46
51
  export type ActionRegistry = {
47
52
  __typename?: 'ActionRegistry';
@@ -130,14 +135,35 @@ export type BoostProxyUser = {
130
135
  Address: Scalars['String']['output'];
131
136
  Entries: Scalars['Int']['output'];
132
137
  };
138
+ export type CleanCache = {
139
+ __typename?: 'CleanCache';
140
+ errors: Array<CleanCacheError>;
141
+ messages: Array<CleanCacheMessage>;
142
+ result: CleanCacheResult;
143
+ success: Scalars['Boolean']['output'];
144
+ };
145
+ export type CleanCacheError = {
146
+ __typename?: 'CleanCacheError';
147
+ code: Scalars['Int']['output'];
148
+ message: Scalars['String']['output'];
149
+ };
150
+ export type CleanCacheMessage = {
151
+ __typename?: 'CleanCacheMessage';
152
+ code: Scalars['Int']['output'];
153
+ message: Scalars['String']['output'];
154
+ };
155
+ export type CleanCacheResult = {
156
+ __typename?: 'CleanCacheResult';
157
+ id: Scalars['String']['output'];
158
+ };
133
159
  export type DataOnAuth = {
134
- auth_date: Scalars['Int']['input'];
135
- first_name?: InputMaybe<Scalars['String']['input']>;
160
+ auth_date: Scalars['Long']['input'];
161
+ first_name: Scalars['String']['input'];
136
162
  hash: Scalars['String']['input'];
137
- id: Scalars['Int']['input'];
163
+ id: Scalars['Long']['input'];
138
164
  last_name?: InputMaybe<Scalars['String']['input']>;
139
165
  photo_url?: InputMaybe<Scalars['String']['input']>;
140
- username: Scalars['String']['input'];
166
+ username?: InputMaybe<Scalars['String']['input']>;
141
167
  };
142
168
  export type GenerateTokenFromSignature = {
143
169
  __typename?: 'GenerateTokenFromSignature';
@@ -195,6 +221,7 @@ export type Mutation = {
195
221
  addNonEvmWallet: UserData;
196
222
  addUser: AdminUsers;
197
223
  adminAddAction: AdminAction;
224
+ adminCleanCache: CleanCache;
198
225
  adminDeleteAction: Scalars['Boolean']['output'];
199
226
  adminUpdateAction: ActionSettings;
200
227
  deleteAutoSignUp: AdminAutoSignUp;
@@ -301,6 +328,11 @@ export type NonEvmWallet = {
301
328
  ChainName: Scalars['String']['output'];
302
329
  Wallet: Scalars['String']['output'];
303
330
  };
331
+ export type OnboardingProject = {
332
+ __typename?: 'OnboardingProject';
333
+ ChatId: Scalars['Long']['output'];
334
+ ChatTitle?: Maybe<Scalars['String']['output']>;
335
+ };
304
336
  export type PoolxPrice = {
305
337
  __typename?: 'PoolxPrice';
306
338
  Price: Scalars['Float']['output'];
@@ -355,6 +387,7 @@ export type Query = {
355
387
  myRole: Scalars['String']['output'];
356
388
  mySignUpCheck: Array<SignUpCheck>;
357
389
  mySignup: Array<MySignUp>;
390
+ onboardingProjects: Array<OnboardingProject>;
358
391
  poolxPrice: PoolxPrice;
359
392
  poolxTokenomics: PoolxTokenomics;
360
393
  signUp: Array<SignUp>;
@@ -362,6 +395,7 @@ export type Query = {
362
395
  signUpCheck: Array<SignUpCheck>;
363
396
  signUpList: Array<SignUpList>;
364
397
  signUpsTimes: Array<SignUpsTimes>;
398
+ splitDataEncoder: Scalars['String']['output'];
365
399
  status: Array<Status>;
366
400
  time: Scalars['Int']['output'];
367
401
  tokenRefunds: Array<TokenRefunds>;
@@ -411,6 +445,9 @@ export type QueryMyInvestSumArgs = {
411
445
  export type QueryMySignUpCheckArgs = {
412
446
  poolIDs: Array<Scalars['Int']['input']>;
413
447
  };
448
+ export type QueryOnboardingProjectsArgs = {
449
+ dataOnAuth: DataOnAuth;
450
+ };
414
451
  export type QuerySignUpArgs = {
415
452
  id: Scalars['Int']['input'];
416
453
  };
@@ -430,6 +467,10 @@ export type QuerySignUpCheckArgs = {
430
467
  export type QuerySignUpListArgs = {
431
468
  id: Scalars['Int']['input'];
432
469
  };
470
+ export type QuerySplitDataEncoderArgs = {
471
+ address: Scalars['String']['input'];
472
+ ratio: Scalars['Float']['input'];
473
+ };
433
474
  export type QueryTokenRefundsArgs = {
434
475
  chainId: Scalars['Int']['input'];
435
476
  fromBlock?: InputMaybe<Scalars['Int']['input']>;
@@ -570,6 +611,30 @@ export type VaultsDataBalance = {
570
611
  BalanceOfToken: Scalars['Float']['output'];
571
612
  FetchTime: Scalars['Int']['output'];
572
613
  };
614
+ export type AdminCleanCacheMutationVariables = Exact<{
615
+ [key: string]: never;
616
+ }>;
617
+ export type AdminCleanCacheMutation = {
618
+ __typename?: 'Mutation';
619
+ adminCleanCache: {
620
+ __typename?: 'CleanCache';
621
+ success: boolean;
622
+ result: {
623
+ __typename?: 'CleanCacheResult';
624
+ id: string;
625
+ };
626
+ messages: Array<{
627
+ __typename?: 'CleanCacheMessage';
628
+ code: number;
629
+ message: string;
630
+ }>;
631
+ errors: Array<{
632
+ __typename?: 'CleanCacheError';
633
+ code: number;
634
+ message: string;
635
+ }>;
636
+ };
637
+ };
573
638
  export type GetApprovedContractsQueryVariables = Exact<{
574
639
  onlyApproved: Scalars['Boolean']['input'];
575
640
  }>;
@@ -849,6 +914,17 @@ export type SignUpCheckQuery = {
849
914
  SignUp?: boolean | null;
850
915
  }>;
851
916
  };
917
+ export type OnboardingProjectsQueryVariables = Exact<{
918
+ dataOnAuth: DataOnAuth;
919
+ }>;
920
+ export type OnboardingProjectsQuery = {
921
+ __typename?: 'Query';
922
+ onboardingProjects: Array<{
923
+ __typename?: 'OnboardingProject';
924
+ ChatId: any;
925
+ ChatTitle?: string | null;
926
+ }>;
927
+ };
852
928
  export type PoolxPriceQueryVariables = Exact<{
853
929
  [key: string]: never;
854
930
  }>;
@@ -960,6 +1036,9 @@ export type DataQuery = {
960
1036
  }>;
961
1037
  }>;
962
1038
  };
1039
+ export declare const AdminCleanCacheDocument: DocumentNode<AdminCleanCacheMutation, Exact<{
1040
+ [key: string]: never;
1041
+ }>>;
963
1042
  export declare const GetApprovedContractsDocument: DocumentNode<GetApprovedContractsQuery, Exact<{
964
1043
  onlyApproved: Scalars['Boolean']['input'];
965
1044
  }>>;
@@ -1036,6 +1115,9 @@ export declare const MyRoleDocument: DocumentNode<MyRoleQuery, Exact<{
1036
1115
  export declare const SignUpCheckDocument: DocumentNode<SignUpCheckQuery, Exact<{
1037
1116
  poolIDs: Array<Scalars['Int']['input']> | Scalars['Int']['input'];
1038
1117
  }>>;
1118
+ export declare const OnboardingProjectsDocument: DocumentNode<OnboardingProjectsQuery, Exact<{
1119
+ dataOnAuth: DataOnAuth;
1120
+ }>>;
1039
1121
  export declare const PoolxPriceDocument: DocumentNode<PoolxPriceQuery, Exact<{
1040
1122
  [key: string]: never;
1041
1123
  }>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poolzfinance/api4",
3
- "version": "1.11.8",
3
+ "version": "1.11.10",
4
4
  "description": "Bridge between front and back",
5
5
  "type": "module",
6
6
  "source": "src/index.ts",