From d04449fff9f9b8c1487359a5b6bf64b7b53d0b6b Mon Sep 17 00:00:00 2001 From: Matthew Date: Fri, 3 Mar 2023 16:37:19 -0800 Subject: [PATCH] Add type definitions --- lib/FIOSDK.d.ts | 645 ++++++++++++++++++ lib/FIOSDK.d.ts.map | 1 + lib/entities/AbiResponse.d.ts | 7 + lib/entities/AbiResponse.d.ts.map | 1 + lib/entities/AccountResponse.d.ts | 4 + lib/entities/AccountResponse.d.ts.map | 1 + .../AddBundledTransactionsResponse.d.ts | 5 + .../AddBundledTransactionsResponse.d.ts.map | 1 + lib/entities/AddPublicAddressResponse.d.ts | 6 + .../AddPublicAddressResponse.d.ts.map | 1 + lib/entities/Autorization.d.ts | 6 + lib/entities/Autorization.d.ts.map | 1 + lib/entities/AvailabilityResponse.d.ts | 4 + lib/entities/AvailabilityResponse.d.ts.map | 1 + lib/entities/BalanceResponse.d.ts | 8 + lib/entities/BalanceResponse.d.ts.map | 1 + lib/entities/BurnFioAddressResponse.d.ts | 7 + lib/entities/BurnFioAddressResponse.d.ts.map | 1 + lib/entities/CancelFundsRequestResponse.d.ts | 7 + .../CancelFundsRequestResponse.d.ts.map | 1 + lib/entities/CancelledFioRequestResponse.d.ts | 6 + .../CancelledFioRequestResponse.d.ts.map | 1 + lib/entities/EndPoint.d.ts | 26 + lib/entities/EndPoint.d.ts.map | 1 + lib/entities/FioAddresses.d.ts | 5 + lib/entities/FioAddresses.d.ts.map | 1 + lib/entities/FioAddressesResponse.d.ts | 5 + lib/entities/FioAddressesResponse.d.ts.map | 1 + lib/entities/FioDomain.d.ts | 6 + lib/entities/FioDomain.d.ts.map | 1 + lib/entities/FioDomainsResponse.d.ts | 5 + lib/entities/FioDomainsResponse.d.ts.map | 1 + lib/entities/FioFeeResponse.d.ts | 16 + lib/entities/FioFeeResponse.d.ts.map | 1 + lib/entities/FioInfoResponse.d.ts | 16 + lib/entities/FioInfoResponse.d.ts.map | 1 + lib/entities/FioNamesResponse.d.ts | 7 + lib/entities/FioNamesResponse.d.ts.map | 1 + lib/entities/FioRequest.d.ts | 13 + lib/entities/FioRequest.d.ts.map | 1 + lib/entities/FioRequestStatus.d.ts | 4 + lib/entities/FioRequestStatus.d.ts.map | 1 + lib/entities/FioRequestsItem.d.ts | 11 + lib/entities/FioRequestsItem.d.ts.map | 1 + lib/entities/FioSentRequestsItem.d.ts | 11 + lib/entities/FioSentRequestsItem.d.ts.map | 1 + lib/entities/GetObtDataRecord.d.ts | 11 + lib/entities/GetObtDataRecord.d.ts.map | 1 + lib/entities/GetObtDataResponse.d.ts | 6 + lib/entities/GetObtDataResponse.d.ts.map | 1 + lib/entities/LockPeriod.d.ts | 5 + lib/entities/LockPeriod.d.ts.map | 1 + lib/entities/LocksResponse.d.ts | 10 + lib/entities/LocksResponse.d.ts.map | 1 + lib/entities/NftItem.d.ts | 10 + lib/entities/NftItem.d.ts.map | 1 + lib/entities/NftsResponse.d.ts | 6 + lib/entities/NftsResponse.d.ts.map | 1 + lib/entities/PendingFioRequestsResponse.d.ts | 6 + .../PendingFioRequestsResponse.d.ts.map | 1 + lib/entities/PublicAddress.d.ts | 6 + lib/entities/PublicAddress.d.ts.map | 1 + lib/entities/PublicAddressResponse.d.ts | 4 + lib/entities/PublicAddressResponse.d.ts.map | 1 + lib/entities/PublicAddressesResponse.d.ts | 6 + lib/entities/PublicAddressesResponse.d.ts.map | 1 + lib/entities/RawAction.d.ts | 8 + lib/entities/RawAction.d.ts.map | 1 + lib/entities/RawTransaction.d.ts | 13 + lib/entities/RawTransaction.d.ts.map | 1 + lib/entities/ReceivedFioRequestsResponse.d.ts | 6 + .../ReceivedFioRequestsResponse.d.ts.map | 1 + lib/entities/RecordObtDataRequest.d.ts | 16 + lib/entities/RecordObtDataRequest.d.ts.map | 1 + lib/entities/RecordObtDataResponse.d.ts | 7 + lib/entities/RecordObtDataResponse.d.ts.map | 1 + lib/entities/RegisterFioAddressResponse.d.ts | 8 + .../RegisterFioAddressResponse.d.ts.map | 1 + lib/entities/RegisterFioDomainResponse.d.ts | 8 + .../RegisterFioDomainResponse.d.ts.map | 1 + lib/entities/RejectFundsResponse.d.ts | 7 + lib/entities/RejectFundsResponse.d.ts.map | 1 + .../RemoveAllPublicAddressesResponse.d.ts | 7 + .../RemoveAllPublicAddressesResponse.d.ts.map | 1 + .../RemovePublicAddressesResponse.d.ts | 7 + .../RemovePublicAddressesResponse.d.ts.map | 1 + lib/entities/RenewFioAddressResponse.d.ts | 8 + lib/entities/RenewFioAddressResponse.d.ts.map | 1 + lib/entities/RenewFioDomainResponse.d.ts | 7 + lib/entities/RenewFioDomainResponse.d.ts.map | 1 + lib/entities/RequestFundsResponse.d.ts | 8 + lib/entities/RequestFundsResponse.d.ts.map | 1 + lib/entities/SentFioRequest.d.ts | 12 + lib/entities/SentFioRequest.d.ts.map | 1 + lib/entities/SentFioRequestsResponse.d.ts | 6 + lib/entities/SentFioRequestsResponse.d.ts.map | 1 + .../SetFioDomainVisibilityResponse.d.ts | 7 + .../SetFioDomainVisibilityResponse.d.ts.map | 1 + lib/entities/TransactionResponse.d.ts | 8 + lib/entities/TransactionResponse.d.ts.map | 1 + lib/entities/TransferFioAddressResponse.d.ts | 7 + .../TransferFioAddressResponse.d.ts.map | 1 + lib/entities/TransferFioDomainResponse.d.ts | 7 + .../TransferFioDomainResponse.d.ts.map | 1 + .../TransferLockedTokensResponse.d.ts | 5 + .../TransferLockedTokensResponse.d.ts.map | 1 + lib/entities/TransferTokensResponse.d.ts | 7 + lib/entities/TransferTokensResponse.d.ts.map | 1 + lib/entities/ValidationError.d.ts | 9 + lib/entities/ValidationError.d.ts.map | 1 + lib/entities/index.d.ts | 2 + lib/entities/index.d.ts.map | 1 + lib/entities/responses.d.ts | 37 + lib/entities/responses.d.ts.map | 1 + lib/providers/SignatureProvider.d.ts | 5 + lib/providers/SignatureProvider.d.ts.map | 1 + lib/transactions/Transactions.d.ts | 89 +++ lib/transactions/Transactions.d.ts.map | 1 + .../queries/AvailabilityCheck.d.ts | 11 + .../queries/AvailabilityCheck.d.ts.map | 1 + .../queries/CancelledFioRequests.d.ts | 17 + .../queries/CancelledFioRequests.d.ts.map | 1 + lib/transactions/queries/GetAbi.d.ts | 11 + lib/transactions/queries/GetAbi.d.ts.map | 1 + lib/transactions/queries/GetAccount.d.ts | 11 + lib/transactions/queries/GetAccount.d.ts.map | 1 + lib/transactions/queries/GetAddresses.d.ts | 15 + .../queries/GetAddresses.d.ts.map | 1 + lib/transactions/queries/GetDomains.d.ts | 15 + lib/transactions/queries/GetDomains.d.ts.map | 1 + lib/transactions/queries/GetFee.d.ts | 13 + lib/transactions/queries/GetFee.d.ts.map | 1 + lib/transactions/queries/GetFioBalance.d.ts | 11 + .../queries/GetFioBalance.d.ts.map | 1 + lib/transactions/queries/GetLocks.d.ts | 11 + lib/transactions/queries/GetLocks.d.ts.map | 1 + lib/transactions/queries/GetNames.d.ts | 11 + lib/transactions/queries/GetNames.d.ts.map | 1 + .../queries/GetNftsByContract.d.ts | 19 + .../queries/GetNftsByContract.d.ts.map | 1 + .../queries/GetNftsByFioAddress.d.ts | 15 + .../queries/GetNftsByFioAddress.d.ts.map | 1 + lib/transactions/queries/GetNftsByHash.d.ts | 15 + .../queries/GetNftsByHash.d.ts.map | 1 + lib/transactions/queries/GetObtData.d.ts | 18 + lib/transactions/queries/GetObtData.d.ts.map | 1 + lib/transactions/queries/GetOracleFees.d.ts | 8 + .../queries/GetOracleFees.d.ts.map | 1 + .../queries/GetPublicAddress.d.ts | 15 + .../queries/GetPublicAddress.d.ts.map | 1 + .../queries/GetPublicAddresses.d.ts | 15 + .../queries/GetPublicAddresses.d.ts.map | 1 + .../queries/PendingFioRequests.d.ts | 17 + .../queries/PendingFioRequests.d.ts.map | 1 + lib/transactions/queries/Query.d.ts | 10 + lib/transactions/queries/Query.d.ts.map | 1 + .../queries/ReceivedFioRequests.d.ts | 18 + .../queries/ReceivedFioRequests.d.ts.map | 1 + lib/transactions/queries/SentFioRequests.d.ts | 18 + .../queries/SentFioRequests.d.ts.map | 1 + lib/transactions/queries/index.d.ts | 21 + lib/transactions/queries/index.d.ts.map | 1 + .../signed/AddBundledTransactions.d.ts | 13 + .../signed/AddBundledTransactions.d.ts.map | 1 + lib/transactions/signed/AddPublicAddress.d.ts | 14 + .../signed/AddPublicAddress.d.ts.map | 1 + lib/transactions/signed/BurnFioAddress.d.ts | 12 + .../signed/BurnFioAddress.d.ts.map | 1 + .../signed/CancelFundsRequest.d.ts | 12 + .../signed/CancelFundsRequest.d.ts.map | 1 + .../signed/MockRegisterFioName.d.ts | 11 + .../signed/MockRegisterFioName.d.ts.map | 1 + lib/transactions/signed/PushTransaction.d.ts | 15 + .../signed/PushTransaction.d.ts.map | 1 + lib/transactions/signed/RecordObtData.d.ts | 19 + .../signed/RecordObtData.d.ts.map | 1 + .../signed/RegisterFioAddress.d.ts | 13 + .../signed/RegisterFioAddress.d.ts.map | 1 + .../signed/RegisterFioDomain.d.ts | 13 + .../signed/RegisterFioDomain.d.ts.map | 1 + .../signed/RejectFundsRequest.d.ts | 12 + .../signed/RejectFundsRequest.d.ts.map | 1 + .../signed/RemoveAllPublicAddresses.d.ts | 12 + .../signed/RemoveAllPublicAddresses.d.ts.map | 1 + .../signed/RemovePublicAddresses.d.ts | 14 + .../signed/RemovePublicAddresses.d.ts.map | 1 + lib/transactions/signed/RenewFioAddress.d.ts | 12 + .../signed/RenewFioAddress.d.ts.map | 1 + lib/transactions/signed/RenewFioDomain.d.ts | 12 + .../signed/RenewFioDomain.d.ts.map | 1 + lib/transactions/signed/RequestNewFunds.d.ts | 17 + .../signed/RequestNewFunds.d.ts.map | 1 + .../signed/SetFioDomainVisibility.d.ts | 13 + .../signed/SetFioDomainVisibility.d.ts.map | 1 + .../signed/SignedTransaction.d.ts | 39 ++ .../signed/SignedTransaction.d.ts.map | 1 + .../signed/TransferFioAddress.d.ts | 13 + .../signed/TransferFioAddress.d.ts.map | 1 + .../signed/TransferFioDomain.d.ts | 13 + .../signed/TransferFioDomain.d.ts.map | 1 + .../signed/TransferLockedTokens.d.ts | 16 + .../signed/TransferLockedTokens.d.ts.map | 1 + lib/transactions/signed/TransferTokens.d.ts | 14 + .../signed/TransferTokens.d.ts.map | 1 + lib/transactions/signed/index.d.ts | 21 + lib/transactions/signed/index.d.ts.map | 1 + lib/utils/constants.d.ts | 8 + lib/utils/constants.d.ts.map | 1 + lib/utils/validation.d.ts | 393 +++++++++++ lib/utils/validation.d.ts.map | 1 + package.json | 1 + tsconfig.json | 5 +- 212 files changed, 2367 insertions(+), 1 deletion(-) create mode 100644 lib/FIOSDK.d.ts create mode 100644 lib/FIOSDK.d.ts.map create mode 100644 lib/entities/AbiResponse.d.ts create mode 100644 lib/entities/AbiResponse.d.ts.map create mode 100644 lib/entities/AccountResponse.d.ts create mode 100644 lib/entities/AccountResponse.d.ts.map create mode 100644 lib/entities/AddBundledTransactionsResponse.d.ts create mode 100644 lib/entities/AddBundledTransactionsResponse.d.ts.map create mode 100644 lib/entities/AddPublicAddressResponse.d.ts create mode 100644 lib/entities/AddPublicAddressResponse.d.ts.map create mode 100644 lib/entities/Autorization.d.ts create mode 100644 lib/entities/Autorization.d.ts.map create mode 100644 lib/entities/AvailabilityResponse.d.ts create mode 100644 lib/entities/AvailabilityResponse.d.ts.map create mode 100644 lib/entities/BalanceResponse.d.ts create mode 100644 lib/entities/BalanceResponse.d.ts.map create mode 100644 lib/entities/BurnFioAddressResponse.d.ts create mode 100644 lib/entities/BurnFioAddressResponse.d.ts.map create mode 100644 lib/entities/CancelFundsRequestResponse.d.ts create mode 100644 lib/entities/CancelFundsRequestResponse.d.ts.map create mode 100644 lib/entities/CancelledFioRequestResponse.d.ts create mode 100644 lib/entities/CancelledFioRequestResponse.d.ts.map create mode 100644 lib/entities/EndPoint.d.ts create mode 100644 lib/entities/EndPoint.d.ts.map create mode 100644 lib/entities/FioAddresses.d.ts create mode 100644 lib/entities/FioAddresses.d.ts.map create mode 100644 lib/entities/FioAddressesResponse.d.ts create mode 100644 lib/entities/FioAddressesResponse.d.ts.map create mode 100644 lib/entities/FioDomain.d.ts create mode 100644 lib/entities/FioDomain.d.ts.map create mode 100644 lib/entities/FioDomainsResponse.d.ts create mode 100644 lib/entities/FioDomainsResponse.d.ts.map create mode 100644 lib/entities/FioFeeResponse.d.ts create mode 100644 lib/entities/FioFeeResponse.d.ts.map create mode 100644 lib/entities/FioInfoResponse.d.ts create mode 100644 lib/entities/FioInfoResponse.d.ts.map create mode 100644 lib/entities/FioNamesResponse.d.ts create mode 100644 lib/entities/FioNamesResponse.d.ts.map create mode 100644 lib/entities/FioRequest.d.ts create mode 100644 lib/entities/FioRequest.d.ts.map create mode 100644 lib/entities/FioRequestStatus.d.ts create mode 100644 lib/entities/FioRequestStatus.d.ts.map create mode 100644 lib/entities/FioRequestsItem.d.ts create mode 100644 lib/entities/FioRequestsItem.d.ts.map create mode 100644 lib/entities/FioSentRequestsItem.d.ts create mode 100644 lib/entities/FioSentRequestsItem.d.ts.map create mode 100644 lib/entities/GetObtDataRecord.d.ts create mode 100644 lib/entities/GetObtDataRecord.d.ts.map create mode 100644 lib/entities/GetObtDataResponse.d.ts create mode 100644 lib/entities/GetObtDataResponse.d.ts.map create mode 100644 lib/entities/LockPeriod.d.ts create mode 100644 lib/entities/LockPeriod.d.ts.map create mode 100644 lib/entities/LocksResponse.d.ts create mode 100644 lib/entities/LocksResponse.d.ts.map create mode 100644 lib/entities/NftItem.d.ts create mode 100644 lib/entities/NftItem.d.ts.map create mode 100644 lib/entities/NftsResponse.d.ts create mode 100644 lib/entities/NftsResponse.d.ts.map create mode 100644 lib/entities/PendingFioRequestsResponse.d.ts create mode 100644 lib/entities/PendingFioRequestsResponse.d.ts.map create mode 100644 lib/entities/PublicAddress.d.ts create mode 100644 lib/entities/PublicAddress.d.ts.map create mode 100644 lib/entities/PublicAddressResponse.d.ts create mode 100644 lib/entities/PublicAddressResponse.d.ts.map create mode 100644 lib/entities/PublicAddressesResponse.d.ts create mode 100644 lib/entities/PublicAddressesResponse.d.ts.map create mode 100644 lib/entities/RawAction.d.ts create mode 100644 lib/entities/RawAction.d.ts.map create mode 100644 lib/entities/RawTransaction.d.ts create mode 100644 lib/entities/RawTransaction.d.ts.map create mode 100644 lib/entities/ReceivedFioRequestsResponse.d.ts create mode 100644 lib/entities/ReceivedFioRequestsResponse.d.ts.map create mode 100644 lib/entities/RecordObtDataRequest.d.ts create mode 100644 lib/entities/RecordObtDataRequest.d.ts.map create mode 100644 lib/entities/RecordObtDataResponse.d.ts create mode 100644 lib/entities/RecordObtDataResponse.d.ts.map create mode 100644 lib/entities/RegisterFioAddressResponse.d.ts create mode 100644 lib/entities/RegisterFioAddressResponse.d.ts.map create mode 100644 lib/entities/RegisterFioDomainResponse.d.ts create mode 100644 lib/entities/RegisterFioDomainResponse.d.ts.map create mode 100644 lib/entities/RejectFundsResponse.d.ts create mode 100644 lib/entities/RejectFundsResponse.d.ts.map create mode 100644 lib/entities/RemoveAllPublicAddressesResponse.d.ts create mode 100644 lib/entities/RemoveAllPublicAddressesResponse.d.ts.map create mode 100644 lib/entities/RemovePublicAddressesResponse.d.ts create mode 100644 lib/entities/RemovePublicAddressesResponse.d.ts.map create mode 100644 lib/entities/RenewFioAddressResponse.d.ts create mode 100644 lib/entities/RenewFioAddressResponse.d.ts.map create mode 100644 lib/entities/RenewFioDomainResponse.d.ts create mode 100644 lib/entities/RenewFioDomainResponse.d.ts.map create mode 100644 lib/entities/RequestFundsResponse.d.ts create mode 100644 lib/entities/RequestFundsResponse.d.ts.map create mode 100644 lib/entities/SentFioRequest.d.ts create mode 100644 lib/entities/SentFioRequest.d.ts.map create mode 100644 lib/entities/SentFioRequestsResponse.d.ts create mode 100644 lib/entities/SentFioRequestsResponse.d.ts.map create mode 100644 lib/entities/SetFioDomainVisibilityResponse.d.ts create mode 100644 lib/entities/SetFioDomainVisibilityResponse.d.ts.map create mode 100644 lib/entities/TransactionResponse.d.ts create mode 100644 lib/entities/TransactionResponse.d.ts.map create mode 100644 lib/entities/TransferFioAddressResponse.d.ts create mode 100644 lib/entities/TransferFioAddressResponse.d.ts.map create mode 100644 lib/entities/TransferFioDomainResponse.d.ts create mode 100644 lib/entities/TransferFioDomainResponse.d.ts.map create mode 100644 lib/entities/TransferLockedTokensResponse.d.ts create mode 100644 lib/entities/TransferLockedTokensResponse.d.ts.map create mode 100644 lib/entities/TransferTokensResponse.d.ts create mode 100644 lib/entities/TransferTokensResponse.d.ts.map create mode 100644 lib/entities/ValidationError.d.ts create mode 100644 lib/entities/ValidationError.d.ts.map create mode 100644 lib/entities/index.d.ts create mode 100644 lib/entities/index.d.ts.map create mode 100644 lib/entities/responses.d.ts create mode 100644 lib/entities/responses.d.ts.map create mode 100644 lib/providers/SignatureProvider.d.ts create mode 100644 lib/providers/SignatureProvider.d.ts.map create mode 100644 lib/transactions/Transactions.d.ts create mode 100644 lib/transactions/Transactions.d.ts.map create mode 100644 lib/transactions/queries/AvailabilityCheck.d.ts create mode 100644 lib/transactions/queries/AvailabilityCheck.d.ts.map create mode 100644 lib/transactions/queries/CancelledFioRequests.d.ts create mode 100644 lib/transactions/queries/CancelledFioRequests.d.ts.map create mode 100644 lib/transactions/queries/GetAbi.d.ts create mode 100644 lib/transactions/queries/GetAbi.d.ts.map create mode 100644 lib/transactions/queries/GetAccount.d.ts create mode 100644 lib/transactions/queries/GetAccount.d.ts.map create mode 100644 lib/transactions/queries/GetAddresses.d.ts create mode 100644 lib/transactions/queries/GetAddresses.d.ts.map create mode 100644 lib/transactions/queries/GetDomains.d.ts create mode 100644 lib/transactions/queries/GetDomains.d.ts.map create mode 100644 lib/transactions/queries/GetFee.d.ts create mode 100644 lib/transactions/queries/GetFee.d.ts.map create mode 100644 lib/transactions/queries/GetFioBalance.d.ts create mode 100644 lib/transactions/queries/GetFioBalance.d.ts.map create mode 100644 lib/transactions/queries/GetLocks.d.ts create mode 100644 lib/transactions/queries/GetLocks.d.ts.map create mode 100644 lib/transactions/queries/GetNames.d.ts create mode 100644 lib/transactions/queries/GetNames.d.ts.map create mode 100644 lib/transactions/queries/GetNftsByContract.d.ts create mode 100644 lib/transactions/queries/GetNftsByContract.d.ts.map create mode 100644 lib/transactions/queries/GetNftsByFioAddress.d.ts create mode 100644 lib/transactions/queries/GetNftsByFioAddress.d.ts.map create mode 100644 lib/transactions/queries/GetNftsByHash.d.ts create mode 100644 lib/transactions/queries/GetNftsByHash.d.ts.map create mode 100644 lib/transactions/queries/GetObtData.d.ts create mode 100644 lib/transactions/queries/GetObtData.d.ts.map create mode 100644 lib/transactions/queries/GetOracleFees.d.ts create mode 100644 lib/transactions/queries/GetOracleFees.d.ts.map create mode 100644 lib/transactions/queries/GetPublicAddress.d.ts create mode 100644 lib/transactions/queries/GetPublicAddress.d.ts.map create mode 100644 lib/transactions/queries/GetPublicAddresses.d.ts create mode 100644 lib/transactions/queries/GetPublicAddresses.d.ts.map create mode 100644 lib/transactions/queries/PendingFioRequests.d.ts create mode 100644 lib/transactions/queries/PendingFioRequests.d.ts.map create mode 100644 lib/transactions/queries/Query.d.ts create mode 100644 lib/transactions/queries/Query.d.ts.map create mode 100644 lib/transactions/queries/ReceivedFioRequests.d.ts create mode 100644 lib/transactions/queries/ReceivedFioRequests.d.ts.map create mode 100644 lib/transactions/queries/SentFioRequests.d.ts create mode 100644 lib/transactions/queries/SentFioRequests.d.ts.map create mode 100644 lib/transactions/queries/index.d.ts create mode 100644 lib/transactions/queries/index.d.ts.map create mode 100644 lib/transactions/signed/AddBundledTransactions.d.ts create mode 100644 lib/transactions/signed/AddBundledTransactions.d.ts.map create mode 100644 lib/transactions/signed/AddPublicAddress.d.ts create mode 100644 lib/transactions/signed/AddPublicAddress.d.ts.map create mode 100644 lib/transactions/signed/BurnFioAddress.d.ts create mode 100644 lib/transactions/signed/BurnFioAddress.d.ts.map create mode 100644 lib/transactions/signed/CancelFundsRequest.d.ts create mode 100644 lib/transactions/signed/CancelFundsRequest.d.ts.map create mode 100644 lib/transactions/signed/MockRegisterFioName.d.ts create mode 100644 lib/transactions/signed/MockRegisterFioName.d.ts.map create mode 100644 lib/transactions/signed/PushTransaction.d.ts create mode 100644 lib/transactions/signed/PushTransaction.d.ts.map create mode 100644 lib/transactions/signed/RecordObtData.d.ts create mode 100644 lib/transactions/signed/RecordObtData.d.ts.map create mode 100644 lib/transactions/signed/RegisterFioAddress.d.ts create mode 100644 lib/transactions/signed/RegisterFioAddress.d.ts.map create mode 100644 lib/transactions/signed/RegisterFioDomain.d.ts create mode 100644 lib/transactions/signed/RegisterFioDomain.d.ts.map create mode 100644 lib/transactions/signed/RejectFundsRequest.d.ts create mode 100644 lib/transactions/signed/RejectFundsRequest.d.ts.map create mode 100644 lib/transactions/signed/RemoveAllPublicAddresses.d.ts create mode 100644 lib/transactions/signed/RemoveAllPublicAddresses.d.ts.map create mode 100644 lib/transactions/signed/RemovePublicAddresses.d.ts create mode 100644 lib/transactions/signed/RemovePublicAddresses.d.ts.map create mode 100644 lib/transactions/signed/RenewFioAddress.d.ts create mode 100644 lib/transactions/signed/RenewFioAddress.d.ts.map create mode 100644 lib/transactions/signed/RenewFioDomain.d.ts create mode 100644 lib/transactions/signed/RenewFioDomain.d.ts.map create mode 100644 lib/transactions/signed/RequestNewFunds.d.ts create mode 100644 lib/transactions/signed/RequestNewFunds.d.ts.map create mode 100644 lib/transactions/signed/SetFioDomainVisibility.d.ts create mode 100644 lib/transactions/signed/SetFioDomainVisibility.d.ts.map create mode 100644 lib/transactions/signed/SignedTransaction.d.ts create mode 100644 lib/transactions/signed/SignedTransaction.d.ts.map create mode 100644 lib/transactions/signed/TransferFioAddress.d.ts create mode 100644 lib/transactions/signed/TransferFioAddress.d.ts.map create mode 100644 lib/transactions/signed/TransferFioDomain.d.ts create mode 100644 lib/transactions/signed/TransferFioDomain.d.ts.map create mode 100644 lib/transactions/signed/TransferLockedTokens.d.ts create mode 100644 lib/transactions/signed/TransferLockedTokens.d.ts.map create mode 100644 lib/transactions/signed/TransferTokens.d.ts create mode 100644 lib/transactions/signed/TransferTokens.d.ts.map create mode 100644 lib/transactions/signed/index.d.ts create mode 100644 lib/transactions/signed/index.d.ts.map create mode 100644 lib/utils/constants.d.ts create mode 100644 lib/utils/constants.d.ts.map create mode 100644 lib/utils/validation.d.ts create mode 100644 lib/utils/validation.d.ts.map diff --git a/lib/FIOSDK.d.ts b/lib/FIOSDK.d.ts new file mode 100644 index 00000000..d12ff279 --- /dev/null +++ b/lib/FIOSDK.d.ts @@ -0,0 +1,645 @@ +/// +import { EndPoint } from './entities/EndPoint'; +import { LockPeriod } from './entities/LockPeriod'; +import { PublicAddress } from './entities/PublicAddress'; +import { AccountResponse, AddBundledTransactionsResponse, AddPublicAddressResponse, AvailabilityResponse, BalanceResponse, BurnFioAddressResponse, CancelFundsRequestResponse, CancelledFioRequestResponse, FioAddressesResponse, FioFeeResponse, FioNamesResponse, GetObtDataResponse, LocksResponse, PendingFioRequestsResponse, PublicAddressesResponse, PublicAddressResponse, ReceivedFioRequestsResponse, RecordObtDataResponse, RegisterFioAddressResponse, RegisterFioDomainResponse, RejectFundsResponse, RemoveAllPublicAddressesResponse, RemovePublicAddressesResponse, RenewFioAddressResponse, RenewFioDomainResponse, RequestFundsResponse, SentFioRequestResponse, SetFioDomainVisibilityResponse, TransactionResponse, TransferFioAddressResponse, TransferFioDomainResponse, TransferLockedTokensResponse, TransferTokensResponse } from './entities/responses'; +import { EncryptOptions } from './transactions/signed/PushTransaction'; +import { Transactions } from './transactions/Transactions'; +/** + * @ignore + */ +declare type FetchJson = (uri: string, opts?: object) => Promise; +export declare class FIOSDK { + /** + * @ignore + */ + static ReactNativeFio: any; + /** + * SUFs = Smallest Units of FIO + */ + static SUFUnit: number; + /** + * @ignore + */ + static createPrivateKey(entropy: Buffer): Promise; + /** + * Create a FIO private key. + * + * @param mnemonic mnemonic used to generate a random unique private key. + * @example real flame win provide layer trigger soda erode upset rate beef wrist fame design merit + * + * @returns New FIO private key + */ + static createPrivateKeyMnemonic(mnemonic: string): Promise<{ + fioKey: any; + mnemonic: string; + }>; + /** + * Create a FIO public key. + * + * @param fioPrivateKey FIO private key. + * + * @returns FIO public key derived from the FIO private key. + */ + static derivedPublicKey(fioPrivateKey: string): { + publicKey: any; + }; + /** + * hash a pub key + * + * @param fiopubkey FIO private key. + * + * @returns FIO account derived from pub key. + */ + static accountHash(fiopubkey: string): { + accountnm: string; + }; + /** + * Is the Chain Code Valid? + * + * @param chainCode + * + * @returns Chain Code is Valid + */ + static isChainCodeValid(chainCode: string): boolean; + /** + * Is the Token Code Valid? + * + * @param tokenCode + * + * @returns Token Code is Valid + */ + static isTokenCodeValid(tokenCode: string): boolean; + /** + * Is the FIO Address Valid? + * + * @param fioAddress + * + * @returns Fio Address is Valid + */ + static isFioAddressValid(fioAddress: string): boolean; + /** + * Is the FIO Domain Valid? + * + * @param fioDomain + * + * @returns FIO Domain is Valid + */ + static isFioDomainValid(fioDomain: string): boolean; + /** + * Is the FIO Public Key Valid? + * + * @param fioPublicKey + * + * @returns FIO Public Key is Valid + */ + static isFioPublicKeyValid(fioPublicKey: string): boolean; + /** + * Is the Public Address Valid? + * + * @param publicAddress + * + * @returns Public Address is Valid + */ + static isPublicAddressValid(publicAddress: string): boolean; + /** + * Convert a FIO Token Amount to FIO SUFs + * + * @param amount + * + * 2.568 FIO should be 2568000000 SUFs + * + * @returns FIO SUFs + */ + static amountToSUF(amount: number): number; + /** + * Convert FIO SUFs to a FIO Token amount + * + * @param suf + * + * @returns FIO Token amount + */ + static SUFToAmount(suf: number): number; + transactions: Transactions; + /** + * @ignore + */ + registerMockUrl: string; + /** + * the fio private key of the client sending requests to FIO API. + */ + privateKey: string; + /** + * the fio public key of the client sending requests to FIO API. + */ + publicKey: string; + /** + * Default FIO Address of the wallet which generates transactions. + */ + technologyProviderId: string; + /** + * Defines whether SignedTransaction would execute or return prepared transaction + */ + private returnPreparedTrx; + /** + * // how to instantiate fetchJson parameter + * i.e. + * fetch = require('node-fetch') + * + * const fetchJson = async (uri, opts = {}) => { + * return fetch(uri, opts) + * } + * + * @param privateKey the fio private key of the client sending requests to FIO API. + * @param publicKey the fio public key of the client sending requests to FIO API. + * @param baseUrl the url to the FIO API. + * @param fetchjson - the module to use for HTTP Post/Get calls (see above for example) + * @param registerMockUrl the url to the mock server + * @param technologyProviderId Default FIO Address of the wallet which generates transactions. + */ + constructor(privateKey: string, publicKey: string, baseUrl: string, fetchjson: FetchJson, registerMockUrl?: string, technologyProviderId?: string, returnPreparedTrx?: boolean); + /** + * Retrieves the FIO public key assigned to the FIOSDK instance. + */ + getFioPublicKey(): string; + /** + * Returns technologyProviderId or default + */ + getTechnologyProviderId(technologyProviderId: string | null): string; + /** + * Set returnPreparedTrx + */ + setSignedTrxReturnOption(returnPreparedTrx: boolean): void; + /** + * Execute prepared transaction. + * + * @param endPoint endpoint. + * @param preparedTrx + */ + executePreparedTrx(endPoint: string, preparedTrx: object): Promise; + /** + * Registers a FIO Address on the FIO blockchain. The owner will be the public key associated with the FIO SDK instance. + * + * @param fioAddress FIO Address to register. + * @param maxFee Maximum amount of SUFs the user is willing to pay for fee. Should be preceded by @ [getFee] for correct value. + * @param technologyProviderId FIO Address of the wallet which generates this transaction. + */ + registerFioAddress(fioAddress: string, maxFee: number, technologyProviderId?: string | null): Promise; + /** + * Registers a Fio Address on behalf of the owner FIO Public key parameter. Owner FIO Public key owns the FIO address + * + * @param fioAddress FIO Address to register. + * @param ownerPublicKey Owner FIO Public Key. + * @param maxFee Maximum amount of SUFs the user is willing to pay for fee. Should be preceded by @ [getFee] for correct value. + * @param technologyProviderId FIO Address of the wallet which generates this transaction. + */ + registerOwnerFioAddress(fioAddress: string, ownerPublicKey: string, maxFee: number, technologyProviderId?: string | null): Promise; + /** + * Registers a FIO Domain on the FIO blockchain. + * + * @param fioDomain FIO Domain to register. The owner will be the public key associated with the FIO SDK instance. + * @param maxFee Maximum amount of SUFs the user is willing to pay for fee. Should be preceded by @ [getFee] for correct value. + * @param technologyProviderId FIO Address of the wallet which generates this transaction. + */ + registerFioDomain(fioDomain: string, maxFee: number, technologyProviderId?: string | null): Promise; + /** + * Registers a FIO Domain on behalf of the owner FIO Public key parameter. Owner FIO Public key owns the FIO domain. + * + * @param fioDomain FIO Domain to register. The owner will be the public key associated with the FIO SDK instance. + * @param ownerPublicKey Owner FIO Public Key. + * @param maxFee Maximum amount of SUFs the user is willing to pay for fee. Should be preceded by @ [getFee] for correct value. + * @param technologyProviderId FIO Address of the wallet which generates this transaction. + */ + registerOwnerFioDomain(fioDomain: string, ownerPublicKey: string, maxFee: number, technologyProviderId?: string | null): Promise; + /** + * Burns a FIO Address on the FIO blockchain. + * + * @param fioAddress FIO Address to burn. The owner will be the public key associated with the FIO SDK instance. + * @param maxFee Maximum amount of SUFs the user is willing to pay for fee. Should be preceded by @ [getFee] for correct value. + * @param technologyProviderId FIO Address of the wallet which generates this transaction. + */ + burnFioAddress(fioAddress: string, maxFee: number, technologyProviderId?: string | null): Promise; + /** + * Transfers a FIO Domain on the FIO blockchain. + * + * @param fioDomain FIO Domain to transfer. The owner will be the public key associated with the FIO SDK instance. + * @param newOwnerKey FIO Public Key of the new owner. + * @param maxFee Maximum amount of SUFs the user is willing to pay for fee. Should be preceded by @ [getFee] for correct value. + * @param technologyProviderId FIO Address of the wallet which generates this transaction. + */ + transferFioDomain(fioDomain: string, newOwnerKey: string, maxFee: number, technologyProviderId?: string | null): Promise; + /** + * Transfers a FIO Address on the FIO blockchain. + * + * @param fioAddress FIO Address to transfer. The owner will be the public key associated with the FIO SDK instance. + * @param newOwnerKey FIO Public Key of the new owner. + * @param maxFee Maximum amount of SUFs the user is willing to pay for fee. Should be preceded by @ [getFee] for correct value. + * @param technologyProviderId FIO Address of the wallet which generates this transaction. + */ + transferFioAddress(fioAddress: string, newOwnerKey: string, maxFee: number, technologyProviderId?: string | null): Promise; + /** + * Adds bundles of transactions to FIO Address. + * + * @param fioAddress FIO Address to transfer. The owner will be the public key associated with the FIO SDK instance. + * @param bundleSets Number of sets of bundles to add to FIO Address. + * @param maxFee Maximum amount of SUFs the user is willing to pay for fee. Should be preceded by @ [getFee] for correct value. + * @param technologyProviderId FIO Address of the wallet which generates this transaction. + */ + addBundledTransactions(fioAddress: string, bundleSets: number, maxFee: number, technologyProviderId?: string | null): Promise; + /** + * Renew a FIO Address on the FIO blockchain. + * + * @param fioAddress FIO Address to renew. + * @param maxFee Maximum amount of SUFs the user is willing to pay for fee. Should be preceded by @ [getFee] for correct value. + * @param technologyProviderId FIO Address of the wallet which generates this transaction. + */ + renewFioAddress(fioAddress: string, maxFee: number, technologyProviderId?: string | null): Promise; + /** + * Renew a FIO Domain on the FIO blockchain. + * + * @param fioDomain FIO Domain to renew. + * @param maxFee Maximum amount of SUFs the user is willing to pay for fee. Should be preceded by @ [getFee] for correct value. + * @param technologyProviderId FIO Address of the wallet which generates this transaction. + */ + renewFioDomain(fioDomain: string, maxFee: number, technologyProviderId?: string | null): Promise; + /** + * This call allows a public address of the specific blockchain type to be added to the FIO Address. + * + * @param fioAddress FIO Address which will be mapped to public address. + * @param chainCode Blockchain code for blockchain hosting this token. + * @param tokenCode Token code to be used with that public address. + * @param publicAddress The public address to be added to the FIO Address for the specified token. + * @param maxFee Maximum amount of SUFs the user is willing to pay for fee. Should be preceded by /get_fee for correct value. + * @param technologyProviderId FIO Address of the wallet which generates this transaction. + */ + addPublicAddress(fioAddress: string, chainCode: string, tokenCode: string, publicAddress: string, maxFee: number, technologyProviderId?: string | null): Promise; + /** + * This call cancels the specified fio funds request.. + * + * @param fioRequestID The id of the request. + * @param maxFee Maximum amount of SUFs the user is willing to pay for fee. Should be preceded by /get_fee for correct value. + * @param technologyProviderId FIO Address of the wallet which generates this transaction. + */ + cancelFundsRequest(fioRequestId: number, maxFee: number, technologyProviderId?: string | null): Promise; + /** + * This call allows a any number of public addresses matching the blockchain code, the token code and the public address to be removed from the FIO Address. + * + * @param fioAddress FIO Address which will be mapped to public address. + * @param publicAddresses a list of publicAddresses, each containing chain_code, token_code, and public_address. + * @param maxFee Maximum amount of SUFs the user is willing to pay for fee. Should be preceded by /get_fee for correct value. + * @param technologyProviderId FIO Address of the wallet which generates this transaction. + */ + removePublicAddresses(fioAddress: string, publicAddresses: PublicAddress[], maxFee: number, technologyProviderId?: string | null): Promise; + /** + * This call allows a user to transfer locked tokens to the specified fio public key + * + * @param payeePublicKey this is the fio public key for the user to receive locked tokens. + * @param canVote true if these locked tokens can be voted, false if these locked tokens are not to be voted. + * @param periods this is an array of lockperiods defining the duration and percent of each period, must be in time order. + * @param amount this is the amount in SUFs to be transfered. + * @param maxFee Maximum amount of SUFs the user is willing to pay for fee. Should be preceded by /get_fee for correct value. + * @param technologyProviderId FIO Address of the wallet which generates this transaction. + */ + transferLockedTokens(payeePublicKey: string, canVote: boolean, periods: LockPeriod[], amount: number, maxFee: number, technologyProviderId?: string | null): Promise; + /** + * This call allows a user to remove all addresses from the specified FIO Address, all addresses except the FIO address will be removed. + * + * @param fioAddress FIO Address which will be mapped to public address. + * @param maxFee Maximum amount of SUFs the user is willing to pay for fee. Should be preceded by /get_fee for correct value. + * @param technologyProviderId FIO Address of the wallet which generates this transaction. + */ + removeAllPublicAddresses(fioAddress: string, maxFee: number, technologyProviderId?: string | null): Promise; + /** + * This call allows a public addresses of the specific blockchain type to be added to the FIO Address. + * + * @param fioAddress FIO Address which will be mapped to public addresses. + * @param publicAddresses Array of public addresses to be added to the FIO Address for the specified token. + * @param maxFee Maximum amount of SUFs the user is willing to pay for fee. Should be preceded by /get_fee for correct value. + * @param technologyProviderId FIO Address of the wallet which generates this transaction. + */ + addPublicAddresses(fioAddress: string, publicAddresses: PublicAddress[], maxFee: number, technologyProviderId?: string | null): Promise; + /** + * By default all FIO Domains are non-public, meaning only the owner can register FIO Addresses on that domain. Setting them to public allows anyone to register a FIO Address on that domain. + * + * @param fioDomain FIO Domain to change visibility. + * @param isPublic 1 - allows anyone to register FIO Address, 0 - only owner of domain can register FIO Address. + * @param maxFee Maximum amount of SUFs the user is willing to pay for fee. Should be preceded by /get_fee for correct value. + * @param technologyProviderId FIO Address of the wallet which generates this transaction. + */ + setFioDomainVisibility(fioDomain: string, isPublic: boolean, maxFee: number, technologyProviderId?: string | null): Promise; + /** + * + * Records information on the FIO blockchain about a transaction that occurred on other blockchain, i.e. 1 BTC was sent on Bitcoin Blockchain, and both + * sender and receiver have FIO Addresses. OBT stands for Other Blockchain Transaction + * + * @param fioRequestId ID of funds request, if this Record Send transaction is in response to a previously received funds request. Send empty if no FIO Request ID + * @param payerFioAddress FIO Address of the payer. This address initiated payment. + * @param payeeFioAddress FIO Address of the payee. This address is receiving payment. + * @param payerTokenPublicAddress Public address on other blockchain of user sending funds. + * @param payeeTokenPublicAddress Public address on other blockchain of user receiving funds. + * @param amount Amount sent. + * @param chainCode Blockchain code for blockchain hosting this token. + * @param tokenCode Code of the token represented in Amount requested, i.e. BTC. + * @param status Status of this OBT. Allowed statuses are: sent_to_blockchain. + * @param obtId Other Blockchain Transaction ID (OBT ID), i.e Bitcoin transaction ID. + * @param maxFee Maximum amount of SUFs the user is willing to pay for fee. Should be preceded by /get_fee for correct value. + * @param technologyProviderId FIO Address of the wallet which generates this transaction. + * @param payeeFioPublicKey Public address on other blockchain of user receiving funds. + * @param memo + * @param hash + * @param offlineUrl + */ + recordObtData(fioRequestId: number | null, payerFioAddress: string, payeeFioAddress: string, payerTokenPublicAddress: string, payeeTokenPublicAddress: string, amount: number, chainCode: string, tokenCode: string, status: string, obtId: string, maxFee: number, technologyProviderId?: string | null, payeeFioPublicKey?: string | null, memo?: string | null, hash?: string | null, offLineUrl?: string | null): Promise; + /** + * Retrives OBT metadata data stored using record send. + * + * @param limit Number of request to return. If omitted, all requests will be returned. + * @param offset First request from list to return. If omitted, 0 is assumed. + * @param tokenCode Code of the token to filter results + */ + getObtData(limit?: number, offset?: number, tokenCode?: string): Promise; + /** + * Reject funds request. + * + * @param fioRequestId Existing funds request Id + * @param maxFee Maximum amount of SUFs the user is willing to pay for fee. Should be preceded by [getFee] for correct value. + * @param technologyProviderId FIO Address of the wallet which generates this transaction. + */ + rejectFundsRequest(fioRequestId: number, maxFee: number, technologyProviderId?: string | null): Promise; + /** + * Create a new funds request on the FIO chain. + * + * @param payerFioAddress FIO Address of the payer. This address will receive the request and will initiate payment. + * @param payeeFioAddress FIO Address of the payee. This address is sending the request and will receive payment. + * @param payeeTokenPublicAddress Payee's public address where they want funds sent. + * @param amount Amount requested. + * @param chainCode Blockchain code for blockchain hosting this token. + * @param tokenCode Code of the token represented in amount requested. + * @param memo + * @param maxFee Maximum amount of SUFs the user is willing to pay for fee. Should be preceded by [getFee] for correct value. + * @param payerFioPublicKey Public address on other blockchain of user sending funds. + * @param technologyProviderId FIO Address of the wallet which generates this transaction. + * @param hash + * @param offlineUrl + */ + requestFunds(payerFioAddress: string, payeeFioAddress: string, payeeTokenPublicAddress: string, amount: number, chainCode: string, tokenCode: string, memo: string, maxFee: number, payerFioPublicKey?: string | null, technologyProviderId?: string | null, hash?: string, offlineUrl?: string): Promise; + /** + * Retrieves info on locks for this pub key + * + * @param fioPublicKey FIO public key. + */ + getLocks(fioPublicKey: string): Promise; + getAccount(actor: string): Promise; + /** + * Checks if a FIO Address or FIO Domain is available for registration. + * + * @param fioName FIO Address or FIO Domain to check. + */ + isAvailable(fioName: string): Promise; + /** + * Retrieves balance of FIO tokens + * + * @param fioPublicKey FIO public key. + */ + getFioBalance(fioPublicKey?: string): Promise; + /** + * Returns FIO Addresses and FIO Domains owned by this public key. + * + * @param fioPublicKey FIO public key of owner. + */ + getFioNames(fioPublicKey: string): Promise; + /** + * Returns FIO Addresses owned by this public key. + * + * @param fioPublicKey FIO public key of owner. + * @param limit Number of request to return. If omitted, all requests will be returned. + * @param offset First request from list to return. If omitted, 0 is assumed. + */ + getFioAddresses(fioPublicKey: string, limit?: number, offset?: number): Promise; + /** + * Returns FIO domains owned by this public key. + * + * @param fioPublicKey FIO public key of owner. + * @param limit Number of request to return. If omitted, all requests will be returned. + * @param offset First request from list to return. If omitted, 0 is assumed. + */ + getFioDomains(fioPublicKey: string, limit?: number, offset?: number): Promise; + /** + * Polls for any pending requests sent to public key associated with the FIO SDK instance. + * + * @param limit Number of request to return. If omitted, all requests will be returned. + * @param offset First request from list to return. If omitted, 0 is assumed. + */ + getPendingFioRequests(limit?: number, offset?: number): Promise; + /** + * Polls for any received requests sent to public key associated with the FIO SDK instance. + * + * @param limit Number of request to return. If omitted, all requests will be returned. + * @param offset First request from list to return. If omitted, 0 is assumed. + * @param includeEncrypted Set to true if you want to include not encrypted data in return. + */ + getReceivedFioRequests(limit?: number, offset?: number, includeEncrypted?: boolean): Promise; + /** + * Polls for any sent requests sent by public key associated with the FIO SDK instance. + * + * @param limit Number of request to return. If omitted, all requests will be returned. + * @param offset First request from list to return. If omitted, 0 is assumed. + * @param includeEncrypted Set to true if you want to include not encrypted data in return. + */ + getSentFioRequests(limit?: number, offset?: number, includeEncrypted?: boolean): Promise; + /** + * Polls for any cancelled requests sent by public key associated with the FIO SDK instance. + * + * @param limit Number of request to return. If omitted, all requests will be returned. + * @param offset First request from list to return. If omitted, 0 is assumed. + */ + getCancelledFioRequests(limit?: number, offset?: number): Promise; + /** + * Returns a token public address for specified token code and FIO Address. + * + * @param fioAddress FIO Address for which the token public address is to be returned. + * @param chainCode Blockchain code for which public address is to be returned. + * @param tokenCode Token code for which public address is to be returned. + */ + getPublicAddress(fioAddress: string, chainCode: string, tokenCode: string): Promise; + /** + * Returns all public addresses for specified FIO Address. + * + * @param fioAddress FIO Address for which the token public address is to be returned. + * @param limit Number of results to return. If omitted, all results will be returned. + * @param offset First result from list to return. If omitted, 0 is assumed. + */ + getPublicAddresses(fioAddress: string, limit?: number, offset?: number): Promise; + /** + * Returns the FIO token public address for specified FIO Address. + * + * @param fioAddress FIO Address for which fio token public address is to be returned. + */ + getFioPublicAddress(fioAddress: string): Promise; + /** + * Returns all mapped NFTs which have the specified contract address and token id or FIO Address or hash. + * + * @param options Detects the way how to get the data. + * @param options.fioAddress FIO Address. + * @param options.chainCode Chain code where NFT contract resides. + * @param options.contractAddress NFT contract address. + * @param options.tokenId NFT token ID. + * @param options.hash SHA-256 hash of NFT asset, e.g. media url. + * @param limit Number of records to return. If omitted, all records will be returned. Due to table read timeout, a value of less than 1,000 is recommended. + * @param offset First record from list to return. If omitted, 0 is assumed. + */ + getNfts(options: { + fioAddress?: string; + chainCode?: string; + contractAddress?: string; + tokenId?: string; + hash?: string; + }, limit?: number, offset?: number): Promise; + /** + * + * Transfers FIO tokens from public key associated with the FIO SDK instance to + * the payeePublicKey. + * + * @param payeeFioPublicKey FIO public Address of the one receiving the tokens. + * @param amount Amount sent in SUFs. + * @param maxFee Maximum amount of SUFs the user is willing to pay for fee. Should be preceded by /get_fee for correct value. + * @param technologyProviderId FIO Address of the wallet which generates this transaction. + */ + transferTokens(payeeFioPublicKey: string, amount: number, maxFee: number, technologyProviderId?: string | null): Promise; + /** + * Compute and return fee amount for specific call and specific user + * + * @param fioAddress FIO Address incurring the fee and owned by signer. + */ + getFeeForTransferLockedTokens(fioAddress: string): Promise; + /** + * Return oracle fees amount + */ + getOracleFees(publicKey?: string): Promise; + /** + * Compute and return fee amount for specific call and specific user + * + * @param endPoint Name of API call end point, e.g. add_pub_address. + * @param fioAddress + * if endPointName is RenewFioAddress, FIO Address incurring the fee and owned by signer. + * if endPointName is RenewFioDomain, FIO Domain incurring the fee and owned by signer. + * if endPointName is RecordObtData, Payer FIO Address incurring the fee and owned by signer. + * + * Omit for: + * - register_fio_domain + * - register_fio_address + * - transfer_tokens_pub_key + */ + getFee(endPoint: EndPoint, fioAddress?: string): Promise; + /** + * Compute and return fee amount for specific call and specific user + * + * @param payerFioAddress, Payer FIO Address incurring the fee and owned by signer. + */ + getFeeForRecordObtData(payerFioAddress: string): Promise; + /** + * Compute and return fee amount for specific call and specific user + * + * @param payeeFioAddress Payee FIO Address incurring the fee and owned by signer. + */ + getFeeForNewFundsRequest(payeeFioAddress: string): Promise; + /** + * Compute and return fee amount for specific call and specific user + * + * @param payerFioAddress Payer FIO Address incurring the fee and owned by signer. + */ + getFeeForRejectFundsRequest(payerFioAddress: string): Promise; + /** + * Compute and return fee amount for specific call and specific user + * + * @param fioAddress FIO Address incurring the fee and owned by signer. + */ + getFeeForAddPublicAddress(fioAddress: string): Promise; + /** + * Compute and return fee amount for specific call and specific user + * + * @param fioAddress FIO Address incurring the fee and owned by signer. + */ + getFeeForCancelFundsRequest(fioAddress: string): Promise; + /** + * Compute and return fee amount for specific call and specific user + * + * @param fioAddress FIO Address incurring the fee and owned by signer. + */ + getFeeForRemovePublicAddresses(fioAddress: string): Promise; + /** + * Compute and return fee amount for specific call and specific user + * + * @param fioAddress FIO Address incurring the fee and owned by signer. + */ + getFeeForRemoveAllPublicAddresses(fioAddress: string): Promise; + /** + * Compute and return fee amount for specific call and specific user + * + * @param fioAddress FIO Address incurring the fee and owned by signer. + */ + getFeeForBurnFioAddress(fioAddress: string): Promise; + /** + * Compute and return fee amount for specific call and specific user + * + * @param fioAddress FIO Address incurring the fee and owned by signer. + */ + getFeeForTransferFioAddress(fioAddress: string): Promise; + /** + * Compute and return fee amount for specific call and specific user + * + * @param fioAddress FIO Address incurring the fee and owned by signer. + */ + getFeeForAddBundledTransactions(fioAddress: string): Promise; + /** + * Compute and return fee amount for specific call and specific user + * + * @param fioAddress FIO Address incurring the fee and owned by signer. + */ + getFeeForTransferFioDomain(fioAddress: string): Promise; + /** + * @ignore + */ + registerFioNameOnBehalfOfUser(fioName: string, publicKey: string): Promise; + /** + * Stake FIO Tokens. + * + * @param amount Amount of SUFs to stake. + * @param fioAddress FIO Address if using bundled transactions to pay. May be left empty if paying a fee instead. + * @param fee Maximum amount of SUFs the user is willing to pay for fee. Should be preceded by /get_fee for correct value. + * @param technologyProviderId FIO Address of the entity which generates this transaction. TPID rewards will be paid to this address. Set to empty if not known. + */ + stakeFioTokens(amount: number, fioAddress?: string, fee?: number, technologyProviderId?: string | null): Promise; + /** + * Unstake FIO Tokens. + * + * @param amount Amount of SUFs to unstake. + * @param fioAddress FIO Address if using bundled transactions to pay. May be left empty if paying a fee instead. + * @param fee Maximum amount of SUFs the user is willing to pay for fee. Should be preceded by /get_fee for correct value. + * @param technologyProviderId FIO Address of the entity which generates this transaction. TPID rewards will be paid to this address. Set to empty if not known. + */ + unStakeFioTokens(amount: number, fioAddress?: string, fee?: number, technologyProviderId?: string | null): Promise; + /** + * @ignore + */ + getMultiplier(): number; + /** + * Allows advance user to send their own content directly to FIO contracts + * + * @param account Account name + * @param action Name of action + * @param data JSON object with params for action + * @param encryptOptions JSON object with params for encryption + */ + pushTransaction(account: string, action: string, data: any, encryptOptions?: EncryptOptions): Promise; + /** + * @ignore + */ + genericAction(action: string, params: any): any; + /** + * @ignore + */ + private getAbi; +} +export {}; +//# sourceMappingURL=FIOSDK.d.ts.map \ No newline at end of file diff --git a/lib/FIOSDK.d.ts.map b/lib/FIOSDK.d.ts.map new file mode 100644 index 00000000..c1d5166c --- /dev/null +++ b/lib/FIOSDK.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"FIOSDK.d.ts","sourceRoot":"","sources":["../src/FIOSDK.ts"],"names":[],"mappings":"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"} \ No newline at end of file diff --git a/lib/entities/AbiResponse.d.ts b/lib/entities/AbiResponse.d.ts new file mode 100644 index 00000000..4b4429a4 --- /dev/null +++ b/lib/entities/AbiResponse.d.ts @@ -0,0 +1,7 @@ +export interface AbiResponse { + account_name: string; + code_hash: string; + abi_hash: string; + abi: string; +} +//# sourceMappingURL=AbiResponse.d.ts.map \ No newline at end of file diff --git a/lib/entities/AbiResponse.d.ts.map b/lib/entities/AbiResponse.d.ts.map new file mode 100644 index 00000000..22421ce6 --- /dev/null +++ b/lib/entities/AbiResponse.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"AbiResponse.d.ts","sourceRoot":"","sources":["../../src/entities/AbiResponse.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,GAAG,EAAE,MAAM,CAAA;CACZ"} \ No newline at end of file diff --git a/lib/entities/AccountResponse.d.ts b/lib/entities/AccountResponse.d.ts new file mode 100644 index 00000000..7ad8ca13 --- /dev/null +++ b/lib/entities/AccountResponse.d.ts @@ -0,0 +1,4 @@ +export interface AccountResponse { + ram_quota: number; +} +//# sourceMappingURL=AccountResponse.d.ts.map \ No newline at end of file diff --git a/lib/entities/AccountResponse.d.ts.map b/lib/entities/AccountResponse.d.ts.map new file mode 100644 index 00000000..9a6e5e43 --- /dev/null +++ b/lib/entities/AccountResponse.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"AccountResponse.d.ts","sourceRoot":"","sources":["../../src/entities/AccountResponse.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC9B,SAAS,EAAE,MAAM,CAAA;CAClB"} \ No newline at end of file diff --git a/lib/entities/AddBundledTransactionsResponse.d.ts b/lib/entities/AddBundledTransactionsResponse.d.ts new file mode 100644 index 00000000..d9b882ff --- /dev/null +++ b/lib/entities/AddBundledTransactionsResponse.d.ts @@ -0,0 +1,5 @@ +export interface AddBundledTransactionsResponse { + status: string; + fee_collected: number; +} +//# sourceMappingURL=AddBundledTransactionsResponse.d.ts.map \ No newline at end of file diff --git a/lib/entities/AddBundledTransactionsResponse.d.ts.map b/lib/entities/AddBundledTransactionsResponse.d.ts.map new file mode 100644 index 00000000..a839e802 --- /dev/null +++ b/lib/entities/AddBundledTransactionsResponse.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"AddBundledTransactionsResponse.d.ts","sourceRoot":"","sources":["../../src/entities/AddBundledTransactionsResponse.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,8BAA8B;IAC7C,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAA;CACtB"} \ No newline at end of file diff --git a/lib/entities/AddPublicAddressResponse.d.ts b/lib/entities/AddPublicAddressResponse.d.ts new file mode 100644 index 00000000..d2a9b10b --- /dev/null +++ b/lib/entities/AddPublicAddressResponse.d.ts @@ -0,0 +1,6 @@ +export interface AddPublicAddressResponse { + transaction_id: string; + status: string; + fee_collected: number; +} +//# sourceMappingURL=AddPublicAddressResponse.d.ts.map \ No newline at end of file diff --git a/lib/entities/AddPublicAddressResponse.d.ts.map b/lib/entities/AddPublicAddressResponse.d.ts.map new file mode 100644 index 00000000..951441c5 --- /dev/null +++ b/lib/entities/AddPublicAddressResponse.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"AddPublicAddressResponse.d.ts","sourceRoot":"","sources":["../../src/entities/AddPublicAddressResponse.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,wBAAwB;IACvC,cAAc,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAA;CACtB"} \ No newline at end of file diff --git a/lib/entities/Autorization.d.ts b/lib/entities/Autorization.d.ts new file mode 100644 index 00000000..45e93501 --- /dev/null +++ b/lib/entities/Autorization.d.ts @@ -0,0 +1,6 @@ +export declare class Autorization { + actor: string; + permission: string; + constructor(actor: string, permission?: string); +} +//# sourceMappingURL=Autorization.d.ts.map \ No newline at end of file diff --git a/lib/entities/Autorization.d.ts.map b/lib/entities/Autorization.d.ts.map new file mode 100644 index 00000000..a54516fa --- /dev/null +++ b/lib/entities/Autorization.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"Autorization.d.ts","sourceRoot":"","sources":["../../src/entities/Autorization.ts"],"names":[],"mappings":"AAAA,qBAAa,YAAY;IAChB,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,MAAM,CAAA;gBAEb,KAAK,EAAE,MAAM,EAAE,UAAU,SAAW;CAIjD"} \ No newline at end of file diff --git a/lib/entities/AvailabilityResponse.d.ts b/lib/entities/AvailabilityResponse.d.ts new file mode 100644 index 00000000..875552da --- /dev/null +++ b/lib/entities/AvailabilityResponse.d.ts @@ -0,0 +1,4 @@ +export interface AvailabilityResponse { + is_registered: number; +} +//# sourceMappingURL=AvailabilityResponse.d.ts.map \ No newline at end of file diff --git a/lib/entities/AvailabilityResponse.d.ts.map b/lib/entities/AvailabilityResponse.d.ts.map new file mode 100644 index 00000000..0ee2dd84 --- /dev/null +++ b/lib/entities/AvailabilityResponse.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"AvailabilityResponse.d.ts","sourceRoot":"","sources":["../../src/entities/AvailabilityResponse.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACnC,aAAa,EAAE,MAAM,CAAA;CACtB"} \ No newline at end of file diff --git a/lib/entities/BalanceResponse.d.ts b/lib/entities/BalanceResponse.d.ts new file mode 100644 index 00000000..e91355d9 --- /dev/null +++ b/lib/entities/BalanceResponse.d.ts @@ -0,0 +1,8 @@ +export interface BalanceResponse { + balance: number; + available: number; + staked: number; + srps: number; + roe: string; +} +//# sourceMappingURL=BalanceResponse.d.ts.map \ No newline at end of file diff --git a/lib/entities/BalanceResponse.d.ts.map b/lib/entities/BalanceResponse.d.ts.map new file mode 100644 index 00000000..11054428 --- /dev/null +++ b/lib/entities/BalanceResponse.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"BalanceResponse.d.ts","sourceRoot":"","sources":["../../src/entities/BalanceResponse.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAA;CACZ"} \ No newline at end of file diff --git a/lib/entities/BurnFioAddressResponse.d.ts b/lib/entities/BurnFioAddressResponse.d.ts new file mode 100644 index 00000000..cfc6b54f --- /dev/null +++ b/lib/entities/BurnFioAddressResponse.d.ts @@ -0,0 +1,7 @@ +export interface BurnFioAddressResponse { + transaction_id: string; + block_num: number; + status: string; + fee_collected: number; +} +//# sourceMappingURL=BurnFioAddressResponse.d.ts.map \ No newline at end of file diff --git a/lib/entities/BurnFioAddressResponse.d.ts.map b/lib/entities/BurnFioAddressResponse.d.ts.map new file mode 100644 index 00000000..76983ef5 --- /dev/null +++ b/lib/entities/BurnFioAddressResponse.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"BurnFioAddressResponse.d.ts","sourceRoot":"","sources":["../../src/entities/BurnFioAddressResponse.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,sBAAsB;IACnC,cAAc,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAA;CACxB"} \ No newline at end of file diff --git a/lib/entities/CancelFundsRequestResponse.d.ts b/lib/entities/CancelFundsRequestResponse.d.ts new file mode 100644 index 00000000..a4585776 --- /dev/null +++ b/lib/entities/CancelFundsRequestResponse.d.ts @@ -0,0 +1,7 @@ +export interface CancelFundsRequestResponse { + transaction_id: string; + block_num: number; + status: string; + fee_collected: number; +} +//# sourceMappingURL=CancelFundsRequestResponse.d.ts.map \ No newline at end of file diff --git a/lib/entities/CancelFundsRequestResponse.d.ts.map b/lib/entities/CancelFundsRequestResponse.d.ts.map new file mode 100644 index 00000000..a4effef3 --- /dev/null +++ b/lib/entities/CancelFundsRequestResponse.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"CancelFundsRequestResponse.d.ts","sourceRoot":"","sources":["../../src/entities/CancelFundsRequestResponse.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,0BAA0B;IACzC,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAA;CACtB"} \ No newline at end of file diff --git a/lib/entities/CancelledFioRequestResponse.d.ts b/lib/entities/CancelledFioRequestResponse.d.ts new file mode 100644 index 00000000..32962e5e --- /dev/null +++ b/lib/entities/CancelledFioRequestResponse.d.ts @@ -0,0 +1,6 @@ +import { FioSentRequestsItem } from './FioSentRequestsItem'; +export interface CancelledFioRequestResponse { + requests: FioSentRequestsItem[]; + more: number; +} +//# sourceMappingURL=CancelledFioRequestResponse.d.ts.map \ No newline at end of file diff --git a/lib/entities/CancelledFioRequestResponse.d.ts.map b/lib/entities/CancelledFioRequestResponse.d.ts.map new file mode 100644 index 00000000..8924f9d5 --- /dev/null +++ b/lib/entities/CancelledFioRequestResponse.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"CancelledFioRequestResponse.d.ts","sourceRoot":"","sources":["../../src/entities/CancelledFioRequestResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAE3D,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,EAAE,mBAAmB,EAAE,CAAC;IAChC,IAAI,EAAE,MAAM,CAAA;CACb"} \ No newline at end of file diff --git a/lib/entities/EndPoint.d.ts b/lib/entities/EndPoint.d.ts new file mode 100644 index 00000000..7c8e48a9 --- /dev/null +++ b/lib/entities/EndPoint.d.ts @@ -0,0 +1,26 @@ +export declare enum EndPoint { + newFundsRequest = "new_funds_request", + registerFioAddress = "register_fio_address", + registerFioDomain = "register_fio_domain", + renewFioDomain = "renew_fio_domain", + renewFioAddress = "renew_fio_address", + burnFioAddress = "burn_fio_address", + transferFioAddress = "transfer_fio_address", + transferFioDomain = "transfer_fio_domain", + addBundledTransactions = "add_bundled_transactions", + addPubAddress = "add_pub_address", + removePubAddress = "remove_pub_address", + removeAllPubAddresses = "remove_all_pub_addresses", + setFioDomainPublic = "set_fio_domain_public", + rejectFundsRequest = "reject_funds_request", + recordObtData = "record_obt_data", + transferTokens = "transfer_tokens_pub_key", + cancelFundsRequest = "cancel_funds_request", + transferLockedTokens = "transfer_locked_tokens", + pushTransaction = "push_transaction", + stakeFioTokens = "stake_fio_tokens", + unStakeFioTokens = "unstake_fio_tokens", + wrapFioTokens = "wrap_fio_tokens", + wrapFioDomain = "wrap_fio_domain" +} +//# sourceMappingURL=EndPoint.d.ts.map \ No newline at end of file diff --git a/lib/entities/EndPoint.d.ts.map b/lib/entities/EndPoint.d.ts.map new file mode 100644 index 00000000..80cceb79 --- /dev/null +++ b/lib/entities/EndPoint.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"EndPoint.d.ts","sourceRoot":"","sources":["../../src/entities/EndPoint.ts"],"names":[],"mappings":"AAAA,oBAAY,QAAQ;IAClB,eAAe,sBAAsB;IACrC,kBAAkB,yBAAyB;IAC3C,iBAAiB,wBAAwB;IACzC,cAAc,qBAAqB;IACnC,eAAe,sBAAsB;IACrC,cAAc,qBAAqB;IACnC,kBAAkB,yBAAyB;IAC3C,iBAAiB,wBAAwB;IACzC,sBAAsB,6BAA6B;IACnD,aAAa,oBAAoB;IACjC,gBAAgB,uBAAuB;IACvC,qBAAqB,6BAA6B;IAClD,kBAAkB,0BAA0B;IAC5C,kBAAkB,yBAAyB;IAC3C,aAAa,oBAAoB;IACjC,cAAc,4BAA4B;IAC1C,kBAAkB,yBAAyB;IAC3C,oBAAoB,2BAA2B;IAC/C,eAAe,qBAAqB;IACpC,cAAc,qBAAqB;IACnC,gBAAgB,uBAAuB;IACvC,aAAa,oBAAoB;IACjC,aAAa,oBAAoB;CAClC"} \ No newline at end of file diff --git a/lib/entities/FioAddresses.d.ts b/lib/entities/FioAddresses.d.ts new file mode 100644 index 00000000..98221356 --- /dev/null +++ b/lib/entities/FioAddresses.d.ts @@ -0,0 +1,5 @@ +export interface FioAddresses { + fio_address: string; + expiration: string; +} +//# sourceMappingURL=FioAddresses.d.ts.map \ No newline at end of file diff --git a/lib/entities/FioAddresses.d.ts.map b/lib/entities/FioAddresses.d.ts.map new file mode 100644 index 00000000..d0bcab57 --- /dev/null +++ b/lib/entities/FioAddresses.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"FioAddresses.d.ts","sourceRoot":"","sources":["../../src/entities/FioAddresses.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAA;CACnB"} \ No newline at end of file diff --git a/lib/entities/FioAddressesResponse.d.ts b/lib/entities/FioAddressesResponse.d.ts new file mode 100644 index 00000000..9725d034 --- /dev/null +++ b/lib/entities/FioAddressesResponse.d.ts @@ -0,0 +1,5 @@ +import { FioAddresses } from './FioAddresses'; +export interface FioAddressesResponse { + fio_addresses: FioAddresses[]; +} +//# sourceMappingURL=FioAddressesResponse.d.ts.map \ No newline at end of file diff --git a/lib/entities/FioAddressesResponse.d.ts.map b/lib/entities/FioAddressesResponse.d.ts.map new file mode 100644 index 00000000..8d5f7a98 --- /dev/null +++ b/lib/entities/FioAddressesResponse.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"FioAddressesResponse.d.ts","sourceRoot":"","sources":["../../src/entities/FioAddressesResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAE7C,MAAM,WAAW,oBAAoB;IACnC,aAAa,EAAE,YAAY,EAAE,CAAA;CAC9B"} \ No newline at end of file diff --git a/lib/entities/FioDomain.d.ts b/lib/entities/FioDomain.d.ts new file mode 100644 index 00000000..b7fa7adf --- /dev/null +++ b/lib/entities/FioDomain.d.ts @@ -0,0 +1,6 @@ +export interface FioDomain { + fio_domain: string; + expiration: string; + is_public?: number; +} +//# sourceMappingURL=FioDomain.d.ts.map \ No newline at end of file diff --git a/lib/entities/FioDomain.d.ts.map b/lib/entities/FioDomain.d.ts.map new file mode 100644 index 00000000..611c1edb --- /dev/null +++ b/lib/entities/FioDomain.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"FioDomain.d.ts","sourceRoot":"","sources":["../../src/entities/FioDomain.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,SAAS;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"} \ No newline at end of file diff --git a/lib/entities/FioDomainsResponse.d.ts b/lib/entities/FioDomainsResponse.d.ts new file mode 100644 index 00000000..bd509471 --- /dev/null +++ b/lib/entities/FioDomainsResponse.d.ts @@ -0,0 +1,5 @@ +import { FioDomain } from './FioDomain'; +export interface FioDomainsResponse { + fio_domains: FioDomain[]; +} +//# sourceMappingURL=FioDomainsResponse.d.ts.map \ No newline at end of file diff --git a/lib/entities/FioDomainsResponse.d.ts.map b/lib/entities/FioDomainsResponse.d.ts.map new file mode 100644 index 00000000..661f2686 --- /dev/null +++ b/lib/entities/FioDomainsResponse.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"FioDomainsResponse.d.ts","sourceRoot":"","sources":["../../src/entities/FioDomainsResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAEvC,MAAM,WAAW,kBAAkB;IACjC,WAAW,EAAE,SAAS,EAAE,CAAC;CAC1B"} \ No newline at end of file diff --git a/lib/entities/FioFeeResponse.d.ts b/lib/entities/FioFeeResponse.d.ts new file mode 100644 index 00000000..278ecfc6 --- /dev/null +++ b/lib/entities/FioFeeResponse.d.ts @@ -0,0 +1,16 @@ +export interface FioFeeResponse { + fee: number; +} +export interface FioOracleFeesResponse { + oracle_fees: [ + { + fee_name: 'wrap_fio_domain'; + fee_amount: number; + }, + { + fee_name: 'wrap_fio_tokens'; + fee_amount: number; + } + ]; +} +//# sourceMappingURL=FioFeeResponse.d.ts.map \ No newline at end of file diff --git a/lib/entities/FioFeeResponse.d.ts.map b/lib/entities/FioFeeResponse.d.ts.map new file mode 100644 index 00000000..a3b99ed5 --- /dev/null +++ b/lib/entities/FioFeeResponse.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"FioFeeResponse.d.ts","sourceRoot":"","sources":["../../src/entities/FioFeeResponse.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC7B,GAAG,EAAE,MAAM,CAAA;CACZ;AAED,MAAM,WAAW,qBAAqB;IACpC,WAAW,EAAE;QACX;YAAE,QAAQ,EAAE,iBAAiB,CAAC;YAAC,UAAU,EAAE,MAAM,CAAA;SAAE;QACnD;YAAE,QAAQ,EAAE,iBAAiB,CAAC;YAAC,UAAU,EAAE,MAAM,CAAA;SAAE;KACpD,CAAA;CACF"} \ No newline at end of file diff --git a/lib/entities/FioInfoResponse.d.ts b/lib/entities/FioInfoResponse.d.ts new file mode 100644 index 00000000..41dfa5db --- /dev/null +++ b/lib/entities/FioInfoResponse.d.ts @@ -0,0 +1,16 @@ +export interface FioInfoResponse { + server_version: string; + chain_id: string; + head_block_num: number; + last_irreversible_block_num: number; + last_irreversible_block_id: string; + head_block_id: string; + head_block_time: string; + head_block_producer: string; + virtual_block_cpu_limit: number; + virtual_block_net_limit: number; + block_cpu_limit: number; + block_net_limit: number; + server_version_string: string; +} +//# sourceMappingURL=FioInfoResponse.d.ts.map \ No newline at end of file diff --git a/lib/entities/FioInfoResponse.d.ts.map b/lib/entities/FioInfoResponse.d.ts.map new file mode 100644 index 00000000..8fbd9361 --- /dev/null +++ b/lib/entities/FioInfoResponse.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"FioInfoResponse.d.ts","sourceRoot":"","sources":["../../src/entities/FioInfoResponse.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC9B,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,2BAA2B,EAAE,MAAM,CAAC;IACpC,0BAA0B,EAAE,MAAM,CAAC;IACnC,aAAa,EAAE,MAAM,CAAC;IACtB,eAAe,EAAE,MAAM,CAAC;IACxB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,uBAAuB,EAAE,MAAM,CAAC;IAChC,uBAAuB,EAAE,MAAM,CAAC;IAChC,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,qBAAqB,EAAE,MAAM,CAAA;CAC9B"} \ No newline at end of file diff --git a/lib/entities/FioNamesResponse.d.ts b/lib/entities/FioNamesResponse.d.ts new file mode 100644 index 00000000..85dc0766 --- /dev/null +++ b/lib/entities/FioNamesResponse.d.ts @@ -0,0 +1,7 @@ +import { FioAddresses } from './FioAddresses'; +import { FioDomain } from './FioDomain'; +export interface FioNamesResponse { + fio_domains: FioDomain[]; + fio_addresses: FioAddresses[]; +} +//# sourceMappingURL=FioNamesResponse.d.ts.map \ No newline at end of file diff --git a/lib/entities/FioNamesResponse.d.ts.map b/lib/entities/FioNamesResponse.d.ts.map new file mode 100644 index 00000000..476854fd --- /dev/null +++ b/lib/entities/FioNamesResponse.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"FioNamesResponse.d.ts","sourceRoot":"","sources":["../../src/entities/FioNamesResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAEvC,MAAM,WAAW,gBAAgB;IAC/B,WAAW,EAAE,SAAS,EAAE,CAAC;IACzB,aAAa,EAAE,YAAY,EAAE,CAAA;CAC9B"} \ No newline at end of file diff --git a/lib/entities/FioRequest.d.ts b/lib/entities/FioRequest.d.ts new file mode 100644 index 00000000..a45f2eba --- /dev/null +++ b/lib/entities/FioRequest.d.ts @@ -0,0 +1,13 @@ +export interface FioRequest { + 'fio_request_id': string; + 'payer_fio_address': string; + 'payee_fio_address': string; + 'payee_fio_public_key': string; + 'payer_fio_public_key': string; + 'amount': string; + 'token_code': string; + 'metadata': string; + 'time_stamp': string; + 'content': string; +} +//# sourceMappingURL=FioRequest.d.ts.map \ No newline at end of file diff --git a/lib/entities/FioRequest.d.ts.map b/lib/entities/FioRequest.d.ts.map new file mode 100644 index 00000000..55d2a05d --- /dev/null +++ b/lib/entities/FioRequest.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"FioRequest.d.ts","sourceRoot":"","sources":["../../src/entities/FioRequest.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,gBAAgB,EAAE,MAAM,CAAC;IACzB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,sBAAsB,EAAE,MAAM,CAAC;IAC/B,sBAAsB,EAAE,MAAM,CAAC;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAA;IACpB,SAAS,EAAE,MAAM,CAAA;CAClB"} \ No newline at end of file diff --git a/lib/entities/FioRequestStatus.d.ts b/lib/entities/FioRequestStatus.d.ts new file mode 100644 index 00000000..4a52bf32 --- /dev/null +++ b/lib/entities/FioRequestStatus.d.ts @@ -0,0 +1,4 @@ +export declare enum FioRequestStatus { + sent_to_blockchain = 0 +} +//# sourceMappingURL=FioRequestStatus.d.ts.map \ No newline at end of file diff --git a/lib/entities/FioRequestStatus.d.ts.map b/lib/entities/FioRequestStatus.d.ts.map new file mode 100644 index 00000000..0e567f9c --- /dev/null +++ b/lib/entities/FioRequestStatus.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"FioRequestStatus.d.ts","sourceRoot":"","sources":["../../src/entities/FioRequestStatus.ts"],"names":[],"mappings":"AAAA,oBAAY,gBAAgB;IAC1B,kBAAkB,IAAA;CACnB"} \ No newline at end of file diff --git a/lib/entities/FioRequestsItem.d.ts b/lib/entities/FioRequestsItem.d.ts new file mode 100644 index 00000000..b5e5a71b --- /dev/null +++ b/lib/entities/FioRequestsItem.d.ts @@ -0,0 +1,11 @@ +export interface FioRequestsItem { + 'fio_request_id': number; + 'payer_fio_address': string; + 'payee_fio_address': string; + 'payee_fio_public_key': string; + 'payer_fio_public_key': string; + 'status': string; + 'time_stamp': string; + 'content': string; +} +//# sourceMappingURL=FioRequestsItem.d.ts.map \ No newline at end of file diff --git a/lib/entities/FioRequestsItem.d.ts.map b/lib/entities/FioRequestsItem.d.ts.map new file mode 100644 index 00000000..ca1612b3 --- /dev/null +++ b/lib/entities/FioRequestsItem.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"FioRequestsItem.d.ts","sourceRoot":"","sources":["../../src/entities/FioRequestsItem.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC9B,gBAAgB,EAAE,MAAM,CAAC;IACzB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,sBAAsB,EAAE,MAAM,CAAC;IAC/B,sBAAsB,EAAE,MAAM,CAAC;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAA;IACpB,SAAS,EAAE,MAAM,CAAA;CAClB"} \ No newline at end of file diff --git a/lib/entities/FioSentRequestsItem.d.ts b/lib/entities/FioSentRequestsItem.d.ts new file mode 100644 index 00000000..94da63b3 --- /dev/null +++ b/lib/entities/FioSentRequestsItem.d.ts @@ -0,0 +1,11 @@ +export interface FioSentRequestsItem { + 'fio_request_id': number; + 'payer_fio_address': string; + 'payee_fio_address': string; + 'payee_fio_public_key': string; + 'payer_fio_public_key': string; + 'status': string; + 'time_stamp': string; + 'content': string; +} +//# sourceMappingURL=FioSentRequestsItem.d.ts.map \ No newline at end of file diff --git a/lib/entities/FioSentRequestsItem.d.ts.map b/lib/entities/FioSentRequestsItem.d.ts.map new file mode 100644 index 00000000..62160575 --- /dev/null +++ b/lib/entities/FioSentRequestsItem.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"FioSentRequestsItem.d.ts","sourceRoot":"","sources":["../../src/entities/FioSentRequestsItem.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB;IAClC,gBAAgB,EAAE,MAAM,CAAC;IACzB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,sBAAsB,EAAE,MAAM,CAAC;IAC/B,sBAAsB,EAAE,MAAM,CAAC;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAA;IACpB,SAAS,EAAE,MAAM,CAAA;CAClB"} \ No newline at end of file diff --git a/lib/entities/GetObtDataRecord.d.ts b/lib/entities/GetObtDataRecord.d.ts new file mode 100644 index 00000000..0038fb55 --- /dev/null +++ b/lib/entities/GetObtDataRecord.d.ts @@ -0,0 +1,11 @@ +export interface GetObtDataRecord { + payer_fio_address: string; + payee_fio_address: string; + payer_fio_public_key: string; + payee_fio_public_key: string; + content: string; + fio_request_id: number; + status: string; + time_stamp: string; +} +//# sourceMappingURL=GetObtDataRecord.d.ts.map \ No newline at end of file diff --git a/lib/entities/GetObtDataRecord.d.ts.map b/lib/entities/GetObtDataRecord.d.ts.map new file mode 100644 index 00000000..1f37c8db --- /dev/null +++ b/lib/entities/GetObtDataRecord.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"GetObtDataRecord.d.ts","sourceRoot":"","sources":["../../src/entities/GetObtDataRecord.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAA;CACnB"} \ No newline at end of file diff --git a/lib/entities/GetObtDataResponse.d.ts b/lib/entities/GetObtDataResponse.d.ts new file mode 100644 index 00000000..0871bea8 --- /dev/null +++ b/lib/entities/GetObtDataResponse.d.ts @@ -0,0 +1,6 @@ +import { GetObtDataRecord } from './GetObtDataRecord'; +export interface GetObtDataResponse { + obt_data_records: GetObtDataRecord[]; + more: number; +} +//# sourceMappingURL=GetObtDataResponse.d.ts.map \ No newline at end of file diff --git a/lib/entities/GetObtDataResponse.d.ts.map b/lib/entities/GetObtDataResponse.d.ts.map new file mode 100644 index 00000000..eee504d9 --- /dev/null +++ b/lib/entities/GetObtDataResponse.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"GetObtDataResponse.d.ts","sourceRoot":"","sources":["../../src/entities/GetObtDataResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAErD,MAAM,WAAW,kBAAkB;IACjC,gBAAgB,EAAE,gBAAgB,EAAE,CAAC;IACrC,IAAI,EAAE,MAAM,CAAA;CACb"} \ No newline at end of file diff --git a/lib/entities/LockPeriod.d.ts b/lib/entities/LockPeriod.d.ts new file mode 100644 index 00000000..8bedcfa3 --- /dev/null +++ b/lib/entities/LockPeriod.d.ts @@ -0,0 +1,5 @@ +export interface LockPeriod { + duration: number; + amount: number; +} +//# sourceMappingURL=LockPeriod.d.ts.map \ No newline at end of file diff --git a/lib/entities/LockPeriod.d.ts.map b/lib/entities/LockPeriod.d.ts.map new file mode 100644 index 00000000..1cf2f96f --- /dev/null +++ b/lib/entities/LockPeriod.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"LockPeriod.d.ts","sourceRoot":"","sources":["../../src/entities/LockPeriod.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;CAChB"} \ No newline at end of file diff --git a/lib/entities/LocksResponse.d.ts b/lib/entities/LocksResponse.d.ts new file mode 100644 index 00000000..82a3606c --- /dev/null +++ b/lib/entities/LocksResponse.d.ts @@ -0,0 +1,10 @@ +import { LockPeriod } from './LockPeriod'; +export interface LocksResponse { + lock_amount: number; + remaining_lock_amount: number; + time_stamp: number; + payouts_performed: number; + can_vote: number; + unlock_periods: LockPeriod[]; +} +//# sourceMappingURL=LocksResponse.d.ts.map \ No newline at end of file diff --git a/lib/entities/LocksResponse.d.ts.map b/lib/entities/LocksResponse.d.ts.map new file mode 100644 index 00000000..7428d0b6 --- /dev/null +++ b/lib/entities/LocksResponse.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"LocksResponse.d.ts","sourceRoot":"","sources":["../../src/entities/LocksResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAEzC,MAAM,WAAW,aAAa;IAC5B,WAAW,EAAE,MAAM,CAAC;IACpB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,UAAU,EAAE,CAAA;CAC7B"} \ No newline at end of file diff --git a/lib/entities/NftItem.d.ts b/lib/entities/NftItem.d.ts new file mode 100644 index 00000000..2d087962 --- /dev/null +++ b/lib/entities/NftItem.d.ts @@ -0,0 +1,10 @@ +export interface NftItem { + chain_code: string; + contract_address: string; + token_id: string; + url: string; + hash: string; + metadata: string; + fio_address?: string; +} +//# sourceMappingURL=NftItem.d.ts.map \ No newline at end of file diff --git a/lib/entities/NftItem.d.ts.map b/lib/entities/NftItem.d.ts.map new file mode 100644 index 00000000..211d2dfb --- /dev/null +++ b/lib/entities/NftItem.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"NftItem.d.ts","sourceRoot":"","sources":["../../src/entities/NftItem.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,OAAO;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"} \ No newline at end of file diff --git a/lib/entities/NftsResponse.d.ts b/lib/entities/NftsResponse.d.ts new file mode 100644 index 00000000..63ca3e9e --- /dev/null +++ b/lib/entities/NftsResponse.d.ts @@ -0,0 +1,6 @@ +import { NftItem } from './NftItem'; +export interface NftsResponse { + nfts: NftItem[]; + more: boolean; +} +//# sourceMappingURL=NftsResponse.d.ts.map \ No newline at end of file diff --git a/lib/entities/NftsResponse.d.ts.map b/lib/entities/NftsResponse.d.ts.map new file mode 100644 index 00000000..bd888484 --- /dev/null +++ b/lib/entities/NftsResponse.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"NftsResponse.d.ts","sourceRoot":"","sources":["../../src/entities/NftsResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAEnC,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,OAAO,EAAE,CAAC;IAChB,IAAI,EAAE,OAAO,CAAA;CACd"} \ No newline at end of file diff --git a/lib/entities/PendingFioRequestsResponse.d.ts b/lib/entities/PendingFioRequestsResponse.d.ts new file mode 100644 index 00000000..d14b3c8c --- /dev/null +++ b/lib/entities/PendingFioRequestsResponse.d.ts @@ -0,0 +1,6 @@ +import { FioRequestsItem } from './FioRequestsItem'; +export interface PendingFioRequestsResponse { + requests: FioRequestsItem[]; + more: number; +} +//# sourceMappingURL=PendingFioRequestsResponse.d.ts.map \ No newline at end of file diff --git a/lib/entities/PendingFioRequestsResponse.d.ts.map b/lib/entities/PendingFioRequestsResponse.d.ts.map new file mode 100644 index 00000000..076eae4c --- /dev/null +++ b/lib/entities/PendingFioRequestsResponse.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"PendingFioRequestsResponse.d.ts","sourceRoot":"","sources":["../../src/entities/PendingFioRequestsResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAEnD,MAAM,WAAW,0BAA0B;IACzC,QAAQ,EAAE,eAAe,EAAE,CAAC;IAC5B,IAAI,EAAE,MAAM,CAAA;CACb"} \ No newline at end of file diff --git a/lib/entities/PublicAddress.d.ts b/lib/entities/PublicAddress.d.ts new file mode 100644 index 00000000..b963952b --- /dev/null +++ b/lib/entities/PublicAddress.d.ts @@ -0,0 +1,6 @@ +export interface PublicAddress { + chain_code: string; + token_code: string; + public_address: string; +} +//# sourceMappingURL=PublicAddress.d.ts.map \ No newline at end of file diff --git a/lib/entities/PublicAddress.d.ts.map b/lib/entities/PublicAddress.d.ts.map new file mode 100644 index 00000000..c27fda85 --- /dev/null +++ b/lib/entities/PublicAddress.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"PublicAddress.d.ts","sourceRoot":"","sources":["../../src/entities/PublicAddress.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;CACxB"} \ No newline at end of file diff --git a/lib/entities/PublicAddressResponse.d.ts b/lib/entities/PublicAddressResponse.d.ts new file mode 100644 index 00000000..df79ec85 --- /dev/null +++ b/lib/entities/PublicAddressResponse.d.ts @@ -0,0 +1,4 @@ +export interface PublicAddressResponse { + public_address: string; +} +//# sourceMappingURL=PublicAddressResponse.d.ts.map \ No newline at end of file diff --git a/lib/entities/PublicAddressResponse.d.ts.map b/lib/entities/PublicAddressResponse.d.ts.map new file mode 100644 index 00000000..f5e86771 --- /dev/null +++ b/lib/entities/PublicAddressResponse.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"PublicAddressResponse.d.ts","sourceRoot":"","sources":["../../src/entities/PublicAddressResponse.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,qBAAqB;IACpC,cAAc,EAAE,MAAM,CAAA;CACvB"} \ No newline at end of file diff --git a/lib/entities/PublicAddressesResponse.d.ts b/lib/entities/PublicAddressesResponse.d.ts new file mode 100644 index 00000000..174728ed --- /dev/null +++ b/lib/entities/PublicAddressesResponse.d.ts @@ -0,0 +1,6 @@ +import { PublicAddress } from './PublicAddress'; +export interface PublicAddressesResponse { + requests: PublicAddress[]; + more: boolean; +} +//# sourceMappingURL=PublicAddressesResponse.d.ts.map \ No newline at end of file diff --git a/lib/entities/PublicAddressesResponse.d.ts.map b/lib/entities/PublicAddressesResponse.d.ts.map new file mode 100644 index 00000000..18f3fd9a --- /dev/null +++ b/lib/entities/PublicAddressesResponse.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"PublicAddressesResponse.d.ts","sourceRoot":"","sources":["../../src/entities/PublicAddressesResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAE/C,MAAM,WAAW,uBAAuB;IACtC,QAAQ,EAAE,aAAa,EAAE,CAAC;IAC1B,IAAI,EAAE,OAAO,CAAA;CACd"} \ No newline at end of file diff --git a/lib/entities/RawAction.d.ts b/lib/entities/RawAction.d.ts new file mode 100644 index 00000000..094e5f8a --- /dev/null +++ b/lib/entities/RawAction.d.ts @@ -0,0 +1,8 @@ +import { Autorization } from './Autorization'; +export declare class RawAction { + account: string; + name: string; + authorization: Autorization[]; + data: any; +} +//# sourceMappingURL=RawAction.d.ts.map \ No newline at end of file diff --git a/lib/entities/RawAction.d.ts.map b/lib/entities/RawAction.d.ts.map new file mode 100644 index 00000000..a17178ce --- /dev/null +++ b/lib/entities/RawAction.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"RawAction.d.ts","sourceRoot":"","sources":["../../src/entities/RawAction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAE7C,qBAAa,SAAS;IACb,OAAO,EAAE,MAAM,CAAK;IACpB,IAAI,EAAE,MAAM,CAAK;IACjB,aAAa,EAAE,YAAY,EAAE,CAA4B;IACzD,IAAI,EAAE,GAAG,CAAA;CACjB"} \ No newline at end of file diff --git a/lib/entities/RawTransaction.d.ts b/lib/entities/RawTransaction.d.ts new file mode 100644 index 00000000..0b5bd587 --- /dev/null +++ b/lib/entities/RawTransaction.d.ts @@ -0,0 +1,13 @@ +import { RawAction } from './RawAction'; +export declare class RawTransaction { + expiration: string; + ref_block_num: number; + ref_block_prefix: number; + max_net_usage_words: number; + max_cpu_usage_ms: number; + delay_sec: number; + context_free_actions: never[]; + actions: RawAction[]; + transaction_extensions: never[]; +} +//# sourceMappingURL=RawTransaction.d.ts.map \ No newline at end of file diff --git a/lib/entities/RawTransaction.d.ts.map b/lib/entities/RawTransaction.d.ts.map new file mode 100644 index 00000000..55d50707 --- /dev/null +++ b/lib/entities/RawTransaction.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"RawTransaction.d.ts","sourceRoot":"","sources":["../../src/entities/RawTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAEvC,qBAAa,cAAc;IAClB,UAAU,EAAE,MAAM,CAAK;IACvB,aAAa,EAAE,MAAM,CAAI;IACzB,gBAAgB,EAAE,MAAM,CAAI;IAC5B,mBAAmB,SAAI;IACvB,gBAAgB,SAAI;IACpB,SAAS,SAAI;IACb,oBAAoB,UAAK;IACzB,OAAO,EAAE,SAAS,EAAE,CAAyB;IAC7C,sBAAsB,UAAK;CACnC"} \ No newline at end of file diff --git a/lib/entities/ReceivedFioRequestsResponse.d.ts b/lib/entities/ReceivedFioRequestsResponse.d.ts new file mode 100644 index 00000000..db85e957 --- /dev/null +++ b/lib/entities/ReceivedFioRequestsResponse.d.ts @@ -0,0 +1,6 @@ +import { FioRequestsItem } from './FioRequestsItem'; +export interface ReceivedFioRequestsResponse { + requests: FioRequestsItem[]; + more: number; +} +//# sourceMappingURL=ReceivedFioRequestsResponse.d.ts.map \ No newline at end of file diff --git a/lib/entities/ReceivedFioRequestsResponse.d.ts.map b/lib/entities/ReceivedFioRequestsResponse.d.ts.map new file mode 100644 index 00000000..73698bfb --- /dev/null +++ b/lib/entities/ReceivedFioRequestsResponse.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"ReceivedFioRequestsResponse.d.ts","sourceRoot":"","sources":["../../src/entities/ReceivedFioRequestsResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAEnD,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,EAAE,eAAe,EAAE,CAAC;IAC5B,IAAI,EAAE,MAAM,CAAA;CACb"} \ No newline at end of file diff --git a/lib/entities/RecordObtDataRequest.d.ts b/lib/entities/RecordObtDataRequest.d.ts new file mode 100644 index 00000000..d1e880d8 --- /dev/null +++ b/lib/entities/RecordObtDataRequest.d.ts @@ -0,0 +1,16 @@ +export interface RecordObtDataRequest { + payer_fio_address: string; + payee_fio_address: string; + payer_public_address: string; + payee_public_address: string; + amount: string; + chain_code: string; + token_code: string; + status: string; + obt_id: string; + metadata: string; + fio_request_id: string; + max_fee: number; + actor: string; +} +//# sourceMappingURL=RecordObtDataRequest.d.ts.map \ No newline at end of file diff --git a/lib/entities/RecordObtDataRequest.d.ts.map b/lib/entities/RecordObtDataRequest.d.ts.map new file mode 100644 index 00000000..9522eb0f --- /dev/null +++ b/lib/entities/RecordObtDataRequest.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"RecordObtDataRequest.d.ts","sourceRoot":"","sources":["../../src/entities/RecordObtDataRequest.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACnC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAA;CACd"} \ No newline at end of file diff --git a/lib/entities/RecordObtDataResponse.d.ts b/lib/entities/RecordObtDataResponse.d.ts new file mode 100644 index 00000000..7a4ee056 --- /dev/null +++ b/lib/entities/RecordObtDataResponse.d.ts @@ -0,0 +1,7 @@ +export interface RecordObtDataResponse { + transaction_id: string; + block_num: number; + status: string; + fee_collected: number; +} +//# sourceMappingURL=RecordObtDataResponse.d.ts.map \ No newline at end of file diff --git a/lib/entities/RecordObtDataResponse.d.ts.map b/lib/entities/RecordObtDataResponse.d.ts.map new file mode 100644 index 00000000..88fd6a7a --- /dev/null +++ b/lib/entities/RecordObtDataResponse.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"RecordObtDataResponse.d.ts","sourceRoot":"","sources":["../../src/entities/RecordObtDataResponse.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,qBAAqB;IACpC,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAA;CACtB"} \ No newline at end of file diff --git a/lib/entities/RegisterFioAddressResponse.d.ts b/lib/entities/RegisterFioAddressResponse.d.ts new file mode 100644 index 00000000..69b9e6c6 --- /dev/null +++ b/lib/entities/RegisterFioAddressResponse.d.ts @@ -0,0 +1,8 @@ +export interface RegisterFioAddressResponse { + transaction_id: string; + block_num: number; + status: string; + expiration: string; + fee_collected: number; +} +//# sourceMappingURL=RegisterFioAddressResponse.d.ts.map \ No newline at end of file diff --git a/lib/entities/RegisterFioAddressResponse.d.ts.map b/lib/entities/RegisterFioAddressResponse.d.ts.map new file mode 100644 index 00000000..6f35245e --- /dev/null +++ b/lib/entities/RegisterFioAddressResponse.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"RegisterFioAddressResponse.d.ts","sourceRoot":"","sources":["../../src/entities/RegisterFioAddressResponse.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,0BAA0B;IACzC,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAA;CACtB"} \ No newline at end of file diff --git a/lib/entities/RegisterFioDomainResponse.d.ts b/lib/entities/RegisterFioDomainResponse.d.ts new file mode 100644 index 00000000..d3cce4c7 --- /dev/null +++ b/lib/entities/RegisterFioDomainResponse.d.ts @@ -0,0 +1,8 @@ +export interface RegisterFioDomainResponse { + transaction_id: string; + block_num: number; + status: string; + expiration: string; + fee_collected: number; +} +//# sourceMappingURL=RegisterFioDomainResponse.d.ts.map \ No newline at end of file diff --git a/lib/entities/RegisterFioDomainResponse.d.ts.map b/lib/entities/RegisterFioDomainResponse.d.ts.map new file mode 100644 index 00000000..0d7f4aae --- /dev/null +++ b/lib/entities/RegisterFioDomainResponse.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"RegisterFioDomainResponse.d.ts","sourceRoot":"","sources":["../../src/entities/RegisterFioDomainResponse.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,yBAAyB;IACxC,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAA;CACtB"} \ No newline at end of file diff --git a/lib/entities/RejectFundsResponse.d.ts b/lib/entities/RejectFundsResponse.d.ts new file mode 100644 index 00000000..bed4b3df --- /dev/null +++ b/lib/entities/RejectFundsResponse.d.ts @@ -0,0 +1,7 @@ +export interface RejectFundsResponse { + transaction_id: string; + block_num: number; + status: string; + fee_collected: number; +} +//# sourceMappingURL=RejectFundsResponse.d.ts.map \ No newline at end of file diff --git a/lib/entities/RejectFundsResponse.d.ts.map b/lib/entities/RejectFundsResponse.d.ts.map new file mode 100644 index 00000000..8ca19f6b --- /dev/null +++ b/lib/entities/RejectFundsResponse.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"RejectFundsResponse.d.ts","sourceRoot":"","sources":["../../src/entities/RejectFundsResponse.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB;IAClC,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAA;CACtB"} \ No newline at end of file diff --git a/lib/entities/RemoveAllPublicAddressesResponse.d.ts b/lib/entities/RemoveAllPublicAddressesResponse.d.ts new file mode 100644 index 00000000..9fdbab2f --- /dev/null +++ b/lib/entities/RemoveAllPublicAddressesResponse.d.ts @@ -0,0 +1,7 @@ +export interface RemoveAllPublicAddressesResponse { + transaction_id: string; + block_num: number; + status: string; + fee_collected: number; +} +//# sourceMappingURL=RemoveAllPublicAddressesResponse.d.ts.map \ No newline at end of file diff --git a/lib/entities/RemoveAllPublicAddressesResponse.d.ts.map b/lib/entities/RemoveAllPublicAddressesResponse.d.ts.map new file mode 100644 index 00000000..3d9cbf6b --- /dev/null +++ b/lib/entities/RemoveAllPublicAddressesResponse.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"RemoveAllPublicAddressesResponse.d.ts","sourceRoot":"","sources":["../../src/entities/RemoveAllPublicAddressesResponse.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gCAAgC;IAC/C,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAA;CACtB"} \ No newline at end of file diff --git a/lib/entities/RemovePublicAddressesResponse.d.ts b/lib/entities/RemovePublicAddressesResponse.d.ts new file mode 100644 index 00000000..171f3c38 --- /dev/null +++ b/lib/entities/RemovePublicAddressesResponse.d.ts @@ -0,0 +1,7 @@ +export interface RemovePublicAddressesResponse { + transaction_id: string; + block_num: number; + status: string; + fee_collected: number; +} +//# sourceMappingURL=RemovePublicAddressesResponse.d.ts.map \ No newline at end of file diff --git a/lib/entities/RemovePublicAddressesResponse.d.ts.map b/lib/entities/RemovePublicAddressesResponse.d.ts.map new file mode 100644 index 00000000..f1625e4a --- /dev/null +++ b/lib/entities/RemovePublicAddressesResponse.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"RemovePublicAddressesResponse.d.ts","sourceRoot":"","sources":["../../src/entities/RemovePublicAddressesResponse.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,6BAA6B;IAC5C,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAA;CACtB"} \ No newline at end of file diff --git a/lib/entities/RenewFioAddressResponse.d.ts b/lib/entities/RenewFioAddressResponse.d.ts new file mode 100644 index 00000000..8d92d31e --- /dev/null +++ b/lib/entities/RenewFioAddressResponse.d.ts @@ -0,0 +1,8 @@ +export interface RenewFioAddressResponse { + transaction_id: string; + block_num: number; + status: string; + expiration: string; + fee_collected: number; +} +//# sourceMappingURL=RenewFioAddressResponse.d.ts.map \ No newline at end of file diff --git a/lib/entities/RenewFioAddressResponse.d.ts.map b/lib/entities/RenewFioAddressResponse.d.ts.map new file mode 100644 index 00000000..32b019f5 --- /dev/null +++ b/lib/entities/RenewFioAddressResponse.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"RenewFioAddressResponse.d.ts","sourceRoot":"","sources":["../../src/entities/RenewFioAddressResponse.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,uBAAuB;IACtC,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAA;CACtB"} \ No newline at end of file diff --git a/lib/entities/RenewFioDomainResponse.d.ts b/lib/entities/RenewFioDomainResponse.d.ts new file mode 100644 index 00000000..ac97d5f0 --- /dev/null +++ b/lib/entities/RenewFioDomainResponse.d.ts @@ -0,0 +1,7 @@ +export interface RenewFioDomainResponse { + transaction_id: string; + status: string; + expiration: string; + fee_collected: number; +} +//# sourceMappingURL=RenewFioDomainResponse.d.ts.map \ No newline at end of file diff --git a/lib/entities/RenewFioDomainResponse.d.ts.map b/lib/entities/RenewFioDomainResponse.d.ts.map new file mode 100644 index 00000000..615648b5 --- /dev/null +++ b/lib/entities/RenewFioDomainResponse.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"RenewFioDomainResponse.d.ts","sourceRoot":"","sources":["../../src/entities/RenewFioDomainResponse.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,sBAAsB;IACrC,cAAc,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAA;CACtB"} \ No newline at end of file diff --git a/lib/entities/RequestFundsResponse.d.ts b/lib/entities/RequestFundsResponse.d.ts new file mode 100644 index 00000000..de0f45c6 --- /dev/null +++ b/lib/entities/RequestFundsResponse.d.ts @@ -0,0 +1,8 @@ +export interface RequestFundsResponse { + transaction_id: string; + block_num: number; + fio_request_id: number; + status: string; + fee_collected: number; +} +//# sourceMappingURL=RequestFundsResponse.d.ts.map \ No newline at end of file diff --git a/lib/entities/RequestFundsResponse.d.ts.map b/lib/entities/RequestFundsResponse.d.ts.map new file mode 100644 index 00000000..52784310 --- /dev/null +++ b/lib/entities/RequestFundsResponse.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"RequestFundsResponse.d.ts","sourceRoot":"","sources":["../../src/entities/RequestFundsResponse.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACnC,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAA;CACtB"} \ No newline at end of file diff --git a/lib/entities/SentFioRequest.d.ts b/lib/entities/SentFioRequest.d.ts new file mode 100644 index 00000000..bd10a054 --- /dev/null +++ b/lib/entities/SentFioRequest.d.ts @@ -0,0 +1,12 @@ +export interface SentFioRequest { + fio_request_id: string; + payer_fio_address: string; + payee_fio_address: string; + payee_public_address: string; + amount: string; + token_code: string; + metadata: string; + time_stamp: string; + status: string; +} +//# sourceMappingURL=SentFioRequest.d.ts.map \ No newline at end of file diff --git a/lib/entities/SentFioRequest.d.ts.map b/lib/entities/SentFioRequest.d.ts.map new file mode 100644 index 00000000..2a308fc0 --- /dev/null +++ b/lib/entities/SentFioRequest.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"SentFioRequest.d.ts","sourceRoot":"","sources":["../../src/entities/SentFioRequest.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC7B,cAAc,EAAE,MAAM,CAAC;IACvB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAA;CACf"} \ No newline at end of file diff --git a/lib/entities/SentFioRequestsResponse.d.ts b/lib/entities/SentFioRequestsResponse.d.ts new file mode 100644 index 00000000..f820f267 --- /dev/null +++ b/lib/entities/SentFioRequestsResponse.d.ts @@ -0,0 +1,6 @@ +import { FioSentRequestsItem } from './FioSentRequestsItem'; +export interface SentFioRequestResponse { + requests: FioSentRequestsItem[]; + more: number; +} +//# sourceMappingURL=SentFioRequestsResponse.d.ts.map \ No newline at end of file diff --git a/lib/entities/SentFioRequestsResponse.d.ts.map b/lib/entities/SentFioRequestsResponse.d.ts.map new file mode 100644 index 00000000..2c8e1179 --- /dev/null +++ b/lib/entities/SentFioRequestsResponse.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"SentFioRequestsResponse.d.ts","sourceRoot":"","sources":["../../src/entities/SentFioRequestsResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAE3D,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,mBAAmB,EAAE,CAAC;IAChC,IAAI,EAAE,MAAM,CAAA;CACb"} \ No newline at end of file diff --git a/lib/entities/SetFioDomainVisibilityResponse.d.ts b/lib/entities/SetFioDomainVisibilityResponse.d.ts new file mode 100644 index 00000000..26fd8144 --- /dev/null +++ b/lib/entities/SetFioDomainVisibilityResponse.d.ts @@ -0,0 +1,7 @@ +export interface SetFioDomainVisibilityResponse { + transaction_id: string; + block_num: number; + status: string; + fee_collected: number; +} +//# sourceMappingURL=SetFioDomainVisibilityResponse.d.ts.map \ No newline at end of file diff --git a/lib/entities/SetFioDomainVisibilityResponse.d.ts.map b/lib/entities/SetFioDomainVisibilityResponse.d.ts.map new file mode 100644 index 00000000..dfcb9aa6 --- /dev/null +++ b/lib/entities/SetFioDomainVisibilityResponse.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"SetFioDomainVisibilityResponse.d.ts","sourceRoot":"","sources":["../../src/entities/SetFioDomainVisibilityResponse.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,8BAA8B;IAC7C,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAA;CACtB"} \ No newline at end of file diff --git a/lib/entities/TransactionResponse.d.ts b/lib/entities/TransactionResponse.d.ts new file mode 100644 index 00000000..69d78c12 --- /dev/null +++ b/lib/entities/TransactionResponse.d.ts @@ -0,0 +1,8 @@ +export interface TransactionResponse { + transaction_id: string; + block_num: number; + block_time: string; + status: string; + fee_collected: number; +} +//# sourceMappingURL=TransactionResponse.d.ts.map \ No newline at end of file diff --git a/lib/entities/TransactionResponse.d.ts.map b/lib/entities/TransactionResponse.d.ts.map new file mode 100644 index 00000000..89ea0c0f --- /dev/null +++ b/lib/entities/TransactionResponse.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"TransactionResponse.d.ts","sourceRoot":"","sources":["../../src/entities/TransactionResponse.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB;IAClC,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAA;CACtB"} \ No newline at end of file diff --git a/lib/entities/TransferFioAddressResponse.d.ts b/lib/entities/TransferFioAddressResponse.d.ts new file mode 100644 index 00000000..15da25f0 --- /dev/null +++ b/lib/entities/TransferFioAddressResponse.d.ts @@ -0,0 +1,7 @@ +export interface TransferFioAddressResponse { + transaction_id: string; + block_num: number; + status: string; + fee_collected: number; +} +//# sourceMappingURL=TransferFioAddressResponse.d.ts.map \ No newline at end of file diff --git a/lib/entities/TransferFioAddressResponse.d.ts.map b/lib/entities/TransferFioAddressResponse.d.ts.map new file mode 100644 index 00000000..886bc5cb --- /dev/null +++ b/lib/entities/TransferFioAddressResponse.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"TransferFioAddressResponse.d.ts","sourceRoot":"","sources":["../../src/entities/TransferFioAddressResponse.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,0BAA0B;IACvC,cAAc,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAA;CACxB"} \ No newline at end of file diff --git a/lib/entities/TransferFioDomainResponse.d.ts b/lib/entities/TransferFioDomainResponse.d.ts new file mode 100644 index 00000000..0c758942 --- /dev/null +++ b/lib/entities/TransferFioDomainResponse.d.ts @@ -0,0 +1,7 @@ +export interface TransferFioDomainResponse { + transaction_id: string; + block_num: number; + status: string; + fee_collected: number; +} +//# sourceMappingURL=TransferFioDomainResponse.d.ts.map \ No newline at end of file diff --git a/lib/entities/TransferFioDomainResponse.d.ts.map b/lib/entities/TransferFioDomainResponse.d.ts.map new file mode 100644 index 00000000..05a06c0a --- /dev/null +++ b/lib/entities/TransferFioDomainResponse.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"TransferFioDomainResponse.d.ts","sourceRoot":"","sources":["../../src/entities/TransferFioDomainResponse.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,yBAAyB;IACtC,cAAc,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAA;CACxB"} \ No newline at end of file diff --git a/lib/entities/TransferLockedTokensResponse.d.ts b/lib/entities/TransferLockedTokensResponse.d.ts new file mode 100644 index 00000000..2da144ff --- /dev/null +++ b/lib/entities/TransferLockedTokensResponse.d.ts @@ -0,0 +1,5 @@ +export interface TransferLockedTokensResponse { + status: string; + fee_collected: number; +} +//# sourceMappingURL=TransferLockedTokensResponse.d.ts.map \ No newline at end of file diff --git a/lib/entities/TransferLockedTokensResponse.d.ts.map b/lib/entities/TransferLockedTokensResponse.d.ts.map new file mode 100644 index 00000000..3bd11005 --- /dev/null +++ b/lib/entities/TransferLockedTokensResponse.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"TransferLockedTokensResponse.d.ts","sourceRoot":"","sources":["../../src/entities/TransferLockedTokensResponse.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,4BAA4B;IAC3C,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAA;CACtB"} \ No newline at end of file diff --git a/lib/entities/TransferTokensResponse.d.ts b/lib/entities/TransferTokensResponse.d.ts new file mode 100644 index 00000000..06d0d510 --- /dev/null +++ b/lib/entities/TransferTokensResponse.d.ts @@ -0,0 +1,7 @@ +export interface TransferTokensResponse { + transaction_id: string; + block_num: number; + status: string; + fee_collected: number; +} +//# sourceMappingURL=TransferTokensResponse.d.ts.map \ No newline at end of file diff --git a/lib/entities/TransferTokensResponse.d.ts.map b/lib/entities/TransferTokensResponse.d.ts.map new file mode 100644 index 00000000..ecbba0ce --- /dev/null +++ b/lib/entities/TransferTokensResponse.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"TransferTokensResponse.d.ts","sourceRoot":"","sources":["../../src/entities/TransferTokensResponse.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,sBAAsB;IACrC,cAAc,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAA;CACtB"} \ No newline at end of file diff --git a/lib/entities/ValidationError.d.ts b/lib/entities/ValidationError.d.ts new file mode 100644 index 00000000..550d8722 --- /dev/null +++ b/lib/entities/ValidationError.d.ts @@ -0,0 +1,9 @@ +export interface ErrObj { + field: string; + message: string; +} +export declare class ValidationError extends Error { + list: ErrObj[]; + constructor(list: ErrObj[], ...params: any); +} +//# sourceMappingURL=ValidationError.d.ts.map \ No newline at end of file diff --git a/lib/entities/ValidationError.d.ts.map b/lib/entities/ValidationError.d.ts.map new file mode 100644 index 00000000..97a6b6d3 --- /dev/null +++ b/lib/entities/ValidationError.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"ValidationError.d.ts","sourceRoot":"","sources":["../../src/entities/ValidationError.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,MAAM;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,qBAAa,eAAgB,SAAQ,KAAK;IACjC,IAAI,EAAE,MAAM,EAAE,CAAK;gBAEd,IAAI,EAAE,MAAM,EAAE,EAAE,GAAG,MAAM,EAAE,GAAG;CAU3C"} \ No newline at end of file diff --git a/lib/entities/index.d.ts b/lib/entities/index.d.ts new file mode 100644 index 00000000..b02c98b3 --- /dev/null +++ b/lib/entities/index.d.ts @@ -0,0 +1,2 @@ +export { RecordObtDataRequest } from './RecordObtDataRequest'; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/lib/entities/index.d.ts.map b/lib/entities/index.d.ts.map new file mode 100644 index 00000000..28708e00 --- /dev/null +++ b/lib/entities/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/entities/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAO,wBAAwB,CAAA"} \ No newline at end of file diff --git a/lib/entities/responses.d.ts b/lib/entities/responses.d.ts new file mode 100644 index 00000000..381a79f1 --- /dev/null +++ b/lib/entities/responses.d.ts @@ -0,0 +1,37 @@ +export { AbiResponse } from './AbiResponse'; +export { AvailabilityResponse } from './AvailabilityResponse'; +export { BalanceResponse } from './BalanceResponse'; +export { FioFeeResponse } from './FioFeeResponse'; +export { FioInfoResponse } from './FioInfoResponse'; +export { FioNamesResponse } from './FioNamesResponse'; +export { PendingFioRequestsResponse } from './PendingFioRequestsResponse'; +export { ReceivedFioRequestsResponse } from './ReceivedFioRequestsResponse'; +export { SentFioRequestResponse } from './SentFioRequestsResponse'; +export { PublicAddressResponse } from './PublicAddressResponse'; +export { PublicAddressesResponse } from './PublicAddressesResponse'; +export { RegisterFioAddressResponse } from './RegisterFioAddressResponse'; +export { RegisterFioDomainResponse } from './RegisterFioDomainResponse'; +export { RenewFioDomainResponse } from './RenewFioDomainResponse'; +export { RenewFioAddressResponse } from './RenewFioAddressResponse'; +export { BurnFioAddressResponse } from './BurnFioAddressResponse'; +export { TransferFioAddressResponse } from './TransferFioAddressResponse'; +export { TransferFioDomainResponse } from './TransferFioDomainResponse'; +export { AddBundledTransactionsResponse } from './AddBundledTransactionsResponse'; +export { AddPublicAddressResponse } from './AddPublicAddressResponse'; +export { RemovePublicAddressesResponse } from './RemovePublicAddressesResponse'; +export { RemoveAllPublicAddressesResponse } from './RemoveAllPublicAddressesResponse'; +export { SetFioDomainVisibilityResponse } from './SetFioDomainVisibilityResponse'; +export { RequestFundsResponse } from './RequestFundsResponse'; +export { RejectFundsResponse } from './RejectFundsResponse'; +export { RecordObtDataResponse } from './RecordObtDataResponse'; +export { TransferTokensResponse } from './TransferTokensResponse'; +export { GetObtDataResponse } from './GetObtDataResponse'; +export { CancelFundsRequestResponse } from './CancelFundsRequestResponse'; +export { CancelledFioRequestResponse } from './CancelledFioRequestResponse'; +export { FioAddressesResponse } from './FioAddressesResponse'; +export { FioDomainsResponse } from './FioDomainsResponse'; +export { TransferLockedTokensResponse } from './TransferLockedTokensResponse'; +export { LocksResponse } from './LocksResponse'; +export { AccountResponse } from './AccountResponse'; +export { TransactionResponse } from './TransactionResponse'; +//# sourceMappingURL=responses.d.ts.map \ No newline at end of file diff --git a/lib/entities/responses.d.ts.map b/lib/entities/responses.d.ts.map new file mode 100644 index 00000000..737f25e9 --- /dev/null +++ b/lib/entities/responses.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../src/entities/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAO,eAAe,CAAA;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAO,wBAAwB,CAAA;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAO,mBAAmB,CAAA;AACpD,OAAO,EAAE,cAAc,EAAE,MAAO,kBAAkB,CAAA;AAClD,OAAO,EAAE,eAAe,EAAE,MAAO,mBAAmB,CAAA;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAO,oBAAoB,CAAA;AACtD,OAAO,EAAE,0BAA0B,EAAE,MAAO,8BAA8B,CAAA;AAC1E,OAAO,EAAE,2BAA2B,EAAE,MAAO,+BAA+B,CAAA;AAC5E,OAAO,EAAE,sBAAsB,EAAE,MAAO,2BAA2B,CAAA;AACnE,OAAO,EAAE,qBAAqB,EAAE,MAAO,yBAAyB,CAAA;AAChE,OAAO,EAAE,uBAAuB,EAAE,MAAO,2BAA2B,CAAA;AACpE,OAAO,EAAE,0BAA0B,EAAE,MAAO,8BAA8B,CAAA;AAC1E,OAAO,EAAE,yBAAyB,EAAE,MAAO,6BAA6B,CAAA;AACxE,OAAO,EAAE,sBAAsB,EAAE,MAAO,0BAA0B,CAAA;AAClE,OAAO,EAAE,uBAAuB,EAAE,MAAO,2BAA2B,CAAA;AACpE,OAAO,EAAE,sBAAsB,EAAE,MAAO,0BAA0B,CAAA;AAClE,OAAO,EAAE,0BAA0B,EAAE,MAAO,8BAA8B,CAAA;AAC1E,OAAO,EAAE,yBAAyB,EAAE,MAAO,6BAA6B,CAAA;AACxE,OAAO,EAAE,8BAA8B,EAAE,MAAO,kCAAkC,CAAA;AAClF,OAAO,EAAE,wBAAwB,EAAE,MAAO,4BAA4B,CAAA;AACtE,OAAO,EAAE,6BAA6B,EAAE,MAAO,iCAAiC,CAAA;AAChF,OAAO,EAAE,gCAAgC,EAAE,MAAO,oCAAoC,CAAA;AACtF,OAAO,EAAE,8BAA8B,EAAE,MAAO,kCAAkC,CAAA;AAClF,OAAO,EAAE,oBAAoB,EAAE,MAAO,wBAAwB,CAAA;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAO,uBAAuB,CAAA;AAC5D,OAAO,EAAE,qBAAqB,EAAE,MAAO,yBAAyB,CAAA;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAA;AACzE,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAA;AAC3E,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,EAAE,4BAA4B,EAAE,MAAO,gCAAgC,CAAA;AAC9E,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA"} \ No newline at end of file diff --git a/lib/providers/SignatureProvider.d.ts b/lib/providers/SignatureProvider.d.ts new file mode 100644 index 00000000..75e8ee82 --- /dev/null +++ b/lib/providers/SignatureProvider.d.ts @@ -0,0 +1,5 @@ +export interface SignatureProvider { + prepareTransaction: string; + accountHash: string; +} +//# sourceMappingURL=SignatureProvider.d.ts.map \ No newline at end of file diff --git a/lib/providers/SignatureProvider.d.ts.map b/lib/providers/SignatureProvider.d.ts.map new file mode 100644 index 00000000..51d13c69 --- /dev/null +++ b/lib/providers/SignatureProvider.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"SignatureProvider.d.ts","sourceRoot":"","sources":["../../src/providers/SignatureProvider.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,kBAAkB,EAAE,MAAM,CAAA;IAC1B,WAAW,EAAE,MAAM,CAAA;CACpB"} \ No newline at end of file diff --git a/lib/transactions/Transactions.d.ts b/lib/transactions/Transactions.d.ts new file mode 100644 index 00000000..fbd14258 --- /dev/null +++ b/lib/transactions/Transactions.d.ts @@ -0,0 +1,89 @@ +import { Api as FioJsApi } from '@fioprotocol/fiojs'; +import { AbiProvider, AuthorityProvider } from '@fioprotocol/fiojs/dist/chain-api-interfaces'; +import { PushTransactionArgs } from '@fioprotocol/fiojs/dist/chain-rpc-interfaces'; +import { AbiResponse } from '../entities/AbiResponse'; +import { RawTransaction } from '../entities/RawTransaction'; +declare type FetchJson = (uri: string, opts?: object) => any; +interface SignedTxArgs { + compression: number; + packed_context_free_data: string; + packed_trx: string; + signatures: string[]; +} +export declare const signAllAuthorityProvider: AuthorityProvider; +export declare class Transactions { + static baseUrl: string; + static abiMap: Map; + static FioProvider: { + prepareTransaction(param: any): Promise; + accountHash(pubKey: string): string; + }; + static fetchJson: FetchJson; + publicKey: string; + privateKey: string; + serilizeEndpoint: string; + validationData: object; + validationRules: any | null; + getActor(publicKey?: string): string; + getChainInfo(): Promise; + getBlock(chain: any): Promise; + getChainDataForTx(): Promise<{ + chain_id: number; + ref_block_num: number; + ref_block_prefix: number; + expiration: string; + }>; + setRawTransactionExp(rawTransaction: RawTransaction, chainData: { + ref_block_num: number; + ref_block_prefix: number; + expiration: string; + }): void; + generateApiProvider(abiMap: Map): AbiProvider; + initFioJsApi({ chainId, abiMap, textDecoder, textEncoder, privateKeys, }: { + chainId: string; + abiMap: Map; + privateKeys: string[]; + textDecoder?: TextDecoder; + textEncoder?: TextEncoder; + }): FioJsApi; + createRawTransaction({ account, action, data, publicKey, chainData }: { + account: string; + action: string; + data: any; + publicKey?: string; + chainData?: { + ref_block_num: number; + ref_block_prefix: number; + expiration: string; + }; + }): Promise; + serialize({ chainId, abiMap, transaction, textDecoder, textEncoder, }: { + transaction: RawTransaction; + chainId: string; + abiMap?: Map; + textDecoder?: TextDecoder; + textEncoder?: TextEncoder; + }): Promise; + deserialize({ chainId, abiMap, serializedTransaction, textDecoder, textEncoder, }: { + serializedTransaction: Uint8Array; + chainId: string; + abiMap?: Map; + textDecoder?: TextDecoder; + textEncoder?: TextEncoder; + }): Promise; + sign({ abiMap, chainId, privateKeys, transaction, serializedTransaction, serializedContextFreeData, }: { + abiMap?: Map; + chainId: string; + privateKeys: string[]; + transaction: RawTransaction; + serializedTransaction: any; + serializedContextFreeData: any; + }): Promise; + pushToServer(transaction: RawTransaction, endpoint: string, dryRun: boolean): Promise; + executeCall(endPoint: string, body: string, fetchOptions?: any): Promise; + getCipherContent(contentType: string, content: any, privateKey: string, publicKey: string): string; + getUnCipherContent(contentType: string, content: any, privateKey: string, publicKey: string): any; + validate(): void; +} +export {}; +//# sourceMappingURL=Transactions.d.ts.map \ No newline at end of file diff --git a/lib/transactions/Transactions.d.ts.map b/lib/transactions/Transactions.d.ts.map new file mode 100644 index 00000000..e665f69a --- /dev/null +++ b/lib/transactions/Transactions.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"Transactions.d.ts","sourceRoot":"","sources":["../../src/transactions/Transactions.ts"],"names":[],"mappings":"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"} \ No newline at end of file diff --git a/lib/transactions/queries/AvailabilityCheck.d.ts b/lib/transactions/queries/AvailabilityCheck.d.ts new file mode 100644 index 00000000..df18a172 --- /dev/null +++ b/lib/transactions/queries/AvailabilityCheck.d.ts @@ -0,0 +1,11 @@ +import { AvailabilityResponse } from '../../entities/AvailabilityResponse'; +import { Query } from './Query'; +export declare class AvailabilityCheck extends Query { + ENDPOINT: string; + fioName: string; + constructor(fioName: string); + getData(): { + fio_name: string; + }; +} +//# sourceMappingURL=AvailabilityCheck.d.ts.map \ No newline at end of file diff --git a/lib/transactions/queries/AvailabilityCheck.d.ts.map b/lib/transactions/queries/AvailabilityCheck.d.ts.map new file mode 100644 index 00000000..9208b8ef --- /dev/null +++ b/lib/transactions/queries/AvailabilityCheck.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"AvailabilityCheck.d.ts","sourceRoot":"","sources":["../../../src/transactions/queries/AvailabilityCheck.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAA;AAC1E,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAE/B,qBAAa,iBAAkB,SAAQ,KAAK,CAAC,oBAAoB,CAAC;IACzD,QAAQ,EAAE,MAAM,CAAsB;IACtC,OAAO,EAAE,MAAM,CAAA;gBAEV,OAAO,EAAE,MAAM;IAKpB,OAAO;;;CAGf"} \ No newline at end of file diff --git a/lib/transactions/queries/CancelledFioRequests.d.ts b/lib/transactions/queries/CancelledFioRequests.d.ts new file mode 100644 index 00000000..bcf4acd7 --- /dev/null +++ b/lib/transactions/queries/CancelledFioRequests.d.ts @@ -0,0 +1,17 @@ +import { CancelledFioRequestResponse } from '../../entities/CancelledFioRequestResponse'; +import { Query } from './Query'; +export declare class CancelledFioRequests extends Query { + ENDPOINT: string; + fioPublicKey: string; + limit: number | null; + offset: number | null; + isEncrypted: boolean; + constructor(fioPublicKey: string, limit?: number | null, offset?: number | null); + getData(): { + fio_public_key: string; + limit: number | null; + offset: number | null; + }; + decrypt(result: any): any; +} +//# sourceMappingURL=CancelledFioRequests.d.ts.map \ No newline at end of file diff --git a/lib/transactions/queries/CancelledFioRequests.d.ts.map b/lib/transactions/queries/CancelledFioRequests.d.ts.map new file mode 100644 index 00000000..4b40cd96 --- /dev/null +++ b/lib/transactions/queries/CancelledFioRequests.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"CancelledFioRequests.d.ts","sourceRoot":"","sources":["../../../src/transactions/queries/CancelledFioRequests.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,2BAA2B,EAAC,MAAM,4CAA4C,CAAA;AAEtF,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAE/B,qBAAa,oBAAqB,SAAQ,KAAK,CAAC,2BAA2B,CAAC;IACnE,QAAQ,EAAE,MAAM,CAAqC;IACrD,YAAY,EAAE,MAAM,CAAA;IACpB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,WAAW,UAAO;gBAEb,YAAY,EAAE,MAAM,EAAE,KAAK,GAAE,MAAM,GAAG,IAAW,EAAE,MAAM,GAAE,MAAM,GAAG,IAAW;IAOpF,OAAO;;;;;IAMP,OAAO,CAAC,MAAM,EAAE,GAAG,GAAG,GAAG;CAoBjC"} \ No newline at end of file diff --git a/lib/transactions/queries/GetAbi.d.ts b/lib/transactions/queries/GetAbi.d.ts new file mode 100644 index 00000000..939520fe --- /dev/null +++ b/lib/transactions/queries/GetAbi.d.ts @@ -0,0 +1,11 @@ +import { AbiResponse } from '../../entities/AbiResponse'; +import { Query } from './Query'; +export declare class GetAbi extends Query { + ENDPOINT: string; + accountName: string; + constructor(accountName: string); + getData(): { + account_name: string; + }; +} +//# sourceMappingURL=GetAbi.d.ts.map \ No newline at end of file diff --git a/lib/transactions/queries/GetAbi.d.ts.map b/lib/transactions/queries/GetAbi.d.ts.map new file mode 100644 index 00000000..fccb35f1 --- /dev/null +++ b/lib/transactions/queries/GetAbi.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"GetAbi.d.ts","sourceRoot":"","sources":["../../../src/transactions/queries/GetAbi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAE/B,qBAAa,MAAO,SAAQ,KAAK,CAAC,WAAW,CAAC;IACrC,QAAQ,EAAE,MAAM,CAAsB;IACtC,WAAW,EAAE,MAAM,CAAA;gBAEd,WAAW,EAAE,MAAM;IAKxB,OAAO;;;CAKf"} \ No newline at end of file diff --git a/lib/transactions/queries/GetAccount.d.ts b/lib/transactions/queries/GetAccount.d.ts new file mode 100644 index 00000000..2f7768da --- /dev/null +++ b/lib/transactions/queries/GetAccount.d.ts @@ -0,0 +1,11 @@ +import { AccountResponse } from '../../entities/AccountResponse'; +import { Query } from './Query'; +export declare class GetAccount extends Query { + ENDPOINT: string; + accountToUse: string; + constructor(actor: string); + getData(): { + account_name: string; + }; +} +//# sourceMappingURL=GetAccount.d.ts.map \ No newline at end of file diff --git a/lib/transactions/queries/GetAccount.d.ts.map b/lib/transactions/queries/GetAccount.d.ts.map new file mode 100644 index 00000000..df3bd2b6 --- /dev/null +++ b/lib/transactions/queries/GetAccount.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"GetAccount.d.ts","sourceRoot":"","sources":["../../../src/transactions/queries/GetAccount.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAA;AAChE,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAE/B,qBAAa,UAAW,SAAQ,KAAK,CAAC,eAAe,CAAC;IAC7C,QAAQ,EAAE,MAAM,CAAsB;IACtC,YAAY,EAAE,MAAM,CAAA;gBAEf,KAAK,EAAE,MAAM;IAKlB,OAAO;;;CAIf"} \ No newline at end of file diff --git a/lib/transactions/queries/GetAddresses.d.ts b/lib/transactions/queries/GetAddresses.d.ts new file mode 100644 index 00000000..6eb83d28 --- /dev/null +++ b/lib/transactions/queries/GetAddresses.d.ts @@ -0,0 +1,15 @@ +import { FioAddressesResponse } from '../../entities/FioAddressesResponse'; +import { Query } from './Query'; +export declare class GetAddresses extends Query { + ENDPOINT: string; + fioPublicKey: string; + limit: number | null; + offset: number | null; + constructor(fioPublicKey: string, limit?: number | null, offset?: number | null); + getData(): { + fio_public_key: string; + limit: number | null; + offset: number | null; + }; +} +//# sourceMappingURL=GetAddresses.d.ts.map \ No newline at end of file diff --git a/lib/transactions/queries/GetAddresses.d.ts.map b/lib/transactions/queries/GetAddresses.d.ts.map new file mode 100644 index 00000000..1a016f8e --- /dev/null +++ b/lib/transactions/queries/GetAddresses.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"GetAddresses.d.ts","sourceRoot":"","sources":["../../../src/transactions/queries/GetAddresses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAA;AAC1E,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAE/B,qBAAa,YAAa,SAAQ,KAAK,CAAC,oBAAoB,CAAC;IACpD,QAAQ,EAAE,MAAM,CAA4B;IAC5C,YAAY,EAAE,MAAM,CAAA;IACpB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;gBAEhB,YAAY,EAAE,MAAM,EAAE,KAAK,GAAE,MAAM,GAAG,IAAW,EAAE,MAAM,GAAE,MAAM,GAAG,IAAW;IAOpF,OAAO;;;;;CAGf"} \ No newline at end of file diff --git a/lib/transactions/queries/GetDomains.d.ts b/lib/transactions/queries/GetDomains.d.ts new file mode 100644 index 00000000..e8db2dbd --- /dev/null +++ b/lib/transactions/queries/GetDomains.d.ts @@ -0,0 +1,15 @@ +import { FioDomainsResponse } from '../../entities/FioDomainsResponse'; +import { Query } from './Query'; +export declare class GetDomains extends Query { + ENDPOINT: string; + fioPublicKey: string; + limit: number | null; + offset: number | null; + constructor(fioPublicKey: string, limit?: number | null, offset?: number | null); + getData(): { + fio_public_key: string; + limit: number | null; + offset: number | null; + }; +} +//# sourceMappingURL=GetDomains.d.ts.map \ No newline at end of file diff --git a/lib/transactions/queries/GetDomains.d.ts.map b/lib/transactions/queries/GetDomains.d.ts.map new file mode 100644 index 00000000..3d969f47 --- /dev/null +++ b/lib/transactions/queries/GetDomains.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"GetDomains.d.ts","sourceRoot":"","sources":["../../../src/transactions/queries/GetDomains.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAA;AACtE,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAE/B,qBAAa,UAAW,SAAQ,KAAK,CAAC,kBAAkB,CAAC;IAChD,QAAQ,EAAE,MAAM,CAA0B;IAC1C,YAAY,EAAE,MAAM,CAAA;IACpB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;gBAEhB,YAAY,EAAE,MAAM,EAAE,KAAK,GAAE,MAAM,GAAG,IAAW,EAAE,MAAM,GAAE,MAAM,GAAG,IAAW;IAOpF,OAAO;;;;;CAGf"} \ No newline at end of file diff --git a/lib/transactions/queries/GetFee.d.ts b/lib/transactions/queries/GetFee.d.ts new file mode 100644 index 00000000..b284d98b --- /dev/null +++ b/lib/transactions/queries/GetFee.d.ts @@ -0,0 +1,13 @@ +import { FioFeeResponse } from '../../entities/FioFeeResponse'; +import { Query } from './Query'; +export declare class GetFee extends Query { + ENDPOINT: string; + endPoint: string; + fioAddress: string; + constructor(endPoint: string, fioAddress?: string); + getData(): { + end_point: string; + fio_address: string | null; + }; +} +//# sourceMappingURL=GetFee.d.ts.map \ No newline at end of file diff --git a/lib/transactions/queries/GetFee.d.ts.map b/lib/transactions/queries/GetFee.d.ts.map new file mode 100644 index 00000000..c6ac442f --- /dev/null +++ b/lib/transactions/queries/GetFee.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"GetFee.d.ts","sourceRoot":"","sources":["../../../src/transactions/queries/GetFee.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAA;AAG9D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAE/B,qBAAa,MAAO,SAAQ,KAAK,CAAC,cAAc,CAAC;IACxC,QAAQ,EAAE,MAAM,CAAkB;IAClC,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;gBAEb,QAAQ,EAAE,MAAM,EAAE,UAAU,GAAE,MAAW;IAe9C,OAAO;;;;CAIf"} \ No newline at end of file diff --git a/lib/transactions/queries/GetFioBalance.d.ts b/lib/transactions/queries/GetFioBalance.d.ts new file mode 100644 index 00000000..2696e249 --- /dev/null +++ b/lib/transactions/queries/GetFioBalance.d.ts @@ -0,0 +1,11 @@ +import { BalanceResponse } from '../../entities/BalanceResponse'; +import { Query } from './Query'; +export declare class GetFioBalance extends Query { + ENDPOINT: string; + keyToUse: string; + constructor(othersBalance?: string); + getData(): { + fio_public_key: string; + }; +} +//# sourceMappingURL=GetFioBalance.d.ts.map \ No newline at end of file diff --git a/lib/transactions/queries/GetFioBalance.d.ts.map b/lib/transactions/queries/GetFioBalance.d.ts.map new file mode 100644 index 00000000..dac7c4ce --- /dev/null +++ b/lib/transactions/queries/GetFioBalance.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"GetFioBalance.d.ts","sourceRoot":"","sources":["../../../src/transactions/queries/GetFioBalance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAA;AAChE,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAE/B,qBAAa,aAAc,SAAQ,KAAK,CAAC,eAAe,CAAC;IAChD,QAAQ,EAAE,MAAM,CAA0B;IAC1C,QAAQ,EAAE,MAAM,CAAA;gBAEX,aAAa,CAAC,EAAE,MAAM;IAK3B,OAAO;;;CAIf"} \ No newline at end of file diff --git a/lib/transactions/queries/GetLocks.d.ts b/lib/transactions/queries/GetLocks.d.ts new file mode 100644 index 00000000..a0b7e300 --- /dev/null +++ b/lib/transactions/queries/GetLocks.d.ts @@ -0,0 +1,11 @@ +import { LocksResponse } from '../../entities/LocksResponse'; +import { Query } from './Query'; +export declare class GetLocks extends Query { + ENDPOINT: string; + keyToUse: string; + constructor(fioPublicKey: string); + getData(): { + fio_public_key: string; + }; +} +//# sourceMappingURL=GetLocks.d.ts.map \ No newline at end of file diff --git a/lib/transactions/queries/GetLocks.d.ts.map b/lib/transactions/queries/GetLocks.d.ts.map new file mode 100644 index 00000000..a78bbd54 --- /dev/null +++ b/lib/transactions/queries/GetLocks.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"GetLocks.d.ts","sourceRoot":"","sources":["../../../src/transactions/queries/GetLocks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAA;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAE/B,qBAAa,QAAS,SAAQ,KAAK,CAAC,aAAa,CAAC;IACzC,QAAQ,EAAE,MAAM,CAAoB;IACpC,QAAQ,EAAE,MAAM,CAAA;gBAEX,YAAY,EAAE,MAAM;IAKzB,OAAO;;;CAIf"} \ No newline at end of file diff --git a/lib/transactions/queries/GetNames.d.ts b/lib/transactions/queries/GetNames.d.ts new file mode 100644 index 00000000..1f14e8fe --- /dev/null +++ b/lib/transactions/queries/GetNames.d.ts @@ -0,0 +1,11 @@ +import { FioNamesResponse } from '../../entities/FioNamesResponse'; +import { Query } from './Query'; +export declare class GetNames extends Query { + ENDPOINT: string; + fioPublicKey: string; + constructor(fioPublicKey: string); + getData(): { + fio_public_key: string; + }; +} +//# sourceMappingURL=GetNames.d.ts.map \ No newline at end of file diff --git a/lib/transactions/queries/GetNames.d.ts.map b/lib/transactions/queries/GetNames.d.ts.map new file mode 100644 index 00000000..adb92bba --- /dev/null +++ b/lib/transactions/queries/GetNames.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"GetNames.d.ts","sourceRoot":"","sources":["../../../src/transactions/queries/GetNames.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAA;AAClE,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAE/B,qBAAa,QAAS,SAAQ,KAAK,CAAC,gBAAgB,CAAC;IAC5C,QAAQ,EAAE,MAAM,CAAwB;IACxC,YAAY,EAAE,MAAM,CAAA;gBAEf,YAAY,EAAE,MAAM;IAKzB,OAAO;;;CAGf"} \ No newline at end of file diff --git a/lib/transactions/queries/GetNftsByContract.d.ts b/lib/transactions/queries/GetNftsByContract.d.ts new file mode 100644 index 00000000..43d91d9e --- /dev/null +++ b/lib/transactions/queries/GetNftsByContract.d.ts @@ -0,0 +1,19 @@ +import { NftsResponse } from '../../entities/NftsResponse'; +import { Query } from './Query'; +export declare class GetNftsByContract extends Query { + ENDPOINT: string; + chainCode: string; + contractAddress: string; + tokenId: string | null; + limit: number | null; + offset: number | null; + constructor(chainCode: string, contractAddress: string, tokenId?: string, limit?: number, offset?: number); + getData(): { + chain_code: string; + contract_address: string; + token_id: string | null; + limit: number | null; + offset: number | null; + }; +} +//# sourceMappingURL=GetNftsByContract.d.ts.map \ No newline at end of file diff --git a/lib/transactions/queries/GetNftsByContract.d.ts.map b/lib/transactions/queries/GetNftsByContract.d.ts.map new file mode 100644 index 00000000..c5c5eef1 --- /dev/null +++ b/lib/transactions/queries/GetNftsByContract.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"GetNftsByContract.d.ts","sourceRoot":"","sources":["../../../src/transactions/queries/GetNftsByContract.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAC1D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAE/B,qBAAa,iBAAkB,SAAQ,KAAK,CAAC,YAAY,CAAC;IACjD,QAAQ,EAAE,MAAM,CAA4B;IAC5C,SAAS,EAAE,MAAM,CAAA;IACjB,eAAe,EAAE,MAAM,CAAA;IACvB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;gBAEhB,SAAS,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM;IASlG,OAAO;;;;;;;CASf"} \ No newline at end of file diff --git a/lib/transactions/queries/GetNftsByFioAddress.d.ts b/lib/transactions/queries/GetNftsByFioAddress.d.ts new file mode 100644 index 00000000..f494dc41 --- /dev/null +++ b/lib/transactions/queries/GetNftsByFioAddress.d.ts @@ -0,0 +1,15 @@ +import { NftsResponse } from '../../entities/NftsResponse'; +import { Query } from './Query'; +export declare class GetNftsByFioAddress extends Query { + ENDPOINT: string; + fioAddress: string; + limit: number | null; + offset: number | null; + constructor(fioAddress: string, limit?: number, offset?: number); + getData(): { + fio_address: string; + limit: number | null; + offset: number | null; + }; +} +//# sourceMappingURL=GetNftsByFioAddress.d.ts.map \ No newline at end of file diff --git a/lib/transactions/queries/GetNftsByFioAddress.d.ts.map b/lib/transactions/queries/GetNftsByFioAddress.d.ts.map new file mode 100644 index 00000000..db9696bd --- /dev/null +++ b/lib/transactions/queries/GetNftsByFioAddress.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"GetNftsByFioAddress.d.ts","sourceRoot":"","sources":["../../../src/transactions/queries/GetNftsByFioAddress.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAC1D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAE/B,qBAAa,mBAAoB,SAAQ,KAAK,CAAC,YAAY,CAAC;IACnD,QAAQ,EAAE,MAAM,CAA+B;IAC/C,UAAU,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;gBAEhB,UAAU,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM;IAOxD,OAAO;;;;;CAOf"} \ No newline at end of file diff --git a/lib/transactions/queries/GetNftsByHash.d.ts b/lib/transactions/queries/GetNftsByHash.d.ts new file mode 100644 index 00000000..59b890c2 --- /dev/null +++ b/lib/transactions/queries/GetNftsByHash.d.ts @@ -0,0 +1,15 @@ +import { NftsResponse } from '../../entities/NftsResponse'; +import { Query } from './Query'; +export declare class GetNftsByHash extends Query { + ENDPOINT: string; + hash: string; + limit: number | null; + offset: number | null; + constructor(hash: string, limit?: number, offset?: number); + getData(): { + hash: string; + limit: number | null; + offset: number | null; + }; +} +//# sourceMappingURL=GetNftsByHash.d.ts.map \ No newline at end of file diff --git a/lib/transactions/queries/GetNftsByHash.d.ts.map b/lib/transactions/queries/GetNftsByHash.d.ts.map new file mode 100644 index 00000000..53c87f7f --- /dev/null +++ b/lib/transactions/queries/GetNftsByHash.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"GetNftsByHash.d.ts","sourceRoot":"","sources":["../../../src/transactions/queries/GetNftsByHash.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAC1D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAE/B,qBAAa,aAAc,SAAQ,KAAK,CAAC,YAAY,CAAC;IAC7C,QAAQ,EAAE,MAAM,CAAwB;IACxC,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;gBAEhB,IAAI,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM;IAOlD,OAAO;;;;;CAOf"} \ No newline at end of file diff --git a/lib/transactions/queries/GetObtData.d.ts b/lib/transactions/queries/GetObtData.d.ts new file mode 100644 index 00000000..407f7e54 --- /dev/null +++ b/lib/transactions/queries/GetObtData.d.ts @@ -0,0 +1,18 @@ +import { GetObtDataResponse } from '../../entities/GetObtDataResponse'; +import { Query } from './Query'; +export declare class GetObtData extends Query { + ENDPOINT: string; + fio_public_key: string; + limit: number | null; + offset: number | null; + tokenCode: string; + isEncrypted: boolean; + constructor(fioPublicKey: string, limit?: number, offset?: number, tokenCode?: string); + getData(): { + fio_public_key: string; + limit: number | null; + offset: number | null; + }; + decrypt(result: any): any; +} +//# sourceMappingURL=GetObtData.d.ts.map \ No newline at end of file diff --git a/lib/transactions/queries/GetObtData.d.ts.map b/lib/transactions/queries/GetObtData.d.ts.map new file mode 100644 index 00000000..9b842639 --- /dev/null +++ b/lib/transactions/queries/GetObtData.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"GetObtData.d.ts","sourceRoot":"","sources":["../../../src/transactions/queries/GetObtData.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAA;AACtE,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAE/B,qBAAa,UAAW,SAAQ,KAAK,CAAC,kBAAkB,CAAC;IAChD,QAAQ,EAAE,MAAM,CAAuB;IACvC,cAAc,EAAE,MAAM,CAAA;IACtB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,UAAO;gBAEb,YAAY,EAAE,MAAM,EAAE,KAAK,GAAE,MAAU,EAAE,MAAM,GAAE,MAAU,EAAE,SAAS,GAAE,MAAW;IAQxF,OAAO;;;;;IAIP,OAAO,CAAC,MAAM,EAAE,GAAG,GAAG,GAAG;CAsCjC"} \ No newline at end of file diff --git a/lib/transactions/queries/GetOracleFees.d.ts b/lib/transactions/queries/GetOracleFees.d.ts new file mode 100644 index 00000000..1f85820d --- /dev/null +++ b/lib/transactions/queries/GetOracleFees.d.ts @@ -0,0 +1,8 @@ +import { FioOracleFeesResponse } from '../../entities/FioFeeResponse'; +import { Query } from './Query'; +export declare class GetOracleFees extends Query { + ENDPOINT: string; + constructor(); + getData(): void; +} +//# sourceMappingURL=GetOracleFees.d.ts.map \ No newline at end of file diff --git a/lib/transactions/queries/GetOracleFees.d.ts.map b/lib/transactions/queries/GetOracleFees.d.ts.map new file mode 100644 index 00000000..4a7774cb --- /dev/null +++ b/lib/transactions/queries/GetOracleFees.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"GetOracleFees.d.ts","sourceRoot":"","sources":["../../../src/transactions/queries/GetOracleFees.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAC,MAAM,+BAA+B,CAAA;AACpE,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAE/B,qBAAa,aAAc,SAAQ,KAAK,CAAC,qBAAqB,CAAC;IACtD,QAAQ,EAAE,MAAM,CAA0B;;IAM1C,OAAO;CAGf"} \ No newline at end of file diff --git a/lib/transactions/queries/GetPublicAddress.d.ts b/lib/transactions/queries/GetPublicAddress.d.ts new file mode 100644 index 00000000..7db23900 --- /dev/null +++ b/lib/transactions/queries/GetPublicAddress.d.ts @@ -0,0 +1,15 @@ +import { PublicAddressResponse } from '../../entities/PublicAddressResponse'; +import { Query } from './Query'; +export declare class GetPublicAddress extends Query { + ENDPOINT: string; + fioAddress: string; + chainCode: string; + tokenCode: string; + constructor(fioAddress: string, chainCode: string, tokenCode: string); + getData(): { + fio_address: string; + chain_code: string; + token_code: string; + }; +} +//# sourceMappingURL=GetPublicAddress.d.ts.map \ No newline at end of file diff --git a/lib/transactions/queries/GetPublicAddress.d.ts.map b/lib/transactions/queries/GetPublicAddress.d.ts.map new file mode 100644 index 00000000..f892af8c --- /dev/null +++ b/lib/transactions/queries/GetPublicAddress.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"GetPublicAddress.d.ts","sourceRoot":"","sources":["../../../src/transactions/queries/GetPublicAddress.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAA;AAC5E,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAE/B,qBAAa,gBAAiB,SAAQ,KAAK,CAAC,qBAAqB,CAAC;IACzD,QAAQ,EAAE,MAAM,CAA0B;IAC1C,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;gBAEZ,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM;IAO7D,OAAO;;;;;CAOf"} \ No newline at end of file diff --git a/lib/transactions/queries/GetPublicAddresses.d.ts b/lib/transactions/queries/GetPublicAddresses.d.ts new file mode 100644 index 00000000..d8050a33 --- /dev/null +++ b/lib/transactions/queries/GetPublicAddresses.d.ts @@ -0,0 +1,15 @@ +import { PublicAddressesResponse } from '../../entities/PublicAddressesResponse'; +import { Query } from './Query'; +export declare class GetPublicAddresses extends Query { + ENDPOINT: string; + fioAddress: string; + limit: number | null; + offset: number | null; + constructor(fioAddress: string, limit?: number, offset?: number); + getData(): { + fio_address: string; + limit: number | null; + offset: number | null; + }; +} +//# sourceMappingURL=GetPublicAddresses.d.ts.map \ No newline at end of file diff --git a/lib/transactions/queries/GetPublicAddresses.d.ts.map b/lib/transactions/queries/GetPublicAddresses.d.ts.map new file mode 100644 index 00000000..f1051d28 --- /dev/null +++ b/lib/transactions/queries/GetPublicAddresses.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"GetPublicAddresses.d.ts","sourceRoot":"","sources":["../../../src/transactions/queries/GetPublicAddresses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAA;AAChF,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAE/B,qBAAa,kBAAmB,SAAQ,KAAK,CAAC,uBAAuB,CAAC;IAC7D,QAAQ,EAAE,MAAM,CAA4B;IAC5C,UAAU,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;gBAEhB,UAAU,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM;IAOxD,OAAO;;;;;CAOf"} \ No newline at end of file diff --git a/lib/transactions/queries/PendingFioRequests.d.ts b/lib/transactions/queries/PendingFioRequests.d.ts new file mode 100644 index 00000000..05adb16f --- /dev/null +++ b/lib/transactions/queries/PendingFioRequests.d.ts @@ -0,0 +1,17 @@ +import { PendingFioRequestsResponse } from '../../entities/PendingFioRequestsResponse'; +import { Query } from './Query'; +export declare class PendingFioRequests extends Query { + ENDPOINT: string; + fioPublicKey: string; + limit: number | null; + offset: number | null; + isEncrypted: boolean; + constructor(fioPublicKey: string, limit?: number | null, offset?: number | null); + getData(): { + fio_public_key: string; + limit: number | null; + offset: number | null; + }; + decrypt(result: any): any; +} +//# sourceMappingURL=PendingFioRequests.d.ts.map \ No newline at end of file diff --git a/lib/transactions/queries/PendingFioRequests.d.ts.map b/lib/transactions/queries/PendingFioRequests.d.ts.map new file mode 100644 index 00000000..685d87b5 --- /dev/null +++ b/lib/transactions/queries/PendingFioRequests.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"PendingFioRequests.d.ts","sourceRoot":"","sources":["../../../src/transactions/queries/PendingFioRequests.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,2CAA2C,CAAA;AACtF,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAE/B,qBAAa,kBAAmB,SAAQ,KAAK,CAAC,0BAA0B,CAAC;IAChE,QAAQ,EAAE,MAAM,CAAmC;IACnD,YAAY,EAAE,MAAM,CAAA;IACpB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,WAAW,UAAO;gBAEb,YAAY,EAAE,MAAM,EAAE,KAAK,GAAE,MAAM,GAAG,IAAW,EAAE,MAAM,GAAE,MAAM,GAAG,IAAW;IAOpF,OAAO;;;;;IAMP,OAAO,CAAC,MAAM,EAAE,GAAG,GAAG,GAAG;CAoBjC"} \ No newline at end of file diff --git a/lib/transactions/queries/Query.d.ts b/lib/transactions/queries/Query.d.ts new file mode 100644 index 00000000..12915f2c --- /dev/null +++ b/lib/transactions/queries/Query.d.ts @@ -0,0 +1,10 @@ +import { Transactions } from '../Transactions'; +export declare abstract class Query extends Transactions { + abstract ENDPOINT: string; + isEncrypted: boolean; + abstract getData(): any; + decrypt(result: any): any; + execute(publicKey: string, privateKey?: string): Promise; + getEndPoint(): string; +} +//# sourceMappingURL=Query.d.ts.map \ No newline at end of file diff --git a/lib/transactions/queries/Query.d.ts.map b/lib/transactions/queries/Query.d.ts.map new file mode 100644 index 00000000..cf405978 --- /dev/null +++ b/lib/transactions/queries/Query.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../src/transactions/queries/Query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAE9C,8BAAsB,KAAK,CAAC,CAAC,CAAE,SAAQ,YAAY;IACjD,SAAgB,QAAQ,EAAE,MAAM,CAAA;IAEzB,WAAW,UAAQ;aAEV,OAAO,IAAI,GAAG;IAEvB,OAAO,CAAC,MAAM,EAAE,GAAG,GAAG,GAAG;IAGnB,OAAO,CAAC,SAAS,EAAE,MAAM,EAAE,UAAU,GAAE,MAAW,GAAG,OAAO,CAAC,GAAG,CAAC;IAevE,WAAW,IAAI,MAAM;CAI7B"} \ No newline at end of file diff --git a/lib/transactions/queries/ReceivedFioRequests.d.ts b/lib/transactions/queries/ReceivedFioRequests.d.ts new file mode 100644 index 00000000..8f5d2b08 --- /dev/null +++ b/lib/transactions/queries/ReceivedFioRequests.d.ts @@ -0,0 +1,18 @@ +import { ReceivedFioRequestsResponse } from '../../entities/ReceivedFioRequestsResponse'; +import { Query } from './Query'; +export declare class ReceivedFioRequests extends Query { + ENDPOINT: string; + fioPublicKey: string; + limit: number | null; + offset: number | null; + includeEncrypted: boolean; + isEncrypted: boolean; + constructor(fioPublicKey: string, limit?: number | null, offset?: number | null, includeEncrypted?: boolean); + getData(): { + fio_public_key: string; + limit: number | null; + offset: number | null; + }; + decrypt(result: any): any; +} +//# sourceMappingURL=ReceivedFioRequests.d.ts.map \ No newline at end of file diff --git a/lib/transactions/queries/ReceivedFioRequests.d.ts.map b/lib/transactions/queries/ReceivedFioRequests.d.ts.map new file mode 100644 index 00000000..96e3ba5b --- /dev/null +++ b/lib/transactions/queries/ReceivedFioRequests.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"ReceivedFioRequests.d.ts","sourceRoot":"","sources":["../../../src/transactions/queries/ReceivedFioRequests.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,2BAA2B,EAAE,MAAM,4CAA4C,CAAA;AACxF,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAE/B,qBAAa,mBAAoB,SAAQ,KAAK,CAAC,2BAA2B,CAAC;IAClE,QAAQ,EAAE,MAAM,CAAoC;IACpD,YAAY,EAAE,MAAM,CAAA;IACpB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,gBAAgB,EAAE,OAAO,CAAA;IACzB,WAAW,UAAO;gBAEb,YAAY,EAAE,MAAM,EAAE,KAAK,GAAE,MAAM,GAAG,IAAW,EAAE,MAAM,GAAE,MAAM,GAAG,IAAW,EAAE,gBAAgB,GAAE,OAAe;IAQvH,OAAO;;;;;IAMP,OAAO,CAAC,MAAM,EAAE,GAAG,GAAG,GAAG;CAoBjC"} \ No newline at end of file diff --git a/lib/transactions/queries/SentFioRequests.d.ts b/lib/transactions/queries/SentFioRequests.d.ts new file mode 100644 index 00000000..6b468482 --- /dev/null +++ b/lib/transactions/queries/SentFioRequests.d.ts @@ -0,0 +1,18 @@ +import { SentFioRequestResponse } from '../../entities/SentFioRequestsResponse'; +import { Query } from './Query'; +export declare class SentFioRequests extends Query { + ENDPOINT: string; + fioPublicKey: string; + limit: number | null; + offset: number | null; + includeEncrypted: boolean; + isEncrypted: boolean; + constructor(fioPublicKey: string, limit?: number | null, offset?: number | null, includeEncrypted?: boolean); + getData(): { + fio_public_key: string; + limit: number | null; + offset: number | null; + }; + decrypt(result: any): any; +} +//# sourceMappingURL=SentFioRequests.d.ts.map \ No newline at end of file diff --git a/lib/transactions/queries/SentFioRequests.d.ts.map b/lib/transactions/queries/SentFioRequests.d.ts.map new file mode 100644 index 00000000..c03421dc --- /dev/null +++ b/lib/transactions/queries/SentFioRequests.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"SentFioRequests.d.ts","sourceRoot":"","sources":["../../../src/transactions/queries/SentFioRequests.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAA;AAC/E,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAE/B,qBAAa,eAAgB,SAAQ,KAAK,CAAC,sBAAsB,CAAC;IACzD,QAAQ,EAAE,MAAM,CAAgC;IAChD,YAAY,EAAE,MAAM,CAAA;IACpB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,gBAAgB,EAAE,OAAO,CAAA;IACzB,WAAW,UAAO;gBAEb,YAAY,EAAE,MAAM,EAAE,KAAK,GAAE,MAAM,GAAG,IAAW,EAAE,MAAM,GAAE,MAAM,GAAG,IAAW,EAAE,gBAAgB,GAAE,OAAe;IAQvH,OAAO;;;;;IAMP,OAAO,CAAC,MAAM,EAAE,GAAG,GAAG,GAAG;CAoBjC"} \ No newline at end of file diff --git a/lib/transactions/queries/index.d.ts b/lib/transactions/queries/index.d.ts new file mode 100644 index 00000000..2cdb6bad --- /dev/null +++ b/lib/transactions/queries/index.d.ts @@ -0,0 +1,21 @@ +export { AvailabilityCheck } from './AvailabilityCheck'; +export { GetPublicAddress } from './GetPublicAddress'; +export { GetPublicAddresses } from './GetPublicAddresses'; +export { SentFioRequests } from './SentFioRequests'; +export { GetNames } from './GetNames'; +export { GetFioBalance } from './GetFioBalance'; +export { PendingFioRequests } from './PendingFioRequests'; +export { ReceivedFioRequests } from './ReceivedFioRequests'; +export { GetFee } from './GetFee'; +export { GetOracleFees } from './GetOracleFees'; +export { GetAbi } from './GetAbi'; +export { GetObtData } from './GetObtData'; +export { CancelledFioRequests } from './CancelledFioRequests'; +export { GetAddresses } from './GetAddresses'; +export { GetDomains } from './GetDomains'; +export { GetLocks } from './GetLocks'; +export { GetAccount } from './GetAccount'; +export { GetNftsByFioAddress } from './GetNftsByFioAddress'; +export { GetNftsByContract } from './GetNftsByContract'; +export { GetNftsByHash } from './GetNftsByHash'; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/lib/transactions/queries/index.d.ts.map b/lib/transactions/queries/index.d.ts.map new file mode 100644 index 00000000..0a1eb901 --- /dev/null +++ b/lib/transactions/queries/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/transactions/queries/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA"} \ No newline at end of file diff --git a/lib/transactions/signed/AddBundledTransactions.d.ts b/lib/transactions/signed/AddBundledTransactions.d.ts new file mode 100644 index 00000000..a616a08d --- /dev/null +++ b/lib/transactions/signed/AddBundledTransactions.d.ts @@ -0,0 +1,13 @@ +import { SignedTransaction } from './SignedTransaction'; +export declare class AddBundledTransactions extends SignedTransaction { + ENDPOINT: string; + ACTION: string; + ACCOUNT: string; + fioAddress: string; + bundleSets: number; + maxFee: number; + technologyProviderId: string; + constructor(fioAddress: string, bundleSets: number, maxFee: number, technologyProviderId?: string); + getData(): any; +} +//# sourceMappingURL=AddBundledTransactions.d.ts.map \ No newline at end of file diff --git a/lib/transactions/signed/AddBundledTransactions.d.ts.map b/lib/transactions/signed/AddBundledTransactions.d.ts.map new file mode 100644 index 00000000..33511987 --- /dev/null +++ b/lib/transactions/signed/AddBundledTransactions.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"AddBundledTransactions.d.ts","sourceRoot":"","sources":["../../../src/transactions/signed/AddBundledTransactions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAEvD,qBAAa,sBAAuB,SAAQ,iBAAiB;IAClD,QAAQ,EAAE,MAAM,CAAmC;IACnD,MAAM,EAAE,MAAM,CAAe;IAC7B,OAAO,EAAE,MAAM,CAA2B;IAC1C,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,MAAM,CAAA;IACd,oBAAoB,EAAE,MAAM,CAAA;gBAEvB,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,oBAAoB,GAAE,MAAW;IAW9F,OAAO,IAAI,GAAG;CAWxB"} \ No newline at end of file diff --git a/lib/transactions/signed/AddPublicAddress.d.ts b/lib/transactions/signed/AddPublicAddress.d.ts new file mode 100644 index 00000000..8c8af61f --- /dev/null +++ b/lib/transactions/signed/AddPublicAddress.d.ts @@ -0,0 +1,14 @@ +import { PublicAddress } from '../../entities/PublicAddress'; +import { SignedTransaction } from './SignedTransaction'; +export declare class AddPublicAddress extends SignedTransaction { + ENDPOINT: string; + ACTION: string; + ACCOUNT: string; + fioAddress: string; + publicAddresses: PublicAddress[]; + maxFee: number; + technologyProviderId: string; + constructor(fioAddress: string, publicAddresses: PublicAddress[], maxFee: number, technologyProviderId?: string); + getData(): any; +} +//# sourceMappingURL=AddPublicAddress.d.ts.map \ No newline at end of file diff --git a/lib/transactions/signed/AddPublicAddress.d.ts.map b/lib/transactions/signed/AddPublicAddress.d.ts.map new file mode 100644 index 00000000..30eef117 --- /dev/null +++ b/lib/transactions/signed/AddPublicAddress.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"AddPublicAddress.d.ts","sourceRoot":"","sources":["../../../src/transactions/signed/AddPublicAddress.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAA;AAG5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAEvD,qBAAa,gBAAiB,SAAQ,iBAAiB;IAC9C,QAAQ,EAAE,MAAM,CAA0B;IAC1C,MAAM,EAAE,MAAM,CAAe;IAC7B,OAAO,EAAE,MAAM,CAA2B;IAC1C,UAAU,EAAE,MAAM,CAAA;IAClB,eAAe,EAAE,aAAa,EAAE,CAAA;IAChC,MAAM,EAAE,MAAM,CAAA;IACd,oBAAoB,EAAE,MAAM,CAAA;gBAEvB,UAAU,EAAE,MAAM,EAAE,eAAe,EAAE,aAAa,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,oBAAoB,GAAE,MAAW;IAW5G,OAAO,IAAI,GAAG;CAWtB"} \ No newline at end of file diff --git a/lib/transactions/signed/BurnFioAddress.d.ts b/lib/transactions/signed/BurnFioAddress.d.ts new file mode 100644 index 00000000..3c190fce --- /dev/null +++ b/lib/transactions/signed/BurnFioAddress.d.ts @@ -0,0 +1,12 @@ +import { SignedTransaction } from './SignedTransaction'; +export declare class BurnFioAddress extends SignedTransaction { + ENDPOINT: string; + ACTION: string; + ACCOUNT: string; + fioAddress: string; + maxFee: number; + technologyProviderId: string; + constructor(fioAddress: string, maxFee: number, technologyProviderId?: string); + getData(): any; +} +//# sourceMappingURL=BurnFioAddress.d.ts.map \ No newline at end of file diff --git a/lib/transactions/signed/BurnFioAddress.d.ts.map b/lib/transactions/signed/BurnFioAddress.d.ts.map new file mode 100644 index 00000000..77ce7ea7 --- /dev/null +++ b/lib/transactions/signed/BurnFioAddress.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"BurnFioAddress.d.ts","sourceRoot":"","sources":["../../../src/transactions/signed/BurnFioAddress.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAEvD,qBAAa,cAAe,SAAQ,iBAAiB;IAC1C,QAAQ,EAAE,MAAM,CAA2B;IAC3C,MAAM,EAAE,MAAM,CAAgB;IAC9B,OAAO,EAAE,MAAM,CAA2B;IAC1C,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,MAAM,CAAA;IACd,oBAAoB,EAAE,MAAM,CAAA;gBAEvB,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,oBAAoB,GAAE,MAAW;IAU1E,OAAO,IAAI,GAAG;CAUxB"} \ No newline at end of file diff --git a/lib/transactions/signed/CancelFundsRequest.d.ts b/lib/transactions/signed/CancelFundsRequest.d.ts new file mode 100644 index 00000000..d4dbcc04 --- /dev/null +++ b/lib/transactions/signed/CancelFundsRequest.d.ts @@ -0,0 +1,12 @@ +import { SignedTransaction } from './SignedTransaction'; +export declare class CancelFundsRequest extends SignedTransaction { + ENDPOINT: string; + ACTION: string; + ACCOUNT: string; + fioRequestId: number; + maxFee: number; + technologyProviderId: string; + constructor(fioRequestId: number, maxFee: number, technologyProviderId?: string); + getData(): any; +} +//# sourceMappingURL=CancelFundsRequest.d.ts.map \ No newline at end of file diff --git a/lib/transactions/signed/CancelFundsRequest.d.ts.map b/lib/transactions/signed/CancelFundsRequest.d.ts.map new file mode 100644 index 00000000..ab362c5b --- /dev/null +++ b/lib/transactions/signed/CancelFundsRequest.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"CancelFundsRequest.d.ts","sourceRoot":"","sources":["../../../src/transactions/signed/CancelFundsRequest.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAEvD,qBAAa,kBAAmB,SAAQ,iBAAiB;IAChD,QAAQ,EAAE,MAAM,CAA+B;IAC/C,MAAM,EAAE,MAAM,CAAiB;IAC/B,OAAO,EAAE,MAAM,CAAe;IAE9B,YAAY,EAAE,MAAM,CAAA;IACpB,MAAM,EAAE,MAAM,CAAA;IACd,oBAAoB,EAAE,MAAM,CAAA;gBAEvB,YAAY,EAAE,MAAM,EAAG,MAAM,EAAE,MAAM,EAAE,oBAAoB,GAAE,MAAW;IAU7E,OAAO,IAAI,GAAG;CAUtB"} \ No newline at end of file diff --git a/lib/transactions/signed/MockRegisterFioName.d.ts b/lib/transactions/signed/MockRegisterFioName.d.ts new file mode 100644 index 00000000..ca59570d --- /dev/null +++ b/lib/transactions/signed/MockRegisterFioName.d.ts @@ -0,0 +1,11 @@ +export declare class MockRegisterFioName { + ENDPOINT: string; + ACTION: string; + ACOUNT: string; + fioName: string; + publicKey: string; + server: string; + constructor(fioName: string, publicKey: string, server: string); + execute(): Promise; +} +//# sourceMappingURL=MockRegisterFioName.d.ts.map \ No newline at end of file diff --git a/lib/transactions/signed/MockRegisterFioName.d.ts.map b/lib/transactions/signed/MockRegisterFioName.d.ts.map new file mode 100644 index 00000000..3c3025d8 --- /dev/null +++ b/lib/transactions/signed/MockRegisterFioName.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"MockRegisterFioName.d.ts","sourceRoot":"","sources":["../../../src/transactions/signed/MockRegisterFioName.ts"],"names":[],"mappings":"AAEA,qBAAa,mBAAmB;IAEvB,QAAQ,EAAE,MAAM,CAAuB;IACvC,MAAM,EAAE,MAAM,CAAe;IAC7B,MAAM,EAAE,MAAM,CAA2B;IACzC,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,MAAM,CAAA;gBAET,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;IAMjD,OAAO,IAAI,OAAO,CAAC,GAAG,CAAC;CA4BrC"} \ No newline at end of file diff --git a/lib/transactions/signed/PushTransaction.d.ts b/lib/transactions/signed/PushTransaction.d.ts new file mode 100644 index 00000000..659536db --- /dev/null +++ b/lib/transactions/signed/PushTransaction.d.ts @@ -0,0 +1,15 @@ +import { SignedTransaction } from './SignedTransaction'; +export interface EncryptOptions { + key?: string; + contentType?: string; +} +export declare class PushTransaction extends SignedTransaction { + ENDPOINT: string; + ACTION: string; + ACCOUNT: string; + data: any; + encryptOptions: EncryptOptions; + constructor(action: string, account: string, data: any, encryptOptions?: EncryptOptions); + getData(): any; +} +//# sourceMappingURL=PushTransaction.d.ts.map \ No newline at end of file diff --git a/lib/transactions/signed/PushTransaction.d.ts.map b/lib/transactions/signed/PushTransaction.d.ts.map new file mode 100644 index 00000000..d5c5b02a --- /dev/null +++ b/lib/transactions/signed/PushTransaction.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"PushTransaction.d.ts","sourceRoot":"","sources":["../../../src/transactions/signed/PushTransaction.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAEvD,MAAM,WAAW,cAAc;IAAG,GAAG,CAAC,EAAE,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE;AAEtE,qBAAa,eAAgB,SAAQ,iBAAiB;IAE7C,QAAQ,EAAE,MAAM,CAA2B;IAC3C,MAAM,EAAE,MAAM,CAAK;IACnB,OAAO,EAAE,MAAM,CAA2B;IAC1C,IAAI,EAAE,GAAG,CAAA;IACT,cAAc,EAAE,cAAc,CAAA;gBAGnC,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,GAAG,EACT,cAAc,GAAE,cAAmB;IAS9B,OAAO,IAAI,GAAG;CAkBtB"} \ No newline at end of file diff --git a/lib/transactions/signed/RecordObtData.d.ts b/lib/transactions/signed/RecordObtData.d.ts new file mode 100644 index 00000000..76552d55 --- /dev/null +++ b/lib/transactions/signed/RecordObtData.d.ts @@ -0,0 +1,19 @@ +import { SignedTransaction } from './SignedTransaction'; +export declare class RecordObtData extends SignedTransaction { + ENDPOINT: string; + ACTION: string; + ACCOUNT: string; + payerFioAddress: string; + payeeFioPublicKey: string; + payeeFioAddress: string; + fioRequestId: number | null; + maxFee: number; + technologyProviderId: string; + payerPublicAddress: string; + payeePublicAddress: string; + defaultStatus: string; + content: any; + constructor(fioRequestId: number | null, payerFioAddress: string, payeeFioAddress: string, payerPublicAddress: string, payeePublicAddress: string, amount: number, chainCode: string, tokenCode: string, obtID: string, maxFee: number, status: string, technologyProviderId: string | undefined, payeeFioPublicKey: string, memo?: string | null, hash?: string | null, offLineUrl?: string | null); + getData(): any; +} +//# sourceMappingURL=RecordObtData.d.ts.map \ No newline at end of file diff --git a/lib/transactions/signed/RecordObtData.d.ts.map b/lib/transactions/signed/RecordObtData.d.ts.map new file mode 100644 index 00000000..b46fb67f --- /dev/null +++ b/lib/transactions/signed/RecordObtData.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"RecordObtData.d.ts","sourceRoot":"","sources":["../../../src/transactions/signed/RecordObtData.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAEvD,qBAAa,aAAc,SAAQ,iBAAiB;IAE3C,QAAQ,EAAE,MAAM,CAA0B;IAC1C,MAAM,EAAE,MAAM,CAAc;IAC5B,OAAO,EAAE,MAAM,CAAe;IAE9B,eAAe,EAAE,MAAM,CAAA;IACvB,iBAAiB,EAAE,MAAM,CAAA;IACzB,eAAe,EAAE,MAAM,CAAA;IACvB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAO;IAClC,MAAM,EAAE,MAAM,CAAA;IACd,oBAAoB,EAAE,MAAM,CAAK;IACjC,kBAAkB,EAAE,MAAM,CAAA;IAC1B,kBAAkB,EAAE,MAAM,CAAA;IAE1B,aAAa,EAAE,MAAM,CAAuB;IAE5C,OAAO,EAAE,GAAG,CAAA;gBAGjB,YAAY,EAAE,MAAM,GAAG,IAAI,EAC3B,eAAe,EAAE,MAAM,EACvB,eAAe,EAAE,MAAM,EACvB,kBAAkB,EAAE,MAAM,EAC1B,kBAAkB,EAAE,MAAM,EAC1B,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EACd,oBAAoB,oBAAa,EACjC,iBAAiB,EAAE,MAAM,EACzB,IAAI,GAAE,MAAM,GAAG,IAAW,EAC1B,IAAI,GAAE,MAAM,GAAG,IAAW,EAC1B,UAAU,GAAE,MAAM,GAAG,IAAW;IAgC3B,OAAO,IAAI,GAAG;CAetB"} \ No newline at end of file diff --git a/lib/transactions/signed/RegisterFioAddress.d.ts b/lib/transactions/signed/RegisterFioAddress.d.ts new file mode 100644 index 00000000..c2ce797b --- /dev/null +++ b/lib/transactions/signed/RegisterFioAddress.d.ts @@ -0,0 +1,13 @@ +import { SignedTransaction } from './SignedTransaction'; +export declare class RegisterFioAddress extends SignedTransaction { + ENDPOINT: string; + ACTION: string; + ACCOUNT: string; + fioAddress: string; + ownerPublicKey: string; + maxFee: number; + technologyProviderId: string; + constructor(fioAddress: string, ownerPublicKey: string | null, maxFee: number, technologyProviderId?: string); + getData(): any; +} +//# sourceMappingURL=RegisterFioAddress.d.ts.map \ No newline at end of file diff --git a/lib/transactions/signed/RegisterFioAddress.d.ts.map b/lib/transactions/signed/RegisterFioAddress.d.ts.map new file mode 100644 index 00000000..485b6262 --- /dev/null +++ b/lib/transactions/signed/RegisterFioAddress.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"RegisterFioAddress.d.ts","sourceRoot":"","sources":["../../../src/transactions/signed/RegisterFioAddress.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAEvD,qBAAa,kBAAmB,SAAQ,iBAAiB;IAEhD,QAAQ,EAAE,MAAM,CAA+B;IAC/C,MAAM,EAAE,MAAM,CAAe;IAC7B,OAAO,EAAE,MAAM,CAA2B;IAC1C,UAAU,EAAE,MAAM,CAAA;IAClB,cAAc,EAAE,MAAM,CAAA;IACtB,MAAM,EAAE,MAAM,CAAA;IACd,oBAAoB,EAAE,MAAM,CAAA;gBAEvB,UAAU,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,GAAG,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,oBAAoB,GAAE,MAAW;IAWzG,OAAO,IAAI,GAAG;CAYtB"} \ No newline at end of file diff --git a/lib/transactions/signed/RegisterFioDomain.d.ts b/lib/transactions/signed/RegisterFioDomain.d.ts new file mode 100644 index 00000000..ddcb9e9c --- /dev/null +++ b/lib/transactions/signed/RegisterFioDomain.d.ts @@ -0,0 +1,13 @@ +import { SignedTransaction } from './SignedTransaction'; +export declare class RegisterFioDomain extends SignedTransaction { + ENDPOINT: string; + ACTION: string; + ACCOUNT: string; + fioDomain: string; + ownerPublicKey: string; + maxFee: number; + technologyProviderId: string; + constructor(fioDomain: string, ownerPublicKey: string | null, maxFee: number, technologyProviderId?: string); + getData(): any; +} +//# sourceMappingURL=RegisterFioDomain.d.ts.map \ No newline at end of file diff --git a/lib/transactions/signed/RegisterFioDomain.d.ts.map b/lib/transactions/signed/RegisterFioDomain.d.ts.map new file mode 100644 index 00000000..6bf2232a --- /dev/null +++ b/lib/transactions/signed/RegisterFioDomain.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"RegisterFioDomain.d.ts","sourceRoot":"","sources":["../../../src/transactions/signed/RegisterFioDomain.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAEvD,qBAAa,iBAAkB,SAAQ,iBAAiB;IAE/C,QAAQ,EAAE,MAAM,CAA8B;IAC9C,MAAM,EAAE,MAAM,CAAc;IAC5B,OAAO,EAAE,MAAM,CAA2B;IAC1C,SAAS,EAAE,MAAM,CAAA;IACjB,cAAc,EAAE,MAAM,CAAA;IACtB,MAAM,EAAE,MAAM,CAAA;IACd,oBAAoB,EAAE,MAAM,CAAA;gBAEvB,SAAS,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,GAAG,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,oBAAoB,GAAE,MAAW;IAUxG,OAAO,IAAI,GAAG;CAYtB"} \ No newline at end of file diff --git a/lib/transactions/signed/RejectFundsRequest.d.ts b/lib/transactions/signed/RejectFundsRequest.d.ts new file mode 100644 index 00000000..43a21895 --- /dev/null +++ b/lib/transactions/signed/RejectFundsRequest.d.ts @@ -0,0 +1,12 @@ +import { SignedTransaction } from './SignedTransaction'; +export declare class RejectFundsRequest extends SignedTransaction { + ENDPOINT: string; + ACTION: string; + ACCOUNT: string; + fioreqid: number; + maxFee: number; + technologyProviderId: string; + constructor(fioreqid: number, maxFee: number, technologyProviderId?: string); + getData(): any; +} +//# sourceMappingURL=RejectFundsRequest.d.ts.map \ No newline at end of file diff --git a/lib/transactions/signed/RejectFundsRequest.d.ts.map b/lib/transactions/signed/RejectFundsRequest.d.ts.map new file mode 100644 index 00000000..a7faa739 --- /dev/null +++ b/lib/transactions/signed/RejectFundsRequest.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"RejectFundsRequest.d.ts","sourceRoot":"","sources":["../../../src/transactions/signed/RejectFundsRequest.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAEvD,qBAAa,kBAAmB,SAAQ,iBAAiB;IAEhD,QAAQ,EAAE,MAAM,CAA+B;IAC/C,MAAM,EAAE,MAAM,CAAiB;IAC/B,OAAO,EAAE,MAAM,CAAe;IAC9B,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;IACd,oBAAoB,EAAE,MAAM,CAAA;gBAEvB,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,oBAAoB,GAAE,MAAW;IAUxE,OAAO,IAAI,GAAG;CAWtB"} \ No newline at end of file diff --git a/lib/transactions/signed/RemoveAllPublicAddresses.d.ts b/lib/transactions/signed/RemoveAllPublicAddresses.d.ts new file mode 100644 index 00000000..de58c718 --- /dev/null +++ b/lib/transactions/signed/RemoveAllPublicAddresses.d.ts @@ -0,0 +1,12 @@ +import { SignedTransaction } from './SignedTransaction'; +export declare class RemoveAllPublicAddresses extends SignedTransaction { + ENDPOINT: string; + ACTION: string; + ACCOUNT: string; + fioAddress: string; + maxFee: number; + technologyProviderId: string; + constructor(fioAddress: string, maxFee: number, technologyProviderId?: string); + getData(): any; +} +//# sourceMappingURL=RemoveAllPublicAddresses.d.ts.map \ No newline at end of file diff --git a/lib/transactions/signed/RemoveAllPublicAddresses.d.ts.map b/lib/transactions/signed/RemoveAllPublicAddresses.d.ts.map new file mode 100644 index 00000000..0a0a4be6 --- /dev/null +++ b/lib/transactions/signed/RemoveAllPublicAddresses.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"RemoveAllPublicAddresses.d.ts","sourceRoot":"","sources":["../../../src/transactions/signed/RemoveAllPublicAddresses.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAEvD,qBAAa,wBAAyB,SAAQ,iBAAiB;IACtD,QAAQ,EAAE,MAAM,CAAmC;IACnD,MAAM,EAAE,MAAM,CAAe;IAC7B,OAAO,EAAE,MAAM,CAA2B;IAC1C,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,MAAM,CAAA;IACd,oBAAoB,EAAE,MAAM,CAAA;gBAEvB,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,oBAAoB,GAAE,MAAW;IAU1E,OAAO,IAAI,GAAG;CAUtB"} \ No newline at end of file diff --git a/lib/transactions/signed/RemovePublicAddresses.d.ts b/lib/transactions/signed/RemovePublicAddresses.d.ts new file mode 100644 index 00000000..97658d79 --- /dev/null +++ b/lib/transactions/signed/RemovePublicAddresses.d.ts @@ -0,0 +1,14 @@ +import { PublicAddress } from '../../entities/PublicAddress'; +import { SignedTransaction } from './SignedTransaction'; +export declare class RemovePublicAddresses extends SignedTransaction { + ENDPOINT: string; + ACTION: string; + ACCOUNT: string; + fioAddress: string; + publicAddresses: PublicAddress[]; + maxFee: number; + technologyProviderId: string; + constructor(fioAddress: string, publicAddresses: PublicAddress[], maxFee: number, technologyProviderId?: string); + getData(): any; +} +//# sourceMappingURL=RemovePublicAddresses.d.ts.map \ No newline at end of file diff --git a/lib/transactions/signed/RemovePublicAddresses.d.ts.map b/lib/transactions/signed/RemovePublicAddresses.d.ts.map new file mode 100644 index 00000000..21177b78 --- /dev/null +++ b/lib/transactions/signed/RemovePublicAddresses.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"RemovePublicAddresses.d.ts","sourceRoot":"","sources":["../../../src/transactions/signed/RemovePublicAddresses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAA;AAG5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAEvD,qBAAa,qBAAsB,SAAQ,iBAAiB;IACnD,QAAQ,EAAE,MAAM,CAA6B;IAC7C,MAAM,EAAE,MAAM,CAAe;IAC7B,OAAO,EAAE,MAAM,CAA2B;IAC1C,UAAU,EAAE,MAAM,CAAA;IAClB,eAAe,EAAE,aAAa,EAAE,CAAA;IAChC,MAAM,EAAE,MAAM,CAAA;IACd,oBAAoB,EAAE,MAAM,CAAA;gBAEvB,UAAU,EAAE,MAAM,EAAE,eAAe,EAAE,aAAa,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,oBAAoB,GAAE,MAAW;IAW5G,OAAO,IAAI,GAAG;CAWtB"} \ No newline at end of file diff --git a/lib/transactions/signed/RenewFioAddress.d.ts b/lib/transactions/signed/RenewFioAddress.d.ts new file mode 100644 index 00000000..a3786136 --- /dev/null +++ b/lib/transactions/signed/RenewFioAddress.d.ts @@ -0,0 +1,12 @@ +import { SignedTransaction } from './SignedTransaction'; +export declare class RenewFioAddress extends SignedTransaction { + ENDPOINT: string; + ACTION: string; + ACCOUNT: string; + fioAddress: string; + maxFee: number; + technologyProviderId: String; + constructor(fioAddress: string, maxFee: number, technologyProviderId?: string); + getData(): any; +} +//# sourceMappingURL=RenewFioAddress.d.ts.map \ No newline at end of file diff --git a/lib/transactions/signed/RenewFioAddress.d.ts.map b/lib/transactions/signed/RenewFioAddress.d.ts.map new file mode 100644 index 00000000..bc15f488 --- /dev/null +++ b/lib/transactions/signed/RenewFioAddress.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"RenewFioAddress.d.ts","sourceRoot":"","sources":["../../../src/transactions/signed/RenewFioAddress.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAEvD,qBAAa,eAAgB,SAAQ,iBAAiB;IAE7C,QAAQ,EAAE,MAAM,CAA4B;IAC5C,MAAM,EAAE,MAAM,CAAiB;IAC/B,OAAO,EAAE,MAAM,CAA2B;IAC1C,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,MAAM,CAAA;IACd,oBAAoB,EAAE,MAAM,CAAA;gBAEvB,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,oBAAoB,GAAE,MAAW;IAU1E,OAAO,IAAI,GAAG;CAWtB"} \ No newline at end of file diff --git a/lib/transactions/signed/RenewFioDomain.d.ts b/lib/transactions/signed/RenewFioDomain.d.ts new file mode 100644 index 00000000..d118ab4e --- /dev/null +++ b/lib/transactions/signed/RenewFioDomain.d.ts @@ -0,0 +1,12 @@ +import { SignedTransaction } from './SignedTransaction'; +export declare class RenewFioDomain extends SignedTransaction { + ENDPOINT: string; + ACTION: string; + ACCOUNT: string; + fioDomain: string; + maxFee: number; + technologyProviderId: string; + constructor(fioDomain: string, maxFee: number, technologyProviderId?: string); + getData(): any; +} +//# sourceMappingURL=RenewFioDomain.d.ts.map \ No newline at end of file diff --git a/lib/transactions/signed/RenewFioDomain.d.ts.map b/lib/transactions/signed/RenewFioDomain.d.ts.map new file mode 100644 index 00000000..8e3a5a75 --- /dev/null +++ b/lib/transactions/signed/RenewFioDomain.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"RenewFioDomain.d.ts","sourceRoot":"","sources":["../../../src/transactions/signed/RenewFioDomain.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAEvD,qBAAa,cAAe,SAAQ,iBAAiB;IAE5C,QAAQ,EAAE,MAAM,CAA2B;IAC3C,MAAM,EAAE,MAAM,CAAgB;IAC9B,OAAO,EAAE,MAAM,CAA2B;IAC1C,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,MAAM,CAAA;IACd,oBAAoB,EAAE,MAAM,CAAA;gBAEvB,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,oBAAoB,GAAE,MAAW;IAUzE,OAAO,IAAI,GAAG;CAWtB"} \ No newline at end of file diff --git a/lib/transactions/signed/RequestNewFunds.d.ts b/lib/transactions/signed/RequestNewFunds.d.ts new file mode 100644 index 00000000..4f5b91f8 --- /dev/null +++ b/lib/transactions/signed/RequestNewFunds.d.ts @@ -0,0 +1,17 @@ +import { SignedTransaction } from './SignedTransaction'; +export declare class RequestNewFunds extends SignedTransaction { + ENDPOINT: string; + ACTION: string; + ACCOUNT: string; + payerFioAddress: string; + payerFioPublicKey: string; + payeeFioAddress: string; + chainCode: string; + tokenCode: string; + maxFee: number; + content: any; + technologyProviderId: string; + constructor(payerFioAddress: string, payerFioPublicKey: string, payeeFioAddress: string, technologyProviderId: string | undefined, maxFee: number, payeeTokenPublicAddress: string, amount: number, chainCode: string, tokenCode: string, memo?: string | null, hash?: string | null, offlineUrl?: string | null); + getData(): any; +} +//# sourceMappingURL=RequestNewFunds.d.ts.map \ No newline at end of file diff --git a/lib/transactions/signed/RequestNewFunds.d.ts.map b/lib/transactions/signed/RequestNewFunds.d.ts.map new file mode 100644 index 00000000..3288c3cf --- /dev/null +++ b/lib/transactions/signed/RequestNewFunds.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"RequestNewFunds.d.ts","sourceRoot":"","sources":["../../../src/transactions/signed/RequestNewFunds.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAEvD,qBAAa,eAAgB,SAAQ,iBAAiB;IAE7C,QAAQ,EAAE,MAAM,CAA4B;IAC5C,MAAM,EAAE,MAAM,CAAgB;IAC9B,OAAO,EAAE,MAAM,CAAe;IAE9B,eAAe,EAAE,MAAM,CAAA;IACvB,iBAAiB,EAAE,MAAM,CAAA;IACzB,eAAe,EAAE,MAAM,CAAA;IACvB,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,GAAG,CAAA;IACZ,oBAAoB,EAAE,MAAM,CAAA;gBAGjC,eAAe,EAAE,MAAM,EACvB,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,MAAM,EACvB,oBAAoB,oBAAa,EACjC,MAAM,EAAE,MAAM,EACd,uBAAuB,EAAE,MAAM,EAC/B,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,MAAM,EACjB,IAAI,GAAE,MAAM,GAAG,IAAW,EAC1B,IAAI,GAAE,MAAM,GAAG,IAAW,EAC1B,UAAU,GAAE,MAAM,GAAG,IAAW;IA6B3B,OAAO,IAAI,GAAG;CActB"} \ No newline at end of file diff --git a/lib/transactions/signed/SetFioDomainVisibility.d.ts b/lib/transactions/signed/SetFioDomainVisibility.d.ts new file mode 100644 index 00000000..181ac655 --- /dev/null +++ b/lib/transactions/signed/SetFioDomainVisibility.d.ts @@ -0,0 +1,13 @@ +import { SignedTransaction } from './SignedTransaction'; +export declare class SetFioDomainVisibility extends SignedTransaction { + ENDPOINT: string; + ACTION: string; + ACCOUNT: string; + fioDomain: string; + isPublic: number; + maxFee: number; + technologyProviderId: string; + constructor(fioDomain: string, isPublic: boolean, maxFee: number, technologyProviderId?: string); + getData(): any; +} +//# sourceMappingURL=SetFioDomainVisibility.d.ts.map \ No newline at end of file diff --git a/lib/transactions/signed/SetFioDomainVisibility.d.ts.map b/lib/transactions/signed/SetFioDomainVisibility.d.ts.map new file mode 100644 index 00000000..cc4fb3c8 --- /dev/null +++ b/lib/transactions/signed/SetFioDomainVisibility.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"SetFioDomainVisibility.d.ts","sourceRoot":"","sources":["../../../src/transactions/signed/SetFioDomainVisibility.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAEvD,qBAAa,sBAAuB,SAAQ,iBAAiB;IAEpD,QAAQ,EAAE,MAAM,CAAgC;IAChD,MAAM,EAAE,MAAM,CAAiB;IAC/B,OAAO,EAAE,MAAM,CAA2B;IAC1C,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;IACd,oBAAoB,EAAE,MAAM,CAAA;gBAEvB,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,oBAAoB,GAAE,MAAW;IAQ5F,OAAO,IAAI,GAAG;CActB"} \ No newline at end of file diff --git a/lib/transactions/signed/SignedTransaction.d.ts b/lib/transactions/signed/SignedTransaction.d.ts new file mode 100644 index 00000000..670982a9 --- /dev/null +++ b/lib/transactions/signed/SignedTransaction.d.ts @@ -0,0 +1,39 @@ +import { Transactions } from '../Transactions'; +export declare abstract class SignedTransaction extends Transactions { + static prepareResponse(result: { + transaction_id: string; + processed: { + block_num: number; + action_traces: Array<{ + receipt: { + response: string; + }; + }>; + }; + } | any, includeTrxId?: boolean): any; + static parseProcessedResult(processed: { + action_traces: Array<{ + receipt: { + response: string; + }; + }>; + }): any; + abstract ENDPOINT: string; + abstract ACTION: string; + abstract ACCOUNT: string; + abstract getData(): any; + execute(privateKey: string, publicKey: string, dryRun?: boolean): Promise; + prepareResponse(result: { + processed: { + action_traces: Array<{ + receipt: { + response: string; + }; + }>; + }; + } | any): any; + getAction(): string; + getAccount(): string; + getEndPoint(): string; +} +//# sourceMappingURL=SignedTransaction.d.ts.map \ No newline at end of file diff --git a/lib/transactions/signed/SignedTransaction.d.ts.map b/lib/transactions/signed/SignedTransaction.d.ts.map new file mode 100644 index 00000000..76f22e86 --- /dev/null +++ b/lib/transactions/signed/SignedTransaction.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"SignedTransaction.d.ts","sourceRoot":"","sources":["../../../src/transactions/signed/SignedTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAE9C,8BAAsB,iBAAkB,SAAQ,YAAY;WAE5C,eAAe,CAC3B,MAAM,EAAE;QACN,cAAc,EAAE,MAAM,CAAC;QACvB,SAAS,EAAE;YACT,SAAS,EAAE,MAAM,CAAC;YAClB,aAAa,EAAE,KAAK,CAAC;gBAAE,OAAO,EAAE;oBAAE,QAAQ,EAAE,MAAM,CAAA;iBAAE,CAAA;aAAC,CAAC,CAAC;SACxD,CAAC;KACH,GAAG,GAAG,EACP,YAAY,GAAE,OAAe,GAC5B,GAAG;WAcQ,oBAAoB,CAAC,SAAS,EAAE;QAAE,aAAa,EAAE,KAAK,CAAC;YAAE,OAAO,EAAE;gBAAE,QAAQ,EAAE,MAAM,CAAA;aAAE,CAAA;SAAC,CAAC,CAAA;KAAC;IAWvG,SAAgB,QAAQ,EAAE,MAAM,CAAA;IAChC,SAAgB,MAAM,EAAE,MAAM,CAAA;IAC9B,SAAgB,OAAO,EAAE,MAAM,CAAA;aAEf,OAAO,IAAI,GAAG;IAEjB,OAAO,CAAC,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,UAAQ,GAAG,OAAO,CAAC,GAAG,CAAC;IAclF,eAAe,CAAC,MAAM,EAAE;QAAE,SAAS,EAAE;YAAE,aAAa,EAAE,KAAK,CAAC;gBAAE,OAAO,EAAE;oBAAE,QAAQ,EAAE,MAAM,CAAA;iBAAE,CAAA;aAAC,CAAC,CAAA;SAAC,CAAA;KAAE,GAAG,GAAG,GAAG,GAAG;IAI5G,SAAS,IAAI,MAAM;IAInB,UAAU,IAAI,MAAM;IAIpB,WAAW,IAAI,MAAM;CAG7B"} \ No newline at end of file diff --git a/lib/transactions/signed/TransferFioAddress.d.ts b/lib/transactions/signed/TransferFioAddress.d.ts new file mode 100644 index 00000000..a75e99de --- /dev/null +++ b/lib/transactions/signed/TransferFioAddress.d.ts @@ -0,0 +1,13 @@ +import { SignedTransaction } from './SignedTransaction'; +export declare class TransferFioAddress extends SignedTransaction { + ENDPOINT: string; + ACTION: string; + ACCOUNT: string; + fioAddress: string; + newOwnerKey: string; + maxFee: number; + technologyProviderId: string; + constructor(fioAddress: string, newOwnerKey: string, maxFee: number, technologyProviderId?: string); + getData(): any; +} +//# sourceMappingURL=TransferFioAddress.d.ts.map \ No newline at end of file diff --git a/lib/transactions/signed/TransferFioAddress.d.ts.map b/lib/transactions/signed/TransferFioAddress.d.ts.map new file mode 100644 index 00000000..305789da --- /dev/null +++ b/lib/transactions/signed/TransferFioAddress.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"TransferFioAddress.d.ts","sourceRoot":"","sources":["../../../src/transactions/signed/TransferFioAddress.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAEvD,qBAAa,kBAAmB,SAAQ,iBAAiB;IAC9C,QAAQ,EAAE,MAAM,CAA+B;IAC/C,MAAM,EAAE,MAAM,CAAgB;IAC9B,OAAO,EAAE,MAAM,CAA2B;IAC1C,UAAU,EAAE,MAAM,CAAA;IAClB,WAAW,EAAE,MAAM,CAAA;IACnB,MAAM,EAAE,MAAM,CAAA;IACd,oBAAoB,EAAE,MAAM,CAAA;gBAEvB,UAAU,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,oBAAoB,GAAE,MAAW;IAW/F,OAAO,IAAI,GAAG;CAWxB"} \ No newline at end of file diff --git a/lib/transactions/signed/TransferFioDomain.d.ts b/lib/transactions/signed/TransferFioDomain.d.ts new file mode 100644 index 00000000..39acfcad --- /dev/null +++ b/lib/transactions/signed/TransferFioDomain.d.ts @@ -0,0 +1,13 @@ +import { SignedTransaction } from './SignedTransaction'; +export declare class TransferFioDomain extends SignedTransaction { + ENDPOINT: string; + ACTION: string; + ACCOUNT: string; + fioDomain: string; + newOwnerKey: string; + maxFee: number; + technologyProviderId: string; + constructor(fioDomain: string, newOwnerKey: string, maxFee: number, technologyProviderId?: string); + getData(): any; +} +//# sourceMappingURL=TransferFioDomain.d.ts.map \ No newline at end of file diff --git a/lib/transactions/signed/TransferFioDomain.d.ts.map b/lib/transactions/signed/TransferFioDomain.d.ts.map new file mode 100644 index 00000000..12ce74de --- /dev/null +++ b/lib/transactions/signed/TransferFioDomain.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"TransferFioDomain.d.ts","sourceRoot":"","sources":["../../../src/transactions/signed/TransferFioDomain.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAEvD,qBAAa,iBAAkB,SAAQ,iBAAiB;IAC7C,QAAQ,EAAE,MAAM,CAA8B;IAC9C,MAAM,EAAE,MAAM,CAAe;IAC7B,OAAO,EAAE,MAAM,CAA2B;IAC1C,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,MAAM,EAAE,MAAM,CAAA;IACd,oBAAoB,EAAE,MAAM,CAAA;gBAEvB,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,oBAAoB,GAAE,MAAW;IAW9F,OAAO,IAAI,GAAG;CAWxB"} \ No newline at end of file diff --git a/lib/transactions/signed/TransferLockedTokens.d.ts b/lib/transactions/signed/TransferLockedTokens.d.ts new file mode 100644 index 00000000..e0f87442 --- /dev/null +++ b/lib/transactions/signed/TransferLockedTokens.d.ts @@ -0,0 +1,16 @@ +import { LockPeriod } from '../../entities/LockPeriod'; +import { SignedTransaction } from './SignedTransaction'; +export declare class TransferLockedTokens extends SignedTransaction { + ENDPOINT: string; + ACTION: string; + ACCOUNT: string; + payeePublicKey: string; + canVote: number; + periods: LockPeriod[]; + amount: number; + maxFee: number; + technologyProviderId: string; + constructor(payeePublicKey: string, canVote: boolean, periods: LockPeriod[], amount: number, maxFee: number, technologyProviderId?: string); + getData(): any; +} +//# sourceMappingURL=TransferLockedTokens.d.ts.map \ No newline at end of file diff --git a/lib/transactions/signed/TransferLockedTokens.d.ts.map b/lib/transactions/signed/TransferLockedTokens.d.ts.map new file mode 100644 index 00000000..8111f837 --- /dev/null +++ b/lib/transactions/signed/TransferLockedTokens.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"TransferLockedTokens.d.ts","sourceRoot":"","sources":["../../../src/transactions/signed/TransferLockedTokens.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAA;AAEtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAEvD,qBAAa,oBAAqB,SAAQ,iBAAiB;IAClD,QAAQ,EAAE,MAAM,CAAiC;IACjD,MAAM,EAAE,MAAM,CAAgB;IAC9B,OAAO,EAAE,MAAM,CAAc;IAC7B,cAAc,EAAE,MAAM,CAAA;IACtB,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,UAAU,EAAE,CAAA;IACrB,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;IACd,oBAAoB,EAAE,MAAM,CAAA;gBAEvB,cAAc,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,oBAAoB,GAAE,MAAW;IAavI,OAAO,IAAI,GAAG;CAatB"} \ No newline at end of file diff --git a/lib/transactions/signed/TransferTokens.d.ts b/lib/transactions/signed/TransferTokens.d.ts new file mode 100644 index 00000000..6045fc78 --- /dev/null +++ b/lib/transactions/signed/TransferTokens.d.ts @@ -0,0 +1,14 @@ +import { SignedTransaction } from './SignedTransaction'; +export declare class TransferTokens extends SignedTransaction { + ENDPOINT: string; + ACTION: string; + ACCOUNT: string; + payeePublicKey: string; + amount: string; + maxFee: number; + technologyProviderId: string; + constructor(payeePublicKey: string, amount: number, maxFee: number, technologyProviderId?: string); + prepareResponse(result: any): any; + getData(): any; +} +//# sourceMappingURL=TransferTokens.d.ts.map \ No newline at end of file diff --git a/lib/transactions/signed/TransferTokens.d.ts.map b/lib/transactions/signed/TransferTokens.d.ts.map new file mode 100644 index 00000000..f7953bb2 --- /dev/null +++ b/lib/transactions/signed/TransferTokens.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"TransferTokens.d.ts","sourceRoot":"","sources":["../../../src/transactions/signed/TransferTokens.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAEvD,qBAAa,cAAe,SAAQ,iBAAiB;IAE5C,QAAQ,EAAE,MAAM,CAAkC;IAClD,MAAM,EAAE,MAAM,CAAiB;IAC/B,OAAO,EAAE,MAAM,CAAc;IAC7B,cAAc,EAAE,MAAM,CAAA;IACtB,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;IACd,oBAAoB,EAAE,MAAM,CAAA;gBAEvB,cAAc,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,oBAAoB,GAAE,MAAW;IAW9F,eAAe,CAAC,MAAM,EAAE,GAAG,GAAG,GAAG;IAWjC,OAAO,IAAI,GAAG;CAatB"} \ No newline at end of file diff --git a/lib/transactions/signed/index.d.ts b/lib/transactions/signed/index.d.ts new file mode 100644 index 00000000..4c04e4d3 --- /dev/null +++ b/lib/transactions/signed/index.d.ts @@ -0,0 +1,21 @@ +export { AddPublicAddress } from './AddPublicAddress'; +export { RemovePublicAddresses } from './RemovePublicAddresses'; +export { RemoveAllPublicAddresses } from './RemoveAllPublicAddresses'; +export { SetFioDomainVisibility } from './SetFioDomainVisibility'; +export { RequestNewFunds } from './RequestNewFunds'; +export { RejectFundsRequest } from './RejectFundsRequest'; +export { RecordObtData } from './RecordObtData'; +export { TransferTokens } from './TransferTokens'; +export { RegisterFioAddress } from './RegisterFioAddress'; +export { RegisterFioDomain } from './RegisterFioDomain'; +export { MockRegisterFioName } from './MockRegisterFioName'; +export { RenewFioAddress } from './RenewFioAddress'; +export { RenewFioDomain } from './RenewFioDomain'; +export { BurnFioAddress } from './BurnFioAddress'; +export { TransferFioDomain } from './TransferFioDomain'; +export { TransferFioAddress } from './TransferFioAddress'; +export { AddBundledTransactions } from './AddBundledTransactions'; +export { PushTransaction } from './PushTransaction'; +export { CancelFundsRequest } from './CancelFundsRequest'; +export { TransferLockedTokens } from './TransferLockedTokens'; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/lib/transactions/signed/index.d.ts.map b/lib/transactions/signed/index.d.ts.map new file mode 100644 index 00000000..e997b804 --- /dev/null +++ b/lib/transactions/signed/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/transactions/signed/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AACrD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AACrE,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA"} \ No newline at end of file diff --git a/lib/utils/constants.d.ts b/lib/utils/constants.d.ts new file mode 100644 index 00000000..9d5a439c --- /dev/null +++ b/lib/utils/constants.d.ts @@ -0,0 +1,8 @@ +export declare class Constants { + static endPoints: any; + static feeNoAddressOperation: string[]; + static rawAbiAccountName: string[]; + static multiplier: number; + static defaultAccount: string; +} +//# sourceMappingURL=constants.d.ts.map \ No newline at end of file diff --git a/lib/utils/constants.d.ts.map b/lib/utils/constants.d.ts.map new file mode 100644 index 00000000..8e7a5b24 --- /dev/null +++ b/lib/utils/constants.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/utils/constants.ts"],"names":[],"mappings":"AAAA,qBAAa,SAAS;IACpB,OAAc,SAAS,EAAE,GAAG,CAa3B;IAED,OAAc,qBAAqB,EAAE,MAAM,EAAE,CAK5C;IAED,OAAc,iBAAiB,EAAE,MAAM,EAAE,CAYxC;IAED,OAAc,UAAU,SAAa;IAErC,OAAc,cAAc,EAAE,MAAM,CAAgB;CAErD"} \ No newline at end of file diff --git a/lib/utils/validation.d.ts b/lib/utils/validation.d.ts new file mode 100644 index 00000000..f47fc1ac --- /dev/null +++ b/lib/utils/validation.d.ts @@ -0,0 +1,393 @@ +import { ErrObj } from '../entities/ValidationError'; +export declare const allRules: { + chain: { + required: boolean; + type: StringConstructor; + length: { + min: number; + max: number; + }; + matchParams: { + regex: string; + opt: string; + }; + }; + fioAddress: { + required: boolean; + type: StringConstructor; + length: { + min: number; + max: number; + }; + matchParams: { + regex: string; + opt: string; + }; + }; + tpid: { + type: StringConstructor; + length: { + min: number; + max: number; + }; + matchParams: { + regex: string; + opt: string; + }; + }; + fioDomain: { + required: boolean; + type: StringConstructor; + length: { + min: number; + max: number; + }; + matchParams: { + regex: string; + opt: string; + }; + }; + fioPublicKey: { + required: boolean; + type: StringConstructor; + length: { + min: number; + max: number; + }; + matchParams: { + regex: string; + }; + }; + nativeBlockchainPublicAddress: { + required: boolean; + type: StringConstructor; + length: { + min: number; + max: number; + }; + matchParams: { + regex: string; + }; + }; +}; +export declare const validationRules: { + addPublicAddressRules: { + fioAddress: { + required: boolean; + type: StringConstructor; + length: { + min: number; + max: number; + }; + matchParams: { + regex: string; + opt: string; + }; + }; + tpid: { + type: StringConstructor; + length: { + min: number; + max: number; + }; + matchParams: { + regex: string; + opt: string; + }; + }; + }; + cancelFundsRequestRules: { + tpid: { + type: StringConstructor; + length: { + min: number; + max: number; + }; + matchParams: { + regex: string; + opt: string; + }; + }; + }; + registerFioAddress: { + fioAddress: { + required: boolean; + type: StringConstructor; + length: { + min: number; + max: number; + }; + matchParams: { + regex: string; + opt: string; + }; + }; + tpid: { + type: StringConstructor; + length: { + min: number; + max: number; + }; + matchParams: { + regex: string; + opt: string; + }; + }; + }; + registerFioDomain: { + fioDomain: { + required: boolean; + type: StringConstructor; + length: { + min: number; + max: number; + }; + matchParams: { + regex: string; + opt: string; + }; + }; + tpid: { + type: StringConstructor; + length: { + min: number; + max: number; + }; + matchParams: { + regex: string; + opt: string; + }; + }; + }; + renewFioAddress: { + fioAddress: { + required: boolean; + type: StringConstructor; + length: { + min: number; + max: number; + }; + matchParams: { + regex: string; + opt: string; + }; + }; + tpid: { + type: StringConstructor; + length: { + min: number; + max: number; + }; + matchParams: { + regex: string; + opt: string; + }; + }; + }; + renewFioDomain: { + fioDomain: { + required: boolean; + type: StringConstructor; + length: { + min: number; + max: number; + }; + matchParams: { + regex: string; + opt: string; + }; + }; + tpid: { + type: StringConstructor; + length: { + min: number; + max: number; + }; + matchParams: { + regex: string; + opt: string; + }; + }; + }; + setFioDomainVisibility: { + fioDomain: { + required: boolean; + type: StringConstructor; + length: { + min: number; + max: number; + }; + matchParams: { + regex: string; + opt: string; + }; + }; + tpid: { + type: StringConstructor; + length: { + min: number; + max: number; + }; + matchParams: { + regex: string; + opt: string; + }; + }; + }; + newFundsRequest: { + payerFioAddress: { + required: boolean; + type: StringConstructor; + length: { + min: number; + max: number; + }; + matchParams: { + regex: string; + opt: string; + }; + }; + payeeFioAddress: { + required: boolean; + type: StringConstructor; + length: { + min: number; + max: number; + }; + matchParams: { + regex: string; + opt: string; + }; + }; + tokenCode: { + required: boolean; + type: StringConstructor; + length: { + min: number; + max: number; + }; + matchParams: { + regex: string; + opt: string; + }; + }; + tpid: { + type: StringConstructor; + length: { + min: number; + max: number; + }; + matchParams: { + regex: string; + opt: string; + }; + }; + }; + transferLockedTokensRequest: { + tpid: { + type: StringConstructor; + length: { + min: number; + max: number; + }; + matchParams: { + regex: string; + opt: string; + }; + }; + }; + rejectFunds: { + tpid: { + type: StringConstructor; + length: { + min: number; + max: number; + }; + matchParams: { + regex: string; + opt: string; + }; + }; + }; + recordObtData: { + payerFioAddress: { + required: boolean; + type: StringConstructor; + length: { + min: number; + max: number; + }; + matchParams: { + regex: string; + opt: string; + }; + }; + payeeFioAddress: { + required: boolean; + type: StringConstructor; + length: { + min: number; + max: number; + }; + matchParams: { + regex: string; + opt: string; + }; + }; + tpid: { + type: StringConstructor; + length: { + min: number; + max: number; + }; + matchParams: { + regex: string; + opt: string; + }; + }; + tokenCode: { + required: boolean; + type: StringConstructor; + length: { + min: number; + max: number; + }; + matchParams: { + regex: string; + opt: string; + }; + }; + }; + transferTokens: { + tpid: { + type: StringConstructor; + length: { + min: number; + max: number; + }; + matchParams: { + regex: string; + opt: string; + }; + }; + }; + getFee: { + fioAddress: { + required: boolean; + type: StringConstructor; + length: { + min: number; + max: number; + }; + matchParams: { + regex: string; + opt: string; + }; + }; + }; +}; +export declare function validate(data: any, rules: any): { + isValid: boolean; + errors: ErrObj[]; +}; +//# sourceMappingURL=validation.d.ts.map \ No newline at end of file diff --git a/lib/utils/validation.d.ts.map b/lib/utils/validation.d.ts.map new file mode 100644 index 00000000..723e307b --- /dev/null +++ b/lib/utils/validation.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../src/utils/validation.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAA;AAEpD,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoDpB,CAAA;AAED,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoD3B,CAAA;AAED,wBAAgB,QAAQ,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,GAAG;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,MAAM,EAAE,MAAM,EAAE,CAAA;CAAE,CAmBtF"} \ No newline at end of file diff --git a/package.json b/package.json index 8c0a183f..37eb5b25 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "lib": "lib", "test": "tests" }, + "types": "lib/FIOSDK.d.ts", "scripts": { "test": "mocha -t 80000 tests/testnet.spec.js", "localtest": "mocha -t 80000 tests/index.spec.js" diff --git a/tsconfig.json b/tsconfig.json index 319154bd..b1a96e15 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,7 +8,10 @@ "outDir": "lib", "sourceMap": false, "strict": true, - "target": "es2015" + "target": "es2015", + "declaration": true, + "emitDeclarationOnly": true, + "declarationMap": true }, "compileOnSave": true, "include": [