wapi-client 0.4.0 → 0.5.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.
Files changed (235) hide show
  1. package/dist/api/auth/auth.enums.d.ts +4 -4
  2. package/dist/api/base-client.d.ts +354 -328
  3. package/dist/api/connection/connection.enums.d.ts +19 -7
  4. package/dist/api/http-client.d.ts +15 -0
  5. package/dist/api/index.d.ts +22 -16
  6. package/dist/api/jsonrpc/jsonrpc.enums.d.ts +53 -25
  7. package/dist/api/ws-client.d.ts +26 -25
  8. package/dist/client.d.ts +1715 -1714
  9. package/dist/db/consts.enums.d.ts +274 -272
  10. package/dist/db/index.d.ts +31 -31
  11. package/dist/db/token/token.enums.d.ts +148 -148
  12. package/dist/db/transfer/transfer.enums.d.ts +236 -236
  13. package/dist/db/transfer-group/transfer-group.enums.d.ts +160 -160
  14. package/dist/db/transfer-log/transfer-log.enums.d.ts +193 -193
  15. package/dist/db/wallet/wallet.enums.d.ts +148 -148
  16. package/dist/db/wallet-token-setting/wallet-token-setting.enums.d.ts +96 -96
  17. package/dist/db/wapi-setting/wapi-setting.enums.d.ts +88 -88
  18. package/dist/fns/aggregate-transfers/aggregate-transfers.d.ts +18 -18
  19. package/dist/fns/aggregate-transfers/aggregate-transfers.enums.d.ts +52 -52
  20. package/dist/fns/aggregate-transfers/aggregate-transfers.guards.d.ts +4 -4
  21. package/dist/fns/create-contract/create-contract.d.ts +8 -8
  22. package/dist/fns/create-contract/create-contract.enums.d.ts +63 -64
  23. package/dist/fns/create-contract/create-contract.guards.d.ts +4 -4
  24. package/dist/fns/create-deposit/create-deposit.d.ts +9 -9
  25. package/dist/fns/create-deposit/create-deposit.enums.d.ts +63 -64
  26. package/dist/fns/create-deposit/create-deposit.guards.d.ts +4 -4
  27. package/dist/fns/create-exchange/create-exchange.d.ts +10 -10
  28. package/dist/fns/create-exchange/create-exchange.enums.d.ts +133 -133
  29. package/dist/fns/create-exchange/create-exchange.guards.d.ts +4 -4
  30. package/dist/fns/create-token/create-token.d.ts +9 -9
  31. package/dist/fns/create-token/create-token.enums.d.ts +46 -46
  32. package/dist/fns/create-token/create-token.guards.d.ts +4 -4
  33. package/dist/fns/create-transfer/create-transfer.d.ts +11 -11
  34. package/dist/fns/create-transfer/create-transfer.enums.d.ts +145 -142
  35. package/dist/fns/create-transfer/create-transfer.guards.d.ts +4 -4
  36. package/dist/fns/create-transfer-group/create-transfer-group.d.ts +12 -12
  37. package/dist/fns/create-transfer-group/create-transfer-group.enums.d.ts +142 -142
  38. package/dist/fns/create-transfer-group/create-transfer-group.guards.d.ts +4 -4
  39. package/dist/fns/create-transfers/create-transfers.d.ts +10 -10
  40. package/dist/fns/create-transfers/create-transfers.enums.d.ts +19 -19
  41. package/dist/fns/create-transfers/create-transfers.guards.d.ts +4 -4
  42. package/dist/fns/create-wallet/create-wallet.d.ts +9 -9
  43. package/dist/fns/create-wallet/create-wallet.enums.d.ts +41 -41
  44. package/dist/fns/create-wallet/create-wallet.guards.d.ts +4 -4
  45. package/dist/fns/create-withdrawal/create-withdrawal.d.ts +10 -10
  46. package/dist/fns/create-withdrawal/create-withdrawal.enums.d.ts +63 -64
  47. package/dist/fns/create-withdrawal/create-withdrawal.guards.d.ts +4 -4
  48. package/dist/fns/find-balances/find-balances.d.ts +17 -17
  49. package/dist/fns/find-balances/find-balances.enums.d.ts +30 -30
  50. package/dist/fns/find-balances/find-balances.guards.d.ts +4 -4
  51. package/dist/fns/find-tokens/find-tokens.d.ts +18 -18
  52. package/dist/fns/find-tokens/find-tokens.enums.d.ts +39 -39
  53. package/dist/fns/find-tokens/find-tokens.guards.d.ts +4 -4
  54. package/dist/fns/find-transfer-groups/find-transfer-groups.d.ts +17 -17
  55. package/dist/fns/find-transfer-groups/find-transfer-groups.enums.d.ts +52 -52
  56. package/dist/fns/find-transfer-groups/find-transfer-groups.guards.d.ts +4 -4
  57. package/dist/fns/find-transfers/find-transfers.d.ts +18 -18
  58. package/dist/fns/find-transfers/find-transfers.enums.d.ts +72 -72
  59. package/dist/fns/find-transfers/find-transfers.guards.d.ts +4 -4
  60. package/dist/fns/find-wallets/find-wallets.d.ts +18 -18
  61. package/dist/fns/find-wallets/find-wallets.enums.d.ts +48 -48
  62. package/dist/fns/find-wallets/find-wallets.guards.d.ts +4 -4
  63. package/dist/fns/fn-consts.enums.d.ts +14 -14
  64. package/dist/fns/get-balance/get-balance.d.ts +9 -9
  65. package/dist/fns/get-balance/get-balance.enums.d.ts +30 -30
  66. package/dist/fns/get-balance/get-balance.guards.d.ts +4 -4
  67. package/dist/fns/get-balance-history/get-balance-history.d.ts +9 -9
  68. package/dist/fns/get-balance-history/get-balance-history.enums.d.ts +29 -29
  69. package/dist/fns/get-balance-history/get-balance-history.guards.d.ts +4 -4
  70. package/dist/fns/get-flags/get-flags.d.ts +9 -9
  71. package/dist/fns/get-flags/get-flags.enums.d.ts +17 -17
  72. package/dist/fns/get-flags/get-flags.guards.d.ts +4 -4
  73. package/dist/fns/get-statistics/get-statistics.d.ts +9 -9
  74. package/dist/fns/get-statistics/get-statistics.enums.d.ts +24 -24
  75. package/dist/fns/get-statistics/get-statistics.guards.d.ts +4 -4
  76. package/dist/fns/get-token/get-token.d.ts +9 -9
  77. package/dist/fns/get-token/get-token.enums.d.ts +21 -21
  78. package/dist/fns/get-token/get-token.guards.d.ts +4 -4
  79. package/dist/fns/get-transfer/get-transfer.d.ts +9 -9
  80. package/dist/fns/get-transfer/get-transfer.enums.d.ts +25 -25
  81. package/dist/fns/get-transfer/get-transfer.guards.d.ts +4 -4
  82. package/dist/fns/get-transfer-group/get-transfer-group.d.ts +9 -9
  83. package/dist/fns/get-transfer-group/get-transfer-group.enums.d.ts +25 -25
  84. package/dist/fns/get-transfer-group/get-transfer-group.guards.d.ts +4 -4
  85. package/dist/fns/get-wallet/get-wallet.d.ts +9 -9
  86. package/dist/fns/get-wallet/get-wallet.enums.d.ts +25 -25
  87. package/dist/fns/get-wallet/get-wallet.guards.d.ts +4 -4
  88. package/dist/fns/import-data/import-data.d.ts +11 -11
  89. package/dist/fns/import-data/import-data.enums.d.ts +230 -230
  90. package/dist/fns/import-data/import-data.guards.d.ts +8 -8
  91. package/dist/fns/import-data/import-data.node.d.ts +11 -11
  92. package/dist/fns/index.d.ts +273 -273
  93. package/dist/fns/reverse-transfer/reverse-transfer.d.ts +10 -10
  94. package/dist/fns/reverse-transfer/reverse-transfer.enums.d.ts +48 -48
  95. package/dist/fns/reverse-transfer/reverse-transfer.guards.d.ts +4 -4
  96. package/dist/fns/reverse-transfer-group/reverse-transfer-group.d.ts +10 -10
  97. package/dist/fns/reverse-transfer-group/reverse-transfer-group.enums.d.ts +64 -64
  98. package/dist/fns/reverse-transfer-group/reverse-transfer-group.guards.d.ts +4 -4
  99. package/dist/fns/reverse-transfers/reverse-transfers.d.ts +16 -16
  100. package/dist/fns/reverse-transfers/reverse-transfers.enums.d.ts +55 -55
  101. package/dist/fns/reverse-transfers/reverse-transfers.guards.d.ts +4 -4
  102. package/dist/fns/set-flags/set-flags.d.ts +10 -10
  103. package/dist/fns/set-flags/set-flags.enums.d.ts +21 -21
  104. package/dist/fns/set-flags/set-flags.guards.d.ts +4 -4
  105. package/dist/fns/update-token/update-token.d.ts +8 -8
  106. package/dist/fns/update-token/update-token.enums.d.ts +43 -43
  107. package/dist/fns/update-token/update-token.guards.d.ts +4 -4
  108. package/dist/fns/update-transfer/update-transfer.d.ts +9 -9
  109. package/dist/fns/update-transfer/update-transfer.enums.d.ts +32 -32
  110. package/dist/fns/update-transfer/update-transfer.guards.d.ts +4 -4
  111. package/dist/fns/update-transfer-group/update-transfer-group.d.ts +9 -9
  112. package/dist/fns/update-transfer-group/update-transfer-group.enums.d.ts +46 -46
  113. package/dist/fns/update-transfer-group/update-transfer-group.guards.d.ts +4 -4
  114. package/dist/fns/update-transfer-groups/update-transfer-groups.d.ts +15 -15
  115. package/dist/fns/update-transfer-groups/update-transfer-groups.enums.d.ts +44 -44
  116. package/dist/fns/update-transfer-groups/update-transfer-groups.guards.d.ts +4 -4
  117. package/dist/fns/update-transfers/update-transfers.d.ts +15 -15
  118. package/dist/fns/update-transfers/update-transfers.enums.d.ts +52 -52
  119. package/dist/fns/update-transfers/update-transfers.guards.d.ts +4 -4
  120. package/dist/fns/update-wallet/update-wallet.d.ts +8 -8
  121. package/dist/fns/update-wallet/update-wallet.enums.d.ts +43 -43
  122. package/dist/fns/update-wallet/update-wallet.guards.d.ts +4 -4
  123. package/dist/index.d.ts +80 -73
  124. package/dist/lib/debug.d.ts +1 -1
  125. package/dist/lib/errors.d.ts +317 -306
  126. package/dist/lib/isomorphic/node/get-random-hex.d.ts +1 -1
  127. package/dist/lib/isomorphic/node/streams.d.ts +28 -29
  128. package/dist/lib/isomorphic/node/ws.d.ts +2 -2
  129. package/dist/lib/query-builder.d.ts +252 -252
  130. package/dist/lib/stream-promise-input.d.ts +33 -33
  131. package/dist/lib/stream-promise.d.ts +40 -40
  132. package/dist/lib/utils.d.ts +48 -48
  133. package/dist/lib/validator.d.ts +257 -251
  134. package/dist/txs/aggregate-transfer-many/aggregate-transfer-many.enums.d.ts +64 -64
  135. package/dist/txs/aggregate-transfer-many/aggregate-transfer-many.guards.d.ts +4 -4
  136. package/dist/txs/authentication-check/authentication-check.enums.d.ts +22 -0
  137. package/dist/txs/authentication-check/authentication-check.guards.d.ts +4 -0
  138. package/dist/txs/create-access-token/create-access-token.enums.d.ts +50 -0
  139. package/dist/txs/create-access-token/create-access-token.guards.d.ts +4 -0
  140. package/dist/txs/create-contract/create-contract.enums.d.ts +79 -79
  141. package/dist/txs/create-contract/create-contract.guards.d.ts +4 -4
  142. package/dist/txs/create-deposit/create-deposit.enums.d.ts +19 -19
  143. package/dist/txs/create-deposit/create-deposit.guards.d.ts +4 -4
  144. package/dist/txs/create-distribution/create-distribution.enums.d.ts +107 -104
  145. package/dist/txs/create-distribution/create-distribution.guards.d.ts +4 -4
  146. package/dist/txs/create-token/create-token.enums.d.ts +54 -54
  147. package/dist/txs/create-token/create-token.guards.d.ts +4 -4
  148. package/dist/txs/create-transfer/create-transfer.enums.d.ts +209 -209
  149. package/dist/txs/create-transfer/create-transfer.guards.d.ts +4 -4
  150. package/dist/txs/create-transfer-group/create-transfer-group.enums.d.ts +200 -200
  151. package/dist/txs/create-transfer-group/create-transfer-group.guards.d.ts +4 -4
  152. package/dist/txs/create-transfer-many/create-transfer-many.enums.d.ts +53 -53
  153. package/dist/txs/create-transfer-many/create-transfer-many.guards.d.ts +4 -4
  154. package/dist/txs/create-wallet/create-wallet.enums.d.ts +20 -20
  155. package/dist/txs/create-wallet/create-wallet.guards.d.ts +4 -4
  156. package/dist/txs/create-withdrawal/create-withdrawal.enums.d.ts +19 -19
  157. package/dist/txs/create-withdrawal/create-withdrawal.guards.d.ts +4 -4
  158. package/dist/txs/find-balance-many/find-balance-many.enums.d.ts +97 -97
  159. package/dist/txs/find-balance-many/find-balance-many.guards.d.ts +4 -4
  160. package/dist/txs/find-token-many/find-token-many.enums.d.ts +81 -81
  161. package/dist/txs/find-token-many/find-token-many.guards.d.ts +4 -4
  162. package/dist/txs/find-transfer-group-many/find-transfer-group-many.enums.d.ts +90 -90
  163. package/dist/txs/find-transfer-group-many/find-transfer-group-many.guards.d.ts +4 -4
  164. package/dist/txs/find-transfer-many/find-transfer-many.enums.d.ts +93 -93
  165. package/dist/txs/find-transfer-many/find-transfer-many.guards.d.ts +4 -4
  166. package/dist/txs/find-wallet-many/find-wallet-many.enums.d.ts +181 -179
  167. package/dist/txs/find-wallet-many/find-wallet-many.guards.d.ts +4 -4
  168. package/dist/txs/finish-transaction/finish-transaction.enums.d.ts +33 -29
  169. package/dist/txs/finish-transaction/finish-transaction.guards.d.ts +4 -4
  170. package/dist/txs/get-balance/get-balance.enums.d.ts +107 -107
  171. package/dist/txs/get-balance/get-balance.guards.d.ts +4 -4
  172. package/dist/txs/get-balance-history/get-balance-history.enums.d.ts +188 -188
  173. package/dist/txs/get-balance-history/get-balance-history.guards.d.ts +4 -4
  174. package/dist/txs/get-flags/get-flags.enums.d.ts +19 -19
  175. package/dist/txs/get-flags/get-flags.guards.d.ts +4 -4
  176. package/dist/txs/get-statistics/get-statistics.enums.d.ts +58 -58
  177. package/dist/txs/get-statistics/get-statistics.guards.d.ts +4 -4
  178. package/dist/txs/get-token/get-token.enums.d.ts +114 -114
  179. package/dist/txs/get-token/get-token.guards.d.ts +4 -4
  180. package/dist/txs/get-token-many/get-token-many.enums.d.ts +36 -36
  181. package/dist/txs/get-token-many/get-token-many.guards.d.ts +4 -4
  182. package/dist/txs/get-transfer/get-transfer.enums.d.ts +283 -283
  183. package/dist/txs/get-transfer/get-transfer.guards.d.ts +4 -4
  184. package/dist/txs/get-transfer-group/get-transfer-group.enums.d.ts +121 -121
  185. package/dist/txs/get-transfer-group/get-transfer-group.guards.d.ts +4 -4
  186. package/dist/txs/get-wallet/get-wallet.enums.d.ts +67 -67
  187. package/dist/txs/get-wallet/get-wallet.guards.d.ts +4 -4
  188. package/dist/txs/get-wallet-many/get-wallet-many.enums.d.ts +36 -36
  189. package/dist/txs/get-wallet-many/get-wallet-many.guards.d.ts +4 -4
  190. package/dist/txs/import-actions/import-actions.enums.d.ts +179 -206
  191. package/dist/txs/import-actions/import-actions.guards.d.ts +8 -8
  192. package/dist/txs/index.d.ts +271 -253
  193. package/dist/txs/query/query.enums.d.ts +30 -30
  194. package/dist/txs/query/query.guards.d.ts +4 -4
  195. package/dist/txs/query-logs/query-logs.enums.d.ts +54 -0
  196. package/dist/txs/query-logs/query-logs.guards.d.ts +4 -0
  197. package/dist/txs/reset-database/reset-database.enums.d.ts +34 -34
  198. package/dist/txs/reset-database/reset-database.guards.d.ts +4 -4
  199. package/dist/txs/reverse-transfer/reverse-transfer.enums.d.ts +72 -72
  200. package/dist/txs/reverse-transfer/reverse-transfer.guards.d.ts +4 -4
  201. package/dist/txs/reverse-transfer-group/reverse-transfer-group.enums.d.ts +95 -95
  202. package/dist/txs/reverse-transfer-group/reverse-transfer-group.guards.d.ts +4 -4
  203. package/dist/txs/reverse-transfer-group-many/reverse-transfer-group-many.enums.d.ts +77 -77
  204. package/dist/txs/reverse-transfer-group-many/reverse-transfer-group-many.guards.d.ts +4 -4
  205. package/dist/txs/reverse-transfer-many/reverse-transfer-many.enums.d.ts +58 -58
  206. package/dist/txs/reverse-transfer-many/reverse-transfer-many.guards.d.ts +4 -4
  207. package/dist/txs/set-flags/set-flags.enums.d.ts +24 -24
  208. package/dist/txs/set-flags/set-flags.guards.d.ts +4 -4
  209. package/dist/txs/start-transaction/start-transaction.enums.d.ts +18 -18
  210. package/dist/txs/start-transaction/start-transaction.guards.d.ts +4 -4
  211. package/dist/txs/tx-consts.enums.d.ts +236 -236
  212. package/dist/txs/update-token/update-token.enums.d.ts +51 -51
  213. package/dist/txs/update-token/update-token.guards.d.ts +4 -4
  214. package/dist/txs/update-transfer/update-transfer.enums.d.ts +78 -78
  215. package/dist/txs/update-transfer/update-transfer.guards.d.ts +4 -4
  216. package/dist/txs/update-transfer-group/update-transfer-group.enums.d.ts +91 -91
  217. package/dist/txs/update-transfer-group/update-transfer-group.guards.d.ts +4 -4
  218. package/dist/txs/update-transfer-group-many/update-transfer-group-many.enums.d.ts +40 -40
  219. package/dist/txs/update-transfer-group-many/update-transfer-group-many.guards.d.ts +4 -4
  220. package/dist/txs/update-transfer-many/update-transfer-many.enums.d.ts +36 -36
  221. package/dist/txs/update-transfer-many/update-transfer-many.guards.d.ts +4 -4
  222. package/dist/txs/update-wallet/update-wallet.enums.d.ts +54 -54
  223. package/dist/txs/update-wallet/update-wallet.guards.d.ts +4 -4
  224. package/dist/wapi-client.cjs.development.js +30083 -21278
  225. package/dist/wapi-client.cjs.js +17 -7
  226. package/package.json +9 -5
  227. package/dist/fns/import-data/import-data.web.d.ts +0 -11
  228. package/dist/lib/isomorphic/web/get-random-hex.d.ts +0 -1
  229. package/dist/lib/isomorphic/web/streams.d.ts +0 -26
  230. package/dist/lib/isomorphic/web/ws.d.ts +0 -18
  231. package/dist/wapi-client.cjs.development.js.map +0 -1
  232. package/dist/wapi-client.cjs.production.js +0 -2
  233. package/dist/wapi-client.cjs.production.js.map +0 -1
  234. package/dist/wapi-client.esm.js +0 -21158
  235. package/dist/wapi-client.esm.js.map +0 -1
@@ -1,29 +1,29 @@
1
- import { GetBalanceHistoryTxOptions, GetBalanceHistoryTxOutput } from '../../txs';
2
- /**
3
- * Optional flags for input
4
- */
5
- export declare type GetBalanceHistoryFnOptions = GetBalanceHistoryTxOptions;
6
- export declare type GetBalanceHistoryFnInputStringFields = 'token' | 'wallet';
7
- /**
8
- * Input for getBalanceHistory
9
- *
10
- * @category Input
11
- */
12
- export interface GetBalanceHistoryFnInput {
13
- /**
14
- * Id of the token to get balance
15
- */
16
- token?: string | number;
17
- /**
18
- * Id of the wallet to get balance from
19
- */
20
- wallet: string | number;
21
- options?: GetBalanceHistoryFnOptions;
22
- }
23
- /**
24
- * Output of getBalanceHistory
25
- *
26
- * @category Output
27
- */
28
- export interface GetBalanceHistoryFnOutput extends GetBalanceHistoryTxOutput {
29
- }
1
+ import { GetBalanceHistoryTxOptions, GetBalanceHistoryTxOutput } from '../../txs';
2
+ export declare type GetBalanceHistoryFnInputStringFields = 'token' | 'wallet';
3
+ /**
4
+ * Optional flags for input
5
+ */
6
+ export declare type GetBalanceHistoryFnOptions = GetBalanceHistoryTxOptions;
7
+ /**
8
+ * Input for getBalanceHistory
9
+ *
10
+ * @category Input
11
+ */
12
+ export interface GetBalanceHistoryFnInput {
13
+ /**
14
+ * Id of the token to get balance
15
+ */
16
+ token?: string | number;
17
+ /**
18
+ * Id of the wallet to get balance from
19
+ */
20
+ wallet: string | number;
21
+ options?: GetBalanceHistoryFnOptions;
22
+ }
23
+ /**
24
+ * Output of getBalanceHistory
25
+ *
26
+ * @category Output
27
+ */
28
+ export interface GetBalanceHistoryFnOutput extends GetBalanceHistoryTxOutput {
29
+ }
@@ -1,4 +1,4 @@
1
- import { GetBalanceHistoryFnInput } from './get-balance-history.enums';
2
- export declare function isGetBalanceHistoryFnInput(input: unknown): input is GetBalanceHistoryFnInput;
3
- import { GetBalanceHistoryFnOutput } from './get-balance-history.enums';
4
- export declare function isGetBalanceHistoryFnOutput(input: unknown): input is GetBalanceHistoryFnOutput;
1
+ import { GetBalanceHistoryFnInput } from './get-balance-history.enums';
2
+ export declare function isGetBalanceHistoryFnInput(input: unknown): input is GetBalanceHistoryFnInput;
3
+ import { GetBalanceHistoryFnOutput } from './get-balance-history.enums';
4
+ export declare function isGetBalanceHistoryFnOutput(input: unknown): input is GetBalanceHistoryFnOutput;
@@ -1,9 +1,9 @@
1
- import { ClientFunctionOptions } from '../';
2
- import { StreamPromise } from '../../lib/stream-promise';
3
- import { GetFlagsFnInput, GetFlagsFnOutput, GetFlagsFnOptions } from './get-flags.enums';
4
- /**
5
- * @internal
6
- *
7
- * Retrieve the current state of configurable Flags for your WAPI instance
8
- */
9
- export default function getFlags(options: ClientFunctionOptions, input?: GetFlagsFnInput, fnOptions?: GetFlagsFnOptions): StreamPromise<GetFlagsFnOutput>;
1
+ import { ClientFunctionOptions } from '../';
2
+ import { StreamPromise } from '../../lib/stream-promise';
3
+ import { GetFlagsFnInput, GetFlagsFnOutput, GetFlagsFnOptions } from './get-flags.enums';
4
+ /**
5
+ * @internal
6
+ *
7
+ * Retrieve the current state of configurable Flags for your WAPI instance
8
+ */
9
+ export default function getFlags(options: ClientFunctionOptions, input?: GetFlagsFnInput, fnOptions?: GetFlagsFnOptions): StreamPromise<GetFlagsFnOutput>;
@@ -1,17 +1,17 @@
1
- import { GetFlagsTxOptions, GetFlagsTxOutput } from '../../txs';
2
- export declare type GetFlagsFnOptions = GetFlagsTxOptions;
3
- /**
4
- * Input for getFlags
5
- *
6
- * @category Input
7
- */
8
- export interface GetFlagsFnInput {
9
- options?: GetFlagsFnOptions;
10
- }
11
- /**
12
- * Output of getFlags
13
- *
14
- * @category Output
15
- */
16
- export interface GetFlagsFnOutput extends GetFlagsTxOutput {
17
- }
1
+ import { GetFlagsTxOptions, GetFlagsTxOutput } from '../../txs';
2
+ export declare type GetFlagsFnOptions = GetFlagsTxOptions;
3
+ /**
4
+ * Input for getFlags
5
+ *
6
+ * @category Input
7
+ */
8
+ export interface GetFlagsFnInput {
9
+ options?: GetFlagsFnOptions;
10
+ }
11
+ /**
12
+ * Output of getFlags
13
+ *
14
+ * @category Output
15
+ */
16
+ export interface GetFlagsFnOutput extends GetFlagsTxOutput {
17
+ }
@@ -1,4 +1,4 @@
1
- import { GetFlagsFnInput } from './get-flags.enums';
2
- export declare function isGetFlagsFnInput(input: unknown): input is GetFlagsFnInput;
3
- import { GetFlagsFnOutput } from './get-flags.enums';
4
- export declare function isGetFlagsFnOutput(input: unknown): input is GetFlagsFnOutput;
1
+ import { GetFlagsFnInput } from './get-flags.enums';
2
+ export declare function isGetFlagsFnInput(input: unknown): input is GetFlagsFnInput;
3
+ import { GetFlagsFnOutput } from './get-flags.enums';
4
+ export declare function isGetFlagsFnOutput(input: unknown): input is GetFlagsFnOutput;
@@ -1,9 +1,9 @@
1
- import { ClientFunctionOptions } from '../';
2
- import { StreamPromise } from '../../lib/stream-promise';
3
- import { GetStatisticsFnInput, GetStatisticsFnOutput, GetStatisticsFnOptions } from './get-statistics.enums';
4
- /**
5
- * @internal
6
- *
7
- * Get aggregated statistics about WAPI entities
8
- */
9
- export default function getStatistics(options: ClientFunctionOptions, input?: GetStatisticsFnInput, fnOptions?: GetStatisticsFnOptions): StreamPromise<GetStatisticsFnOutput>;
1
+ import { ClientFunctionOptions } from '../';
2
+ import { StreamPromise } from '../../lib/stream-promise';
3
+ import { GetStatisticsFnInput, GetStatisticsFnOutput, GetStatisticsFnOptions } from './get-statistics.enums';
4
+ /**
5
+ * @internal
6
+ *
7
+ * Get aggregated statistics about WAPI entities
8
+ */
9
+ export default function getStatistics(options: ClientFunctionOptions, input?: GetStatisticsFnInput, fnOptions?: GetStatisticsFnOptions): StreamPromise<GetStatisticsFnOutput>;
@@ -1,24 +1,24 @@
1
- import { StatisticsModel, StatisticsGroups, ITxAggregator, StatisticsFilter, GetStatisticsTxOptions, GetStatisticsTxOutput } from '../../txs';
2
- /**
3
- * Optional flags for input
4
- */
5
- export declare type GetStatisticsFnOptions = GetStatisticsTxOptions;
6
- /**
7
- * Input for getStatistics
8
- *
9
- * @category Input
10
- */
11
- export interface GetStatisticsFnInput {
12
- model?: StatisticsModel;
13
- groups?: StatisticsGroups;
14
- aggregator?: ITxAggregator;
15
- filter?: StatisticsFilter;
16
- options?: GetStatisticsFnOptions;
17
- }
18
- /**
19
- * Output of getStatistics
20
- *
21
- * @category Output
22
- */
23
- export interface GetStatisticsFnOutput extends GetStatisticsTxOutput {
24
- }
1
+ import { StatisticsModel, StatisticsGroups, ITxAggregator, StatisticsFilter, GetStatisticsTxOptions, GetStatisticsTxOutput } from '../../txs';
2
+ /**
3
+ * Optional flags for input
4
+ */
5
+ export declare type GetStatisticsFnOptions = GetStatisticsTxOptions;
6
+ /**
7
+ * Input for getStatistics
8
+ *
9
+ * @category Input
10
+ */
11
+ export interface GetStatisticsFnInput {
12
+ model?: StatisticsModel;
13
+ groups?: StatisticsGroups;
14
+ aggregator?: ITxAggregator;
15
+ filter?: StatisticsFilter;
16
+ options?: GetStatisticsFnOptions;
17
+ }
18
+ /**
19
+ * Output of getStatistics
20
+ *
21
+ * @category Output
22
+ */
23
+ export interface GetStatisticsFnOutput extends GetStatisticsTxOutput {
24
+ }
@@ -1,4 +1,4 @@
1
- import { GetStatisticsFnInput } from './get-statistics.enums';
2
- export declare function isGetStatisticsFnInput(input: unknown): input is GetStatisticsFnInput;
3
- import { GetStatisticsFnOutput } from './get-statistics.enums';
4
- export declare function isGetStatisticsFnOutput(input: unknown): input is GetStatisticsFnOutput;
1
+ import { GetStatisticsFnInput } from './get-statistics.enums';
2
+ export declare function isGetStatisticsFnInput(input: unknown): input is GetStatisticsFnInput;
3
+ import { GetStatisticsFnOutput } from './get-statistics.enums';
4
+ export declare function isGetStatisticsFnOutput(input: unknown): input is GetStatisticsFnOutput;
@@ -1,9 +1,9 @@
1
- import { ClientFunctionOptions } from '../';
2
- import { StreamPromise } from '../../lib/stream-promise';
3
- import { GetTokenFnInput, GetTokenFnOutput, GetTokenFnOptions } from './get-token.enums';
4
- /**
5
- * @internal
6
- *
7
- * Get information about token
8
- */
9
- export default function getToken(options: ClientFunctionOptions, input?: GetTokenFnInput, fnOptions?: GetTokenFnOptions): StreamPromise<GetTokenFnOutput>;
1
+ import { ClientFunctionOptions } from '../';
2
+ import { StreamPromise } from '../../lib/stream-promise';
3
+ import { GetTokenFnInput, GetTokenFnOutput, GetTokenFnOptions } from './get-token.enums';
4
+ /**
5
+ * @internal
6
+ *
7
+ * Get information about token
8
+ */
9
+ export default function getToken(options: ClientFunctionOptions, input?: GetTokenFnInput, fnOptions?: GetTokenFnOptions): StreamPromise<GetTokenFnOutput>;
@@ -1,21 +1,21 @@
1
- import { GetTokenTxOptions, GetTokenTxOutput } from '../../txs';
2
- export declare type GetTokenFnOptions = GetTokenTxOptions;
3
- /**
4
- * Input for getToken
5
- *
6
- * @category Input
7
- */
8
- export interface GetTokenFnInput {
9
- /**
10
- * Name of the token, used for name based token transfers. Must be unique
11
- */
12
- foreign?: string;
13
- options?: GetTokenFnOptions;
14
- }
15
- /**
16
- * Output of getToken
17
- *
18
- * @category Output
19
- */
20
- export interface GetTokenFnOutput extends GetTokenTxOutput {
21
- }
1
+ import { GetTokenTxOptions, GetTokenTxOutput } from '../../txs';
2
+ export declare type GetTokenFnOptions = GetTokenTxOptions;
3
+ /**
4
+ * Input for getToken
5
+ *
6
+ * @category Input
7
+ */
8
+ export interface GetTokenFnInput {
9
+ /**
10
+ * Name of the token, used for name based token transfers. Must be unique
11
+ */
12
+ foreign?: string;
13
+ options?: GetTokenFnOptions;
14
+ }
15
+ /**
16
+ * Output of getToken
17
+ *
18
+ * @category Output
19
+ */
20
+ export interface GetTokenFnOutput extends GetTokenTxOutput {
21
+ }
@@ -1,4 +1,4 @@
1
- import { GetTokenFnInput } from './get-token.enums';
2
- export declare function isGetTokenFnInput(input: unknown): input is GetTokenFnInput;
3
- import { GetTokenFnOutput } from './get-token.enums';
4
- export declare function isGetTokenFnOutput(input: unknown): input is GetTokenFnOutput;
1
+ import { GetTokenFnInput } from './get-token.enums';
2
+ export declare function isGetTokenFnInput(input: unknown): input is GetTokenFnInput;
3
+ import { GetTokenFnOutput } from './get-token.enums';
4
+ export declare function isGetTokenFnOutput(input: unknown): input is GetTokenFnOutput;
@@ -1,9 +1,9 @@
1
- import { ClientFunctionOptions } from '../';
2
- import { StreamPromise } from '../../lib/stream-promise';
3
- import { GetTransferFnInput, GetTransferFnOutput, GetTransferFnOptions } from './get-transfer.enums';
4
- /**
5
- * @internal
6
- *
7
- * Get information about a specific transfer
8
- */
9
- export default function getTransfer(options: ClientFunctionOptions, input: GetTransferFnInput, fnOptions?: GetTransferFnOptions): StreamPromise<GetTransferFnOutput>;
1
+ import { ClientFunctionOptions } from '../';
2
+ import { StreamPromise } from '../../lib/stream-promise';
3
+ import { GetTransferFnInput, GetTransferFnOutput, GetTransferFnOptions } from './get-transfer.enums';
4
+ /**
5
+ * @internal
6
+ *
7
+ * Get information about a specific transfer
8
+ */
9
+ export default function getTransfer(options: ClientFunctionOptions, input: GetTransferFnInput, fnOptions?: GetTransferFnOptions): StreamPromise<GetTransferFnOutput>;
@@ -1,25 +1,25 @@
1
- import { GetTransferTxOptions, GetTransferTxOutput } from '../../txs';
2
- /**
3
- * Optional flags for input
4
- */
5
- export declare type GetTransferFnOptions = GetTransferTxOptions;
6
- export declare type GetTransferFnInputStringFields = 'transfer';
7
- /**
8
- * Input for getTransfer
9
- *
10
- * @category Input
11
- */
12
- export interface GetTransferFnInput {
13
- /**
14
- * Transfer identifier
15
- */
16
- transfer: string | number;
17
- options?: GetTransferFnOptions;
18
- }
19
- /**
20
- * Output of getTransfer
21
- *
22
- * @category Output
23
- */
24
- export interface GetTransferFnOutput extends GetTransferTxOutput {
25
- }
1
+ import { GetTransferTxOptions, GetTransferTxOutput } from '../../txs';
2
+ export declare type GetTransferFnInputStringFields = 'transfer';
3
+ /**
4
+ * Optional flags for input
5
+ */
6
+ export declare type GetTransferFnOptions = GetTransferTxOptions;
7
+ /**
8
+ * Input for getTransfer
9
+ *
10
+ * @category Input
11
+ */
12
+ export interface GetTransferFnInput {
13
+ /**
14
+ * Transfer identifier
15
+ */
16
+ transfer: string | number;
17
+ options?: GetTransferFnOptions;
18
+ }
19
+ /**
20
+ * Output of getTransfer
21
+ *
22
+ * @category Output
23
+ */
24
+ export interface GetTransferFnOutput extends GetTransferTxOutput {
25
+ }
@@ -1,4 +1,4 @@
1
- import { GetTransferFnInput } from './get-transfer.enums';
2
- export declare function isGetTransferFnInput(input: unknown): input is GetTransferFnInput;
3
- import { GetTransferFnOutput } from './get-transfer.enums';
4
- export declare function isGetTransferFnOutput(input: unknown): input is GetTransferFnOutput;
1
+ import { GetTransferFnInput } from './get-transfer.enums';
2
+ export declare function isGetTransferFnInput(input: unknown): input is GetTransferFnInput;
3
+ import { GetTransferFnOutput } from './get-transfer.enums';
4
+ export declare function isGetTransferFnOutput(input: unknown): input is GetTransferFnOutput;
@@ -1,9 +1,9 @@
1
- import { ClientFunctionOptions } from '../';
2
- import { StreamPromise } from '../../lib/stream-promise';
3
- import { GetTransferGroupFnInput, GetTransferGroupFnOutput, GetTransferGroupFnOptions } from './get-transfer-group.enums';
4
- /**
5
- * @internal
6
- *
7
- * Get TransferGroup information
8
- */
9
- export default function getTransferGroup(options: ClientFunctionOptions, input: GetTransferGroupFnInput, fnOptions?: GetTransferGroupFnOptions): StreamPromise<GetTransferGroupFnOutput>;
1
+ import { ClientFunctionOptions } from '../';
2
+ import { StreamPromise } from '../../lib/stream-promise';
3
+ import { GetTransferGroupFnInput, GetTransferGroupFnOutput, GetTransferGroupFnOptions } from './get-transfer-group.enums';
4
+ /**
5
+ * @internal
6
+ *
7
+ * Get TransferGroup information
8
+ */
9
+ export default function getTransferGroup(options: ClientFunctionOptions, input: GetTransferGroupFnInput, fnOptions?: GetTransferGroupFnOptions): StreamPromise<GetTransferGroupFnOutput>;
@@ -1,25 +1,25 @@
1
- import { GetTransferGroupTxOptions, GetTransferGroupTxOutput } from '../../txs';
2
- /**
3
- * Optional flags for input
4
- */
5
- export declare type GetTransferGroupFnOptions = GetTransferGroupTxOptions;
6
- export declare type GetTransferGroupFnInputStringFields = 'transfer_group';
7
- /**
8
- * Input for getTransferGroup
9
- *
10
- * @category Input
11
- */
12
- export interface GetTransferGroupFnInput {
13
- /**
14
- * identifier of the transfer group to reverse
15
- */
16
- transfer_group: string | number;
17
- options?: GetTransferGroupFnOptions;
18
- }
19
- /**
20
- * Output of getTransferGroup
21
- *
22
- * @category Output
23
- */
24
- export interface GetTransferGroupFnOutput extends GetTransferGroupTxOutput {
25
- }
1
+ import { GetTransferGroupTxOptions, GetTransferGroupTxOutput } from '../../txs';
2
+ export declare type GetTransferGroupFnInputStringFields = 'transfer_group';
3
+ /**
4
+ * Optional flags for input
5
+ */
6
+ export declare type GetTransferGroupFnOptions = GetTransferGroupTxOptions;
7
+ /**
8
+ * Input for getTransferGroup
9
+ *
10
+ * @category Input
11
+ */
12
+ export interface GetTransferGroupFnInput {
13
+ /**
14
+ * identifier of the transfer group to reverse
15
+ */
16
+ transfer_group: string | number;
17
+ options?: GetTransferGroupFnOptions;
18
+ }
19
+ /**
20
+ * Output of getTransferGroup
21
+ *
22
+ * @category Output
23
+ */
24
+ export interface GetTransferGroupFnOutput extends GetTransferGroupTxOutput {
25
+ }
@@ -1,4 +1,4 @@
1
- import { GetTransferGroupFnInput } from './get-transfer-group.enums';
2
- export declare function isGetTransferGroupFnInput(input: unknown): input is GetTransferGroupFnInput;
3
- import { GetTransferGroupFnOutput } from './get-transfer-group.enums';
4
- export declare function isGetTransferGroupFnOutput(input: unknown): input is GetTransferGroupFnOutput;
1
+ import { GetTransferGroupFnInput } from './get-transfer-group.enums';
2
+ export declare function isGetTransferGroupFnInput(input: unknown): input is GetTransferGroupFnInput;
3
+ import { GetTransferGroupFnOutput } from './get-transfer-group.enums';
4
+ export declare function isGetTransferGroupFnOutput(input: unknown): input is GetTransferGroupFnOutput;
@@ -1,9 +1,9 @@
1
- import { ClientFunctionOptions } from '../';
2
- import { StreamPromise } from '../../lib/stream-promise';
3
- import { GetWalletFnInput, GetWalletFnOptions, GetWalletFnOutput } from './get-wallet.enums';
4
- /**
5
- * @internal
6
- *
7
- * Get information about wallet
8
- */
9
- export default function getWallet(options: ClientFunctionOptions, input: GetWalletFnInput, fnOptions?: GetWalletFnOptions): StreamPromise<GetWalletFnOutput>;
1
+ import { ClientFunctionOptions } from '../';
2
+ import { StreamPromise } from '../../lib/stream-promise';
3
+ import { GetWalletFnInput, GetWalletFnOptions, GetWalletFnOutput } from './get-wallet.enums';
4
+ /**
5
+ * @internal
6
+ *
7
+ * Get information about wallet
8
+ */
9
+ export default function getWallet(options: ClientFunctionOptions, input: GetWalletFnInput, fnOptions?: GetWalletFnOptions): StreamPromise<GetWalletFnOutput>;
@@ -1,25 +1,25 @@
1
- import { GetWalletTxOptions, GetWalletTxOutput } from '../../txs';
2
- /**
3
- * Optional flags for input
4
- */
5
- export declare type GetWalletFnOptions = GetWalletTxOptions;
6
- export declare type GetWalletFnInputStringFields = 'wallet';
7
- /**
8
- * Input for getWallet
9
- *
10
- * @category Input
11
- */
12
- export interface GetWalletFnInput {
13
- /**
14
- * Wallet foreign
15
- */
16
- wallet: string | number;
17
- options?: GetWalletFnOptions;
18
- }
19
- /**
20
- * Output of getWallet
21
- *
22
- * @category Output
23
- */
24
- export interface GetWalletFnOutput extends GetWalletTxOutput {
25
- }
1
+ import { GetWalletTxOptions, GetWalletTxOutput } from '../../txs';
2
+ export declare type GetWalletFnInputStringFields = 'wallet';
3
+ /**
4
+ * Optional flags for input
5
+ */
6
+ export declare type GetWalletFnOptions = GetWalletTxOptions;
7
+ /**
8
+ * Input for getWallet
9
+ *
10
+ * @category Input
11
+ */
12
+ export interface GetWalletFnInput {
13
+ /**
14
+ * Wallet foreign
15
+ */
16
+ wallet: string | number;
17
+ options?: GetWalletFnOptions;
18
+ }
19
+ /**
20
+ * Output of getWallet
21
+ *
22
+ * @category Output
23
+ */
24
+ export interface GetWalletFnOutput extends GetWalletTxOutput {
25
+ }
@@ -1,4 +1,4 @@
1
- import { GetWalletFnInput } from './get-wallet.enums';
2
- export declare function isGetWalletFnInput(input: unknown): input is GetWalletFnInput;
3
- import { GetWalletFnOutput } from './get-wallet.enums';
4
- export declare function isGetWalletFnOutput(input: unknown): input is GetWalletFnOutput;
1
+ import { GetWalletFnInput } from './get-wallet.enums';
2
+ export declare function isGetWalletFnInput(input: unknown): input is GetWalletFnInput;
3
+ import { GetWalletFnOutput } from './get-wallet.enums';
4
+ export declare function isGetWalletFnOutput(input: unknown): input is GetWalletFnOutput;
@@ -1,11 +1,11 @@
1
- import { ClientFunctionOptions, ImportDataFnStreamChunk } from '../';
2
- import { StreamPromise } from '../../lib/stream-promise';
3
- import { StreamPromiseInput } from '../../lib/stream-promise-input';
4
- export * from './import-data.guards';
5
- import { ImportDataFnInput, ImportDataFnOutput, ImportDataFnOptions } from './import-data.enums';
6
- /**
7
- * @internal
8
- *
9
- */
10
- export default function importData(options: ClientFunctionOptions, input?: ImportDataFnOptions): StreamPromiseInput<ImportDataFnOutput, ImportDataFnStreamChunk>;
11
- export default function importData(options: ClientFunctionOptions, input: ImportDataFnInput, fnOptions?: ImportDataFnOptions): StreamPromise<ImportDataFnOutput>;
1
+ import { ClientFunctionOptions, ImportDataFnStreamChunk } from '../';
2
+ import { StreamPromise } from '../../lib/stream-promise';
3
+ import { StreamPromiseInput } from '../../lib/stream-promise-input';
4
+ export * from './import-data.guards';
5
+ import { ImportDataFnInput, ImportDataFnOutput, ImportDataFnOptions } from './import-data.enums';
6
+ /**
7
+ * @internal
8
+ *
9
+ */
10
+ export default function importData(options: ClientFunctionOptions, input?: ImportDataFnOptions): StreamPromiseInput<ImportDataFnOutput, ImportDataFnStreamChunk>;
11
+ export default function importData(options: ClientFunctionOptions, input: ImportDataFnInput, fnOptions?: ImportDataFnOptions): StreamPromise<ImportDataFnOutput>;