@poolzfinance/api4 1.11.9 → 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.
@@ -90,6 +90,9 @@ declare const documents: {
90
90
  "\n query SignUpCheck($poolIDs: [Int!]!) {\n mySignUpCheck(poolIDs: $poolIDs) {\n PoolId\n SignUp\n }\n }": DocumentNode<types.SignUpCheckQuery, types.Exact<{
91
91
  poolIDs: number | number[];
92
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
+ }>>;
93
96
  "\n query PoolxPrice {\n poolxPrice {\n Price\n Timestamp\n }\n }": DocumentNode<types.PoolxPriceQuery, types.Exact<{
94
97
  [key: string]: never;
95
98
  }>>;
@@ -220,6 +223,10 @@ export declare function gql(source: "\n query MyRole {\n myRole\n}"): (typeo
220
223
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
221
224
  */
222
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}"];
223
230
  /**
224
231
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
225
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';
@@ -152,13 +157,13 @@ export type CleanCacheResult = {
152
157
  id: Scalars['String']['output'];
153
158
  };
154
159
  export type DataOnAuth = {
155
- auth_date: Scalars['Int']['input'];
156
- first_name?: InputMaybe<Scalars['String']['input']>;
160
+ auth_date: Scalars['Long']['input'];
161
+ first_name: Scalars['String']['input'];
157
162
  hash: Scalars['String']['input'];
158
- id: Scalars['Int']['input'];
163
+ id: Scalars['Long']['input'];
159
164
  last_name?: InputMaybe<Scalars['String']['input']>;
160
165
  photo_url?: InputMaybe<Scalars['String']['input']>;
161
- username: Scalars['String']['input'];
166
+ username?: InputMaybe<Scalars['String']['input']>;
162
167
  };
163
168
  export type GenerateTokenFromSignature = {
164
169
  __typename?: 'GenerateTokenFromSignature';
@@ -323,6 +328,11 @@ export type NonEvmWallet = {
323
328
  ChainName: Scalars['String']['output'];
324
329
  Wallet: Scalars['String']['output'];
325
330
  };
331
+ export type OnboardingProject = {
332
+ __typename?: 'OnboardingProject';
333
+ ChatId: Scalars['Long']['output'];
334
+ ChatTitle?: Maybe<Scalars['String']['output']>;
335
+ };
326
336
  export type PoolxPrice = {
327
337
  __typename?: 'PoolxPrice';
328
338
  Price: Scalars['Float']['output'];
@@ -377,6 +387,7 @@ export type Query = {
377
387
  myRole: Scalars['String']['output'];
378
388
  mySignUpCheck: Array<SignUpCheck>;
379
389
  mySignup: Array<MySignUp>;
390
+ onboardingProjects: Array<OnboardingProject>;
380
391
  poolxPrice: PoolxPrice;
381
392
  poolxTokenomics: PoolxTokenomics;
382
393
  signUp: Array<SignUp>;
@@ -384,6 +395,7 @@ export type Query = {
384
395
  signUpCheck: Array<SignUpCheck>;
385
396
  signUpList: Array<SignUpList>;
386
397
  signUpsTimes: Array<SignUpsTimes>;
398
+ splitDataEncoder: Scalars['String']['output'];
387
399
  status: Array<Status>;
388
400
  time: Scalars['Int']['output'];
389
401
  tokenRefunds: Array<TokenRefunds>;
@@ -433,6 +445,9 @@ export type QueryMyInvestSumArgs = {
433
445
  export type QueryMySignUpCheckArgs = {
434
446
  poolIDs: Array<Scalars['Int']['input']>;
435
447
  };
448
+ export type QueryOnboardingProjectsArgs = {
449
+ dataOnAuth: DataOnAuth;
450
+ };
436
451
  export type QuerySignUpArgs = {
437
452
  id: Scalars['Int']['input'];
438
453
  };
@@ -452,6 +467,10 @@ export type QuerySignUpCheckArgs = {
452
467
  export type QuerySignUpListArgs = {
453
468
  id: Scalars['Int']['input'];
454
469
  };
470
+ export type QuerySplitDataEncoderArgs = {
471
+ address: Scalars['String']['input'];
472
+ ratio: Scalars['Float']['input'];
473
+ };
455
474
  export type QueryTokenRefundsArgs = {
456
475
  chainId: Scalars['Int']['input'];
457
476
  fromBlock?: InputMaybe<Scalars['Int']['input']>;
@@ -895,6 +914,17 @@ export type SignUpCheckQuery = {
895
914
  SignUp?: boolean | null;
896
915
  }>;
897
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
+ };
898
928
  export type PoolxPriceQueryVariables = Exact<{
899
929
  [key: string]: never;
900
930
  }>;
@@ -1085,6 +1115,9 @@ export declare const MyRoleDocument: DocumentNode<MyRoleQuery, Exact<{
1085
1115
  export declare const SignUpCheckDocument: DocumentNode<SignUpCheckQuery, Exact<{
1086
1116
  poolIDs: Array<Scalars['Int']['input']> | Scalars['Int']['input'];
1087
1117
  }>>;
1118
+ export declare const OnboardingProjectsDocument: DocumentNode<OnboardingProjectsQuery, Exact<{
1119
+ dataOnAuth: DataOnAuth;
1120
+ }>>;
1088
1121
  export declare const PoolxPriceDocument: DocumentNode<PoolxPriceQuery, Exact<{
1089
1122
  [key: string]: never;
1090
1123
  }>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poolzfinance/api4",
3
- "version": "1.11.9",
3
+ "version": "1.11.10",
4
4
  "description": "Bridge between front and back",
5
5
  "type": "module",
6
6
  "source": "src/index.ts",