@avalabs/glacier-sdk 3.1.0-canary.b1108b2.0 → 3.1.0-canary.b29ab7b.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +2644 -543
- package/esm/generated/Glacier.d.ts +8 -2
- package/esm/generated/Glacier.js +1 -1
- package/esm/generated/core/ApiRequestOptions.d.ts +1 -1
- package/esm/generated/core/ApiResult.d.ts +1 -1
- package/esm/generated/core/CancelablePromise.d.ts +2 -1
- package/esm/generated/core/FetchHttpRequest.d.ts +17 -0
- package/esm/generated/core/OpenAPI.d.ts +2 -1
- package/esm/generated/core/OpenAPI.js +1 -1
- package/esm/generated/models/AccessListData.d.ts +12 -0
- package/esm/generated/models/AccessRequest.d.ts +12 -0
- package/esm/generated/models/ActiveValidatorDetails.d.ts +26 -0
- package/esm/generated/models/AddressActivityEventType.d.ts +5 -0
- package/esm/generated/models/{EventType.js → AddressActivityEventType.js} +1 -1
- package/esm/generated/models/AddressActivityMetadata.d.ts +5 -5
- package/esm/generated/models/AddressesChangeRequest.d.ts +1 -1
- package/esm/generated/models/AggregatedAssetAmount.d.ts +1 -1
- package/esm/generated/models/AssetAmount.d.ts +1 -1
- package/esm/generated/models/AssetWithPriceInfo.d.ts +1 -1
- package/esm/generated/models/AvaxSupplyResponse.d.ts +48 -0
- package/esm/generated/models/BadGateway.d.ts +1 -1
- package/esm/generated/models/BadRequest.d.ts +1 -1
- package/esm/generated/models/BalanceOwner.d.ts +6 -0
- package/esm/generated/models/Blockchain.d.ts +11 -1
- package/esm/generated/models/BlockchainInfo.d.ts +9 -2
- package/esm/generated/models/BlsCredentials.d.ts +1 -1
- package/esm/generated/models/CChainAtomicBalances.d.ts +1 -1
- package/esm/generated/models/CChainSharedAssetBalance.d.ts +1 -1
- package/esm/generated/models/ChainAddressChainIdMap.d.ts +1 -1
- package/esm/generated/models/ChainAddressChainIdMapListResponse.d.ts +1 -1
- package/esm/generated/models/ChainInfo.d.ts +1 -1
- package/esm/generated/models/CommonBalanceType.d.ts +17 -0
- package/esm/generated/models/CommonBalanceType.js +1 -0
- package/esm/generated/models/CompletedDelegatorDetails.d.ts +6 -0
- package/esm/generated/models/CompletedValidatorDetails.d.ts +3 -0
- package/esm/generated/models/ContractDeploymentDetails.d.ts +1 -1
- package/esm/generated/models/ContractSubmissionBody.d.ts +1 -1
- package/esm/generated/models/CreateEvmTransactionExportRequest.d.ts +5 -5
- package/esm/generated/models/CreatePrimaryNetworkTransactionExportRequest.d.ts +5 -5
- package/esm/generated/models/DataListChainsResponse.d.ts +1 -1
- package/esm/generated/models/DelegatorsDetails.d.ts +1 -1
- package/esm/generated/models/DeliveredIcmMessage.d.ts +31 -0
- package/esm/generated/models/DeliveredIcmMessage.js +1 -0
- package/esm/generated/models/DeliveredSourceNotIndexedIcmMessage.d.ts +29 -0
- package/esm/generated/models/DeliveredSourceNotIndexedIcmMessage.js +1 -0
- package/esm/generated/models/ERCToken.d.ts +24 -0
- package/esm/generated/models/ERCTransfer.d.ts +50 -0
- package/esm/generated/models/EVMAddressActivityRequest.d.ts +25 -0
- package/esm/generated/models/EVMAddressActivityRequest.js +1 -0
- package/esm/generated/models/{WebhookResponse.d.ts → EVMAddressActivityResponse.d.ts} +10 -10
- package/esm/generated/models/EVMInput.d.ts +1 -1
- package/esm/generated/models/EVMOutput.d.ts +1 -1
- package/esm/generated/models/Erc1155Contract.d.ts +1 -1
- package/esm/generated/models/Erc1155TokenMetadata.d.ts +1 -1
- package/esm/generated/models/Erc1155Transfer.d.ts +6 -2
- package/esm/generated/models/Erc1155TransferDetails.d.ts +1 -1
- package/esm/generated/models/Erc20Contract.d.ts +1 -1
- package/esm/generated/models/Erc20TokenBalance.d.ts +11 -0
- package/esm/generated/models/Erc20TokenBalance.js +1 -1
- package/esm/generated/models/Erc20Transfer.d.ts +6 -2
- package/esm/generated/models/Erc20TransferDetails.d.ts +1 -1
- package/esm/generated/models/Erc721Contract.d.ts +1 -1
- package/esm/generated/models/Erc721TokenMetadata.d.ts +1 -1
- package/esm/generated/models/Erc721Transfer.d.ts +6 -2
- package/esm/generated/models/Erc721TransferDetails.d.ts +1 -1
- package/esm/generated/models/EvmBlock.d.ts +14 -2
- package/esm/generated/models/EvmGenesisAllocDto.d.ts +16 -0
- package/esm/generated/models/EvmGenesisAllowListConfigDto.d.ts +20 -0
- package/esm/generated/models/EvmGenesisConfigDto.d.ts +96 -0
- package/esm/generated/models/EvmGenesisDto.d.ts +75 -0
- package/esm/generated/models/EvmGenesisFeeConfigDto.d.ts +36 -0
- package/esm/generated/models/EvmGenesisWarpConfigDto.d.ts +16 -0
- package/esm/generated/models/EvmNetworkOptions.d.ts +1 -1
- package/esm/generated/models/Forbidden.d.ts +1 -1
- package/esm/generated/models/FullNativeTransactionDetails.d.ts +14 -2
- package/esm/generated/models/Geolocation.d.ts +24 -0
- package/esm/generated/models/GetChainResponse.d.ts +1 -1
- package/esm/generated/models/GetEvmBlockResponse.d.ts +14 -2
- package/esm/generated/models/GetNativeBalanceResponse.d.ts +1 -1
- package/esm/generated/models/GetNetworkDetailsResponse.d.ts +1 -1
- package/esm/generated/models/GetPrimaryNetworkBlockResponse.d.ts +3 -1
- package/esm/generated/models/GetTransactionResponse.d.ts +2 -2
- package/esm/generated/models/HealthCheckResultDto.d.ts +17 -0
- package/esm/generated/models/HealthCheckResultDto.js +1 -0
- package/esm/generated/models/HealthIndicatorResultDto.d.ts +17 -0
- package/esm/generated/models/HealthIndicatorResultDto.js +1 -0
- package/esm/generated/models/HistoricalReward.d.ts +1 -1
- package/esm/generated/models/IcmDestinationTransaction.d.ts +9 -0
- package/esm/generated/models/IcmReceipt.d.ts +6 -0
- package/esm/generated/models/IcmRewardDetails.d.ts +37 -0
- package/esm/generated/models/IcmRewardDetails.js +1 -0
- package/esm/generated/models/IcmSourceTransaction.d.ts +7 -0
- package/esm/generated/models/ImageAsset.d.ts +1 -1
- package/esm/generated/models/InternalServerError.d.ts +1 -1
- package/esm/generated/models/InternalTransaction.d.ts +6 -2
- package/esm/generated/models/InternalTransactionDetails.d.ts +1 -1
- package/esm/generated/models/InternalTransactionOpCall.d.ts +1 -0
- package/esm/generated/models/InternalTransactionOpCall.js +1 -1
- package/esm/generated/models/L1ValidatorDetailsFull.d.ts +37 -0
- package/esm/generated/models/L1ValidatorDetailsTransaction.d.ts +27 -0
- package/esm/generated/models/L1ValidatorManagerDetails.d.ts +6 -0
- package/esm/generated/models/ListAddressChainsResponse.d.ts +8 -0
- package/esm/generated/models/ListBlockchainsResponse.d.ts +1 -1
- package/esm/generated/models/ListCChainAtomicBalancesResponse.d.ts +1 -1
- package/esm/generated/models/ListCChainAtomicTransactionsResponse.d.ts +1 -1
- package/esm/generated/models/ListChainsResponse.d.ts +1 -1
- package/esm/generated/models/ListCollectibleBalancesResponse.d.ts +1 -1
- package/esm/generated/models/ListContractsResponse.d.ts +1 -1
- package/esm/generated/models/ListDelegatorDetailsResponse.d.ts +1 -1
- package/esm/generated/models/ListErc1155BalancesResponse.d.ts +6 -1
- package/esm/generated/models/ListErc1155TransactionsResponse.d.ts +1 -1
- package/esm/generated/models/ListErc20BalancesResponse.d.ts +6 -1
- package/esm/generated/models/ListErc20TransactionsResponse.d.ts +1 -1
- package/esm/generated/models/ListErc721BalancesResponse.d.ts +6 -1
- package/esm/generated/models/ListErc721TransactionsResponse.d.ts +1 -1
- package/esm/generated/models/ListEvmBlocksResponse.d.ts +1 -1
- package/esm/generated/models/ListHistoricalRewardsResponse.d.ts +1 -1
- package/esm/generated/models/ListIcmMessagesResponse.d.ts +13 -0
- package/esm/generated/models/ListInternalTransactionsResponse.d.ts +1 -1
- package/esm/generated/models/ListL1ValidatorsResponse.d.ts +18 -0
- package/esm/generated/models/ListNativeTransactionsResponse.d.ts +1 -1
- package/esm/generated/models/ListNftTokens.d.ts +1 -1
- package/esm/generated/models/ListPChainBalancesResponse.d.ts +1 -1
- package/esm/generated/models/ListPChainTransactionsResponse.d.ts +1 -1
- package/esm/generated/models/ListPChainUtxosResponse.d.ts +1 -1
- package/esm/generated/models/ListPendingRewardsResponse.d.ts +1 -1
- package/esm/generated/models/ListPrimaryNetworkBlocksResponse.d.ts +1 -1
- package/esm/generated/models/ListSubnetsResponse.d.ts +1 -1
- package/esm/generated/models/ListTeleporterMessagesResponse.d.ts +3 -2
- package/esm/generated/models/ListTransactionDetailsResponse.d.ts +1 -1
- package/esm/generated/models/ListTransfersResponse.d.ts +1 -1
- package/esm/generated/models/ListUtxosResponse.d.ts +1 -1
- package/esm/generated/models/ListValidatorDetailsResponse.d.ts +1 -1
- package/esm/generated/models/ListWebhookAddressesResponse.d.ts +1 -1
- package/esm/generated/models/ListWebhooksResponse.d.ts +5 -3
- package/esm/generated/models/ListXChainBalancesResponse.d.ts +1 -1
- package/esm/generated/models/ListXChainTransactionsResponse.d.ts +1 -1
- package/esm/generated/models/ListXChainVerticesResponse.d.ts +1 -1
- package/esm/generated/models/Log.d.ts +40 -0
- package/esm/generated/models/LogsFormat.d.ts +1 -1
- package/esm/generated/models/LogsFormatMetadata.d.ts +1 -1
- package/esm/generated/models/LogsResponseDTO.d.ts +1 -1
- package/esm/generated/models/Method.d.ts +1 -1
- package/esm/generated/models/Metric.d.ts +1 -1
- package/esm/generated/models/Money.d.ts +1 -1
- package/esm/generated/models/NativeTokenBalance.d.ts +1 -1
- package/esm/generated/models/NativeTransaction.d.ts +14 -2
- package/esm/generated/models/Network.d.ts +2 -1
- package/esm/generated/models/Network.js +1 -1
- package/esm/generated/models/NetworkToken.d.ts +1 -1
- package/esm/generated/models/NetworkTokenDetails.d.ts +1 -1
- package/esm/generated/models/NetworkTokenInfo.d.ts +20 -0
- package/esm/generated/models/NextPageToken.d.ts +1 -1
- package/esm/generated/models/NotFound.d.ts +1 -1
- package/esm/generated/models/NotificationsResponse.d.ts +5 -0
- package/esm/generated/models/OperationStatusResponse.d.ts +2 -2
- package/esm/generated/models/PChainBalance.d.ts +1 -1
- package/esm/generated/models/PChainSharedAsset.d.ts +1 -1
- package/esm/generated/models/PChainTransaction.d.ts +40 -9
- package/esm/generated/models/PChainTransactionType.d.ts +5 -0
- package/esm/generated/models/PChainTransactionType.js +1 -1
- package/esm/generated/models/PChainUtxo.d.ts +32 -1
- package/esm/generated/models/PendingDelegatorDetails.d.ts +6 -0
- package/esm/generated/models/PendingIcmMessage.d.ts +29 -0
- package/esm/generated/models/PendingIcmMessage.js +1 -0
- package/esm/generated/models/PendingReward.d.ts +1 -1
- package/esm/generated/models/PendingValidatorDetails.d.ts +3 -0
- package/esm/generated/models/PlatformAddressActivityKeyType.d.ts +8 -0
- package/esm/generated/models/PlatformAddressActivityKeyType.js +1 -0
- package/esm/generated/models/PricingProviders.d.ts +1 -1
- package/esm/generated/models/PrimaryNetworkAddressActivityEventType.d.ts +5 -0
- package/esm/generated/models/PrimaryNetworkAddressActivityEventType.js +1 -0
- package/esm/generated/models/PrimaryNetworkAddressActivityMetadata.d.ts +25 -0
- package/esm/generated/models/PrimaryNetworkAddressActivityRequest.d.ts +22 -0
- package/esm/generated/models/PrimaryNetworkAddressActivityRequest.js +1 -0
- package/esm/generated/models/PrimaryNetworkAddressActivityResponse.d.ts +17 -0
- package/esm/generated/models/PrimaryNetworkAddressActivitySubEventType.d.ts +10 -0
- package/esm/generated/models/PrimaryNetworkAddressActivitySubEventType.js +1 -0
- package/esm/generated/models/PrimaryNetworkAddressActivitySubEvents.d.ts +7 -0
- package/esm/generated/models/PrimaryNetworkAddressesBodyDto.d.ts +8 -0
- package/esm/generated/models/PrimaryNetworkBalanceThresholdFilter.d.ts +11 -0
- package/esm/generated/models/PrimaryNetworkBlock.d.ts +3 -1
- package/esm/generated/models/PrimaryNetworkChainInfo.d.ts +3 -3
- package/esm/generated/models/PrimaryNetworkOptions.d.ts +1 -1
- package/esm/generated/models/PrimaryNetworkRpcMetricsGroupByEnum.d.ts +10 -0
- package/esm/generated/models/PrimaryNetworkRpcMetricsGroupByEnum.js +1 -0
- package/esm/generated/models/PrimaryNetworkRpcTimeIntervalGranularity.d.ts +8 -0
- package/esm/generated/models/PrimaryNetworkRpcTimeIntervalGranularity.js +1 -0
- package/esm/generated/models/PrimaryNetworkRpcUsageMetricsResponseDTO.d.ts +27 -0
- package/esm/generated/models/PrimaryNetworkRpcUsageMetricsResponseDTO.js +1 -0
- package/esm/generated/models/PrimaryNetworkTxType.d.ts +5 -0
- package/esm/generated/models/PrimaryNetworkTxType.js +1 -1
- package/esm/generated/models/PrimaryNetworkType.d.ts +6 -0
- package/esm/generated/models/{PrimaryNetwork.js → PrimaryNetworkType.js} +1 -1
- package/esm/generated/models/ProposerDetails.d.ts +1 -1
- package/esm/generated/models/RemovedValidatorDetails.d.ts +9 -0
- package/esm/generated/models/ResourceLink.d.ts +1 -1
- package/esm/generated/models/Rewards.d.ts +1 -1
- package/esm/generated/models/RichAddress.d.ts +1 -1
- package/esm/generated/models/RpcMetrics.d.ts +14 -0
- package/esm/generated/models/RpcUsageMetricsGroupByEnum.d.ts +7 -0
- package/esm/generated/models/RpcUsageMetricsGroupByEnum.js +1 -0
- package/esm/generated/models/RpcUsageMetricsValueAggregated.d.ts +55 -0
- package/esm/generated/models/RpcUsageMetricsValueAggregated.js +1 -0
- package/esm/generated/models/ServiceUnavailable.d.ts +1 -1
- package/esm/generated/models/SharedSecretsResponse.d.ts +1 -1
- package/esm/generated/models/SignatureAggregationResponse.d.ts +5 -0
- package/esm/generated/models/SignatureAggregatorRequest.d.ts +28 -0
- package/esm/generated/models/StakingDistribution.d.ts +10 -1
- package/esm/generated/models/Subnet.d.ts +16 -3
- package/esm/generated/models/SubnetOwnershipInfo.d.ts +1 -1
- package/esm/generated/models/SubnetRpcTimeIntervalGranularity.d.ts +8 -0
- package/esm/generated/models/SubnetRpcTimeIntervalGranularity.js +1 -0
- package/esm/generated/models/SubnetRpcUsageMetricsResponseDTO.d.ts +18 -0
- package/esm/generated/models/SubscribeRequest.d.ts +16 -0
- package/esm/generated/models/SubscriptionsRequest.d.ts +8 -0
- package/esm/generated/models/SubscriptionsResponse.d.ts +14 -0
- package/esm/generated/models/TeleporterDestinationTransaction.d.ts +1 -1
- package/esm/generated/models/TeleporterMessageInfo.d.ts +3 -3
- package/esm/generated/models/TeleporterReceipt.d.ts +1 -1
- package/esm/generated/models/TeleporterSourceTransaction.d.ts +1 -1
- package/esm/generated/models/TooManyRequests.d.ts +1 -1
- package/esm/generated/models/Transaction.d.ts +121 -0
- package/esm/generated/models/TransactionDetails.d.ts +2 -2
- package/esm/generated/models/TransactionEvent.d.ts +15 -0
- package/esm/generated/models/TransactionExportMetadata.d.ts +1 -1
- package/esm/generated/models/TransactionVertexDetail.d.ts +1 -1
- package/esm/generated/models/Unauthorized.d.ts +1 -1
- package/esm/generated/models/UnknownContract.d.ts +1 -1
- package/esm/generated/models/UnsubscribeRequest.d.ts +12 -0
- package/esm/generated/models/UpdateContractResponse.d.ts +1 -1
- package/esm/generated/models/UpdateWebhookRequest.d.ts +4 -1
- package/esm/generated/models/UsageMetricsResponseDTO.d.ts +1 -1
- package/esm/generated/models/UtilityAddresses.d.ts +1 -1
- package/esm/generated/models/Utxo.d.ts +5 -1
- package/esm/generated/models/UtxoCredential.d.ts +1 -1
- package/esm/generated/models/UtxoType.d.ts +3 -0
- package/esm/generated/models/UtxosSortByOption.d.ts +6 -0
- package/esm/generated/models/UtxosSortByOption.js +1 -0
- package/esm/generated/models/ValidatorActivityEventType.d.ts +5 -0
- package/esm/generated/models/ValidatorActivityEventType.js +1 -0
- package/esm/generated/models/ValidatorActivityKeyType.d.ts +9 -0
- package/esm/generated/models/ValidatorActivityKeyType.js +1 -0
- package/esm/generated/models/ValidatorActivityMetadata.d.ts +32 -0
- package/esm/generated/models/ValidatorActivityRequest.d.ts +21 -0
- package/esm/generated/models/ValidatorActivityRequest.js +1 -0
- package/esm/generated/models/ValidatorActivityResponse.d.ts +17 -0
- package/esm/generated/models/ValidatorActivitySubEvents.d.ts +8 -0
- package/esm/generated/models/ValidatorHealthDetails.d.ts +1 -1
- package/esm/generated/models/ValidatorsDetails.d.ts +7 -1
- package/esm/generated/models/WebhookAddressActivityResponse.d.ts +30 -0
- package/esm/generated/models/WebhookAddressActivityResponse.js +1 -0
- package/esm/generated/models/WebhookInternalTransaction.d.ts +32 -0
- package/esm/generated/models/XChainAssetDetails.d.ts +1 -1
- package/esm/generated/models/XChainBalances.d.ts +1 -1
- package/esm/generated/models/XChainSharedAssetBalance.d.ts +1 -1
- package/esm/generated/models/XChainVertex.d.ts +1 -1
- package/esm/generated/services/AvaxSupplyService.d.ts +17 -0
- package/esm/generated/services/AvaxSupplyService.js +1 -0
- package/esm/generated/services/DataApiUsageMetricsService.d.ts +166 -22
- package/esm/generated/services/DataApiUsageMetricsService.js +1 -1
- package/esm/generated/services/EvmBalancesService.d.ts +9 -9
- package/esm/generated/services/EvmBlocksService.d.ts +23 -2
- package/esm/generated/services/EvmBlocksService.js +1 -1
- package/esm/generated/services/EvmChainsService.d.ts +84 -6
- package/esm/generated/services/EvmChainsService.js +1 -1
- package/esm/generated/services/EvmContractsService.d.ts +2 -2
- package/esm/generated/services/EvmTransactionsService.d.ts +47 -14
- package/esm/generated/services/EvmTransactionsService.js +1 -1
- package/esm/generated/services/HealthCheckService.d.ts +11 -7
- package/esm/generated/services/HealthCheckService.js +1 -1
- package/esm/generated/services/InterchainMessagingService.d.ts +90 -0
- package/esm/generated/services/InterchainMessagingService.js +1 -0
- package/esm/generated/services/NfTsService.d.ts +3 -3
- package/esm/generated/services/NotificationsService.d.ts +51 -0
- package/esm/generated/services/NotificationsService.js +1 -0
- package/esm/generated/services/PrimaryNetworkBalancesService.d.ts +1 -1
- package/esm/generated/services/PrimaryNetworkBlocksService.d.ts +21 -5
- package/esm/generated/services/PrimaryNetworkBlocksService.js +1 -1
- package/esm/generated/services/PrimaryNetworkRewardsService.d.ts +2 -2
- package/esm/generated/services/PrimaryNetworkService.d.ts +64 -13
- package/esm/generated/services/PrimaryNetworkService.js +1 -1
- package/esm/generated/services/PrimaryNetworkTransactionsService.d.ts +12 -9
- package/esm/generated/services/PrimaryNetworkTransactionsService.js +1 -1
- package/esm/generated/services/PrimaryNetworkUtxOsService.d.ts +57 -2
- package/esm/generated/services/PrimaryNetworkUtxOsService.js +1 -1
- package/esm/generated/services/PrimaryNetworkVerticesService.d.ts +3 -3
- package/esm/generated/services/SignatureAggregatorService.d.ts +41 -0
- package/esm/generated/services/SignatureAggregatorService.js +1 -0
- package/esm/generated/services/TeleporterService.d.ts +17 -11
- package/esm/generated/services/WebhooksService.d.ts +28 -24
- package/esm/generated/services/WebhooksService.js +1 -1
- package/esm/index.d.ts +76 -10
- package/esm/index.js +1 -1
- package/package.json +13 -4
- package/dist/index.js +0 -1
- package/esm/generated/models/CreateWebhookRequest.d.ts +0 -21
- package/esm/generated/models/EventType.d.ts +0 -5
- package/esm/generated/models/NetworkType.d.ts +0 -6
- package/esm/generated/models/NetworkType.js +0 -1
- package/esm/generated/models/PrimaryNetwork.d.ts +0 -6
- package/esm/generated/models/RpcErrorDto.d.ts +0 -7
- package/esm/generated/models/RpcErrorResponseDto.d.ts +0 -9
- package/esm/generated/models/RpcRequestBodyDto.d.ts +0 -8
- package/esm/generated/models/RpcSuccessResponseDto.d.ts +0 -7
- package/esm/generated/services/RpcService.d.ts +0 -25
- package/esm/generated/services/RpcService.js +0 -1
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { AddressesChangeRequest } from '../models/AddressesChangeRequest.js';
|
|
2
|
-
import {
|
|
2
|
+
import { EVMAddressActivityRequest } from '../models/EVMAddressActivityRequest.js';
|
|
3
|
+
import { EVMAddressActivityResponse } from '../models/EVMAddressActivityResponse.js';
|
|
3
4
|
import { ListWebhookAddressesResponse } from '../models/ListWebhookAddressesResponse.js';
|
|
4
5
|
import { ListWebhooksResponse } from '../models/ListWebhooksResponse.js';
|
|
6
|
+
import { PrimaryNetworkAddressActivityRequest } from '../models/PrimaryNetworkAddressActivityRequest.js';
|
|
7
|
+
import { PrimaryNetworkAddressActivityResponse } from '../models/PrimaryNetworkAddressActivityResponse.js';
|
|
5
8
|
import { SharedSecretsResponse } from '../models/SharedSecretsResponse.js';
|
|
6
9
|
import { UpdateWebhookRequest } from '../models/UpdateWebhookRequest.js';
|
|
7
|
-
import {
|
|
10
|
+
import { ValidatorActivityRequest } from '../models/ValidatorActivityRequest.js';
|
|
11
|
+
import { ValidatorActivityResponse } from '../models/ValidatorActivityResponse.js';
|
|
8
12
|
import { WebhookStatus } from '../models/WebhookStatus.js';
|
|
9
13
|
import { CancelablePromise } from '../core/CancelablePromise.js';
|
|
10
14
|
import { BaseHttpRequest } from '../core/BaseHttpRequest.js';
|
|
@@ -15,12 +19,12 @@ declare class WebhooksService {
|
|
|
15
19
|
/**
|
|
16
20
|
* Create a webhook
|
|
17
21
|
* Create a new webhook.
|
|
18
|
-
* @returns
|
|
22
|
+
* @returns any Successful response
|
|
19
23
|
* @throws ApiError
|
|
20
24
|
*/
|
|
21
25
|
createWebhook({ requestBody, }: {
|
|
22
|
-
requestBody:
|
|
23
|
-
}): CancelablePromise<
|
|
26
|
+
requestBody: (EVMAddressActivityRequest | PrimaryNetworkAddressActivityRequest | ValidatorActivityRequest);
|
|
27
|
+
}): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
|
|
24
28
|
/**
|
|
25
29
|
* List webhooks
|
|
26
30
|
* Lists webhooks for the user.
|
|
@@ -44,7 +48,7 @@ declare class WebhooksService {
|
|
|
44
48
|
/**
|
|
45
49
|
* Get a webhook by ID
|
|
46
50
|
* Retrieves a webhook by ID.
|
|
47
|
-
* @returns
|
|
51
|
+
* @returns any Successful response
|
|
48
52
|
* @throws ApiError
|
|
49
53
|
*/
|
|
50
54
|
getWebhook({ id, }: {
|
|
@@ -52,11 +56,11 @@ declare class WebhooksService {
|
|
|
52
56
|
* The webhook identifier.
|
|
53
57
|
*/
|
|
54
58
|
id: string;
|
|
55
|
-
}): CancelablePromise<
|
|
59
|
+
}): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
|
|
56
60
|
/**
|
|
57
61
|
* Deactivate a webhook
|
|
58
62
|
* Deactivates a webhook by ID.
|
|
59
|
-
* @returns
|
|
63
|
+
* @returns any Successful response
|
|
60
64
|
* @throws ApiError
|
|
61
65
|
*/
|
|
62
66
|
deactivateWebhook({ id, }: {
|
|
@@ -64,11 +68,11 @@ declare class WebhooksService {
|
|
|
64
68
|
* The webhook identifier.
|
|
65
69
|
*/
|
|
66
70
|
id: string;
|
|
67
|
-
}): CancelablePromise<
|
|
71
|
+
}): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
|
|
68
72
|
/**
|
|
69
73
|
* Update a webhook
|
|
70
74
|
* Updates an existing webhook.
|
|
71
|
-
* @returns
|
|
75
|
+
* @returns any Successful response
|
|
72
76
|
* @throws ApiError
|
|
73
77
|
*/
|
|
74
78
|
updateWebhook({ id, requestBody, }: {
|
|
@@ -77,14 +81,14 @@ declare class WebhooksService {
|
|
|
77
81
|
*/
|
|
78
82
|
id: string;
|
|
79
83
|
requestBody: UpdateWebhookRequest;
|
|
80
|
-
}): CancelablePromise<
|
|
84
|
+
}): CancelablePromise<(EVMAddressActivityResponse | PrimaryNetworkAddressActivityResponse | ValidatorActivityResponse)>;
|
|
81
85
|
/**
|
|
82
|
-
* Generate a shared secret
|
|
83
|
-
* Generates a new shared secret.
|
|
86
|
+
* Generate or rotate a shared secret
|
|
87
|
+
* Generates a new shared secret or rotate an existing one.
|
|
84
88
|
* @returns SharedSecretsResponse Successful response
|
|
85
89
|
* @throws ApiError
|
|
86
90
|
*/
|
|
87
|
-
|
|
91
|
+
generateOrRotateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
|
|
88
92
|
/**
|
|
89
93
|
* Get a shared secret
|
|
90
94
|
* Get a previously generated shared secret.
|
|
@@ -93,9 +97,9 @@ declare class WebhooksService {
|
|
|
93
97
|
*/
|
|
94
98
|
getSharedSecret(): CancelablePromise<SharedSecretsResponse>;
|
|
95
99
|
/**
|
|
96
|
-
* Add addresses to webhook
|
|
97
|
-
* Add addresses to webhook.
|
|
98
|
-
* @returns
|
|
100
|
+
* Add addresses to EVM activity webhook
|
|
101
|
+
* Add addresses to webhook. Only valid for EVM activity webhooks.
|
|
102
|
+
* @returns EVMAddressActivityResponse Successful response
|
|
99
103
|
* @throws ApiError
|
|
100
104
|
*/
|
|
101
105
|
addAddressesToWebhook({ id, requestBody, }: {
|
|
@@ -104,11 +108,11 @@ declare class WebhooksService {
|
|
|
104
108
|
*/
|
|
105
109
|
id: string;
|
|
106
110
|
requestBody: AddressesChangeRequest;
|
|
107
|
-
}): CancelablePromise<
|
|
111
|
+
}): CancelablePromise<EVMAddressActivityResponse>;
|
|
108
112
|
/**
|
|
109
|
-
* Remove addresses from webhook
|
|
110
|
-
* Remove addresses from webhook.
|
|
111
|
-
* @returns
|
|
113
|
+
* Remove addresses from EVM activity webhook
|
|
114
|
+
* Remove addresses from webhook. Only valid for EVM activity webhooks.
|
|
115
|
+
* @returns EVMAddressActivityResponse Successful response
|
|
112
116
|
* @throws ApiError
|
|
113
117
|
*/
|
|
114
118
|
removeAddressesFromWebhook({ id, requestBody, }: {
|
|
@@ -117,10 +121,10 @@ declare class WebhooksService {
|
|
|
117
121
|
*/
|
|
118
122
|
id: string;
|
|
119
123
|
requestBody: AddressesChangeRequest;
|
|
120
|
-
}): CancelablePromise<
|
|
124
|
+
}): CancelablePromise<EVMAddressActivityResponse>;
|
|
121
125
|
/**
|
|
122
|
-
* List adresses by
|
|
123
|
-
* List adresses by webhook.
|
|
126
|
+
* List adresses by EVM activity webhooks
|
|
127
|
+
* List adresses by webhook. Only valid for EVM activity webhooks.
|
|
124
128
|
* @returns ListWebhookAddressesResponse Successful response
|
|
125
129
|
* @throws ApiError
|
|
126
130
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
class e{constructor(e){this.httpRequest=e}createWebhook({requestBody:e}){return this.httpRequest.request({method:"POST",url:"/v1/webhooks",body:e,mediaType:"application/json",errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}listWebhooks({pageToken:e,pageSize:r=10,status:t}){return this.httpRequest.request({method:"GET",url:"/v1/webhooks",query:{pageToken:e,pageSize:r,status:t},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}getWebhook({id:e}){return this.httpRequest.request({method:"GET",url:"/v1/webhooks/{id}",path:{id:e},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}deactivateWebhook({id:e}){return this.httpRequest.request({method:"DELETE",url:"/v1/webhooks/{id}",path:{id:e},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}updateWebhook({id:e,requestBody:r}){return this.httpRequest.request({method:"PATCH",url:"/v1/webhooks/{id}",path:{id:e},body:r,mediaType:"application/json",errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}generateSharedSecret(){return this.httpRequest.request({method:"POST",url:"/v1/webhooks:generateOrRotateSharedSecret",errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}getSharedSecret(){return this.httpRequest.request({method:"GET",url:"/v1/webhooks:getSharedSecret",errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}addAddressesToWebhook({id:e,requestBody:r}){return this.httpRequest.request({method:"PATCH",url:"/v1/webhooks/{id}/addresses",path:{id:e},body:r,mediaType:"application/json",errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}removeAddressesFromWebhook({id:e,requestBody:r}){return this.httpRequest.request({method:"DELETE",url:"/v1/webhooks/{id}/addresses",path:{id:e},body:r,mediaType:"application/json",errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}getAddressesFromWebhook({id:e,pageToken:r,pageSize:t=10}){return this.httpRequest.request({method:"GET",url:"/v1/webhooks/{id}/addresses",path:{id:e},query:{pageToken:r,pageSize:t},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}}export{e as WebhooksService};
|
|
1
|
+
class e{constructor(e){this.httpRequest=e}createWebhook({requestBody:e}){return this.httpRequest.request({method:"POST",url:"/v1/webhooks",body:e,mediaType:"application/json",errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}listWebhooks({pageToken:e,pageSize:r=10,status:t}){return this.httpRequest.request({method:"GET",url:"/v1/webhooks",query:{pageToken:e,pageSize:r,status:t},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}getWebhook({id:e}){return this.httpRequest.request({method:"GET",url:"/v1/webhooks/{id}",path:{id:e},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}deactivateWebhook({id:e}){return this.httpRequest.request({method:"DELETE",url:"/v1/webhooks/{id}",path:{id:e},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}updateWebhook({id:e,requestBody:r}){return this.httpRequest.request({method:"PATCH",url:"/v1/webhooks/{id}",path:{id:e},body:r,mediaType:"application/json",errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}generateOrRotateSharedSecret(){return this.httpRequest.request({method:"POST",url:"/v1/webhooks:generateOrRotateSharedSecret",errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}getSharedSecret(){return this.httpRequest.request({method:"GET",url:"/v1/webhooks:getSharedSecret",errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}addAddressesToWebhook({id:e,requestBody:r}){return this.httpRequest.request({method:"PATCH",url:"/v1/webhooks/{id}/addresses",path:{id:e},body:r,mediaType:"application/json",errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}removeAddressesFromWebhook({id:e,requestBody:r}){return this.httpRequest.request({method:"DELETE",url:"/v1/webhooks/{id}/addresses",path:{id:e},body:r,mediaType:"application/json",errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}getAddressesFromWebhook({id:e,pageToken:r,pageSize:t=10}){return this.httpRequest.request({method:"GET",url:"/v1/webhooks/{id}/addresses",path:{id:e},query:{pageToken:r,pageSize:t},errors:{400:"Bad requests generally mean the client has passed invalid\n or malformed parameters. Error messages in the response could help in\n evaluating the error.",401:"When a client attempts to access resources that require\n authorization credentials but the client lacks proper authentication\n in the request, the server responds with 401.",403:"When a client attempts to access resources with valid\n credentials but doesn't have the privilege to perform that action,\n the server responds with 403.",404:"The error is mostly returned when the client requests\n with either mistyped URL, or the passed resource is moved or deleted,\n or the resource doesn't exist.",429:"This error is returned when the client has sent too many,\n and has hit the rate limit.",500:"The error is a generic server side error that is\n returned for any uncaught and unexpected issues on the server side.\n This should be very rare, and you may reach out to us if the problem\n persists for a longer duration.",502:"This is an internal error indicating invalid response\n received by the client-facing proxy or gateway from the upstream server.",503:"The error is returned for certain routes on a particular\n Subnet. This indicates an internal problem with our Subnet node, and may\n not necessarily mean the Subnet is down or affected."}})}}export{e as WebhooksService};
|
package/esm/index.d.ts
CHANGED
|
@@ -3,16 +3,21 @@ export { ApiError } from './generated/core/ApiError.js';
|
|
|
3
3
|
export { BaseHttpRequest } from './generated/core/BaseHttpRequest.js';
|
|
4
4
|
export { CancelError, CancelablePromise } from './generated/core/CancelablePromise.js';
|
|
5
5
|
export { OpenAPI, OpenAPIConfig } from './generated/core/OpenAPI.js';
|
|
6
|
+
export { AccessListData } from './generated/models/AccessListData.js';
|
|
7
|
+
export { AccessRequest } from './generated/models/AccessRequest.js';
|
|
6
8
|
export { ActiveDelegatorDetails } from './generated/models/ActiveDelegatorDetails.js';
|
|
7
9
|
export { ActiveValidatorDetails } from './generated/models/ActiveValidatorDetails.js';
|
|
10
|
+
export { AddressActivityEventType } from './generated/models/AddressActivityEventType.js';
|
|
8
11
|
export { AddressActivityMetadata } from './generated/models/AddressActivityMetadata.js';
|
|
9
12
|
export { AddressesChangeRequest } from './generated/models/AddressesChangeRequest.js';
|
|
10
13
|
export { AggregatedAssetAmount } from './generated/models/AggregatedAssetAmount.js';
|
|
11
14
|
export { ApiFeature } from './generated/models/ApiFeature.js';
|
|
12
15
|
export { AssetAmount } from './generated/models/AssetAmount.js';
|
|
13
16
|
export { AssetWithPriceInfo } from './generated/models/AssetWithPriceInfo.js';
|
|
17
|
+
export { AvaxSupplyResponse } from './generated/models/AvaxSupplyResponse.js';
|
|
14
18
|
export { BadGateway } from './generated/models/BadGateway.js';
|
|
15
19
|
export { BadRequest } from './generated/models/BadRequest.js';
|
|
20
|
+
export { BalanceOwner } from './generated/models/BalanceOwner.js';
|
|
16
21
|
export { Blockchain } from './generated/models/Blockchain.js';
|
|
17
22
|
export { BlockchainId } from './generated/models/BlockchainId.js';
|
|
18
23
|
export { BlockchainIds } from './generated/models/BlockchainIds.js';
|
|
@@ -26,6 +31,7 @@ export { ChainAddressChainIdMap } from './generated/models/ChainAddressChainIdMa
|
|
|
26
31
|
export { ChainAddressChainIdMapListResponse } from './generated/models/ChainAddressChainIdMapListResponse.js';
|
|
27
32
|
export { ChainInfo } from './generated/models/ChainInfo.js';
|
|
28
33
|
export { ChainStatus } from './generated/models/ChainStatus.js';
|
|
34
|
+
export { CommonBalanceType } from './generated/models/CommonBalanceType.js';
|
|
29
35
|
export { CompletedDelegatorDetails } from './generated/models/CompletedDelegatorDetails.js';
|
|
30
36
|
export { CompletedValidatorDetails } from './generated/models/CompletedValidatorDetails.js';
|
|
31
37
|
export { ContractDeploymentDetails } from './generated/models/ContractDeploymentDetails.js';
|
|
@@ -36,11 +42,12 @@ export { ContractSubmissionErc721 } from './generated/models/ContractSubmissionE
|
|
|
36
42
|
export { ContractSubmissionUnknown } from './generated/models/ContractSubmissionUnknown.js';
|
|
37
43
|
export { CreateEvmTransactionExportRequest } from './generated/models/CreateEvmTransactionExportRequest.js';
|
|
38
44
|
export { CreatePrimaryNetworkTransactionExportRequest } from './generated/models/CreatePrimaryNetworkTransactionExportRequest.js';
|
|
39
|
-
export { CreateWebhookRequest } from './generated/models/CreateWebhookRequest.js';
|
|
40
45
|
export { CurrencyCode } from './generated/models/CurrencyCode.js';
|
|
41
46
|
export { DataListChainsResponse } from './generated/models/DataListChainsResponse.js';
|
|
42
47
|
export { DelegationStatusType } from './generated/models/DelegationStatusType.js';
|
|
43
48
|
export { DelegatorsDetails } from './generated/models/DelegatorsDetails.js';
|
|
49
|
+
export { DeliveredIcmMessage } from './generated/models/DeliveredIcmMessage.js';
|
|
50
|
+
export { DeliveredSourceNotIndexedIcmMessage } from './generated/models/DeliveredSourceNotIndexedIcmMessage.js';
|
|
44
51
|
export { DeliveredSourceNotIndexedTeleporterMessage } from './generated/models/DeliveredSourceNotIndexedTeleporterMessage.js';
|
|
45
52
|
export { DeliveredTeleporterMessage } from './generated/models/DeliveredTeleporterMessage.js';
|
|
46
53
|
export { Erc1155Contract } from './generated/models/Erc1155Contract.js';
|
|
@@ -60,26 +67,46 @@ export { Erc721TokenBalance } from './generated/models/Erc721TokenBalance.js';
|
|
|
60
67
|
export { Erc721TokenMetadata } from './generated/models/Erc721TokenMetadata.js';
|
|
61
68
|
export { Erc721Transfer } from './generated/models/Erc721Transfer.js';
|
|
62
69
|
export { Erc721TransferDetails } from './generated/models/Erc721TransferDetails.js';
|
|
63
|
-
export {
|
|
70
|
+
export { ERCToken } from './generated/models/ERCToken.js';
|
|
71
|
+
export { ERCTransfer } from './generated/models/ERCTransfer.js';
|
|
72
|
+
export { EVMAddressActivityRequest } from './generated/models/EVMAddressActivityRequest.js';
|
|
73
|
+
export { EVMAddressActivityResponse } from './generated/models/EVMAddressActivityResponse.js';
|
|
64
74
|
export { EvmBlock } from './generated/models/EvmBlock.js';
|
|
75
|
+
export { EvmGenesisAllocDto } from './generated/models/EvmGenesisAllocDto.js';
|
|
76
|
+
export { EvmGenesisAllowListConfigDto } from './generated/models/EvmGenesisAllowListConfigDto.js';
|
|
77
|
+
export { EvmGenesisConfigDto } from './generated/models/EvmGenesisConfigDto.js';
|
|
78
|
+
export { EvmGenesisDto } from './generated/models/EvmGenesisDto.js';
|
|
79
|
+
export { EvmGenesisFeeConfigDto } from './generated/models/EvmGenesisFeeConfigDto.js';
|
|
80
|
+
export { EvmGenesisWarpConfigDto } from './generated/models/EvmGenesisWarpConfigDto.js';
|
|
65
81
|
export { EVMInput } from './generated/models/EVMInput.js';
|
|
66
82
|
export { EvmNetworkOptions } from './generated/models/EvmNetworkOptions.js';
|
|
67
83
|
export { EVMOperationType } from './generated/models/EVMOperationType.js';
|
|
68
84
|
export { EVMOutput } from './generated/models/EVMOutput.js';
|
|
69
85
|
export { Forbidden } from './generated/models/Forbidden.js';
|
|
70
86
|
export { FullNativeTransactionDetails } from './generated/models/FullNativeTransactionDetails.js';
|
|
87
|
+
export { Geolocation } from './generated/models/Geolocation.js';
|
|
71
88
|
export { GetChainResponse } from './generated/models/GetChainResponse.js';
|
|
72
89
|
export { GetEvmBlockResponse } from './generated/models/GetEvmBlockResponse.js';
|
|
73
90
|
export { GetNativeBalanceResponse } from './generated/models/GetNativeBalanceResponse.js';
|
|
74
91
|
export { GetNetworkDetailsResponse } from './generated/models/GetNetworkDetailsResponse.js';
|
|
75
92
|
export { GetPrimaryNetworkBlockResponse } from './generated/models/GetPrimaryNetworkBlockResponse.js';
|
|
76
93
|
export { GetTransactionResponse } from './generated/models/GetTransactionResponse.js';
|
|
94
|
+
export { HealthCheckResultDto } from './generated/models/HealthCheckResultDto.js';
|
|
95
|
+
export { HealthIndicatorResultDto } from './generated/models/HealthIndicatorResultDto.js';
|
|
77
96
|
export { HistoricalReward } from './generated/models/HistoricalReward.js';
|
|
97
|
+
export { IcmDestinationTransaction } from './generated/models/IcmDestinationTransaction.js';
|
|
98
|
+
export { IcmReceipt } from './generated/models/IcmReceipt.js';
|
|
99
|
+
export { IcmRewardDetails } from './generated/models/IcmRewardDetails.js';
|
|
100
|
+
export { IcmSourceTransaction } from './generated/models/IcmSourceTransaction.js';
|
|
78
101
|
export { ImageAsset } from './generated/models/ImageAsset.js';
|
|
79
102
|
export { InternalServerError } from './generated/models/InternalServerError.js';
|
|
80
103
|
export { InternalTransaction } from './generated/models/InternalTransaction.js';
|
|
81
104
|
export { InternalTransactionDetails } from './generated/models/InternalTransactionDetails.js';
|
|
82
105
|
export { InternalTransactionOpCall } from './generated/models/InternalTransactionOpCall.js';
|
|
106
|
+
export { L1ValidatorDetailsFull } from './generated/models/L1ValidatorDetailsFull.js';
|
|
107
|
+
export { L1ValidatorDetailsTransaction } from './generated/models/L1ValidatorDetailsTransaction.js';
|
|
108
|
+
export { L1ValidatorManagerDetails } from './generated/models/L1ValidatorManagerDetails.js';
|
|
109
|
+
export { ListAddressChainsResponse } from './generated/models/ListAddressChainsResponse.js';
|
|
83
110
|
export { ListBlockchainsResponse } from './generated/models/ListBlockchainsResponse.js';
|
|
84
111
|
export { ListCChainAtomicBalancesResponse } from './generated/models/ListCChainAtomicBalancesResponse.js';
|
|
85
112
|
export { ListCChainAtomicTransactionsResponse } from './generated/models/ListCChainAtomicTransactionsResponse.js';
|
|
@@ -95,7 +122,9 @@ export { ListErc721BalancesResponse } from './generated/models/ListErc721Balance
|
|
|
95
122
|
export { ListErc721TransactionsResponse } from './generated/models/ListErc721TransactionsResponse.js';
|
|
96
123
|
export { ListEvmBlocksResponse } from './generated/models/ListEvmBlocksResponse.js';
|
|
97
124
|
export { ListHistoricalRewardsResponse } from './generated/models/ListHistoricalRewardsResponse.js';
|
|
125
|
+
export { ListIcmMessagesResponse } from './generated/models/ListIcmMessagesResponse.js';
|
|
98
126
|
export { ListInternalTransactionsResponse } from './generated/models/ListInternalTransactionsResponse.js';
|
|
127
|
+
export { ListL1ValidatorsResponse } from './generated/models/ListL1ValidatorsResponse.js';
|
|
99
128
|
export { ListNativeTransactionsResponse } from './generated/models/ListNativeTransactionsResponse.js';
|
|
100
129
|
export { ListNftTokens } from './generated/models/ListNftTokens.js';
|
|
101
130
|
export { ListPChainBalancesResponse } from './generated/models/ListPChainBalancesResponse.js';
|
|
@@ -114,6 +143,7 @@ export { ListWebhooksResponse } from './generated/models/ListWebhooksResponse.js
|
|
|
114
143
|
export { ListXChainBalancesResponse } from './generated/models/ListXChainBalancesResponse.js';
|
|
115
144
|
export { ListXChainTransactionsResponse } from './generated/models/ListXChainTransactionsResponse.js';
|
|
116
145
|
export { ListXChainVerticesResponse } from './generated/models/ListXChainVerticesResponse.js';
|
|
146
|
+
export { Log } from './generated/models/Log.js';
|
|
117
147
|
export { LogsFormat } from './generated/models/LogsFormat.js';
|
|
118
148
|
export { LogsFormatMetadata } from './generated/models/LogsFormatMetadata.js';
|
|
119
149
|
export { LogsResponseDTO } from './generated/models/LogsResponseDTO.js';
|
|
@@ -125,10 +155,11 @@ export { NativeTransaction } from './generated/models/NativeTransaction.js';
|
|
|
125
155
|
export { Network } from './generated/models/Network.js';
|
|
126
156
|
export { NetworkToken } from './generated/models/NetworkToken.js';
|
|
127
157
|
export { NetworkTokenDetails } from './generated/models/NetworkTokenDetails.js';
|
|
128
|
-
export {
|
|
158
|
+
export { NetworkTokenInfo } from './generated/models/NetworkTokenInfo.js';
|
|
129
159
|
export { NextPageToken } from './generated/models/NextPageToken.js';
|
|
130
160
|
export { NftTokenMetadataStatus } from './generated/models/NftTokenMetadataStatus.js';
|
|
131
161
|
export { NotFound } from './generated/models/NotFound.js';
|
|
162
|
+
export { NotificationsResponse } from './generated/models/NotificationsResponse.js';
|
|
132
163
|
export { OperationStatus } from './generated/models/OperationStatus.js';
|
|
133
164
|
export { OperationStatusCode } from './generated/models/OperationStatusCode.js';
|
|
134
165
|
export { OperationStatusResponse } from './generated/models/OperationStatusResponse.js';
|
|
@@ -140,19 +171,32 @@ export { PChainTransaction } from './generated/models/PChainTransaction.js';
|
|
|
140
171
|
export { PChainTransactionType } from './generated/models/PChainTransactionType.js';
|
|
141
172
|
export { PChainUtxo } from './generated/models/PChainUtxo.js';
|
|
142
173
|
export { PendingDelegatorDetails } from './generated/models/PendingDelegatorDetails.js';
|
|
174
|
+
export { PendingIcmMessage } from './generated/models/PendingIcmMessage.js';
|
|
143
175
|
export { PendingReward } from './generated/models/PendingReward.js';
|
|
144
176
|
export { PendingTeleporterMessage } from './generated/models/PendingTeleporterMessage.js';
|
|
145
177
|
export { PendingValidatorDetails } from './generated/models/PendingValidatorDetails.js';
|
|
178
|
+
export { PlatformAddressActivityKeyType } from './generated/models/PlatformAddressActivityKeyType.js';
|
|
146
179
|
export { PricingProviders } from './generated/models/PricingProviders.js';
|
|
147
|
-
export {
|
|
180
|
+
export { PrimaryNetworkAddressActivityEventType } from './generated/models/PrimaryNetworkAddressActivityEventType.js';
|
|
181
|
+
export { PrimaryNetworkAddressActivityMetadata } from './generated/models/PrimaryNetworkAddressActivityMetadata.js';
|
|
182
|
+
export { PrimaryNetworkAddressActivityRequest } from './generated/models/PrimaryNetworkAddressActivityRequest.js';
|
|
183
|
+
export { PrimaryNetworkAddressActivityResponse } from './generated/models/PrimaryNetworkAddressActivityResponse.js';
|
|
184
|
+
export { PrimaryNetworkAddressActivitySubEvents } from './generated/models/PrimaryNetworkAddressActivitySubEvents.js';
|
|
185
|
+
export { PrimaryNetworkAddressActivitySubEventType } from './generated/models/PrimaryNetworkAddressActivitySubEventType.js';
|
|
186
|
+
export { PrimaryNetworkAddressesBodyDto } from './generated/models/PrimaryNetworkAddressesBodyDto.js';
|
|
148
187
|
export { PrimaryNetworkAssetCap } from './generated/models/PrimaryNetworkAssetCap.js';
|
|
149
188
|
export { PrimaryNetworkAssetType } from './generated/models/PrimaryNetworkAssetType.js';
|
|
189
|
+
export { PrimaryNetworkBalanceThresholdFilter } from './generated/models/PrimaryNetworkBalanceThresholdFilter.js';
|
|
150
190
|
export { PrimaryNetworkBlock } from './generated/models/PrimaryNetworkBlock.js';
|
|
151
191
|
export { PrimaryNetworkChainInfo } from './generated/models/PrimaryNetworkChainInfo.js';
|
|
152
192
|
export { PrimaryNetworkChainName } from './generated/models/PrimaryNetworkChainName.js';
|
|
153
193
|
export { PrimaryNetworkOperationType } from './generated/models/PrimaryNetworkOperationType.js';
|
|
154
194
|
export { PrimaryNetworkOptions } from './generated/models/PrimaryNetworkOptions.js';
|
|
195
|
+
export { PrimaryNetworkRpcMetricsGroupByEnum } from './generated/models/PrimaryNetworkRpcMetricsGroupByEnum.js';
|
|
196
|
+
export { PrimaryNetworkRpcTimeIntervalGranularity } from './generated/models/PrimaryNetworkRpcTimeIntervalGranularity.js';
|
|
197
|
+
export { PrimaryNetworkRpcUsageMetricsResponseDTO } from './generated/models/PrimaryNetworkRpcUsageMetricsResponseDTO.js';
|
|
155
198
|
export { PrimaryNetworkTxType } from './generated/models/PrimaryNetworkTxType.js';
|
|
199
|
+
export { PrimaryNetworkType } from './generated/models/PrimaryNetworkType.js';
|
|
156
200
|
export { ProposerDetails } from './generated/models/ProposerDetails.js';
|
|
157
201
|
export { RemovedValidatorDetails } from './generated/models/RemovedValidatorDetails.js';
|
|
158
202
|
export { RequestType } from './generated/models/RequestType.js';
|
|
@@ -161,17 +205,23 @@ export { ResourceLinkType } from './generated/models/ResourceLinkType.js';
|
|
|
161
205
|
export { Rewards } from './generated/models/Rewards.js';
|
|
162
206
|
export { RewardType } from './generated/models/RewardType.js';
|
|
163
207
|
export { RichAddress } from './generated/models/RichAddress.js';
|
|
164
|
-
export {
|
|
165
|
-
export {
|
|
166
|
-
export {
|
|
167
|
-
export { RpcSuccessResponseDto } from './generated/models/RpcSuccessResponseDto.js';
|
|
208
|
+
export { RpcMetrics } from './generated/models/RpcMetrics.js';
|
|
209
|
+
export { RpcUsageMetricsGroupByEnum } from './generated/models/RpcUsageMetricsGroupByEnum.js';
|
|
210
|
+
export { RpcUsageMetricsValueAggregated } from './generated/models/RpcUsageMetricsValueAggregated.js';
|
|
168
211
|
export { ServiceUnavailable } from './generated/models/ServiceUnavailable.js';
|
|
169
212
|
export { SharedSecretsResponse } from './generated/models/SharedSecretsResponse.js';
|
|
213
|
+
export { SignatureAggregationResponse } from './generated/models/SignatureAggregationResponse.js';
|
|
214
|
+
export { SignatureAggregatorRequest } from './generated/models/SignatureAggregatorRequest.js';
|
|
170
215
|
export { SortByOption } from './generated/models/SortByOption.js';
|
|
171
216
|
export { SortOrder } from './generated/models/SortOrder.js';
|
|
172
217
|
export { StakingDistribution } from './generated/models/StakingDistribution.js';
|
|
173
218
|
export { Subnet } from './generated/models/Subnet.js';
|
|
174
219
|
export { SubnetOwnershipInfo } from './generated/models/SubnetOwnershipInfo.js';
|
|
220
|
+
export { SubnetRpcTimeIntervalGranularity } from './generated/models/SubnetRpcTimeIntervalGranularity.js';
|
|
221
|
+
export { SubnetRpcUsageMetricsResponseDTO } from './generated/models/SubnetRpcUsageMetricsResponseDTO.js';
|
|
222
|
+
export { SubscribeRequest } from './generated/models/SubscribeRequest.js';
|
|
223
|
+
export { SubscriptionsRequest } from './generated/models/SubscriptionsRequest.js';
|
|
224
|
+
export { SubscriptionsResponse } from './generated/models/SubscriptionsResponse.js';
|
|
175
225
|
export { TeleporterDestinationTransaction } from './generated/models/TeleporterDestinationTransaction.js';
|
|
176
226
|
export { TeleporterMessageInfo } from './generated/models/TeleporterMessageInfo.js';
|
|
177
227
|
export { TeleporterReceipt } from './generated/models/TeleporterReceipt.js';
|
|
@@ -179,14 +229,17 @@ export { TeleporterRewardDetails } from './generated/models/TeleporterRewardDeta
|
|
|
179
229
|
export { TeleporterSourceTransaction } from './generated/models/TeleporterSourceTransaction.js';
|
|
180
230
|
export { TimeIntervalGranularityExtended } from './generated/models/TimeIntervalGranularityExtended.js';
|
|
181
231
|
export { TooManyRequests } from './generated/models/TooManyRequests.js';
|
|
232
|
+
export { Transaction } from './generated/models/Transaction.js';
|
|
182
233
|
export { TransactionDetails } from './generated/models/TransactionDetails.js';
|
|
183
234
|
export { TransactionDirectionType } from './generated/models/TransactionDirectionType.js';
|
|
235
|
+
export { TransactionEvent } from './generated/models/TransactionEvent.js';
|
|
184
236
|
export { TransactionExportMetadata } from './generated/models/TransactionExportMetadata.js';
|
|
185
237
|
export { TransactionMethodType } from './generated/models/TransactionMethodType.js';
|
|
186
238
|
export { TransactionStatus } from './generated/models/TransactionStatus.js';
|
|
187
239
|
export { TransactionVertexDetail } from './generated/models/TransactionVertexDetail.js';
|
|
188
240
|
export { Unauthorized } from './generated/models/Unauthorized.js';
|
|
189
241
|
export { UnknownContract } from './generated/models/UnknownContract.js';
|
|
242
|
+
export { UnsubscribeRequest } from './generated/models/UnsubscribeRequest.js';
|
|
190
243
|
export { UpdateContractResponse } from './generated/models/UpdateContractResponse.js';
|
|
191
244
|
export { UpdateWebhookRequest } from './generated/models/UpdateWebhookRequest.js';
|
|
192
245
|
export { UsageMetricsGroupByEnum } from './generated/models/UsageMetricsGroupByEnum.js';
|
|
@@ -195,12 +248,20 @@ export { UsageMetricsValueDTO } from './generated/models/UsageMetricsValueDTO.js
|
|
|
195
248
|
export { UtilityAddresses } from './generated/models/UtilityAddresses.js';
|
|
196
249
|
export { Utxo } from './generated/models/Utxo.js';
|
|
197
250
|
export { UtxoCredential } from './generated/models/UtxoCredential.js';
|
|
251
|
+
export { UtxosSortByOption } from './generated/models/UtxosSortByOption.js';
|
|
198
252
|
export { UtxoType } from './generated/models/UtxoType.js';
|
|
199
253
|
export { ValidationStatusType } from './generated/models/ValidationStatusType.js';
|
|
254
|
+
export { ValidatorActivityEventType } from './generated/models/ValidatorActivityEventType.js';
|
|
255
|
+
export { ValidatorActivityKeyType } from './generated/models/ValidatorActivityKeyType.js';
|
|
256
|
+
export { ValidatorActivityMetadata } from './generated/models/ValidatorActivityMetadata.js';
|
|
257
|
+
export { ValidatorActivityRequest } from './generated/models/ValidatorActivityRequest.js';
|
|
258
|
+
export { ValidatorActivityResponse } from './generated/models/ValidatorActivityResponse.js';
|
|
259
|
+
export { ValidatorActivitySubEvents } from './generated/models/ValidatorActivitySubEvents.js';
|
|
200
260
|
export { ValidatorHealthDetails } from './generated/models/ValidatorHealthDetails.js';
|
|
201
261
|
export { ValidatorsDetails } from './generated/models/ValidatorsDetails.js';
|
|
202
262
|
export { VmName } from './generated/models/VmName.js';
|
|
203
|
-
export {
|
|
263
|
+
export { WebhookAddressActivityResponse } from './generated/models/WebhookAddressActivityResponse.js';
|
|
264
|
+
export { WebhookInternalTransaction } from './generated/models/WebhookInternalTransaction.js';
|
|
204
265
|
export { WebhookStatus } from './generated/models/WebhookStatus.js';
|
|
205
266
|
export { WebhookStatusType } from './generated/models/WebhookStatusType.js';
|
|
206
267
|
export { XChainAssetDetails } from './generated/models/XChainAssetDetails.js';
|
|
@@ -211,6 +272,7 @@ export { XChainNonLinearTransaction } from './generated/models/XChainNonLinearTr
|
|
|
211
272
|
export { XChainSharedAssetBalance } from './generated/models/XChainSharedAssetBalance.js';
|
|
212
273
|
export { XChainTransactionType } from './generated/models/XChainTransactionType.js';
|
|
213
274
|
export { XChainVertex } from './generated/models/XChainVertex.js';
|
|
275
|
+
export { AvaxSupplyService } from './generated/services/AvaxSupplyService.js';
|
|
214
276
|
export { DataApiUsageMetricsService } from './generated/services/DataApiUsageMetricsService.js';
|
|
215
277
|
export { DefaultService } from './generated/services/DefaultService.js';
|
|
216
278
|
export { EvmBalancesService } from './generated/services/EvmBalancesService.js';
|
|
@@ -219,7 +281,9 @@ export { EvmChainsService } from './generated/services/EvmChainsService.js';
|
|
|
219
281
|
export { EvmContractsService } from './generated/services/EvmContractsService.js';
|
|
220
282
|
export { EvmTransactionsService } from './generated/services/EvmTransactionsService.js';
|
|
221
283
|
export { HealthCheckService } from './generated/services/HealthCheckService.js';
|
|
284
|
+
export { InterchainMessagingService } from './generated/services/InterchainMessagingService.js';
|
|
222
285
|
export { NfTsService } from './generated/services/NfTsService.js';
|
|
286
|
+
export { NotificationsService } from './generated/services/NotificationsService.js';
|
|
223
287
|
export { OperationsService } from './generated/services/OperationsService.js';
|
|
224
288
|
export { PrimaryNetworkService } from './generated/services/PrimaryNetworkService.js';
|
|
225
289
|
export { PrimaryNetworkBalancesService } from './generated/services/PrimaryNetworkBalancesService.js';
|
|
@@ -228,6 +292,8 @@ export { PrimaryNetworkRewardsService } from './generated/services/PrimaryNetwor
|
|
|
228
292
|
export { PrimaryNetworkTransactionsService } from './generated/services/PrimaryNetworkTransactionsService.js';
|
|
229
293
|
export { PrimaryNetworkUtxOsService } from './generated/services/PrimaryNetworkUtxOsService.js';
|
|
230
294
|
export { PrimaryNetworkVerticesService } from './generated/services/PrimaryNetworkVerticesService.js';
|
|
231
|
-
export {
|
|
295
|
+
export { SignatureAggregatorService } from './generated/services/SignatureAggregatorService.js';
|
|
232
296
|
export { TeleporterService } from './generated/services/TeleporterService.js';
|
|
233
297
|
export { WebhooksService } from './generated/services/WebhooksService.js';
|
|
298
|
+
export { FetchHttpRequest } from './generated/core/FetchHttpRequest.js';
|
|
299
|
+
export { ApiRequestOptions } from './generated/core/ApiRequestOptions.js';
|
package/esm/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Glacier}from"./generated/Glacier.js";export{ApiError}from"./generated/core/ApiError.js";export{BaseHttpRequest}from"./generated/core/BaseHttpRequest.js";export{CancelError,CancelablePromise}from"./generated/core/CancelablePromise.js";export{OpenAPI}from"./generated/core/OpenAPI.js";export{ActiveDelegatorDetails}from"./generated/models/ActiveDelegatorDetails.js";export{ActiveValidatorDetails}from"./generated/models/ActiveValidatorDetails.js";export{ApiFeature}from"./generated/models/ApiFeature.js";export{BlockchainId}from"./generated/models/BlockchainId.js";export{BlockchainIds}from"./generated/models/BlockchainIds.js";export{CChainExportTransaction}from"./generated/models/CChainExportTransaction.js";export{CChainImportTransaction}from"./generated/models/CChainImportTransaction.js";export{ChainStatus}from"./generated/models/ChainStatus.js";export{CompletedDelegatorDetails}from"./generated/models/CompletedDelegatorDetails.js";export{CompletedValidatorDetails}from"./generated/models/CompletedValidatorDetails.js";export{ContractSubmissionErc1155}from"./generated/models/ContractSubmissionErc1155.js";export{ContractSubmissionErc20}from"./generated/models/ContractSubmissionErc20.js";export{ContractSubmissionErc721}from"./generated/models/ContractSubmissionErc721.js";export{ContractSubmissionUnknown}from"./generated/models/ContractSubmissionUnknown.js";export{CurrencyCode}from"./generated/models/CurrencyCode.js";export{DelegationStatusType}from"./generated/models/DelegationStatusType.js";export{DeliveredSourceNotIndexedTeleporterMessage}from"./generated/models/DeliveredSourceNotIndexedTeleporterMessage.js";export{DeliveredTeleporterMessage}from"./generated/models/DeliveredTeleporterMessage.js";export{Erc1155Contract}from"./generated/models/Erc1155Contract.js";export{Erc1155Token}from"./generated/models/Erc1155Token.js";export{Erc1155TokenBalance}from"./generated/models/Erc1155TokenBalance.js";export{Erc20Contract}from"./generated/models/Erc20Contract.js";export{Erc20Token}from"./generated/models/Erc20Token.js";export{Erc20TokenBalance}from"./generated/models/Erc20TokenBalance.js";export{Erc721Contract}from"./generated/models/Erc721Contract.js";export{Erc721Token}from"./generated/models/Erc721Token.js";export{Erc721TokenBalance}from"./generated/models/Erc721TokenBalance.js";export{
|
|
1
|
+
export{Glacier}from"./generated/Glacier.js";export{ApiError}from"./generated/core/ApiError.js";export{BaseHttpRequest}from"./generated/core/BaseHttpRequest.js";export{CancelError,CancelablePromise}from"./generated/core/CancelablePromise.js";export{OpenAPI}from"./generated/core/OpenAPI.js";export{ActiveDelegatorDetails}from"./generated/models/ActiveDelegatorDetails.js";export{ActiveValidatorDetails}from"./generated/models/ActiveValidatorDetails.js";export{AddressActivityEventType}from"./generated/models/AddressActivityEventType.js";export{ApiFeature}from"./generated/models/ApiFeature.js";export{BlockchainId}from"./generated/models/BlockchainId.js";export{BlockchainIds}from"./generated/models/BlockchainIds.js";export{CChainExportTransaction}from"./generated/models/CChainExportTransaction.js";export{CChainImportTransaction}from"./generated/models/CChainImportTransaction.js";export{ChainStatus}from"./generated/models/ChainStatus.js";export{CommonBalanceType}from"./generated/models/CommonBalanceType.js";export{CompletedDelegatorDetails}from"./generated/models/CompletedDelegatorDetails.js";export{CompletedValidatorDetails}from"./generated/models/CompletedValidatorDetails.js";export{ContractSubmissionErc1155}from"./generated/models/ContractSubmissionErc1155.js";export{ContractSubmissionErc20}from"./generated/models/ContractSubmissionErc20.js";export{ContractSubmissionErc721}from"./generated/models/ContractSubmissionErc721.js";export{ContractSubmissionUnknown}from"./generated/models/ContractSubmissionUnknown.js";export{CurrencyCode}from"./generated/models/CurrencyCode.js";export{DelegationStatusType}from"./generated/models/DelegationStatusType.js";export{DeliveredIcmMessage}from"./generated/models/DeliveredIcmMessage.js";export{DeliveredSourceNotIndexedIcmMessage}from"./generated/models/DeliveredSourceNotIndexedIcmMessage.js";export{DeliveredSourceNotIndexedTeleporterMessage}from"./generated/models/DeliveredSourceNotIndexedTeleporterMessage.js";export{DeliveredTeleporterMessage}from"./generated/models/DeliveredTeleporterMessage.js";export{Erc1155Contract}from"./generated/models/Erc1155Contract.js";export{Erc1155Token}from"./generated/models/Erc1155Token.js";export{Erc1155TokenBalance}from"./generated/models/Erc1155TokenBalance.js";export{Erc20Contract}from"./generated/models/Erc20Contract.js";export{Erc20Token}from"./generated/models/Erc20Token.js";export{Erc20TokenBalance}from"./generated/models/Erc20TokenBalance.js";export{Erc721Contract}from"./generated/models/Erc721Contract.js";export{Erc721Token}from"./generated/models/Erc721Token.js";export{Erc721TokenBalance}from"./generated/models/Erc721TokenBalance.js";export{EVMAddressActivityRequest}from"./generated/models/EVMAddressActivityRequest.js";export{EVMOperationType}from"./generated/models/EVMOperationType.js";export{HealthCheckResultDto}from"./generated/models/HealthCheckResultDto.js";export{HealthIndicatorResultDto}from"./generated/models/HealthIndicatorResultDto.js";export{IcmRewardDetails}from"./generated/models/IcmRewardDetails.js";export{InternalTransactionOpCall}from"./generated/models/InternalTransactionOpCall.js";export{Network}from"./generated/models/Network.js";export{NftTokenMetadataStatus}from"./generated/models/NftTokenMetadataStatus.js";export{OperationStatus}from"./generated/models/OperationStatus.js";export{OperationStatusCode}from"./generated/models/OperationStatusCode.js";export{OperationType}from"./generated/models/OperationType.js";export{PChainId}from"./generated/models/PChainId.js";export{PChainTransactionType}from"./generated/models/PChainTransactionType.js";export{PendingDelegatorDetails}from"./generated/models/PendingDelegatorDetails.js";export{PendingIcmMessage}from"./generated/models/PendingIcmMessage.js";export{PendingTeleporterMessage}from"./generated/models/PendingTeleporterMessage.js";export{PendingValidatorDetails}from"./generated/models/PendingValidatorDetails.js";export{PlatformAddressActivityKeyType}from"./generated/models/PlatformAddressActivityKeyType.js";export{PrimaryNetworkAddressActivityEventType}from"./generated/models/PrimaryNetworkAddressActivityEventType.js";export{PrimaryNetworkAddressActivityRequest}from"./generated/models/PrimaryNetworkAddressActivityRequest.js";export{PrimaryNetworkAddressActivitySubEventType}from"./generated/models/PrimaryNetworkAddressActivitySubEventType.js";export{PrimaryNetworkAssetCap}from"./generated/models/PrimaryNetworkAssetCap.js";export{PrimaryNetworkAssetType}from"./generated/models/PrimaryNetworkAssetType.js";export{PrimaryNetworkChainName}from"./generated/models/PrimaryNetworkChainName.js";export{PrimaryNetworkOperationType}from"./generated/models/PrimaryNetworkOperationType.js";export{PrimaryNetworkRpcMetricsGroupByEnum}from"./generated/models/PrimaryNetworkRpcMetricsGroupByEnum.js";export{PrimaryNetworkRpcTimeIntervalGranularity}from"./generated/models/PrimaryNetworkRpcTimeIntervalGranularity.js";export{PrimaryNetworkRpcUsageMetricsResponseDTO}from"./generated/models/PrimaryNetworkRpcUsageMetricsResponseDTO.js";export{PrimaryNetworkTxType}from"./generated/models/PrimaryNetworkTxType.js";export{PrimaryNetworkType}from"./generated/models/PrimaryNetworkType.js";export{RemovedValidatorDetails}from"./generated/models/RemovedValidatorDetails.js";export{RequestType}from"./generated/models/RequestType.js";export{ResourceLinkType}from"./generated/models/ResourceLinkType.js";export{RewardType}from"./generated/models/RewardType.js";export{RpcUsageMetricsGroupByEnum}from"./generated/models/RpcUsageMetricsGroupByEnum.js";export{RpcUsageMetricsValueAggregated}from"./generated/models/RpcUsageMetricsValueAggregated.js";export{SortByOption}from"./generated/models/SortByOption.js";export{SortOrder}from"./generated/models/SortOrder.js";export{SubnetRpcTimeIntervalGranularity}from"./generated/models/SubnetRpcTimeIntervalGranularity.js";export{TeleporterRewardDetails}from"./generated/models/TeleporterRewardDetails.js";export{TimeIntervalGranularityExtended}from"./generated/models/TimeIntervalGranularityExtended.js";export{TransactionDirectionType}from"./generated/models/TransactionDirectionType.js";export{TransactionMethodType}from"./generated/models/TransactionMethodType.js";export{TransactionStatus}from"./generated/models/TransactionStatus.js";export{UnknownContract}from"./generated/models/UnknownContract.js";export{UsageMetricsGroupByEnum}from"./generated/models/UsageMetricsGroupByEnum.js";export{UsageMetricsValueDTO}from"./generated/models/UsageMetricsValueDTO.js";export{UtxosSortByOption}from"./generated/models/UtxosSortByOption.js";export{UtxoType}from"./generated/models/UtxoType.js";export{ValidationStatusType}from"./generated/models/ValidationStatusType.js";export{ValidatorActivityEventType}from"./generated/models/ValidatorActivityEventType.js";export{ValidatorActivityKeyType}from"./generated/models/ValidatorActivityKeyType.js";export{ValidatorActivityRequest}from"./generated/models/ValidatorActivityRequest.js";export{VmName}from"./generated/models/VmName.js";export{WebhookAddressActivityResponse}from"./generated/models/WebhookAddressActivityResponse.js";export{WebhookStatus}from"./generated/models/WebhookStatus.js";export{WebhookStatusType}from"./generated/models/WebhookStatusType.js";export{XChainId}from"./generated/models/XChainId.js";export{XChainLinearTransaction}from"./generated/models/XChainLinearTransaction.js";export{XChainNonLinearTransaction}from"./generated/models/XChainNonLinearTransaction.js";export{XChainTransactionType}from"./generated/models/XChainTransactionType.js";export{AvaxSupplyService}from"./generated/services/AvaxSupplyService.js";export{DataApiUsageMetricsService}from"./generated/services/DataApiUsageMetricsService.js";export{DefaultService}from"./generated/services/DefaultService.js";export{EvmBalancesService}from"./generated/services/EvmBalancesService.js";export{EvmBlocksService}from"./generated/services/EvmBlocksService.js";export{EvmChainsService}from"./generated/services/EvmChainsService.js";export{EvmContractsService}from"./generated/services/EvmContractsService.js";export{EvmTransactionsService}from"./generated/services/EvmTransactionsService.js";export{HealthCheckService}from"./generated/services/HealthCheckService.js";export{InterchainMessagingService}from"./generated/services/InterchainMessagingService.js";export{NfTsService}from"./generated/services/NfTsService.js";export{NotificationsService}from"./generated/services/NotificationsService.js";export{OperationsService}from"./generated/services/OperationsService.js";export{PrimaryNetworkService}from"./generated/services/PrimaryNetworkService.js";export{PrimaryNetworkBalancesService}from"./generated/services/PrimaryNetworkBalancesService.js";export{PrimaryNetworkBlocksService}from"./generated/services/PrimaryNetworkBlocksService.js";export{PrimaryNetworkRewardsService}from"./generated/services/PrimaryNetworkRewardsService.js";export{PrimaryNetworkTransactionsService}from"./generated/services/PrimaryNetworkTransactionsService.js";export{PrimaryNetworkUtxOsService}from"./generated/services/PrimaryNetworkUtxOsService.js";export{PrimaryNetworkVerticesService}from"./generated/services/PrimaryNetworkVerticesService.js";export{SignatureAggregatorService}from"./generated/services/SignatureAggregatorService.js";export{TeleporterService}from"./generated/services/TeleporterService.js";export{WebhooksService}from"./generated/services/WebhooksService.js";export{FetchHttpRequest}from"./generated/core/FetchHttpRequest.js";
|
package/package.json
CHANGED
|
@@ -1,13 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@avalabs/glacier-sdk",
|
|
3
|
-
"version": "3.1.0-canary.
|
|
3
|
+
"version": "3.1.0-canary.b29ab7b.0+b29ab7b",
|
|
4
4
|
"description": "sdk for interacting with glacier-api",
|
|
5
5
|
"author": "Oliver Wang <oliver.wang@avalabs.org>",
|
|
6
6
|
"homepage": "https://github.com/ava-labs/avalanche-sdks#readme",
|
|
7
7
|
"license": "ISC",
|
|
8
|
-
"
|
|
8
|
+
"type": "module",
|
|
9
|
+
"main": "dist/index.cjs",
|
|
9
10
|
"module": "esm/index.js",
|
|
10
11
|
"typings": "dist/index.d.ts",
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"types": "./esm/index.d.ts",
|
|
15
|
+
"import": "./esm/index.js",
|
|
16
|
+
"require": "./dist/index.cjs",
|
|
17
|
+
"default": "./esm/index.js"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
11
20
|
"files": [
|
|
12
21
|
"dist",
|
|
13
22
|
"esm"
|
|
@@ -24,10 +33,10 @@
|
|
|
24
33
|
"codegen": "node ./src/generateApi.js",
|
|
25
34
|
"start": "rollup -c --watch",
|
|
26
35
|
"build": "yarn codegen && rollup -c",
|
|
27
|
-
"lint": "eslint --fix -c ./.eslintrc.
|
|
36
|
+
"lint": "eslint --fix -c ./.eslintrc.cjs \"src/**/*.ts*\""
|
|
28
37
|
},
|
|
29
38
|
"bugs": {
|
|
30
39
|
"url": "https://github.com/ava-labs/avalanche-sdks/issues"
|
|
31
40
|
},
|
|
32
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "b29ab7baa3f94055296390125c18250d61de47b8"
|
|
33
42
|
}
|