@poolzfinance/api4 1.8.15 → 1.9.1

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.
@@ -59,6 +59,9 @@ declare const documents: {
59
59
  chainName: string;
60
60
  wallet: string;
61
61
  }>>;
62
+ "\n query MyRole {\n myRole\n}": DocumentNode<types.MyRoleQuery, types.Exact<{
63
+ [key: string]: never;
64
+ }>>;
62
65
  "\n query Signup($signUpId: Int!) {\n signUp(id: $signUpId) {\n Address\n Amount\n }\n}": DocumentNode<types.SignupQuery, types.Exact<{
63
66
  signUpId: number;
64
67
  }>>;
@@ -139,6 +142,10 @@ export declare function gql(source: "\n mutation DeleteNonEvmWallet($chainName:
139
142
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
140
143
  */
141
144
  export declare function gql(source: "\n mutation UpdateNonEvmWallet($chainName: String!, $wallet: String!) {\n updateNonEvmWallet(chainName: $chainName, wallet: $wallet) {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n }\n}"): (typeof documents)["\n mutation UpdateNonEvmWallet($chainName: String!, $wallet: String!) {\n updateNonEvmWallet(chainName: $chainName, wallet: $wallet) {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n }\n}"];
145
+ /**
146
+ * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
147
+ */
148
+ export declare function gql(source: "\n query MyRole {\n myRole\n}"): (typeof documents)["\n query MyRole {\n myRole\n}"];
142
149
  /**
143
150
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
144
151
  */
@@ -128,6 +128,13 @@ export type KycData = {
128
128
  submitCount?: Maybe<Scalars['Int']['output']>;
129
129
  waitingDate?: Maybe<Scalars['String']['output']>;
130
130
  };
131
+ export type KycProxy = {
132
+ __typename?: 'KycProxy';
133
+ Name?: Maybe<Scalars['String']['output']>;
134
+ Proxy?: Maybe<Scalars['String']['output']>;
135
+ RequestStatus: Scalars['String']['output'];
136
+ Status?: Maybe<Scalars['String']['output']>;
137
+ };
131
138
  export type LeaderBoard = {
132
139
  __typename?: 'LeaderBoard';
133
140
  Amount: Scalars['Float']['output'];
@@ -268,7 +275,9 @@ export type Query = {
268
275
  investedErc20: Array<InvestedErc20>;
269
276
  leaderBoard: Array<LeaderBoard>;
270
277
  myData?: Maybe<MyData>;
278
+ /** @deprecated Use a new query 'myProxyKYC'. */
271
279
  myKYC: Kyc;
280
+ myProxyKYC: KycProxy;
272
281
  myRole: Scalars['String']['output'];
273
282
  mySignup: Array<MySignUp>;
274
283
  poolxTokenomics: PoolxTokenomics;
@@ -629,6 +638,13 @@ export type UpdateNonEvmWalletMutation = {
629
638
  }>;
630
639
  };
631
640
  };
641
+ export type MyRoleQueryVariables = Exact<{
642
+ [key: string]: never;
643
+ }>;
644
+ export type MyRoleQuery = {
645
+ __typename?: 'Query';
646
+ myRole: string;
647
+ };
632
648
  export type SignupQueryVariables = Exact<{
633
649
  signUpId: Scalars['Int']['input'];
634
650
  }>;
@@ -698,6 +714,9 @@ export declare const UpdateNonEvmWalletDocument: DocumentNode<UpdateNonEvmWallet
698
714
  chainName: Scalars['String']['input'];
699
715
  wallet: Scalars['String']['input'];
700
716
  }>>;
717
+ export declare const MyRoleDocument: DocumentNode<MyRoleQuery, Exact<{
718
+ [key: string]: never;
719
+ }>>;
701
720
  export declare const SignupDocument: DocumentNode<SignupQuery, Exact<{
702
721
  signUpId: Scalars['Int']['input'];
703
722
  }>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poolzfinance/api4",
3
- "version": "1.8.15",
3
+ "version": "1.9.1",
4
4
  "description": "Bridge between front and back",
5
5
  "type": "module",
6
6
  "source": "src/index.ts",