@portkey/graphql 0.0.1-alpha.8.9 → 0.0.2-alpha.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (171) hide show
  1. package/README.md +1 -0
  2. package/dist/commonjs/client.d.ts +3 -0
  3. package/dist/{client.js → commonjs/client.js} +0 -1
  4. package/dist/{did → commonjs/did}/__generated__/hooks/caHolderInfo.d.ts +16 -1
  5. package/dist/{did → commonjs/did}/__generated__/hooks/caHolderInfo.js +16 -1
  6. package/dist/{did → commonjs/did}/__generated__/hooks/caHolderManagerChangeRecordInfo.d.ts +16 -1
  7. package/dist/{did → commonjs/did}/__generated__/hooks/caHolderManagerChangeRecordInfo.js +16 -1
  8. package/dist/{did → commonjs/did}/__generated__/hooks/caHolderManagerInfo.d.ts +16 -1
  9. package/dist/{did → commonjs/did}/__generated__/hooks/caHolderManagerInfo.js +16 -1
  10. package/dist/{did → commonjs/did}/__generated__/hooks/caHolderNFTBalanceInfo.d.ts +16 -1
  11. package/dist/{did → commonjs/did}/__generated__/hooks/caHolderNFTBalanceInfo.js +16 -1
  12. package/dist/{did → commonjs/did}/__generated__/hooks/caHolderNFTCollectionBalanceInfo.d.ts +16 -1
  13. package/dist/{did → commonjs/did}/__generated__/hooks/caHolderNFTCollectionBalanceInfo.js +16 -1
  14. package/dist/{did → commonjs/did}/__generated__/hooks/caHolderSearchTokenNFT.d.ts +16 -1
  15. package/dist/{did → commonjs/did}/__generated__/hooks/caHolderSearchTokenNFT.js +16 -1
  16. package/dist/{did → commonjs/did}/__generated__/hooks/caHolderTokenBalanceInfo.d.ts +16 -1
  17. package/dist/{did → commonjs/did}/__generated__/hooks/caHolderTokenBalanceInfo.js +16 -1
  18. package/dist/{did → commonjs/did}/__generated__/hooks/caHolderTransaction.d.ts +16 -1
  19. package/dist/{did → commonjs/did}/__generated__/hooks/caHolderTransaction.js +16 -1
  20. package/dist/{did → commonjs/did}/__generated__/hooks/caHolderTransactionAddressInfo.d.ts +16 -1
  21. package/dist/{did → commonjs/did}/__generated__/hooks/caHolderTransactionAddressInfo.js +16 -1
  22. package/dist/{did → commonjs/did}/__generated__/hooks/caHolderTransactionInfo.d.ts +16 -1
  23. package/dist/{did → commonjs/did}/__generated__/hooks/caHolderTransactionInfo.js +16 -1
  24. package/dist/{did → commonjs/did}/__generated__/hooks/loginGuardianChangeRecordInfo.d.ts +16 -1
  25. package/dist/{did → commonjs/did}/__generated__/hooks/loginGuardianChangeRecordInfo.js +16 -1
  26. package/dist/{did → commonjs/did}/__generated__/hooks/loginGuardianInfo.d.ts +16 -1
  27. package/dist/{did → commonjs/did}/__generated__/hooks/loginGuardianInfo.js +16 -1
  28. package/dist/{did → commonjs/did}/__generated__/hooks/syncState.d.ts +16 -1
  29. package/dist/{did → commonjs/did}/__generated__/hooks/syncState.js +16 -1
  30. package/dist/{did → commonjs/did}/__generated__/hooks/tokenInfo.d.ts +16 -1
  31. package/dist/{did → commonjs/did}/__generated__/hooks/tokenInfo.js +16 -1
  32. package/dist/{did → commonjs/did}/__generated__/types.d.ts +1 -1
  33. package/dist/{did → commonjs/did}/__generated__/types.js +0 -1
  34. package/dist/{did → commonjs/did}/index.d.ts +0 -2
  35. package/dist/{did → commonjs/did}/index.js +0 -1
  36. package/dist/commonjs/did/utils.d.ts +6 -0
  37. package/dist/{did → commonjs/did}/utils.js +2 -1
  38. package/dist/{index.d.ts → commonjs/index.d.ts} +0 -1
  39. package/dist/{index.js → commonjs/index.js} +0 -1
  40. package/dist/commonjs/package.json +1 -0
  41. package/dist/{types → commonjs/types}/did.d.ts +1 -2
  42. package/dist/{types → commonjs/types}/did.js +0 -1
  43. package/dist/commonjs/types/index.d.ts +8 -0
  44. package/dist/{types → commonjs/types}/index.js +0 -1
  45. package/dist/esm/client.d.ts +3 -0
  46. package/dist/esm/client.js +11 -0
  47. package/dist/esm/did/__generated__/hooks/caHolderInfo.d.ts +58 -0
  48. package/dist/esm/did/__generated__/hooks/caHolderInfo.js +51 -0
  49. package/dist/esm/did/__generated__/hooks/caHolderManagerChangeRecordInfo.d.ts +42 -0
  50. package/dist/esm/did/__generated__/hooks/caHolderManagerChangeRecordInfo.js +38 -0
  51. package/dist/esm/did/__generated__/hooks/caHolderManagerInfo.d.ts +47 -0
  52. package/dist/esm/did/__generated__/hooks/caHolderManagerInfo.js +42 -0
  53. package/dist/esm/did/__generated__/hooks/caHolderNFTBalanceInfo.d.ts +60 -0
  54. package/dist/esm/did/__generated__/hooks/caHolderNFTBalanceInfo.js +54 -0
  55. package/dist/esm/did/__generated__/hooks/caHolderNFTCollectionBalanceInfo.d.ts +58 -0
  56. package/dist/esm/did/__generated__/hooks/caHolderNFTCollectionBalanceInfo.js +52 -0
  57. package/dist/esm/did/__generated__/hooks/caHolderSearchTokenNFT.d.ts +77 -0
  58. package/dist/esm/did/__generated__/hooks/caHolderSearchTokenNFT.js +70 -0
  59. package/dist/esm/did/__generated__/hooks/caHolderTokenBalanceInfo.d.ts +62 -0
  60. package/dist/esm/did/__generated__/hooks/caHolderTokenBalanceInfo.js +56 -0
  61. package/dist/esm/did/__generated__/hooks/caHolderTransaction.d.ts +98 -0
  62. package/dist/esm/did/__generated__/hooks/caHolderTransaction.js +89 -0
  63. package/dist/esm/did/__generated__/hooks/caHolderTransactionAddressInfo.d.ts +46 -0
  64. package/dist/esm/did/__generated__/hooks/caHolderTransactionAddressInfo.js +41 -0
  65. package/dist/esm/did/__generated__/hooks/caHolderTransactionInfo.d.ts +98 -0
  66. package/dist/esm/did/__generated__/hooks/caHolderTransactionInfo.js +89 -0
  67. package/dist/esm/did/__generated__/hooks/loginGuardianChangeRecordInfo.d.ts +52 -0
  68. package/dist/esm/did/__generated__/hooks/loginGuardianChangeRecordInfo.js +47 -0
  69. package/dist/esm/did/__generated__/hooks/loginGuardianInfo.d.ts +50 -0
  70. package/dist/esm/did/__generated__/hooks/loginGuardianInfo.js +45 -0
  71. package/dist/esm/did/__generated__/hooks/syncState.d.ts +38 -0
  72. package/dist/esm/did/__generated__/hooks/syncState.js +34 -0
  73. package/dist/esm/did/__generated__/hooks/tokenInfo.d.ts +51 -0
  74. package/dist/esm/did/__generated__/hooks/tokenInfo.js +47 -0
  75. package/dist/esm/did/__generated__/types.d.ts +416 -0
  76. package/dist/esm/did/__generated__/types.js +22 -0
  77. package/dist/esm/did/index.d.ts +13 -0
  78. package/dist/esm/did/index.js +53 -0
  79. package/dist/esm/did/utils.d.ts +6 -0
  80. package/dist/esm/did/utils.js +28 -0
  81. package/dist/esm/index.d.ts +3 -0
  82. package/dist/esm/index.js +3 -0
  83. package/dist/esm/package.json +1 -0
  84. package/dist/esm/types/did.d.ts +10 -0
  85. package/dist/esm/types/did.js +1 -0
  86. package/dist/esm/types/index.d.ts +8 -0
  87. package/dist/esm/types/index.js +6 -0
  88. package/dist/types/client.d.ts.map +1 -0
  89. package/dist/types/did/__generated__/hooks/caHolderInfo.d.ts +59 -0
  90. package/dist/types/did/__generated__/hooks/caHolderInfo.d.ts.map +1 -0
  91. package/dist/types/did/__generated__/hooks/caHolderManagerChangeRecordInfo.d.ts +43 -0
  92. package/dist/types/did/__generated__/hooks/caHolderManagerChangeRecordInfo.d.ts.map +1 -0
  93. package/dist/types/did/__generated__/hooks/caHolderManagerInfo.d.ts +48 -0
  94. package/dist/types/did/__generated__/hooks/caHolderManagerInfo.d.ts.map +1 -0
  95. package/dist/types/did/__generated__/hooks/caHolderNFTBalanceInfo.d.ts +61 -0
  96. package/dist/types/did/__generated__/hooks/caHolderNFTBalanceInfo.d.ts.map +1 -0
  97. package/dist/types/did/__generated__/hooks/caHolderNFTCollectionBalanceInfo.d.ts +59 -0
  98. package/dist/types/did/__generated__/hooks/caHolderNFTCollectionBalanceInfo.d.ts.map +1 -0
  99. package/dist/types/did/__generated__/hooks/caHolderSearchTokenNFT.d.ts +78 -0
  100. package/dist/types/did/__generated__/hooks/caHolderSearchTokenNFT.d.ts.map +1 -0
  101. package/dist/types/did/__generated__/hooks/caHolderTokenBalanceInfo.d.ts +63 -0
  102. package/dist/types/did/__generated__/hooks/caHolderTokenBalanceInfo.d.ts.map +1 -0
  103. package/dist/types/did/__generated__/hooks/caHolderTransaction.d.ts +99 -0
  104. package/dist/types/did/__generated__/hooks/caHolderTransaction.d.ts.map +1 -0
  105. package/dist/types/did/__generated__/hooks/caHolderTransactionAddressInfo.d.ts +47 -0
  106. package/dist/types/did/__generated__/hooks/caHolderTransactionAddressInfo.d.ts.map +1 -0
  107. package/dist/types/did/__generated__/hooks/caHolderTransactionInfo.d.ts +99 -0
  108. package/dist/types/did/__generated__/hooks/caHolderTransactionInfo.d.ts.map +1 -0
  109. package/dist/types/did/__generated__/hooks/loginGuardianChangeRecordInfo.d.ts +53 -0
  110. package/dist/types/did/__generated__/hooks/loginGuardianChangeRecordInfo.d.ts.map +1 -0
  111. package/dist/types/did/__generated__/hooks/loginGuardianInfo.d.ts +51 -0
  112. package/dist/types/did/__generated__/hooks/loginGuardianInfo.d.ts.map +1 -0
  113. package/dist/types/did/__generated__/hooks/syncState.d.ts +39 -0
  114. package/dist/types/did/__generated__/hooks/syncState.d.ts.map +1 -0
  115. package/dist/types/did/__generated__/hooks/tokenInfo.d.ts +52 -0
  116. package/dist/types/did/__generated__/hooks/tokenInfo.d.ts.map +1 -0
  117. package/dist/types/did/__generated__/types.d.ts +417 -0
  118. package/dist/types/did/__generated__/types.d.ts.map +1 -0
  119. package/dist/types/did/index.d.ts +14 -0
  120. package/dist/types/did/index.d.ts.map +1 -0
  121. package/dist/types/did/utils.d.ts.map +1 -0
  122. package/dist/types/index.d.ts +2 -7
  123. package/dist/types/index.d.ts.map +1 -1
  124. package/dist/types/types/did.d.ts +11 -0
  125. package/dist/types/types/did.d.ts.map +1 -0
  126. package/dist/types/types/index.d.ts +9 -0
  127. package/dist/types/types/index.d.ts.map +1 -0
  128. package/package.json +19 -8
  129. package/dist/client.d.ts.map +0 -1
  130. package/dist/client.js.map +0 -1
  131. package/dist/did/__generated__/hooks/caHolderInfo.d.ts.map +0 -1
  132. package/dist/did/__generated__/hooks/caHolderInfo.js.map +0 -1
  133. package/dist/did/__generated__/hooks/caHolderManagerChangeRecordInfo.d.ts.map +0 -1
  134. package/dist/did/__generated__/hooks/caHolderManagerChangeRecordInfo.js.map +0 -1
  135. package/dist/did/__generated__/hooks/caHolderManagerInfo.d.ts.map +0 -1
  136. package/dist/did/__generated__/hooks/caHolderManagerInfo.js.map +0 -1
  137. package/dist/did/__generated__/hooks/caHolderNFTBalanceInfo.d.ts.map +0 -1
  138. package/dist/did/__generated__/hooks/caHolderNFTBalanceInfo.js.map +0 -1
  139. package/dist/did/__generated__/hooks/caHolderNFTCollectionBalanceInfo.d.ts.map +0 -1
  140. package/dist/did/__generated__/hooks/caHolderNFTCollectionBalanceInfo.js.map +0 -1
  141. package/dist/did/__generated__/hooks/caHolderSearchTokenNFT.d.ts.map +0 -1
  142. package/dist/did/__generated__/hooks/caHolderSearchTokenNFT.js.map +0 -1
  143. package/dist/did/__generated__/hooks/caHolderTokenBalanceInfo.d.ts.map +0 -1
  144. package/dist/did/__generated__/hooks/caHolderTokenBalanceInfo.js.map +0 -1
  145. package/dist/did/__generated__/hooks/caHolderTransaction.d.ts.map +0 -1
  146. package/dist/did/__generated__/hooks/caHolderTransaction.js.map +0 -1
  147. package/dist/did/__generated__/hooks/caHolderTransactionAddressInfo.d.ts.map +0 -1
  148. package/dist/did/__generated__/hooks/caHolderTransactionAddressInfo.js.map +0 -1
  149. package/dist/did/__generated__/hooks/caHolderTransactionInfo.d.ts.map +0 -1
  150. package/dist/did/__generated__/hooks/caHolderTransactionInfo.js.map +0 -1
  151. package/dist/did/__generated__/hooks/loginGuardianChangeRecordInfo.d.ts.map +0 -1
  152. package/dist/did/__generated__/hooks/loginGuardianChangeRecordInfo.js.map +0 -1
  153. package/dist/did/__generated__/hooks/loginGuardianInfo.d.ts.map +0 -1
  154. package/dist/did/__generated__/hooks/loginGuardianInfo.js.map +0 -1
  155. package/dist/did/__generated__/hooks/syncState.d.ts.map +0 -1
  156. package/dist/did/__generated__/hooks/syncState.js.map +0 -1
  157. package/dist/did/__generated__/hooks/tokenInfo.d.ts.map +0 -1
  158. package/dist/did/__generated__/hooks/tokenInfo.js.map +0 -1
  159. package/dist/did/__generated__/types.d.ts.map +0 -1
  160. package/dist/did/__generated__/types.js.map +0 -1
  161. package/dist/did/index.d.ts.map +0 -1
  162. package/dist/did/index.js.map +0 -1
  163. package/dist/did/utils.d.ts.map +0 -1
  164. package/dist/did/utils.js.map +0 -1
  165. package/dist/index.d.ts.map +0 -1
  166. package/dist/index.js.map +0 -1
  167. package/dist/types/did.d.ts.map +0 -1
  168. package/dist/types/did.js.map +0 -1
  169. package/dist/types/index.js.map +0 -1
  170. /package/dist/{client.d.ts → types/client.d.ts} +0 -0
  171. /package/dist/{did → types/did}/utils.d.ts +0 -0
@@ -0,0 +1,54 @@
1
+ import { gql } from '@apollo/client';
2
+ import * as Apollo from '@apollo/client';
3
+ const defaultOptions = {};
4
+ export const CaHolderNftBalanceInfoDocument = gql `
5
+ query caHolderNFTBalanceInfo($dto: GetCAHolderNFTInfoDto) {
6
+ caHolderNFTBalanceInfo(dto: $dto) {
7
+ totalRecordCount
8
+ data {
9
+ id
10
+ chainId
11
+ caAddress
12
+ balance
13
+ nftInfo {
14
+ symbol
15
+ tokenContractAddress
16
+ decimals
17
+ supply
18
+ totalSupply
19
+ tokenName
20
+ issuer
21
+ isBurnable
22
+ issueChainId
23
+ imageUrl
24
+ collectionSymbol
25
+ collectionName
26
+ }
27
+ }
28
+ }
29
+ }
30
+ `;
31
+ /**
32
+ * __useCaHolderNftBalanceInfoQuery__
33
+ *
34
+ * To run a query within a React component, call `useCaHolderNftBalanceInfoQuery` and pass it any options that fit your needs.
35
+ * When your component renders, `useCaHolderNftBalanceInfoQuery` returns an object from Apollo Client that contains loading, error, and data properties
36
+ * you can use to render your UI.
37
+ *
38
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
39
+ *
40
+ * @example
41
+ * const { data, loading, error } = useCaHolderNftBalanceInfoQuery({
42
+ * variables: {
43
+ * dto: // value for 'dto'
44
+ * },
45
+ * });
46
+ */
47
+ export function useCaHolderNftBalanceInfoQuery(baseOptions) {
48
+ const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
49
+ return Apollo.useQuery(CaHolderNftBalanceInfoDocument, options);
50
+ }
51
+ export function useCaHolderNftBalanceInfoLazyQuery(baseOptions) {
52
+ const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
53
+ return Apollo.useLazyQuery(CaHolderNftBalanceInfoDocument, options);
54
+ }
@@ -0,0 +1,58 @@
1
+ import * as Types from '../types.js';
2
+ import * as Apollo from '@apollo/client';
3
+ export type CaHolderNftCollectionBalanceInfoQueryVariables = Types.Exact<{
4
+ dto?: Types.InputMaybe<Types.GetCaHolderNftCollectionInfoDto>;
5
+ }>;
6
+ export type CaHolderNftCollectionBalanceInfoQuery = {
7
+ __typename?: 'Query';
8
+ caHolderNFTCollectionBalanceInfo?: {
9
+ __typename?: 'CAHolderNFTCollectionBalancePageResultDto';
10
+ totalRecordCount: number;
11
+ data?: Array<{
12
+ __typename?: 'CAHolderNFTCollectionBalanceInfoDto';
13
+ id?: string | null;
14
+ chainId?: string | null;
15
+ caAddress?: string | null;
16
+ tokenIds?: Array<number> | null;
17
+ nftCollectionInfo?: {
18
+ __typename?: 'NFTCollectionDto';
19
+ symbol?: string | null;
20
+ tokenContractAddress?: string | null;
21
+ decimals: number;
22
+ supply: number;
23
+ totalSupply: number;
24
+ tokenName?: string | null;
25
+ issuer?: string | null;
26
+ isBurnable: boolean;
27
+ issueChainId: number;
28
+ imageUrl?: string | null;
29
+ } | null;
30
+ } | null> | null;
31
+ } | null;
32
+ };
33
+ export declare const CaHolderNftCollectionBalanceInfoDocument: Apollo.DocumentNode;
34
+ /**
35
+ * __useCaHolderNftCollectionBalanceInfoQuery__
36
+ *
37
+ * To run a query within a React component, call `useCaHolderNftCollectionBalanceInfoQuery` and pass it any options that fit your needs.
38
+ * When your component renders, `useCaHolderNftCollectionBalanceInfoQuery` returns an object from Apollo Client that contains loading, error, and data properties
39
+ * you can use to render your UI.
40
+ *
41
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
42
+ *
43
+ * @example
44
+ * const { data, loading, error } = useCaHolderNftCollectionBalanceInfoQuery({
45
+ * variables: {
46
+ * dto: // value for 'dto'
47
+ * },
48
+ * });
49
+ */
50
+ export declare function useCaHolderNftCollectionBalanceInfoQuery(baseOptions?: Apollo.QueryHookOptions<CaHolderNftCollectionBalanceInfoQuery, CaHolderNftCollectionBalanceInfoQueryVariables>): Apollo.QueryResult<CaHolderNftCollectionBalanceInfoQuery, Types.Exact<{
51
+ dto?: Types.InputMaybe<Types.GetCaHolderNftCollectionInfoDto> | undefined;
52
+ }>>;
53
+ export declare function useCaHolderNftCollectionBalanceInfoLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<CaHolderNftCollectionBalanceInfoQuery, CaHolderNftCollectionBalanceInfoQueryVariables>): Apollo.LazyQueryResultTuple<CaHolderNftCollectionBalanceInfoQuery, Types.Exact<{
54
+ dto?: Types.InputMaybe<Types.GetCaHolderNftCollectionInfoDto> | undefined;
55
+ }>>;
56
+ export type CaHolderNftCollectionBalanceInfoQueryHookResult = ReturnType<typeof useCaHolderNftCollectionBalanceInfoQuery>;
57
+ export type CaHolderNftCollectionBalanceInfoLazyQueryHookResult = ReturnType<typeof useCaHolderNftCollectionBalanceInfoLazyQuery>;
58
+ export type CaHolderNftCollectionBalanceInfoQueryResult = Apollo.QueryResult<CaHolderNftCollectionBalanceInfoQuery, CaHolderNftCollectionBalanceInfoQueryVariables>;
@@ -0,0 +1,52 @@
1
+ import { gql } from '@apollo/client';
2
+ import * as Apollo from '@apollo/client';
3
+ const defaultOptions = {};
4
+ export const CaHolderNftCollectionBalanceInfoDocument = gql `
5
+ query caHolderNFTCollectionBalanceInfo($dto: GetCAHolderNFTCollectionInfoDto) {
6
+ caHolderNFTCollectionBalanceInfo(dto: $dto) {
7
+ totalRecordCount
8
+ data {
9
+ id
10
+ chainId
11
+ caAddress
12
+ tokenIds
13
+ nftCollectionInfo {
14
+ symbol
15
+ tokenContractAddress
16
+ decimals
17
+ supply
18
+ totalSupply
19
+ tokenName
20
+ issuer
21
+ isBurnable
22
+ issueChainId
23
+ imageUrl
24
+ }
25
+ }
26
+ }
27
+ }
28
+ `;
29
+ /**
30
+ * __useCaHolderNftCollectionBalanceInfoQuery__
31
+ *
32
+ * To run a query within a React component, call `useCaHolderNftCollectionBalanceInfoQuery` and pass it any options that fit your needs.
33
+ * When your component renders, `useCaHolderNftCollectionBalanceInfoQuery` returns an object from Apollo Client that contains loading, error, and data properties
34
+ * you can use to render your UI.
35
+ *
36
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
37
+ *
38
+ * @example
39
+ * const { data, loading, error } = useCaHolderNftCollectionBalanceInfoQuery({
40
+ * variables: {
41
+ * dto: // value for 'dto'
42
+ * },
43
+ * });
44
+ */
45
+ export function useCaHolderNftCollectionBalanceInfoQuery(baseOptions) {
46
+ const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
47
+ return Apollo.useQuery(CaHolderNftCollectionBalanceInfoDocument, options);
48
+ }
49
+ export function useCaHolderNftCollectionBalanceInfoLazyQuery(baseOptions) {
50
+ const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
51
+ return Apollo.useLazyQuery(CaHolderNftCollectionBalanceInfoDocument, options);
52
+ }
@@ -0,0 +1,77 @@
1
+ import * as Types from '../types.js';
2
+ import * as Apollo from '@apollo/client';
3
+ export type CaHolderSearchTokenNftQueryVariables = Types.Exact<{
4
+ dto?: Types.InputMaybe<Types.GetCaHolderSearchTokenNftDto>;
5
+ }>;
6
+ export type CaHolderSearchTokenNftQuery = {
7
+ __typename?: 'Query';
8
+ caHolderSearchTokenNFT?: {
9
+ __typename?: 'CAHolderSearchTokenNFTPageResultDto';
10
+ totalRecordCount: number;
11
+ data?: Array<{
12
+ __typename?: 'CAHolderSearchTokenNFTDto';
13
+ chainId?: string | null;
14
+ caAddress?: string | null;
15
+ balance: number;
16
+ tokenId: number;
17
+ tokenInfo?: {
18
+ __typename?: 'TokenInfoDto';
19
+ id?: string | null;
20
+ chainId?: string | null;
21
+ blockHash?: string | null;
22
+ blockHeight: number;
23
+ previousBlockHash?: string | null;
24
+ symbol?: string | null;
25
+ type: Types.TokenType;
26
+ tokenContractAddress?: string | null;
27
+ decimals: number;
28
+ totalSupply: number;
29
+ tokenName?: string | null;
30
+ issuer?: string | null;
31
+ isBurnable: boolean;
32
+ issueChainId: number;
33
+ } | null;
34
+ nftInfo?: {
35
+ __typename?: 'NFTItemInfoDto';
36
+ symbol?: string | null;
37
+ tokenContractAddress?: string | null;
38
+ decimals: number;
39
+ supply: number;
40
+ totalSupply: number;
41
+ tokenName?: string | null;
42
+ issuer?: string | null;
43
+ isBurnable: boolean;
44
+ issueChainId: number;
45
+ imageUrl?: string | null;
46
+ collectionSymbol?: string | null;
47
+ collectionName?: string | null;
48
+ } | null;
49
+ } | null> | null;
50
+ } | null;
51
+ };
52
+ export declare const CaHolderSearchTokenNftDocument: Apollo.DocumentNode;
53
+ /**
54
+ * __useCaHolderSearchTokenNftQuery__
55
+ *
56
+ * To run a query within a React component, call `useCaHolderSearchTokenNftQuery` and pass it any options that fit your needs.
57
+ * When your component renders, `useCaHolderSearchTokenNftQuery` returns an object from Apollo Client that contains loading, error, and data properties
58
+ * you can use to render your UI.
59
+ *
60
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
61
+ *
62
+ * @example
63
+ * const { data, loading, error } = useCaHolderSearchTokenNftQuery({
64
+ * variables: {
65
+ * dto: // value for 'dto'
66
+ * },
67
+ * });
68
+ */
69
+ export declare function useCaHolderSearchTokenNftQuery(baseOptions?: Apollo.QueryHookOptions<CaHolderSearchTokenNftQuery, CaHolderSearchTokenNftQueryVariables>): Apollo.QueryResult<CaHolderSearchTokenNftQuery, Types.Exact<{
70
+ dto?: Types.InputMaybe<Types.GetCaHolderSearchTokenNftDto> | undefined;
71
+ }>>;
72
+ export declare function useCaHolderSearchTokenNftLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<CaHolderSearchTokenNftQuery, CaHolderSearchTokenNftQueryVariables>): Apollo.LazyQueryResultTuple<CaHolderSearchTokenNftQuery, Types.Exact<{
73
+ dto?: Types.InputMaybe<Types.GetCaHolderSearchTokenNftDto> | undefined;
74
+ }>>;
75
+ export type CaHolderSearchTokenNftQueryHookResult = ReturnType<typeof useCaHolderSearchTokenNftQuery>;
76
+ export type CaHolderSearchTokenNftLazyQueryHookResult = ReturnType<typeof useCaHolderSearchTokenNftLazyQuery>;
77
+ export type CaHolderSearchTokenNftQueryResult = Apollo.QueryResult<CaHolderSearchTokenNftQuery, CaHolderSearchTokenNftQueryVariables>;
@@ -0,0 +1,70 @@
1
+ import { gql } from '@apollo/client';
2
+ import * as Apollo from '@apollo/client';
3
+ const defaultOptions = {};
4
+ export const CaHolderSearchTokenNftDocument = gql `
5
+ query caHolderSearchTokenNFT($dto: GetCAHolderSearchTokenNFTDto) {
6
+ caHolderSearchTokenNFT(dto: $dto) {
7
+ totalRecordCount
8
+ data {
9
+ chainId
10
+ caAddress
11
+ balance
12
+ tokenId
13
+ tokenInfo {
14
+ id
15
+ chainId
16
+ blockHash
17
+ blockHeight
18
+ previousBlockHash
19
+ symbol
20
+ type
21
+ tokenContractAddress
22
+ decimals
23
+ totalSupply
24
+ tokenName
25
+ issuer
26
+ isBurnable
27
+ issueChainId
28
+ }
29
+ nftInfo {
30
+ symbol
31
+ tokenContractAddress
32
+ decimals
33
+ supply
34
+ totalSupply
35
+ tokenName
36
+ issuer
37
+ isBurnable
38
+ issueChainId
39
+ imageUrl
40
+ collectionSymbol
41
+ collectionName
42
+ }
43
+ }
44
+ }
45
+ }
46
+ `;
47
+ /**
48
+ * __useCaHolderSearchTokenNftQuery__
49
+ *
50
+ * To run a query within a React component, call `useCaHolderSearchTokenNftQuery` and pass it any options that fit your needs.
51
+ * When your component renders, `useCaHolderSearchTokenNftQuery` returns an object from Apollo Client that contains loading, error, and data properties
52
+ * you can use to render your UI.
53
+ *
54
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
55
+ *
56
+ * @example
57
+ * const { data, loading, error } = useCaHolderSearchTokenNftQuery({
58
+ * variables: {
59
+ * dto: // value for 'dto'
60
+ * },
61
+ * });
62
+ */
63
+ export function useCaHolderSearchTokenNftQuery(baseOptions) {
64
+ const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
65
+ return Apollo.useQuery(CaHolderSearchTokenNftDocument, options);
66
+ }
67
+ export function useCaHolderSearchTokenNftLazyQuery(baseOptions) {
68
+ const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
69
+ return Apollo.useLazyQuery(CaHolderSearchTokenNftDocument, options);
70
+ }
@@ -0,0 +1,62 @@
1
+ import * as Types from '../types.js';
2
+ import * as Apollo from '@apollo/client';
3
+ export type CaHolderTokenBalanceInfoQueryVariables = Types.Exact<{
4
+ dto?: Types.InputMaybe<Types.GetCaHolderTokenBalanceDto>;
5
+ }>;
6
+ export type CaHolderTokenBalanceInfoQuery = {
7
+ __typename?: 'Query';
8
+ caHolderTokenBalanceInfo?: {
9
+ __typename?: 'CAHolderTokenBalancePageResultDto';
10
+ totalRecordCount: number;
11
+ data?: Array<{
12
+ __typename?: 'CAHolderTokenBalanceDto';
13
+ chainId?: string | null;
14
+ caAddress?: string | null;
15
+ balance: number;
16
+ tokenIds?: Array<number> | null;
17
+ tokenInfo?: {
18
+ __typename?: 'TokenInfoDto';
19
+ id?: string | null;
20
+ chainId?: string | null;
21
+ blockHash?: string | null;
22
+ blockHeight: number;
23
+ previousBlockHash?: string | null;
24
+ symbol?: string | null;
25
+ type: Types.TokenType;
26
+ tokenContractAddress?: string | null;
27
+ decimals: number;
28
+ totalSupply: number;
29
+ tokenName?: string | null;
30
+ issuer?: string | null;
31
+ isBurnable: boolean;
32
+ issueChainId: number;
33
+ } | null;
34
+ } | null> | null;
35
+ } | null;
36
+ };
37
+ export declare const CaHolderTokenBalanceInfoDocument: Apollo.DocumentNode;
38
+ /**
39
+ * __useCaHolderTokenBalanceInfoQuery__
40
+ *
41
+ * To run a query within a React component, call `useCaHolderTokenBalanceInfoQuery` and pass it any options that fit your needs.
42
+ * When your component renders, `useCaHolderTokenBalanceInfoQuery` returns an object from Apollo Client that contains loading, error, and data properties
43
+ * you can use to render your UI.
44
+ *
45
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
46
+ *
47
+ * @example
48
+ * const { data, loading, error } = useCaHolderTokenBalanceInfoQuery({
49
+ * variables: {
50
+ * dto: // value for 'dto'
51
+ * },
52
+ * });
53
+ */
54
+ export declare function useCaHolderTokenBalanceInfoQuery(baseOptions?: Apollo.QueryHookOptions<CaHolderTokenBalanceInfoQuery, CaHolderTokenBalanceInfoQueryVariables>): Apollo.QueryResult<CaHolderTokenBalanceInfoQuery, Types.Exact<{
55
+ dto?: Types.InputMaybe<Types.GetCaHolderTokenBalanceDto> | undefined;
56
+ }>>;
57
+ export declare function useCaHolderTokenBalanceInfoLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<CaHolderTokenBalanceInfoQuery, CaHolderTokenBalanceInfoQueryVariables>): Apollo.LazyQueryResultTuple<CaHolderTokenBalanceInfoQuery, Types.Exact<{
58
+ dto?: Types.InputMaybe<Types.GetCaHolderTokenBalanceDto> | undefined;
59
+ }>>;
60
+ export type CaHolderTokenBalanceInfoQueryHookResult = ReturnType<typeof useCaHolderTokenBalanceInfoQuery>;
61
+ export type CaHolderTokenBalanceInfoLazyQueryHookResult = ReturnType<typeof useCaHolderTokenBalanceInfoLazyQuery>;
62
+ export type CaHolderTokenBalanceInfoQueryResult = Apollo.QueryResult<CaHolderTokenBalanceInfoQuery, CaHolderTokenBalanceInfoQueryVariables>;
@@ -0,0 +1,56 @@
1
+ import { gql } from '@apollo/client';
2
+ import * as Apollo from '@apollo/client';
3
+ const defaultOptions = {};
4
+ export const CaHolderTokenBalanceInfoDocument = gql `
5
+ query caHolderTokenBalanceInfo($dto: GetCAHolderTokenBalanceDto) {
6
+ caHolderTokenBalanceInfo(dto: $dto) {
7
+ totalRecordCount
8
+ data {
9
+ chainId
10
+ caAddress
11
+ tokenInfo {
12
+ id
13
+ chainId
14
+ blockHash
15
+ blockHeight
16
+ previousBlockHash
17
+ symbol
18
+ type
19
+ tokenContractAddress
20
+ decimals
21
+ totalSupply
22
+ tokenName
23
+ issuer
24
+ isBurnable
25
+ issueChainId
26
+ }
27
+ balance
28
+ tokenIds
29
+ }
30
+ }
31
+ }
32
+ `;
33
+ /**
34
+ * __useCaHolderTokenBalanceInfoQuery__
35
+ *
36
+ * To run a query within a React component, call `useCaHolderTokenBalanceInfoQuery` and pass it any options that fit your needs.
37
+ * When your component renders, `useCaHolderTokenBalanceInfoQuery` returns an object from Apollo Client that contains loading, error, and data properties
38
+ * you can use to render your UI.
39
+ *
40
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
41
+ *
42
+ * @example
43
+ * const { data, loading, error } = useCaHolderTokenBalanceInfoQuery({
44
+ * variables: {
45
+ * dto: // value for 'dto'
46
+ * },
47
+ * });
48
+ */
49
+ export function useCaHolderTokenBalanceInfoQuery(baseOptions) {
50
+ const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
51
+ return Apollo.useQuery(CaHolderTokenBalanceInfoDocument, options);
52
+ }
53
+ export function useCaHolderTokenBalanceInfoLazyQuery(baseOptions) {
54
+ const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
55
+ return Apollo.useLazyQuery(CaHolderTokenBalanceInfoDocument, options);
56
+ }
@@ -0,0 +1,98 @@
1
+ import * as Types from '../types.js';
2
+ import * as Apollo from '@apollo/client';
3
+ export type CaHolderTransactionQueryVariables = Types.Exact<{
4
+ dto?: Types.InputMaybe<Types.GetCaHolderTransactionDto>;
5
+ }>;
6
+ export type CaHolderTransactionQuery = {
7
+ __typename?: 'Query';
8
+ caHolderTransaction?: {
9
+ __typename?: 'CAHolderTransactionPageResultDto';
10
+ totalRecordCount: number;
11
+ data?: Array<{
12
+ __typename?: 'CAHolderTransactionDto';
13
+ id?: string | null;
14
+ chainId?: string | null;
15
+ blockHash?: string | null;
16
+ blockHeight: number;
17
+ previousBlockHash?: string | null;
18
+ transactionId?: string | null;
19
+ methodName?: string | null;
20
+ status: Types.TransactionStatus;
21
+ timestamp: number;
22
+ fromAddress?: string | null;
23
+ tokenInfo?: {
24
+ __typename?: 'TokenInfoDto';
25
+ id?: string | null;
26
+ chainId?: string | null;
27
+ blockHash?: string | null;
28
+ blockHeight: number;
29
+ previousBlockHash?: string | null;
30
+ symbol?: string | null;
31
+ type: Types.TokenType;
32
+ tokenContractAddress?: string | null;
33
+ decimals: number;
34
+ totalSupply: number;
35
+ tokenName?: string | null;
36
+ issuer?: string | null;
37
+ isBurnable: boolean;
38
+ issueChainId: number;
39
+ } | null;
40
+ nftInfo?: {
41
+ __typename?: 'NFTItemInfoDto';
42
+ symbol?: string | null;
43
+ tokenContractAddress?: string | null;
44
+ decimals: number;
45
+ supply: number;
46
+ totalSupply: number;
47
+ tokenName?: string | null;
48
+ issuer?: string | null;
49
+ isBurnable: boolean;
50
+ issueChainId: number;
51
+ imageUrl?: string | null;
52
+ collectionSymbol?: string | null;
53
+ collectionName?: string | null;
54
+ } | null;
55
+ transferInfo?: {
56
+ __typename?: 'TransferInfo';
57
+ fromAddress?: string | null;
58
+ fromCAAddress?: string | null;
59
+ toAddress?: string | null;
60
+ amount: number;
61
+ fromChainId?: string | null;
62
+ toChainId?: string | null;
63
+ transferTransactionId?: string | null;
64
+ } | null;
65
+ transactionFees?: Array<{
66
+ __typename?: 'TransactionFee';
67
+ symbol?: string | null;
68
+ amount: number;
69
+ } | null> | null;
70
+ } | null> | null;
71
+ } | null;
72
+ };
73
+ export declare const CaHolderTransactionDocument: Apollo.DocumentNode;
74
+ /**
75
+ * __useCaHolderTransactionQuery__
76
+ *
77
+ * To run a query within a React component, call `useCaHolderTransactionQuery` and pass it any options that fit your needs.
78
+ * When your component renders, `useCaHolderTransactionQuery` returns an object from Apollo Client that contains loading, error, and data properties
79
+ * you can use to render your UI.
80
+ *
81
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
82
+ *
83
+ * @example
84
+ * const { data, loading, error } = useCaHolderTransactionQuery({
85
+ * variables: {
86
+ * dto: // value for 'dto'
87
+ * },
88
+ * });
89
+ */
90
+ export declare function useCaHolderTransactionQuery(baseOptions?: Apollo.QueryHookOptions<CaHolderTransactionQuery, CaHolderTransactionQueryVariables>): Apollo.QueryResult<CaHolderTransactionQuery, Types.Exact<{
91
+ dto?: Types.InputMaybe<Types.GetCaHolderTransactionDto> | undefined;
92
+ }>>;
93
+ export declare function useCaHolderTransactionLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<CaHolderTransactionQuery, CaHolderTransactionQueryVariables>): Apollo.LazyQueryResultTuple<CaHolderTransactionQuery, Types.Exact<{
94
+ dto?: Types.InputMaybe<Types.GetCaHolderTransactionDto> | undefined;
95
+ }>>;
96
+ export type CaHolderTransactionQueryHookResult = ReturnType<typeof useCaHolderTransactionQuery>;
97
+ export type CaHolderTransactionLazyQueryHookResult = ReturnType<typeof useCaHolderTransactionLazyQuery>;
98
+ export type CaHolderTransactionQueryResult = Apollo.QueryResult<CaHolderTransactionQuery, CaHolderTransactionQueryVariables>;
@@ -0,0 +1,89 @@
1
+ import { gql } from '@apollo/client';
2
+ import * as Apollo from '@apollo/client';
3
+ const defaultOptions = {};
4
+ export const CaHolderTransactionDocument = gql `
5
+ query caHolderTransaction($dto: GetCAHolderTransactionDto) {
6
+ caHolderTransaction(dto: $dto) {
7
+ totalRecordCount
8
+ data {
9
+ id
10
+ chainId
11
+ blockHash
12
+ blockHeight
13
+ previousBlockHash
14
+ transactionId
15
+ methodName
16
+ tokenInfo {
17
+ id
18
+ chainId
19
+ blockHash
20
+ blockHeight
21
+ previousBlockHash
22
+ symbol
23
+ type
24
+ tokenContractAddress
25
+ decimals
26
+ totalSupply
27
+ tokenName
28
+ issuer
29
+ isBurnable
30
+ issueChainId
31
+ }
32
+ nftInfo {
33
+ symbol
34
+ tokenContractAddress
35
+ decimals
36
+ supply
37
+ totalSupply
38
+ tokenName
39
+ issuer
40
+ isBurnable
41
+ issueChainId
42
+ imageUrl
43
+ collectionSymbol
44
+ collectionName
45
+ }
46
+ status
47
+ timestamp
48
+ transferInfo {
49
+ fromAddress
50
+ fromCAAddress
51
+ toAddress
52
+ amount
53
+ fromChainId
54
+ toChainId
55
+ transferTransactionId
56
+ }
57
+ fromAddress
58
+ transactionFees {
59
+ symbol
60
+ amount
61
+ }
62
+ }
63
+ }
64
+ }
65
+ `;
66
+ /**
67
+ * __useCaHolderTransactionQuery__
68
+ *
69
+ * To run a query within a React component, call `useCaHolderTransactionQuery` and pass it any options that fit your needs.
70
+ * When your component renders, `useCaHolderTransactionQuery` returns an object from Apollo Client that contains loading, error, and data properties
71
+ * you can use to render your UI.
72
+ *
73
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
74
+ *
75
+ * @example
76
+ * const { data, loading, error } = useCaHolderTransactionQuery({
77
+ * variables: {
78
+ * dto: // value for 'dto'
79
+ * },
80
+ * });
81
+ */
82
+ export function useCaHolderTransactionQuery(baseOptions) {
83
+ const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
84
+ return Apollo.useQuery(CaHolderTransactionDocument, options);
85
+ }
86
+ export function useCaHolderTransactionLazyQuery(baseOptions) {
87
+ const options = Object.assign(Object.assign({}, defaultOptions), baseOptions);
88
+ return Apollo.useLazyQuery(CaHolderTransactionDocument, options);
89
+ }
@@ -0,0 +1,46 @@
1
+ import * as Types from '../types.js';
2
+ import * as Apollo from '@apollo/client';
3
+ export type CaHolderTransactionAddressInfoQueryVariables = Types.Exact<{
4
+ dto?: Types.InputMaybe<Types.GetCaHolderTransactionAddressDto>;
5
+ }>;
6
+ export type CaHolderTransactionAddressInfoQuery = {
7
+ __typename?: 'Query';
8
+ caHolderTransactionAddressInfo?: {
9
+ __typename?: 'CAHolderTransactionAddressPageResultDto';
10
+ totalRecordCount: number;
11
+ data?: Array<{
12
+ __typename?: 'CAHolderTransactionAddressDto';
13
+ chainId?: string | null;
14
+ caAddress?: string | null;
15
+ address?: string | null;
16
+ addressChainId?: string | null;
17
+ transactionTime: number;
18
+ } | null> | null;
19
+ } | null;
20
+ };
21
+ export declare const CaHolderTransactionAddressInfoDocument: Apollo.DocumentNode;
22
+ /**
23
+ * __useCaHolderTransactionAddressInfoQuery__
24
+ *
25
+ * To run a query within a React component, call `useCaHolderTransactionAddressInfoQuery` and pass it any options that fit your needs.
26
+ * When your component renders, `useCaHolderTransactionAddressInfoQuery` returns an object from Apollo Client that contains loading, error, and data properties
27
+ * you can use to render your UI.
28
+ *
29
+ * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
30
+ *
31
+ * @example
32
+ * const { data, loading, error } = useCaHolderTransactionAddressInfoQuery({
33
+ * variables: {
34
+ * dto: // value for 'dto'
35
+ * },
36
+ * });
37
+ */
38
+ export declare function useCaHolderTransactionAddressInfoQuery(baseOptions?: Apollo.QueryHookOptions<CaHolderTransactionAddressInfoQuery, CaHolderTransactionAddressInfoQueryVariables>): Apollo.QueryResult<CaHolderTransactionAddressInfoQuery, Types.Exact<{
39
+ dto?: Types.InputMaybe<Types.GetCaHolderTransactionAddressDto> | undefined;
40
+ }>>;
41
+ export declare function useCaHolderTransactionAddressInfoLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<CaHolderTransactionAddressInfoQuery, CaHolderTransactionAddressInfoQueryVariables>): Apollo.LazyQueryResultTuple<CaHolderTransactionAddressInfoQuery, Types.Exact<{
42
+ dto?: Types.InputMaybe<Types.GetCaHolderTransactionAddressDto> | undefined;
43
+ }>>;
44
+ export type CaHolderTransactionAddressInfoQueryHookResult = ReturnType<typeof useCaHolderTransactionAddressInfoQuery>;
45
+ export type CaHolderTransactionAddressInfoLazyQueryHookResult = ReturnType<typeof useCaHolderTransactionAddressInfoLazyQuery>;
46
+ export type CaHolderTransactionAddressInfoQueryResult = Apollo.QueryResult<CaHolderTransactionAddressInfoQuery, CaHolderTransactionAddressInfoQueryVariables>;