@poolzfinance/api4 1.8.14 → 1.9.0

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,12 @@ declare const documents: {
42
42
  "\n query MyData {\n myData {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n EvmWallets\n }\n}": DocumentNode<types.MyDataQuery, types.Exact<{
43
43
  [key: string]: never;
44
44
  }>>;
45
+ "\n mutation AddEvmWallet($wallet: String!) {\n addEvmWallet(wallet: $wallet) {\n EvmWallet\n }\n}": DocumentNode<types.AddEvmWalletMutation, types.Exact<{
46
+ wallet: string;
47
+ }>>;
48
+ "\n mutation DeleteEvmWallet($wallet: String!) {\n deleteEvmWallet(wallet: $wallet) {\n EvmWallet\n }\n}": DocumentNode<types.DeleteEvmWalletMutation, types.Exact<{
49
+ wallet: string;
50
+ }>>;
45
51
  "\n mutation AddNonEvmWallet($chainName: String!, $wallet: String!) {\n addNonEvmWallet(chainName: $chainName, wallet: $wallet) {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n EvmWallet\n }\n}": DocumentNode<types.AddNonEvmWalletMutation, types.Exact<{
46
52
  chainName: string;
47
53
  wallet: string;
@@ -53,6 +59,9 @@ declare const documents: {
53
59
  chainName: string;
54
60
  wallet: string;
55
61
  }>>;
62
+ "\n query MyRole {\n myRole\n}": DocumentNode<types.MyRoleQuery, types.Exact<{
63
+ [key: string]: never;
64
+ }>>;
56
65
  "\n query Signup($signUpId: Int!) {\n signUp(id: $signUpId) {\n Address\n Amount\n }\n}": DocumentNode<types.SignupQuery, types.Exact<{
57
66
  signUpId: number;
58
67
  }>>;
@@ -113,6 +122,14 @@ export declare function gql(source: "\n mutation setMyAgree {\n setMyAgree\n
113
122
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
114
123
  */
115
124
  export declare function gql(source: "\n query MyData {\n myData {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n EvmWallets\n }\n}"): (typeof documents)["\n query MyData {\n myData {\n Agree\n NonEvmWallet {\n ChainName\n Wallet\n }\n EvmWallets\n }\n}"];
125
+ /**
126
+ * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
127
+ */
128
+ export declare function gql(source: "\n mutation AddEvmWallet($wallet: String!) {\n addEvmWallet(wallet: $wallet) {\n EvmWallet\n }\n}"): (typeof documents)["\n mutation AddEvmWallet($wallet: String!) {\n addEvmWallet(wallet: $wallet) {\n EvmWallet\n }\n}"];
129
+ /**
130
+ * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
131
+ */
132
+ export declare function gql(source: "\n mutation DeleteEvmWallet($wallet: String!) {\n deleteEvmWallet(wallet: $wallet) {\n EvmWallet\n }\n}"): (typeof documents)["\n mutation DeleteEvmWallet($wallet: String!) {\n deleteEvmWallet(wallet: $wallet) {\n EvmWallet\n }\n}"];
116
133
  /**
117
134
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
118
135
  */
@@ -125,6 +142,10 @@ export declare function gql(source: "\n mutation DeleteNonEvmWallet($chainName:
125
142
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
126
143
  */
127
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}"];
128
149
  /**
129
150
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
130
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;
@@ -561,6 +570,26 @@ export type MyDataQuery = {
561
570
  }>;
562
571
  } | null;
563
572
  };
573
+ export type AddEvmWalletMutationVariables = Exact<{
574
+ wallet: Scalars['String']['input'];
575
+ }>;
576
+ export type AddEvmWalletMutation = {
577
+ __typename?: 'Mutation';
578
+ addEvmWallet: {
579
+ __typename?: 'UserData';
580
+ EvmWallet: Array<string>;
581
+ };
582
+ };
583
+ export type DeleteEvmWalletMutationVariables = Exact<{
584
+ wallet: Scalars['String']['input'];
585
+ }>;
586
+ export type DeleteEvmWalletMutation = {
587
+ __typename?: 'Mutation';
588
+ deleteEvmWallet: {
589
+ __typename?: 'UserData';
590
+ EvmWallet: Array<string>;
591
+ };
592
+ };
564
593
  export type AddNonEvmWalletMutationVariables = Exact<{
565
594
  chainName: Scalars['String']['input'];
566
595
  wallet: Scalars['String']['input'];
@@ -609,6 +638,13 @@ export type UpdateNonEvmWalletMutation = {
609
638
  }>;
610
639
  };
611
640
  };
641
+ export type MyRoleQueryVariables = Exact<{
642
+ [key: string]: never;
643
+ }>;
644
+ export type MyRoleQuery = {
645
+ __typename?: 'Query';
646
+ myRole: string;
647
+ };
612
648
  export type SignupQueryVariables = Exact<{
613
649
  signUpId: Scalars['Int']['input'];
614
650
  }>;
@@ -661,6 +697,12 @@ export declare const SetMyAgreeDocument: DocumentNode<SetMyAgreeMutation, Exact<
661
697
  export declare const MyDataDocument: DocumentNode<MyDataQuery, Exact<{
662
698
  [key: string]: never;
663
699
  }>>;
700
+ export declare const AddEvmWalletDocument: DocumentNode<AddEvmWalletMutation, Exact<{
701
+ wallet: Scalars['String']['input'];
702
+ }>>;
703
+ export declare const DeleteEvmWalletDocument: DocumentNode<DeleteEvmWalletMutation, Exact<{
704
+ wallet: Scalars['String']['input'];
705
+ }>>;
664
706
  export declare const AddNonEvmWalletDocument: DocumentNode<AddNonEvmWalletMutation, Exact<{
665
707
  chainName: Scalars['String']['input'];
666
708
  wallet: Scalars['String']['input'];
@@ -672,6 +714,9 @@ export declare const UpdateNonEvmWalletDocument: DocumentNode<UpdateNonEvmWallet
672
714
  chainName: Scalars['String']['input'];
673
715
  wallet: Scalars['String']['input'];
674
716
  }>>;
717
+ export declare const MyRoleDocument: DocumentNode<MyRoleQuery, Exact<{
718
+ [key: string]: never;
719
+ }>>;
675
720
  export declare const SignupDocument: DocumentNode<SignupQuery, Exact<{
676
721
  signUpId: Scalars['Int']['input'];
677
722
  }>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poolzfinance/api4",
3
- "version": "1.8.14",
3
+ "version": "1.9.0",
4
4
  "description": "Bridge between front and back",
5
5
  "type": "module",
6
6
  "source": "src/index.ts",