@nemtus/symbol-rest-api-client-fetch 1.0.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 (1084) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +268 -0
  3. package/cjs/api/apis/AccountRoutesApi.d.ts +76 -0
  4. package/cjs/api/apis/AccountRoutesApi.js +209 -0
  5. package/cjs/api/apis/BlockRoutesApi.d.ts +80 -0
  6. package/cjs/api/apis/BlockRoutesApi.js +225 -0
  7. package/cjs/api/apis/ChainRoutesApi.d.ts +28 -0
  8. package/cjs/api/apis/ChainRoutesApi.js +94 -0
  9. package/cjs/api/apis/FinalizationRoutesApi.d.ts +44 -0
  10. package/cjs/api/apis/FinalizationRoutesApi.js +130 -0
  11. package/cjs/api/apis/HashLockRoutesApi.d.ts +91 -0
  12. package/cjs/api/apis/HashLockRoutesApi.js +250 -0
  13. package/cjs/api/apis/MetadataRoutesApi.d.ts +94 -0
  14. package/cjs/api/apis/MetadataRoutesApi.js +259 -0
  15. package/cjs/api/apis/MosaicRoutesApi.d.ts +74 -0
  16. package/cjs/api/apis/MosaicRoutesApi.js +206 -0
  17. package/cjs/api/apis/MultisigRoutesApi.d.ts +57 -0
  18. package/cjs/api/apis/MultisigRoutesApi.js +162 -0
  19. package/cjs/api/apis/NamespaceRoutesApi.d.ts +103 -0
  20. package/cjs/api/apis/NamespaceRoutesApi.js +281 -0
  21. package/cjs/api/apis/NetworkRoutesApi.d.ts +111 -0
  22. package/cjs/api/apis/NetworkRoutesApi.js +337 -0
  23. package/cjs/api/apis/NodeRoutesApi.d.ts +102 -0
  24. package/cjs/api/apis/NodeRoutesApi.js +290 -0
  25. package/cjs/api/apis/ReceiptRoutesApi.d.ts +76 -0
  26. package/cjs/api/apis/ReceiptRoutesApi.js +216 -0
  27. package/cjs/api/apis/RestrictionAccountRoutesApi.d.ts +74 -0
  28. package/cjs/api/apis/RestrictionAccountRoutesApi.js +206 -0
  29. package/cjs/api/apis/RestrictionMosaicRoutesApi.d.ts +76 -0
  30. package/cjs/api/apis/RestrictionMosaicRoutesApi.js +212 -0
  31. package/cjs/api/apis/SecretLockRoutesApi.d.ts +93 -0
  32. package/cjs/api/apis/SecretLockRoutesApi.js +256 -0
  33. package/cjs/api/apis/TransactionRoutesApi.d.ts +216 -0
  34. package/cjs/api/apis/TransactionRoutesApi.js +579 -0
  35. package/cjs/api/apis/TransactionStatusRoutesApi.d.ts +44 -0
  36. package/cjs/api/apis/TransactionStatusRoutesApi.js +131 -0
  37. package/cjs/api/apis/index.d.ts +17 -0
  38. package/cjs/api/apis/index.js +35 -0
  39. package/cjs/api/index.d.ts +3 -0
  40. package/cjs/api/index.js +21 -0
  41. package/cjs/api/models/AccountAddressRestrictionTransactionBodyDTO.d.ts +45 -0
  42. package/cjs/api/models/AccountAddressRestrictionTransactionBodyDTO.js +59 -0
  43. package/cjs/api/models/AccountAddressRestrictionTransactionDTO.d.ts +113 -0
  44. package/cjs/api/models/AccountAddressRestrictionTransactionDTO.js +92 -0
  45. package/cjs/api/models/AccountDTO.d.ts +116 -0
  46. package/cjs/api/models/AccountDTO.js +94 -0
  47. package/cjs/api/models/AccountIds.d.ts +40 -0
  48. package/cjs/api/models/AccountIds.js +50 -0
  49. package/cjs/api/models/AccountInfoDTO.d.ts +41 -0
  50. package/cjs/api/models/AccountInfoDTO.js +55 -0
  51. package/cjs/api/models/AccountKeyLinkNetworkPropertiesDTO.d.ts +32 -0
  52. package/cjs/api/models/AccountKeyLinkNetworkPropertiesDTO.js +48 -0
  53. package/cjs/api/models/AccountKeyLinkTransactionBodyDTO.d.ts +39 -0
  54. package/cjs/api/models/AccountKeyLinkTransactionBodyDTO.js +55 -0
  55. package/cjs/api/models/AccountKeyLinkTransactionDTO.d.ts +109 -0
  56. package/cjs/api/models/AccountKeyLinkTransactionDTO.js +88 -0
  57. package/cjs/api/models/AccountLinkPublicKeyDTO.d.ts +32 -0
  58. package/cjs/api/models/AccountLinkPublicKeyDTO.js +50 -0
  59. package/cjs/api/models/AccountLinkVotingKeyDTO.d.ts +50 -0
  60. package/cjs/api/models/AccountLinkVotingKeyDTO.js +58 -0
  61. package/cjs/api/models/AccountLinkVotingKeysDTO.d.ts +33 -0
  62. package/cjs/api/models/AccountLinkVotingKeysDTO.js +51 -0
  63. package/cjs/api/models/AccountMetadataTransactionBodyDTO.d.ts +71 -0
  64. package/cjs/api/models/AccountMetadataTransactionBodyDTO.js +66 -0
  65. package/cjs/api/models/AccountMetadataTransactionDTO.d.ts +137 -0
  66. package/cjs/api/models/AccountMetadataTransactionDTO.js +99 -0
  67. package/cjs/api/models/AccountMosaicRestrictionTransactionBodyDTO.d.ts +45 -0
  68. package/cjs/api/models/AccountMosaicRestrictionTransactionBodyDTO.js +59 -0
  69. package/cjs/api/models/AccountMosaicRestrictionTransactionDTO.d.ts +113 -0
  70. package/cjs/api/models/AccountMosaicRestrictionTransactionDTO.js +92 -0
  71. package/cjs/api/models/AccountNamesDTO.d.ts +40 -0
  72. package/cjs/api/models/AccountNamesDTO.js +54 -0
  73. package/cjs/api/models/AccountOperationRestrictionTransactionBodyDTO.d.ts +46 -0
  74. package/cjs/api/models/AccountOperationRestrictionTransactionBodyDTO.js +60 -0
  75. package/cjs/api/models/AccountOperationRestrictionTransactionDTO.d.ts +114 -0
  76. package/cjs/api/models/AccountOperationRestrictionTransactionDTO.js +93 -0
  77. package/cjs/api/models/AccountOrderByEnum.d.ts +28 -0
  78. package/cjs/api/models/AccountOrderByEnum.js +54 -0
  79. package/cjs/api/models/AccountPage.d.ts +40 -0
  80. package/cjs/api/models/AccountPage.js +56 -0
  81. package/cjs/api/models/AccountRestrictionDTO.d.ts +42 -0
  82. package/cjs/api/models/AccountRestrictionDTO.js +56 -0
  83. package/cjs/api/models/AccountRestrictionDTOValuesInner.d.ts +26 -0
  84. package/cjs/api/models/AccountRestrictionDTOValuesInner.js +38 -0
  85. package/cjs/api/models/AccountRestrictionFlagsEnum.d.ts +49 -0
  86. package/cjs/api/models/AccountRestrictionFlagsEnum.js +75 -0
  87. package/cjs/api/models/AccountRestrictionNetworkPropertiesDTO.d.ts +32 -0
  88. package/cjs/api/models/AccountRestrictionNetworkPropertiesDTO.js +48 -0
  89. package/cjs/api/models/AccountRestrictionsDTO.d.ts +50 -0
  90. package/cjs/api/models/AccountRestrictionsDTO.js +59 -0
  91. package/cjs/api/models/AccountRestrictionsInfoDTO.d.ts +33 -0
  92. package/cjs/api/models/AccountRestrictionsInfoDTO.js +51 -0
  93. package/cjs/api/models/AccountRestrictionsPage.d.ts +40 -0
  94. package/cjs/api/models/AccountRestrictionsPage.js +56 -0
  95. package/cjs/api/models/AccountTypeEnum.d.ts +40 -0
  96. package/cjs/api/models/AccountTypeEnum.js +66 -0
  97. package/cjs/api/models/AccountsNamesDTO.d.ts +33 -0
  98. package/cjs/api/models/AccountsNamesDTO.js +51 -0
  99. package/cjs/api/models/ActivityBucketDTO.d.ts +69 -0
  100. package/cjs/api/models/ActivityBucketDTO.js +62 -0
  101. package/cjs/api/models/AddressAliasTransactionBodyDTO.d.ts +50 -0
  102. package/cjs/api/models/AddressAliasTransactionBodyDTO.js +59 -0
  103. package/cjs/api/models/AddressAliasTransactionDTO.d.ts +118 -0
  104. package/cjs/api/models/AddressAliasTransactionDTO.js +92 -0
  105. package/cjs/api/models/Addresses.d.ts +32 -0
  106. package/cjs/api/models/Addresses.js +48 -0
  107. package/cjs/api/models/AggregateNetworkPropertiesDTO.d.ts +58 -0
  108. package/cjs/api/models/AggregateNetworkPropertiesDTO.js +56 -0
  109. package/cjs/api/models/AggregateTransactionBodyDTO.d.ts +41 -0
  110. package/cjs/api/models/AggregateTransactionBodyDTO.js +55 -0
  111. package/cjs/api/models/AggregateTransactionBodyExtendedDTO.d.ts +48 -0
  112. package/cjs/api/models/AggregateTransactionBodyExtendedDTO.js +60 -0
  113. package/cjs/api/models/AggregateTransactionDTO.d.ts +107 -0
  114. package/cjs/api/models/AggregateTransactionDTO.js +88 -0
  115. package/cjs/api/models/AggregateTransactionExtendedDTO.d.ts +114 -0
  116. package/cjs/api/models/AggregateTransactionExtendedDTO.js +93 -0
  117. package/cjs/api/models/AliasActionEnum.d.ts +28 -0
  118. package/cjs/api/models/AliasActionEnum.js +54 -0
  119. package/cjs/api/models/AliasDTO.d.ts +52 -0
  120. package/cjs/api/models/AliasDTO.js +55 -0
  121. package/cjs/api/models/AliasTypeEnum.d.ts +33 -0
  122. package/cjs/api/models/AliasTypeEnum.js +59 -0
  123. package/cjs/api/models/AnnounceTransactionInfoDTO.d.ts +48 -0
  124. package/cjs/api/models/AnnounceTransactionInfoDTO.js +50 -0
  125. package/cjs/api/models/BalanceChangeReceiptDTO.d.ts +69 -0
  126. package/cjs/api/models/BalanceChangeReceiptDTO.js +67 -0
  127. package/cjs/api/models/BalanceTransferReceiptDTO.d.ts +78 -0
  128. package/cjs/api/models/BalanceTransferReceiptDTO.js +71 -0
  129. package/cjs/api/models/BlockDTO.d.ts +192 -0
  130. package/cjs/api/models/BlockDTO.js +119 -0
  131. package/cjs/api/models/BlockInfoDTO.d.ts +48 -0
  132. package/cjs/api/models/BlockInfoDTO.js +60 -0
  133. package/cjs/api/models/BlockInfoDTOBlock.d.ts +219 -0
  134. package/cjs/api/models/BlockInfoDTOBlock.js +135 -0
  135. package/cjs/api/models/BlockMetaDTO.d.ts +84 -0
  136. package/cjs/api/models/BlockMetaDTO.js +74 -0
  137. package/cjs/api/models/BlockOrderByEnum.d.ts +28 -0
  138. package/cjs/api/models/BlockOrderByEnum.js +54 -0
  139. package/cjs/api/models/BlockPage.d.ts +40 -0
  140. package/cjs/api/models/BlockPage.js +56 -0
  141. package/cjs/api/models/BmTreeSignature.d.ts +42 -0
  142. package/cjs/api/models/BmTreeSignature.js +55 -0
  143. package/cjs/api/models/BsonLongDTO.d.ts +45 -0
  144. package/cjs/api/models/BsonLongDTO.js +58 -0
  145. package/cjs/api/models/ChainInfoDTO.d.ts +66 -0
  146. package/cjs/api/models/ChainInfoDTO.js +63 -0
  147. package/cjs/api/models/ChainPropertiesDTO.d.ts +214 -0
  148. package/cjs/api/models/ChainPropertiesDTO.js +106 -0
  149. package/cjs/api/models/CommunicationTimestampsDTO.d.ts +60 -0
  150. package/cjs/api/models/CommunicationTimestampsDTO.js +50 -0
  151. package/cjs/api/models/CompositeHashes.d.ts +32 -0
  152. package/cjs/api/models/CompositeHashes.js +48 -0
  153. package/cjs/api/models/Cosignature.d.ts +55 -0
  154. package/cjs/api/models/Cosignature.js +62 -0
  155. package/cjs/api/models/CosignatureDTO.d.ts +49 -0
  156. package/cjs/api/models/CosignatureDTO.js +58 -0
  157. package/cjs/api/models/DeploymentDTO.d.ts +45 -0
  158. package/cjs/api/models/DeploymentDTO.js +58 -0
  159. package/cjs/api/models/EmbeddedAccountAddressRestrictionTransactionDTO.d.ts +70 -0
  160. package/cjs/api/models/EmbeddedAccountAddressRestrictionTransactionDTO.js +76 -0
  161. package/cjs/api/models/EmbeddedAccountKeyLinkTransactionDTO.d.ts +64 -0
  162. package/cjs/api/models/EmbeddedAccountKeyLinkTransactionDTO.js +72 -0
  163. package/cjs/api/models/EmbeddedAccountMetadataTransactionDTO.d.ts +94 -0
  164. package/cjs/api/models/EmbeddedAccountMetadataTransactionDTO.js +83 -0
  165. package/cjs/api/models/EmbeddedAccountMosaicRestrictionTransactionDTO.d.ts +70 -0
  166. package/cjs/api/models/EmbeddedAccountMosaicRestrictionTransactionDTO.js +76 -0
  167. package/cjs/api/models/EmbeddedAccountOperationRestrictionTransactionDTO.d.ts +71 -0
  168. package/cjs/api/models/EmbeddedAccountOperationRestrictionTransactionDTO.js +77 -0
  169. package/cjs/api/models/EmbeddedAddressAliasTransactionDTO.d.ts +75 -0
  170. package/cjs/api/models/EmbeddedAddressAliasTransactionDTO.js +76 -0
  171. package/cjs/api/models/EmbeddedHashLockTransactionDTO.d.ts +82 -0
  172. package/cjs/api/models/EmbeddedHashLockTransactionDTO.js +79 -0
  173. package/cjs/api/models/EmbeddedMosaicAddressRestrictionTransactionDTO.d.ts +93 -0
  174. package/cjs/api/models/EmbeddedMosaicAddressRestrictionTransactionDTO.js +83 -0
  175. package/cjs/api/models/EmbeddedMosaicAliasTransactionDTO.d.ts +76 -0
  176. package/cjs/api/models/EmbeddedMosaicAliasTransactionDTO.js +76 -0
  177. package/cjs/api/models/EmbeddedMosaicDefinitionTransactionDTO.d.ts +98 -0
  178. package/cjs/api/models/EmbeddedMosaicDefinitionTransactionDTO.js +83 -0
  179. package/cjs/api/models/EmbeddedMosaicGlobalRestrictionTransactionDTO.d.ts +106 -0
  180. package/cjs/api/models/EmbeddedMosaicGlobalRestrictionTransactionDTO.js +92 -0
  181. package/cjs/api/models/EmbeddedMosaicMetadataTransactionDTO.d.ts +103 -0
  182. package/cjs/api/models/EmbeddedMosaicMetadataTransactionDTO.js +87 -0
  183. package/cjs/api/models/EmbeddedMosaicSupplyChangeTransactionDTO.d.ts +77 -0
  184. package/cjs/api/models/EmbeddedMosaicSupplyChangeTransactionDTO.js +76 -0
  185. package/cjs/api/models/EmbeddedMosaicSupplyRevocationTransactionDTO.d.ts +79 -0
  186. package/cjs/api/models/EmbeddedMosaicSupplyRevocationTransactionDTO.js +75 -0
  187. package/cjs/api/models/EmbeddedMultisigAccountModificationTransactionDTO.d.ts +83 -0
  188. package/cjs/api/models/EmbeddedMultisigAccountModificationTransactionDTO.js +79 -0
  189. package/cjs/api/models/EmbeddedNamespaceMetadataTransactionDTO.d.ts +103 -0
  190. package/cjs/api/models/EmbeddedNamespaceMetadataTransactionDTO.js +87 -0
  191. package/cjs/api/models/EmbeddedNamespaceRegistrationTransactionDTO.d.ts +88 -0
  192. package/cjs/api/models/EmbeddedNamespaceRegistrationTransactionDTO.js +80 -0
  193. package/cjs/api/models/EmbeddedNodeKeyLinkTransactionDTO.d.ts +64 -0
  194. package/cjs/api/models/EmbeddedNodeKeyLinkTransactionDTO.js +72 -0
  195. package/cjs/api/models/EmbeddedSecretLockTransactionDTO.d.ts +98 -0
  196. package/cjs/api/models/EmbeddedSecretLockTransactionDTO.js +88 -0
  197. package/cjs/api/models/EmbeddedSecretProofTransactionDTO.d.ts +79 -0
  198. package/cjs/api/models/EmbeddedSecretProofTransactionDTO.js +80 -0
  199. package/cjs/api/models/EmbeddedTransactionBodyDTO.d.ts +33 -0
  200. package/cjs/api/models/EmbeddedTransactionBodyDTO.js +51 -0
  201. package/cjs/api/models/EmbeddedTransactionDTO.d.ts +51 -0
  202. package/cjs/api/models/EmbeddedTransactionDTO.js +63 -0
  203. package/cjs/api/models/EmbeddedTransactionInfoDTO.d.ts +48 -0
  204. package/cjs/api/models/EmbeddedTransactionInfoDTO.js +60 -0
  205. package/cjs/api/models/EmbeddedTransactionInfoDTOTransaction.d.ts +427 -0
  206. package/cjs/api/models/EmbeddedTransactionInfoDTOTransaction.js +256 -0
  207. package/cjs/api/models/EmbeddedTransactionMetaDTO.d.ts +91 -0
  208. package/cjs/api/models/EmbeddedTransactionMetaDTO.js +66 -0
  209. package/cjs/api/models/EmbeddedTransferTransactionDTO.d.ts +74 -0
  210. package/cjs/api/models/EmbeddedTransferTransactionDTO.js +74 -0
  211. package/cjs/api/models/EmbeddedVotingKeyLinkTransactionDTO.d.ts +82 -0
  212. package/cjs/api/models/EmbeddedVotingKeyLinkTransactionDTO.js +80 -0
  213. package/cjs/api/models/EmbeddedVrfKeyLinkTransactionDTO.d.ts +64 -0
  214. package/cjs/api/models/EmbeddedVrfKeyLinkTransactionDTO.js +72 -0
  215. package/cjs/api/models/EntityDTO.d.ts +54 -0
  216. package/cjs/api/models/EntityDTO.js +63 -0
  217. package/cjs/api/models/FinalizationProofDTO.d.ts +75 -0
  218. package/cjs/api/models/FinalizationProofDTO.js +71 -0
  219. package/cjs/api/models/FinalizedBlockDTO.d.ts +59 -0
  220. package/cjs/api/models/FinalizedBlockDTO.js +62 -0
  221. package/cjs/api/models/ForkHeightsDTO.d.ts +92 -0
  222. package/cjs/api/models/ForkHeightsDTO.js +60 -0
  223. package/cjs/api/models/HashLockEntryDTO.d.ts +86 -0
  224. package/cjs/api/models/HashLockEntryDTO.js +75 -0
  225. package/cjs/api/models/HashLockInfoDTO.d.ts +41 -0
  226. package/cjs/api/models/HashLockInfoDTO.js +55 -0
  227. package/cjs/api/models/HashLockNetworkPropertiesDTO.d.ts +38 -0
  228. package/cjs/api/models/HashLockNetworkPropertiesDTO.js +50 -0
  229. package/cjs/api/models/HashLockPage.d.ts +40 -0
  230. package/cjs/api/models/HashLockPage.js +56 -0
  231. package/cjs/api/models/HashLockTransactionBodyDTO.d.ts +57 -0
  232. package/cjs/api/models/HashLockTransactionBodyDTO.js +62 -0
  233. package/cjs/api/models/HashLockTransactionDTO.d.ts +125 -0
  234. package/cjs/api/models/HashLockTransactionDTO.js +95 -0
  235. package/cjs/api/models/ImportanceBlockDTO.d.ts +221 -0
  236. package/cjs/api/models/ImportanceBlockDTO.js +135 -0
  237. package/cjs/api/models/InflationReceiptDTO.d.ts +58 -0
  238. package/cjs/api/models/InflationReceiptDTO.js +63 -0
  239. package/cjs/api/models/LinkActionEnum.d.ts +28 -0
  240. package/cjs/api/models/LinkActionEnum.js +54 -0
  241. package/cjs/api/models/LockHashAlgorithmEnum.d.ts +30 -0
  242. package/cjs/api/models/LockHashAlgorithmEnum.js +56 -0
  243. package/cjs/api/models/LockStatus.d.ts +28 -0
  244. package/cjs/api/models/LockStatus.js +54 -0
  245. package/cjs/api/models/MerklePathItemDTO.d.ts +41 -0
  246. package/cjs/api/models/MerklePathItemDTO.js +51 -0
  247. package/cjs/api/models/MerkleProofInfoDTO.d.ts +33 -0
  248. package/cjs/api/models/MerkleProofInfoDTO.js +49 -0
  249. package/cjs/api/models/MerkleStateInfoDTO.d.ts +45 -0
  250. package/cjs/api/models/MerkleStateInfoDTO.js +55 -0
  251. package/cjs/api/models/MerkleStateInfoDTOTreeInner.d.ts +82 -0
  252. package/cjs/api/models/MerkleStateInfoDTOTreeInner.js +84 -0
  253. package/cjs/api/models/MerkleTreeBranchDTO.d.ts +72 -0
  254. package/cjs/api/models/MerkleTreeBranchDTO.js +76 -0
  255. package/cjs/api/models/MerkleTreeBranchLinkDTO.d.ts +40 -0
  256. package/cjs/api/models/MerkleTreeBranchLinkDTO.js +54 -0
  257. package/cjs/api/models/MerkleTreeLeafDTO.d.ts +65 -0
  258. package/cjs/api/models/MerkleTreeLeafDTO.js +71 -0
  259. package/cjs/api/models/MerkleTreeNodeTypeEnum.d.ts +29 -0
  260. package/cjs/api/models/MerkleTreeNodeTypeEnum.js +55 -0
  261. package/cjs/api/models/MessageGroup.d.ts +58 -0
  262. package/cjs/api/models/MessageGroup.js +64 -0
  263. package/cjs/api/models/MetadataEntryDTO.d.ts +97 -0
  264. package/cjs/api/models/MetadataEntryDTO.js +82 -0
  265. package/cjs/api/models/MetadataEntryDTOTargetId.d.ts +26 -0
  266. package/cjs/api/models/MetadataEntryDTOTargetId.js +38 -0
  267. package/cjs/api/models/MetadataInfoDTO.d.ts +41 -0
  268. package/cjs/api/models/MetadataInfoDTO.js +55 -0
  269. package/cjs/api/models/MetadataNetworkPropertiesDTO.d.ts +32 -0
  270. package/cjs/api/models/MetadataNetworkPropertiesDTO.js +48 -0
  271. package/cjs/api/models/MetadataPage.d.ts +40 -0
  272. package/cjs/api/models/MetadataPage.js +56 -0
  273. package/cjs/api/models/MetadataTypeEnum.d.ts +30 -0
  274. package/cjs/api/models/MetadataTypeEnum.js +56 -0
  275. package/cjs/api/models/ModelError.d.ts +44 -0
  276. package/cjs/api/models/ModelError.js +54 -0
  277. package/cjs/api/models/Mosaic.d.ts +49 -0
  278. package/cjs/api/models/Mosaic.js +54 -0
  279. package/cjs/api/models/MosaicAddressRestrictionDTO.d.ts +41 -0
  280. package/cjs/api/models/MosaicAddressRestrictionDTO.js +55 -0
  281. package/cjs/api/models/MosaicAddressRestrictionEntryDTO.d.ts +43 -0
  282. package/cjs/api/models/MosaicAddressRestrictionEntryDTO.js +54 -0
  283. package/cjs/api/models/MosaicAddressRestrictionEntryWrapperDTO.d.ts +72 -0
  284. package/cjs/api/models/MosaicAddressRestrictionEntryWrapperDTO.js +72 -0
  285. package/cjs/api/models/MosaicAddressRestrictionTransactionBodyDTO.d.ts +68 -0
  286. package/cjs/api/models/MosaicAddressRestrictionTransactionBodyDTO.js +66 -0
  287. package/cjs/api/models/MosaicAddressRestrictionTransactionDTO.d.ts +136 -0
  288. package/cjs/api/models/MosaicAddressRestrictionTransactionDTO.js +99 -0
  289. package/cjs/api/models/MosaicAliasTransactionBodyDTO.d.ts +51 -0
  290. package/cjs/api/models/MosaicAliasTransactionBodyDTO.js +59 -0
  291. package/cjs/api/models/MosaicAliasTransactionDTO.d.ts +119 -0
  292. package/cjs/api/models/MosaicAliasTransactionDTO.js +92 -0
  293. package/cjs/api/models/MosaicDTO.d.ts +108 -0
  294. package/cjs/api/models/MosaicDTO.js +82 -0
  295. package/cjs/api/models/MosaicDefinitionTransactionBodyDTO.d.ts +73 -0
  296. package/cjs/api/models/MosaicDefinitionTransactionBodyDTO.js +66 -0
  297. package/cjs/api/models/MosaicDefinitionTransactionDTO.d.ts +141 -0
  298. package/cjs/api/models/MosaicDefinitionTransactionDTO.js +99 -0
  299. package/cjs/api/models/MosaicExpiryReceiptDTO.d.ts +48 -0
  300. package/cjs/api/models/MosaicExpiryReceiptDTO.js +59 -0
  301. package/cjs/api/models/MosaicGlobalRestrictionDTO.d.ts +41 -0
  302. package/cjs/api/models/MosaicGlobalRestrictionDTO.js +55 -0
  303. package/cjs/api/models/MosaicGlobalRestrictionEntryDTO.d.ts +41 -0
  304. package/cjs/api/models/MosaicGlobalRestrictionEntryDTO.js +55 -0
  305. package/cjs/api/models/MosaicGlobalRestrictionEntryRestrictionDTO.d.ts +51 -0
  306. package/cjs/api/models/MosaicGlobalRestrictionEntryRestrictionDTO.js +59 -0
  307. package/cjs/api/models/MosaicGlobalRestrictionEntryWrapperDTO.d.ts +64 -0
  308. package/cjs/api/models/MosaicGlobalRestrictionEntryWrapperDTO.js +68 -0
  309. package/cjs/api/models/MosaicGlobalRestrictionTransactionBodyDTO.d.ts +81 -0
  310. package/cjs/api/models/MosaicGlobalRestrictionTransactionBodyDTO.js +75 -0
  311. package/cjs/api/models/MosaicGlobalRestrictionTransactionDTO.d.ts +149 -0
  312. package/cjs/api/models/MosaicGlobalRestrictionTransactionDTO.js +108 -0
  313. package/cjs/api/models/MosaicIds.d.ts +32 -0
  314. package/cjs/api/models/MosaicIds.js +48 -0
  315. package/cjs/api/models/MosaicInfoDTO.d.ts +41 -0
  316. package/cjs/api/models/MosaicInfoDTO.js +55 -0
  317. package/cjs/api/models/MosaicMetadataTransactionBodyDTO.d.ts +80 -0
  318. package/cjs/api/models/MosaicMetadataTransactionBodyDTO.js +70 -0
  319. package/cjs/api/models/MosaicMetadataTransactionDTO.d.ts +146 -0
  320. package/cjs/api/models/MosaicMetadataTransactionDTO.js +103 -0
  321. package/cjs/api/models/MosaicNamesDTO.d.ts +44 -0
  322. package/cjs/api/models/MosaicNamesDTO.js +54 -0
  323. package/cjs/api/models/MosaicNetworkPropertiesDTO.d.ts +76 -0
  324. package/cjs/api/models/MosaicNetworkPropertiesDTO.js +58 -0
  325. package/cjs/api/models/MosaicPage.d.ts +40 -0
  326. package/cjs/api/models/MosaicPage.js +56 -0
  327. package/cjs/api/models/MosaicRestrictionDTO.d.ts +41 -0
  328. package/cjs/api/models/MosaicRestrictionDTO.js +55 -0
  329. package/cjs/api/models/MosaicRestrictionEntryTypeEnum.d.ts +28 -0
  330. package/cjs/api/models/MosaicRestrictionEntryTypeEnum.js +54 -0
  331. package/cjs/api/models/MosaicRestrictionNetworkPropertiesDTO.d.ts +32 -0
  332. package/cjs/api/models/MosaicRestrictionNetworkPropertiesDTO.js +48 -0
  333. package/cjs/api/models/MosaicRestrictionTypeEnum.d.ts +38 -0
  334. package/cjs/api/models/MosaicRestrictionTypeEnum.js +64 -0
  335. package/cjs/api/models/MosaicRestrictionsPage.d.ts +40 -0
  336. package/cjs/api/models/MosaicRestrictionsPage.js +56 -0
  337. package/cjs/api/models/MosaicRestrictionsPageDataInner.d.ts +41 -0
  338. package/cjs/api/models/MosaicRestrictionsPageDataInner.js +55 -0
  339. package/cjs/api/models/MosaicSupplyChangeActionEnum.d.ts +28 -0
  340. package/cjs/api/models/MosaicSupplyChangeActionEnum.js +54 -0
  341. package/cjs/api/models/MosaicSupplyChangeTransactionBodyDTO.d.ts +52 -0
  342. package/cjs/api/models/MosaicSupplyChangeTransactionBodyDTO.js +59 -0
  343. package/cjs/api/models/MosaicSupplyChangeTransactionDTO.d.ts +120 -0
  344. package/cjs/api/models/MosaicSupplyChangeTransactionDTO.js +92 -0
  345. package/cjs/api/models/MosaicSupplyRevocationTransactionBodyDTO.d.ts +54 -0
  346. package/cjs/api/models/MosaicSupplyRevocationTransactionBodyDTO.js +58 -0
  347. package/cjs/api/models/MosaicSupplyRevocationTransactionDTO.d.ts +122 -0
  348. package/cjs/api/models/MosaicSupplyRevocationTransactionDTO.js +91 -0
  349. package/cjs/api/models/MosaicsNamesDTO.d.ts +36 -0
  350. package/cjs/api/models/MosaicsNamesDTO.js +51 -0
  351. package/cjs/api/models/MultisigAccountGraphInfoDTO.d.ts +43 -0
  352. package/cjs/api/models/MultisigAccountGraphInfoDTO.js +55 -0
  353. package/cjs/api/models/MultisigAccountInfoDTO.d.ts +33 -0
  354. package/cjs/api/models/MultisigAccountInfoDTO.js +51 -0
  355. package/cjs/api/models/MultisigAccountModificationTransactionBodyDTO.d.ts +58 -0
  356. package/cjs/api/models/MultisigAccountModificationTransactionBodyDTO.js +62 -0
  357. package/cjs/api/models/MultisigAccountModificationTransactionDTO.d.ts +128 -0
  358. package/cjs/api/models/MultisigAccountModificationTransactionDTO.js +95 -0
  359. package/cjs/api/models/MultisigDTO.d.ts +71 -0
  360. package/cjs/api/models/MultisigDTO.js +70 -0
  361. package/cjs/api/models/MultisigNetworkPropertiesDTO.d.ts +48 -0
  362. package/cjs/api/models/MultisigNetworkPropertiesDTO.js +52 -0
  363. package/cjs/api/models/NamespaceDTO.d.ts +117 -0
  364. package/cjs/api/models/NamespaceDTO.js +88 -0
  365. package/cjs/api/models/NamespaceExpiryReceiptDTO.d.ts +48 -0
  366. package/cjs/api/models/NamespaceExpiryReceiptDTO.js +59 -0
  367. package/cjs/api/models/NamespaceIds.d.ts +32 -0
  368. package/cjs/api/models/NamespaceIds.js +48 -0
  369. package/cjs/api/models/NamespaceInfoDTO.d.ts +48 -0
  370. package/cjs/api/models/NamespaceInfoDTO.js +60 -0
  371. package/cjs/api/models/NamespaceMetaDTO.d.ts +44 -0
  372. package/cjs/api/models/NamespaceMetaDTO.js +54 -0
  373. package/cjs/api/models/NamespaceMetadataTransactionBodyDTO.d.ts +80 -0
  374. package/cjs/api/models/NamespaceMetadataTransactionBodyDTO.js +70 -0
  375. package/cjs/api/models/NamespaceMetadataTransactionDTO.d.ts +146 -0
  376. package/cjs/api/models/NamespaceMetadataTransactionDTO.js +103 -0
  377. package/cjs/api/models/NamespaceNameDTO.d.ts +50 -0
  378. package/cjs/api/models/NamespaceNameDTO.js +56 -0
  379. package/cjs/api/models/NamespaceNetworkPropertiesDTO.d.ts +108 -0
  380. package/cjs/api/models/NamespaceNetworkPropertiesDTO.js +68 -0
  381. package/cjs/api/models/NamespacePage.d.ts +40 -0
  382. package/cjs/api/models/NamespacePage.js +56 -0
  383. package/cjs/api/models/NamespaceRegistrationTransactionBodyDTO.d.ts +63 -0
  384. package/cjs/api/models/NamespaceRegistrationTransactionBodyDTO.js +63 -0
  385. package/cjs/api/models/NamespaceRegistrationTransactionDTO.d.ts +131 -0
  386. package/cjs/api/models/NamespaceRegistrationTransactionDTO.js +96 -0
  387. package/cjs/api/models/NamespaceRegistrationTypeEnum.d.ts +33 -0
  388. package/cjs/api/models/NamespaceRegistrationTypeEnum.js +59 -0
  389. package/cjs/api/models/NetworkConfigurationDTO.d.ts +72 -0
  390. package/cjs/api/models/NetworkConfigurationDTO.js +70 -0
  391. package/cjs/api/models/NetworkInflationDTO.d.ts +45 -0
  392. package/cjs/api/models/NetworkInflationDTO.js +54 -0
  393. package/cjs/api/models/NetworkPropertiesDTO.d.ts +57 -0
  394. package/cjs/api/models/NetworkPropertiesDTO.js +57 -0
  395. package/cjs/api/models/NetworkTypeDTO.d.ts +46 -0
  396. package/cjs/api/models/NetworkTypeDTO.js +62 -0
  397. package/cjs/api/models/NetworkTypeEnum.d.ts +28 -0
  398. package/cjs/api/models/NetworkTypeEnum.js +54 -0
  399. package/cjs/api/models/NodeHealthDTO.d.ts +39 -0
  400. package/cjs/api/models/NodeHealthDTO.js +55 -0
  401. package/cjs/api/models/NodeHealthInfoDTO.d.ts +35 -0
  402. package/cjs/api/models/NodeHealthInfoDTO.js +51 -0
  403. package/cjs/api/models/NodeIdentityEqualityStrategy.d.ts +26 -0
  404. package/cjs/api/models/NodeIdentityEqualityStrategy.js +52 -0
  405. package/cjs/api/models/NodeInfoDTO.d.ts +98 -0
  406. package/cjs/api/models/NodeInfoDTO.js +81 -0
  407. package/cjs/api/models/NodeKeyLinkTransactionBodyDTO.d.ts +39 -0
  408. package/cjs/api/models/NodeKeyLinkTransactionBodyDTO.js +55 -0
  409. package/cjs/api/models/NodeKeyLinkTransactionDTO.d.ts +110 -0
  410. package/cjs/api/models/NodeKeyLinkTransactionDTO.js +88 -0
  411. package/cjs/api/models/NodeStatusEnum.d.ts +25 -0
  412. package/cjs/api/models/NodeStatusEnum.js +51 -0
  413. package/cjs/api/models/NodeTimeDTO.d.ts +35 -0
  414. package/cjs/api/models/NodeTimeDTO.js +51 -0
  415. package/cjs/api/models/Order.d.ts +28 -0
  416. package/cjs/api/models/Order.js +54 -0
  417. package/cjs/api/models/Pagination.d.ts +40 -0
  418. package/cjs/api/models/Pagination.js +54 -0
  419. package/cjs/api/models/ParentPublicKeySignaturePair.d.ts +41 -0
  420. package/cjs/api/models/ParentPublicKeySignaturePair.js +54 -0
  421. package/cjs/api/models/PluginsPropertiesDTO.d.ts +103 -0
  422. package/cjs/api/models/PluginsPropertiesDTO.js +79 -0
  423. package/cjs/api/models/PositionEnum.d.ts +28 -0
  424. package/cjs/api/models/PositionEnum.js +54 -0
  425. package/cjs/api/models/ReceiptDTO.d.ts +39 -0
  426. package/cjs/api/models/ReceiptDTO.js +55 -0
  427. package/cjs/api/models/ReceiptTypeEnum.d.ts +57 -0
  428. package/cjs/api/models/ReceiptTypeEnum.js +83 -0
  429. package/cjs/api/models/RentalFeesDTO.d.ts +59 -0
  430. package/cjs/api/models/RentalFeesDTO.js +58 -0
  431. package/cjs/api/models/ResolutionEntryDTO.d.ts +40 -0
  432. package/cjs/api/models/ResolutionEntryDTO.js +56 -0
  433. package/cjs/api/models/ResolutionEntryDTOResolved.d.ts +26 -0
  434. package/cjs/api/models/ResolutionEntryDTOResolved.js +38 -0
  435. package/cjs/api/models/ResolutionStatementDTO.d.ts +52 -0
  436. package/cjs/api/models/ResolutionStatementDTO.js +60 -0
  437. package/cjs/api/models/ResolutionStatementDTOUnresolved.d.ts +26 -0
  438. package/cjs/api/models/ResolutionStatementDTOUnresolved.js +38 -0
  439. package/cjs/api/models/ResolutionStatementInfoDTO.d.ts +49 -0
  440. package/cjs/api/models/ResolutionStatementInfoDTO.js +60 -0
  441. package/cjs/api/models/ResolutionStatementPage.d.ts +40 -0
  442. package/cjs/api/models/ResolutionStatementPage.js +56 -0
  443. package/cjs/api/models/SecretLockEntryDTO.d.ts +108 -0
  444. package/cjs/api/models/SecretLockEntryDTO.js +88 -0
  445. package/cjs/api/models/SecretLockInfoDTO.d.ts +41 -0
  446. package/cjs/api/models/SecretLockInfoDTO.js +55 -0
  447. package/cjs/api/models/SecretLockNetworkPropertiesDTO.d.ts +44 -0
  448. package/cjs/api/models/SecretLockNetworkPropertiesDTO.js +52 -0
  449. package/cjs/api/models/SecretLockPage.d.ts +40 -0
  450. package/cjs/api/models/SecretLockPage.js +56 -0
  451. package/cjs/api/models/SecretLockTransactionBodyDTO.d.ts +73 -0
  452. package/cjs/api/models/SecretLockTransactionBodyDTO.js +71 -0
  453. package/cjs/api/models/SecretLockTransactionDTO.d.ts +143 -0
  454. package/cjs/api/models/SecretLockTransactionDTO.js +104 -0
  455. package/cjs/api/models/SecretProofTransactionBodyDTO.d.ts +54 -0
  456. package/cjs/api/models/SecretProofTransactionBodyDTO.js +63 -0
  457. package/cjs/api/models/SecretProofTransactionDTO.d.ts +122 -0
  458. package/cjs/api/models/SecretProofTransactionDTO.js +96 -0
  459. package/cjs/api/models/ServerDTO.d.ts +40 -0
  460. package/cjs/api/models/ServerDTO.js +55 -0
  461. package/cjs/api/models/ServerInfoDTO.d.ts +35 -0
  462. package/cjs/api/models/ServerInfoDTO.js +51 -0
  463. package/cjs/api/models/SizePrefixedEntityDTO.d.ts +37 -0
  464. package/cjs/api/models/SizePrefixedEntityDTO.js +50 -0
  465. package/cjs/api/models/SourceDTO.d.ts +42 -0
  466. package/cjs/api/models/SourceDTO.js +54 -0
  467. package/cjs/api/models/StageEnum.d.ts +31 -0
  468. package/cjs/api/models/StageEnum.js +57 -0
  469. package/cjs/api/models/StatementMetaDTO.d.ts +42 -0
  470. package/cjs/api/models/StatementMetaDTO.js +50 -0
  471. package/cjs/api/models/StorageInfoDTO.d.ts +62 -0
  472. package/cjs/api/models/StorageInfoDTO.js +63 -0
  473. package/cjs/api/models/StorageInfoDatabaseDTO.d.ts +72 -0
  474. package/cjs/api/models/StorageInfoDatabaseDTO.js +67 -0
  475. package/cjs/api/models/SupplementalPublicKeysDTO.d.ts +54 -0
  476. package/cjs/api/models/SupplementalPublicKeysDTO.js +56 -0
  477. package/cjs/api/models/TransactionBodyDTO.d.ts +52 -0
  478. package/cjs/api/models/TransactionBodyDTO.js +54 -0
  479. package/cjs/api/models/TransactionDTO.d.ts +94 -0
  480. package/cjs/api/models/TransactionDTO.js +79 -0
  481. package/cjs/api/models/TransactionFeesDTO.d.ts +119 -0
  482. package/cjs/api/models/TransactionFeesDTO.js +66 -0
  483. package/cjs/api/models/TransactionGroupEnum.d.ts +32 -0
  484. package/cjs/api/models/TransactionGroupEnum.js +58 -0
  485. package/cjs/api/models/TransactionHashes.d.ts +32 -0
  486. package/cjs/api/models/TransactionHashes.js +50 -0
  487. package/cjs/api/models/TransactionIds.d.ts +32 -0
  488. package/cjs/api/models/TransactionIds.js +50 -0
  489. package/cjs/api/models/TransactionInfoDTO.d.ts +54 -0
  490. package/cjs/api/models/TransactionInfoDTO.js +60 -0
  491. package/cjs/api/models/TransactionInfoDTOMeta.d.ts +103 -0
  492. package/cjs/api/models/TransactionInfoDTOMeta.js +74 -0
  493. package/cjs/api/models/TransactionInfoDTOTransaction.d.ts +493 -0
  494. package/cjs/api/models/TransactionInfoDTOTransaction.js +286 -0
  495. package/cjs/api/models/TransactionMetaDTO.d.ts +100 -0
  496. package/cjs/api/models/TransactionMetaDTO.js +66 -0
  497. package/cjs/api/models/TransactionPage.d.ts +40 -0
  498. package/cjs/api/models/TransactionPage.js +56 -0
  499. package/cjs/api/models/TransactionPayload.d.ts +35 -0
  500. package/cjs/api/models/TransactionPayload.js +50 -0
  501. package/cjs/api/models/TransactionStatementDTO.d.ts +48 -0
  502. package/cjs/api/models/TransactionStatementDTO.js +60 -0
  503. package/cjs/api/models/TransactionStatementDTOReceiptsInner.d.ts +91 -0
  504. package/cjs/api/models/TransactionStatementDTOReceiptsInner.js +79 -0
  505. package/cjs/api/models/TransactionStatementInfoDTO.d.ts +48 -0
  506. package/cjs/api/models/TransactionStatementInfoDTO.js +60 -0
  507. package/cjs/api/models/TransactionStatementPage.d.ts +40 -0
  508. package/cjs/api/models/TransactionStatementPage.js +56 -0
  509. package/cjs/api/models/TransactionStatusDTO.d.ts +70 -0
  510. package/cjs/api/models/TransactionStatusDTO.js +64 -0
  511. package/cjs/api/models/TransactionStatusEnum.d.ts +382 -0
  512. package/cjs/api/models/TransactionStatusEnum.js +408 -0
  513. package/cjs/api/models/TransactionTypeEnum.d.ts +74 -0
  514. package/cjs/api/models/TransactionTypeEnum.js +100 -0
  515. package/cjs/api/models/TransferNetworkPropertiesDTO.d.ts +32 -0
  516. package/cjs/api/models/TransferNetworkPropertiesDTO.js +48 -0
  517. package/cjs/api/models/TransferTransactionBodyDTO.d.ts +49 -0
  518. package/cjs/api/models/TransferTransactionBodyDTO.js +57 -0
  519. package/cjs/api/models/TransferTransactionDTO.d.ts +117 -0
  520. package/cjs/api/models/TransferTransactionDTO.js +90 -0
  521. package/cjs/api/models/UnlockedAccountDTO.d.ts +34 -0
  522. package/cjs/api/models/UnlockedAccountDTO.js +50 -0
  523. package/cjs/api/models/UnresolvedMosaic.d.ts +45 -0
  524. package/cjs/api/models/UnresolvedMosaic.js +54 -0
  525. package/cjs/api/models/VerifiableEntityDTO.d.ts +38 -0
  526. package/cjs/api/models/VerifiableEntityDTO.js +50 -0
  527. package/cjs/api/models/VotingKeyLinkTransactionBodyDTO.d.ts +57 -0
  528. package/cjs/api/models/VotingKeyLinkTransactionBodyDTO.js +63 -0
  529. package/cjs/api/models/VotingKeyLinkTransactionDTO.d.ts +127 -0
  530. package/cjs/api/models/VotingKeyLinkTransactionDTO.js +96 -0
  531. package/cjs/api/models/VrfKeyLinkTransactionBodyDTO.d.ts +39 -0
  532. package/cjs/api/models/VrfKeyLinkTransactionBodyDTO.js +55 -0
  533. package/cjs/api/models/VrfKeyLinkTransactionDTO.d.ts +110 -0
  534. package/cjs/api/models/VrfKeyLinkTransactionDTO.js +88 -0
  535. package/cjs/api/models/index.d.ts +247 -0
  536. package/cjs/api/models/index.js +265 -0
  537. package/cjs/api/runtime.d.ts +184 -0
  538. package/cjs/api/runtime.js +350 -0
  539. package/cjs/cdn.d.ts +1 -0
  540. package/cjs/cdn.js +37 -0
  541. package/cjs/index.d.ts +1 -0
  542. package/cjs/index.js +17 -0
  543. package/esm/api/apis/AccountRoutesApi.d.ts +76 -0
  544. package/esm/api/apis/AccountRoutesApi.js +147 -0
  545. package/esm/api/apis/BlockRoutesApi.d.ts +80 -0
  546. package/esm/api/apis/BlockRoutesApi.js +163 -0
  547. package/esm/api/apis/ChainRoutesApi.d.ts +28 -0
  548. package/esm/api/apis/ChainRoutesApi.js +44 -0
  549. package/esm/api/apis/FinalizationRoutesApi.d.ts +44 -0
  550. package/esm/api/apis/FinalizationRoutesApi.js +76 -0
  551. package/esm/api/apis/HashLockRoutesApi.d.ts +91 -0
  552. package/esm/api/apis/HashLockRoutesApi.js +184 -0
  553. package/esm/api/apis/MetadataRoutesApi.d.ts +94 -0
  554. package/esm/api/apis/MetadataRoutesApi.js +193 -0
  555. package/esm/api/apis/MosaicRoutesApi.d.ts +74 -0
  556. package/esm/api/apis/MosaicRoutesApi.js +144 -0
  557. package/esm/api/apis/MultisigRoutesApi.d.ts +57 -0
  558. package/esm/api/apis/MultisigRoutesApi.js +104 -0
  559. package/esm/api/apis/NamespaceRoutesApi.d.ts +103 -0
  560. package/esm/api/apis/NamespaceRoutesApi.js +211 -0
  561. package/esm/api/apis/NetworkRoutesApi.d.ts +111 -0
  562. package/esm/api/apis/NetworkRoutesApi.js +255 -0
  563. package/esm/api/apis/NodeRoutesApi.d.ts +102 -0
  564. package/esm/api/apis/NodeRoutesApi.js +212 -0
  565. package/esm/api/apis/ReceiptRoutesApi.d.ts +76 -0
  566. package/esm/api/apis/ReceiptRoutesApi.js +158 -0
  567. package/esm/api/apis/RestrictionAccountRoutesApi.d.ts +74 -0
  568. package/esm/api/apis/RestrictionAccountRoutesApi.js +144 -0
  569. package/esm/api/apis/RestrictionMosaicRoutesApi.d.ts +76 -0
  570. package/esm/api/apis/RestrictionMosaicRoutesApi.js +150 -0
  571. package/esm/api/apis/SecretLockRoutesApi.d.ts +93 -0
  572. package/esm/api/apis/SecretLockRoutesApi.js +190 -0
  573. package/esm/api/apis/TransactionRoutesApi.d.ts +216 -0
  574. package/esm/api/apis/TransactionRoutesApi.js +485 -0
  575. package/esm/api/apis/TransactionStatusRoutesApi.d.ts +44 -0
  576. package/esm/api/apis/TransactionStatusRoutesApi.js +77 -0
  577. package/esm/api/apis/index.d.ts +17 -0
  578. package/esm/api/apis/index.js +19 -0
  579. package/esm/api/index.d.ts +3 -0
  580. package/esm/api/index.js +5 -0
  581. package/esm/api/models/AccountAddressRestrictionTransactionBodyDTO.d.ts +45 -0
  582. package/esm/api/models/AccountAddressRestrictionTransactionBodyDTO.js +52 -0
  583. package/esm/api/models/AccountAddressRestrictionTransactionDTO.d.ts +113 -0
  584. package/esm/api/models/AccountAddressRestrictionTransactionDTO.js +85 -0
  585. package/esm/api/models/AccountDTO.d.ts +116 -0
  586. package/esm/api/models/AccountDTO.js +87 -0
  587. package/esm/api/models/AccountIds.d.ts +40 -0
  588. package/esm/api/models/AccountIds.js +43 -0
  589. package/esm/api/models/AccountInfoDTO.d.ts +41 -0
  590. package/esm/api/models/AccountInfoDTO.js +48 -0
  591. package/esm/api/models/AccountKeyLinkNetworkPropertiesDTO.d.ts +32 -0
  592. package/esm/api/models/AccountKeyLinkNetworkPropertiesDTO.js +41 -0
  593. package/esm/api/models/AccountKeyLinkTransactionBodyDTO.d.ts +39 -0
  594. package/esm/api/models/AccountKeyLinkTransactionBodyDTO.js +48 -0
  595. package/esm/api/models/AccountKeyLinkTransactionDTO.d.ts +109 -0
  596. package/esm/api/models/AccountKeyLinkTransactionDTO.js +81 -0
  597. package/esm/api/models/AccountLinkPublicKeyDTO.d.ts +32 -0
  598. package/esm/api/models/AccountLinkPublicKeyDTO.js +43 -0
  599. package/esm/api/models/AccountLinkVotingKeyDTO.d.ts +50 -0
  600. package/esm/api/models/AccountLinkVotingKeyDTO.js +51 -0
  601. package/esm/api/models/AccountLinkVotingKeysDTO.d.ts +33 -0
  602. package/esm/api/models/AccountLinkVotingKeysDTO.js +44 -0
  603. package/esm/api/models/AccountMetadataTransactionBodyDTO.d.ts +71 -0
  604. package/esm/api/models/AccountMetadataTransactionBodyDTO.js +59 -0
  605. package/esm/api/models/AccountMetadataTransactionDTO.d.ts +137 -0
  606. package/esm/api/models/AccountMetadataTransactionDTO.js +92 -0
  607. package/esm/api/models/AccountMosaicRestrictionTransactionBodyDTO.d.ts +45 -0
  608. package/esm/api/models/AccountMosaicRestrictionTransactionBodyDTO.js +52 -0
  609. package/esm/api/models/AccountMosaicRestrictionTransactionDTO.d.ts +113 -0
  610. package/esm/api/models/AccountMosaicRestrictionTransactionDTO.js +85 -0
  611. package/esm/api/models/AccountNamesDTO.d.ts +40 -0
  612. package/esm/api/models/AccountNamesDTO.js +47 -0
  613. package/esm/api/models/AccountOperationRestrictionTransactionBodyDTO.d.ts +46 -0
  614. package/esm/api/models/AccountOperationRestrictionTransactionBodyDTO.js +53 -0
  615. package/esm/api/models/AccountOperationRestrictionTransactionDTO.d.ts +114 -0
  616. package/esm/api/models/AccountOperationRestrictionTransactionDTO.js +86 -0
  617. package/esm/api/models/AccountOrderByEnum.d.ts +28 -0
  618. package/esm/api/models/AccountOrderByEnum.js +46 -0
  619. package/esm/api/models/AccountPage.d.ts +40 -0
  620. package/esm/api/models/AccountPage.js +49 -0
  621. package/esm/api/models/AccountRestrictionDTO.d.ts +42 -0
  622. package/esm/api/models/AccountRestrictionDTO.js +49 -0
  623. package/esm/api/models/AccountRestrictionDTOValuesInner.d.ts +26 -0
  624. package/esm/api/models/AccountRestrictionDTOValuesInner.js +31 -0
  625. package/esm/api/models/AccountRestrictionFlagsEnum.d.ts +49 -0
  626. package/esm/api/models/AccountRestrictionFlagsEnum.js +67 -0
  627. package/esm/api/models/AccountRestrictionNetworkPropertiesDTO.d.ts +32 -0
  628. package/esm/api/models/AccountRestrictionNetworkPropertiesDTO.js +41 -0
  629. package/esm/api/models/AccountRestrictionsDTO.d.ts +50 -0
  630. package/esm/api/models/AccountRestrictionsDTO.js +52 -0
  631. package/esm/api/models/AccountRestrictionsInfoDTO.d.ts +33 -0
  632. package/esm/api/models/AccountRestrictionsInfoDTO.js +44 -0
  633. package/esm/api/models/AccountRestrictionsPage.d.ts +40 -0
  634. package/esm/api/models/AccountRestrictionsPage.js +49 -0
  635. package/esm/api/models/AccountTypeEnum.d.ts +40 -0
  636. package/esm/api/models/AccountTypeEnum.js +58 -0
  637. package/esm/api/models/AccountsNamesDTO.d.ts +33 -0
  638. package/esm/api/models/AccountsNamesDTO.js +44 -0
  639. package/esm/api/models/ActivityBucketDTO.d.ts +69 -0
  640. package/esm/api/models/ActivityBucketDTO.js +55 -0
  641. package/esm/api/models/AddressAliasTransactionBodyDTO.d.ts +50 -0
  642. package/esm/api/models/AddressAliasTransactionBodyDTO.js +52 -0
  643. package/esm/api/models/AddressAliasTransactionDTO.d.ts +118 -0
  644. package/esm/api/models/AddressAliasTransactionDTO.js +85 -0
  645. package/esm/api/models/Addresses.d.ts +32 -0
  646. package/esm/api/models/Addresses.js +41 -0
  647. package/esm/api/models/AggregateNetworkPropertiesDTO.d.ts +58 -0
  648. package/esm/api/models/AggregateNetworkPropertiesDTO.js +49 -0
  649. package/esm/api/models/AggregateTransactionBodyDTO.d.ts +41 -0
  650. package/esm/api/models/AggregateTransactionBodyDTO.js +48 -0
  651. package/esm/api/models/AggregateTransactionBodyExtendedDTO.d.ts +48 -0
  652. package/esm/api/models/AggregateTransactionBodyExtendedDTO.js +53 -0
  653. package/esm/api/models/AggregateTransactionDTO.d.ts +107 -0
  654. package/esm/api/models/AggregateTransactionDTO.js +81 -0
  655. package/esm/api/models/AggregateTransactionExtendedDTO.d.ts +114 -0
  656. package/esm/api/models/AggregateTransactionExtendedDTO.js +86 -0
  657. package/esm/api/models/AliasActionEnum.d.ts +28 -0
  658. package/esm/api/models/AliasActionEnum.js +46 -0
  659. package/esm/api/models/AliasDTO.d.ts +52 -0
  660. package/esm/api/models/AliasDTO.js +48 -0
  661. package/esm/api/models/AliasTypeEnum.d.ts +33 -0
  662. package/esm/api/models/AliasTypeEnum.js +51 -0
  663. package/esm/api/models/AnnounceTransactionInfoDTO.d.ts +48 -0
  664. package/esm/api/models/AnnounceTransactionInfoDTO.js +43 -0
  665. package/esm/api/models/BalanceChangeReceiptDTO.d.ts +69 -0
  666. package/esm/api/models/BalanceChangeReceiptDTO.js +60 -0
  667. package/esm/api/models/BalanceTransferReceiptDTO.d.ts +78 -0
  668. package/esm/api/models/BalanceTransferReceiptDTO.js +64 -0
  669. package/esm/api/models/BlockDTO.d.ts +192 -0
  670. package/esm/api/models/BlockDTO.js +112 -0
  671. package/esm/api/models/BlockInfoDTO.d.ts +48 -0
  672. package/esm/api/models/BlockInfoDTO.js +53 -0
  673. package/esm/api/models/BlockInfoDTOBlock.d.ts +219 -0
  674. package/esm/api/models/BlockInfoDTOBlock.js +128 -0
  675. package/esm/api/models/BlockMetaDTO.d.ts +84 -0
  676. package/esm/api/models/BlockMetaDTO.js +67 -0
  677. package/esm/api/models/BlockOrderByEnum.d.ts +28 -0
  678. package/esm/api/models/BlockOrderByEnum.js +46 -0
  679. package/esm/api/models/BlockPage.d.ts +40 -0
  680. package/esm/api/models/BlockPage.js +49 -0
  681. package/esm/api/models/BmTreeSignature.d.ts +42 -0
  682. package/esm/api/models/BmTreeSignature.js +48 -0
  683. package/esm/api/models/BsonLongDTO.d.ts +45 -0
  684. package/esm/api/models/BsonLongDTO.js +51 -0
  685. package/esm/api/models/ChainInfoDTO.d.ts +66 -0
  686. package/esm/api/models/ChainInfoDTO.js +56 -0
  687. package/esm/api/models/ChainPropertiesDTO.d.ts +214 -0
  688. package/esm/api/models/ChainPropertiesDTO.js +99 -0
  689. package/esm/api/models/CommunicationTimestampsDTO.d.ts +60 -0
  690. package/esm/api/models/CommunicationTimestampsDTO.js +43 -0
  691. package/esm/api/models/CompositeHashes.d.ts +32 -0
  692. package/esm/api/models/CompositeHashes.js +41 -0
  693. package/esm/api/models/Cosignature.d.ts +55 -0
  694. package/esm/api/models/Cosignature.js +55 -0
  695. package/esm/api/models/CosignatureDTO.d.ts +49 -0
  696. package/esm/api/models/CosignatureDTO.js +51 -0
  697. package/esm/api/models/DeploymentDTO.d.ts +45 -0
  698. package/esm/api/models/DeploymentDTO.js +51 -0
  699. package/esm/api/models/EmbeddedAccountAddressRestrictionTransactionDTO.d.ts +70 -0
  700. package/esm/api/models/EmbeddedAccountAddressRestrictionTransactionDTO.js +69 -0
  701. package/esm/api/models/EmbeddedAccountKeyLinkTransactionDTO.d.ts +64 -0
  702. package/esm/api/models/EmbeddedAccountKeyLinkTransactionDTO.js +65 -0
  703. package/esm/api/models/EmbeddedAccountMetadataTransactionDTO.d.ts +94 -0
  704. package/esm/api/models/EmbeddedAccountMetadataTransactionDTO.js +76 -0
  705. package/esm/api/models/EmbeddedAccountMosaicRestrictionTransactionDTO.d.ts +70 -0
  706. package/esm/api/models/EmbeddedAccountMosaicRestrictionTransactionDTO.js +69 -0
  707. package/esm/api/models/EmbeddedAccountOperationRestrictionTransactionDTO.d.ts +71 -0
  708. package/esm/api/models/EmbeddedAccountOperationRestrictionTransactionDTO.js +70 -0
  709. package/esm/api/models/EmbeddedAddressAliasTransactionDTO.d.ts +75 -0
  710. package/esm/api/models/EmbeddedAddressAliasTransactionDTO.js +69 -0
  711. package/esm/api/models/EmbeddedHashLockTransactionDTO.d.ts +82 -0
  712. package/esm/api/models/EmbeddedHashLockTransactionDTO.js +72 -0
  713. package/esm/api/models/EmbeddedMosaicAddressRestrictionTransactionDTO.d.ts +93 -0
  714. package/esm/api/models/EmbeddedMosaicAddressRestrictionTransactionDTO.js +76 -0
  715. package/esm/api/models/EmbeddedMosaicAliasTransactionDTO.d.ts +76 -0
  716. package/esm/api/models/EmbeddedMosaicAliasTransactionDTO.js +69 -0
  717. package/esm/api/models/EmbeddedMosaicDefinitionTransactionDTO.d.ts +98 -0
  718. package/esm/api/models/EmbeddedMosaicDefinitionTransactionDTO.js +76 -0
  719. package/esm/api/models/EmbeddedMosaicGlobalRestrictionTransactionDTO.d.ts +106 -0
  720. package/esm/api/models/EmbeddedMosaicGlobalRestrictionTransactionDTO.js +85 -0
  721. package/esm/api/models/EmbeddedMosaicMetadataTransactionDTO.d.ts +103 -0
  722. package/esm/api/models/EmbeddedMosaicMetadataTransactionDTO.js +80 -0
  723. package/esm/api/models/EmbeddedMosaicSupplyChangeTransactionDTO.d.ts +77 -0
  724. package/esm/api/models/EmbeddedMosaicSupplyChangeTransactionDTO.js +69 -0
  725. package/esm/api/models/EmbeddedMosaicSupplyRevocationTransactionDTO.d.ts +79 -0
  726. package/esm/api/models/EmbeddedMosaicSupplyRevocationTransactionDTO.js +68 -0
  727. package/esm/api/models/EmbeddedMultisigAccountModificationTransactionDTO.d.ts +83 -0
  728. package/esm/api/models/EmbeddedMultisigAccountModificationTransactionDTO.js +72 -0
  729. package/esm/api/models/EmbeddedNamespaceMetadataTransactionDTO.d.ts +103 -0
  730. package/esm/api/models/EmbeddedNamespaceMetadataTransactionDTO.js +80 -0
  731. package/esm/api/models/EmbeddedNamespaceRegistrationTransactionDTO.d.ts +88 -0
  732. package/esm/api/models/EmbeddedNamespaceRegistrationTransactionDTO.js +73 -0
  733. package/esm/api/models/EmbeddedNodeKeyLinkTransactionDTO.d.ts +64 -0
  734. package/esm/api/models/EmbeddedNodeKeyLinkTransactionDTO.js +65 -0
  735. package/esm/api/models/EmbeddedSecretLockTransactionDTO.d.ts +98 -0
  736. package/esm/api/models/EmbeddedSecretLockTransactionDTO.js +81 -0
  737. package/esm/api/models/EmbeddedSecretProofTransactionDTO.d.ts +79 -0
  738. package/esm/api/models/EmbeddedSecretProofTransactionDTO.js +73 -0
  739. package/esm/api/models/EmbeddedTransactionBodyDTO.d.ts +33 -0
  740. package/esm/api/models/EmbeddedTransactionBodyDTO.js +44 -0
  741. package/esm/api/models/EmbeddedTransactionDTO.d.ts +51 -0
  742. package/esm/api/models/EmbeddedTransactionDTO.js +56 -0
  743. package/esm/api/models/EmbeddedTransactionInfoDTO.d.ts +48 -0
  744. package/esm/api/models/EmbeddedTransactionInfoDTO.js +53 -0
  745. package/esm/api/models/EmbeddedTransactionInfoDTOTransaction.d.ts +427 -0
  746. package/esm/api/models/EmbeddedTransactionInfoDTOTransaction.js +249 -0
  747. package/esm/api/models/EmbeddedTransactionMetaDTO.d.ts +91 -0
  748. package/esm/api/models/EmbeddedTransactionMetaDTO.js +59 -0
  749. package/esm/api/models/EmbeddedTransferTransactionDTO.d.ts +74 -0
  750. package/esm/api/models/EmbeddedTransferTransactionDTO.js +67 -0
  751. package/esm/api/models/EmbeddedVotingKeyLinkTransactionDTO.d.ts +82 -0
  752. package/esm/api/models/EmbeddedVotingKeyLinkTransactionDTO.js +73 -0
  753. package/esm/api/models/EmbeddedVrfKeyLinkTransactionDTO.d.ts +64 -0
  754. package/esm/api/models/EmbeddedVrfKeyLinkTransactionDTO.js +65 -0
  755. package/esm/api/models/EntityDTO.d.ts +54 -0
  756. package/esm/api/models/EntityDTO.js +56 -0
  757. package/esm/api/models/FinalizationProofDTO.d.ts +75 -0
  758. package/esm/api/models/FinalizationProofDTO.js +64 -0
  759. package/esm/api/models/FinalizedBlockDTO.d.ts +59 -0
  760. package/esm/api/models/FinalizedBlockDTO.js +55 -0
  761. package/esm/api/models/ForkHeightsDTO.d.ts +92 -0
  762. package/esm/api/models/ForkHeightsDTO.js +53 -0
  763. package/esm/api/models/HashLockEntryDTO.d.ts +86 -0
  764. package/esm/api/models/HashLockEntryDTO.js +68 -0
  765. package/esm/api/models/HashLockInfoDTO.d.ts +41 -0
  766. package/esm/api/models/HashLockInfoDTO.js +48 -0
  767. package/esm/api/models/HashLockNetworkPropertiesDTO.d.ts +38 -0
  768. package/esm/api/models/HashLockNetworkPropertiesDTO.js +43 -0
  769. package/esm/api/models/HashLockPage.d.ts +40 -0
  770. package/esm/api/models/HashLockPage.js +49 -0
  771. package/esm/api/models/HashLockTransactionBodyDTO.d.ts +57 -0
  772. package/esm/api/models/HashLockTransactionBodyDTO.js +55 -0
  773. package/esm/api/models/HashLockTransactionDTO.d.ts +125 -0
  774. package/esm/api/models/HashLockTransactionDTO.js +88 -0
  775. package/esm/api/models/ImportanceBlockDTO.d.ts +221 -0
  776. package/esm/api/models/ImportanceBlockDTO.js +128 -0
  777. package/esm/api/models/InflationReceiptDTO.d.ts +58 -0
  778. package/esm/api/models/InflationReceiptDTO.js +56 -0
  779. package/esm/api/models/LinkActionEnum.d.ts +28 -0
  780. package/esm/api/models/LinkActionEnum.js +46 -0
  781. package/esm/api/models/LockHashAlgorithmEnum.d.ts +30 -0
  782. package/esm/api/models/LockHashAlgorithmEnum.js +48 -0
  783. package/esm/api/models/LockStatus.d.ts +28 -0
  784. package/esm/api/models/LockStatus.js +46 -0
  785. package/esm/api/models/MerklePathItemDTO.d.ts +41 -0
  786. package/esm/api/models/MerklePathItemDTO.js +44 -0
  787. package/esm/api/models/MerkleProofInfoDTO.d.ts +33 -0
  788. package/esm/api/models/MerkleProofInfoDTO.js +42 -0
  789. package/esm/api/models/MerkleStateInfoDTO.d.ts +45 -0
  790. package/esm/api/models/MerkleStateInfoDTO.js +48 -0
  791. package/esm/api/models/MerkleStateInfoDTOTreeInner.d.ts +82 -0
  792. package/esm/api/models/MerkleStateInfoDTOTreeInner.js +77 -0
  793. package/esm/api/models/MerkleTreeBranchDTO.d.ts +72 -0
  794. package/esm/api/models/MerkleTreeBranchDTO.js +69 -0
  795. package/esm/api/models/MerkleTreeBranchLinkDTO.d.ts +40 -0
  796. package/esm/api/models/MerkleTreeBranchLinkDTO.js +47 -0
  797. package/esm/api/models/MerkleTreeLeafDTO.d.ts +65 -0
  798. package/esm/api/models/MerkleTreeLeafDTO.js +64 -0
  799. package/esm/api/models/MerkleTreeNodeTypeEnum.d.ts +29 -0
  800. package/esm/api/models/MerkleTreeNodeTypeEnum.js +47 -0
  801. package/esm/api/models/MessageGroup.d.ts +58 -0
  802. package/esm/api/models/MessageGroup.js +57 -0
  803. package/esm/api/models/MetadataEntryDTO.d.ts +97 -0
  804. package/esm/api/models/MetadataEntryDTO.js +75 -0
  805. package/esm/api/models/MetadataEntryDTOTargetId.d.ts +26 -0
  806. package/esm/api/models/MetadataEntryDTOTargetId.js +31 -0
  807. package/esm/api/models/MetadataInfoDTO.d.ts +41 -0
  808. package/esm/api/models/MetadataInfoDTO.js +48 -0
  809. package/esm/api/models/MetadataNetworkPropertiesDTO.d.ts +32 -0
  810. package/esm/api/models/MetadataNetworkPropertiesDTO.js +41 -0
  811. package/esm/api/models/MetadataPage.d.ts +40 -0
  812. package/esm/api/models/MetadataPage.js +49 -0
  813. package/esm/api/models/MetadataTypeEnum.d.ts +30 -0
  814. package/esm/api/models/MetadataTypeEnum.js +48 -0
  815. package/esm/api/models/ModelError.d.ts +44 -0
  816. package/esm/api/models/ModelError.js +47 -0
  817. package/esm/api/models/Mosaic.d.ts +49 -0
  818. package/esm/api/models/Mosaic.js +47 -0
  819. package/esm/api/models/MosaicAddressRestrictionDTO.d.ts +41 -0
  820. package/esm/api/models/MosaicAddressRestrictionDTO.js +48 -0
  821. package/esm/api/models/MosaicAddressRestrictionEntryDTO.d.ts +43 -0
  822. package/esm/api/models/MosaicAddressRestrictionEntryDTO.js +47 -0
  823. package/esm/api/models/MosaicAddressRestrictionEntryWrapperDTO.d.ts +72 -0
  824. package/esm/api/models/MosaicAddressRestrictionEntryWrapperDTO.js +65 -0
  825. package/esm/api/models/MosaicAddressRestrictionTransactionBodyDTO.d.ts +68 -0
  826. package/esm/api/models/MosaicAddressRestrictionTransactionBodyDTO.js +59 -0
  827. package/esm/api/models/MosaicAddressRestrictionTransactionDTO.d.ts +136 -0
  828. package/esm/api/models/MosaicAddressRestrictionTransactionDTO.js +92 -0
  829. package/esm/api/models/MosaicAliasTransactionBodyDTO.d.ts +51 -0
  830. package/esm/api/models/MosaicAliasTransactionBodyDTO.js +52 -0
  831. package/esm/api/models/MosaicAliasTransactionDTO.d.ts +119 -0
  832. package/esm/api/models/MosaicAliasTransactionDTO.js +85 -0
  833. package/esm/api/models/MosaicDTO.d.ts +108 -0
  834. package/esm/api/models/MosaicDTO.js +75 -0
  835. package/esm/api/models/MosaicDefinitionTransactionBodyDTO.d.ts +73 -0
  836. package/esm/api/models/MosaicDefinitionTransactionBodyDTO.js +59 -0
  837. package/esm/api/models/MosaicDefinitionTransactionDTO.d.ts +141 -0
  838. package/esm/api/models/MosaicDefinitionTransactionDTO.js +92 -0
  839. package/esm/api/models/MosaicExpiryReceiptDTO.d.ts +48 -0
  840. package/esm/api/models/MosaicExpiryReceiptDTO.js +52 -0
  841. package/esm/api/models/MosaicGlobalRestrictionDTO.d.ts +41 -0
  842. package/esm/api/models/MosaicGlobalRestrictionDTO.js +48 -0
  843. package/esm/api/models/MosaicGlobalRestrictionEntryDTO.d.ts +41 -0
  844. package/esm/api/models/MosaicGlobalRestrictionEntryDTO.js +48 -0
  845. package/esm/api/models/MosaicGlobalRestrictionEntryRestrictionDTO.d.ts +51 -0
  846. package/esm/api/models/MosaicGlobalRestrictionEntryRestrictionDTO.js +52 -0
  847. package/esm/api/models/MosaicGlobalRestrictionEntryWrapperDTO.d.ts +64 -0
  848. package/esm/api/models/MosaicGlobalRestrictionEntryWrapperDTO.js +61 -0
  849. package/esm/api/models/MosaicGlobalRestrictionTransactionBodyDTO.d.ts +81 -0
  850. package/esm/api/models/MosaicGlobalRestrictionTransactionBodyDTO.js +68 -0
  851. package/esm/api/models/MosaicGlobalRestrictionTransactionDTO.d.ts +149 -0
  852. package/esm/api/models/MosaicGlobalRestrictionTransactionDTO.js +101 -0
  853. package/esm/api/models/MosaicIds.d.ts +32 -0
  854. package/esm/api/models/MosaicIds.js +41 -0
  855. package/esm/api/models/MosaicInfoDTO.d.ts +41 -0
  856. package/esm/api/models/MosaicInfoDTO.js +48 -0
  857. package/esm/api/models/MosaicMetadataTransactionBodyDTO.d.ts +80 -0
  858. package/esm/api/models/MosaicMetadataTransactionBodyDTO.js +63 -0
  859. package/esm/api/models/MosaicMetadataTransactionDTO.d.ts +146 -0
  860. package/esm/api/models/MosaicMetadataTransactionDTO.js +96 -0
  861. package/esm/api/models/MosaicNamesDTO.d.ts +44 -0
  862. package/esm/api/models/MosaicNamesDTO.js +47 -0
  863. package/esm/api/models/MosaicNetworkPropertiesDTO.d.ts +76 -0
  864. package/esm/api/models/MosaicNetworkPropertiesDTO.js +51 -0
  865. package/esm/api/models/MosaicPage.d.ts +40 -0
  866. package/esm/api/models/MosaicPage.js +49 -0
  867. package/esm/api/models/MosaicRestrictionDTO.d.ts +41 -0
  868. package/esm/api/models/MosaicRestrictionDTO.js +48 -0
  869. package/esm/api/models/MosaicRestrictionEntryTypeEnum.d.ts +28 -0
  870. package/esm/api/models/MosaicRestrictionEntryTypeEnum.js +46 -0
  871. package/esm/api/models/MosaicRestrictionNetworkPropertiesDTO.d.ts +32 -0
  872. package/esm/api/models/MosaicRestrictionNetworkPropertiesDTO.js +41 -0
  873. package/esm/api/models/MosaicRestrictionTypeEnum.d.ts +38 -0
  874. package/esm/api/models/MosaicRestrictionTypeEnum.js +56 -0
  875. package/esm/api/models/MosaicRestrictionsPage.d.ts +40 -0
  876. package/esm/api/models/MosaicRestrictionsPage.js +49 -0
  877. package/esm/api/models/MosaicRestrictionsPageDataInner.d.ts +41 -0
  878. package/esm/api/models/MosaicRestrictionsPageDataInner.js +48 -0
  879. package/esm/api/models/MosaicSupplyChangeActionEnum.d.ts +28 -0
  880. package/esm/api/models/MosaicSupplyChangeActionEnum.js +46 -0
  881. package/esm/api/models/MosaicSupplyChangeTransactionBodyDTO.d.ts +52 -0
  882. package/esm/api/models/MosaicSupplyChangeTransactionBodyDTO.js +52 -0
  883. package/esm/api/models/MosaicSupplyChangeTransactionDTO.d.ts +120 -0
  884. package/esm/api/models/MosaicSupplyChangeTransactionDTO.js +85 -0
  885. package/esm/api/models/MosaicSupplyRevocationTransactionBodyDTO.d.ts +54 -0
  886. package/esm/api/models/MosaicSupplyRevocationTransactionBodyDTO.js +51 -0
  887. package/esm/api/models/MosaicSupplyRevocationTransactionDTO.d.ts +122 -0
  888. package/esm/api/models/MosaicSupplyRevocationTransactionDTO.js +84 -0
  889. package/esm/api/models/MosaicsNamesDTO.d.ts +36 -0
  890. package/esm/api/models/MosaicsNamesDTO.js +44 -0
  891. package/esm/api/models/MultisigAccountGraphInfoDTO.d.ts +43 -0
  892. package/esm/api/models/MultisigAccountGraphInfoDTO.js +48 -0
  893. package/esm/api/models/MultisigAccountInfoDTO.d.ts +33 -0
  894. package/esm/api/models/MultisigAccountInfoDTO.js +44 -0
  895. package/esm/api/models/MultisigAccountModificationTransactionBodyDTO.d.ts +58 -0
  896. package/esm/api/models/MultisigAccountModificationTransactionBodyDTO.js +55 -0
  897. package/esm/api/models/MultisigAccountModificationTransactionDTO.d.ts +128 -0
  898. package/esm/api/models/MultisigAccountModificationTransactionDTO.js +88 -0
  899. package/esm/api/models/MultisigDTO.d.ts +71 -0
  900. package/esm/api/models/MultisigDTO.js +63 -0
  901. package/esm/api/models/MultisigNetworkPropertiesDTO.d.ts +48 -0
  902. package/esm/api/models/MultisigNetworkPropertiesDTO.js +45 -0
  903. package/esm/api/models/NamespaceDTO.d.ts +117 -0
  904. package/esm/api/models/NamespaceDTO.js +81 -0
  905. package/esm/api/models/NamespaceExpiryReceiptDTO.d.ts +48 -0
  906. package/esm/api/models/NamespaceExpiryReceiptDTO.js +52 -0
  907. package/esm/api/models/NamespaceIds.d.ts +32 -0
  908. package/esm/api/models/NamespaceIds.js +41 -0
  909. package/esm/api/models/NamespaceInfoDTO.d.ts +48 -0
  910. package/esm/api/models/NamespaceInfoDTO.js +53 -0
  911. package/esm/api/models/NamespaceMetaDTO.d.ts +44 -0
  912. package/esm/api/models/NamespaceMetaDTO.js +47 -0
  913. package/esm/api/models/NamespaceMetadataTransactionBodyDTO.d.ts +80 -0
  914. package/esm/api/models/NamespaceMetadataTransactionBodyDTO.js +63 -0
  915. package/esm/api/models/NamespaceMetadataTransactionDTO.d.ts +146 -0
  916. package/esm/api/models/NamespaceMetadataTransactionDTO.js +96 -0
  917. package/esm/api/models/NamespaceNameDTO.d.ts +50 -0
  918. package/esm/api/models/NamespaceNameDTO.js +49 -0
  919. package/esm/api/models/NamespaceNetworkPropertiesDTO.d.ts +108 -0
  920. package/esm/api/models/NamespaceNetworkPropertiesDTO.js +61 -0
  921. package/esm/api/models/NamespacePage.d.ts +40 -0
  922. package/esm/api/models/NamespacePage.js +49 -0
  923. package/esm/api/models/NamespaceRegistrationTransactionBodyDTO.d.ts +63 -0
  924. package/esm/api/models/NamespaceRegistrationTransactionBodyDTO.js +56 -0
  925. package/esm/api/models/NamespaceRegistrationTransactionDTO.d.ts +131 -0
  926. package/esm/api/models/NamespaceRegistrationTransactionDTO.js +89 -0
  927. package/esm/api/models/NamespaceRegistrationTypeEnum.d.ts +33 -0
  928. package/esm/api/models/NamespaceRegistrationTypeEnum.js +51 -0
  929. package/esm/api/models/NetworkConfigurationDTO.d.ts +72 -0
  930. package/esm/api/models/NetworkConfigurationDTO.js +63 -0
  931. package/esm/api/models/NetworkInflationDTO.d.ts +45 -0
  932. package/esm/api/models/NetworkInflationDTO.js +47 -0
  933. package/esm/api/models/NetworkPropertiesDTO.d.ts +57 -0
  934. package/esm/api/models/NetworkPropertiesDTO.js +50 -0
  935. package/esm/api/models/NetworkTypeDTO.d.ts +46 -0
  936. package/esm/api/models/NetworkTypeDTO.js +54 -0
  937. package/esm/api/models/NetworkTypeEnum.d.ts +28 -0
  938. package/esm/api/models/NetworkTypeEnum.js +46 -0
  939. package/esm/api/models/NodeHealthDTO.d.ts +39 -0
  940. package/esm/api/models/NodeHealthDTO.js +48 -0
  941. package/esm/api/models/NodeHealthInfoDTO.d.ts +35 -0
  942. package/esm/api/models/NodeHealthInfoDTO.js +44 -0
  943. package/esm/api/models/NodeIdentityEqualityStrategy.d.ts +26 -0
  944. package/esm/api/models/NodeIdentityEqualityStrategy.js +44 -0
  945. package/esm/api/models/NodeInfoDTO.d.ts +98 -0
  946. package/esm/api/models/NodeInfoDTO.js +74 -0
  947. package/esm/api/models/NodeKeyLinkTransactionBodyDTO.d.ts +39 -0
  948. package/esm/api/models/NodeKeyLinkTransactionBodyDTO.js +48 -0
  949. package/esm/api/models/NodeKeyLinkTransactionDTO.d.ts +110 -0
  950. package/esm/api/models/NodeKeyLinkTransactionDTO.js +81 -0
  951. package/esm/api/models/NodeStatusEnum.d.ts +25 -0
  952. package/esm/api/models/NodeStatusEnum.js +43 -0
  953. package/esm/api/models/NodeTimeDTO.d.ts +35 -0
  954. package/esm/api/models/NodeTimeDTO.js +44 -0
  955. package/esm/api/models/Order.d.ts +28 -0
  956. package/esm/api/models/Order.js +46 -0
  957. package/esm/api/models/Pagination.d.ts +40 -0
  958. package/esm/api/models/Pagination.js +47 -0
  959. package/esm/api/models/ParentPublicKeySignaturePair.d.ts +41 -0
  960. package/esm/api/models/ParentPublicKeySignaturePair.js +47 -0
  961. package/esm/api/models/PluginsPropertiesDTO.d.ts +103 -0
  962. package/esm/api/models/PluginsPropertiesDTO.js +72 -0
  963. package/esm/api/models/PositionEnum.d.ts +28 -0
  964. package/esm/api/models/PositionEnum.js +46 -0
  965. package/esm/api/models/ReceiptDTO.d.ts +39 -0
  966. package/esm/api/models/ReceiptDTO.js +48 -0
  967. package/esm/api/models/ReceiptTypeEnum.d.ts +57 -0
  968. package/esm/api/models/ReceiptTypeEnum.js +75 -0
  969. package/esm/api/models/RentalFeesDTO.d.ts +59 -0
  970. package/esm/api/models/RentalFeesDTO.js +51 -0
  971. package/esm/api/models/ResolutionEntryDTO.d.ts +40 -0
  972. package/esm/api/models/ResolutionEntryDTO.js +49 -0
  973. package/esm/api/models/ResolutionEntryDTOResolved.d.ts +26 -0
  974. package/esm/api/models/ResolutionEntryDTOResolved.js +31 -0
  975. package/esm/api/models/ResolutionStatementDTO.d.ts +52 -0
  976. package/esm/api/models/ResolutionStatementDTO.js +53 -0
  977. package/esm/api/models/ResolutionStatementDTOUnresolved.d.ts +26 -0
  978. package/esm/api/models/ResolutionStatementDTOUnresolved.js +31 -0
  979. package/esm/api/models/ResolutionStatementInfoDTO.d.ts +49 -0
  980. package/esm/api/models/ResolutionStatementInfoDTO.js +53 -0
  981. package/esm/api/models/ResolutionStatementPage.d.ts +40 -0
  982. package/esm/api/models/ResolutionStatementPage.js +49 -0
  983. package/esm/api/models/SecretLockEntryDTO.d.ts +108 -0
  984. package/esm/api/models/SecretLockEntryDTO.js +81 -0
  985. package/esm/api/models/SecretLockInfoDTO.d.ts +41 -0
  986. package/esm/api/models/SecretLockInfoDTO.js +48 -0
  987. package/esm/api/models/SecretLockNetworkPropertiesDTO.d.ts +44 -0
  988. package/esm/api/models/SecretLockNetworkPropertiesDTO.js +45 -0
  989. package/esm/api/models/SecretLockPage.d.ts +40 -0
  990. package/esm/api/models/SecretLockPage.js +49 -0
  991. package/esm/api/models/SecretLockTransactionBodyDTO.d.ts +73 -0
  992. package/esm/api/models/SecretLockTransactionBodyDTO.js +64 -0
  993. package/esm/api/models/SecretLockTransactionDTO.d.ts +143 -0
  994. package/esm/api/models/SecretLockTransactionDTO.js +97 -0
  995. package/esm/api/models/SecretProofTransactionBodyDTO.d.ts +54 -0
  996. package/esm/api/models/SecretProofTransactionBodyDTO.js +56 -0
  997. package/esm/api/models/SecretProofTransactionDTO.d.ts +122 -0
  998. package/esm/api/models/SecretProofTransactionDTO.js +89 -0
  999. package/esm/api/models/ServerDTO.d.ts +40 -0
  1000. package/esm/api/models/ServerDTO.js +48 -0
  1001. package/esm/api/models/ServerInfoDTO.d.ts +35 -0
  1002. package/esm/api/models/ServerInfoDTO.js +44 -0
  1003. package/esm/api/models/SizePrefixedEntityDTO.d.ts +37 -0
  1004. package/esm/api/models/SizePrefixedEntityDTO.js +43 -0
  1005. package/esm/api/models/SourceDTO.d.ts +42 -0
  1006. package/esm/api/models/SourceDTO.js +47 -0
  1007. package/esm/api/models/StageEnum.d.ts +31 -0
  1008. package/esm/api/models/StageEnum.js +49 -0
  1009. package/esm/api/models/StatementMetaDTO.d.ts +42 -0
  1010. package/esm/api/models/StatementMetaDTO.js +43 -0
  1011. package/esm/api/models/StorageInfoDTO.d.ts +62 -0
  1012. package/esm/api/models/StorageInfoDTO.js +56 -0
  1013. package/esm/api/models/StorageInfoDatabaseDTO.d.ts +72 -0
  1014. package/esm/api/models/StorageInfoDatabaseDTO.js +60 -0
  1015. package/esm/api/models/SupplementalPublicKeysDTO.d.ts +54 -0
  1016. package/esm/api/models/SupplementalPublicKeysDTO.js +49 -0
  1017. package/esm/api/models/TransactionBodyDTO.d.ts +52 -0
  1018. package/esm/api/models/TransactionBodyDTO.js +47 -0
  1019. package/esm/api/models/TransactionDTO.d.ts +94 -0
  1020. package/esm/api/models/TransactionDTO.js +72 -0
  1021. package/esm/api/models/TransactionFeesDTO.d.ts +119 -0
  1022. package/esm/api/models/TransactionFeesDTO.js +59 -0
  1023. package/esm/api/models/TransactionGroupEnum.d.ts +32 -0
  1024. package/esm/api/models/TransactionGroupEnum.js +50 -0
  1025. package/esm/api/models/TransactionHashes.d.ts +32 -0
  1026. package/esm/api/models/TransactionHashes.js +43 -0
  1027. package/esm/api/models/TransactionIds.d.ts +32 -0
  1028. package/esm/api/models/TransactionIds.js +43 -0
  1029. package/esm/api/models/TransactionInfoDTO.d.ts +54 -0
  1030. package/esm/api/models/TransactionInfoDTO.js +53 -0
  1031. package/esm/api/models/TransactionInfoDTOMeta.d.ts +103 -0
  1032. package/esm/api/models/TransactionInfoDTOMeta.js +67 -0
  1033. package/esm/api/models/TransactionInfoDTOTransaction.d.ts +493 -0
  1034. package/esm/api/models/TransactionInfoDTOTransaction.js +279 -0
  1035. package/esm/api/models/TransactionMetaDTO.d.ts +100 -0
  1036. package/esm/api/models/TransactionMetaDTO.js +59 -0
  1037. package/esm/api/models/TransactionPage.d.ts +40 -0
  1038. package/esm/api/models/TransactionPage.js +49 -0
  1039. package/esm/api/models/TransactionPayload.d.ts +35 -0
  1040. package/esm/api/models/TransactionPayload.js +43 -0
  1041. package/esm/api/models/TransactionStatementDTO.d.ts +48 -0
  1042. package/esm/api/models/TransactionStatementDTO.js +53 -0
  1043. package/esm/api/models/TransactionStatementDTOReceiptsInner.d.ts +91 -0
  1044. package/esm/api/models/TransactionStatementDTOReceiptsInner.js +72 -0
  1045. package/esm/api/models/TransactionStatementInfoDTO.d.ts +48 -0
  1046. package/esm/api/models/TransactionStatementInfoDTO.js +53 -0
  1047. package/esm/api/models/TransactionStatementPage.d.ts +40 -0
  1048. package/esm/api/models/TransactionStatementPage.js +49 -0
  1049. package/esm/api/models/TransactionStatusDTO.d.ts +70 -0
  1050. package/esm/api/models/TransactionStatusDTO.js +57 -0
  1051. package/esm/api/models/TransactionStatusEnum.d.ts +382 -0
  1052. package/esm/api/models/TransactionStatusEnum.js +400 -0
  1053. package/esm/api/models/TransactionTypeEnum.d.ts +74 -0
  1054. package/esm/api/models/TransactionTypeEnum.js +92 -0
  1055. package/esm/api/models/TransferNetworkPropertiesDTO.d.ts +32 -0
  1056. package/esm/api/models/TransferNetworkPropertiesDTO.js +41 -0
  1057. package/esm/api/models/TransferTransactionBodyDTO.d.ts +49 -0
  1058. package/esm/api/models/TransferTransactionBodyDTO.js +50 -0
  1059. package/esm/api/models/TransferTransactionDTO.d.ts +117 -0
  1060. package/esm/api/models/TransferTransactionDTO.js +83 -0
  1061. package/esm/api/models/UnlockedAccountDTO.d.ts +34 -0
  1062. package/esm/api/models/UnlockedAccountDTO.js +43 -0
  1063. package/esm/api/models/UnresolvedMosaic.d.ts +45 -0
  1064. package/esm/api/models/UnresolvedMosaic.js +47 -0
  1065. package/esm/api/models/VerifiableEntityDTO.d.ts +38 -0
  1066. package/esm/api/models/VerifiableEntityDTO.js +43 -0
  1067. package/esm/api/models/VotingKeyLinkTransactionBodyDTO.d.ts +57 -0
  1068. package/esm/api/models/VotingKeyLinkTransactionBodyDTO.js +56 -0
  1069. package/esm/api/models/VotingKeyLinkTransactionDTO.d.ts +127 -0
  1070. package/esm/api/models/VotingKeyLinkTransactionDTO.js +89 -0
  1071. package/esm/api/models/VrfKeyLinkTransactionBodyDTO.d.ts +39 -0
  1072. package/esm/api/models/VrfKeyLinkTransactionBodyDTO.js +48 -0
  1073. package/esm/api/models/VrfKeyLinkTransactionDTO.d.ts +110 -0
  1074. package/esm/api/models/VrfKeyLinkTransactionDTO.js +81 -0
  1075. package/esm/api/models/index.d.ts +247 -0
  1076. package/esm/api/models/index.js +249 -0
  1077. package/esm/api/runtime.d.ts +184 -0
  1078. package/esm/api/runtime.js +333 -0
  1079. package/esm/cdn.d.ts +1 -0
  1080. package/esm/cdn.js +2 -0
  1081. package/esm/index.d.ts +1 -0
  1082. package/esm/index.js +1 -0
  1083. package/index.min.js +1 -0
  1084. package/package.json +64 -0
@@ -0,0 +1,147 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Catapult REST Endpoints
5
+ * OpenAPI Specification of catapult-rest
6
+ *
7
+ * The version of the OpenAPI document: 1.0.5
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import * as runtime from '../runtime';
15
+ import { AccountIdsToJSON, AccountInfoDTOFromJSON, AccountPageFromJSON, MerkleStateInfoDTOFromJSON, } from '../models/index';
16
+ /**
17
+ *
18
+ */
19
+ export class AccountRoutesApi extends runtime.BaseAPI {
20
+ /**
21
+ * Retrieves account data for a given account identifier. The response contains the account state including balance, importance, public key, linked keys, and activity buckets. The `accountId` path parameter accepts either a public key or a Base32-encoded address.
22
+ * Get account information
23
+ */
24
+ async getAccountInfoRaw(requestParameters, initOverrides) {
25
+ if (requestParameters['accountId'] == null) {
26
+ throw new runtime.RequiredError('accountId', 'Required parameter "accountId" was null or undefined when calling getAccountInfo().');
27
+ }
28
+ const queryParameters = {};
29
+ const headerParameters = {};
30
+ let urlPath = `/accounts/{accountId}`;
31
+ urlPath = urlPath.replace(`{${"accountId"}}`, encodeURIComponent(String(requestParameters['accountId'])));
32
+ const response = await this.request({
33
+ path: urlPath,
34
+ method: 'GET',
35
+ headers: headerParameters,
36
+ query: queryParameters,
37
+ }, initOverrides);
38
+ return new runtime.JSONApiResponse(response, (jsonValue) => AccountInfoDTOFromJSON(jsonValue));
39
+ }
40
+ /**
41
+ * Retrieves account data for a given account identifier. The response contains the account state including balance, importance, public key, linked keys, and activity buckets. The `accountId` path parameter accepts either a public key or a Base32-encoded address.
42
+ * Get account information
43
+ */
44
+ async getAccountInfo(requestParameters, initOverrides) {
45
+ const response = await this.getAccountInfoRaw(requestParameters, initOverrides);
46
+ return await response.value();
47
+ }
48
+ /**
49
+ * Retrieves the Merkle proof data for a given account. The Merkle path can be used to independently verify that the account state is included in the block state hash. If no account state entry exists for the supplied account ID, the endpoint still returns a Merkle proof response, but it is a negative proof showing that no account state entry exists for the requested account. The `accountId` path parameter accepts either a public key or a Base32-encoded address.
50
+ * Get account Merkle information
51
+ */
52
+ async getAccountInfoMerkleRaw(requestParameters, initOverrides) {
53
+ if (requestParameters['accountId'] == null) {
54
+ throw new runtime.RequiredError('accountId', 'Required parameter "accountId" was null or undefined when calling getAccountInfoMerkle().');
55
+ }
56
+ const queryParameters = {};
57
+ const headerParameters = {};
58
+ let urlPath = `/accounts/{accountId}/merkle`;
59
+ urlPath = urlPath.replace(`{${"accountId"}}`, encodeURIComponent(String(requestParameters['accountId'])));
60
+ const response = await this.request({
61
+ path: urlPath,
62
+ method: 'GET',
63
+ headers: headerParameters,
64
+ query: queryParameters,
65
+ }, initOverrides);
66
+ return new runtime.JSONApiResponse(response, (jsonValue) => MerkleStateInfoDTOFromJSON(jsonValue));
67
+ }
68
+ /**
69
+ * Retrieves the Merkle proof data for a given account. The Merkle path can be used to independently verify that the account state is included in the block state hash. If no account state entry exists for the supplied account ID, the endpoint still returns a Merkle proof response, but it is a negative proof showing that no account state entry exists for the requested account. The `accountId` path parameter accepts either a public key or a Base32-encoded address.
70
+ * Get account Merkle information
71
+ */
72
+ async getAccountInfoMerkle(requestParameters, initOverrides) {
73
+ const response = await this.getAccountInfoMerkleRaw(requestParameters, initOverrides);
74
+ return await response.value();
75
+ }
76
+ /**
77
+ * Retrieves account data for multiple accounts in a single request. This is the batch equivalent of the single-account endpoint. The request body accepts either an array of public keys or an array of addresses (not both). If both `publicKeys` and `addresses` are provided, the request is invalid and the server returns `409` error.
78
+ * Get accounts information
79
+ */
80
+ async getAccountsInfoRaw(requestParameters, initOverrides) {
81
+ const queryParameters = {};
82
+ const headerParameters = {};
83
+ headerParameters['Content-Type'] = 'application/json';
84
+ let urlPath = `/accounts`;
85
+ const response = await this.request({
86
+ path: urlPath,
87
+ method: 'POST',
88
+ headers: headerParameters,
89
+ query: queryParameters,
90
+ body: AccountIdsToJSON(requestParameters['accountIds']),
91
+ }, initOverrides);
92
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(AccountInfoDTOFromJSON));
93
+ }
94
+ /**
95
+ * Retrieves account data for multiple accounts in a single request. This is the batch equivalent of the single-account endpoint. The request body accepts either an array of public keys or an array of addresses (not both). If both `publicKeys` and `addresses` are provided, the request is invalid and the server returns `409` error.
96
+ * Get accounts information
97
+ */
98
+ async getAccountsInfo(requestParameters = {}, initOverrides) {
99
+ const response = await this.getAccountsInfoRaw(requestParameters, initOverrides);
100
+ return await response.value();
101
+ }
102
+ /**
103
+ * Returns a paginated list of accounts matching the given criteria. Results can be filtered by `address` and `mosaicId` (mosaic ownership), and ordered by `id` or `balance`. Standard pagination parameters (`pageSize`, `pageNumber`, `offset`, `order`) apply. The `orderBy` parameter supports `id` and `balance`; when using `orderBy=balance`, the `mosaicId` filter is required. The `offset` value must match the `orderBy` field.
104
+ * Search accounts
105
+ */
106
+ async searchAccountsRaw(requestParameters, initOverrides) {
107
+ const queryParameters = {};
108
+ if (requestParameters['address'] != null) {
109
+ queryParameters['address'] = requestParameters['address'];
110
+ }
111
+ if (requestParameters['pageSize'] != null) {
112
+ queryParameters['pageSize'] = requestParameters['pageSize'];
113
+ }
114
+ if (requestParameters['pageNumber'] != null) {
115
+ queryParameters['pageNumber'] = requestParameters['pageNumber'];
116
+ }
117
+ if (requestParameters['offset'] != null) {
118
+ queryParameters['offset'] = requestParameters['offset'];
119
+ }
120
+ if (requestParameters['order'] != null) {
121
+ queryParameters['order'] = requestParameters['order'];
122
+ }
123
+ if (requestParameters['orderBy'] != null) {
124
+ queryParameters['orderBy'] = requestParameters['orderBy'];
125
+ }
126
+ if (requestParameters['mosaicId'] != null) {
127
+ queryParameters['mosaicId'] = requestParameters['mosaicId'];
128
+ }
129
+ const headerParameters = {};
130
+ let urlPath = `/accounts`;
131
+ const response = await this.request({
132
+ path: urlPath,
133
+ method: 'GET',
134
+ headers: headerParameters,
135
+ query: queryParameters,
136
+ }, initOverrides);
137
+ return new runtime.JSONApiResponse(response, (jsonValue) => AccountPageFromJSON(jsonValue));
138
+ }
139
+ /**
140
+ * Returns a paginated list of accounts matching the given criteria. Results can be filtered by `address` and `mosaicId` (mosaic ownership), and ordered by `id` or `balance`. Standard pagination parameters (`pageSize`, `pageNumber`, `offset`, `order`) apply. The `orderBy` parameter supports `id` and `balance`; when using `orderBy=balance`, the `mosaicId` filter is required. The `offset` value must match the `orderBy` field.
141
+ * Search accounts
142
+ */
143
+ async searchAccounts(requestParameters = {}, initOverrides) {
144
+ const response = await this.searchAccountsRaw(requestParameters, initOverrides);
145
+ return await response.value();
146
+ }
147
+ }
@@ -0,0 +1,80 @@
1
+ /**
2
+ * Catapult REST Endpoints
3
+ * OpenAPI Specification of catapult-rest
4
+ *
5
+ * The version of the OpenAPI document: 1.0.5
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import * as runtime from '../runtime';
13
+ import type { BlockInfoDTO, BlockOrderByEnum, BlockPage, MerkleProofInfoDTO, Order } from '../models/index';
14
+ export interface GetBlockByHeightRequest {
15
+ height: string;
16
+ }
17
+ export interface GetMerkleReceiptsRequest {
18
+ height: string;
19
+ hash: string;
20
+ }
21
+ export interface GetMerkleTransactionRequest {
22
+ height: string;
23
+ hash: string;
24
+ }
25
+ export interface SearchBlocksRequest {
26
+ signerPublicKey?: string;
27
+ beneficiaryAddress?: string;
28
+ pageSize?: number;
29
+ pageNumber?: number;
30
+ offset?: string;
31
+ order?: Order;
32
+ orderBy?: BlockOrderByEnum;
33
+ fromTimestamp?: string;
34
+ toTimestamp?: string;
35
+ }
36
+ /**
37
+ *
38
+ */
39
+ export declare class BlockRoutesApi extends runtime.BaseAPI {
40
+ /**
41
+ * Returns the block at the given height. The response includes the block header, harvester signature, and block metadata (hash, total fee, generation hash, transaction and statement counts). If the block is an importance block, the response additionally contains voting-eligible and harvesting-eligible account counts, total voting balance, and the previous importance block hash.
42
+ * Get block information
43
+ */
44
+ getBlockByHeightRaw(requestParameters: GetBlockByHeightRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BlockInfoDTO>>;
45
+ /**
46
+ * Returns the block at the given height. The response includes the block header, harvester signature, and block metadata (hash, total fee, generation hash, transaction and statement counts). If the block is an importance block, the response additionally contains voting-eligible and harvesting-eligible account counts, total voting balance, and the previous importance block hash.
47
+ * Get block information
48
+ */
49
+ getBlockByHeight(requestParameters: GetBlockByHeightRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BlockInfoDTO>;
50
+ /**
51
+ * Returns the [Merkle path](https://docs.symbol.dev/concepts/data-validation.html#merkle-proof) for a [receipt statement or resolution](https://docs.symbol.dev/concepts/receipt.html) linked to a block. The `hash` parameter is the receipt statement hash, not the transaction hash. The Merkle path is the minimum number of nodes needed to calculate the Merkle root. Steps to calculate the Merkle root: 1. proofHash = hash (leaf). 2. Concatenate proofHash with the first unprocessed item from the merklePath list as follows: - `left`: the item hash is concatenated before the proofHash (proofHash = sha_256(item.hash + proofHash)). - `right`: the item hash is concatenated after the proofHash (proofHash = sha_256(proofHash + item.hash)). 3. Repeat 2. for every item in the merklePath list. 4. Compare if the calculated proofHash equals the one recorded in the [block header](https://docs.symbol.dev/concepts/block.html) (`block.receiptsHash`) to verify if the statement was linked with the block.
52
+ * Get the Merkle path for a given receipt statement hash and block
53
+ */
54
+ getMerkleReceiptsRaw(requestParameters: GetMerkleReceiptsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MerkleProofInfoDTO>>;
55
+ /**
56
+ * Returns the [Merkle path](https://docs.symbol.dev/concepts/data-validation.html#merkle-proof) for a [receipt statement or resolution](https://docs.symbol.dev/concepts/receipt.html) linked to a block. The `hash` parameter is the receipt statement hash, not the transaction hash. The Merkle path is the minimum number of nodes needed to calculate the Merkle root. Steps to calculate the Merkle root: 1. proofHash = hash (leaf). 2. Concatenate proofHash with the first unprocessed item from the merklePath list as follows: - `left`: the item hash is concatenated before the proofHash (proofHash = sha_256(item.hash + proofHash)). - `right`: the item hash is concatenated after the proofHash (proofHash = sha_256(proofHash + item.hash)). 3. Repeat 2. for every item in the merklePath list. 4. Compare if the calculated proofHash equals the one recorded in the [block header](https://docs.symbol.dev/concepts/block.html) (`block.receiptsHash`) to verify if the statement was linked with the block.
57
+ * Get the Merkle path for a given receipt statement hash and block
58
+ */
59
+ getMerkleReceipts(requestParameters: GetMerkleReceiptsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MerkleProofInfoDTO>;
60
+ /**
61
+ * Returns the [Merkle path](https://docs.symbol.dev/concepts/data-validation.html#merkle-proof) for a [transaction](https://docs.symbol.dev/concepts/transaction.html) included in a block. The Merkle path is the minimum number of nodes needed to calculate the Merkle root. Steps to calculate the Merkle root: 1. proofHash = hash (leaf). 2. Concatenate proofHash with the first unprocessed item from the merklePath list as follows: - `left`: the item hash is concatenated before the proofHash (proofHash = sha_256(item.hash + proofHash)). - `right`: the item hash is concatenated after the proofHash (proofHash = sha_256(proofHash + item.hash)). 3. Repeat 2. for every item in the merklePath list. 4. Compare if the calculated proofHash equals the one recorded in the [block header](https://docs.symbol.dev/concepts/block.html) (`block.transactionsHash`) to verify if the transaction was included in the block.
62
+ * Get the Merkle path for a given transaction and block
63
+ */
64
+ getMerkleTransactionRaw(requestParameters: GetMerkleTransactionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MerkleProofInfoDTO>>;
65
+ /**
66
+ * Returns the [Merkle path](https://docs.symbol.dev/concepts/data-validation.html#merkle-proof) for a [transaction](https://docs.symbol.dev/concepts/transaction.html) included in a block. The Merkle path is the minimum number of nodes needed to calculate the Merkle root. Steps to calculate the Merkle root: 1. proofHash = hash (leaf). 2. Concatenate proofHash with the first unprocessed item from the merklePath list as follows: - `left`: the item hash is concatenated before the proofHash (proofHash = sha_256(item.hash + proofHash)). - `right`: the item hash is concatenated after the proofHash (proofHash = sha_256(proofHash + item.hash)). 3. Repeat 2. for every item in the merklePath list. 4. Compare if the calculated proofHash equals the one recorded in the [block header](https://docs.symbol.dev/concepts/block.html) (`block.transactionsHash`) to verify if the transaction was included in the block.
67
+ * Get the Merkle path for a given transaction and block
68
+ */
69
+ getMerkleTransaction(requestParameters: GetMerkleTransactionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MerkleProofInfoDTO>;
70
+ /**
71
+ * Returns a paginated list of blocks matching the given criteria. Results can be filtered by harvester (`signerPublicKey`), `beneficiaryAddress`, and timestamp range. Standard pagination parameters (`pageSize`, `pageNumber`, `offset`, `order`) apply. The `orderBy` parameter supports `id` and `height`. The `offset` value must match the `orderBy` field.
72
+ * Search blocks
73
+ */
74
+ searchBlocksRaw(requestParameters: SearchBlocksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BlockPage>>;
75
+ /**
76
+ * Returns a paginated list of blocks matching the given criteria. Results can be filtered by harvester (`signerPublicKey`), `beneficiaryAddress`, and timestamp range. Standard pagination parameters (`pageSize`, `pageNumber`, `offset`, `order`) apply. The `orderBy` parameter supports `id` and `height`. The `offset` value must match the `orderBy` field.
77
+ * Search blocks
78
+ */
79
+ searchBlocks(requestParameters?: SearchBlocksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BlockPage>;
80
+ }
@@ -0,0 +1,163 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Catapult REST Endpoints
5
+ * OpenAPI Specification of catapult-rest
6
+ *
7
+ * The version of the OpenAPI document: 1.0.5
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import * as runtime from '../runtime';
15
+ import { BlockInfoDTOFromJSON, BlockPageFromJSON, MerkleProofInfoDTOFromJSON, } from '../models/index';
16
+ /**
17
+ *
18
+ */
19
+ export class BlockRoutesApi extends runtime.BaseAPI {
20
+ /**
21
+ * Returns the block at the given height. The response includes the block header, harvester signature, and block metadata (hash, total fee, generation hash, transaction and statement counts). If the block is an importance block, the response additionally contains voting-eligible and harvesting-eligible account counts, total voting balance, and the previous importance block hash.
22
+ * Get block information
23
+ */
24
+ async getBlockByHeightRaw(requestParameters, initOverrides) {
25
+ if (requestParameters['height'] == null) {
26
+ throw new runtime.RequiredError('height', 'Required parameter "height" was null or undefined when calling getBlockByHeight().');
27
+ }
28
+ const queryParameters = {};
29
+ const headerParameters = {};
30
+ let urlPath = `/blocks/{height}`;
31
+ urlPath = urlPath.replace(`{${"height"}}`, encodeURIComponent(String(requestParameters['height'])));
32
+ const response = await this.request({
33
+ path: urlPath,
34
+ method: 'GET',
35
+ headers: headerParameters,
36
+ query: queryParameters,
37
+ }, initOverrides);
38
+ return new runtime.JSONApiResponse(response, (jsonValue) => BlockInfoDTOFromJSON(jsonValue));
39
+ }
40
+ /**
41
+ * Returns the block at the given height. The response includes the block header, harvester signature, and block metadata (hash, total fee, generation hash, transaction and statement counts). If the block is an importance block, the response additionally contains voting-eligible and harvesting-eligible account counts, total voting balance, and the previous importance block hash.
42
+ * Get block information
43
+ */
44
+ async getBlockByHeight(requestParameters, initOverrides) {
45
+ const response = await this.getBlockByHeightRaw(requestParameters, initOverrides);
46
+ return await response.value();
47
+ }
48
+ /**
49
+ * Returns the [Merkle path](https://docs.symbol.dev/concepts/data-validation.html#merkle-proof) for a [receipt statement or resolution](https://docs.symbol.dev/concepts/receipt.html) linked to a block. The `hash` parameter is the receipt statement hash, not the transaction hash. The Merkle path is the minimum number of nodes needed to calculate the Merkle root. Steps to calculate the Merkle root: 1. proofHash = hash (leaf). 2. Concatenate proofHash with the first unprocessed item from the merklePath list as follows: - `left`: the item hash is concatenated before the proofHash (proofHash = sha_256(item.hash + proofHash)). - `right`: the item hash is concatenated after the proofHash (proofHash = sha_256(proofHash + item.hash)). 3. Repeat 2. for every item in the merklePath list. 4. Compare if the calculated proofHash equals the one recorded in the [block header](https://docs.symbol.dev/concepts/block.html) (`block.receiptsHash`) to verify if the statement was linked with the block.
50
+ * Get the Merkle path for a given receipt statement hash and block
51
+ */
52
+ async getMerkleReceiptsRaw(requestParameters, initOverrides) {
53
+ if (requestParameters['height'] == null) {
54
+ throw new runtime.RequiredError('height', 'Required parameter "height" was null or undefined when calling getMerkleReceipts().');
55
+ }
56
+ if (requestParameters['hash'] == null) {
57
+ throw new runtime.RequiredError('hash', 'Required parameter "hash" was null or undefined when calling getMerkleReceipts().');
58
+ }
59
+ const queryParameters = {};
60
+ const headerParameters = {};
61
+ let urlPath = `/blocks/{height}/statements/{hash}/merkle`;
62
+ urlPath = urlPath.replace(`{${"height"}}`, encodeURIComponent(String(requestParameters['height'])));
63
+ urlPath = urlPath.replace(`{${"hash"}}`, encodeURIComponent(String(requestParameters['hash'])));
64
+ const response = await this.request({
65
+ path: urlPath,
66
+ method: 'GET',
67
+ headers: headerParameters,
68
+ query: queryParameters,
69
+ }, initOverrides);
70
+ return new runtime.JSONApiResponse(response, (jsonValue) => MerkleProofInfoDTOFromJSON(jsonValue));
71
+ }
72
+ /**
73
+ * Returns the [Merkle path](https://docs.symbol.dev/concepts/data-validation.html#merkle-proof) for a [receipt statement or resolution](https://docs.symbol.dev/concepts/receipt.html) linked to a block. The `hash` parameter is the receipt statement hash, not the transaction hash. The Merkle path is the minimum number of nodes needed to calculate the Merkle root. Steps to calculate the Merkle root: 1. proofHash = hash (leaf). 2. Concatenate proofHash with the first unprocessed item from the merklePath list as follows: - `left`: the item hash is concatenated before the proofHash (proofHash = sha_256(item.hash + proofHash)). - `right`: the item hash is concatenated after the proofHash (proofHash = sha_256(proofHash + item.hash)). 3. Repeat 2. for every item in the merklePath list. 4. Compare if the calculated proofHash equals the one recorded in the [block header](https://docs.symbol.dev/concepts/block.html) (`block.receiptsHash`) to verify if the statement was linked with the block.
74
+ * Get the Merkle path for a given receipt statement hash and block
75
+ */
76
+ async getMerkleReceipts(requestParameters, initOverrides) {
77
+ const response = await this.getMerkleReceiptsRaw(requestParameters, initOverrides);
78
+ return await response.value();
79
+ }
80
+ /**
81
+ * Returns the [Merkle path](https://docs.symbol.dev/concepts/data-validation.html#merkle-proof) for a [transaction](https://docs.symbol.dev/concepts/transaction.html) included in a block. The Merkle path is the minimum number of nodes needed to calculate the Merkle root. Steps to calculate the Merkle root: 1. proofHash = hash (leaf). 2. Concatenate proofHash with the first unprocessed item from the merklePath list as follows: - `left`: the item hash is concatenated before the proofHash (proofHash = sha_256(item.hash + proofHash)). - `right`: the item hash is concatenated after the proofHash (proofHash = sha_256(proofHash + item.hash)). 3. Repeat 2. for every item in the merklePath list. 4. Compare if the calculated proofHash equals the one recorded in the [block header](https://docs.symbol.dev/concepts/block.html) (`block.transactionsHash`) to verify if the transaction was included in the block.
82
+ * Get the Merkle path for a given transaction and block
83
+ */
84
+ async getMerkleTransactionRaw(requestParameters, initOverrides) {
85
+ if (requestParameters['height'] == null) {
86
+ throw new runtime.RequiredError('height', 'Required parameter "height" was null or undefined when calling getMerkleTransaction().');
87
+ }
88
+ if (requestParameters['hash'] == null) {
89
+ throw new runtime.RequiredError('hash', 'Required parameter "hash" was null or undefined when calling getMerkleTransaction().');
90
+ }
91
+ const queryParameters = {};
92
+ const headerParameters = {};
93
+ let urlPath = `/blocks/{height}/transactions/{hash}/merkle`;
94
+ urlPath = urlPath.replace(`{${"height"}}`, encodeURIComponent(String(requestParameters['height'])));
95
+ urlPath = urlPath.replace(`{${"hash"}}`, encodeURIComponent(String(requestParameters['hash'])));
96
+ const response = await this.request({
97
+ path: urlPath,
98
+ method: 'GET',
99
+ headers: headerParameters,
100
+ query: queryParameters,
101
+ }, initOverrides);
102
+ return new runtime.JSONApiResponse(response, (jsonValue) => MerkleProofInfoDTOFromJSON(jsonValue));
103
+ }
104
+ /**
105
+ * Returns the [Merkle path](https://docs.symbol.dev/concepts/data-validation.html#merkle-proof) for a [transaction](https://docs.symbol.dev/concepts/transaction.html) included in a block. The Merkle path is the minimum number of nodes needed to calculate the Merkle root. Steps to calculate the Merkle root: 1. proofHash = hash (leaf). 2. Concatenate proofHash with the first unprocessed item from the merklePath list as follows: - `left`: the item hash is concatenated before the proofHash (proofHash = sha_256(item.hash + proofHash)). - `right`: the item hash is concatenated after the proofHash (proofHash = sha_256(proofHash + item.hash)). 3. Repeat 2. for every item in the merklePath list. 4. Compare if the calculated proofHash equals the one recorded in the [block header](https://docs.symbol.dev/concepts/block.html) (`block.transactionsHash`) to verify if the transaction was included in the block.
106
+ * Get the Merkle path for a given transaction and block
107
+ */
108
+ async getMerkleTransaction(requestParameters, initOverrides) {
109
+ const response = await this.getMerkleTransactionRaw(requestParameters, initOverrides);
110
+ return await response.value();
111
+ }
112
+ /**
113
+ * Returns a paginated list of blocks matching the given criteria. Results can be filtered by harvester (`signerPublicKey`), `beneficiaryAddress`, and timestamp range. Standard pagination parameters (`pageSize`, `pageNumber`, `offset`, `order`) apply. The `orderBy` parameter supports `id` and `height`. The `offset` value must match the `orderBy` field.
114
+ * Search blocks
115
+ */
116
+ async searchBlocksRaw(requestParameters, initOverrides) {
117
+ const queryParameters = {};
118
+ if (requestParameters['signerPublicKey'] != null) {
119
+ queryParameters['signerPublicKey'] = requestParameters['signerPublicKey'];
120
+ }
121
+ if (requestParameters['beneficiaryAddress'] != null) {
122
+ queryParameters['beneficiaryAddress'] = requestParameters['beneficiaryAddress'];
123
+ }
124
+ if (requestParameters['pageSize'] != null) {
125
+ queryParameters['pageSize'] = requestParameters['pageSize'];
126
+ }
127
+ if (requestParameters['pageNumber'] != null) {
128
+ queryParameters['pageNumber'] = requestParameters['pageNumber'];
129
+ }
130
+ if (requestParameters['offset'] != null) {
131
+ queryParameters['offset'] = requestParameters['offset'];
132
+ }
133
+ if (requestParameters['order'] != null) {
134
+ queryParameters['order'] = requestParameters['order'];
135
+ }
136
+ if (requestParameters['orderBy'] != null) {
137
+ queryParameters['orderBy'] = requestParameters['orderBy'];
138
+ }
139
+ if (requestParameters['fromTimestamp'] != null) {
140
+ queryParameters['fromTimestamp'] = requestParameters['fromTimestamp'];
141
+ }
142
+ if (requestParameters['toTimestamp'] != null) {
143
+ queryParameters['toTimestamp'] = requestParameters['toTimestamp'];
144
+ }
145
+ const headerParameters = {};
146
+ let urlPath = `/blocks`;
147
+ const response = await this.request({
148
+ path: urlPath,
149
+ method: 'GET',
150
+ headers: headerParameters,
151
+ query: queryParameters,
152
+ }, initOverrides);
153
+ return new runtime.JSONApiResponse(response, (jsonValue) => BlockPageFromJSON(jsonValue));
154
+ }
155
+ /**
156
+ * Returns a paginated list of blocks matching the given criteria. Results can be filtered by harvester (`signerPublicKey`), `beneficiaryAddress`, and timestamp range. Standard pagination parameters (`pageSize`, `pageNumber`, `offset`, `order`) apply. The `orderBy` parameter supports `id` and `height`. The `offset` value must match the `orderBy` field.
157
+ * Search blocks
158
+ */
159
+ async searchBlocks(requestParameters = {}, initOverrides) {
160
+ const response = await this.searchBlocksRaw(requestParameters, initOverrides);
161
+ return await response.value();
162
+ }
163
+ }
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Catapult REST Endpoints
3
+ * OpenAPI Specification of catapult-rest
4
+ *
5
+ * The version of the OpenAPI document: 1.0.5
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import * as runtime from '../runtime';
13
+ import type { ChainInfoDTO } from '../models/index';
14
+ /**
15
+ *
16
+ */
17
+ export declare class ChainRoutesApi extends runtime.BaseAPI {
18
+ /**
19
+ * Returns the current state of the blockchain: chain height, chain score, and the latest finalized block.
20
+ * Get chain information
21
+ */
22
+ getChainInfoRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ChainInfoDTO>>;
23
+ /**
24
+ * Returns the current state of the blockchain: chain height, chain score, and the latest finalized block.
25
+ * Get chain information
26
+ */
27
+ getChainInfo(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ChainInfoDTO>;
28
+ }
@@ -0,0 +1,44 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Catapult REST Endpoints
5
+ * OpenAPI Specification of catapult-rest
6
+ *
7
+ * The version of the OpenAPI document: 1.0.5
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import * as runtime from '../runtime';
15
+ import { ChainInfoDTOFromJSON, } from '../models/index';
16
+ /**
17
+ *
18
+ */
19
+ export class ChainRoutesApi extends runtime.BaseAPI {
20
+ /**
21
+ * Returns the current state of the blockchain: chain height, chain score, and the latest finalized block.
22
+ * Get chain information
23
+ */
24
+ async getChainInfoRaw(initOverrides) {
25
+ const queryParameters = {};
26
+ const headerParameters = {};
27
+ let urlPath = `/chain/info`;
28
+ const response = await this.request({
29
+ path: urlPath,
30
+ method: 'GET',
31
+ headers: headerParameters,
32
+ query: queryParameters,
33
+ }, initOverrides);
34
+ return new runtime.JSONApiResponse(response, (jsonValue) => ChainInfoDTOFromJSON(jsonValue));
35
+ }
36
+ /**
37
+ * Returns the current state of the blockchain: chain height, chain score, and the latest finalized block.
38
+ * Get chain information
39
+ */
40
+ async getChainInfo(initOverrides) {
41
+ const response = await this.getChainInfoRaw(initOverrides);
42
+ return await response.value();
43
+ }
44
+ }
@@ -0,0 +1,44 @@
1
+ /**
2
+ * Catapult REST Endpoints
3
+ * OpenAPI Specification of catapult-rest
4
+ *
5
+ * The version of the OpenAPI document: 1.0.5
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import * as runtime from '../runtime';
13
+ import type { FinalizationProofDTO } from '../models/index';
14
+ export interface GetFinalizationProofAtEpochRequest {
15
+ epoch: number;
16
+ }
17
+ export interface GetFinalizationProofAtHeightRequest {
18
+ height: string;
19
+ }
20
+ /**
21
+ *
22
+ */
23
+ export declare class FinalizationRoutesApi extends runtime.BaseAPI {
24
+ /**
25
+ * Returns the finalization proof for the greatest block height associated with the given finalization epoch.
26
+ * Get finalization proof at epoch
27
+ */
28
+ getFinalizationProofAtEpochRaw(requestParameters: GetFinalizationProofAtEpochRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FinalizationProofDTO>>;
29
+ /**
30
+ * Returns the finalization proof for the greatest block height associated with the given finalization epoch.
31
+ * Get finalization proof at epoch
32
+ */
33
+ getFinalizationProofAtEpoch(requestParameters: GetFinalizationProofAtEpochRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FinalizationProofDTO>;
34
+ /**
35
+ * Returns the finalization proof for the block at the given height.
36
+ * Get finalization proof at height
37
+ */
38
+ getFinalizationProofAtHeightRaw(requestParameters: GetFinalizationProofAtHeightRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FinalizationProofDTO>>;
39
+ /**
40
+ * Returns the finalization proof for the block at the given height.
41
+ * Get finalization proof at height
42
+ */
43
+ getFinalizationProofAtHeight(requestParameters: GetFinalizationProofAtHeightRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FinalizationProofDTO>;
44
+ }
@@ -0,0 +1,76 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Catapult REST Endpoints
5
+ * OpenAPI Specification of catapult-rest
6
+ *
7
+ * The version of the OpenAPI document: 1.0.5
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import * as runtime from '../runtime';
15
+ import { FinalizationProofDTOFromJSON, } from '../models/index';
16
+ /**
17
+ *
18
+ */
19
+ export class FinalizationRoutesApi extends runtime.BaseAPI {
20
+ /**
21
+ * Returns the finalization proof for the greatest block height associated with the given finalization epoch.
22
+ * Get finalization proof at epoch
23
+ */
24
+ async getFinalizationProofAtEpochRaw(requestParameters, initOverrides) {
25
+ if (requestParameters['epoch'] == null) {
26
+ throw new runtime.RequiredError('epoch', 'Required parameter "epoch" was null or undefined when calling getFinalizationProofAtEpoch().');
27
+ }
28
+ const queryParameters = {};
29
+ const headerParameters = {};
30
+ let urlPath = `/finalization/proof/epoch/{epoch}`;
31
+ urlPath = urlPath.replace(`{${"epoch"}}`, encodeURIComponent(String(requestParameters['epoch'])));
32
+ const response = await this.request({
33
+ path: urlPath,
34
+ method: 'GET',
35
+ headers: headerParameters,
36
+ query: queryParameters,
37
+ }, initOverrides);
38
+ return new runtime.JSONApiResponse(response, (jsonValue) => FinalizationProofDTOFromJSON(jsonValue));
39
+ }
40
+ /**
41
+ * Returns the finalization proof for the greatest block height associated with the given finalization epoch.
42
+ * Get finalization proof at epoch
43
+ */
44
+ async getFinalizationProofAtEpoch(requestParameters, initOverrides) {
45
+ const response = await this.getFinalizationProofAtEpochRaw(requestParameters, initOverrides);
46
+ return await response.value();
47
+ }
48
+ /**
49
+ * Returns the finalization proof for the block at the given height.
50
+ * Get finalization proof at height
51
+ */
52
+ async getFinalizationProofAtHeightRaw(requestParameters, initOverrides) {
53
+ if (requestParameters['height'] == null) {
54
+ throw new runtime.RequiredError('height', 'Required parameter "height" was null or undefined when calling getFinalizationProofAtHeight().');
55
+ }
56
+ const queryParameters = {};
57
+ const headerParameters = {};
58
+ let urlPath = `/finalization/proof/height/{height}`;
59
+ urlPath = urlPath.replace(`{${"height"}}`, encodeURIComponent(String(requestParameters['height'])));
60
+ const response = await this.request({
61
+ path: urlPath,
62
+ method: 'GET',
63
+ headers: headerParameters,
64
+ query: queryParameters,
65
+ }, initOverrides);
66
+ return new runtime.JSONApiResponse(response, (jsonValue) => FinalizationProofDTOFromJSON(jsonValue));
67
+ }
68
+ /**
69
+ * Returns the finalization proof for the block at the given height.
70
+ * Get finalization proof at height
71
+ */
72
+ async getFinalizationProofAtHeight(requestParameters, initOverrides) {
73
+ const response = await this.getFinalizationProofAtHeightRaw(requestParameters, initOverrides);
74
+ return await response.value();
75
+ }
76
+ }