@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.
- package/cjs/api/apis/AccountRoutesApi.d.ts +94 -1
- package/cjs/api/apis/AccountRoutesApi.js +67 -28
- package/cjs/api/apis/BlockRoutesApi.d.ts +94 -1
- package/cjs/api/apis/BlockRoutesApi.js +68 -30
- package/cjs/api/apis/ChainRoutesApi.d.ts +5 -1
- package/cjs/api/apis/ChainRoutesApi.js +16 -7
- package/cjs/api/apis/FinalizationRoutesApi.d.ts +17 -1
- package/cjs/api/apis/FinalizationRoutesApi.js +33 -15
- package/cjs/api/apis/HashLockRoutesApi.d.ts +126 -1
- package/cjs/api/apis/HashLockRoutesApi.js +83 -35
- package/cjs/api/apis/MetadataRoutesApi.d.ts +107 -3
- package/cjs/api/apis/MetadataRoutesApi.js +82 -34
- package/cjs/api/apis/MosaicRoutesApi.d.ts +71 -1
- package/cjs/api/apis/MosaicRoutesApi.js +67 -28
- package/cjs/api/apis/MultisigRoutesApi.d.ts +24 -1
- package/cjs/api/apis/MultisigRoutesApi.js +51 -22
- package/cjs/api/apis/NamespaceRoutesApi.d.ts +108 -1
- package/cjs/api/apis/NamespaceRoutesApi.js +104 -42
- package/cjs/api/apis/NetworkRoutesApi.d.ts +44 -1
- package/cjs/api/apis/NetworkRoutesApi.js +138 -53
- package/cjs/api/apis/NodeRoutesApi.d.ts +38 -1
- package/cjs/api/apis/NodeRoutesApi.js +125 -48
- package/cjs/api/apis/ReceiptRoutesApi.d.ts +171 -1
- package/cjs/api/apis/ReceiptRoutesApi.js +47 -19
- package/cjs/api/apis/RestrictionAccountRoutesApi.d.ts +81 -1
- package/cjs/api/apis/RestrictionAccountRoutesApi.js +67 -28
- package/cjs/api/apis/RestrictionMosaicRoutesApi.d.ts +78 -1
- package/cjs/api/apis/RestrictionMosaicRoutesApi.js +67 -28
- package/cjs/api/apis/SecretLockRoutesApi.d.ts +132 -1
- package/cjs/api/apis/SecretLockRoutesApi.js +83 -35
- package/cjs/api/apis/TransactionRoutesApi.d.ts +416 -1
- package/cjs/api/apis/TransactionRoutesApi.js +195 -82
- package/cjs/api/apis/TransactionStatusRoutesApi.d.ts +16 -1
- package/cjs/api/apis/TransactionStatusRoutesApi.js +34 -15
- package/cjs/api/models/AccountAddressRestrictionTransactionBodyDTO.d.ts +1 -7
- package/cjs/api/models/AccountAddressRestrictionTransactionDTO.d.ts +7 -41
- package/cjs/api/models/AccountDTO.d.ts +4 -32
- package/cjs/api/models/AccountIds.d.ts +1 -5
- package/cjs/api/models/AccountInfoDTO.d.ts +1 -5
- package/cjs/api/models/AccountKeyLinkNetworkPropertiesDTO.d.ts +1 -3
- package/cjs/api/models/AccountKeyLinkTransactionBodyDTO.d.ts +1 -5
- package/cjs/api/models/AccountKeyLinkTransactionDTO.d.ts +7 -39
- package/cjs/api/models/AccountLinkPublicKeyDTO.d.ts +1 -3
- package/cjs/api/models/AccountLinkVotingKeyDTO.d.ts +3 -15
- package/cjs/api/models/AccountLinkVotingKeysDTO.d.ts +1 -3
- package/cjs/api/models/AccountMetadataTransactionBodyDTO.d.ts +1 -11
- package/cjs/api/models/AccountMetadataTransactionDTO.d.ts +7 -45
- package/cjs/api/models/AccountMosaicRestrictionTransactionBodyDTO.d.ts +1 -7
- package/cjs/api/models/AccountMosaicRestrictionTransactionDTO.d.ts +7 -41
- package/cjs/api/models/AccountNamesDTO.d.ts +2 -8
- package/cjs/api/models/AccountOperationRestrictionTransactionBodyDTO.d.ts +1 -7
- package/cjs/api/models/AccountOperationRestrictionTransactionDTO.d.ts +7 -41
- package/cjs/api/models/AccountOrderByEnum.js +1 -1
- package/cjs/api/models/AccountPage.d.ts +1 -5
- package/cjs/api/models/AccountRestrictionDTO.d.ts +1 -5
- package/cjs/api/models/AccountRestrictionDTOValuesInner.d.ts +1 -1
- package/cjs/api/models/AccountRestrictionFlagsEnum.js +1 -1
- package/cjs/api/models/AccountRestrictionNetworkPropertiesDTO.d.ts +1 -3
- package/cjs/api/models/AccountRestrictionsDTO.d.ts +1 -7
- package/cjs/api/models/AccountRestrictionsInfoDTO.d.ts +1 -3
- package/cjs/api/models/AccountRestrictionsPage.d.ts +1 -5
- package/cjs/api/models/AccountTypeEnum.js +1 -1
- package/cjs/api/models/AccountsNamesDTO.d.ts +1 -3
- package/cjs/api/models/ActivityBucketDTO.d.ts +13 -25
- package/cjs/api/models/AddressAliasTransactionBodyDTO.d.ts +1 -7
- package/cjs/api/models/AddressAliasTransactionDTO.d.ts +7 -41
- package/cjs/api/models/Addresses.d.ts +1 -3
- package/cjs/api/models/AggregateNetworkPropertiesDTO.d.ts +1 -11
- package/cjs/api/models/AggregateTransactionBodyDTO.d.ts +1 -5
- package/cjs/api/models/AggregateTransactionBodyExtendedDTO.d.ts +1 -7
- package/cjs/api/models/AggregateTransactionDTO.d.ts +7 -39
- package/cjs/api/models/AggregateTransactionExtendedDTO.d.ts +7 -41
- package/cjs/api/models/AliasActionEnum.js +1 -1
- package/cjs/api/models/AliasDTO.d.ts +3 -14
- package/cjs/api/models/AliasTypeEnum.js +1 -1
- package/cjs/api/models/AnnounceTransactionInfoDTO.d.ts +1 -3
- package/cjs/api/models/BalanceChangeReceiptDTO.d.ts +4 -23
- package/cjs/api/models/BalanceTransferReceiptDTO.d.ts +5 -28
- package/cjs/api/models/BlockDTO.d.ts +8 -45
- package/cjs/api/models/BlockInfoDTO.d.ts +1 -7
- package/cjs/api/models/BlockInfoDTOBlock.d.ts +12 -64
- package/cjs/api/models/BlockMetaDTO.d.ts +2 -20
- package/cjs/api/models/BlockOrderByEnum.js +1 -1
- package/cjs/api/models/BlockPage.d.ts +1 -5
- package/cjs/api/models/BmTreeSignature.d.ts +1 -5
- package/cjs/api/models/BsonLongDTO.d.ts +1 -7
- package/cjs/api/models/ChainInfoDTO.d.ts +5 -16
- package/cjs/api/models/ChainPropertiesDTO.d.ts +3 -71
- package/cjs/api/models/CommunicationTimestampsDTO.d.ts +4 -26
- package/cjs/api/models/CompositeHashes.d.ts +1 -3
- package/cjs/api/models/Cosignature.d.ts +3 -11
- package/cjs/api/models/CosignatureDTO.d.ts +1 -7
- package/cjs/api/models/DeploymentDTO.d.ts +1 -7
- package/cjs/api/models/EmbeddedAccountAddressRestrictionTransactionDTO.d.ts +2 -16
- package/cjs/api/models/EmbeddedAccountKeyLinkTransactionDTO.d.ts +2 -14
- package/cjs/api/models/EmbeddedAccountMetadataTransactionDTO.d.ts +2 -20
- package/cjs/api/models/EmbeddedAccountMosaicRestrictionTransactionDTO.d.ts +2 -16
- package/cjs/api/models/EmbeddedAccountOperationRestrictionTransactionDTO.d.ts +2 -16
- package/cjs/api/models/EmbeddedAddressAliasTransactionDTO.d.ts +2 -16
- package/cjs/api/models/EmbeddedHashLockTransactionDTO.d.ts +2 -18
- package/cjs/api/models/EmbeddedMosaicAddressRestrictionTransactionDTO.d.ts +2 -20
- package/cjs/api/models/EmbeddedMosaicAliasTransactionDTO.d.ts +2 -16
- package/cjs/api/models/EmbeddedMosaicDefinitionTransactionDTO.d.ts +3 -23
- package/cjs/api/models/EmbeddedMosaicGlobalRestrictionTransactionDTO.d.ts +2 -24
- package/cjs/api/models/EmbeddedMosaicMetadataTransactionDTO.d.ts +2 -22
- package/cjs/api/models/EmbeddedMosaicSupplyChangeTransactionDTO.d.ts +2 -16
- package/cjs/api/models/EmbeddedMosaicSupplyRevocationTransactionDTO.d.ts +2 -16
- package/cjs/api/models/EmbeddedMultisigAccountModificationTransactionDTO.d.ts +2 -18
- package/cjs/api/models/EmbeddedNamespaceMetadataTransactionDTO.d.ts +2 -22
- package/cjs/api/models/EmbeddedNamespaceRegistrationTransactionDTO.d.ts +2 -20
- package/cjs/api/models/EmbeddedNodeKeyLinkTransactionDTO.d.ts +2 -14
- package/cjs/api/models/EmbeddedSecretLockTransactionDTO.d.ts +2 -22
- package/cjs/api/models/EmbeddedSecretProofTransactionDTO.d.ts +2 -18
- package/cjs/api/models/EmbeddedTransactionBodyDTO.d.ts +1 -3
- package/cjs/api/models/EmbeddedTransactionDTO.d.ts +2 -10
- package/cjs/api/models/EmbeddedTransactionInfoDTO.d.ts +1 -7
- package/cjs/api/models/EmbeddedTransactionInfoDTOTransaction.d.ts +3 -107
- package/cjs/api/models/EmbeddedTransactionMetaDTO.d.ts +8 -43
- package/cjs/api/models/EmbeddedTransferTransactionDTO.d.ts +2 -16
- package/cjs/api/models/EmbeddedVotingKeyLinkTransactionDTO.d.ts +2 -18
- package/cjs/api/models/EmbeddedVrfKeyLinkTransactionDTO.d.ts +2 -14
- package/cjs/api/models/EntityDTO.d.ts +2 -10
- package/cjs/api/models/FinalizationProofDTO.d.ts +1 -13
- package/cjs/api/models/FinalizedBlockDTO.d.ts +1 -9
- package/cjs/api/models/ForkHeightsDTO.d.ts +1 -15
- package/cjs/api/models/HashLockEntryDTO.d.ts +6 -31
- package/cjs/api/models/HashLockInfoDTO.d.ts +1 -5
- package/cjs/api/models/HashLockNetworkPropertiesDTO.d.ts +1 -5
- package/cjs/api/models/HashLockPage.d.ts +1 -5
- package/cjs/api/models/HashLockTransactionBodyDTO.d.ts +1 -9
- package/cjs/api/models/HashLockTransactionDTO.d.ts +7 -43
- package/cjs/api/models/ImportanceBlockDTO.d.ts +12 -64
- package/cjs/api/models/InflationReceiptDTO.d.ts +3 -18
- package/cjs/api/models/LinkActionEnum.js +1 -1
- package/cjs/api/models/LockHashAlgorithmEnum.js +1 -1
- package/cjs/api/models/LockStatus.js +1 -1
- package/cjs/api/models/MerklePathItemDTO.d.ts +2 -6
- package/cjs/api/models/MerkleProofInfoDTO.d.ts +1 -3
- package/cjs/api/models/MerkleStateInfoDTO.d.ts +1 -5
- package/cjs/api/models/MerkleStateInfoDTOTreeInner.d.ts +3 -21
- package/cjs/api/models/MerkleTreeBranchDTO.d.ts +2 -16
- package/cjs/api/models/MerkleTreeBranchLinkDTO.d.ts +2 -6
- package/cjs/api/models/MerkleTreeLeafDTO.d.ts +2 -14
- package/cjs/api/models/MerkleTreeNodeTypeEnum.js +1 -1
- package/cjs/api/models/MessageGroup.d.ts +2 -12
- package/cjs/api/models/MetadataEntryDTO.d.ts +7 -25
- package/cjs/api/models/MetadataEntryDTOTargetId.d.ts +1 -1
- package/cjs/api/models/MetadataInfoDTO.d.ts +1 -5
- package/cjs/api/models/MetadataNetworkPropertiesDTO.d.ts +1 -3
- package/cjs/api/models/MetadataPage.d.ts +1 -5
- package/cjs/api/models/MetadataTypeEnum.js +1 -1
- package/cjs/api/models/ModelError.d.ts +1 -5
- package/cjs/api/models/Mosaic.d.ts +1 -5
- package/cjs/api/models/MosaicAddressRestrictionDTO.d.ts +1 -5
- package/cjs/api/models/MosaicAddressRestrictionEntryDTO.d.ts +1 -5
- package/cjs/api/models/MosaicAddressRestrictionEntryWrapperDTO.d.ts +4 -21
- package/cjs/api/models/MosaicAddressRestrictionTransactionBodyDTO.d.ts +1 -11
- package/cjs/api/models/MosaicAddressRestrictionTransactionDTO.d.ts +7 -45
- package/cjs/api/models/MosaicAliasTransactionBodyDTO.d.ts +1 -7
- package/cjs/api/models/MosaicAliasTransactionDTO.d.ts +7 -41
- package/cjs/api/models/MosaicDTO.d.ts +7 -33
- package/cjs/api/models/MosaicDefinitionTransactionBodyDTO.d.ts +2 -14
- package/cjs/api/models/MosaicDefinitionTransactionDTO.d.ts +8 -48
- package/cjs/api/models/MosaicExpiryReceiptDTO.d.ts +2 -11
- package/cjs/api/models/MosaicGlobalRestrictionDTO.d.ts +1 -5
- package/cjs/api/models/MosaicGlobalRestrictionEntryDTO.d.ts +1 -5
- package/cjs/api/models/MosaicGlobalRestrictionEntryRestrictionDTO.d.ts +4 -10
- package/cjs/api/models/MosaicGlobalRestrictionEntryWrapperDTO.d.ts +3 -16
- package/cjs/api/models/MosaicGlobalRestrictionTransactionBodyDTO.d.ts +1 -15
- package/cjs/api/models/MosaicGlobalRestrictionTransactionDTO.d.ts +7 -49
- package/cjs/api/models/MosaicIds.d.ts +1 -3
- package/cjs/api/models/MosaicInfoDTO.d.ts +1 -5
- package/cjs/api/models/MosaicMetadataTransactionBodyDTO.d.ts +1 -13
- package/cjs/api/models/MosaicMetadataTransactionDTO.d.ts +7 -47
- package/cjs/api/models/MosaicNamesDTO.d.ts +2 -9
- package/cjs/api/models/MosaicNetworkPropertiesDTO.d.ts +5 -27
- package/cjs/api/models/MosaicPage.d.ts +1 -5
- package/cjs/api/models/MosaicRestrictionDTO.d.ts +1 -5
- package/cjs/api/models/MosaicRestrictionEntryTypeEnum.js +1 -1
- package/cjs/api/models/MosaicRestrictionNetworkPropertiesDTO.d.ts +1 -3
- package/cjs/api/models/MosaicRestrictionTypeEnum.js +1 -1
- package/cjs/api/models/MosaicRestrictionsPage.d.ts +1 -5
- package/cjs/api/models/MosaicRestrictionsPageDataInner.d.ts +1 -5
- package/cjs/api/models/MosaicSupplyChangeActionEnum.js +1 -1
- package/cjs/api/models/MosaicSupplyChangeTransactionBodyDTO.d.ts +1 -7
- package/cjs/api/models/MosaicSupplyChangeTransactionDTO.d.ts +7 -41
- package/cjs/api/models/MosaicSupplyRevocationTransactionBodyDTO.d.ts +1 -7
- package/cjs/api/models/MosaicSupplyRevocationTransactionDTO.d.ts +7 -41
- package/cjs/api/models/MosaicsNamesDTO.d.ts +1 -3
- package/cjs/api/models/MultisigAccountGraphInfoDTO.d.ts +1 -5
- package/cjs/api/models/MultisigAccountInfoDTO.d.ts +1 -3
- package/cjs/api/models/MultisigAccountModificationTransactionBodyDTO.d.ts +1 -9
- package/cjs/api/models/MultisigAccountModificationTransactionDTO.d.ts +7 -43
- package/cjs/api/models/MultisigDTO.d.ts +3 -19
- package/cjs/api/models/MultisigNetworkPropertiesDTO.d.ts +1 -7
- package/cjs/api/models/NamespaceDTO.d.ts +8 -48
- package/cjs/api/models/NamespaceExpiryReceiptDTO.d.ts +2 -11
- package/cjs/api/models/NamespaceIds.d.ts +1 -3
- package/cjs/api/models/NamespaceInfoDTO.d.ts +1 -7
- package/cjs/api/models/NamespaceMetaDTO.d.ts +1 -5
- package/cjs/api/models/NamespaceMetadataTransactionBodyDTO.d.ts +1 -13
- package/cjs/api/models/NamespaceMetadataTransactionDTO.d.ts +7 -47
- package/cjs/api/models/NamespaceNameDTO.d.ts +3 -15
- package/cjs/api/models/NamespaceNetworkPropertiesDTO.d.ts +5 -43
- package/cjs/api/models/NamespacePage.d.ts +1 -5
- package/cjs/api/models/NamespaceRegistrationTransactionBodyDTO.d.ts +1 -11
- package/cjs/api/models/NamespaceRegistrationTransactionDTO.d.ts +7 -45
- package/cjs/api/models/NamespaceRegistrationTypeEnum.js +1 -1
- package/cjs/api/models/NetworkConfigurationDTO.d.ts +1 -13
- package/cjs/api/models/NetworkInflationDTO.d.ts +3 -13
- package/cjs/api/models/NetworkPropertiesDTO.d.ts +1 -11
- package/cjs/api/models/NetworkTypeDTO.d.ts +1 -5
- package/cjs/api/models/NetworkTypeDTO.js +1 -1
- package/cjs/api/models/NetworkTypeEnum.js +1 -1
- package/cjs/api/models/NodeHealthDTO.d.ts +1 -5
- package/cjs/api/models/NodeHealthInfoDTO.d.ts +1 -3
- package/cjs/api/models/NodeIdentityEqualityStrategy.js +1 -1
- package/cjs/api/models/NodeInfoDTO.d.ts +1 -19
- package/cjs/api/models/NodeKeyLinkTransactionBodyDTO.d.ts +1 -5
- package/cjs/api/models/NodeKeyLinkTransactionDTO.d.ts +7 -39
- package/cjs/api/models/NodeStatusEnum.js +1 -1
- package/cjs/api/models/NodeTimeDTO.d.ts +1 -3
- package/cjs/api/models/Order.js +1 -1
- package/cjs/api/models/Pagination.d.ts +1 -5
- package/cjs/api/models/ParentPublicKeySignaturePair.d.ts +1 -5
- package/cjs/api/models/PluginsPropertiesDTO.d.ts +1 -23
- package/cjs/api/models/PositionEnum.js +1 -1
- package/cjs/api/models/ReceiptDTO.d.ts +1 -5
- package/cjs/api/models/ReceiptTypeEnum.js +1 -1
- package/cjs/api/models/RentalFeesDTO.d.ts +4 -22
- package/cjs/api/models/ResolutionEntryDTO.d.ts +1 -5
- package/cjs/api/models/ResolutionEntryDTOResolved.d.ts +1 -1
- package/cjs/api/models/ResolutionStatementDTO.d.ts +2 -10
- package/cjs/api/models/ResolutionStatementDTOUnresolved.d.ts +1 -1
- package/cjs/api/models/ResolutionStatementInfoDTO.d.ts +1 -7
- package/cjs/api/models/ResolutionStatementPage.d.ts +1 -5
- package/cjs/api/models/SecretLockEntryDTO.d.ts +10 -40
- package/cjs/api/models/SecretLockInfoDTO.d.ts +1 -5
- package/cjs/api/models/SecretLockNetworkPropertiesDTO.d.ts +1 -7
- package/cjs/api/models/SecretLockPage.d.ts +1 -5
- package/cjs/api/models/SecretLockTransactionBodyDTO.d.ts +1 -13
- package/cjs/api/models/SecretLockTransactionDTO.d.ts +7 -47
- package/cjs/api/models/SecretProofTransactionBodyDTO.d.ts +1 -9
- package/cjs/api/models/SecretProofTransactionDTO.d.ts +7 -43
- package/cjs/api/models/ServerDTO.d.ts +1 -5
- package/cjs/api/models/ServerInfoDTO.d.ts +1 -3
- package/cjs/api/models/SizePrefixedEntityDTO.d.ts +3 -5
- package/cjs/api/models/SourceDTO.d.ts +11 -9
- package/cjs/api/models/StageEnum.js +1 -1
- package/cjs/api/models/StatementMetaDTO.d.ts +2 -14
- package/cjs/api/models/StorageInfoDTO.d.ts +1 -9
- package/cjs/api/models/StorageInfoDatabaseDTO.d.ts +1 -11
- package/cjs/api/models/SupplementalPublicKeysDTO.d.ts +1 -9
- package/cjs/api/models/TransactionBodyDTO.d.ts +4 -20
- package/cjs/api/models/TransactionDTO.d.ts +7 -35
- package/cjs/api/models/TransactionFeesDTO.d.ts +6 -76
- package/cjs/api/models/TransactionGroupEnum.js +1 -1
- package/cjs/api/models/TransactionHashes.d.ts +1 -3
- package/cjs/api/models/TransactionIds.d.ts +1 -3
- package/cjs/api/models/TransactionInfoDTO.d.ts +1 -7
- package/cjs/api/models/TransactionInfoDTOMeta.d.ts +12 -49
- package/cjs/api/models/TransactionInfoDTOTransaction.d.ts +8 -138
- package/cjs/api/models/TransactionMetaDTO.d.ts +10 -41
- package/cjs/api/models/TransactionPage.d.ts +1 -5
- package/cjs/api/models/TransactionPayload.d.ts +1 -3
- package/cjs/api/models/TransactionStatementDTO.d.ts +2 -10
- package/cjs/api/models/TransactionStatementDTOReceiptsInner.d.ts +7 -39
- package/cjs/api/models/TransactionStatementInfoDTO.d.ts +1 -7
- package/cjs/api/models/TransactionStatementPage.d.ts +1 -5
- package/cjs/api/models/TransactionStatusDTO.d.ts +4 -26
- package/cjs/api/models/TransactionStatusEnum.js +1 -1
- package/cjs/api/models/TransactionTypeEnum.js +1 -1
- package/cjs/api/models/TransferNetworkPropertiesDTO.d.ts +1 -3
- package/cjs/api/models/TransferTransactionBodyDTO.d.ts +1 -7
- package/cjs/api/models/TransferTransactionDTO.d.ts +7 -41
- package/cjs/api/models/UnlockedAccountDTO.d.ts +1 -3
- package/cjs/api/models/UnresolvedMosaic.d.ts +1 -5
- package/cjs/api/models/VerifiableEntityDTO.d.ts +1 -3
- package/cjs/api/models/VotingKeyLinkTransactionBodyDTO.d.ts +1 -9
- package/cjs/api/models/VotingKeyLinkTransactionDTO.d.ts +7 -43
- package/cjs/api/models/VrfKeyLinkTransactionBodyDTO.d.ts +1 -5
- package/cjs/api/models/VrfKeyLinkTransactionDTO.d.ts +7 -39
- package/cjs/api/runtime.d.ts +34 -1
- package/cjs/api/runtime.js +136 -4
- package/esm/api/apis/AccountRoutesApi.d.ts +94 -1
- package/esm/api/apis/AccountRoutesApi.js +54 -23
- package/esm/api/apis/BlockRoutesApi.d.ts +94 -1
- package/esm/api/apis/BlockRoutesApi.js +56 -26
- package/esm/api/apis/ChainRoutesApi.d.ts +5 -1
- package/esm/api/apis/ChainRoutesApi.js +13 -6
- package/esm/api/apis/FinalizationRoutesApi.d.ts +17 -1
- package/esm/api/apis/FinalizationRoutesApi.js +27 -13
- package/esm/api/apis/HashLockRoutesApi.d.ts +126 -1
- package/esm/api/apis/HashLockRoutesApi.js +67 -29
- package/esm/api/apis/MetadataRoutesApi.d.ts +107 -3
- package/esm/api/apis/MetadataRoutesApi.js +67 -29
- package/esm/api/apis/MosaicRoutesApi.d.ts +71 -1
- package/esm/api/apis/MosaicRoutesApi.js +54 -23
- package/esm/api/apis/MultisigRoutesApi.d.ts +24 -1
- package/esm/api/apis/MultisigRoutesApi.js +42 -19
- package/esm/api/apis/NamespaceRoutesApi.d.ts +108 -1
- package/esm/api/apis/NamespaceRoutesApi.js +83 -33
- package/esm/api/apis/NetworkRoutesApi.d.ts +44 -1
- package/esm/api/apis/NetworkRoutesApi.js +114 -47
- package/esm/api/apis/NodeRoutesApi.d.ts +38 -1
- package/esm/api/apis/NodeRoutesApi.js +102 -41
- package/esm/api/apis/ReceiptRoutesApi.d.ts +171 -1
- package/esm/api/apis/ReceiptRoutesApi.js +38 -16
- package/esm/api/apis/RestrictionAccountRoutesApi.d.ts +81 -1
- package/esm/api/apis/RestrictionAccountRoutesApi.js +54 -23
- package/esm/api/apis/RestrictionMosaicRoutesApi.d.ts +78 -1
- package/esm/api/apis/RestrictionMosaicRoutesApi.js +54 -23
- package/esm/api/apis/SecretLockRoutesApi.d.ts +132 -1
- package/esm/api/apis/SecretLockRoutesApi.js +67 -29
- package/esm/api/apis/TransactionRoutesApi.d.ts +416 -1
- package/esm/api/apis/TransactionRoutesApi.js +153 -64
- package/esm/api/apis/TransactionStatusRoutesApi.d.ts +16 -1
- package/esm/api/apis/TransactionStatusRoutesApi.js +27 -12
- package/esm/api/models/AccountAddressRestrictionTransactionBodyDTO.d.ts +1 -7
- package/esm/api/models/AccountAddressRestrictionTransactionDTO.d.ts +7 -41
- package/esm/api/models/AccountDTO.d.ts +4 -32
- package/esm/api/models/AccountIds.d.ts +1 -5
- package/esm/api/models/AccountInfoDTO.d.ts +1 -5
- package/esm/api/models/AccountKeyLinkNetworkPropertiesDTO.d.ts +1 -3
- package/esm/api/models/AccountKeyLinkTransactionBodyDTO.d.ts +1 -5
- package/esm/api/models/AccountKeyLinkTransactionDTO.d.ts +7 -39
- package/esm/api/models/AccountLinkPublicKeyDTO.d.ts +1 -3
- package/esm/api/models/AccountLinkVotingKeyDTO.d.ts +3 -15
- package/esm/api/models/AccountLinkVotingKeysDTO.d.ts +1 -3
- package/esm/api/models/AccountMetadataTransactionBodyDTO.d.ts +1 -11
- package/esm/api/models/AccountMetadataTransactionDTO.d.ts +7 -45
- package/esm/api/models/AccountMosaicRestrictionTransactionBodyDTO.d.ts +1 -7
- package/esm/api/models/AccountMosaicRestrictionTransactionDTO.d.ts +7 -41
- package/esm/api/models/AccountNamesDTO.d.ts +2 -8
- package/esm/api/models/AccountOperationRestrictionTransactionBodyDTO.d.ts +1 -7
- package/esm/api/models/AccountOperationRestrictionTransactionDTO.d.ts +7 -41
- package/esm/api/models/AccountOrderByEnum.js +1 -1
- package/esm/api/models/AccountPage.d.ts +1 -5
- package/esm/api/models/AccountRestrictionDTO.d.ts +1 -5
- package/esm/api/models/AccountRestrictionDTOValuesInner.d.ts +1 -1
- package/esm/api/models/AccountRestrictionFlagsEnum.js +1 -1
- package/esm/api/models/AccountRestrictionNetworkPropertiesDTO.d.ts +1 -3
- package/esm/api/models/AccountRestrictionsDTO.d.ts +1 -7
- package/esm/api/models/AccountRestrictionsInfoDTO.d.ts +1 -3
- package/esm/api/models/AccountRestrictionsPage.d.ts +1 -5
- package/esm/api/models/AccountTypeEnum.js +1 -1
- package/esm/api/models/AccountsNamesDTO.d.ts +1 -3
- package/esm/api/models/ActivityBucketDTO.d.ts +13 -25
- package/esm/api/models/AddressAliasTransactionBodyDTO.d.ts +1 -7
- package/esm/api/models/AddressAliasTransactionDTO.d.ts +7 -41
- package/esm/api/models/Addresses.d.ts +1 -3
- package/esm/api/models/AggregateNetworkPropertiesDTO.d.ts +1 -11
- package/esm/api/models/AggregateTransactionBodyDTO.d.ts +1 -5
- package/esm/api/models/AggregateTransactionBodyExtendedDTO.d.ts +1 -7
- package/esm/api/models/AggregateTransactionDTO.d.ts +7 -39
- package/esm/api/models/AggregateTransactionExtendedDTO.d.ts +7 -41
- package/esm/api/models/AliasActionEnum.js +1 -1
- package/esm/api/models/AliasDTO.d.ts +3 -14
- package/esm/api/models/AliasTypeEnum.js +1 -1
- package/esm/api/models/AnnounceTransactionInfoDTO.d.ts +1 -3
- package/esm/api/models/BalanceChangeReceiptDTO.d.ts +4 -23
- package/esm/api/models/BalanceTransferReceiptDTO.d.ts +5 -28
- package/esm/api/models/BlockDTO.d.ts +8 -45
- package/esm/api/models/BlockInfoDTO.d.ts +1 -7
- package/esm/api/models/BlockInfoDTOBlock.d.ts +12 -64
- package/esm/api/models/BlockMetaDTO.d.ts +2 -20
- package/esm/api/models/BlockOrderByEnum.js +1 -1
- package/esm/api/models/BlockPage.d.ts +1 -5
- package/esm/api/models/BmTreeSignature.d.ts +1 -5
- package/esm/api/models/BsonLongDTO.d.ts +1 -7
- package/esm/api/models/ChainInfoDTO.d.ts +5 -16
- package/esm/api/models/ChainPropertiesDTO.d.ts +3 -71
- package/esm/api/models/CommunicationTimestampsDTO.d.ts +4 -26
- package/esm/api/models/CompositeHashes.d.ts +1 -3
- package/esm/api/models/Cosignature.d.ts +3 -11
- package/esm/api/models/CosignatureDTO.d.ts +1 -7
- package/esm/api/models/DeploymentDTO.d.ts +1 -7
- package/esm/api/models/EmbeddedAccountAddressRestrictionTransactionDTO.d.ts +2 -16
- package/esm/api/models/EmbeddedAccountKeyLinkTransactionDTO.d.ts +2 -14
- package/esm/api/models/EmbeddedAccountMetadataTransactionDTO.d.ts +2 -20
- package/esm/api/models/EmbeddedAccountMosaicRestrictionTransactionDTO.d.ts +2 -16
- package/esm/api/models/EmbeddedAccountOperationRestrictionTransactionDTO.d.ts +2 -16
- package/esm/api/models/EmbeddedAddressAliasTransactionDTO.d.ts +2 -16
- package/esm/api/models/EmbeddedHashLockTransactionDTO.d.ts +2 -18
- package/esm/api/models/EmbeddedMosaicAddressRestrictionTransactionDTO.d.ts +2 -20
- package/esm/api/models/EmbeddedMosaicAliasTransactionDTO.d.ts +2 -16
- package/esm/api/models/EmbeddedMosaicDefinitionTransactionDTO.d.ts +3 -23
- package/esm/api/models/EmbeddedMosaicGlobalRestrictionTransactionDTO.d.ts +2 -24
- package/esm/api/models/EmbeddedMosaicMetadataTransactionDTO.d.ts +2 -22
- package/esm/api/models/EmbeddedMosaicSupplyChangeTransactionDTO.d.ts +2 -16
- package/esm/api/models/EmbeddedMosaicSupplyRevocationTransactionDTO.d.ts +2 -16
- package/esm/api/models/EmbeddedMultisigAccountModificationTransactionDTO.d.ts +2 -18
- package/esm/api/models/EmbeddedNamespaceMetadataTransactionDTO.d.ts +2 -22
- package/esm/api/models/EmbeddedNamespaceRegistrationTransactionDTO.d.ts +2 -20
- package/esm/api/models/EmbeddedNodeKeyLinkTransactionDTO.d.ts +2 -14
- package/esm/api/models/EmbeddedSecretLockTransactionDTO.d.ts +2 -22
- package/esm/api/models/EmbeddedSecretProofTransactionDTO.d.ts +2 -18
- package/esm/api/models/EmbeddedTransactionBodyDTO.d.ts +1 -3
- package/esm/api/models/EmbeddedTransactionDTO.d.ts +2 -10
- package/esm/api/models/EmbeddedTransactionInfoDTO.d.ts +1 -7
- package/esm/api/models/EmbeddedTransactionInfoDTOTransaction.d.ts +3 -107
- package/esm/api/models/EmbeddedTransactionMetaDTO.d.ts +8 -43
- package/esm/api/models/EmbeddedTransferTransactionDTO.d.ts +2 -16
- package/esm/api/models/EmbeddedVotingKeyLinkTransactionDTO.d.ts +2 -18
- package/esm/api/models/EmbeddedVrfKeyLinkTransactionDTO.d.ts +2 -14
- package/esm/api/models/EntityDTO.d.ts +2 -10
- package/esm/api/models/FinalizationProofDTO.d.ts +1 -13
- package/esm/api/models/FinalizedBlockDTO.d.ts +1 -9
- package/esm/api/models/ForkHeightsDTO.d.ts +1 -15
- package/esm/api/models/HashLockEntryDTO.d.ts +6 -31
- package/esm/api/models/HashLockInfoDTO.d.ts +1 -5
- package/esm/api/models/HashLockNetworkPropertiesDTO.d.ts +1 -5
- package/esm/api/models/HashLockPage.d.ts +1 -5
- package/esm/api/models/HashLockTransactionBodyDTO.d.ts +1 -9
- package/esm/api/models/HashLockTransactionDTO.d.ts +7 -43
- package/esm/api/models/ImportanceBlockDTO.d.ts +12 -64
- package/esm/api/models/InflationReceiptDTO.d.ts +3 -18
- package/esm/api/models/LinkActionEnum.js +1 -1
- package/esm/api/models/LockHashAlgorithmEnum.js +1 -1
- package/esm/api/models/LockStatus.js +1 -1
- package/esm/api/models/MerklePathItemDTO.d.ts +2 -6
- package/esm/api/models/MerkleProofInfoDTO.d.ts +1 -3
- package/esm/api/models/MerkleStateInfoDTO.d.ts +1 -5
- package/esm/api/models/MerkleStateInfoDTOTreeInner.d.ts +3 -21
- package/esm/api/models/MerkleTreeBranchDTO.d.ts +2 -16
- package/esm/api/models/MerkleTreeBranchLinkDTO.d.ts +2 -6
- package/esm/api/models/MerkleTreeLeafDTO.d.ts +2 -14
- package/esm/api/models/MerkleTreeNodeTypeEnum.js +1 -1
- package/esm/api/models/MessageGroup.d.ts +2 -12
- package/esm/api/models/MetadataEntryDTO.d.ts +7 -25
- package/esm/api/models/MetadataEntryDTOTargetId.d.ts +1 -1
- package/esm/api/models/MetadataInfoDTO.d.ts +1 -5
- package/esm/api/models/MetadataNetworkPropertiesDTO.d.ts +1 -3
- package/esm/api/models/MetadataPage.d.ts +1 -5
- package/esm/api/models/MetadataTypeEnum.js +1 -1
- package/esm/api/models/ModelError.d.ts +1 -5
- package/esm/api/models/Mosaic.d.ts +1 -5
- package/esm/api/models/MosaicAddressRestrictionDTO.d.ts +1 -5
- package/esm/api/models/MosaicAddressRestrictionEntryDTO.d.ts +1 -5
- package/esm/api/models/MosaicAddressRestrictionEntryWrapperDTO.d.ts +4 -21
- package/esm/api/models/MosaicAddressRestrictionTransactionBodyDTO.d.ts +1 -11
- package/esm/api/models/MosaicAddressRestrictionTransactionDTO.d.ts +7 -45
- package/esm/api/models/MosaicAliasTransactionBodyDTO.d.ts +1 -7
- package/esm/api/models/MosaicAliasTransactionDTO.d.ts +7 -41
- package/esm/api/models/MosaicDTO.d.ts +7 -33
- package/esm/api/models/MosaicDefinitionTransactionBodyDTO.d.ts +2 -14
- package/esm/api/models/MosaicDefinitionTransactionDTO.d.ts +8 -48
- package/esm/api/models/MosaicExpiryReceiptDTO.d.ts +2 -11
- package/esm/api/models/MosaicGlobalRestrictionDTO.d.ts +1 -5
- package/esm/api/models/MosaicGlobalRestrictionEntryDTO.d.ts +1 -5
- package/esm/api/models/MosaicGlobalRestrictionEntryRestrictionDTO.d.ts +4 -10
- package/esm/api/models/MosaicGlobalRestrictionEntryWrapperDTO.d.ts +3 -16
- package/esm/api/models/MosaicGlobalRestrictionTransactionBodyDTO.d.ts +1 -15
- package/esm/api/models/MosaicGlobalRestrictionTransactionDTO.d.ts +7 -49
- package/esm/api/models/MosaicIds.d.ts +1 -3
- package/esm/api/models/MosaicInfoDTO.d.ts +1 -5
- package/esm/api/models/MosaicMetadataTransactionBodyDTO.d.ts +1 -13
- package/esm/api/models/MosaicMetadataTransactionDTO.d.ts +7 -47
- package/esm/api/models/MosaicNamesDTO.d.ts +2 -9
- package/esm/api/models/MosaicNetworkPropertiesDTO.d.ts +5 -27
- package/esm/api/models/MosaicPage.d.ts +1 -5
- package/esm/api/models/MosaicRestrictionDTO.d.ts +1 -5
- package/esm/api/models/MosaicRestrictionEntryTypeEnum.js +1 -1
- package/esm/api/models/MosaicRestrictionNetworkPropertiesDTO.d.ts +1 -3
- package/esm/api/models/MosaicRestrictionTypeEnum.js +1 -1
- package/esm/api/models/MosaicRestrictionsPage.d.ts +1 -5
- package/esm/api/models/MosaicRestrictionsPageDataInner.d.ts +1 -5
- package/esm/api/models/MosaicSupplyChangeActionEnum.js +1 -1
- package/esm/api/models/MosaicSupplyChangeTransactionBodyDTO.d.ts +1 -7
- package/esm/api/models/MosaicSupplyChangeTransactionDTO.d.ts +7 -41
- package/esm/api/models/MosaicSupplyRevocationTransactionBodyDTO.d.ts +1 -7
- package/esm/api/models/MosaicSupplyRevocationTransactionDTO.d.ts +7 -41
- package/esm/api/models/MosaicsNamesDTO.d.ts +1 -3
- package/esm/api/models/MultisigAccountGraphInfoDTO.d.ts +1 -5
- package/esm/api/models/MultisigAccountInfoDTO.d.ts +1 -3
- package/esm/api/models/MultisigAccountModificationTransactionBodyDTO.d.ts +1 -9
- package/esm/api/models/MultisigAccountModificationTransactionDTO.d.ts +7 -43
- package/esm/api/models/MultisigDTO.d.ts +3 -19
- package/esm/api/models/MultisigNetworkPropertiesDTO.d.ts +1 -7
- package/esm/api/models/NamespaceDTO.d.ts +8 -48
- package/esm/api/models/NamespaceExpiryReceiptDTO.d.ts +2 -11
- package/esm/api/models/NamespaceIds.d.ts +1 -3
- package/esm/api/models/NamespaceInfoDTO.d.ts +1 -7
- package/esm/api/models/NamespaceMetaDTO.d.ts +1 -5
- package/esm/api/models/NamespaceMetadataTransactionBodyDTO.d.ts +1 -13
- package/esm/api/models/NamespaceMetadataTransactionDTO.d.ts +7 -47
- package/esm/api/models/NamespaceNameDTO.d.ts +3 -15
- package/esm/api/models/NamespaceNetworkPropertiesDTO.d.ts +5 -43
- package/esm/api/models/NamespacePage.d.ts +1 -5
- package/esm/api/models/NamespaceRegistrationTransactionBodyDTO.d.ts +1 -11
- package/esm/api/models/NamespaceRegistrationTransactionDTO.d.ts +7 -45
- package/esm/api/models/NamespaceRegistrationTypeEnum.js +1 -1
- package/esm/api/models/NetworkConfigurationDTO.d.ts +1 -13
- package/esm/api/models/NetworkInflationDTO.d.ts +3 -13
- package/esm/api/models/NetworkPropertiesDTO.d.ts +1 -11
- package/esm/api/models/NetworkTypeDTO.d.ts +1 -5
- package/esm/api/models/NetworkTypeDTO.js +1 -1
- package/esm/api/models/NetworkTypeEnum.js +1 -1
- package/esm/api/models/NodeHealthDTO.d.ts +1 -5
- package/esm/api/models/NodeHealthInfoDTO.d.ts +1 -3
- package/esm/api/models/NodeIdentityEqualityStrategy.js +1 -1
- package/esm/api/models/NodeInfoDTO.d.ts +1 -19
- package/esm/api/models/NodeKeyLinkTransactionBodyDTO.d.ts +1 -5
- package/esm/api/models/NodeKeyLinkTransactionDTO.d.ts +7 -39
- package/esm/api/models/NodeStatusEnum.js +1 -1
- package/esm/api/models/NodeTimeDTO.d.ts +1 -3
- package/esm/api/models/Order.js +1 -1
- package/esm/api/models/Pagination.d.ts +1 -5
- package/esm/api/models/ParentPublicKeySignaturePair.d.ts +1 -5
- package/esm/api/models/PluginsPropertiesDTO.d.ts +1 -23
- package/esm/api/models/PositionEnum.js +1 -1
- package/esm/api/models/ReceiptDTO.d.ts +1 -5
- package/esm/api/models/ReceiptTypeEnum.js +1 -1
- package/esm/api/models/RentalFeesDTO.d.ts +4 -22
- package/esm/api/models/ResolutionEntryDTO.d.ts +1 -5
- package/esm/api/models/ResolutionEntryDTOResolved.d.ts +1 -1
- package/esm/api/models/ResolutionStatementDTO.d.ts +2 -10
- package/esm/api/models/ResolutionStatementDTOUnresolved.d.ts +1 -1
- package/esm/api/models/ResolutionStatementInfoDTO.d.ts +1 -7
- package/esm/api/models/ResolutionStatementPage.d.ts +1 -5
- package/esm/api/models/SecretLockEntryDTO.d.ts +10 -40
- package/esm/api/models/SecretLockInfoDTO.d.ts +1 -5
- package/esm/api/models/SecretLockNetworkPropertiesDTO.d.ts +1 -7
- package/esm/api/models/SecretLockPage.d.ts +1 -5
- package/esm/api/models/SecretLockTransactionBodyDTO.d.ts +1 -13
- package/esm/api/models/SecretLockTransactionDTO.d.ts +7 -47
- package/esm/api/models/SecretProofTransactionBodyDTO.d.ts +1 -9
- package/esm/api/models/SecretProofTransactionDTO.d.ts +7 -43
- package/esm/api/models/ServerDTO.d.ts +1 -5
- package/esm/api/models/ServerInfoDTO.d.ts +1 -3
- package/esm/api/models/SizePrefixedEntityDTO.d.ts +3 -5
- package/esm/api/models/SourceDTO.d.ts +11 -9
- package/esm/api/models/StageEnum.js +1 -1
- package/esm/api/models/StatementMetaDTO.d.ts +2 -14
- package/esm/api/models/StorageInfoDTO.d.ts +1 -9
- package/esm/api/models/StorageInfoDatabaseDTO.d.ts +1 -11
- package/esm/api/models/SupplementalPublicKeysDTO.d.ts +1 -9
- package/esm/api/models/TransactionBodyDTO.d.ts +4 -20
- package/esm/api/models/TransactionDTO.d.ts +7 -35
- package/esm/api/models/TransactionFeesDTO.d.ts +6 -76
- package/esm/api/models/TransactionGroupEnum.js +1 -1
- package/esm/api/models/TransactionHashes.d.ts +1 -3
- package/esm/api/models/TransactionIds.d.ts +1 -3
- package/esm/api/models/TransactionInfoDTO.d.ts +1 -7
- package/esm/api/models/TransactionInfoDTOMeta.d.ts +12 -49
- package/esm/api/models/TransactionInfoDTOTransaction.d.ts +8 -138
- package/esm/api/models/TransactionMetaDTO.d.ts +10 -41
- package/esm/api/models/TransactionPage.d.ts +1 -5
- package/esm/api/models/TransactionPayload.d.ts +1 -3
- package/esm/api/models/TransactionStatementDTO.d.ts +2 -10
- package/esm/api/models/TransactionStatementDTOReceiptsInner.d.ts +7 -39
- package/esm/api/models/TransactionStatementInfoDTO.d.ts +1 -7
- package/esm/api/models/TransactionStatementPage.d.ts +1 -5
- package/esm/api/models/TransactionStatusDTO.d.ts +4 -26
- package/esm/api/models/TransactionStatusEnum.js +1 -1
- package/esm/api/models/TransactionTypeEnum.js +1 -1
- package/esm/api/models/TransferNetworkPropertiesDTO.d.ts +1 -3
- package/esm/api/models/TransferTransactionBodyDTO.d.ts +1 -7
- package/esm/api/models/TransferTransactionDTO.d.ts +7 -41
- package/esm/api/models/UnlockedAccountDTO.d.ts +1 -3
- package/esm/api/models/UnresolvedMosaic.d.ts +1 -5
- package/esm/api/models/VerifiableEntityDTO.d.ts +1 -3
- package/esm/api/models/VotingKeyLinkTransactionBodyDTO.d.ts +1 -9
- package/esm/api/models/VotingKeyLinkTransactionDTO.d.ts +7 -43
- package/esm/api/models/VrfKeyLinkTransactionBodyDTO.d.ts +1 -5
- package/esm/api/models/VrfKeyLinkTransactionDTO.d.ts +7 -39
- package/esm/api/runtime.d.ts +34 -1
- package/esm/api/runtime.js +127 -4
- package/index.min.js +1 -1
- package/package.json +23 -7
|
@@ -57,27 +57,41 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
57
57
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
58
58
|
exports.NodeRoutesApi = void 0;
|
|
59
59
|
const runtime = __importStar(require("../runtime"));
|
|
60
|
-
const
|
|
60
|
+
const NodeHealthInfoDTO_1 = require("../models/NodeHealthInfoDTO");
|
|
61
|
+
const NodeInfoDTO_1 = require("../models/NodeInfoDTO");
|
|
62
|
+
const NodeTimeDTO_1 = require("../models/NodeTimeDTO");
|
|
63
|
+
const ServerInfoDTO_1 = require("../models/ServerInfoDTO");
|
|
64
|
+
const StorageInfoDTO_1 = require("../models/StorageInfoDTO");
|
|
65
|
+
const UnlockedAccountDTO_1 = require("../models/UnlockedAccountDTO");
|
|
61
66
|
/**
|
|
62
67
|
*
|
|
63
68
|
*/
|
|
64
69
|
class NodeRoutesApi extends runtime.BaseAPI {
|
|
65
70
|
/**
|
|
66
|
-
*
|
|
67
|
-
* Get the node health information
|
|
71
|
+
* Creates request options for getNodeHealth without sending the request
|
|
68
72
|
*/
|
|
69
|
-
|
|
73
|
+
getNodeHealthRequestOpts() {
|
|
70
74
|
return __awaiter(this, void 0, void 0, function* () {
|
|
71
75
|
const queryParameters = {};
|
|
72
76
|
const headerParameters = {};
|
|
73
77
|
let urlPath = `/node/health`;
|
|
74
|
-
|
|
78
|
+
return {
|
|
75
79
|
path: urlPath,
|
|
76
80
|
method: 'GET',
|
|
77
81
|
headers: headerParameters,
|
|
78
82
|
query: queryParameters,
|
|
79
|
-
}
|
|
80
|
-
|
|
83
|
+
};
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Supplies information regarding the connection and services status.
|
|
88
|
+
* Get the node health information
|
|
89
|
+
*/
|
|
90
|
+
getNodeHealthRaw(initOverrides) {
|
|
91
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
92
|
+
const requestOptions = yield this.getNodeHealthRequestOpts();
|
|
93
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
94
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, NodeHealthInfoDTO_1.NodeHealthInfoDTOFromJSON)(jsonValue));
|
|
81
95
|
});
|
|
82
96
|
}
|
|
83
97
|
/**
|
|
@@ -91,21 +105,30 @@ class NodeRoutesApi extends runtime.BaseAPI {
|
|
|
91
105
|
});
|
|
92
106
|
}
|
|
93
107
|
/**
|
|
94
|
-
*
|
|
95
|
-
* Get the node information
|
|
108
|
+
* Creates request options for getNodeInfo without sending the request
|
|
96
109
|
*/
|
|
97
|
-
|
|
110
|
+
getNodeInfoRequestOpts() {
|
|
98
111
|
return __awaiter(this, void 0, void 0, function* () {
|
|
99
112
|
const queryParameters = {};
|
|
100
113
|
const headerParameters = {};
|
|
101
114
|
let urlPath = `/node/info`;
|
|
102
|
-
|
|
115
|
+
return {
|
|
103
116
|
path: urlPath,
|
|
104
117
|
method: 'GET',
|
|
105
118
|
headers: headerParameters,
|
|
106
119
|
query: queryParameters,
|
|
107
|
-
}
|
|
108
|
-
|
|
120
|
+
};
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Supplies additional information about the application running on a node.
|
|
125
|
+
* Get the node information
|
|
126
|
+
*/
|
|
127
|
+
getNodeInfoRaw(initOverrides) {
|
|
128
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
129
|
+
const requestOptions = yield this.getNodeInfoRequestOpts();
|
|
130
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
131
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, NodeInfoDTO_1.NodeInfoDTOFromJSON)(jsonValue));
|
|
109
132
|
});
|
|
110
133
|
}
|
|
111
134
|
/**
|
|
@@ -119,20 +142,29 @@ class NodeRoutesApi extends runtime.BaseAPI {
|
|
|
119
142
|
});
|
|
120
143
|
}
|
|
121
144
|
/**
|
|
122
|
-
*
|
|
123
|
-
* Retrieve node metadata
|
|
145
|
+
* Creates request options for getNodeMetadata without sending the request
|
|
124
146
|
*/
|
|
125
|
-
|
|
147
|
+
getNodeMetadataRequestOpts() {
|
|
126
148
|
return __awaiter(this, void 0, void 0, function* () {
|
|
127
149
|
const queryParameters = {};
|
|
128
150
|
const headerParameters = {};
|
|
129
151
|
let urlPath = `/node/metadata`;
|
|
130
|
-
|
|
152
|
+
return {
|
|
131
153
|
path: urlPath,
|
|
132
154
|
method: 'GET',
|
|
133
155
|
headers: headerParameters,
|
|
134
156
|
query: queryParameters,
|
|
135
|
-
}
|
|
157
|
+
};
|
|
158
|
+
});
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* Gets the node metadata information that has been set by the node operator. **How to set:** Add a top-level `nodeMetadata` object in the REST server JSON configuration file. Example: ```json { \"nodeMetadata\": { \"deploymentTool\": \"symbol-shoestring\", \"version\": \"1.0.0\", \"customLabel\": \"my-node\" } } ``` The entire `nodeMetadata` object is served as-is; add any key-value pairs to personalize your node.
|
|
162
|
+
* Retrieve node metadata
|
|
163
|
+
*/
|
|
164
|
+
getNodeMetadataRaw(initOverrides) {
|
|
165
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
166
|
+
const requestOptions = yield this.getNodeMetadataRequestOpts();
|
|
167
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
136
168
|
return new runtime.JSONApiResponse(response);
|
|
137
169
|
});
|
|
138
170
|
}
|
|
@@ -147,21 +179,30 @@ class NodeRoutesApi extends runtime.BaseAPI {
|
|
|
147
179
|
});
|
|
148
180
|
}
|
|
149
181
|
/**
|
|
150
|
-
*
|
|
151
|
-
* Get peers information
|
|
182
|
+
* Creates request options for getNodePeers without sending the request
|
|
152
183
|
*/
|
|
153
|
-
|
|
184
|
+
getNodePeersRequestOpts() {
|
|
154
185
|
return __awaiter(this, void 0, void 0, function* () {
|
|
155
186
|
const queryParameters = {};
|
|
156
187
|
const headerParameters = {};
|
|
157
188
|
let urlPath = `/node/peers`;
|
|
158
|
-
|
|
189
|
+
return {
|
|
159
190
|
path: urlPath,
|
|
160
191
|
method: 'GET',
|
|
161
192
|
headers: headerParameters,
|
|
162
193
|
query: queryParameters,
|
|
163
|
-
}
|
|
164
|
-
|
|
194
|
+
};
|
|
195
|
+
});
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
* Gets the list of peers visible by the node.
|
|
199
|
+
* Get peers information
|
|
200
|
+
*/
|
|
201
|
+
getNodePeersRaw(initOverrides) {
|
|
202
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
203
|
+
const requestOptions = yield this.getNodePeersRequestOpts();
|
|
204
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
205
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(NodeInfoDTO_1.NodeInfoDTOFromJSON));
|
|
165
206
|
});
|
|
166
207
|
}
|
|
167
208
|
/**
|
|
@@ -175,21 +216,30 @@ class NodeRoutesApi extends runtime.BaseAPI {
|
|
|
175
216
|
});
|
|
176
217
|
}
|
|
177
218
|
/**
|
|
178
|
-
*
|
|
179
|
-
* Get the storage information of the node
|
|
219
|
+
* Creates request options for getNodeStorage without sending the request
|
|
180
220
|
*/
|
|
181
|
-
|
|
221
|
+
getNodeStorageRequestOpts() {
|
|
182
222
|
return __awaiter(this, void 0, void 0, function* () {
|
|
183
223
|
const queryParameters = {};
|
|
184
224
|
const headerParameters = {};
|
|
185
225
|
let urlPath = `/node/storage`;
|
|
186
|
-
|
|
226
|
+
return {
|
|
187
227
|
path: urlPath,
|
|
188
228
|
method: 'GET',
|
|
189
229
|
headers: headerParameters,
|
|
190
230
|
query: queryParameters,
|
|
191
|
-
}
|
|
192
|
-
|
|
231
|
+
};
|
|
232
|
+
});
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* Returns estimated counts of blocks, transactions, and accounts in the REST server\'s MongoDB database, along with database size statistics (`db.stats()`).
|
|
236
|
+
* Get the storage information of the node
|
|
237
|
+
*/
|
|
238
|
+
getNodeStorageRaw(initOverrides) {
|
|
239
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
240
|
+
const requestOptions = yield this.getNodeStorageRequestOpts();
|
|
241
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
242
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, StorageInfoDTO_1.StorageInfoDTOFromJSON)(jsonValue));
|
|
193
243
|
});
|
|
194
244
|
}
|
|
195
245
|
/**
|
|
@@ -203,21 +253,30 @@ class NodeRoutesApi extends runtime.BaseAPI {
|
|
|
203
253
|
});
|
|
204
254
|
}
|
|
205
255
|
/**
|
|
206
|
-
*
|
|
207
|
-
* Get the node time
|
|
256
|
+
* Creates request options for getNodeTime without sending the request
|
|
208
257
|
*/
|
|
209
|
-
|
|
258
|
+
getNodeTimeRequestOpts() {
|
|
210
259
|
return __awaiter(this, void 0, void 0, function* () {
|
|
211
260
|
const queryParameters = {};
|
|
212
261
|
const headerParameters = {};
|
|
213
262
|
let urlPath = `/node/time`;
|
|
214
|
-
|
|
263
|
+
return {
|
|
215
264
|
path: urlPath,
|
|
216
265
|
method: 'GET',
|
|
217
266
|
headers: headerParameters,
|
|
218
267
|
query: queryParameters,
|
|
219
|
-
}
|
|
220
|
-
|
|
268
|
+
};
|
|
269
|
+
});
|
|
270
|
+
}
|
|
271
|
+
/**
|
|
272
|
+
* Gets the node time at the moment the reply was sent and received.
|
|
273
|
+
* Get the node time
|
|
274
|
+
*/
|
|
275
|
+
getNodeTimeRaw(initOverrides) {
|
|
276
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
277
|
+
const requestOptions = yield this.getNodeTimeRequestOpts();
|
|
278
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
279
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, NodeTimeDTO_1.NodeTimeDTOFromJSON)(jsonValue));
|
|
221
280
|
});
|
|
222
281
|
}
|
|
223
282
|
/**
|
|
@@ -231,21 +290,30 @@ class NodeRoutesApi extends runtime.BaseAPI {
|
|
|
231
290
|
});
|
|
232
291
|
}
|
|
233
292
|
/**
|
|
234
|
-
*
|
|
235
|
-
* Get the version of the running REST component
|
|
293
|
+
* Creates request options for getServerInfo without sending the request
|
|
236
294
|
*/
|
|
237
|
-
|
|
295
|
+
getServerInfoRequestOpts() {
|
|
238
296
|
return __awaiter(this, void 0, void 0, function* () {
|
|
239
297
|
const queryParameters = {};
|
|
240
298
|
const headerParameters = {};
|
|
241
299
|
let urlPath = `/node/server`;
|
|
242
|
-
|
|
300
|
+
return {
|
|
243
301
|
path: urlPath,
|
|
244
302
|
method: 'GET',
|
|
245
303
|
headers: headerParameters,
|
|
246
304
|
query: queryParameters,
|
|
247
|
-
}
|
|
248
|
-
|
|
305
|
+
};
|
|
306
|
+
});
|
|
307
|
+
}
|
|
308
|
+
/**
|
|
309
|
+
* Returns the version of the running catapult-rest component.
|
|
310
|
+
* Get the version of the running REST component
|
|
311
|
+
*/
|
|
312
|
+
getServerInfoRaw(initOverrides) {
|
|
313
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
314
|
+
const requestOptions = yield this.getServerInfoRequestOpts();
|
|
315
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
316
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, ServerInfoDTO_1.ServerInfoDTOFromJSON)(jsonValue));
|
|
249
317
|
});
|
|
250
318
|
}
|
|
251
319
|
/**
|
|
@@ -259,21 +327,30 @@ class NodeRoutesApi extends runtime.BaseAPI {
|
|
|
259
327
|
});
|
|
260
328
|
}
|
|
261
329
|
/**
|
|
262
|
-
*
|
|
263
|
-
* Get the unlocked harvesting account public keys
|
|
330
|
+
* Creates request options for getUnlockedAccount without sending the request
|
|
264
331
|
*/
|
|
265
|
-
|
|
332
|
+
getUnlockedAccountRequestOpts() {
|
|
266
333
|
return __awaiter(this, void 0, void 0, function* () {
|
|
267
334
|
const queryParameters = {};
|
|
268
335
|
const headerParameters = {};
|
|
269
336
|
let urlPath = `/node/unlockedaccount`;
|
|
270
|
-
|
|
337
|
+
return {
|
|
271
338
|
path: urlPath,
|
|
272
339
|
method: 'GET',
|
|
273
340
|
headers: headerParameters,
|
|
274
341
|
query: queryParameters,
|
|
275
|
-
}
|
|
276
|
-
|
|
342
|
+
};
|
|
343
|
+
});
|
|
344
|
+
}
|
|
345
|
+
/**
|
|
346
|
+
* Returns array of unlocked account public keys.
|
|
347
|
+
* Get the unlocked harvesting account public keys
|
|
348
|
+
*/
|
|
349
|
+
getUnlockedAccountRaw(initOverrides) {
|
|
350
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
351
|
+
const requestOptions = yield this.getUnlockedAccountRequestOpts();
|
|
352
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
353
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, UnlockedAccountDTO_1.UnlockedAccountDTOFromJSON)(jsonValue));
|
|
277
354
|
});
|
|
278
355
|
}
|
|
279
356
|
/**
|
|
@@ -10,39 +10,201 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type
|
|
13
|
+
import { type Order } from '../models/Order';
|
|
14
|
+
import { type ReceiptTypeEnum } from '../models/ReceiptTypeEnum';
|
|
15
|
+
import { type ResolutionStatementPage } from '../models/ResolutionStatementPage';
|
|
16
|
+
import { type TransactionStatementPage } from '../models/TransactionStatementPage';
|
|
14
17
|
export interface SearchAddressResolutionStatementsRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Filter by height (include).
|
|
20
|
+
* The exact meaning depends on the endpoint, for example block height for blocks or inclusion height for
|
|
21
|
+
* confirmed transactions.
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
15
24
|
height?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Select the number of entries to return per page.
|
|
27
|
+
* Values outside the allowed range are clamped to the schema minimum or maximum.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
16
30
|
pageSize?: number;
|
|
31
|
+
/**
|
|
32
|
+
* Page number for numbered pagination (1-based).
|
|
33
|
+
*
|
|
34
|
+
* Numbered and cursor pagination can be combined, but this is not recommended because the semantics
|
|
35
|
+
* are harder to reason about. For cursor-style flows, keep `pageNumber=1` and advance pages by
|
|
36
|
+
* updating only `offset`. For numbered pagination flows, omit `offset` and advance pages by
|
|
37
|
+
* incrementing `pageNumber`.
|
|
38
|
+
*
|
|
39
|
+
*/
|
|
17
40
|
pageNumber?: number;
|
|
41
|
+
/**
|
|
42
|
+
* Cursor for pagination. Provide the value of the sort field (`orderBy`) from the
|
|
43
|
+
* last entry of the previous page. **The offset type must match `orderBy`:**
|
|
44
|
+
* - `orderBy=id`: use the entry's `id` (ObjectId, 24-char hex).
|
|
45
|
+
* - `orderBy=height`: use the block height (string, e.g. `"17592"`).
|
|
46
|
+
* - `orderBy=balance`: use the mosaic balance amount (string, e.g. `"1000000"`).
|
|
47
|
+
*
|
|
48
|
+
* Allowed `orderBy` values depend on the endpoint. If `orderBy` is omitted, `id` is used by default.
|
|
49
|
+
*
|
|
50
|
+
* Set `offset` to the sort-field value of the last entry from the previous page. Across pages,
|
|
51
|
+
* this value decreases with `order=desc` and increases with `order=asc`.
|
|
52
|
+
*
|
|
53
|
+
* Numbered and cursor pagination can be combined, but this is not recommended because the semantics
|
|
54
|
+
* are harder to reason about. For cursor-style flows, keep `pageNumber=1` and advance pages by
|
|
55
|
+
* updating only `offset`. For numbered pagination flows, omit `offset` and advance pages by
|
|
56
|
+
* incrementing `pageNumber`.
|
|
57
|
+
*
|
|
58
|
+
*/
|
|
18
59
|
offset?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Sort responses in ascending or descending order based on the collection property set on the param `orderBy`.
|
|
62
|
+
* If the request does not specify `orderBy`, REST returns the collection ordered by id.
|
|
63
|
+
* The default sort direction depends on the endpoint implementation.
|
|
64
|
+
*
|
|
65
|
+
*/
|
|
19
66
|
order?: Order;
|
|
20
67
|
}
|
|
21
68
|
export interface SearchMosaicResolutionStatementsRequest {
|
|
69
|
+
/**
|
|
70
|
+
* Filter by height (include).
|
|
71
|
+
* The exact meaning depends on the endpoint, for example block height for blocks or inclusion height for
|
|
72
|
+
* confirmed transactions.
|
|
73
|
+
*
|
|
74
|
+
*/
|
|
22
75
|
height?: string;
|
|
76
|
+
/**
|
|
77
|
+
* Select the number of entries to return per page.
|
|
78
|
+
* Values outside the allowed range are clamped to the schema minimum or maximum.
|
|
79
|
+
*
|
|
80
|
+
*/
|
|
23
81
|
pageSize?: number;
|
|
82
|
+
/**
|
|
83
|
+
* Page number for numbered pagination (1-based).
|
|
84
|
+
*
|
|
85
|
+
* Numbered and cursor pagination can be combined, but this is not recommended because the semantics
|
|
86
|
+
* are harder to reason about. For cursor-style flows, keep `pageNumber=1` and advance pages by
|
|
87
|
+
* updating only `offset`. For numbered pagination flows, omit `offset` and advance pages by
|
|
88
|
+
* incrementing `pageNumber`.
|
|
89
|
+
*
|
|
90
|
+
*/
|
|
24
91
|
pageNumber?: number;
|
|
92
|
+
/**
|
|
93
|
+
* Cursor for pagination. Provide the value of the sort field (`orderBy`) from the
|
|
94
|
+
* last entry of the previous page. **The offset type must match `orderBy`:**
|
|
95
|
+
* - `orderBy=id`: use the entry's `id` (ObjectId, 24-char hex).
|
|
96
|
+
* - `orderBy=height`: use the block height (string, e.g. `"17592"`).
|
|
97
|
+
* - `orderBy=balance`: use the mosaic balance amount (string, e.g. `"1000000"`).
|
|
98
|
+
*
|
|
99
|
+
* Allowed `orderBy` values depend on the endpoint. If `orderBy` is omitted, `id` is used by default.
|
|
100
|
+
*
|
|
101
|
+
* Set `offset` to the sort-field value of the last entry from the previous page. Across pages,
|
|
102
|
+
* this value decreases with `order=desc` and increases with `order=asc`.
|
|
103
|
+
*
|
|
104
|
+
* Numbered and cursor pagination can be combined, but this is not recommended because the semantics
|
|
105
|
+
* are harder to reason about. For cursor-style flows, keep `pageNumber=1` and advance pages by
|
|
106
|
+
* updating only `offset`. For numbered pagination flows, omit `offset` and advance pages by
|
|
107
|
+
* incrementing `pageNumber`.
|
|
108
|
+
*
|
|
109
|
+
*/
|
|
25
110
|
offset?: string;
|
|
111
|
+
/**
|
|
112
|
+
* Sort responses in ascending or descending order based on the collection property set on the param `orderBy`.
|
|
113
|
+
* If the request does not specify `orderBy`, REST returns the collection ordered by id.
|
|
114
|
+
* The default sort direction depends on the endpoint implementation.
|
|
115
|
+
*
|
|
116
|
+
*/
|
|
26
117
|
order?: Order;
|
|
27
118
|
}
|
|
28
119
|
export interface SearchTransactionStatementsRequest {
|
|
120
|
+
/**
|
|
121
|
+
* Filter by height (include).
|
|
122
|
+
* The exact meaning depends on the endpoint, for example block height for blocks or inclusion height for
|
|
123
|
+
* confirmed transactions.
|
|
124
|
+
*
|
|
125
|
+
*/
|
|
29
126
|
height?: string;
|
|
127
|
+
/**
|
|
128
|
+
* Only transactions at or above this block height are returned.
|
|
129
|
+
*/
|
|
30
130
|
fromHeight?: string;
|
|
131
|
+
/**
|
|
132
|
+
* Only transactions at or below this block height are returned.
|
|
133
|
+
*/
|
|
31
134
|
toHeight?: string;
|
|
135
|
+
/**
|
|
136
|
+
* Filter by receipt type code (include).
|
|
137
|
+
* To match multiple receipt types, repeat the query parameter, for example: `receiptType=8515&receiptType=20803`.
|
|
138
|
+
*
|
|
139
|
+
*/
|
|
32
140
|
receiptType?: Array<ReceiptTypeEnum>;
|
|
141
|
+
/**
|
|
142
|
+
* Filter transactions by recipient address in Base32 format (include).
|
|
143
|
+
*/
|
|
33
144
|
recipientAddress?: string;
|
|
145
|
+
/**
|
|
146
|
+
* Filter by sender address in Base32 (include).
|
|
147
|
+
*/
|
|
34
148
|
senderAddress?: string;
|
|
149
|
+
/**
|
|
150
|
+
* Filter by target address in Base32 (include).
|
|
151
|
+
*/
|
|
35
152
|
targetAddress?: string;
|
|
153
|
+
/**
|
|
154
|
+
* Filter by artifact (mosaic or namespace) identifier (include).
|
|
155
|
+
*/
|
|
36
156
|
artifactId?: string;
|
|
157
|
+
/**
|
|
158
|
+
* Select the number of entries to return per page.
|
|
159
|
+
* Values outside the allowed range are clamped to the schema minimum or maximum.
|
|
160
|
+
*
|
|
161
|
+
*/
|
|
37
162
|
pageSize?: number;
|
|
163
|
+
/**
|
|
164
|
+
* Page number for numbered pagination (1-based).
|
|
165
|
+
*
|
|
166
|
+
* Numbered and cursor pagination can be combined, but this is not recommended because the semantics
|
|
167
|
+
* are harder to reason about. For cursor-style flows, keep `pageNumber=1` and advance pages by
|
|
168
|
+
* updating only `offset`. For numbered pagination flows, omit `offset` and advance pages by
|
|
169
|
+
* incrementing `pageNumber`.
|
|
170
|
+
*
|
|
171
|
+
*/
|
|
38
172
|
pageNumber?: number;
|
|
173
|
+
/**
|
|
174
|
+
* Cursor for pagination. Provide the value of the sort field (`orderBy`) from the
|
|
175
|
+
* last entry of the previous page. **The offset type must match `orderBy`:**
|
|
176
|
+
* - `orderBy=id`: use the entry's `id` (ObjectId, 24-char hex).
|
|
177
|
+
* - `orderBy=height`: use the block height (string, e.g. `"17592"`).
|
|
178
|
+
* - `orderBy=balance`: use the mosaic balance amount (string, e.g. `"1000000"`).
|
|
179
|
+
*
|
|
180
|
+
* Allowed `orderBy` values depend on the endpoint. If `orderBy` is omitted, `id` is used by default.
|
|
181
|
+
*
|
|
182
|
+
* Set `offset` to the sort-field value of the last entry from the previous page. Across pages,
|
|
183
|
+
* this value decreases with `order=desc` and increases with `order=asc`.
|
|
184
|
+
*
|
|
185
|
+
* Numbered and cursor pagination can be combined, but this is not recommended because the semantics
|
|
186
|
+
* are harder to reason about. For cursor-style flows, keep `pageNumber=1` and advance pages by
|
|
187
|
+
* updating only `offset`. For numbered pagination flows, omit `offset` and advance pages by
|
|
188
|
+
* incrementing `pageNumber`.
|
|
189
|
+
*
|
|
190
|
+
*/
|
|
39
191
|
offset?: string;
|
|
192
|
+
/**
|
|
193
|
+
* Sort responses in ascending or descending order based on the collection property set on the param `orderBy`.
|
|
194
|
+
* If the request does not specify `orderBy`, REST returns the collection ordered by id.
|
|
195
|
+
* The default sort direction depends on the endpoint implementation.
|
|
196
|
+
*
|
|
197
|
+
*/
|
|
40
198
|
order?: Order;
|
|
41
199
|
}
|
|
42
200
|
/**
|
|
43
201
|
*
|
|
44
202
|
*/
|
|
45
203
|
export declare class ReceiptRoutesApi extends runtime.BaseAPI {
|
|
204
|
+
/**
|
|
205
|
+
* Creates request options for searchAddressResolutionStatements without sending the request
|
|
206
|
+
*/
|
|
207
|
+
searchAddressResolutionStatementsRequestOpts(requestParameters: SearchAddressResolutionStatementsRequest): Promise<runtime.RequestOpts>;
|
|
46
208
|
/**
|
|
47
209
|
* Returns a paginated list of address resolution statements. These statements record how an unresolved address alias used in a transaction was resolved to a concrete address at a given block height. A statement can contain multiple resolution entries because alias resolution may differ by transaction source within the same block.
|
|
48
210
|
* Search address resolution statements
|
|
@@ -53,6 +215,10 @@ export declare class ReceiptRoutesApi extends runtime.BaseAPI {
|
|
|
53
215
|
* Search address resolution statements
|
|
54
216
|
*/
|
|
55
217
|
searchAddressResolutionStatements(requestParameters?: SearchAddressResolutionStatementsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ResolutionStatementPage>;
|
|
218
|
+
/**
|
|
219
|
+
* Creates request options for searchMosaicResolutionStatements without sending the request
|
|
220
|
+
*/
|
|
221
|
+
searchMosaicResolutionStatementsRequestOpts(requestParameters: SearchMosaicResolutionStatementsRequest): Promise<runtime.RequestOpts>;
|
|
56
222
|
/**
|
|
57
223
|
* Returns a paginated list of mosaic resolution statements. These statements record how an unresolved mosaic alias used in a transaction was resolved to a concrete mosaic ID at a given block height. A statement can contain multiple resolution entries because alias resolution may differ by transaction source within the same block.
|
|
58
224
|
* Search mosaic resolution statements
|
|
@@ -63,6 +229,10 @@ export declare class ReceiptRoutesApi extends runtime.BaseAPI {
|
|
|
63
229
|
* Search mosaic resolution statements
|
|
64
230
|
*/
|
|
65
231
|
searchMosaicResolutionStatements(requestParameters?: SearchMosaicResolutionStatementsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ResolutionStatementPage>;
|
|
232
|
+
/**
|
|
233
|
+
* Creates request options for searchTransactionStatements without sending the request
|
|
234
|
+
*/
|
|
235
|
+
searchTransactionStatementsRequestOpts(requestParameters: SearchTransactionStatementsRequest): Promise<runtime.RequestOpts>;
|
|
66
236
|
/**
|
|
67
237
|
* Returns a paginated list of transaction statements generated while confirmed transactions change on-chain state. Each statement is grouped by block height and source and contains the receipts produced by transaction execution, including balance transfers, balance changes, expirations, and inflation. Results can be filtered by block height, receipt type, related addresses, and artifact IDs.
|
|
68
238
|
* Search transaction statements
|
|
@@ -57,16 +57,16 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
57
57
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
58
58
|
exports.ReceiptRoutesApi = void 0;
|
|
59
59
|
const runtime = __importStar(require("../runtime"));
|
|
60
|
-
const
|
|
60
|
+
const ResolutionStatementPage_1 = require("../models/ResolutionStatementPage");
|
|
61
|
+
const TransactionStatementPage_1 = require("../models/TransactionStatementPage");
|
|
61
62
|
/**
|
|
62
63
|
*
|
|
63
64
|
*/
|
|
64
65
|
class ReceiptRoutesApi extends runtime.BaseAPI {
|
|
65
66
|
/**
|
|
66
|
-
*
|
|
67
|
-
* Search address resolution statements
|
|
67
|
+
* Creates request options for searchAddressResolutionStatements without sending the request
|
|
68
68
|
*/
|
|
69
|
-
|
|
69
|
+
searchAddressResolutionStatementsRequestOpts(requestParameters) {
|
|
70
70
|
return __awaiter(this, void 0, void 0, function* () {
|
|
71
71
|
const queryParameters = {};
|
|
72
72
|
if (requestParameters['height'] != null) {
|
|
@@ -86,13 +86,23 @@ class ReceiptRoutesApi extends runtime.BaseAPI {
|
|
|
86
86
|
}
|
|
87
87
|
const headerParameters = {};
|
|
88
88
|
let urlPath = `/statements/resolutions/address`;
|
|
89
|
-
|
|
89
|
+
return {
|
|
90
90
|
path: urlPath,
|
|
91
91
|
method: 'GET',
|
|
92
92
|
headers: headerParameters,
|
|
93
93
|
query: queryParameters,
|
|
94
|
-
}
|
|
95
|
-
|
|
94
|
+
};
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Returns a paginated list of address resolution statements. These statements record how an unresolved address alias used in a transaction was resolved to a concrete address at a given block height. A statement can contain multiple resolution entries because alias resolution may differ by transaction source within the same block.
|
|
99
|
+
* Search address resolution statements
|
|
100
|
+
*/
|
|
101
|
+
searchAddressResolutionStatementsRaw(requestParameters, initOverrides) {
|
|
102
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
103
|
+
const requestOptions = yield this.searchAddressResolutionStatementsRequestOpts(requestParameters);
|
|
104
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
105
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, ResolutionStatementPage_1.ResolutionStatementPageFromJSON)(jsonValue));
|
|
96
106
|
});
|
|
97
107
|
}
|
|
98
108
|
/**
|
|
@@ -106,10 +116,9 @@ class ReceiptRoutesApi extends runtime.BaseAPI {
|
|
|
106
116
|
});
|
|
107
117
|
}
|
|
108
118
|
/**
|
|
109
|
-
*
|
|
110
|
-
* Search mosaic resolution statements
|
|
119
|
+
* Creates request options for searchMosaicResolutionStatements without sending the request
|
|
111
120
|
*/
|
|
112
|
-
|
|
121
|
+
searchMosaicResolutionStatementsRequestOpts(requestParameters) {
|
|
113
122
|
return __awaiter(this, void 0, void 0, function* () {
|
|
114
123
|
const queryParameters = {};
|
|
115
124
|
if (requestParameters['height'] != null) {
|
|
@@ -129,13 +138,23 @@ class ReceiptRoutesApi extends runtime.BaseAPI {
|
|
|
129
138
|
}
|
|
130
139
|
const headerParameters = {};
|
|
131
140
|
let urlPath = `/statements/resolutions/mosaic`;
|
|
132
|
-
|
|
141
|
+
return {
|
|
133
142
|
path: urlPath,
|
|
134
143
|
method: 'GET',
|
|
135
144
|
headers: headerParameters,
|
|
136
145
|
query: queryParameters,
|
|
137
|
-
}
|
|
138
|
-
|
|
146
|
+
};
|
|
147
|
+
});
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* Returns a paginated list of mosaic resolution statements. These statements record how an unresolved mosaic alias used in a transaction was resolved to a concrete mosaic ID at a given block height. A statement can contain multiple resolution entries because alias resolution may differ by transaction source within the same block.
|
|
151
|
+
* Search mosaic resolution statements
|
|
152
|
+
*/
|
|
153
|
+
searchMosaicResolutionStatementsRaw(requestParameters, initOverrides) {
|
|
154
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
155
|
+
const requestOptions = yield this.searchMosaicResolutionStatementsRequestOpts(requestParameters);
|
|
156
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
157
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, ResolutionStatementPage_1.ResolutionStatementPageFromJSON)(jsonValue));
|
|
139
158
|
});
|
|
140
159
|
}
|
|
141
160
|
/**
|
|
@@ -149,10 +168,9 @@ class ReceiptRoutesApi extends runtime.BaseAPI {
|
|
|
149
168
|
});
|
|
150
169
|
}
|
|
151
170
|
/**
|
|
152
|
-
*
|
|
153
|
-
* Search transaction statements
|
|
171
|
+
* Creates request options for searchTransactionStatements without sending the request
|
|
154
172
|
*/
|
|
155
|
-
|
|
173
|
+
searchTransactionStatementsRequestOpts(requestParameters) {
|
|
156
174
|
return __awaiter(this, void 0, void 0, function* () {
|
|
157
175
|
const queryParameters = {};
|
|
158
176
|
if (requestParameters['height'] != null) {
|
|
@@ -193,13 +211,23 @@ class ReceiptRoutesApi extends runtime.BaseAPI {
|
|
|
193
211
|
}
|
|
194
212
|
const headerParameters = {};
|
|
195
213
|
let urlPath = `/statements/transaction`;
|
|
196
|
-
|
|
214
|
+
return {
|
|
197
215
|
path: urlPath,
|
|
198
216
|
method: 'GET',
|
|
199
217
|
headers: headerParameters,
|
|
200
218
|
query: queryParameters,
|
|
201
|
-
}
|
|
202
|
-
|
|
219
|
+
};
|
|
220
|
+
});
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* Returns a paginated list of transaction statements generated while confirmed transactions change on-chain state. Each statement is grouped by block height and source and contains the receipts produced by transaction execution, including balance transfers, balance changes, expirations, and inflation. Results can be filtered by block height, receipt type, related addresses, and artifact IDs.
|
|
224
|
+
* Search transaction statements
|
|
225
|
+
*/
|
|
226
|
+
searchTransactionStatementsRaw(requestParameters, initOverrides) {
|
|
227
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
228
|
+
const requestOptions = yield this.searchTransactionStatementsRequestOpts(requestParameters);
|
|
229
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
230
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, TransactionStatementPage_1.TransactionStatementPageFromJSON)(jsonValue));
|
|
203
231
|
});
|
|
204
232
|
}
|
|
205
233
|
/**
|