@poolzfinance/api4 1.9.2 → 1.9.5

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.
@@ -21,9 +21,6 @@ declare const documents: {
21
21
  eip4361message: string;
22
22
  signature: string;
23
23
  }>>;
24
- "\n query KYC {\n myKYC {\n name\n data {\n status\n }\n }\n}": DocumentNode<types.KycQuery, types.Exact<{
25
- [key: string]: never;
26
- }>>;
27
24
  "\n query getTotalPoolz {\n totalPoolzLocked {\n Locked\n Data {\n LockedDealV2\n DelayVault\n Reserved\n }\n }\n}": DocumentNode<types.GetTotalPoolzQuery, types.Exact<{
28
25
  [key: string]: never;
29
26
  }>>;
@@ -59,6 +56,9 @@ declare const documents: {
59
56
  chainName: string;
60
57
  wallet: string;
61
58
  }>>;
59
+ "\n query KYC {\n myProxyKYC {\n Proxy\n RequestStatus\n Status\n }\n}": DocumentNode<types.KycQuery, types.Exact<{
60
+ [key: string]: never;
61
+ }>>;
62
62
  "\n query MyRole {\n myRole\n}": DocumentNode<types.MyRoleQuery, types.Exact<{
63
63
  [key: string]: never;
64
64
  }>>;
@@ -94,10 +94,6 @@ export declare function gql(source: "\n query MyQuery {\n time\n}"): (typeof
94
94
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
95
95
  */
96
96
  export declare function gql(source: "\nmutation GenerateTokenFromSignature($eip4361message: String!, $signature: String!) {\n generateTokenFromSignature(eip4361message: $eip4361message, signature: $signature){\n token\n validUntil\n }\n}"): (typeof documents)["\nmutation GenerateTokenFromSignature($eip4361message: String!, $signature: String!) {\n generateTokenFromSignature(eip4361message: $eip4361message, signature: $signature){\n token\n validUntil\n }\n}"];
97
- /**
98
- * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
99
- */
100
- export declare function gql(source: "\n query KYC {\n myKYC {\n name\n data {\n status\n }\n }\n}"): (typeof documents)["\n query KYC {\n myKYC {\n name\n data {\n status\n }\n }\n}"];
101
97
  /**
102
98
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
103
99
  */
@@ -142,6 +138,10 @@ export declare function gql(source: "\n mutation DeleteNonEvmWallet($chainName:
142
138
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
143
139
  */
144
140
  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}"];
141
+ /**
142
+ * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
143
+ */
144
+ export declare function gql(source: "\n query KYC {\n myProxyKYC {\n Proxy\n RequestStatus\n Status\n }\n}"): (typeof documents)["\n query KYC {\n myProxyKYC {\n Proxy\n RequestStatus\n Status\n }\n}"];
145
145
  /**
146
146
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
147
147
  */
@@ -130,7 +130,6 @@ export type KycData = {
130
130
  };
131
131
  export type KycProxy = {
132
132
  __typename?: 'KycProxy';
133
- Name?: Maybe<Scalars['String']['output']>;
134
133
  Proxy?: Maybe<Scalars['String']['output']>;
135
134
  RequestStatus: Scalars['String']['output'];
136
135
  Status?: Maybe<Scalars['String']['output']>;
@@ -486,20 +485,6 @@ export type GenerateTokenFromSignatureMutation = {
486
485
  validUntil: number;
487
486
  };
488
487
  };
489
- export type KycQueryVariables = Exact<{
490
- [key: string]: never;
491
- }>;
492
- export type KycQuery = {
493
- __typename?: 'Query';
494
- myKYC: {
495
- __typename?: 'Kyc';
496
- name: string;
497
- data: {
498
- __typename?: 'KycData';
499
- status: string;
500
- };
501
- };
502
- };
503
488
  export type GetTotalPoolzQueryVariables = Exact<{
504
489
  [key: string]: never;
505
490
  }>;
@@ -638,6 +623,18 @@ export type UpdateNonEvmWalletMutation = {
638
623
  }>;
639
624
  };
640
625
  };
626
+ export type KycQueryVariables = Exact<{
627
+ [key: string]: never;
628
+ }>;
629
+ export type KycQuery = {
630
+ __typename?: 'Query';
631
+ myProxyKYC: {
632
+ __typename?: 'KycProxy';
633
+ Proxy?: string | null;
634
+ RequestStatus: string;
635
+ Status?: string | null;
636
+ };
637
+ };
641
638
  export type MyRoleQueryVariables = Exact<{
642
639
  [key: string]: never;
643
640
  }>;
@@ -676,9 +673,6 @@ export declare const GenerateTokenFromSignatureDocument: DocumentNode<GenerateTo
676
673
  eip4361message: Scalars['String']['input'];
677
674
  signature: Scalars['String']['input'];
678
675
  }>>;
679
- export declare const KycDocument: DocumentNode<KycQuery, Exact<{
680
- [key: string]: never;
681
- }>>;
682
676
  export declare const GetTotalPoolzDocument: DocumentNode<GetTotalPoolzQuery, Exact<{
683
677
  [key: string]: never;
684
678
  }>>;
@@ -714,6 +708,9 @@ export declare const UpdateNonEvmWalletDocument: DocumentNode<UpdateNonEvmWallet
714
708
  chainName: Scalars['String']['input'];
715
709
  wallet: Scalars['String']['input'];
716
710
  }>>;
711
+ export declare const KycDocument: DocumentNode<KycQuery, Exact<{
712
+ [key: string]: never;
713
+ }>>;
717
714
  export declare const MyRoleDocument: DocumentNode<MyRoleQuery, Exact<{
718
715
  [key: string]: never;
719
716
  }>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poolzfinance/api4",
3
- "version": "1.9.2",
3
+ "version": "1.9.5",
4
4
  "description": "Bridge between front and back",
5
5
  "type": "module",
6
6
  "source": "src/index.ts",
@@ -1,5 +0,0 @@
1
- export declare const useGetKYCStatus: () => {
2
- loading: boolean;
3
- error: import("@apollo/client").ApolloError | undefined;
4
- data: import("../types/graphql/graphql").KycQuery | undefined;
5
- };