@avalabs/glacier-sdk 3.1.0-canary.cd6be5c.0 → 3.1.0-canary.d6c7924.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.d.ts +1 -104
- package/dist/index.js +1 -1
- package/esm/generated/Glacier.d.ts +0 -2
- package/esm/generated/Glacier.js +1 -1
- package/esm/index.d.ts +0 -7
- package/esm/index.js +1 -1
- package/package.json +2 -2
- package/esm/generated/models/AccessRequest.d.ts +0 -12
- package/esm/generated/models/NotificationsResponse.d.ts +0 -5
- package/esm/generated/models/SubscribeRequest.d.ts +0 -16
- package/esm/generated/models/SubscriptionsRequest.d.ts +0 -8
- package/esm/generated/models/SubscriptionsResponse.d.ts +0 -14
- package/esm/generated/models/UnsubscribeRequest.d.ts +0 -12
- package/esm/generated/services/NotificationsService.d.ts +0 -51
- package/esm/generated/services/NotificationsService.js +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -2679,108 +2679,6 @@ declare class NfTsService {
|
|
|
2679
2679
|
}): CancelablePromise<(Erc721Token | Erc1155Token)>;
|
|
2680
2680
|
}
|
|
2681
2681
|
|
|
2682
|
-
type AccessRequest = {
|
|
2683
|
-
/**
|
|
2684
|
-
* The email address to send the access token to
|
|
2685
|
-
*/
|
|
2686
|
-
email: string;
|
|
2687
|
-
/**
|
|
2688
|
-
* The captcha to verify the user
|
|
2689
|
-
*/
|
|
2690
|
-
captcha: string;
|
|
2691
|
-
};
|
|
2692
|
-
|
|
2693
|
-
type NotificationsResponse = {
|
|
2694
|
-
message: string;
|
|
2695
|
-
};
|
|
2696
|
-
|
|
2697
|
-
type SubscribeRequest = {
|
|
2698
|
-
/**
|
|
2699
|
-
* The access token to use for authentication
|
|
2700
|
-
*/
|
|
2701
|
-
accessToken: string;
|
|
2702
|
-
/**
|
|
2703
|
-
* The node ID to subscribe to
|
|
2704
|
-
*/
|
|
2705
|
-
nodeId: string;
|
|
2706
|
-
/**
|
|
2707
|
-
* The notification types to subscribe to. If not provided, all notification types will be subscribed to
|
|
2708
|
-
*/
|
|
2709
|
-
notifications?: Array<'connectivity' | 'ports' | 'version'>;
|
|
2710
|
-
};
|
|
2711
|
-
|
|
2712
|
-
type SubscriptionsRequest = {
|
|
2713
|
-
/**
|
|
2714
|
-
* The access token to use for authentication
|
|
2715
|
-
*/
|
|
2716
|
-
accessToken: string;
|
|
2717
|
-
};
|
|
2718
|
-
|
|
2719
|
-
type SubscriptionsResponse = {
|
|
2720
|
-
/**
|
|
2721
|
-
* The email address of the user
|
|
2722
|
-
*/
|
|
2723
|
-
email: string;
|
|
2724
|
-
/**
|
|
2725
|
-
* The subscriptions of the user
|
|
2726
|
-
*/
|
|
2727
|
-
subscriptions: Record<string, {
|
|
2728
|
-
notifications?: Array<'connectivity' | 'ports' | 'version'>;
|
|
2729
|
-
}>;
|
|
2730
|
-
};
|
|
2731
|
-
|
|
2732
|
-
type UnsubscribeRequest = {
|
|
2733
|
-
/**
|
|
2734
|
-
* The access token to use for authentication
|
|
2735
|
-
*/
|
|
2736
|
-
accessToken: string;
|
|
2737
|
-
/**
|
|
2738
|
-
* The node ID to subscribe to
|
|
2739
|
-
*/
|
|
2740
|
-
nodeId: string;
|
|
2741
|
-
};
|
|
2742
|
-
|
|
2743
|
-
declare class NotificationsService {
|
|
2744
|
-
readonly httpRequest: BaseHttpRequest;
|
|
2745
|
-
constructor(httpRequest: BaseHttpRequest);
|
|
2746
|
-
/**
|
|
2747
|
-
* Access Notifications
|
|
2748
|
-
* Access notifications.
|
|
2749
|
-
* @returns NotificationsResponse Successful response
|
|
2750
|
-
* @throws ApiError
|
|
2751
|
-
*/
|
|
2752
|
-
access({ requestBody, }: {
|
|
2753
|
-
requestBody: AccessRequest;
|
|
2754
|
-
}): CancelablePromise<NotificationsResponse>;
|
|
2755
|
-
/**
|
|
2756
|
-
* Subscribe to Notifications
|
|
2757
|
-
* Subscribe to receive notifications.
|
|
2758
|
-
* @returns NotificationsResponse Successful response
|
|
2759
|
-
* @throws ApiError
|
|
2760
|
-
*/
|
|
2761
|
-
subscribe({ requestBody, }: {
|
|
2762
|
-
requestBody: SubscribeRequest;
|
|
2763
|
-
}): CancelablePromise<NotificationsResponse>;
|
|
2764
|
-
/**
|
|
2765
|
-
* Unsubscribe from Notifications
|
|
2766
|
-
* Unsubscribe from receiving notifications.
|
|
2767
|
-
* @returns NotificationsResponse Successful response
|
|
2768
|
-
* @throws ApiError
|
|
2769
|
-
*/
|
|
2770
|
-
unsubscribe({ requestBody, }: {
|
|
2771
|
-
requestBody: UnsubscribeRequest;
|
|
2772
|
-
}): CancelablePromise<NotificationsResponse>;
|
|
2773
|
-
/**
|
|
2774
|
-
* Get Subscriptions
|
|
2775
|
-
* Get subscriptions.
|
|
2776
|
-
* @returns SubscriptionsResponse Successful response
|
|
2777
|
-
* @throws ApiError
|
|
2778
|
-
*/
|
|
2779
|
-
subscriptions({ requestBody, }: {
|
|
2780
|
-
requestBody: SubscriptionsRequest;
|
|
2781
|
-
}): CancelablePromise<SubscriptionsResponse>;
|
|
2782
|
-
}
|
|
2783
|
-
|
|
2784
2682
|
type EvmNetworkOptions = {
|
|
2785
2683
|
addresses: Array<string>;
|
|
2786
2684
|
includeChains: Array<string>;
|
|
@@ -5695,7 +5593,6 @@ declare class Glacier {
|
|
|
5695
5593
|
readonly evmTransactions: EvmTransactionsService;
|
|
5696
5594
|
readonly healthCheck: HealthCheckService;
|
|
5697
5595
|
readonly nfTs: NfTsService;
|
|
5698
|
-
readonly notifications: NotificationsService;
|
|
5699
5596
|
readonly operations: OperationsService;
|
|
5700
5597
|
readonly primaryNetwork: PrimaryNetworkService;
|
|
5701
5598
|
readonly primaryNetworkBalances: PrimaryNetworkBalancesService;
|
|
@@ -5859,4 +5756,4 @@ type Unauthorized = {
|
|
|
5859
5756
|
error: string;
|
|
5860
5757
|
};
|
|
5861
5758
|
|
|
5862
|
-
export {
|
|
5759
|
+
export { ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiError, ApiFeature, AssetAmount, AssetWithPriceInfo, BadGateway, BadRequest, BalanceOwner, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlockchainInfo, BlsCredentials, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CompletedDelegatorDetails, CompletedValidatorDetails, ContractDeploymentDetails, ContractSubmissionBody, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, CreateWebhookRequest, CurrencyCode, DataApiUsageMetricsService, DataListChainsResponse, DefaultService, DelegationStatusType, DelegatorsDetails, DeliveredSourceNotIndexedTeleporterMessage, DeliveredTeleporterMessage, EVMInput, EVMOperationType, EVMOutput, Erc1155Contract, Erc1155Token, Erc1155TokenBalance, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Contract, Erc20Token, Erc20TokenBalance, Erc20Transfer, Erc20TransferDetails, Erc721Contract, Erc721Token, Erc721TokenBalance, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, EventType, EvmBalancesService, EvmBlock, EvmBlocksService, EvmChainsService, EvmContractsService, EvmNetworkOptions, EvmTransactionsService, Forbidden, FullNativeTransactionDetails, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, Glacier, HealthCheckService, HistoricalReward, ImageAsset, InternalServerError, InternalTransaction, InternalTransactionDetails, InternalTransactionOpCall, L1ValidatorDetailsFull, L1ValidatorDetailsTransaction, L1ValidatorManagerDetails, ListAddressChainsResponse, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListInternalTransactionsResponse, ListL1ValidatorsResponse, ListNativeTransactionsResponse, ListNftTokens, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTeleporterMessagesResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhookAddressesResponse, ListWebhooksResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, LogsFormat, LogsFormatMetadata, LogsResponseDTO, Method, Metric, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NextPageToken, NfTsService, NftTokenMetadataStatus, NotFound, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingReward, PendingTeleporterMessage, PendingValidatorDetails, PricingProviders, PrimaryNetworkAssetCap, PrimaryNetworkAssetType, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOperationType, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkRpcMetricsGroupByEnum, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, RemovedValidatorDetails, RequestType, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, RpcMetrics, RpcUsageMetricsGroupByEnum, RpcUsageMetricsValueAggregated, ServiceUnavailable, SharedSecretsResponse, SignatureAggregationResponse, SignatureAggregatorRequest, SignatureAggregatorService, SortByOption, SortOrder, StakingDistribution, Subnet, SubnetOwnershipInfo, SubnetRpcTimeIntervalGranularity, SubnetRpcUsageMetricsResponseDTO, TeleporterDestinationTransaction, TeleporterMessageInfo, TeleporterReceipt, TeleporterRewardDetails, TeleporterService, TeleporterSourceTransaction, TimeIntervalGranularityExtended, TooManyRequests, TransactionDetails, TransactionDirectionType, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, Unauthorized, UnknownContract, UpdateContractResponse, UpdateWebhookRequest, UsageMetricsGroupByEnum, UsageMetricsResponseDTO, UsageMetricsValueDTO, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorHealthDetails, ValidatorsDetails, VmName, WebhookResponse, WebhookStatus, WebhookStatusType, WebhooksService, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainTransactionType, XChainVertex };
|