@avalabs/glacier-sdk 3.1.0-canary.caf0199.0 → 3.1.0-canary.d1a9d4a.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 +1177 -148
- package/dist/index.js +1 -1
- package/esm/generated/Glacier.d.ts +4 -0
- package/esm/generated/Glacier.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/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/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/{CreateWebhookRequest.d.ts → EVMAddressActivityRequest.d.ts} +11 -5
- package/esm/generated/models/EVMAddressActivityRequest.js +1 -0
- package/esm/generated/models/{WebhookResponse.d.ts → EVMAddressActivityResponse.d.ts} +8 -8
- package/esm/generated/models/Erc20TokenBalance.d.ts +3 -3
- package/esm/generated/models/EventType.d.ts +3 -1
- package/esm/generated/models/EventType.js +1 -1
- package/esm/generated/models/Geolocation.d.ts +24 -0
- 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/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/InternalTransaction.d.ts +15 -16
- package/esm/generated/models/L1ValidatorDetailsFull.d.ts +4 -0
- package/esm/generated/models/L1ValidatorDetailsTransaction.d.ts +5 -1
- package/esm/generated/models/ListIcmMessagesResponse.d.ts +12 -0
- package/esm/generated/models/ListWebhooksResponse.d.ts +3 -2
- package/esm/generated/models/Log.d.ts +40 -0
- package/esm/generated/models/Network.d.ts +1 -2
- package/esm/generated/models/Network.js +1 -1
- package/esm/generated/models/NetworkTokenInfo.d.ts +20 -0
- package/esm/generated/models/NotificationsResponse.d.ts +5 -0
- package/esm/generated/models/OperationStatusResponse.d.ts +1 -1
- package/esm/generated/models/PChainTransaction.d.ts +20 -8
- package/esm/generated/models/PChainUtxo.d.ts +27 -0
- 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/PendingValidatorDetails.d.ts +3 -0
- package/esm/generated/models/PlatformActivityKeyType.d.ts +10 -0
- package/esm/generated/models/PlatformActivityKeyType.js +1 -0
- package/esm/generated/models/PlatformActivityMetadata.d.ts +37 -0
- package/esm/generated/models/PlatformActivityRequest.d.ts +31 -0
- package/esm/generated/models/PlatformActivityRequest.js +1 -0
- package/esm/generated/models/PlatformActivityResponse.d.ts +17 -0
- package/esm/generated/models/PlatformActivitySubEvents.d.ts +11 -0
- package/esm/generated/models/PlatformAddressActivitySubEventType.d.ts +10 -0
- package/esm/generated/models/PlatformAddressActivitySubEventType.js +1 -0
- package/esm/generated/models/PlatformBalanceThresholdFilter.d.ts +11 -0
- package/esm/generated/models/PrimaryNetworkRpcMetricsGroupByEnum.d.ts +1 -0
- package/esm/generated/models/PrimaryNetworkRpcMetricsGroupByEnum.js +1 -1
- 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/PrimaryNetworkType.d.ts +6 -0
- package/esm/generated/models/PrimaryNetworkType.js +1 -0
- package/esm/generated/models/RemovedValidatorDetails.d.ts +9 -0
- package/esm/generated/models/RpcUsageMetricsValueAggregated.d.ts +4 -0
- package/esm/generated/models/RpcUsageMetricsValueAggregated.js +1 -1
- package/esm/generated/models/StakingDistribution.d.ts +9 -0
- package/esm/generated/models/Subnet.d.ts +2 -2
- 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/Transaction.d.ts +121 -0
- package/esm/generated/models/TransactionEvent.d.ts +15 -0
- package/esm/generated/models/UnsubscribeRequest.d.ts +12 -0
- package/esm/generated/models/UtxoType.d.ts +3 -0
- package/esm/generated/models/ValidatorsDetails.d.ts +6 -0
- package/esm/generated/models/WebhookAddressActivityResponse.d.ts +30 -0
- package/esm/generated/models/WebhookAddressActivityResponse.js +1 -0
- package/esm/generated/services/DataApiUsageMetricsService.d.ts +55 -6
- package/esm/generated/services/DataApiUsageMetricsService.js +1 -1
- package/esm/generated/services/EvmBalancesService.d.ts +4 -4
- package/esm/generated/services/EvmChainsService.d.ts +2 -2
- package/esm/generated/services/HealthCheckService.d.ts +4 -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/NotificationsService.d.ts +51 -0
- package/esm/generated/services/NotificationsService.js +1 -0
- package/esm/generated/services/PrimaryNetworkService.d.ts +18 -1
- package/esm/generated/services/PrimaryNetworkService.js +1 -1
- package/esm/generated/services/SignatureAggregatorService.d.ts +16 -0
- package/esm/generated/services/SignatureAggregatorService.js +1 -1
- package/esm/generated/services/TeleporterService.d.ts +12 -6
- package/esm/generated/services/WebhooksService.d.ts +26 -24
- package/esm/generated/services/WebhooksService.js +1 -1
- package/esm/index.d.ts +40 -3
- package/esm/index.js +1 -1
- package/package.json +2 -2
- package/esm/generated/models/BlockchainInfo.d.ts +0 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
class e{constructor(e){this.httpRequest=e}getAssetDetails({blockchainId:e,network:r,assetId:t}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/assets/{assetId}",path:{blockchainId:e,network:r,assetId: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."}})}getChainIdsForAddresses({addresses:e,network:r}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/addresses:listChainIds",path:{network:r},query:{addresses: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."}})}getNetworkDetails({network:e}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}",path:{network: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."}})}listBlockchains({network:e,pageToken:r,pageSize:t=10,sortOrder:n}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains",path:{network:e},query:{pageToken:r,pageSize:t,sortOrder:n},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."}})}listSubnets({network:e,pageToken:r,pageSize:t=10,sortOrder:n}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/subnets",path:{network:e},query:{pageToken:r,pageSize:t,sortOrder:n},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."}})}getSubnetById({network:e,subnetId:r}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/subnets/{subnetId}",path:{network:e,subnetId:r},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."}})}listValidators({network:e,pageToken:r,pageSize:t=10,nodeIds:n,sortBy:s,sortOrder:a,validationStatus:i,minDelegationCapacity:o,maxDelegationCapacity:h,minTimeRemaining:d,maxTimeRemaining:u,minFeePercentage:l,maxFeePercentage:c,minUptimePerformance:p,maxUptimePerformance:m,subnetId:v}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/validators",path:{network:e},query:{pageToken:r,pageSize:t,nodeIds:n,sortBy:s,sortOrder:a,validationStatus:i,minDelegationCapacity:o,maxDelegationCapacity:h,minTimeRemaining:d,maxTimeRemaining:u,minFeePercentage:l,maxFeePercentage:c,minUptimePerformance:p,maxUptimePerformance:m,subnetId:v},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."}})}getSingleValidatorDetails({network:e,nodeId:r,pageToken:t,pageSize:n=10,validationStatus:s,sortOrder:a}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/validators/{nodeId}",path:{network:e,nodeId:r},query:{pageToken:t,pageSize:n,validationStatus:s,sortOrder:a},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."}})}listDelegators({network:e,pageToken:r,pageSize:t=10,rewardAddresses:n,sortOrder:s,delegationStatus:a,nodeIds:i}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/delegators",path:{network:e},query:{pageToken:r,pageSize:t,rewardAddresses:n,sortOrder:s,delegationStatus:a,nodeIds:i},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."}})}listL1Validators({network:e,pageToken:r,pageSize:t=10,l1ValidationId:n,includeInactiveL1Validators:s,nodeId:a,subnetId:i}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/l1Validators",path:{network:e},query:{pageToken:r,pageSize:t,l1ValidationId:n,includeInactiveL1Validators:s,nodeId:a,subnetId:i},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 PrimaryNetworkService};
|
|
1
|
+
class e{constructor(e){this.httpRequest=e}getAssetDetails({blockchainId:e,network:r,assetId:t}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}/assets/{assetId}",path:{blockchainId:e,network:r,assetId: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."}})}getChainIdsForAddresses({addresses:e,network:r}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/addresses:listChainIds",path:{network:r},query:{addresses: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."}})}getNetworkDetails({network:e}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}",path:{network: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."}})}listBlockchains({network:e,pageToken:r,pageSize:t=10,sortOrder:n}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains",path:{network:e},query:{pageToken:r,pageSize:t,sortOrder:n},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."}})}getBlockchainById({blockchainId:e,network:r}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/blockchains/{blockchainId}",path:{blockchainId:e,network:r},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."}})}listSubnets({network:e,pageToken:r,pageSize:t=10,sortOrder:n}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/subnets",path:{network:e},query:{pageToken:r,pageSize:t,sortOrder:n},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."}})}getSubnetById({network:e,subnetId:r}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/subnets/{subnetId}",path:{network:e,subnetId:r},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."}})}listValidators({network:e,pageToken:r,pageSize:t=10,nodeIds:n,sortBy:s,sortOrder:a,validationStatus:i,minDelegationCapacity:o,maxDelegationCapacity:h,minTimeRemaining:d,maxTimeRemaining:u,minFeePercentage:c,maxFeePercentage:l,minUptimePerformance:p,maxUptimePerformance:m,subnetId:v}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/validators",path:{network:e},query:{pageToken:r,pageSize:t,nodeIds:n,sortBy:s,sortOrder:a,validationStatus:i,minDelegationCapacity:o,maxDelegationCapacity:h,minTimeRemaining:d,maxTimeRemaining:u,minFeePercentage:c,maxFeePercentage:l,minUptimePerformance:p,maxUptimePerformance:m,subnetId:v},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."}})}getSingleValidatorDetails({network:e,nodeId:r,pageToken:t,pageSize:n=10,validationStatus:s,sortOrder:a}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/validators/{nodeId}",path:{network:e,nodeId:r},query:{pageToken:t,pageSize:n,validationStatus:s,sortOrder:a},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."}})}listDelegators({network:e,pageToken:r,pageSize:t=10,rewardAddresses:n,sortOrder:s,delegationStatus:a,nodeIds:i}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/delegators",path:{network:e},query:{pageToken:r,pageSize:t,rewardAddresses:n,sortOrder:s,delegationStatus:a,nodeIds:i},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."}})}listL1Validators({network:e,pageToken:r,pageSize:t=10,l1ValidationId:n,includeInactiveL1Validators:s,nodeId:a,subnetId:i}){return this.httpRequest.request({method:"GET",url:"/v1/networks/{network}/l1Validators",path:{network:e},query:{pageToken:r,pageSize:t,l1ValidationId:n,includeInactiveL1Validators:s,nodeId:a,subnetId:i},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 PrimaryNetworkService};
|
|
@@ -20,6 +20,22 @@ declare class SignatureAggregatorService {
|
|
|
20
20
|
network: Network;
|
|
21
21
|
requestBody: SignatureAggregatorRequest;
|
|
22
22
|
}): CancelablePromise<SignatureAggregationResponse>;
|
|
23
|
+
/**
|
|
24
|
+
* Get Aggregated Signatures
|
|
25
|
+
* Get Aggregated Signatures for a P-Chain L1 related Warp Message.
|
|
26
|
+
* @returns SignatureAggregationResponse Successful response
|
|
27
|
+
* @throws ApiError
|
|
28
|
+
*/
|
|
29
|
+
getAggregatedSignatures({ network, txHash, }: {
|
|
30
|
+
/**
|
|
31
|
+
* Either mainnet or testnet/fuji.
|
|
32
|
+
*/
|
|
33
|
+
network: Network;
|
|
34
|
+
/**
|
|
35
|
+
* A primary network (P or X chain) transaction hash.
|
|
36
|
+
*/
|
|
37
|
+
txHash: string;
|
|
38
|
+
}): CancelablePromise<SignatureAggregationResponse>;
|
|
23
39
|
}
|
|
24
40
|
|
|
25
41
|
export { SignatureAggregatorService };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
class e{constructor(e){this.httpRequest=e}aggregateSignatures({network:e,requestBody:r}){return this.httpRequest.request({method:"POST",url:"/v1/signatureAggregator/{network}/aggregateSignatures",path:{network: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."}})}}export{e as SignatureAggregatorService};
|
|
1
|
+
class e{constructor(e){this.httpRequest=e}aggregateSignatures({network:e,requestBody:r}){return this.httpRequest.request({method:"POST",url:"/v1/signatureAggregator/{network}/aggregateSignatures",path:{network: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."}})}getAggregatedSignatures({network:e,txHash:r}){return this.httpRequest.request({method:"GET",url:"/v1/signatureAggregator/{network}/aggregateSignatures/{txHash}",path:{network:e,txHash:r},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 SignatureAggregatorService};
|
|
@@ -10,8 +10,10 @@ declare class TeleporterService {
|
|
|
10
10
|
readonly httpRequest: BaseHttpRequest;
|
|
11
11
|
constructor(httpRequest: BaseHttpRequest);
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
14
|
-
* Gets a teleporter message by message ID.
|
|
13
|
+
* @deprecated
|
|
14
|
+
* **[Deprecated]** Gets a teleporter message by message ID.
|
|
15
|
+
*
|
|
16
|
+
* ⚠️ **This operation will be removed in a future release. Please use /v1/icm/messages/:messageId endpoint instead** .
|
|
15
17
|
* @returns any Successful response
|
|
16
18
|
* @throws ApiError
|
|
17
19
|
*/
|
|
@@ -22,8 +24,10 @@ declare class TeleporterService {
|
|
|
22
24
|
messageId: string;
|
|
23
25
|
}): CancelablePromise<(PendingTeleporterMessage | DeliveredTeleporterMessage | DeliveredSourceNotIndexedTeleporterMessage)>;
|
|
24
26
|
/**
|
|
25
|
-
*
|
|
26
|
-
* Lists teleporter messages. Ordered by timestamp in
|
|
27
|
+
* @deprecated
|
|
28
|
+
* **[Deprecated]** Lists teleporter messages. Ordered by timestamp in descending order.
|
|
29
|
+
*
|
|
30
|
+
* ⚠️ **This operation will be removed in a future release. Please use /v1/icm/messages endpoint instead** .
|
|
27
31
|
* @returns ListTeleporterMessagesResponse Successful response
|
|
28
32
|
* @throws ApiError
|
|
29
33
|
*/
|
|
@@ -62,8 +66,10 @@ declare class TeleporterService {
|
|
|
62
66
|
network?: Network;
|
|
63
67
|
}): CancelablePromise<ListTeleporterMessagesResponse>;
|
|
64
68
|
/**
|
|
65
|
-
*
|
|
66
|
-
* Lists teleporter messages by address. Ordered by
|
|
69
|
+
* @deprecated
|
|
70
|
+
* **[Deprecated]** Lists teleporter messages by address. Ordered by timestamp in descending order.
|
|
71
|
+
*
|
|
72
|
+
* ⚠️ **This operation will be removed in a future release. Please use /v1/icm/addresses/:address/messages endpoint instead** .
|
|
67
73
|
* @returns ListTeleporterMessagesResponse Successful response
|
|
68
74
|
* @throws ApiError
|
|
69
75
|
*/
|
|
@@ -1,10 +1,12 @@
|
|
|
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 { PlatformActivityRequest } from '../models/PlatformActivityRequest.js';
|
|
7
|
+
import { PlatformActivityResponse } from '../models/PlatformActivityResponse.js';
|
|
5
8
|
import { SharedSecretsResponse } from '../models/SharedSecretsResponse.js';
|
|
6
9
|
import { UpdateWebhookRequest } from '../models/UpdateWebhookRequest.js';
|
|
7
|
-
import { WebhookResponse } from '../models/WebhookResponse.js';
|
|
8
10
|
import { WebhookStatus } from '../models/WebhookStatus.js';
|
|
9
11
|
import { CancelablePromise } from '../core/CancelablePromise.js';
|
|
10
12
|
import { BaseHttpRequest } from '../core/BaseHttpRequest.js';
|
|
@@ -15,12 +17,12 @@ declare class WebhooksService {
|
|
|
15
17
|
/**
|
|
16
18
|
* Create a webhook
|
|
17
19
|
* Create a new webhook.
|
|
18
|
-
* @returns
|
|
20
|
+
* @returns any Successful response
|
|
19
21
|
* @throws ApiError
|
|
20
22
|
*/
|
|
21
23
|
createWebhook({ requestBody, }: {
|
|
22
|
-
requestBody:
|
|
23
|
-
}): CancelablePromise<
|
|
24
|
+
requestBody: (EVMAddressActivityRequest | PlatformActivityRequest);
|
|
25
|
+
}): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
|
|
24
26
|
/**
|
|
25
27
|
* List webhooks
|
|
26
28
|
* Lists webhooks for the user.
|
|
@@ -44,7 +46,7 @@ declare class WebhooksService {
|
|
|
44
46
|
/**
|
|
45
47
|
* Get a webhook by ID
|
|
46
48
|
* Retrieves a webhook by ID.
|
|
47
|
-
* @returns
|
|
49
|
+
* @returns any Successful response
|
|
48
50
|
* @throws ApiError
|
|
49
51
|
*/
|
|
50
52
|
getWebhook({ id, }: {
|
|
@@ -52,11 +54,11 @@ declare class WebhooksService {
|
|
|
52
54
|
* The webhook identifier.
|
|
53
55
|
*/
|
|
54
56
|
id: string;
|
|
55
|
-
}): CancelablePromise<
|
|
57
|
+
}): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
|
|
56
58
|
/**
|
|
57
59
|
* Deactivate a webhook
|
|
58
60
|
* Deactivates a webhook by ID.
|
|
59
|
-
* @returns
|
|
61
|
+
* @returns any Successful response
|
|
60
62
|
* @throws ApiError
|
|
61
63
|
*/
|
|
62
64
|
deactivateWebhook({ id, }: {
|
|
@@ -64,11 +66,11 @@ declare class WebhooksService {
|
|
|
64
66
|
* The webhook identifier.
|
|
65
67
|
*/
|
|
66
68
|
id: string;
|
|
67
|
-
}): CancelablePromise<
|
|
69
|
+
}): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
|
|
68
70
|
/**
|
|
69
71
|
* Update a webhook
|
|
70
72
|
* Updates an existing webhook.
|
|
71
|
-
* @returns
|
|
73
|
+
* @returns any Successful response
|
|
72
74
|
* @throws ApiError
|
|
73
75
|
*/
|
|
74
76
|
updateWebhook({ id, requestBody, }: {
|
|
@@ -77,14 +79,14 @@ declare class WebhooksService {
|
|
|
77
79
|
*/
|
|
78
80
|
id: string;
|
|
79
81
|
requestBody: UpdateWebhookRequest;
|
|
80
|
-
}): CancelablePromise<
|
|
82
|
+
}): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
|
|
81
83
|
/**
|
|
82
|
-
* Generate a shared secret
|
|
83
|
-
* Generates a new shared secret.
|
|
84
|
+
* Generate or rotate a shared secret
|
|
85
|
+
* Generates a new shared secret or rotate an existing one.
|
|
84
86
|
* @returns SharedSecretsResponse Successful response
|
|
85
87
|
* @throws ApiError
|
|
86
88
|
*/
|
|
87
|
-
|
|
89
|
+
generateOrRotateSharedSecret(): CancelablePromise<SharedSecretsResponse>;
|
|
88
90
|
/**
|
|
89
91
|
* Get a shared secret
|
|
90
92
|
* Get a previously generated shared secret.
|
|
@@ -93,9 +95,9 @@ declare class WebhooksService {
|
|
|
93
95
|
*/
|
|
94
96
|
getSharedSecret(): CancelablePromise<SharedSecretsResponse>;
|
|
95
97
|
/**
|
|
96
|
-
* Add addresses to webhook
|
|
97
|
-
* Add addresses to webhook.
|
|
98
|
-
* @returns
|
|
98
|
+
* Add addresses to EVM activity webhook
|
|
99
|
+
* Add addresses to webhook. Only valid for EVM activity webhooks.
|
|
100
|
+
* @returns EVMAddressActivityResponse Successful response
|
|
99
101
|
* @throws ApiError
|
|
100
102
|
*/
|
|
101
103
|
addAddressesToWebhook({ id, requestBody, }: {
|
|
@@ -104,11 +106,11 @@ declare class WebhooksService {
|
|
|
104
106
|
*/
|
|
105
107
|
id: string;
|
|
106
108
|
requestBody: AddressesChangeRequest;
|
|
107
|
-
}): CancelablePromise<
|
|
109
|
+
}): CancelablePromise<EVMAddressActivityResponse>;
|
|
108
110
|
/**
|
|
109
|
-
* Remove addresses from webhook
|
|
110
|
-
* Remove addresses from webhook.
|
|
111
|
-
* @returns
|
|
111
|
+
* Remove addresses from EVM activity webhook
|
|
112
|
+
* Remove addresses from webhook. Only valid for EVM activity webhooks.
|
|
113
|
+
* @returns EVMAddressActivityResponse Successful response
|
|
112
114
|
* @throws ApiError
|
|
113
115
|
*/
|
|
114
116
|
removeAddressesFromWebhook({ id, requestBody, }: {
|
|
@@ -117,10 +119,10 @@ declare class WebhooksService {
|
|
|
117
119
|
*/
|
|
118
120
|
id: string;
|
|
119
121
|
requestBody: AddressesChangeRequest;
|
|
120
|
-
}): CancelablePromise<
|
|
122
|
+
}): CancelablePromise<EVMAddressActivityResponse>;
|
|
121
123
|
/**
|
|
122
|
-
* List adresses by
|
|
123
|
-
* List adresses by webhook.
|
|
124
|
+
* List adresses by EVM activity webhooks
|
|
125
|
+
* List adresses by webhook. Only valid for EVM activity webhooks.
|
|
124
126
|
* @returns ListWebhookAddressesResponse Successful response
|
|
125
127
|
* @throws ApiError
|
|
126
128
|
*/
|
|
@@ -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,6 +3,8 @@ 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';
|
|
8
10
|
export { AddressActivityMetadata } from './generated/models/AddressActivityMetadata.js';
|
|
@@ -17,7 +19,6 @@ export { BalanceOwner } from './generated/models/BalanceOwner.js';
|
|
|
17
19
|
export { Blockchain } from './generated/models/Blockchain.js';
|
|
18
20
|
export { BlockchainId } from './generated/models/BlockchainId.js';
|
|
19
21
|
export { BlockchainIds } from './generated/models/BlockchainIds.js';
|
|
20
|
-
export { BlockchainInfo } from './generated/models/BlockchainInfo.js';
|
|
21
22
|
export { BlsCredentials } from './generated/models/BlsCredentials.js';
|
|
22
23
|
export { CChainAtomicBalances } from './generated/models/CChainAtomicBalances.js';
|
|
23
24
|
export { CChainExportTransaction } from './generated/models/CChainExportTransaction.js';
|
|
@@ -27,6 +28,7 @@ export { ChainAddressChainIdMap } from './generated/models/ChainAddressChainIdMa
|
|
|
27
28
|
export { ChainAddressChainIdMapListResponse } from './generated/models/ChainAddressChainIdMapListResponse.js';
|
|
28
29
|
export { ChainInfo } from './generated/models/ChainInfo.js';
|
|
29
30
|
export { ChainStatus } from './generated/models/ChainStatus.js';
|
|
31
|
+
export { CommonBalanceType } from './generated/models/CommonBalanceType.js';
|
|
30
32
|
export { CompletedDelegatorDetails } from './generated/models/CompletedDelegatorDetails.js';
|
|
31
33
|
export { CompletedValidatorDetails } from './generated/models/CompletedValidatorDetails.js';
|
|
32
34
|
export { ContractDeploymentDetails } from './generated/models/ContractDeploymentDetails.js';
|
|
@@ -37,11 +39,12 @@ export { ContractSubmissionErc721 } from './generated/models/ContractSubmissionE
|
|
|
37
39
|
export { ContractSubmissionUnknown } from './generated/models/ContractSubmissionUnknown.js';
|
|
38
40
|
export { CreateEvmTransactionExportRequest } from './generated/models/CreateEvmTransactionExportRequest.js';
|
|
39
41
|
export { CreatePrimaryNetworkTransactionExportRequest } from './generated/models/CreatePrimaryNetworkTransactionExportRequest.js';
|
|
40
|
-
export { CreateWebhookRequest } from './generated/models/CreateWebhookRequest.js';
|
|
41
42
|
export { CurrencyCode } from './generated/models/CurrencyCode.js';
|
|
42
43
|
export { DataListChainsResponse } from './generated/models/DataListChainsResponse.js';
|
|
43
44
|
export { DelegationStatusType } from './generated/models/DelegationStatusType.js';
|
|
44
45
|
export { DelegatorsDetails } from './generated/models/DelegatorsDetails.js';
|
|
46
|
+
export { DeliveredIcmMessage } from './generated/models/DeliveredIcmMessage.js';
|
|
47
|
+
export { DeliveredSourceNotIndexedIcmMessage } from './generated/models/DeliveredSourceNotIndexedIcmMessage.js';
|
|
45
48
|
export { DeliveredSourceNotIndexedTeleporterMessage } from './generated/models/DeliveredSourceNotIndexedTeleporterMessage.js';
|
|
46
49
|
export { DeliveredTeleporterMessage } from './generated/models/DeliveredTeleporterMessage.js';
|
|
47
50
|
export { Erc1155Contract } from './generated/models/Erc1155Contract.js';
|
|
@@ -61,7 +64,11 @@ export { Erc721TokenBalance } from './generated/models/Erc721TokenBalance.js';
|
|
|
61
64
|
export { Erc721TokenMetadata } from './generated/models/Erc721TokenMetadata.js';
|
|
62
65
|
export { Erc721Transfer } from './generated/models/Erc721Transfer.js';
|
|
63
66
|
export { Erc721TransferDetails } from './generated/models/Erc721TransferDetails.js';
|
|
67
|
+
export { ERCToken } from './generated/models/ERCToken.js';
|
|
68
|
+
export { ERCTransfer } from './generated/models/ERCTransfer.js';
|
|
64
69
|
export { EventType } from './generated/models/EventType.js';
|
|
70
|
+
export { EVMAddressActivityRequest } from './generated/models/EVMAddressActivityRequest.js';
|
|
71
|
+
export { EVMAddressActivityResponse } from './generated/models/EVMAddressActivityResponse.js';
|
|
65
72
|
export { EvmBlock } from './generated/models/EvmBlock.js';
|
|
66
73
|
export { EVMInput } from './generated/models/EVMInput.js';
|
|
67
74
|
export { EvmNetworkOptions } from './generated/models/EvmNetworkOptions.js';
|
|
@@ -69,13 +76,20 @@ export { EVMOperationType } from './generated/models/EVMOperationType.js';
|
|
|
69
76
|
export { EVMOutput } from './generated/models/EVMOutput.js';
|
|
70
77
|
export { Forbidden } from './generated/models/Forbidden.js';
|
|
71
78
|
export { FullNativeTransactionDetails } from './generated/models/FullNativeTransactionDetails.js';
|
|
79
|
+
export { Geolocation } from './generated/models/Geolocation.js';
|
|
72
80
|
export { GetChainResponse } from './generated/models/GetChainResponse.js';
|
|
73
81
|
export { GetEvmBlockResponse } from './generated/models/GetEvmBlockResponse.js';
|
|
74
82
|
export { GetNativeBalanceResponse } from './generated/models/GetNativeBalanceResponse.js';
|
|
75
83
|
export { GetNetworkDetailsResponse } from './generated/models/GetNetworkDetailsResponse.js';
|
|
76
84
|
export { GetPrimaryNetworkBlockResponse } from './generated/models/GetPrimaryNetworkBlockResponse.js';
|
|
77
85
|
export { GetTransactionResponse } from './generated/models/GetTransactionResponse.js';
|
|
86
|
+
export { HealthCheckResultDto } from './generated/models/HealthCheckResultDto.js';
|
|
87
|
+
export { HealthIndicatorResultDto } from './generated/models/HealthIndicatorResultDto.js';
|
|
78
88
|
export { HistoricalReward } from './generated/models/HistoricalReward.js';
|
|
89
|
+
export { IcmDestinationTransaction } from './generated/models/IcmDestinationTransaction.js';
|
|
90
|
+
export { IcmReceipt } from './generated/models/IcmReceipt.js';
|
|
91
|
+
export { IcmRewardDetails } from './generated/models/IcmRewardDetails.js';
|
|
92
|
+
export { IcmSourceTransaction } from './generated/models/IcmSourceTransaction.js';
|
|
79
93
|
export { ImageAsset } from './generated/models/ImageAsset.js';
|
|
80
94
|
export { InternalServerError } from './generated/models/InternalServerError.js';
|
|
81
95
|
export { InternalTransaction } from './generated/models/InternalTransaction.js';
|
|
@@ -100,6 +114,7 @@ export { ListErc721BalancesResponse } from './generated/models/ListErc721Balance
|
|
|
100
114
|
export { ListErc721TransactionsResponse } from './generated/models/ListErc721TransactionsResponse.js';
|
|
101
115
|
export { ListEvmBlocksResponse } from './generated/models/ListEvmBlocksResponse.js';
|
|
102
116
|
export { ListHistoricalRewardsResponse } from './generated/models/ListHistoricalRewardsResponse.js';
|
|
117
|
+
export { ListIcmMessagesResponse } from './generated/models/ListIcmMessagesResponse.js';
|
|
103
118
|
export { ListInternalTransactionsResponse } from './generated/models/ListInternalTransactionsResponse.js';
|
|
104
119
|
export { ListL1ValidatorsResponse } from './generated/models/ListL1ValidatorsResponse.js';
|
|
105
120
|
export { ListNativeTransactionsResponse } from './generated/models/ListNativeTransactionsResponse.js';
|
|
@@ -120,6 +135,7 @@ export { ListWebhooksResponse } from './generated/models/ListWebhooksResponse.js
|
|
|
120
135
|
export { ListXChainBalancesResponse } from './generated/models/ListXChainBalancesResponse.js';
|
|
121
136
|
export { ListXChainTransactionsResponse } from './generated/models/ListXChainTransactionsResponse.js';
|
|
122
137
|
export { ListXChainVerticesResponse } from './generated/models/ListXChainVerticesResponse.js';
|
|
138
|
+
export { Log } from './generated/models/Log.js';
|
|
123
139
|
export { LogsFormat } from './generated/models/LogsFormat.js';
|
|
124
140
|
export { LogsFormatMetadata } from './generated/models/LogsFormatMetadata.js';
|
|
125
141
|
export { LogsResponseDTO } from './generated/models/LogsResponseDTO.js';
|
|
@@ -131,9 +147,11 @@ export { NativeTransaction } from './generated/models/NativeTransaction.js';
|
|
|
131
147
|
export { Network } from './generated/models/Network.js';
|
|
132
148
|
export { NetworkToken } from './generated/models/NetworkToken.js';
|
|
133
149
|
export { NetworkTokenDetails } from './generated/models/NetworkTokenDetails.js';
|
|
150
|
+
export { NetworkTokenInfo } from './generated/models/NetworkTokenInfo.js';
|
|
134
151
|
export { NextPageToken } from './generated/models/NextPageToken.js';
|
|
135
152
|
export { NftTokenMetadataStatus } from './generated/models/NftTokenMetadataStatus.js';
|
|
136
153
|
export { NotFound } from './generated/models/NotFound.js';
|
|
154
|
+
export { NotificationsResponse } from './generated/models/NotificationsResponse.js';
|
|
137
155
|
export { OperationStatus } from './generated/models/OperationStatus.js';
|
|
138
156
|
export { OperationStatusCode } from './generated/models/OperationStatusCode.js';
|
|
139
157
|
export { OperationStatusResponse } from './generated/models/OperationStatusResponse.js';
|
|
@@ -145,9 +163,17 @@ export { PChainTransaction } from './generated/models/PChainTransaction.js';
|
|
|
145
163
|
export { PChainTransactionType } from './generated/models/PChainTransactionType.js';
|
|
146
164
|
export { PChainUtxo } from './generated/models/PChainUtxo.js';
|
|
147
165
|
export { PendingDelegatorDetails } from './generated/models/PendingDelegatorDetails.js';
|
|
166
|
+
export { PendingIcmMessage } from './generated/models/PendingIcmMessage.js';
|
|
148
167
|
export { PendingReward } from './generated/models/PendingReward.js';
|
|
149
168
|
export { PendingTeleporterMessage } from './generated/models/PendingTeleporterMessage.js';
|
|
150
169
|
export { PendingValidatorDetails } from './generated/models/PendingValidatorDetails.js';
|
|
170
|
+
export { PlatformActivityKeyType } from './generated/models/PlatformActivityKeyType.js';
|
|
171
|
+
export { PlatformActivityMetadata } from './generated/models/PlatformActivityMetadata.js';
|
|
172
|
+
export { PlatformActivityRequest } from './generated/models/PlatformActivityRequest.js';
|
|
173
|
+
export { PlatformActivityResponse } from './generated/models/PlatformActivityResponse.js';
|
|
174
|
+
export { PlatformActivitySubEvents } from './generated/models/PlatformActivitySubEvents.js';
|
|
175
|
+
export { PlatformAddressActivitySubEventType } from './generated/models/PlatformAddressActivitySubEventType.js';
|
|
176
|
+
export { PlatformBalanceThresholdFilter } from './generated/models/PlatformBalanceThresholdFilter.js';
|
|
151
177
|
export { PricingProviders } from './generated/models/PricingProviders.js';
|
|
152
178
|
export { PrimaryNetworkAssetCap } from './generated/models/PrimaryNetworkAssetCap.js';
|
|
153
179
|
export { PrimaryNetworkAssetType } from './generated/models/PrimaryNetworkAssetType.js';
|
|
@@ -157,7 +183,10 @@ export { PrimaryNetworkChainName } from './generated/models/PrimaryNetworkChainN
|
|
|
157
183
|
export { PrimaryNetworkOperationType } from './generated/models/PrimaryNetworkOperationType.js';
|
|
158
184
|
export { PrimaryNetworkOptions } from './generated/models/PrimaryNetworkOptions.js';
|
|
159
185
|
export { PrimaryNetworkRpcMetricsGroupByEnum } from './generated/models/PrimaryNetworkRpcMetricsGroupByEnum.js';
|
|
186
|
+
export { PrimaryNetworkRpcTimeIntervalGranularity } from './generated/models/PrimaryNetworkRpcTimeIntervalGranularity.js';
|
|
187
|
+
export { PrimaryNetworkRpcUsageMetricsResponseDTO } from './generated/models/PrimaryNetworkRpcUsageMetricsResponseDTO.js';
|
|
160
188
|
export { PrimaryNetworkTxType } from './generated/models/PrimaryNetworkTxType.js';
|
|
189
|
+
export { PrimaryNetworkType } from './generated/models/PrimaryNetworkType.js';
|
|
161
190
|
export { ProposerDetails } from './generated/models/ProposerDetails.js';
|
|
162
191
|
export { RemovedValidatorDetails } from './generated/models/RemovedValidatorDetails.js';
|
|
163
192
|
export { RequestType } from './generated/models/RequestType.js';
|
|
@@ -180,6 +209,9 @@ export { Subnet } from './generated/models/Subnet.js';
|
|
|
180
209
|
export { SubnetOwnershipInfo } from './generated/models/SubnetOwnershipInfo.js';
|
|
181
210
|
export { SubnetRpcTimeIntervalGranularity } from './generated/models/SubnetRpcTimeIntervalGranularity.js';
|
|
182
211
|
export { SubnetRpcUsageMetricsResponseDTO } from './generated/models/SubnetRpcUsageMetricsResponseDTO.js';
|
|
212
|
+
export { SubscribeRequest } from './generated/models/SubscribeRequest.js';
|
|
213
|
+
export { SubscriptionsRequest } from './generated/models/SubscriptionsRequest.js';
|
|
214
|
+
export { SubscriptionsResponse } from './generated/models/SubscriptionsResponse.js';
|
|
183
215
|
export { TeleporterDestinationTransaction } from './generated/models/TeleporterDestinationTransaction.js';
|
|
184
216
|
export { TeleporterMessageInfo } from './generated/models/TeleporterMessageInfo.js';
|
|
185
217
|
export { TeleporterReceipt } from './generated/models/TeleporterReceipt.js';
|
|
@@ -187,14 +219,17 @@ export { TeleporterRewardDetails } from './generated/models/TeleporterRewardDeta
|
|
|
187
219
|
export { TeleporterSourceTransaction } from './generated/models/TeleporterSourceTransaction.js';
|
|
188
220
|
export { TimeIntervalGranularityExtended } from './generated/models/TimeIntervalGranularityExtended.js';
|
|
189
221
|
export { TooManyRequests } from './generated/models/TooManyRequests.js';
|
|
222
|
+
export { Transaction } from './generated/models/Transaction.js';
|
|
190
223
|
export { TransactionDetails } from './generated/models/TransactionDetails.js';
|
|
191
224
|
export { TransactionDirectionType } from './generated/models/TransactionDirectionType.js';
|
|
225
|
+
export { TransactionEvent } from './generated/models/TransactionEvent.js';
|
|
192
226
|
export { TransactionExportMetadata } from './generated/models/TransactionExportMetadata.js';
|
|
193
227
|
export { TransactionMethodType } from './generated/models/TransactionMethodType.js';
|
|
194
228
|
export { TransactionStatus } from './generated/models/TransactionStatus.js';
|
|
195
229
|
export { TransactionVertexDetail } from './generated/models/TransactionVertexDetail.js';
|
|
196
230
|
export { Unauthorized } from './generated/models/Unauthorized.js';
|
|
197
231
|
export { UnknownContract } from './generated/models/UnknownContract.js';
|
|
232
|
+
export { UnsubscribeRequest } from './generated/models/UnsubscribeRequest.js';
|
|
198
233
|
export { UpdateContractResponse } from './generated/models/UpdateContractResponse.js';
|
|
199
234
|
export { UpdateWebhookRequest } from './generated/models/UpdateWebhookRequest.js';
|
|
200
235
|
export { UsageMetricsGroupByEnum } from './generated/models/UsageMetricsGroupByEnum.js';
|
|
@@ -208,7 +243,7 @@ export { ValidationStatusType } from './generated/models/ValidationStatusType.js
|
|
|
208
243
|
export { ValidatorHealthDetails } from './generated/models/ValidatorHealthDetails.js';
|
|
209
244
|
export { ValidatorsDetails } from './generated/models/ValidatorsDetails.js';
|
|
210
245
|
export { VmName } from './generated/models/VmName.js';
|
|
211
|
-
export {
|
|
246
|
+
export { WebhookAddressActivityResponse } from './generated/models/WebhookAddressActivityResponse.js';
|
|
212
247
|
export { WebhookStatus } from './generated/models/WebhookStatus.js';
|
|
213
248
|
export { WebhookStatusType } from './generated/models/WebhookStatusType.js';
|
|
214
249
|
export { XChainAssetDetails } from './generated/models/XChainAssetDetails.js';
|
|
@@ -227,7 +262,9 @@ export { EvmChainsService } from './generated/services/EvmChainsService.js';
|
|
|
227
262
|
export { EvmContractsService } from './generated/services/EvmContractsService.js';
|
|
228
263
|
export { EvmTransactionsService } from './generated/services/EvmTransactionsService.js';
|
|
229
264
|
export { HealthCheckService } from './generated/services/HealthCheckService.js';
|
|
265
|
+
export { InterchainMessagingService } from './generated/services/InterchainMessagingService.js';
|
|
230
266
|
export { NfTsService } from './generated/services/NfTsService.js';
|
|
267
|
+
export { NotificationsService } from './generated/services/NotificationsService.js';
|
|
231
268
|
export { OperationsService } from './generated/services/OperationsService.js';
|
|
232
269
|
export { PrimaryNetworkService } from './generated/services/PrimaryNetworkService.js';
|
|
233
270
|
export { PrimaryNetworkBalancesService } from './generated/services/PrimaryNetworkBalancesService.js';
|