@nemtus/symbol-rest-api-client-fetch 1.0.1 → 1.0.2

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 (570) hide show
  1. package/cjs/api/apis/AccountRoutesApi.d.ts +94 -1
  2. package/cjs/api/apis/AccountRoutesApi.js +67 -28
  3. package/cjs/api/apis/BlockRoutesApi.d.ts +94 -1
  4. package/cjs/api/apis/BlockRoutesApi.js +68 -30
  5. package/cjs/api/apis/ChainRoutesApi.d.ts +5 -1
  6. package/cjs/api/apis/ChainRoutesApi.js +16 -7
  7. package/cjs/api/apis/FinalizationRoutesApi.d.ts +17 -1
  8. package/cjs/api/apis/FinalizationRoutesApi.js +33 -15
  9. package/cjs/api/apis/HashLockRoutesApi.d.ts +126 -1
  10. package/cjs/api/apis/HashLockRoutesApi.js +83 -35
  11. package/cjs/api/apis/MetadataRoutesApi.d.ts +107 -3
  12. package/cjs/api/apis/MetadataRoutesApi.js +82 -34
  13. package/cjs/api/apis/MosaicRoutesApi.d.ts +71 -1
  14. package/cjs/api/apis/MosaicRoutesApi.js +67 -28
  15. package/cjs/api/apis/MultisigRoutesApi.d.ts +24 -1
  16. package/cjs/api/apis/MultisigRoutesApi.js +51 -22
  17. package/cjs/api/apis/NamespaceRoutesApi.d.ts +108 -1
  18. package/cjs/api/apis/NamespaceRoutesApi.js +104 -42
  19. package/cjs/api/apis/NetworkRoutesApi.d.ts +44 -1
  20. package/cjs/api/apis/NetworkRoutesApi.js +138 -53
  21. package/cjs/api/apis/NodeRoutesApi.d.ts +38 -1
  22. package/cjs/api/apis/NodeRoutesApi.js +125 -48
  23. package/cjs/api/apis/ReceiptRoutesApi.d.ts +171 -1
  24. package/cjs/api/apis/ReceiptRoutesApi.js +47 -19
  25. package/cjs/api/apis/RestrictionAccountRoutesApi.d.ts +81 -1
  26. package/cjs/api/apis/RestrictionAccountRoutesApi.js +67 -28
  27. package/cjs/api/apis/RestrictionMosaicRoutesApi.d.ts +78 -1
  28. package/cjs/api/apis/RestrictionMosaicRoutesApi.js +67 -28
  29. package/cjs/api/apis/SecretLockRoutesApi.d.ts +132 -1
  30. package/cjs/api/apis/SecretLockRoutesApi.js +83 -35
  31. package/cjs/api/apis/TransactionRoutesApi.d.ts +416 -1
  32. package/cjs/api/apis/TransactionRoutesApi.js +195 -82
  33. package/cjs/api/apis/TransactionStatusRoutesApi.d.ts +16 -1
  34. package/cjs/api/apis/TransactionStatusRoutesApi.js +34 -15
  35. package/cjs/api/models/AccountAddressRestrictionTransactionBodyDTO.d.ts +1 -7
  36. package/cjs/api/models/AccountAddressRestrictionTransactionDTO.d.ts +7 -41
  37. package/cjs/api/models/AccountDTO.d.ts +4 -32
  38. package/cjs/api/models/AccountIds.d.ts +1 -5
  39. package/cjs/api/models/AccountInfoDTO.d.ts +1 -5
  40. package/cjs/api/models/AccountKeyLinkNetworkPropertiesDTO.d.ts +1 -3
  41. package/cjs/api/models/AccountKeyLinkTransactionBodyDTO.d.ts +1 -5
  42. package/cjs/api/models/AccountKeyLinkTransactionDTO.d.ts +7 -39
  43. package/cjs/api/models/AccountLinkPublicKeyDTO.d.ts +1 -3
  44. package/cjs/api/models/AccountLinkVotingKeyDTO.d.ts +3 -15
  45. package/cjs/api/models/AccountLinkVotingKeysDTO.d.ts +1 -3
  46. package/cjs/api/models/AccountMetadataTransactionBodyDTO.d.ts +1 -11
  47. package/cjs/api/models/AccountMetadataTransactionDTO.d.ts +7 -45
  48. package/cjs/api/models/AccountMosaicRestrictionTransactionBodyDTO.d.ts +1 -7
  49. package/cjs/api/models/AccountMosaicRestrictionTransactionDTO.d.ts +7 -41
  50. package/cjs/api/models/AccountNamesDTO.d.ts +2 -8
  51. package/cjs/api/models/AccountOperationRestrictionTransactionBodyDTO.d.ts +1 -7
  52. package/cjs/api/models/AccountOperationRestrictionTransactionDTO.d.ts +7 -41
  53. package/cjs/api/models/AccountOrderByEnum.js +1 -1
  54. package/cjs/api/models/AccountPage.d.ts +1 -5
  55. package/cjs/api/models/AccountRestrictionDTO.d.ts +1 -5
  56. package/cjs/api/models/AccountRestrictionDTOValuesInner.d.ts +1 -1
  57. package/cjs/api/models/AccountRestrictionFlagsEnum.js +1 -1
  58. package/cjs/api/models/AccountRestrictionNetworkPropertiesDTO.d.ts +1 -3
  59. package/cjs/api/models/AccountRestrictionsDTO.d.ts +1 -7
  60. package/cjs/api/models/AccountRestrictionsInfoDTO.d.ts +1 -3
  61. package/cjs/api/models/AccountRestrictionsPage.d.ts +1 -5
  62. package/cjs/api/models/AccountTypeEnum.js +1 -1
  63. package/cjs/api/models/AccountsNamesDTO.d.ts +1 -3
  64. package/cjs/api/models/ActivityBucketDTO.d.ts +13 -25
  65. package/cjs/api/models/AddressAliasTransactionBodyDTO.d.ts +1 -7
  66. package/cjs/api/models/AddressAliasTransactionDTO.d.ts +7 -41
  67. package/cjs/api/models/Addresses.d.ts +1 -3
  68. package/cjs/api/models/AggregateNetworkPropertiesDTO.d.ts +1 -11
  69. package/cjs/api/models/AggregateTransactionBodyDTO.d.ts +1 -5
  70. package/cjs/api/models/AggregateTransactionBodyExtendedDTO.d.ts +1 -7
  71. package/cjs/api/models/AggregateTransactionDTO.d.ts +7 -39
  72. package/cjs/api/models/AggregateTransactionExtendedDTO.d.ts +7 -41
  73. package/cjs/api/models/AliasActionEnum.js +1 -1
  74. package/cjs/api/models/AliasDTO.d.ts +3 -14
  75. package/cjs/api/models/AliasTypeEnum.js +1 -1
  76. package/cjs/api/models/AnnounceTransactionInfoDTO.d.ts +1 -3
  77. package/cjs/api/models/BalanceChangeReceiptDTO.d.ts +4 -23
  78. package/cjs/api/models/BalanceTransferReceiptDTO.d.ts +5 -28
  79. package/cjs/api/models/BlockDTO.d.ts +8 -45
  80. package/cjs/api/models/BlockInfoDTO.d.ts +1 -7
  81. package/cjs/api/models/BlockInfoDTOBlock.d.ts +12 -64
  82. package/cjs/api/models/BlockMetaDTO.d.ts +2 -20
  83. package/cjs/api/models/BlockOrderByEnum.js +1 -1
  84. package/cjs/api/models/BlockPage.d.ts +1 -5
  85. package/cjs/api/models/BmTreeSignature.d.ts +1 -5
  86. package/cjs/api/models/BsonLongDTO.d.ts +1 -7
  87. package/cjs/api/models/ChainInfoDTO.d.ts +5 -16
  88. package/cjs/api/models/ChainPropertiesDTO.d.ts +3 -71
  89. package/cjs/api/models/CommunicationTimestampsDTO.d.ts +4 -26
  90. package/cjs/api/models/CompositeHashes.d.ts +1 -3
  91. package/cjs/api/models/Cosignature.d.ts +3 -11
  92. package/cjs/api/models/CosignatureDTO.d.ts +1 -7
  93. package/cjs/api/models/DeploymentDTO.d.ts +1 -7
  94. package/cjs/api/models/EmbeddedAccountAddressRestrictionTransactionDTO.d.ts +2 -16
  95. package/cjs/api/models/EmbeddedAccountKeyLinkTransactionDTO.d.ts +2 -14
  96. package/cjs/api/models/EmbeddedAccountMetadataTransactionDTO.d.ts +2 -20
  97. package/cjs/api/models/EmbeddedAccountMosaicRestrictionTransactionDTO.d.ts +2 -16
  98. package/cjs/api/models/EmbeddedAccountOperationRestrictionTransactionDTO.d.ts +2 -16
  99. package/cjs/api/models/EmbeddedAddressAliasTransactionDTO.d.ts +2 -16
  100. package/cjs/api/models/EmbeddedHashLockTransactionDTO.d.ts +2 -18
  101. package/cjs/api/models/EmbeddedMosaicAddressRestrictionTransactionDTO.d.ts +2 -20
  102. package/cjs/api/models/EmbeddedMosaicAliasTransactionDTO.d.ts +2 -16
  103. package/cjs/api/models/EmbeddedMosaicDefinitionTransactionDTO.d.ts +3 -23
  104. package/cjs/api/models/EmbeddedMosaicGlobalRestrictionTransactionDTO.d.ts +2 -24
  105. package/cjs/api/models/EmbeddedMosaicMetadataTransactionDTO.d.ts +2 -22
  106. package/cjs/api/models/EmbeddedMosaicSupplyChangeTransactionDTO.d.ts +2 -16
  107. package/cjs/api/models/EmbeddedMosaicSupplyRevocationTransactionDTO.d.ts +2 -16
  108. package/cjs/api/models/EmbeddedMultisigAccountModificationTransactionDTO.d.ts +2 -18
  109. package/cjs/api/models/EmbeddedNamespaceMetadataTransactionDTO.d.ts +2 -22
  110. package/cjs/api/models/EmbeddedNamespaceRegistrationTransactionDTO.d.ts +2 -20
  111. package/cjs/api/models/EmbeddedNodeKeyLinkTransactionDTO.d.ts +2 -14
  112. package/cjs/api/models/EmbeddedSecretLockTransactionDTO.d.ts +2 -22
  113. package/cjs/api/models/EmbeddedSecretProofTransactionDTO.d.ts +2 -18
  114. package/cjs/api/models/EmbeddedTransactionBodyDTO.d.ts +1 -3
  115. package/cjs/api/models/EmbeddedTransactionDTO.d.ts +2 -10
  116. package/cjs/api/models/EmbeddedTransactionInfoDTO.d.ts +1 -7
  117. package/cjs/api/models/EmbeddedTransactionInfoDTOTransaction.d.ts +3 -107
  118. package/cjs/api/models/EmbeddedTransactionMetaDTO.d.ts +8 -43
  119. package/cjs/api/models/EmbeddedTransferTransactionDTO.d.ts +2 -16
  120. package/cjs/api/models/EmbeddedVotingKeyLinkTransactionDTO.d.ts +2 -18
  121. package/cjs/api/models/EmbeddedVrfKeyLinkTransactionDTO.d.ts +2 -14
  122. package/cjs/api/models/EntityDTO.d.ts +2 -10
  123. package/cjs/api/models/FinalizationProofDTO.d.ts +1 -13
  124. package/cjs/api/models/FinalizedBlockDTO.d.ts +1 -9
  125. package/cjs/api/models/ForkHeightsDTO.d.ts +1 -15
  126. package/cjs/api/models/HashLockEntryDTO.d.ts +6 -31
  127. package/cjs/api/models/HashLockInfoDTO.d.ts +1 -5
  128. package/cjs/api/models/HashLockNetworkPropertiesDTO.d.ts +1 -5
  129. package/cjs/api/models/HashLockPage.d.ts +1 -5
  130. package/cjs/api/models/HashLockTransactionBodyDTO.d.ts +1 -9
  131. package/cjs/api/models/HashLockTransactionDTO.d.ts +7 -43
  132. package/cjs/api/models/ImportanceBlockDTO.d.ts +12 -64
  133. package/cjs/api/models/InflationReceiptDTO.d.ts +3 -18
  134. package/cjs/api/models/LinkActionEnum.js +1 -1
  135. package/cjs/api/models/LockHashAlgorithmEnum.js +1 -1
  136. package/cjs/api/models/LockStatus.js +1 -1
  137. package/cjs/api/models/MerklePathItemDTO.d.ts +2 -6
  138. package/cjs/api/models/MerkleProofInfoDTO.d.ts +1 -3
  139. package/cjs/api/models/MerkleStateInfoDTO.d.ts +1 -5
  140. package/cjs/api/models/MerkleStateInfoDTOTreeInner.d.ts +3 -21
  141. package/cjs/api/models/MerkleTreeBranchDTO.d.ts +2 -16
  142. package/cjs/api/models/MerkleTreeBranchLinkDTO.d.ts +2 -6
  143. package/cjs/api/models/MerkleTreeLeafDTO.d.ts +2 -14
  144. package/cjs/api/models/MerkleTreeNodeTypeEnum.js +1 -1
  145. package/cjs/api/models/MessageGroup.d.ts +2 -12
  146. package/cjs/api/models/MetadataEntryDTO.d.ts +7 -25
  147. package/cjs/api/models/MetadataEntryDTOTargetId.d.ts +1 -1
  148. package/cjs/api/models/MetadataInfoDTO.d.ts +1 -5
  149. package/cjs/api/models/MetadataNetworkPropertiesDTO.d.ts +1 -3
  150. package/cjs/api/models/MetadataPage.d.ts +1 -5
  151. package/cjs/api/models/MetadataTypeEnum.js +1 -1
  152. package/cjs/api/models/ModelError.d.ts +1 -5
  153. package/cjs/api/models/Mosaic.d.ts +1 -5
  154. package/cjs/api/models/MosaicAddressRestrictionDTO.d.ts +1 -5
  155. package/cjs/api/models/MosaicAddressRestrictionEntryDTO.d.ts +1 -5
  156. package/cjs/api/models/MosaicAddressRestrictionEntryWrapperDTO.d.ts +4 -21
  157. package/cjs/api/models/MosaicAddressRestrictionTransactionBodyDTO.d.ts +1 -11
  158. package/cjs/api/models/MosaicAddressRestrictionTransactionDTO.d.ts +7 -45
  159. package/cjs/api/models/MosaicAliasTransactionBodyDTO.d.ts +1 -7
  160. package/cjs/api/models/MosaicAliasTransactionDTO.d.ts +7 -41
  161. package/cjs/api/models/MosaicDTO.d.ts +7 -33
  162. package/cjs/api/models/MosaicDefinitionTransactionBodyDTO.d.ts +2 -14
  163. package/cjs/api/models/MosaicDefinitionTransactionDTO.d.ts +8 -48
  164. package/cjs/api/models/MosaicExpiryReceiptDTO.d.ts +2 -11
  165. package/cjs/api/models/MosaicGlobalRestrictionDTO.d.ts +1 -5
  166. package/cjs/api/models/MosaicGlobalRestrictionEntryDTO.d.ts +1 -5
  167. package/cjs/api/models/MosaicGlobalRestrictionEntryRestrictionDTO.d.ts +4 -10
  168. package/cjs/api/models/MosaicGlobalRestrictionEntryWrapperDTO.d.ts +3 -16
  169. package/cjs/api/models/MosaicGlobalRestrictionTransactionBodyDTO.d.ts +1 -15
  170. package/cjs/api/models/MosaicGlobalRestrictionTransactionDTO.d.ts +7 -49
  171. package/cjs/api/models/MosaicIds.d.ts +1 -3
  172. package/cjs/api/models/MosaicInfoDTO.d.ts +1 -5
  173. package/cjs/api/models/MosaicMetadataTransactionBodyDTO.d.ts +1 -13
  174. package/cjs/api/models/MosaicMetadataTransactionDTO.d.ts +7 -47
  175. package/cjs/api/models/MosaicNamesDTO.d.ts +2 -9
  176. package/cjs/api/models/MosaicNetworkPropertiesDTO.d.ts +5 -27
  177. package/cjs/api/models/MosaicPage.d.ts +1 -5
  178. package/cjs/api/models/MosaicRestrictionDTO.d.ts +1 -5
  179. package/cjs/api/models/MosaicRestrictionEntryTypeEnum.js +1 -1
  180. package/cjs/api/models/MosaicRestrictionNetworkPropertiesDTO.d.ts +1 -3
  181. package/cjs/api/models/MosaicRestrictionTypeEnum.js +1 -1
  182. package/cjs/api/models/MosaicRestrictionsPage.d.ts +1 -5
  183. package/cjs/api/models/MosaicRestrictionsPageDataInner.d.ts +1 -5
  184. package/cjs/api/models/MosaicSupplyChangeActionEnum.js +1 -1
  185. package/cjs/api/models/MosaicSupplyChangeTransactionBodyDTO.d.ts +1 -7
  186. package/cjs/api/models/MosaicSupplyChangeTransactionDTO.d.ts +7 -41
  187. package/cjs/api/models/MosaicSupplyRevocationTransactionBodyDTO.d.ts +1 -7
  188. package/cjs/api/models/MosaicSupplyRevocationTransactionDTO.d.ts +7 -41
  189. package/cjs/api/models/MosaicsNamesDTO.d.ts +1 -3
  190. package/cjs/api/models/MultisigAccountGraphInfoDTO.d.ts +1 -5
  191. package/cjs/api/models/MultisigAccountInfoDTO.d.ts +1 -3
  192. package/cjs/api/models/MultisigAccountModificationTransactionBodyDTO.d.ts +1 -9
  193. package/cjs/api/models/MultisigAccountModificationTransactionDTO.d.ts +7 -43
  194. package/cjs/api/models/MultisigDTO.d.ts +3 -19
  195. package/cjs/api/models/MultisigNetworkPropertiesDTO.d.ts +1 -7
  196. package/cjs/api/models/NamespaceDTO.d.ts +8 -48
  197. package/cjs/api/models/NamespaceExpiryReceiptDTO.d.ts +2 -11
  198. package/cjs/api/models/NamespaceIds.d.ts +1 -3
  199. package/cjs/api/models/NamespaceInfoDTO.d.ts +1 -7
  200. package/cjs/api/models/NamespaceMetaDTO.d.ts +1 -5
  201. package/cjs/api/models/NamespaceMetadataTransactionBodyDTO.d.ts +1 -13
  202. package/cjs/api/models/NamespaceMetadataTransactionDTO.d.ts +7 -47
  203. package/cjs/api/models/NamespaceNameDTO.d.ts +3 -15
  204. package/cjs/api/models/NamespaceNetworkPropertiesDTO.d.ts +5 -43
  205. package/cjs/api/models/NamespacePage.d.ts +1 -5
  206. package/cjs/api/models/NamespaceRegistrationTransactionBodyDTO.d.ts +1 -11
  207. package/cjs/api/models/NamespaceRegistrationTransactionDTO.d.ts +7 -45
  208. package/cjs/api/models/NamespaceRegistrationTypeEnum.js +1 -1
  209. package/cjs/api/models/NetworkConfigurationDTO.d.ts +1 -13
  210. package/cjs/api/models/NetworkInflationDTO.d.ts +3 -13
  211. package/cjs/api/models/NetworkPropertiesDTO.d.ts +1 -11
  212. package/cjs/api/models/NetworkTypeDTO.d.ts +1 -5
  213. package/cjs/api/models/NetworkTypeDTO.js +1 -1
  214. package/cjs/api/models/NetworkTypeEnum.js +1 -1
  215. package/cjs/api/models/NodeHealthDTO.d.ts +1 -5
  216. package/cjs/api/models/NodeHealthInfoDTO.d.ts +1 -3
  217. package/cjs/api/models/NodeIdentityEqualityStrategy.js +1 -1
  218. package/cjs/api/models/NodeInfoDTO.d.ts +1 -19
  219. package/cjs/api/models/NodeKeyLinkTransactionBodyDTO.d.ts +1 -5
  220. package/cjs/api/models/NodeKeyLinkTransactionDTO.d.ts +7 -39
  221. package/cjs/api/models/NodeStatusEnum.js +1 -1
  222. package/cjs/api/models/NodeTimeDTO.d.ts +1 -3
  223. package/cjs/api/models/Order.js +1 -1
  224. package/cjs/api/models/Pagination.d.ts +1 -5
  225. package/cjs/api/models/ParentPublicKeySignaturePair.d.ts +1 -5
  226. package/cjs/api/models/PluginsPropertiesDTO.d.ts +1 -23
  227. package/cjs/api/models/PositionEnum.js +1 -1
  228. package/cjs/api/models/ReceiptDTO.d.ts +1 -5
  229. package/cjs/api/models/ReceiptTypeEnum.js +1 -1
  230. package/cjs/api/models/RentalFeesDTO.d.ts +4 -22
  231. package/cjs/api/models/ResolutionEntryDTO.d.ts +1 -5
  232. package/cjs/api/models/ResolutionEntryDTOResolved.d.ts +1 -1
  233. package/cjs/api/models/ResolutionStatementDTO.d.ts +2 -10
  234. package/cjs/api/models/ResolutionStatementDTOUnresolved.d.ts +1 -1
  235. package/cjs/api/models/ResolutionStatementInfoDTO.d.ts +1 -7
  236. package/cjs/api/models/ResolutionStatementPage.d.ts +1 -5
  237. package/cjs/api/models/SecretLockEntryDTO.d.ts +10 -40
  238. package/cjs/api/models/SecretLockInfoDTO.d.ts +1 -5
  239. package/cjs/api/models/SecretLockNetworkPropertiesDTO.d.ts +1 -7
  240. package/cjs/api/models/SecretLockPage.d.ts +1 -5
  241. package/cjs/api/models/SecretLockTransactionBodyDTO.d.ts +1 -13
  242. package/cjs/api/models/SecretLockTransactionDTO.d.ts +7 -47
  243. package/cjs/api/models/SecretProofTransactionBodyDTO.d.ts +1 -9
  244. package/cjs/api/models/SecretProofTransactionDTO.d.ts +7 -43
  245. package/cjs/api/models/ServerDTO.d.ts +1 -5
  246. package/cjs/api/models/ServerInfoDTO.d.ts +1 -3
  247. package/cjs/api/models/SizePrefixedEntityDTO.d.ts +3 -5
  248. package/cjs/api/models/SourceDTO.d.ts +11 -9
  249. package/cjs/api/models/StageEnum.js +1 -1
  250. package/cjs/api/models/StatementMetaDTO.d.ts +2 -14
  251. package/cjs/api/models/StorageInfoDTO.d.ts +1 -9
  252. package/cjs/api/models/StorageInfoDatabaseDTO.d.ts +1 -11
  253. package/cjs/api/models/SupplementalPublicKeysDTO.d.ts +1 -9
  254. package/cjs/api/models/TransactionBodyDTO.d.ts +4 -20
  255. package/cjs/api/models/TransactionDTO.d.ts +7 -35
  256. package/cjs/api/models/TransactionFeesDTO.d.ts +6 -76
  257. package/cjs/api/models/TransactionGroupEnum.js +1 -1
  258. package/cjs/api/models/TransactionHashes.d.ts +1 -3
  259. package/cjs/api/models/TransactionIds.d.ts +1 -3
  260. package/cjs/api/models/TransactionInfoDTO.d.ts +1 -7
  261. package/cjs/api/models/TransactionInfoDTOMeta.d.ts +12 -49
  262. package/cjs/api/models/TransactionInfoDTOTransaction.d.ts +8 -138
  263. package/cjs/api/models/TransactionMetaDTO.d.ts +10 -41
  264. package/cjs/api/models/TransactionPage.d.ts +1 -5
  265. package/cjs/api/models/TransactionPayload.d.ts +1 -3
  266. package/cjs/api/models/TransactionStatementDTO.d.ts +2 -10
  267. package/cjs/api/models/TransactionStatementDTOReceiptsInner.d.ts +7 -39
  268. package/cjs/api/models/TransactionStatementInfoDTO.d.ts +1 -7
  269. package/cjs/api/models/TransactionStatementPage.d.ts +1 -5
  270. package/cjs/api/models/TransactionStatusDTO.d.ts +4 -26
  271. package/cjs/api/models/TransactionStatusEnum.js +1 -1
  272. package/cjs/api/models/TransactionTypeEnum.js +1 -1
  273. package/cjs/api/models/TransferNetworkPropertiesDTO.d.ts +1 -3
  274. package/cjs/api/models/TransferTransactionBodyDTO.d.ts +1 -7
  275. package/cjs/api/models/TransferTransactionDTO.d.ts +7 -41
  276. package/cjs/api/models/UnlockedAccountDTO.d.ts +1 -3
  277. package/cjs/api/models/UnresolvedMosaic.d.ts +1 -5
  278. package/cjs/api/models/VerifiableEntityDTO.d.ts +1 -3
  279. package/cjs/api/models/VotingKeyLinkTransactionBodyDTO.d.ts +1 -9
  280. package/cjs/api/models/VotingKeyLinkTransactionDTO.d.ts +7 -43
  281. package/cjs/api/models/VrfKeyLinkTransactionBodyDTO.d.ts +1 -5
  282. package/cjs/api/models/VrfKeyLinkTransactionDTO.d.ts +7 -39
  283. package/cjs/api/runtime.d.ts +34 -1
  284. package/cjs/api/runtime.js +136 -4
  285. package/esm/api/apis/AccountRoutesApi.d.ts +94 -1
  286. package/esm/api/apis/AccountRoutesApi.js +54 -23
  287. package/esm/api/apis/BlockRoutesApi.d.ts +94 -1
  288. package/esm/api/apis/BlockRoutesApi.js +56 -26
  289. package/esm/api/apis/ChainRoutesApi.d.ts +5 -1
  290. package/esm/api/apis/ChainRoutesApi.js +13 -6
  291. package/esm/api/apis/FinalizationRoutesApi.d.ts +17 -1
  292. package/esm/api/apis/FinalizationRoutesApi.js +27 -13
  293. package/esm/api/apis/HashLockRoutesApi.d.ts +126 -1
  294. package/esm/api/apis/HashLockRoutesApi.js +67 -29
  295. package/esm/api/apis/MetadataRoutesApi.d.ts +107 -3
  296. package/esm/api/apis/MetadataRoutesApi.js +67 -29
  297. package/esm/api/apis/MosaicRoutesApi.d.ts +71 -1
  298. package/esm/api/apis/MosaicRoutesApi.js +54 -23
  299. package/esm/api/apis/MultisigRoutesApi.d.ts +24 -1
  300. package/esm/api/apis/MultisigRoutesApi.js +42 -19
  301. package/esm/api/apis/NamespaceRoutesApi.d.ts +108 -1
  302. package/esm/api/apis/NamespaceRoutesApi.js +83 -33
  303. package/esm/api/apis/NetworkRoutesApi.d.ts +44 -1
  304. package/esm/api/apis/NetworkRoutesApi.js +114 -47
  305. package/esm/api/apis/NodeRoutesApi.d.ts +38 -1
  306. package/esm/api/apis/NodeRoutesApi.js +102 -41
  307. package/esm/api/apis/ReceiptRoutesApi.d.ts +171 -1
  308. package/esm/api/apis/ReceiptRoutesApi.js +38 -16
  309. package/esm/api/apis/RestrictionAccountRoutesApi.d.ts +81 -1
  310. package/esm/api/apis/RestrictionAccountRoutesApi.js +54 -23
  311. package/esm/api/apis/RestrictionMosaicRoutesApi.d.ts +78 -1
  312. package/esm/api/apis/RestrictionMosaicRoutesApi.js +54 -23
  313. package/esm/api/apis/SecretLockRoutesApi.d.ts +132 -1
  314. package/esm/api/apis/SecretLockRoutesApi.js +67 -29
  315. package/esm/api/apis/TransactionRoutesApi.d.ts +416 -1
  316. package/esm/api/apis/TransactionRoutesApi.js +153 -64
  317. package/esm/api/apis/TransactionStatusRoutesApi.d.ts +16 -1
  318. package/esm/api/apis/TransactionStatusRoutesApi.js +27 -12
  319. package/esm/api/models/AccountAddressRestrictionTransactionBodyDTO.d.ts +1 -7
  320. package/esm/api/models/AccountAddressRestrictionTransactionDTO.d.ts +7 -41
  321. package/esm/api/models/AccountDTO.d.ts +4 -32
  322. package/esm/api/models/AccountIds.d.ts +1 -5
  323. package/esm/api/models/AccountInfoDTO.d.ts +1 -5
  324. package/esm/api/models/AccountKeyLinkNetworkPropertiesDTO.d.ts +1 -3
  325. package/esm/api/models/AccountKeyLinkTransactionBodyDTO.d.ts +1 -5
  326. package/esm/api/models/AccountKeyLinkTransactionDTO.d.ts +7 -39
  327. package/esm/api/models/AccountLinkPublicKeyDTO.d.ts +1 -3
  328. package/esm/api/models/AccountLinkVotingKeyDTO.d.ts +3 -15
  329. package/esm/api/models/AccountLinkVotingKeysDTO.d.ts +1 -3
  330. package/esm/api/models/AccountMetadataTransactionBodyDTO.d.ts +1 -11
  331. package/esm/api/models/AccountMetadataTransactionDTO.d.ts +7 -45
  332. package/esm/api/models/AccountMosaicRestrictionTransactionBodyDTO.d.ts +1 -7
  333. package/esm/api/models/AccountMosaicRestrictionTransactionDTO.d.ts +7 -41
  334. package/esm/api/models/AccountNamesDTO.d.ts +2 -8
  335. package/esm/api/models/AccountOperationRestrictionTransactionBodyDTO.d.ts +1 -7
  336. package/esm/api/models/AccountOperationRestrictionTransactionDTO.d.ts +7 -41
  337. package/esm/api/models/AccountOrderByEnum.js +1 -1
  338. package/esm/api/models/AccountPage.d.ts +1 -5
  339. package/esm/api/models/AccountRestrictionDTO.d.ts +1 -5
  340. package/esm/api/models/AccountRestrictionDTOValuesInner.d.ts +1 -1
  341. package/esm/api/models/AccountRestrictionFlagsEnum.js +1 -1
  342. package/esm/api/models/AccountRestrictionNetworkPropertiesDTO.d.ts +1 -3
  343. package/esm/api/models/AccountRestrictionsDTO.d.ts +1 -7
  344. package/esm/api/models/AccountRestrictionsInfoDTO.d.ts +1 -3
  345. package/esm/api/models/AccountRestrictionsPage.d.ts +1 -5
  346. package/esm/api/models/AccountTypeEnum.js +1 -1
  347. package/esm/api/models/AccountsNamesDTO.d.ts +1 -3
  348. package/esm/api/models/ActivityBucketDTO.d.ts +13 -25
  349. package/esm/api/models/AddressAliasTransactionBodyDTO.d.ts +1 -7
  350. package/esm/api/models/AddressAliasTransactionDTO.d.ts +7 -41
  351. package/esm/api/models/Addresses.d.ts +1 -3
  352. package/esm/api/models/AggregateNetworkPropertiesDTO.d.ts +1 -11
  353. package/esm/api/models/AggregateTransactionBodyDTO.d.ts +1 -5
  354. package/esm/api/models/AggregateTransactionBodyExtendedDTO.d.ts +1 -7
  355. package/esm/api/models/AggregateTransactionDTO.d.ts +7 -39
  356. package/esm/api/models/AggregateTransactionExtendedDTO.d.ts +7 -41
  357. package/esm/api/models/AliasActionEnum.js +1 -1
  358. package/esm/api/models/AliasDTO.d.ts +3 -14
  359. package/esm/api/models/AliasTypeEnum.js +1 -1
  360. package/esm/api/models/AnnounceTransactionInfoDTO.d.ts +1 -3
  361. package/esm/api/models/BalanceChangeReceiptDTO.d.ts +4 -23
  362. package/esm/api/models/BalanceTransferReceiptDTO.d.ts +5 -28
  363. package/esm/api/models/BlockDTO.d.ts +8 -45
  364. package/esm/api/models/BlockInfoDTO.d.ts +1 -7
  365. package/esm/api/models/BlockInfoDTOBlock.d.ts +12 -64
  366. package/esm/api/models/BlockMetaDTO.d.ts +2 -20
  367. package/esm/api/models/BlockOrderByEnum.js +1 -1
  368. package/esm/api/models/BlockPage.d.ts +1 -5
  369. package/esm/api/models/BmTreeSignature.d.ts +1 -5
  370. package/esm/api/models/BsonLongDTO.d.ts +1 -7
  371. package/esm/api/models/ChainInfoDTO.d.ts +5 -16
  372. package/esm/api/models/ChainPropertiesDTO.d.ts +3 -71
  373. package/esm/api/models/CommunicationTimestampsDTO.d.ts +4 -26
  374. package/esm/api/models/CompositeHashes.d.ts +1 -3
  375. package/esm/api/models/Cosignature.d.ts +3 -11
  376. package/esm/api/models/CosignatureDTO.d.ts +1 -7
  377. package/esm/api/models/DeploymentDTO.d.ts +1 -7
  378. package/esm/api/models/EmbeddedAccountAddressRestrictionTransactionDTO.d.ts +2 -16
  379. package/esm/api/models/EmbeddedAccountKeyLinkTransactionDTO.d.ts +2 -14
  380. package/esm/api/models/EmbeddedAccountMetadataTransactionDTO.d.ts +2 -20
  381. package/esm/api/models/EmbeddedAccountMosaicRestrictionTransactionDTO.d.ts +2 -16
  382. package/esm/api/models/EmbeddedAccountOperationRestrictionTransactionDTO.d.ts +2 -16
  383. package/esm/api/models/EmbeddedAddressAliasTransactionDTO.d.ts +2 -16
  384. package/esm/api/models/EmbeddedHashLockTransactionDTO.d.ts +2 -18
  385. package/esm/api/models/EmbeddedMosaicAddressRestrictionTransactionDTO.d.ts +2 -20
  386. package/esm/api/models/EmbeddedMosaicAliasTransactionDTO.d.ts +2 -16
  387. package/esm/api/models/EmbeddedMosaicDefinitionTransactionDTO.d.ts +3 -23
  388. package/esm/api/models/EmbeddedMosaicGlobalRestrictionTransactionDTO.d.ts +2 -24
  389. package/esm/api/models/EmbeddedMosaicMetadataTransactionDTO.d.ts +2 -22
  390. package/esm/api/models/EmbeddedMosaicSupplyChangeTransactionDTO.d.ts +2 -16
  391. package/esm/api/models/EmbeddedMosaicSupplyRevocationTransactionDTO.d.ts +2 -16
  392. package/esm/api/models/EmbeddedMultisigAccountModificationTransactionDTO.d.ts +2 -18
  393. package/esm/api/models/EmbeddedNamespaceMetadataTransactionDTO.d.ts +2 -22
  394. package/esm/api/models/EmbeddedNamespaceRegistrationTransactionDTO.d.ts +2 -20
  395. package/esm/api/models/EmbeddedNodeKeyLinkTransactionDTO.d.ts +2 -14
  396. package/esm/api/models/EmbeddedSecretLockTransactionDTO.d.ts +2 -22
  397. package/esm/api/models/EmbeddedSecretProofTransactionDTO.d.ts +2 -18
  398. package/esm/api/models/EmbeddedTransactionBodyDTO.d.ts +1 -3
  399. package/esm/api/models/EmbeddedTransactionDTO.d.ts +2 -10
  400. package/esm/api/models/EmbeddedTransactionInfoDTO.d.ts +1 -7
  401. package/esm/api/models/EmbeddedTransactionInfoDTOTransaction.d.ts +3 -107
  402. package/esm/api/models/EmbeddedTransactionMetaDTO.d.ts +8 -43
  403. package/esm/api/models/EmbeddedTransferTransactionDTO.d.ts +2 -16
  404. package/esm/api/models/EmbeddedVotingKeyLinkTransactionDTO.d.ts +2 -18
  405. package/esm/api/models/EmbeddedVrfKeyLinkTransactionDTO.d.ts +2 -14
  406. package/esm/api/models/EntityDTO.d.ts +2 -10
  407. package/esm/api/models/FinalizationProofDTO.d.ts +1 -13
  408. package/esm/api/models/FinalizedBlockDTO.d.ts +1 -9
  409. package/esm/api/models/ForkHeightsDTO.d.ts +1 -15
  410. package/esm/api/models/HashLockEntryDTO.d.ts +6 -31
  411. package/esm/api/models/HashLockInfoDTO.d.ts +1 -5
  412. package/esm/api/models/HashLockNetworkPropertiesDTO.d.ts +1 -5
  413. package/esm/api/models/HashLockPage.d.ts +1 -5
  414. package/esm/api/models/HashLockTransactionBodyDTO.d.ts +1 -9
  415. package/esm/api/models/HashLockTransactionDTO.d.ts +7 -43
  416. package/esm/api/models/ImportanceBlockDTO.d.ts +12 -64
  417. package/esm/api/models/InflationReceiptDTO.d.ts +3 -18
  418. package/esm/api/models/LinkActionEnum.js +1 -1
  419. package/esm/api/models/LockHashAlgorithmEnum.js +1 -1
  420. package/esm/api/models/LockStatus.js +1 -1
  421. package/esm/api/models/MerklePathItemDTO.d.ts +2 -6
  422. package/esm/api/models/MerkleProofInfoDTO.d.ts +1 -3
  423. package/esm/api/models/MerkleStateInfoDTO.d.ts +1 -5
  424. package/esm/api/models/MerkleStateInfoDTOTreeInner.d.ts +3 -21
  425. package/esm/api/models/MerkleTreeBranchDTO.d.ts +2 -16
  426. package/esm/api/models/MerkleTreeBranchLinkDTO.d.ts +2 -6
  427. package/esm/api/models/MerkleTreeLeafDTO.d.ts +2 -14
  428. package/esm/api/models/MerkleTreeNodeTypeEnum.js +1 -1
  429. package/esm/api/models/MessageGroup.d.ts +2 -12
  430. package/esm/api/models/MetadataEntryDTO.d.ts +7 -25
  431. package/esm/api/models/MetadataEntryDTOTargetId.d.ts +1 -1
  432. package/esm/api/models/MetadataInfoDTO.d.ts +1 -5
  433. package/esm/api/models/MetadataNetworkPropertiesDTO.d.ts +1 -3
  434. package/esm/api/models/MetadataPage.d.ts +1 -5
  435. package/esm/api/models/MetadataTypeEnum.js +1 -1
  436. package/esm/api/models/ModelError.d.ts +1 -5
  437. package/esm/api/models/Mosaic.d.ts +1 -5
  438. package/esm/api/models/MosaicAddressRestrictionDTO.d.ts +1 -5
  439. package/esm/api/models/MosaicAddressRestrictionEntryDTO.d.ts +1 -5
  440. package/esm/api/models/MosaicAddressRestrictionEntryWrapperDTO.d.ts +4 -21
  441. package/esm/api/models/MosaicAddressRestrictionTransactionBodyDTO.d.ts +1 -11
  442. package/esm/api/models/MosaicAddressRestrictionTransactionDTO.d.ts +7 -45
  443. package/esm/api/models/MosaicAliasTransactionBodyDTO.d.ts +1 -7
  444. package/esm/api/models/MosaicAliasTransactionDTO.d.ts +7 -41
  445. package/esm/api/models/MosaicDTO.d.ts +7 -33
  446. package/esm/api/models/MosaicDefinitionTransactionBodyDTO.d.ts +2 -14
  447. package/esm/api/models/MosaicDefinitionTransactionDTO.d.ts +8 -48
  448. package/esm/api/models/MosaicExpiryReceiptDTO.d.ts +2 -11
  449. package/esm/api/models/MosaicGlobalRestrictionDTO.d.ts +1 -5
  450. package/esm/api/models/MosaicGlobalRestrictionEntryDTO.d.ts +1 -5
  451. package/esm/api/models/MosaicGlobalRestrictionEntryRestrictionDTO.d.ts +4 -10
  452. package/esm/api/models/MosaicGlobalRestrictionEntryWrapperDTO.d.ts +3 -16
  453. package/esm/api/models/MosaicGlobalRestrictionTransactionBodyDTO.d.ts +1 -15
  454. package/esm/api/models/MosaicGlobalRestrictionTransactionDTO.d.ts +7 -49
  455. package/esm/api/models/MosaicIds.d.ts +1 -3
  456. package/esm/api/models/MosaicInfoDTO.d.ts +1 -5
  457. package/esm/api/models/MosaicMetadataTransactionBodyDTO.d.ts +1 -13
  458. package/esm/api/models/MosaicMetadataTransactionDTO.d.ts +7 -47
  459. package/esm/api/models/MosaicNamesDTO.d.ts +2 -9
  460. package/esm/api/models/MosaicNetworkPropertiesDTO.d.ts +5 -27
  461. package/esm/api/models/MosaicPage.d.ts +1 -5
  462. package/esm/api/models/MosaicRestrictionDTO.d.ts +1 -5
  463. package/esm/api/models/MosaicRestrictionEntryTypeEnum.js +1 -1
  464. package/esm/api/models/MosaicRestrictionNetworkPropertiesDTO.d.ts +1 -3
  465. package/esm/api/models/MosaicRestrictionTypeEnum.js +1 -1
  466. package/esm/api/models/MosaicRestrictionsPage.d.ts +1 -5
  467. package/esm/api/models/MosaicRestrictionsPageDataInner.d.ts +1 -5
  468. package/esm/api/models/MosaicSupplyChangeActionEnum.js +1 -1
  469. package/esm/api/models/MosaicSupplyChangeTransactionBodyDTO.d.ts +1 -7
  470. package/esm/api/models/MosaicSupplyChangeTransactionDTO.d.ts +7 -41
  471. package/esm/api/models/MosaicSupplyRevocationTransactionBodyDTO.d.ts +1 -7
  472. package/esm/api/models/MosaicSupplyRevocationTransactionDTO.d.ts +7 -41
  473. package/esm/api/models/MosaicsNamesDTO.d.ts +1 -3
  474. package/esm/api/models/MultisigAccountGraphInfoDTO.d.ts +1 -5
  475. package/esm/api/models/MultisigAccountInfoDTO.d.ts +1 -3
  476. package/esm/api/models/MultisigAccountModificationTransactionBodyDTO.d.ts +1 -9
  477. package/esm/api/models/MultisigAccountModificationTransactionDTO.d.ts +7 -43
  478. package/esm/api/models/MultisigDTO.d.ts +3 -19
  479. package/esm/api/models/MultisigNetworkPropertiesDTO.d.ts +1 -7
  480. package/esm/api/models/NamespaceDTO.d.ts +8 -48
  481. package/esm/api/models/NamespaceExpiryReceiptDTO.d.ts +2 -11
  482. package/esm/api/models/NamespaceIds.d.ts +1 -3
  483. package/esm/api/models/NamespaceInfoDTO.d.ts +1 -7
  484. package/esm/api/models/NamespaceMetaDTO.d.ts +1 -5
  485. package/esm/api/models/NamespaceMetadataTransactionBodyDTO.d.ts +1 -13
  486. package/esm/api/models/NamespaceMetadataTransactionDTO.d.ts +7 -47
  487. package/esm/api/models/NamespaceNameDTO.d.ts +3 -15
  488. package/esm/api/models/NamespaceNetworkPropertiesDTO.d.ts +5 -43
  489. package/esm/api/models/NamespacePage.d.ts +1 -5
  490. package/esm/api/models/NamespaceRegistrationTransactionBodyDTO.d.ts +1 -11
  491. package/esm/api/models/NamespaceRegistrationTransactionDTO.d.ts +7 -45
  492. package/esm/api/models/NamespaceRegistrationTypeEnum.js +1 -1
  493. package/esm/api/models/NetworkConfigurationDTO.d.ts +1 -13
  494. package/esm/api/models/NetworkInflationDTO.d.ts +3 -13
  495. package/esm/api/models/NetworkPropertiesDTO.d.ts +1 -11
  496. package/esm/api/models/NetworkTypeDTO.d.ts +1 -5
  497. package/esm/api/models/NetworkTypeDTO.js +1 -1
  498. package/esm/api/models/NetworkTypeEnum.js +1 -1
  499. package/esm/api/models/NodeHealthDTO.d.ts +1 -5
  500. package/esm/api/models/NodeHealthInfoDTO.d.ts +1 -3
  501. package/esm/api/models/NodeIdentityEqualityStrategy.js +1 -1
  502. package/esm/api/models/NodeInfoDTO.d.ts +1 -19
  503. package/esm/api/models/NodeKeyLinkTransactionBodyDTO.d.ts +1 -5
  504. package/esm/api/models/NodeKeyLinkTransactionDTO.d.ts +7 -39
  505. package/esm/api/models/NodeStatusEnum.js +1 -1
  506. package/esm/api/models/NodeTimeDTO.d.ts +1 -3
  507. package/esm/api/models/Order.js +1 -1
  508. package/esm/api/models/Pagination.d.ts +1 -5
  509. package/esm/api/models/ParentPublicKeySignaturePair.d.ts +1 -5
  510. package/esm/api/models/PluginsPropertiesDTO.d.ts +1 -23
  511. package/esm/api/models/PositionEnum.js +1 -1
  512. package/esm/api/models/ReceiptDTO.d.ts +1 -5
  513. package/esm/api/models/ReceiptTypeEnum.js +1 -1
  514. package/esm/api/models/RentalFeesDTO.d.ts +4 -22
  515. package/esm/api/models/ResolutionEntryDTO.d.ts +1 -5
  516. package/esm/api/models/ResolutionEntryDTOResolved.d.ts +1 -1
  517. package/esm/api/models/ResolutionStatementDTO.d.ts +2 -10
  518. package/esm/api/models/ResolutionStatementDTOUnresolved.d.ts +1 -1
  519. package/esm/api/models/ResolutionStatementInfoDTO.d.ts +1 -7
  520. package/esm/api/models/ResolutionStatementPage.d.ts +1 -5
  521. package/esm/api/models/SecretLockEntryDTO.d.ts +10 -40
  522. package/esm/api/models/SecretLockInfoDTO.d.ts +1 -5
  523. package/esm/api/models/SecretLockNetworkPropertiesDTO.d.ts +1 -7
  524. package/esm/api/models/SecretLockPage.d.ts +1 -5
  525. package/esm/api/models/SecretLockTransactionBodyDTO.d.ts +1 -13
  526. package/esm/api/models/SecretLockTransactionDTO.d.ts +7 -47
  527. package/esm/api/models/SecretProofTransactionBodyDTO.d.ts +1 -9
  528. package/esm/api/models/SecretProofTransactionDTO.d.ts +7 -43
  529. package/esm/api/models/ServerDTO.d.ts +1 -5
  530. package/esm/api/models/ServerInfoDTO.d.ts +1 -3
  531. package/esm/api/models/SizePrefixedEntityDTO.d.ts +3 -5
  532. package/esm/api/models/SourceDTO.d.ts +11 -9
  533. package/esm/api/models/StageEnum.js +1 -1
  534. package/esm/api/models/StatementMetaDTO.d.ts +2 -14
  535. package/esm/api/models/StorageInfoDTO.d.ts +1 -9
  536. package/esm/api/models/StorageInfoDatabaseDTO.d.ts +1 -11
  537. package/esm/api/models/SupplementalPublicKeysDTO.d.ts +1 -9
  538. package/esm/api/models/TransactionBodyDTO.d.ts +4 -20
  539. package/esm/api/models/TransactionDTO.d.ts +7 -35
  540. package/esm/api/models/TransactionFeesDTO.d.ts +6 -76
  541. package/esm/api/models/TransactionGroupEnum.js +1 -1
  542. package/esm/api/models/TransactionHashes.d.ts +1 -3
  543. package/esm/api/models/TransactionIds.d.ts +1 -3
  544. package/esm/api/models/TransactionInfoDTO.d.ts +1 -7
  545. package/esm/api/models/TransactionInfoDTOMeta.d.ts +12 -49
  546. package/esm/api/models/TransactionInfoDTOTransaction.d.ts +8 -138
  547. package/esm/api/models/TransactionMetaDTO.d.ts +10 -41
  548. package/esm/api/models/TransactionPage.d.ts +1 -5
  549. package/esm/api/models/TransactionPayload.d.ts +1 -3
  550. package/esm/api/models/TransactionStatementDTO.d.ts +2 -10
  551. package/esm/api/models/TransactionStatementDTOReceiptsInner.d.ts +7 -39
  552. package/esm/api/models/TransactionStatementInfoDTO.d.ts +1 -7
  553. package/esm/api/models/TransactionStatementPage.d.ts +1 -5
  554. package/esm/api/models/TransactionStatusDTO.d.ts +4 -26
  555. package/esm/api/models/TransactionStatusEnum.js +1 -1
  556. package/esm/api/models/TransactionTypeEnum.js +1 -1
  557. package/esm/api/models/TransferNetworkPropertiesDTO.d.ts +1 -3
  558. package/esm/api/models/TransferTransactionBodyDTO.d.ts +1 -7
  559. package/esm/api/models/TransferTransactionDTO.d.ts +7 -41
  560. package/esm/api/models/UnlockedAccountDTO.d.ts +1 -3
  561. package/esm/api/models/UnresolvedMosaic.d.ts +1 -5
  562. package/esm/api/models/VerifiableEntityDTO.d.ts +1 -3
  563. package/esm/api/models/VotingKeyLinkTransactionBodyDTO.d.ts +1 -9
  564. package/esm/api/models/VotingKeyLinkTransactionDTO.d.ts +7 -43
  565. package/esm/api/models/VrfKeyLinkTransactionBodyDTO.d.ts +1 -5
  566. package/esm/api/models/VrfKeyLinkTransactionDTO.d.ts +7 -39
  567. package/esm/api/runtime.d.ts +34 -1
  568. package/esm/api/runtime.js +127 -4
  569. package/index.min.js +1 -1
  570. package/package.json +23 -7
@@ -10,29 +10,110 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { AccountIds, AccountInfoDTO, AccountOrderByEnum, AccountPage, MerkleStateInfoDTO, Order } from '../models/index';
13
+ import { type AccountIds } from '../models/AccountIds';
14
+ import { type AccountInfoDTO } from '../models/AccountInfoDTO';
15
+ import { type AccountOrderByEnum } from '../models/AccountOrderByEnum';
16
+ import { type AccountPage } from '../models/AccountPage';
17
+ import { type MerkleStateInfoDTO } from '../models/MerkleStateInfoDTO';
18
+ import { type Order } from '../models/Order';
14
19
  export interface GetAccountInfoRequest {
20
+ /**
21
+ * Account public key as 64 hexadecimal characters, or account address as 39 Base32
22
+ * (network prefix `T` for testnet, `N` for mainnet).
23
+ *
24
+ */
15
25
  accountId: string;
16
26
  }
17
27
  export interface GetAccountInfoMerkleRequest {
28
+ /**
29
+ * Account public key as 64 hexadecimal characters, or account address as 39 Base32
30
+ * (network prefix `T` for testnet, `N` for mainnet).
31
+ *
32
+ */
18
33
  accountId: string;
19
34
  }
20
35
  export interface GetAccountsInfoRequest {
36
+ /**
37
+ *
38
+ */
21
39
  accountIds?: AccountIds;
22
40
  }
23
41
  export interface SearchAccountsRequest {
42
+ /**
43
+ * Filter by address (include), in Base32 format.
44
+ *
45
+ * The exact meaning depends on the endpoint:
46
+ * - transaction search: returns transactions where the address appears as the sender, recipient, or cosigner
47
+ * - account search: matches the account address
48
+ * - account restriction search: matches the restricted account address
49
+ * - hash lock and secret lock search: matches the lock owner address
50
+ *
51
+ * On transaction search endpoints, this filter cannot be combined with `recipientAddress` and
52
+ * `signerPublicKey`.
53
+ *
54
+ */
24
55
  address?: string;
56
+ /**
57
+ * Select the number of entries to return per page.
58
+ * Values outside the allowed range are clamped to the schema minimum or maximum.
59
+ *
60
+ */
25
61
  pageSize?: number;
62
+ /**
63
+ * Page number for numbered pagination (1-based).
64
+ *
65
+ * Numbered and cursor pagination can be combined, but this is not recommended because the semantics
66
+ * are harder to reason about. For cursor-style flows, keep `pageNumber=1` and advance pages by
67
+ * updating only `offset`. For numbered pagination flows, omit `offset` and advance pages by
68
+ * incrementing `pageNumber`.
69
+ *
70
+ */
26
71
  pageNumber?: number;
72
+ /**
73
+ * Cursor for pagination. Provide the value of the sort field (`orderBy`) from the
74
+ * last entry of the previous page. **The offset type must match `orderBy`:**
75
+ * - `orderBy=id`: use the entry's `id` (ObjectId, 24-char hex).
76
+ * - `orderBy=height`: use the block height (string, e.g. `"17592"`).
77
+ * - `orderBy=balance`: use the mosaic balance amount (string, e.g. `"1000000"`).
78
+ *
79
+ * Allowed `orderBy` values depend on the endpoint. If `orderBy` is omitted, `id` is used by default.
80
+ *
81
+ * Set `offset` to the sort-field value of the last entry from the previous page. Across pages,
82
+ * this value decreases with `order=desc` and increases with `order=asc`.
83
+ *
84
+ * Numbered and cursor pagination can be combined, but this is not recommended because the semantics
85
+ * are harder to reason about. For cursor-style flows, keep `pageNumber=1` and advance pages by
86
+ * updating only `offset`. For numbered pagination flows, omit `offset` and advance pages by
87
+ * incrementing `pageNumber`.
88
+ *
89
+ */
27
90
  offset?: string;
91
+ /**
92
+ * Sort responses in ascending or descending order based on the collection property set on the param `orderBy`.
93
+ * If the request does not specify `orderBy`, REST returns the collection ordered by id.
94
+ * The default sort direction depends on the endpoint implementation.
95
+ *
96
+ */
28
97
  order?: Order;
98
+ /**
99
+ * Sort responses by the property set.
100
+ * If `balance` option is selected, the request must define the `mosaicId` filter.
101
+ *
102
+ */
29
103
  orderBy?: AccountOrderByEnum;
104
+ /**
105
+ * Filter by mosaic identifier (include).
106
+ */
30
107
  mosaicId?: string;
31
108
  }
32
109
  /**
33
110
  *
34
111
  */
35
112
  export declare class AccountRoutesApi extends runtime.BaseAPI {
113
+ /**
114
+ * Creates request options for getAccountInfo without sending the request
115
+ */
116
+ getAccountInfoRequestOpts(requestParameters: GetAccountInfoRequest): Promise<runtime.RequestOpts>;
36
117
  /**
37
118
  * 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.
38
119
  * Get account information
@@ -43,6 +124,10 @@ export declare class AccountRoutesApi extends runtime.BaseAPI {
43
124
  * Get account information
44
125
  */
45
126
  getAccountInfo(requestParameters: GetAccountInfoRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AccountInfoDTO>;
127
+ /**
128
+ * Creates request options for getAccountInfoMerkle without sending the request
129
+ */
130
+ getAccountInfoMerkleRequestOpts(requestParameters: GetAccountInfoMerkleRequest): Promise<runtime.RequestOpts>;
46
131
  /**
47
132
  * 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.
48
133
  * Get account Merkle information
@@ -53,6 +138,10 @@ export declare class AccountRoutesApi extends runtime.BaseAPI {
53
138
  * Get account Merkle information
54
139
  */
55
140
  getAccountInfoMerkle(requestParameters: GetAccountInfoMerkleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MerkleStateInfoDTO>;
141
+ /**
142
+ * Creates request options for getAccountsInfo without sending the request
143
+ */
144
+ getAccountsInfoRequestOpts(requestParameters: GetAccountsInfoRequest): Promise<runtime.RequestOpts>;
56
145
  /**
57
146
  * 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.
58
147
  * Get accounts information
@@ -63,6 +152,10 @@ export declare class AccountRoutesApi extends runtime.BaseAPI {
63
152
  * Get accounts information
64
153
  */
65
154
  getAccountsInfo(requestParameters?: GetAccountsInfoRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<AccountInfoDTO>>;
155
+ /**
156
+ * Creates request options for searchAccounts without sending the request
157
+ */
158
+ searchAccountsRequestOpts(requestParameters: SearchAccountsRequest): Promise<runtime.RequestOpts>;
66
159
  /**
67
160
  * 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.
68
161
  * Search accounts
@@ -57,16 +57,18 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
57
57
  Object.defineProperty(exports, "__esModule", { value: true });
58
58
  exports.AccountRoutesApi = void 0;
59
59
  const runtime = __importStar(require("../runtime"));
60
- const index_1 = require("../models/index");
60
+ const AccountIds_1 = require("../models/AccountIds");
61
+ const AccountInfoDTO_1 = require("../models/AccountInfoDTO");
62
+ const AccountPage_1 = require("../models/AccountPage");
63
+ const MerkleStateInfoDTO_1 = require("../models/MerkleStateInfoDTO");
61
64
  /**
62
65
  *
63
66
  */
64
67
  class AccountRoutesApi extends runtime.BaseAPI {
65
68
  /**
66
- * 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.
67
- * Get account information
69
+ * Creates request options for getAccountInfo without sending the request
68
70
  */
69
- getAccountInfoRaw(requestParameters, initOverrides) {
71
+ getAccountInfoRequestOpts(requestParameters) {
70
72
  return __awaiter(this, void 0, void 0, function* () {
71
73
  if (requestParameters['accountId'] == null) {
72
74
  throw new runtime.RequiredError('accountId', 'Required parameter "accountId" was null or undefined when calling getAccountInfo().');
@@ -74,14 +76,24 @@ class AccountRoutesApi extends runtime.BaseAPI {
74
76
  const queryParameters = {};
75
77
  const headerParameters = {};
76
78
  let urlPath = `/accounts/{accountId}`;
77
- urlPath = urlPath.replace(`{${"accountId"}}`, encodeURIComponent(String(requestParameters['accountId'])));
78
- const response = yield this.request({
79
+ urlPath = urlPath.replace('{accountId}', encodeURIComponent(String(requestParameters['accountId'])));
80
+ return {
79
81
  path: urlPath,
80
82
  method: 'GET',
81
83
  headers: headerParameters,
82
84
  query: queryParameters,
83
- }, initOverrides);
84
- return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.AccountInfoDTOFromJSON)(jsonValue));
85
+ };
86
+ });
87
+ }
88
+ /**
89
+ * 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.
90
+ * Get account information
91
+ */
92
+ getAccountInfoRaw(requestParameters, initOverrides) {
93
+ return __awaiter(this, void 0, void 0, function* () {
94
+ const requestOptions = yield this.getAccountInfoRequestOpts(requestParameters);
95
+ const response = yield this.request(requestOptions, initOverrides);
96
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, AccountInfoDTO_1.AccountInfoDTOFromJSON)(jsonValue));
85
97
  });
86
98
  }
87
99
  /**
@@ -95,10 +107,9 @@ class AccountRoutesApi extends runtime.BaseAPI {
95
107
  });
96
108
  }
97
109
  /**
98
- * 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.
99
- * Get account Merkle information
110
+ * Creates request options for getAccountInfoMerkle without sending the request
100
111
  */
101
- getAccountInfoMerkleRaw(requestParameters, initOverrides) {
112
+ getAccountInfoMerkleRequestOpts(requestParameters) {
102
113
  return __awaiter(this, void 0, void 0, function* () {
103
114
  if (requestParameters['accountId'] == null) {
104
115
  throw new runtime.RequiredError('accountId', 'Required parameter "accountId" was null or undefined when calling getAccountInfoMerkle().');
@@ -106,14 +117,24 @@ class AccountRoutesApi extends runtime.BaseAPI {
106
117
  const queryParameters = {};
107
118
  const headerParameters = {};
108
119
  let urlPath = `/accounts/{accountId}/merkle`;
109
- urlPath = urlPath.replace(`{${"accountId"}}`, encodeURIComponent(String(requestParameters['accountId'])));
110
- const response = yield this.request({
120
+ urlPath = urlPath.replace('{accountId}', encodeURIComponent(String(requestParameters['accountId'])));
121
+ return {
111
122
  path: urlPath,
112
123
  method: 'GET',
113
124
  headers: headerParameters,
114
125
  query: queryParameters,
115
- }, initOverrides);
116
- return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.MerkleStateInfoDTOFromJSON)(jsonValue));
126
+ };
127
+ });
128
+ }
129
+ /**
130
+ * 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.
131
+ * Get account Merkle information
132
+ */
133
+ getAccountInfoMerkleRaw(requestParameters, initOverrides) {
134
+ return __awaiter(this, void 0, void 0, function* () {
135
+ const requestOptions = yield this.getAccountInfoMerkleRequestOpts(requestParameters);
136
+ const response = yield this.request(requestOptions, initOverrides);
137
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, MerkleStateInfoDTO_1.MerkleStateInfoDTOFromJSON)(jsonValue));
117
138
  });
118
139
  }
119
140
  /**
@@ -127,23 +148,32 @@ class AccountRoutesApi extends runtime.BaseAPI {
127
148
  });
128
149
  }
129
150
  /**
130
- * 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.
131
- * Get accounts information
151
+ * Creates request options for getAccountsInfo without sending the request
132
152
  */
133
- getAccountsInfoRaw(requestParameters, initOverrides) {
153
+ getAccountsInfoRequestOpts(requestParameters) {
134
154
  return __awaiter(this, void 0, void 0, function* () {
135
155
  const queryParameters = {};
136
156
  const headerParameters = {};
137
157
  headerParameters['Content-Type'] = 'application/json';
138
158
  let urlPath = `/accounts`;
139
- const response = yield this.request({
159
+ return {
140
160
  path: urlPath,
141
161
  method: 'POST',
142
162
  headers: headerParameters,
143
163
  query: queryParameters,
144
- body: (0, index_1.AccountIdsToJSON)(requestParameters['accountIds']),
145
- }, initOverrides);
146
- return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.AccountInfoDTOFromJSON));
164
+ body: (0, AccountIds_1.AccountIdsToJSON)(requestParameters['accountIds']),
165
+ };
166
+ });
167
+ }
168
+ /**
169
+ * 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.
170
+ * Get accounts information
171
+ */
172
+ getAccountsInfoRaw(requestParameters, initOverrides) {
173
+ return __awaiter(this, void 0, void 0, function* () {
174
+ const requestOptions = yield this.getAccountsInfoRequestOpts(requestParameters);
175
+ const response = yield this.request(requestOptions, initOverrides);
176
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(AccountInfoDTO_1.AccountInfoDTOFromJSON));
147
177
  });
148
178
  }
149
179
  /**
@@ -157,10 +187,9 @@ class AccountRoutesApi extends runtime.BaseAPI {
157
187
  });
158
188
  }
159
189
  /**
160
- * 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.
161
- * Search accounts
190
+ * Creates request options for searchAccounts without sending the request
162
191
  */
163
- searchAccountsRaw(requestParameters, initOverrides) {
192
+ searchAccountsRequestOpts(requestParameters) {
164
193
  return __awaiter(this, void 0, void 0, function* () {
165
194
  const queryParameters = {};
166
195
  if (requestParameters['address'] != null) {
@@ -186,13 +215,23 @@ class AccountRoutesApi extends runtime.BaseAPI {
186
215
  }
187
216
  const headerParameters = {};
188
217
  let urlPath = `/accounts`;
189
- const response = yield this.request({
218
+ return {
190
219
  path: urlPath,
191
220
  method: 'GET',
192
221
  headers: headerParameters,
193
222
  query: queryParameters,
194
- }, initOverrides);
195
- return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.AccountPageFromJSON)(jsonValue));
223
+ };
224
+ });
225
+ }
226
+ /**
227
+ * 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.
228
+ * Search accounts
229
+ */
230
+ searchAccountsRaw(requestParameters, initOverrides) {
231
+ return __awaiter(this, void 0, void 0, function* () {
232
+ const requestOptions = yield this.searchAccountsRequestOpts(requestParameters);
233
+ const response = yield this.request(requestOptions, initOverrides);
234
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, AccountPage_1.AccountPageFromJSON)(jsonValue));
196
235
  });
197
236
  }
198
237
  /**
@@ -10,33 +10,114 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { BlockInfoDTO, BlockOrderByEnum, BlockPage, MerkleProofInfoDTO, Order } from '../models/index';
13
+ import { type BlockInfoDTO } from '../models/BlockInfoDTO';
14
+ import { type BlockOrderByEnum } from '../models/BlockOrderByEnum';
15
+ import { type BlockPage } from '../models/BlockPage';
16
+ import { type MerkleProofInfoDTO } from '../models/MerkleProofInfoDTO';
17
+ import { type Order } from '../models/Order';
14
18
  export interface GetBlockByHeightRequest {
19
+ /**
20
+ * Filter by block height (include). Sequential block position in the chain; starts at 1 and increments by one.
21
+ */
15
22
  height: string;
16
23
  }
17
24
  export interface GetMerkleReceiptsRequest {
25
+ /**
26
+ * Filter by block height (include). Sequential block position in the chain; starts at 1 and increments by one.
27
+ */
18
28
  height: string;
29
+ /**
30
+ * Receipt statement hash.
31
+ */
19
32
  hash: string;
20
33
  }
21
34
  export interface GetMerkleTransactionRequest {
35
+ /**
36
+ * Filter by block height (include). Sequential block position in the chain; starts at 1 and increments by one.
37
+ */
22
38
  height: string;
39
+ /**
40
+ * Transaction hash encoded as a 64-character hexadecimal string.
41
+ */
23
42
  hash: string;
24
43
  }
25
44
  export interface SearchBlocksRequest {
45
+ /**
46
+ * Filter transactions by the public key of the signing account (include).
47
+ */
26
48
  signerPublicKey?: string;
49
+ /**
50
+ * Filter by beneficiary address (include).
51
+ */
27
52
  beneficiaryAddress?: string;
53
+ /**
54
+ * Select the number of entries to return per page.
55
+ * Values outside the allowed range are clamped to the schema minimum or maximum.
56
+ *
57
+ */
28
58
  pageSize?: number;
59
+ /**
60
+ * Page number for numbered pagination (1-based).
61
+ *
62
+ * Numbered and cursor pagination can be combined, but this is not recommended because the semantics
63
+ * are harder to reason about. For cursor-style flows, keep `pageNumber=1` and advance pages by
64
+ * updating only `offset`. For numbered pagination flows, omit `offset` and advance pages by
65
+ * incrementing `pageNumber`.
66
+ *
67
+ */
29
68
  pageNumber?: number;
69
+ /**
70
+ * Cursor for pagination. Provide the value of the sort field (`orderBy`) from the
71
+ * last entry of the previous page. **The offset type must match `orderBy`:**
72
+ * - `orderBy=id`: use the entry's `id` (ObjectId, 24-char hex).
73
+ * - `orderBy=height`: use the block height (string, e.g. `"17592"`).
74
+ * - `orderBy=balance`: use the mosaic balance amount (string, e.g. `"1000000"`).
75
+ *
76
+ * Allowed `orderBy` values depend on the endpoint. If `orderBy` is omitted, `id` is used by default.
77
+ *
78
+ * Set `offset` to the sort-field value of the last entry from the previous page. Across pages,
79
+ * this value decreases with `order=desc` and increases with `order=asc`.
80
+ *
81
+ * Numbered and cursor pagination can be combined, but this is not recommended because the semantics
82
+ * are harder to reason about. For cursor-style flows, keep `pageNumber=1` and advance pages by
83
+ * updating only `offset`. For numbered pagination flows, omit `offset` and advance pages by
84
+ * incrementing `pageNumber`.
85
+ *
86
+ */
30
87
  offset?: string;
88
+ /**
89
+ * Sort responses in ascending or descending order based on the collection property set on the param `orderBy`.
90
+ * If the request does not specify `orderBy`, REST returns the collection ordered by id.
91
+ * The default sort direction depends on the endpoint implementation.
92
+ *
93
+ */
31
94
  order?: Order;
95
+ /**
96
+ * Sort responses by the property set. Defaults to `id` when not specified.
97
+ *
98
+ */
32
99
  orderBy?: BlockOrderByEnum;
100
+ /**
101
+ * Only blocks with timestamp greater or equal than this one are returned. The timestamp is
102
+ * expressed in milliseconds since the nemesis block.
103
+ *
104
+ */
33
105
  fromTimestamp?: string;
106
+ /**
107
+ * Only blocks with timestamp smaller or equal than this one are returned. The timestamp is
108
+ * expressed in milliseconds since the nemesis block.
109
+ *
110
+ */
34
111
  toTimestamp?: string;
35
112
  }
36
113
  /**
37
114
  *
38
115
  */
39
116
  export declare class BlockRoutesApi extends runtime.BaseAPI {
117
+ /**
118
+ * Creates request options for getBlockByHeight without sending the request
119
+ */
120
+ getBlockByHeightRequestOpts(requestParameters: GetBlockByHeightRequest): Promise<runtime.RequestOpts>;
40
121
  /**
41
122
  * 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
123
  * Get block information
@@ -47,6 +128,10 @@ export declare class BlockRoutesApi extends runtime.BaseAPI {
47
128
  * Get block information
48
129
  */
49
130
  getBlockByHeight(requestParameters: GetBlockByHeightRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BlockInfoDTO>;
131
+ /**
132
+ * Creates request options for getMerkleReceipts without sending the request
133
+ */
134
+ getMerkleReceiptsRequestOpts(requestParameters: GetMerkleReceiptsRequest): Promise<runtime.RequestOpts>;
50
135
  /**
51
136
  * 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
137
  * Get the Merkle path for a given receipt statement hash and block
@@ -57,6 +142,10 @@ export declare class BlockRoutesApi extends runtime.BaseAPI {
57
142
  * Get the Merkle path for a given receipt statement hash and block
58
143
  */
59
144
  getMerkleReceipts(requestParameters: GetMerkleReceiptsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MerkleProofInfoDTO>;
145
+ /**
146
+ * Creates request options for getMerkleTransaction without sending the request
147
+ */
148
+ getMerkleTransactionRequestOpts(requestParameters: GetMerkleTransactionRequest): Promise<runtime.RequestOpts>;
60
149
  /**
61
150
  * 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
151
  * Get the Merkle path for a given transaction and block
@@ -67,6 +156,10 @@ export declare class BlockRoutesApi extends runtime.BaseAPI {
67
156
  * Get the Merkle path for a given transaction and block
68
157
  */
69
158
  getMerkleTransaction(requestParameters: GetMerkleTransactionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MerkleProofInfoDTO>;
159
+ /**
160
+ * Creates request options for searchBlocks without sending the request
161
+ */
162
+ searchBlocksRequestOpts(requestParameters: SearchBlocksRequest): Promise<runtime.RequestOpts>;
70
163
  /**
71
164
  * 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
165
  * Search blocks
@@ -57,16 +57,17 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
57
57
  Object.defineProperty(exports, "__esModule", { value: true });
58
58
  exports.BlockRoutesApi = void 0;
59
59
  const runtime = __importStar(require("../runtime"));
60
- const index_1 = require("../models/index");
60
+ const BlockInfoDTO_1 = require("../models/BlockInfoDTO");
61
+ const BlockPage_1 = require("../models/BlockPage");
62
+ const MerkleProofInfoDTO_1 = require("../models/MerkleProofInfoDTO");
61
63
  /**
62
64
  *
63
65
  */
64
66
  class BlockRoutesApi extends runtime.BaseAPI {
65
67
  /**
66
- * 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.
67
- * Get block information
68
+ * Creates request options for getBlockByHeight without sending the request
68
69
  */
69
- getBlockByHeightRaw(requestParameters, initOverrides) {
70
+ getBlockByHeightRequestOpts(requestParameters) {
70
71
  return __awaiter(this, void 0, void 0, function* () {
71
72
  if (requestParameters['height'] == null) {
72
73
  throw new runtime.RequiredError('height', 'Required parameter "height" was null or undefined when calling getBlockByHeight().');
@@ -74,14 +75,24 @@ class BlockRoutesApi extends runtime.BaseAPI {
74
75
  const queryParameters = {};
75
76
  const headerParameters = {};
76
77
  let urlPath = `/blocks/{height}`;
77
- urlPath = urlPath.replace(`{${"height"}}`, encodeURIComponent(String(requestParameters['height'])));
78
- const response = yield this.request({
78
+ urlPath = urlPath.replace('{height}', encodeURIComponent(String(requestParameters['height'])));
79
+ return {
79
80
  path: urlPath,
80
81
  method: 'GET',
81
82
  headers: headerParameters,
82
83
  query: queryParameters,
83
- }, initOverrides);
84
- return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.BlockInfoDTOFromJSON)(jsonValue));
84
+ };
85
+ });
86
+ }
87
+ /**
88
+ * 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.
89
+ * Get block information
90
+ */
91
+ getBlockByHeightRaw(requestParameters, initOverrides) {
92
+ return __awaiter(this, void 0, void 0, function* () {
93
+ const requestOptions = yield this.getBlockByHeightRequestOpts(requestParameters);
94
+ const response = yield this.request(requestOptions, initOverrides);
95
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, BlockInfoDTO_1.BlockInfoDTOFromJSON)(jsonValue));
85
96
  });
86
97
  }
87
98
  /**
@@ -95,10 +106,9 @@ class BlockRoutesApi extends runtime.BaseAPI {
95
106
  });
96
107
  }
97
108
  /**
98
- * 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.
99
- * Get the Merkle path for a given receipt statement hash and block
109
+ * Creates request options for getMerkleReceipts without sending the request
100
110
  */
101
- getMerkleReceiptsRaw(requestParameters, initOverrides) {
111
+ getMerkleReceiptsRequestOpts(requestParameters) {
102
112
  return __awaiter(this, void 0, void 0, function* () {
103
113
  if (requestParameters['height'] == null) {
104
114
  throw new runtime.RequiredError('height', 'Required parameter "height" was null or undefined when calling getMerkleReceipts().');
@@ -109,15 +119,25 @@ class BlockRoutesApi extends runtime.BaseAPI {
109
119
  const queryParameters = {};
110
120
  const headerParameters = {};
111
121
  let urlPath = `/blocks/{height}/statements/{hash}/merkle`;
112
- urlPath = urlPath.replace(`{${"height"}}`, encodeURIComponent(String(requestParameters['height'])));
113
- urlPath = urlPath.replace(`{${"hash"}}`, encodeURIComponent(String(requestParameters['hash'])));
114
- const response = yield this.request({
122
+ urlPath = urlPath.replace('{height}', encodeURIComponent(String(requestParameters['height'])));
123
+ urlPath = urlPath.replace('{hash}', encodeURIComponent(String(requestParameters['hash'])));
124
+ return {
115
125
  path: urlPath,
116
126
  method: 'GET',
117
127
  headers: headerParameters,
118
128
  query: queryParameters,
119
- }, initOverrides);
120
- return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.MerkleProofInfoDTOFromJSON)(jsonValue));
129
+ };
130
+ });
131
+ }
132
+ /**
133
+ * 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.
134
+ * Get the Merkle path for a given receipt statement hash and block
135
+ */
136
+ getMerkleReceiptsRaw(requestParameters, initOverrides) {
137
+ return __awaiter(this, void 0, void 0, function* () {
138
+ const requestOptions = yield this.getMerkleReceiptsRequestOpts(requestParameters);
139
+ const response = yield this.request(requestOptions, initOverrides);
140
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, MerkleProofInfoDTO_1.MerkleProofInfoDTOFromJSON)(jsonValue));
121
141
  });
122
142
  }
123
143
  /**
@@ -131,10 +151,9 @@ class BlockRoutesApi extends runtime.BaseAPI {
131
151
  });
132
152
  }
133
153
  /**
134
- * 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.
135
- * Get the Merkle path for a given transaction and block
154
+ * Creates request options for getMerkleTransaction without sending the request
136
155
  */
137
- getMerkleTransactionRaw(requestParameters, initOverrides) {
156
+ getMerkleTransactionRequestOpts(requestParameters) {
138
157
  return __awaiter(this, void 0, void 0, function* () {
139
158
  if (requestParameters['height'] == null) {
140
159
  throw new runtime.RequiredError('height', 'Required parameter "height" was null or undefined when calling getMerkleTransaction().');
@@ -145,15 +164,25 @@ class BlockRoutesApi extends runtime.BaseAPI {
145
164
  const queryParameters = {};
146
165
  const headerParameters = {};
147
166
  let urlPath = `/blocks/{height}/transactions/{hash}/merkle`;
148
- urlPath = urlPath.replace(`{${"height"}}`, encodeURIComponent(String(requestParameters['height'])));
149
- urlPath = urlPath.replace(`{${"hash"}}`, encodeURIComponent(String(requestParameters['hash'])));
150
- const response = yield this.request({
167
+ urlPath = urlPath.replace('{height}', encodeURIComponent(String(requestParameters['height'])));
168
+ urlPath = urlPath.replace('{hash}', encodeURIComponent(String(requestParameters['hash'])));
169
+ return {
151
170
  path: urlPath,
152
171
  method: 'GET',
153
172
  headers: headerParameters,
154
173
  query: queryParameters,
155
- }, initOverrides);
156
- return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.MerkleProofInfoDTOFromJSON)(jsonValue));
174
+ };
175
+ });
176
+ }
177
+ /**
178
+ * 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.
179
+ * Get the Merkle path for a given transaction and block
180
+ */
181
+ getMerkleTransactionRaw(requestParameters, initOverrides) {
182
+ return __awaiter(this, void 0, void 0, function* () {
183
+ const requestOptions = yield this.getMerkleTransactionRequestOpts(requestParameters);
184
+ const response = yield this.request(requestOptions, initOverrides);
185
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, MerkleProofInfoDTO_1.MerkleProofInfoDTOFromJSON)(jsonValue));
157
186
  });
158
187
  }
159
188
  /**
@@ -167,10 +196,9 @@ class BlockRoutesApi extends runtime.BaseAPI {
167
196
  });
168
197
  }
169
198
  /**
170
- * 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.
171
- * Search blocks
199
+ * Creates request options for searchBlocks without sending the request
172
200
  */
173
- searchBlocksRaw(requestParameters, initOverrides) {
201
+ searchBlocksRequestOpts(requestParameters) {
174
202
  return __awaiter(this, void 0, void 0, function* () {
175
203
  const queryParameters = {};
176
204
  if (requestParameters['signerPublicKey'] != null) {
@@ -202,13 +230,23 @@ class BlockRoutesApi extends runtime.BaseAPI {
202
230
  }
203
231
  const headerParameters = {};
204
232
  let urlPath = `/blocks`;
205
- const response = yield this.request({
233
+ return {
206
234
  path: urlPath,
207
235
  method: 'GET',
208
236
  headers: headerParameters,
209
237
  query: queryParameters,
210
- }, initOverrides);
211
- return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.BlockPageFromJSON)(jsonValue));
238
+ };
239
+ });
240
+ }
241
+ /**
242
+ * 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.
243
+ * Search blocks
244
+ */
245
+ searchBlocksRaw(requestParameters, initOverrides) {
246
+ return __awaiter(this, void 0, void 0, function* () {
247
+ const requestOptions = yield this.searchBlocksRequestOpts(requestParameters);
248
+ const response = yield this.request(requestOptions, initOverrides);
249
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, BlockPage_1.BlockPageFromJSON)(jsonValue));
212
250
  });
213
251
  }
214
252
  /**