@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
|
@@ -10,34 +10,143 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type
|
|
13
|
+
import { type HashLockInfoDTO } from '../models/HashLockInfoDTO';
|
|
14
|
+
import { type HashLockPage } from '../models/HashLockPage';
|
|
15
|
+
import { type MerkleStateInfoDTO } from '../models/MerkleStateInfoDTO';
|
|
16
|
+
import { type Order } from '../models/Order';
|
|
17
|
+
import { type TransactionHashes } from '../models/TransactionHashes';
|
|
14
18
|
export interface GetHashLockRequest {
|
|
19
|
+
/**
|
|
20
|
+
* Filter by hash (include).
|
|
21
|
+
*/
|
|
15
22
|
hash: string;
|
|
16
23
|
}
|
|
17
24
|
export interface GetHashLockMerkleRequest {
|
|
25
|
+
/**
|
|
26
|
+
* Filter by hash (include).
|
|
27
|
+
*/
|
|
18
28
|
hash: string;
|
|
19
29
|
}
|
|
20
30
|
export interface GetHashLocksRequest {
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
21
34
|
transactionHashes: TransactionHashes;
|
|
22
35
|
}
|
|
23
36
|
export interface SearchAccountHashLocksRequest {
|
|
37
|
+
/**
|
|
38
|
+
* Account address in Base32-encoded format.
|
|
39
|
+
*/
|
|
24
40
|
address: string;
|
|
41
|
+
/**
|
|
42
|
+
* Select the number of entries to return per page.
|
|
43
|
+
* Values outside the allowed range are clamped to the schema minimum or maximum.
|
|
44
|
+
*
|
|
45
|
+
*/
|
|
25
46
|
pageSize?: number;
|
|
47
|
+
/**
|
|
48
|
+
* Page number for numbered pagination (1-based).
|
|
49
|
+
*
|
|
50
|
+
* Numbered and cursor pagination can be combined, but this is not recommended because the semantics
|
|
51
|
+
* are harder to reason about. For cursor-style flows, keep `pageNumber=1` and advance pages by
|
|
52
|
+
* updating only `offset`. For numbered pagination flows, omit `offset` and advance pages by
|
|
53
|
+
* incrementing `pageNumber`.
|
|
54
|
+
*
|
|
55
|
+
*/
|
|
26
56
|
pageNumber?: number;
|
|
57
|
+
/**
|
|
58
|
+
* Cursor for pagination. Provide the value of the sort field (`orderBy`) from the
|
|
59
|
+
* last entry of the previous page. **The offset type must match `orderBy`:**
|
|
60
|
+
* - `orderBy=id`: use the entry's `id` (ObjectId, 24-char hex).
|
|
61
|
+
* - `orderBy=height`: use the block height (string, e.g. `"17592"`).
|
|
62
|
+
* - `orderBy=balance`: use the mosaic balance amount (string, e.g. `"1000000"`).
|
|
63
|
+
*
|
|
64
|
+
* Allowed `orderBy` values depend on the endpoint. If `orderBy` is omitted, `id` is used by default.
|
|
65
|
+
*
|
|
66
|
+
* Set `offset` to the sort-field value of the last entry from the previous page. Across pages,
|
|
67
|
+
* this value decreases with `order=desc` and increases with `order=asc`.
|
|
68
|
+
*
|
|
69
|
+
* Numbered and cursor pagination can be combined, but this is not recommended because the semantics
|
|
70
|
+
* are harder to reason about. For cursor-style flows, keep `pageNumber=1` and advance pages by
|
|
71
|
+
* updating only `offset`. For numbered pagination flows, omit `offset` and advance pages by
|
|
72
|
+
* incrementing `pageNumber`.
|
|
73
|
+
*
|
|
74
|
+
*/
|
|
27
75
|
offset?: string;
|
|
76
|
+
/**
|
|
77
|
+
* Sort responses in ascending or descending order based on the collection property set on the param `orderBy`.
|
|
78
|
+
* If the request does not specify `orderBy`, REST returns the collection ordered by id.
|
|
79
|
+
* The default sort direction depends on the endpoint implementation.
|
|
80
|
+
*
|
|
81
|
+
*/
|
|
28
82
|
order?: Order;
|
|
29
83
|
}
|
|
30
84
|
export interface SearchHashLockRequest {
|
|
85
|
+
/**
|
|
86
|
+
* Filter by address (include), in Base32 format.
|
|
87
|
+
*
|
|
88
|
+
* The exact meaning depends on the endpoint:
|
|
89
|
+
* - transaction search: returns transactions where the address appears as the sender, recipient, or cosigner
|
|
90
|
+
* - account search: matches the account address
|
|
91
|
+
* - account restriction search: matches the restricted account address
|
|
92
|
+
* - hash lock and secret lock search: matches the lock owner address
|
|
93
|
+
*
|
|
94
|
+
* On transaction search endpoints, this filter cannot be combined with `recipientAddress` and
|
|
95
|
+
* `signerPublicKey`.
|
|
96
|
+
*
|
|
97
|
+
*/
|
|
31
98
|
address?: string;
|
|
99
|
+
/**
|
|
100
|
+
* Select the number of entries to return per page.
|
|
101
|
+
* Values outside the allowed range are clamped to the schema minimum or maximum.
|
|
102
|
+
*
|
|
103
|
+
*/
|
|
32
104
|
pageSize?: number;
|
|
105
|
+
/**
|
|
106
|
+
* Page number for numbered pagination (1-based).
|
|
107
|
+
*
|
|
108
|
+
* Numbered and cursor pagination can be combined, but this is not recommended because the semantics
|
|
109
|
+
* are harder to reason about. For cursor-style flows, keep `pageNumber=1` and advance pages by
|
|
110
|
+
* updating only `offset`. For numbered pagination flows, omit `offset` and advance pages by
|
|
111
|
+
* incrementing `pageNumber`.
|
|
112
|
+
*
|
|
113
|
+
*/
|
|
33
114
|
pageNumber?: number;
|
|
115
|
+
/**
|
|
116
|
+
* Cursor for pagination. Provide the value of the sort field (`orderBy`) from the
|
|
117
|
+
* last entry of the previous page. **The offset type must match `orderBy`:**
|
|
118
|
+
* - `orderBy=id`: use the entry's `id` (ObjectId, 24-char hex).
|
|
119
|
+
* - `orderBy=height`: use the block height (string, e.g. `"17592"`).
|
|
120
|
+
* - `orderBy=balance`: use the mosaic balance amount (string, e.g. `"1000000"`).
|
|
121
|
+
*
|
|
122
|
+
* Allowed `orderBy` values depend on the endpoint. If `orderBy` is omitted, `id` is used by default.
|
|
123
|
+
*
|
|
124
|
+
* Set `offset` to the sort-field value of the last entry from the previous page. Across pages,
|
|
125
|
+
* this value decreases with `order=desc` and increases with `order=asc`.
|
|
126
|
+
*
|
|
127
|
+
* Numbered and cursor pagination can be combined, but this is not recommended because the semantics
|
|
128
|
+
* are harder to reason about. For cursor-style flows, keep `pageNumber=1` and advance pages by
|
|
129
|
+
* updating only `offset`. For numbered pagination flows, omit `offset` and advance pages by
|
|
130
|
+
* incrementing `pageNumber`.
|
|
131
|
+
*
|
|
132
|
+
*/
|
|
34
133
|
offset?: string;
|
|
134
|
+
/**
|
|
135
|
+
* Sort responses in ascending or descending order based on the collection property set on the param `orderBy`.
|
|
136
|
+
* If the request does not specify `orderBy`, REST returns the collection ordered by id.
|
|
137
|
+
* The default sort direction depends on the endpoint implementation.
|
|
138
|
+
*
|
|
139
|
+
*/
|
|
35
140
|
order?: Order;
|
|
36
141
|
}
|
|
37
142
|
/**
|
|
38
143
|
*
|
|
39
144
|
*/
|
|
40
145
|
export declare class HashLockRoutesApi extends runtime.BaseAPI {
|
|
146
|
+
/**
|
|
147
|
+
* Creates request options for getHashLock without sending the request
|
|
148
|
+
*/
|
|
149
|
+
getHashLockRequestOpts(requestParameters: GetHashLockRequest): Promise<runtime.RequestOpts>;
|
|
41
150
|
/**
|
|
42
151
|
* Returns the hash lock entry associated with the given aggregate bonded transaction hash.
|
|
43
152
|
* Get hash lock information
|
|
@@ -48,6 +157,10 @@ export declare class HashLockRoutesApi extends runtime.BaseAPI {
|
|
|
48
157
|
* Get hash lock information
|
|
49
158
|
*/
|
|
50
159
|
getHashLock(requestParameters: GetHashLockRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<HashLockInfoDTO>;
|
|
160
|
+
/**
|
|
161
|
+
* Creates request options for getHashLockMerkle without sending the request
|
|
162
|
+
*/
|
|
163
|
+
getHashLockMerkleRequestOpts(requestParameters: GetHashLockMerkleRequest): Promise<runtime.RequestOpts>;
|
|
51
164
|
/**
|
|
52
165
|
* Returns the state Merkle proof for the hash lock entry associated with the given aggregate bonded transaction hash.
|
|
53
166
|
* Get hash lock Merkle information
|
|
@@ -58,6 +171,10 @@ export declare class HashLockRoutesApi extends runtime.BaseAPI {
|
|
|
58
171
|
* Get hash lock Merkle information
|
|
59
172
|
*/
|
|
60
173
|
getHashLockMerkle(requestParameters: GetHashLockMerkleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MerkleStateInfoDTO>;
|
|
174
|
+
/**
|
|
175
|
+
* Creates request options for getHashLocks without sending the request
|
|
176
|
+
*/
|
|
177
|
+
getHashLocksRequestOpts(requestParameters: GetHashLocksRequest): Promise<runtime.RequestOpts>;
|
|
61
178
|
/**
|
|
62
179
|
* Returns hash lock entries for the given array of aggregate bonded transaction hashes.
|
|
63
180
|
* Get hash lock information for an array of hashes
|
|
@@ -68,6 +185,10 @@ export declare class HashLockRoutesApi extends runtime.BaseAPI {
|
|
|
68
185
|
* Get hash lock information for an array of hashes
|
|
69
186
|
*/
|
|
70
187
|
getHashLocks(requestParameters: GetHashLocksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<HashLockInfoDTO>>;
|
|
188
|
+
/**
|
|
189
|
+
* Creates request options for searchAccountHashLocks without sending the request
|
|
190
|
+
*/
|
|
191
|
+
searchAccountHashLocksRequestOpts(requestParameters: SearchAccountHashLocksRequest): Promise<runtime.RequestOpts>;
|
|
71
192
|
/**
|
|
72
193
|
* Returns a paginated list of hash lock entries created by the given account address.
|
|
73
194
|
* Search hash lock entries by account
|
|
@@ -78,6 +199,10 @@ export declare class HashLockRoutesApi extends runtime.BaseAPI {
|
|
|
78
199
|
* Search hash lock entries by account
|
|
79
200
|
*/
|
|
80
201
|
searchAccountHashLocks(requestParameters: SearchAccountHashLocksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<HashLockPage>;
|
|
202
|
+
/**
|
|
203
|
+
* Creates request options for searchHashLock without sending the request
|
|
204
|
+
*/
|
|
205
|
+
searchHashLockRequestOpts(requestParameters: SearchHashLockRequest): Promise<runtime.RequestOpts>;
|
|
81
206
|
/**
|
|
82
207
|
* Returns a paginated list of hash lock entries, optionally filtered by owner address.
|
|
83
208
|
* Search hash lock entries
|
|
@@ -12,29 +12,39 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import * as runtime from '../runtime';
|
|
15
|
-
import { HashLockInfoDTOFromJSON,
|
|
15
|
+
import { HashLockInfoDTOFromJSON, } from '../models/HashLockInfoDTO';
|
|
16
|
+
import { HashLockPageFromJSON, } from '../models/HashLockPage';
|
|
17
|
+
import { MerkleStateInfoDTOFromJSON, } from '../models/MerkleStateInfoDTO';
|
|
18
|
+
import { TransactionHashesToJSON, } from '../models/TransactionHashes';
|
|
16
19
|
/**
|
|
17
20
|
*
|
|
18
21
|
*/
|
|
19
22
|
export class HashLockRoutesApi extends runtime.BaseAPI {
|
|
20
23
|
/**
|
|
21
|
-
*
|
|
22
|
-
* Get hash lock information
|
|
24
|
+
* Creates request options for getHashLock without sending the request
|
|
23
25
|
*/
|
|
24
|
-
async
|
|
26
|
+
async getHashLockRequestOpts(requestParameters) {
|
|
25
27
|
if (requestParameters['hash'] == null) {
|
|
26
28
|
throw new runtime.RequiredError('hash', 'Required parameter "hash" was null or undefined when calling getHashLock().');
|
|
27
29
|
}
|
|
28
30
|
const queryParameters = {};
|
|
29
31
|
const headerParameters = {};
|
|
30
32
|
let urlPath = `/lock/hash/{hash}`;
|
|
31
|
-
urlPath = urlPath.replace(
|
|
32
|
-
|
|
33
|
+
urlPath = urlPath.replace('{hash}', encodeURIComponent(String(requestParameters['hash'])));
|
|
34
|
+
return {
|
|
33
35
|
path: urlPath,
|
|
34
36
|
method: 'GET',
|
|
35
37
|
headers: headerParameters,
|
|
36
38
|
query: queryParameters,
|
|
37
|
-
}
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Returns the hash lock entry associated with the given aggregate bonded transaction hash.
|
|
43
|
+
* Get hash lock information
|
|
44
|
+
*/
|
|
45
|
+
async getHashLockRaw(requestParameters, initOverrides) {
|
|
46
|
+
const requestOptions = await this.getHashLockRequestOpts(requestParameters);
|
|
47
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
38
48
|
return new runtime.JSONApiResponse(response, (jsonValue) => HashLockInfoDTOFromJSON(jsonValue));
|
|
39
49
|
}
|
|
40
50
|
/**
|
|
@@ -46,23 +56,30 @@ export class HashLockRoutesApi extends runtime.BaseAPI {
|
|
|
46
56
|
return await response.value();
|
|
47
57
|
}
|
|
48
58
|
/**
|
|
49
|
-
*
|
|
50
|
-
* Get hash lock Merkle information
|
|
59
|
+
* Creates request options for getHashLockMerkle without sending the request
|
|
51
60
|
*/
|
|
52
|
-
async
|
|
61
|
+
async getHashLockMerkleRequestOpts(requestParameters) {
|
|
53
62
|
if (requestParameters['hash'] == null) {
|
|
54
63
|
throw new runtime.RequiredError('hash', 'Required parameter "hash" was null or undefined when calling getHashLockMerkle().');
|
|
55
64
|
}
|
|
56
65
|
const queryParameters = {};
|
|
57
66
|
const headerParameters = {};
|
|
58
67
|
let urlPath = `/lock/hash/{hash}/merkle`;
|
|
59
|
-
urlPath = urlPath.replace(
|
|
60
|
-
|
|
68
|
+
urlPath = urlPath.replace('{hash}', encodeURIComponent(String(requestParameters['hash'])));
|
|
69
|
+
return {
|
|
61
70
|
path: urlPath,
|
|
62
71
|
method: 'GET',
|
|
63
72
|
headers: headerParameters,
|
|
64
73
|
query: queryParameters,
|
|
65
|
-
}
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Returns the state Merkle proof for the hash lock entry associated with the given aggregate bonded transaction hash.
|
|
78
|
+
* Get hash lock Merkle information
|
|
79
|
+
*/
|
|
80
|
+
async getHashLockMerkleRaw(requestParameters, initOverrides) {
|
|
81
|
+
const requestOptions = await this.getHashLockMerkleRequestOpts(requestParameters);
|
|
82
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
66
83
|
return new runtime.JSONApiResponse(response, (jsonValue) => MerkleStateInfoDTOFromJSON(jsonValue));
|
|
67
84
|
}
|
|
68
85
|
/**
|
|
@@ -74,10 +91,9 @@ export class HashLockRoutesApi extends runtime.BaseAPI {
|
|
|
74
91
|
return await response.value();
|
|
75
92
|
}
|
|
76
93
|
/**
|
|
77
|
-
*
|
|
78
|
-
* Get hash lock information for an array of hashes
|
|
94
|
+
* Creates request options for getHashLocks without sending the request
|
|
79
95
|
*/
|
|
80
|
-
async
|
|
96
|
+
async getHashLocksRequestOpts(requestParameters) {
|
|
81
97
|
if (requestParameters['transactionHashes'] == null) {
|
|
82
98
|
throw new runtime.RequiredError('transactionHashes', 'Required parameter "transactionHashes" was null or undefined when calling getHashLocks().');
|
|
83
99
|
}
|
|
@@ -85,13 +101,21 @@ export class HashLockRoutesApi extends runtime.BaseAPI {
|
|
|
85
101
|
const headerParameters = {};
|
|
86
102
|
headerParameters['Content-Type'] = 'application/json';
|
|
87
103
|
let urlPath = `/lock/hash`;
|
|
88
|
-
|
|
104
|
+
return {
|
|
89
105
|
path: urlPath,
|
|
90
106
|
method: 'POST',
|
|
91
107
|
headers: headerParameters,
|
|
92
108
|
query: queryParameters,
|
|
93
109
|
body: TransactionHashesToJSON(requestParameters['transactionHashes']),
|
|
94
|
-
}
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* Returns hash lock entries for the given array of aggregate bonded transaction hashes.
|
|
114
|
+
* Get hash lock information for an array of hashes
|
|
115
|
+
*/
|
|
116
|
+
async getHashLocksRaw(requestParameters, initOverrides) {
|
|
117
|
+
const requestOptions = await this.getHashLocksRequestOpts(requestParameters);
|
|
118
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
95
119
|
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(HashLockInfoDTOFromJSON));
|
|
96
120
|
}
|
|
97
121
|
/**
|
|
@@ -103,10 +127,9 @@ export class HashLockRoutesApi extends runtime.BaseAPI {
|
|
|
103
127
|
return await response.value();
|
|
104
128
|
}
|
|
105
129
|
/**
|
|
106
|
-
*
|
|
107
|
-
* Search hash lock entries by account
|
|
130
|
+
* Creates request options for searchAccountHashLocks without sending the request
|
|
108
131
|
*/
|
|
109
|
-
async
|
|
132
|
+
async searchAccountHashLocksRequestOpts(requestParameters) {
|
|
110
133
|
if (requestParameters['address'] == null) {
|
|
111
134
|
throw new runtime.RequiredError('address', 'Required parameter "address" was null or undefined when calling searchAccountHashLocks().');
|
|
112
135
|
}
|
|
@@ -125,13 +148,21 @@ export class HashLockRoutesApi extends runtime.BaseAPI {
|
|
|
125
148
|
}
|
|
126
149
|
const headerParameters = {};
|
|
127
150
|
let urlPath = `/account/{address}/lock/hash`;
|
|
128
|
-
urlPath = urlPath.replace(
|
|
129
|
-
|
|
151
|
+
urlPath = urlPath.replace('{address}', encodeURIComponent(String(requestParameters['address'])));
|
|
152
|
+
return {
|
|
130
153
|
path: urlPath,
|
|
131
154
|
method: 'GET',
|
|
132
155
|
headers: headerParameters,
|
|
133
156
|
query: queryParameters,
|
|
134
|
-
}
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* Returns a paginated list of hash lock entries created by the given account address.
|
|
161
|
+
* Search hash lock entries by account
|
|
162
|
+
*/
|
|
163
|
+
async searchAccountHashLocksRaw(requestParameters, initOverrides) {
|
|
164
|
+
const requestOptions = await this.searchAccountHashLocksRequestOpts(requestParameters);
|
|
165
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
135
166
|
return new runtime.JSONApiResponse(response, (jsonValue) => HashLockPageFromJSON(jsonValue));
|
|
136
167
|
}
|
|
137
168
|
/**
|
|
@@ -143,10 +174,9 @@ export class HashLockRoutesApi extends runtime.BaseAPI {
|
|
|
143
174
|
return await response.value();
|
|
144
175
|
}
|
|
145
176
|
/**
|
|
146
|
-
*
|
|
147
|
-
* Search hash lock entries
|
|
177
|
+
* Creates request options for searchHashLock without sending the request
|
|
148
178
|
*/
|
|
149
|
-
async
|
|
179
|
+
async searchHashLockRequestOpts(requestParameters) {
|
|
150
180
|
const queryParameters = {};
|
|
151
181
|
if (requestParameters['address'] != null) {
|
|
152
182
|
queryParameters['address'] = requestParameters['address'];
|
|
@@ -165,12 +195,20 @@ export class HashLockRoutesApi extends runtime.BaseAPI {
|
|
|
165
195
|
}
|
|
166
196
|
const headerParameters = {};
|
|
167
197
|
let urlPath = `/lock/hash`;
|
|
168
|
-
|
|
198
|
+
return {
|
|
169
199
|
path: urlPath,
|
|
170
200
|
method: 'GET',
|
|
171
201
|
headers: headerParameters,
|
|
172
202
|
query: queryParameters,
|
|
173
|
-
}
|
|
203
|
+
};
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* Returns a paginated list of hash lock entries, optionally filtered by owner address.
|
|
207
|
+
* Search hash lock entries
|
|
208
|
+
*/
|
|
209
|
+
async searchHashLockRaw(requestParameters, initOverrides) {
|
|
210
|
+
const requestOptions = await this.searchHashLockRequestOpts(requestParameters);
|
|
211
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
174
212
|
return new runtime.JSONApiResponse(response, (jsonValue) => HashLockPageFromJSON(jsonValue));
|
|
175
213
|
}
|
|
176
214
|
/**
|
|
@@ -10,37 +10,125 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type
|
|
13
|
+
import { type CompositeHashes } from '../models/CompositeHashes';
|
|
14
|
+
import { type MerkleStateInfoDTO } from '../models/MerkleStateInfoDTO';
|
|
15
|
+
import { type MetadataInfoDTO } from '../models/MetadataInfoDTO';
|
|
16
|
+
import { type MetadataPage } from '../models/MetadataPage';
|
|
17
|
+
import { type MetadataTypeEnum } from '../models/MetadataTypeEnum';
|
|
18
|
+
import { type Order } from '../models/Order';
|
|
14
19
|
export interface GetMetadataRequest {
|
|
20
|
+
/**
|
|
21
|
+
* Composite hash encoded as a 64-character hexadecimal string.
|
|
22
|
+
*/
|
|
15
23
|
compositeHash: string;
|
|
16
24
|
}
|
|
17
25
|
export interface GetMetadataEntriesRequest {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
18
29
|
compositeHashes: CompositeHashes;
|
|
19
30
|
}
|
|
20
31
|
export interface GetMetadataMerkleRequest {
|
|
32
|
+
/**
|
|
33
|
+
* Composite hash encoded as a 64-character hexadecimal string.
|
|
34
|
+
*/
|
|
21
35
|
compositeHash: string;
|
|
22
36
|
}
|
|
23
37
|
export interface GetMetadataMetalRequest {
|
|
38
|
+
/**
|
|
39
|
+
* Metal identifier: Base58-encoded composite hash of the first metadata chunk.
|
|
40
|
+
*
|
|
41
|
+
*/
|
|
24
42
|
metalId: string;
|
|
43
|
+
/**
|
|
44
|
+
* Override the MIME type of the response.
|
|
45
|
+
*/
|
|
25
46
|
mimeType?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Override the filename in the Content-Disposition header.
|
|
49
|
+
*/
|
|
26
50
|
fileName?: string;
|
|
51
|
+
/**
|
|
52
|
+
* When true, sets Content-Disposition to attachment.
|
|
53
|
+
*/
|
|
27
54
|
download?: boolean;
|
|
28
55
|
}
|
|
29
56
|
export interface SearchMetadataEntriesRequest {
|
|
57
|
+
/**
|
|
58
|
+
* Filter by address sending the metadata entry (include).
|
|
59
|
+
*/
|
|
30
60
|
sourceAddress?: string;
|
|
61
|
+
/**
|
|
62
|
+
* Filter by target address in Base32 (include).
|
|
63
|
+
*/
|
|
31
64
|
targetAddress?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Filter by metadata key (include).
|
|
67
|
+
*/
|
|
32
68
|
scopedMetadataKey?: string;
|
|
69
|
+
/**
|
|
70
|
+
* Filter by namespace or mosaic ID (include).
|
|
71
|
+
*/
|
|
33
72
|
targetId?: string;
|
|
73
|
+
/**
|
|
74
|
+
* Filter by metadata type (include):
|
|
75
|
+
* - `0`: Account metadata
|
|
76
|
+
* - `1`: Mosaic metadata
|
|
77
|
+
* - `2`: Namespace metadata
|
|
78
|
+
*
|
|
79
|
+
*/
|
|
34
80
|
metadataType?: MetadataTypeEnum;
|
|
81
|
+
/**
|
|
82
|
+
* Select the number of entries to return per page.
|
|
83
|
+
* Values outside the allowed range are clamped to the schema minimum or maximum.
|
|
84
|
+
*
|
|
85
|
+
*/
|
|
35
86
|
pageSize?: number;
|
|
87
|
+
/**
|
|
88
|
+
* Page number for numbered pagination (1-based).
|
|
89
|
+
*
|
|
90
|
+
* Numbered and cursor pagination can be combined, but this is not recommended because the semantics
|
|
91
|
+
* are harder to reason about. For cursor-style flows, keep `pageNumber=1` and advance pages by
|
|
92
|
+
* updating only `offset`. For numbered pagination flows, omit `offset` and advance pages by
|
|
93
|
+
* incrementing `pageNumber`.
|
|
94
|
+
*
|
|
95
|
+
*/
|
|
36
96
|
pageNumber?: number;
|
|
97
|
+
/**
|
|
98
|
+
* Cursor for pagination. Provide the value of the sort field (`orderBy`) from the
|
|
99
|
+
* last entry of the previous page. **The offset type must match `orderBy`:**
|
|
100
|
+
* - `orderBy=id`: use the entry's `id` (ObjectId, 24-char hex).
|
|
101
|
+
* - `orderBy=height`: use the block height (string, e.g. `"17592"`).
|
|
102
|
+
* - `orderBy=balance`: use the mosaic balance amount (string, e.g. `"1000000"`).
|
|
103
|
+
*
|
|
104
|
+
* Allowed `orderBy` values depend on the endpoint. If `orderBy` is omitted, `id` is used by default.
|
|
105
|
+
*
|
|
106
|
+
* Set `offset` to the sort-field value of the last entry from the previous page. Across pages,
|
|
107
|
+
* this value decreases with `order=desc` and increases with `order=asc`.
|
|
108
|
+
*
|
|
109
|
+
* Numbered and cursor pagination can be combined, but this is not recommended because the semantics
|
|
110
|
+
* are harder to reason about. For cursor-style flows, keep `pageNumber=1` and advance pages by
|
|
111
|
+
* updating only `offset`. For numbered pagination flows, omit `offset` and advance pages by
|
|
112
|
+
* incrementing `pageNumber`.
|
|
113
|
+
*
|
|
114
|
+
*/
|
|
37
115
|
offset?: string;
|
|
116
|
+
/**
|
|
117
|
+
* Sort responses in ascending or descending order based on the collection property set on the param `orderBy`.
|
|
118
|
+
* If the request does not specify `orderBy`, REST returns the collection ordered by id.
|
|
119
|
+
* The default sort direction depends on the endpoint implementation.
|
|
120
|
+
*
|
|
121
|
+
*/
|
|
38
122
|
order?: Order;
|
|
39
123
|
}
|
|
40
124
|
/**
|
|
41
125
|
*
|
|
42
126
|
*/
|
|
43
127
|
export declare class MetadataRoutesApi extends runtime.BaseAPI {
|
|
128
|
+
/**
|
|
129
|
+
* Creates request options for getMetadata without sending the request
|
|
130
|
+
*/
|
|
131
|
+
getMetadataRequestOpts(requestParameters: GetMetadataRequest): Promise<runtime.RequestOpts>;
|
|
44
132
|
/**
|
|
45
133
|
* Returns the metadata entry associated with the given composite hash.
|
|
46
134
|
* Get metadata information
|
|
@@ -51,6 +139,10 @@ export declare class MetadataRoutesApi extends runtime.BaseAPI {
|
|
|
51
139
|
* Get metadata information
|
|
52
140
|
*/
|
|
53
141
|
getMetadata(requestParameters: GetMetadataRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MetadataInfoDTO>;
|
|
142
|
+
/**
|
|
143
|
+
* Creates request options for getMetadataEntries without sending the request
|
|
144
|
+
*/
|
|
145
|
+
getMetadataEntriesRequestOpts(requestParameters: GetMetadataEntriesRequest): Promise<runtime.RequestOpts>;
|
|
54
146
|
/**
|
|
55
147
|
* Returns the metadata entries associated with the given composite hashes.
|
|
56
148
|
* Get metadata information for an array of composite hashes
|
|
@@ -61,6 +153,10 @@ export declare class MetadataRoutesApi extends runtime.BaseAPI {
|
|
|
61
153
|
* Get metadata information for an array of composite hashes
|
|
62
154
|
*/
|
|
63
155
|
getMetadataEntries(requestParameters: GetMetadataEntriesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<MetadataInfoDTO>>;
|
|
156
|
+
/**
|
|
157
|
+
* Creates request options for getMetadataMerkle without sending the request
|
|
158
|
+
*/
|
|
159
|
+
getMetadataMerkleRequestOpts(requestParameters: GetMetadataMerkleRequest): Promise<runtime.RequestOpts>;
|
|
64
160
|
/**
|
|
65
161
|
* Returns the Merkle proof for the metadata state entry associated with the given composite hash.
|
|
66
162
|
* Get metadata Merkle information
|
|
@@ -71,16 +167,24 @@ export declare class MetadataRoutesApi extends runtime.BaseAPI {
|
|
|
71
167
|
* Get metadata Merkle information
|
|
72
168
|
*/
|
|
73
169
|
getMetadataMerkle(requestParameters: GetMetadataMerkleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MerkleStateInfoDTO>;
|
|
170
|
+
/**
|
|
171
|
+
* Creates request options for getMetadataMetal without sending the request
|
|
172
|
+
*/
|
|
173
|
+
getMetadataMetalRequestOpts(requestParameters: GetMetadataMetalRequest): Promise<runtime.RequestOpts>;
|
|
74
174
|
/**
|
|
75
175
|
* Returns the decoded binary payload stored in Metal metadata entries identified by the given metal id. Metal is a convention for storing chunked binary payloads in metadata entries. See the [metal-on-symbol repository](https://github.com/OPENSPHERE-Inc/metal-on-symbol). The response content type is derived from the stored Metal seal when available, or defaults to `application/octet-stream`. Optional query parameters can override the response headers for content type and filename.
|
|
76
176
|
* Get Metal metadata binary data
|
|
77
177
|
*/
|
|
78
|
-
getMetadataMetalRaw(requestParameters: GetMetadataMetalRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
178
|
+
getMetadataMetalRaw(requestParameters: GetMetadataMetalRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<runtime.HttpFile>>;
|
|
79
179
|
/**
|
|
80
180
|
* Returns the decoded binary payload stored in Metal metadata entries identified by the given metal id. Metal is a convention for storing chunked binary payloads in metadata entries. See the [metal-on-symbol repository](https://github.com/OPENSPHERE-Inc/metal-on-symbol). The response content type is derived from the stored Metal seal when available, or defaults to `application/octet-stream`. Optional query parameters can override the response headers for content type and filename.
|
|
81
181
|
* Get Metal metadata binary data
|
|
82
182
|
*/
|
|
83
|
-
getMetadataMetal(requestParameters: GetMetadataMetalRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
183
|
+
getMetadataMetal(requestParameters: GetMetadataMetalRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.HttpFile>;
|
|
184
|
+
/**
|
|
185
|
+
* Creates request options for searchMetadataEntries without sending the request
|
|
186
|
+
*/
|
|
187
|
+
searchMetadataEntriesRequestOpts(requestParameters: SearchMetadataEntriesRequest): Promise<runtime.RequestOpts>;
|
|
84
188
|
/**
|
|
85
189
|
* Returns a paginated list of metadata entries. Results can be filtered by source address, target address, scoped metadata key, target ID, and metadata type.
|
|
86
190
|
* Search metadata entries
|