/** * MultiBaas API * MultiBaas API provides a unified interface for interacting with blockchain networks. It enables applications to deploy and manage smart contracts, call contract methods, and query blockchain data through standard REST endpoints. The API also includes features for authentication, role-based access control, and integration with existing systems, allowing developers to build blockchain-powered applications without needing deep protocol-level expertise. * * The version of the OpenAPI document: 0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { Configuration } from './configuration'; import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; import type { RequestArgs } from './base'; import { BaseAPI } from './base'; /** * An API key. */ export interface APIKey { /** * An alias to easily identify and reference the entity in subsequent requests. */ label: string; id: number; /** * The time the API key was created. */ createdAt: string; /** * The time the API key was last used. */ lastUsedAt?: string; /** * The ID of the user that created the API key. */ createdBy: number; /** * The signature of the API key. */ signature: string; } /** * A freshly created API key with its secret. */ export interface APIKeyWithSecret { /** * An alias to easily identify and reference the entity in subsequent requests. */ label: string; id: number; /** * The time the API key was created. */ createdAt: string; /** * The time the API key was last used. */ lastUsedAt?: string; /** * The ID of the user that created the API key. */ createdBy: number; /** * The signature of the API key. */ signature: string; /** * The secret key of the API key. */ key: string; } export interface AcceptInvite200Response { /** * The status code. */ status: number; /** * The human-readable status message. */ message: string; result: User; } export interface AcceptInviteRequest { /** * The user ID Token */ idToken?: string; } /** * An access tuple representing an address and its storage keys. */ export interface AccessTuple { /** * An ethereum address. */ address: string | null; storageKeys: Array; } /** * Add key request data. */ export interface AddKey { /** * The Application ID that will be accessing the Key Vault. */ clientID: string; /** * The name of the key. */ keyName: string; /** * The version of the key. */ keyVersion: string; /** * The name given to the vault your key is stored in. */ vaultName: string; } /** * An address details. */ export interface Address { /** * An alias to easily identify and reference addresses. */ alias: string; /** * An ethereum address. */ address: string; /** * The balance of the address in wei. */ balance?: string; /** * The network ID. */ chain: string; /** * The next transaction nonce for this address (obtained from the blockchain node). */ nonce?: number; /** * The next transaction nonce for this address when using the nonce management feature. */ localNonce?: number; /** * The bytecode deployed at this address. */ codeAt?: string; /** * The list of contracts linked to this address. */ contracts: Array; /** * The list of contracts discovered at this address. */ contractLookup?: Array; } /** * An address and it\'s alias. */ export interface AddressAlias { /** * An alias to easily identify and reference addresses. */ alias: string; /** * An ethereum address. */ address: string; } /** * An audit log entry. */ export interface AuditLog { /** * The ID of the user who performed the action. */ actionByID: number; /** * The ID of the user who was acted upon. */ actionOnID?: number; /** * The email of the user who performed the action. */ actionByUserEmail: string; /** * The email of the user who was acted upon. */ actionOnUserEmail?: string; /** * The type of action that was performed. */ type: string; /** * The time the action was performed. */ createdAt: string; /** * The data associated with the action. */ activityData: object; } /** * Additional information about any EIP-7702 authorizations. */ export interface AuthorizationExtraInfo { /** * An ethereum address. */ authority: string; /** * Whether the format of the authorization is valid. */ formatValid: boolean; /** * Additional notes about the validity of the authorization. */ notes: string; } /** * An Azure account. */ export interface AzureAccount { /** * An alias to easily identify and reference the entity in subsequent requests. */ label: string; /** * The Application ID that will be accessing the Key Vault. */ clientID: string; /** * The application’s secret key that you generate when you first register the application in Azure. */ clientSecret: string; /** * Also known as Directory ID. */ tenantID: string; /** * The ID linked to your subscription to Azure services. */ subscriptionID: string; /** * The Resource Group Name for the resource being accessed. */ baseGroupName: string; id: number; } /** * An HSM Wallet */ export interface AzureHardwareWallet { /** * The unique ID for this hardware wallet. */ id: number; /** * The ID of the associated Azure account configuration. */ azureAccountID: number; /** * The name given to the vault your key is stored in. */ vaultName: string; /** * The name of the key. */ keyName: string; /** * The version of the key. */ keyVersion: string; /** * An ethereum address. */ publicAddress: string; } /** * An HSM Wallet returned when a new key is created */ export interface AzureWallet { /** * The name of the key. */ keyName: string; /** * The version of the key. */ keyVersion: string; /** * An ethereum address. */ publicAddress: string; } /** * An API key. */ export interface BaseAPIKey { /** * An alias to easily identify and reference the entity in subsequent requests. */ label: string; } /** * An Azure account. */ export interface BaseAzureAccount { /** * An alias to easily identify and reference the entity in subsequent requests. */ label: string; /** * The Application ID that will be accessing the Key Vault. */ clientID: string; /** * The application’s secret key that you generate when you first register the application in Azure. */ clientSecret: string; /** * Also known as Directory ID. */ tenantID: string; /** * The ID linked to your subscription to Azure services. */ subscriptionID: string; /** * The Resource Group Name for the resource being accessed. */ baseGroupName: string; } /** * A contract. */ export interface BaseContract { /** * An alias to easily identify and reference the entity in subsequent requests. */ label: string; /** * The name of the contract in MultiBaas. */ contractName: string; /** * The version of the contract in MultiBaas. */ version: string; /** * The smart-contract bytecode. */ bin?: string; /** * The contract raw ABI JSON string. */ rawAbi: string; /** * The user documentation JSON string. */ userDoc?: string; /** * The developer documentation JSON string. */ developerDoc?: string; /** * The contract metadata JSON string. */ metadata?: string; /** * Whether the user has marked this contract as a favorite. */ isFavorite?: boolean; } /** * Standard response. */ export interface BaseResponse { /** * The status code. */ status: number; /** * The human-readable status message. */ message: string; } /** * A user. */ export interface BaseUser { /** * The user\'s email address. */ email: string; /** * The user\'s name. */ name: string; } export interface BaseWebhookEndpoint { /** * The URL to send the webhook to. */ url: string; /** * An alias to easily identify and reference the entity in subsequent requests. */ label: string; /** * The events to subscribe to. */ subscriptions: Array; } /** * A block in the Ethereum blockchain. */ export interface Block { /** * The keccak256 hash as a hex string of 256 bits. */ hash: string; difficulty: string; gasLimit: number; number: string; timestamp: number; transactions: Array; /** * The keccak256 hash as a hex string of 256 bits. */ receiptsRoot: string; /** * The keccak256 hash as a hex string of 256 bits. */ parentHash: string; /** * The keccak256 hash as a hex string of 256 bits. */ sha3Uncles: string; /** * An ethereum address. */ miner: string; /** * The keccak256 hash as a hex string of 256 bits. */ stateRoot: string; /** * The keccak256 hash as a hex string of 256 bits. */ transactionsRoot: string; /** * A hex string. */ logsBloom: string; gasUsed: number; /** * A hex string. */ nonce: string; /** * The keccak256 hash as a hex string of 256 bits. */ mixHash: string; extraData: string; baseFeePerGas?: string; } /** * CORS Origin */ export interface CORSOrigin { id?: number; /** * The CORS Origin */ origin?: string; } export interface CallContractFunction200Response { /** * The status code. */ status: number; /** * The human-readable status message. */ message: string; result: CallContractFunction200ResponseAllOfResult; } /** * @type CallContractFunction200ResponseAllOfResult */ export type CallContractFunction200ResponseAllOfResult = ({ kind: 'MethodCallResponse'; } & MethodCallResponse) | ({ kind: 'TransactionToSignResponse'; } & TransactionToSignResponse); /** * The status of the Chain */ export interface ChainStatus { blockNumber: number; /** * The client version for this chain node. */ version: string; chainID: number; networkID: number; /** * The current base fee (only available for chains that support EIP-1559). */ baseFee?: string; } /** * An Ethereum transaction. */ export interface CloudWalletBaseTx { /** * Sender account nonce of the transaction */ nonce?: number; /** * Gas price of the transaction */ gasPrice?: string; /** * Fee cap per gas of the transaction */ gasFeeCap?: string; /** * GasTipCap per gas of the transaction */ gasTipCap?: string; /** * Gas limit of the transaction */ gas: number; /** * An ethereum address. */ from: string; /** * An ethereum address. */ to?: string | null; /** * Amount (in wei) to send with the transaction. */ value: string; /** * A hex string. */ data: string; /** * The keccak256 hash as a hex string of 256 bits. */ hash?: string; /** * Transaction type */ type: number; } /** * An EIP-7702 SetCode transaction. */ export interface CloudWalletSetCodeTx { /** * Sender account nonce of the transaction */ nonce?: number; /** * Gas price of the transaction */ gasPrice?: string; /** * Fee cap per gas of the transaction */ gasFeeCap?: string; /** * GasTipCap per gas of the transaction */ gasTipCap?: string; /** * Gas limit of the transaction */ gas: number; /** * An ethereum address. */ from: string; /** * An ethereum address. */ to: string; /** * Amount (in wei) to send with the transaction. */ value: string; /** * A hex string. */ data: string; /** * The keccak256 hash as a hex string of 256 bits. */ hash?: string; /** * Transaction type */ type: number; /** * EIP-7702 authorization list for SetCode transactions. */ authorizationList: Array; } /** * A Cloud Wallet transaction to be signed. */ export interface CloudWalletTXToSign { tx: CloudWalletTx; } /** * @type CloudWalletTx */ export type CloudWalletTx = ({ type: '0'; } & CloudWalletBaseTx) | ({ type: '1'; } & CloudWalletBaseTx) | ({ type: '2'; } & CloudWalletBaseTx) | ({ type: '4'; } & CloudWalletSetCodeTx); /** * A returned contract. */ export interface Contract { /** * An alias to easily identify and reference the entity in subsequent requests. */ label: string; /** * The name of the contract in MultiBaas. */ contractName: string; /** * The version of the contract in MultiBaas. */ version: string; /** * The smart-contract bytecode. */ bin?: string; /** * The contract raw ABI JSON string. */ rawAbi: string; /** * The user documentation JSON string. */ userDoc?: string; /** * The developer documentation JSON string. */ developerDoc?: string; /** * The contract metadata JSON string. */ metadata?: string; /** * Whether the user has marked this contract as a favorite. */ isFavorite?: boolean; abi: ContractABI; /** * List of the contract instances. */ instances?: Array; } /** * The contract ABI. */ export interface ContractABI { constructor: ContractABIMethod | null; /** * A mapping of function signatures to their method definitions. */ methods: { [key: string]: ContractABIMethod; }; /** * A mapping of event signatures to their event definitions. */ events: { [key: string]: ContractABIEvent; }; /** * A mapping of error signatures to their error definitions. */ errors?: { [key: string]: ContractABIError; }; fallback: ContractABIMethod | null; receive: ContractABIMethod | null; } /** * A contract error. */ export interface ContractABIError { /** * The keccak256 hash as a hex string of 256 bits. */ id: string; /** * The name of the error. */ name: string; /** * The error signature in the format ErrorName(type1,type2,...), for example foo(uint32,int256). */ signature: string; /** * List of contract event\'s input arguments. */ inputs: Array; /** * The developer documentation. */ notes?: string; /** * The user documentation. */ description?: string; } /** * A contract error argument. */ export interface ContractABIErrorArgument { /** * The name of the argument. */ name: string; type: ContractABIType; /** * The type name (e.g., uint256, address, string). */ typeName: string; /** * Whether this argument is indexed. */ indexed: boolean; /** * The developer documentation. */ notes: string; } /** * A contract event. */ export interface ContractABIEvent { /** * The keccak256 hash as a hex string of 256 bits. */ id: string; /** * The name of the event. */ name: string; /** * The event signature in the format EventName(type1,type2,...), for example foo(uint32,int256). */ signature: string; /** * Whether this is an anonymous event (not logged with event signature). */ anonymous: boolean; /** * List of contract event\'s input arguments. */ inputs: Array; /** * The developer documentation. */ notes: string; /** * The user documentation. */ description: string; } /** * A contract event argument. */ export interface ContractABIEventArgument { /** * The name of the argument. */ name: string; type: ContractABIType; /** * The type name (e.g., uint256, address, string). */ typeName: string; /** * Whether this argument is indexed and stored in the event log topics. */ indexed: boolean; typeConversion: ContractABITypeConversion | null; /** * The developer documentation. */ notes: string; } /** * A contract function. */ export interface ContractABIMethod { /** * A hex string. */ id: string; /** * Name of the function. */ name: string; /** * The function signature. */ signature: string; /** * Indicates whether this method is read-only (constant). */ const: boolean; /** * Indicates whether this method accepts ether payments. */ payable: boolean; /** * List of function arguments. */ inputs: Array; /** * List of function outputs. */ outputs: Array; /** * The contract method author. */ author: string; /** * The developer documentation. */ notes: string; /** * The function description. */ description: string; } /** * A contract function argument. */ export interface ContractABIMethodArgument { /** * The name of the argument. */ name: string; type: ContractABIType; /** * The type name (e.g., uint256, address, string). */ typeName: string; typeConversion: ContractABITypeConversion | null; /** * The developer documentation. */ notes: string; } /** * A contract function or event argument type. */ export interface ContractABIType { /** * The type name (e.g., uint256, address, string). */ type: string; /** * The size of the type in bits, if applicable. */ size?: number; /** * For tuple types, the list of element types within the tuple. */ tupleElems?: Array; /** * For tuple types, the original names of the tuple elements as defined in the contract. */ tupleRawNames?: Array; elem?: ContractABIType; } /** * Type conversion object for an input or an output of a function or an event. */ export interface ContractABITypeConversion { /** * The type conversion mode to apply: `decimals` (for converting integer wei values to fixed-point decimal strings, e.g., wei to ether), `timestamp` (converts Unix timestamp integers to RFC 3339 formatted time strings), `stringBytes` (converts byte arrays to UTF-8 strings), `base64Bytes` (converts byte arrays to base64-encoded strings). */ mode: string; /** * The fixed number of decimal places to use for `decimals` mode conversion. Must be between 0-255. */ decimalsAbsolute: number | null; /** * The name of a contract function that dynamically determines decimal places for `decimals` mode conversion (e.g., `decimals()` for ERC-20 tokens). The function must take no parameters and return a uint value between 0-255. Mutually exclusive with `decimalsAbsolute`. */ decimalsFunction: string | null; } /** * Type conversion options for an event. */ export interface ContractEventOptions { /** * The event signature in the format `EventName(type1,type2,...)`, for example foo(uint32,int256). */ signature?: string; /** * List of type conversion configurations for each event input parameter. */ inputs: Array; } /** * The contract information within the event or transaction. */ export interface ContractInformation { /** * An ethereum address. */ address: string; /** * An alias to easily identify and reference addresses. */ addressAlias: string; /** * The name of the contract. */ name: string; /** * An alias to easily identify and reference the entity in subsequent requests. */ label: string; } /** * A deployed instance of a contract at a specific blockchain address. */ export interface ContractInstance { /** * The alias of the deployed instance. */ alias: string; /** * An ethereum address. */ address: string; } /** * The contract lookup item. */ export interface ContractLookup { /** * An ethereum address. */ address: string; /** * The name of the contract in MultiBaas. */ name?: string; /** * The contract ABI JSON string. */ abi: string; /** * The smart-contract bytecode. */ bytecode?: string; /** * The contract\'s source code. */ source?: string; /** * The user documentation JSON string. */ userdoc?: string; /** * The developer documentation JSON string. */ devdoc?: string; /** * Whether the contract has been verified. */ verified: boolean; /** * The name of the service that provided the contract verification. */ verifiedSource?: string; /** * The URL to the contract\'s verification details on the verification service. */ verifiedLink?: string; /** * Whether the contract is a proxy contract. */ proxy: boolean; } /** * Lightweight reference information for a contract. */ export interface ContractMetadata { /** * An alias to easily identify and reference the entity in subsequent requests. */ label: string; /** * The name of the contract in MultiBaas. */ name: string; /** * The version of the contract in MultiBaas. */ version: string; } /** * The contract method\'s information returned within the event or transaction. */ export interface ContractMethodInformation { /** * The name of the method. */ name: string; /** * The method signature. */ signature: string; inputs: Array; } /** * Type conversion options for a function. */ export interface ContractMethodOptions { /** * The function signature. */ signature?: string; /** * List of function input parameters. */ inputs: Array; /** * List of function output parameters. */ outputs?: Array; } /** * A contract overview. */ export interface ContractOverview { /** * An alias to easily identify and reference the entity in subsequent requests. */ label: string; /** * The name of the contract in MultiBaas. */ contractName: string; /** * The version of the contract in MultiBaas. */ version: string; /** * Whether the user has marked this contract as a favorite. */ isFavorite?: boolean; /** * Whether this contract has deployable bytecode and can be deployed to the blockchain. */ deployable: boolean; /** * List of addresses where this contract has been deployed and linked. */ instances: Array; } /** * Type conversion options for an input or an output of a function or an event. */ export interface ContractParameter { typeConversion: ContractABITypeConversion | null; } export interface CountEventQueryRecords200Response { /** * The status code. */ status: number; /** * The human-readable status message. */ message: string; /** * The record count. */ result: number; } export interface CountWalletTransactions200Response { /** * The status code. */ status: number; /** * The human-readable status message. */ message: string; /** * The transaction count. */ result: number; } export interface CountWebhookEvents200Response { /** * The status code. */ status: number; /** * The human-readable status message. */ message: string; /** * The number of webhook events. */ result: number; } export interface CountWebhooks200Response { /** * The status code. */ status: number; /** * The human-readable status message. */ message: string; /** * The webhook count. */ result: number; } export interface CreateApiKey200Response { /** * The status code. */ status: number; /** * The human-readable status message. */ message: string; result: APIKeyWithSecret; } export interface CreateApiKeyRequest { /** * An alias to easily identify and reference the entity in subsequent requests. */ label: string; groupIDs?: Array; } export interface CreateHsmKey200Response { /** * The status code. */ status: number; /** * The human-readable status message. */ message: string; result: AzureWallet; } /** * Create Key request data. */ export interface CreateKey { /** * The Application ID that will be accessing the Key Vault. */ clientID: string; /** * The name of the key. */ keyName: string; /** * The name given to the vault your key is stored in. */ vaultName: string; useHardwareModule: boolean; } export interface CreateWebhook200Response { /** * The status code. */ status: number; /** * The human-readable status message. */ message: string; result: WebhookEndpoint; } export interface DeployContract200Response { /** * The status code. */ status: number; /** * The human-readable status message. */ message: string; result: DeployContractTransaction; } /** * The transaction returned when you deploy a contracts. */ export interface DeployContractTransaction { tx: TransactionToSignTx; /** * Indicates whether the transaction has been submitted to the blockchain. */ submitted: boolean; /** * The address where the contract will be deployed once the transaction is confirmed. */ deployAt?: string; /** * An alias to easily identify and reference the entity in subsequent requests. */ label?: string; } /** * The domain fields for EIP-712. All fields are optional per the specification. */ export interface EIP712Domain { /** * Human-readable name of the signing domain. */ name?: string; /** * Current major version of the signing domain. */ version?: string; chainId?: EIP712DomainChainId; /** * An ethereum address. */ verifyingContract?: string; /** * A hex string. */ salt?: string; } /** * @type EIP712DomainChainId * The EIP-155 chain ID of the application using the typed data. */ export type EIP712DomainChainId = number | string; export interface EIP712TypeEntry { /** * The name of the entry. */ name: string; type: string; } /** * EIP-712 structured typed data object. */ export interface EIP712TypedData { types: EIP712Types; /** * The root type of the message object. Must correspond to a key in the `types` object. */ primaryType: string; domain: EIP712Domain; /** * The actual data, conforming to the `primaryType` definition in `types`. */ message: object; } /** * A mapping of type names to arrays of fields. */ export interface EIP712Types { [key: string]: Array | any; EIP712Domain: Array; } /** * An event returned by the API call. */ export interface Event { /** * The time at which the event was triggered. */ triggeredAt: string; event: EventInformation; transaction: TransactionInformation; } /** * Holds a field in the event\'s data. */ export interface EventField { /** * The input name. */ name: string; /** * The input value. */ value: any; /** * Has the value been hashed into a keccak256 string? */ hashed: boolean; /** * The type of the argument. */ type: string; } /** * The status for a contract\'s event indexing at a specific address. */ export interface EventIndexingStatus { /** * When true, the event indexer is syncing historical events from past blocks in order to catch up to the current state. */ isProcessingPastLogs: boolean; /** * The most recent block number that has been processed for event indexing. */ latestBlockNumber: number; /** * The keccak256 hash as a hex string of 256 bits. */ latestBlockHash: string; /** * The block number from which event indexing began. */ startBlockNumber: number; /** * The keccak256 hash as a hex string of 256 bits. */ startBlockHash: string; /** * The timestamp of the last update to the indexing status. */ updatedAt: string; } /** * The event information returned as part of an event. */ export interface EventInformation { /** * The name of the event. */ name: string; /** * The event signature. */ signature: string; /** * The list of input arguments for the event. */ inputs: Array; /** * The raw output from an event. Omitted when returned as part of a transaction receipt. */ rawFields?: string; contract: ContractInformation; /** * The event\'s index in the log. */ indexInLog: number; } /** * An event query. */ export interface EventQuery { events: Array; /** * The results will be grouped according to this field. An aggregator for non Group By fields must be specified if groupBy is specified. */ groupBy?: string; /** * The results will be ordered according to this field. */ orderBy?: string; /** * Specify ascending or descending order, the default is \"ASC\". */ order?: EventQueryOrderEnum; } export declare const EventQueryOrderEnum: { readonly Asc: "ASC"; readonly Desc: "DESC"; }; export type EventQueryOrderEnum = typeof EventQueryOrderEnum[keyof typeof EventQueryOrderEnum]; /** * A query on a single event. */ export interface EventQueryEvent { /** * The name of an event. */ eventName: string; /** * The query information about all the fields to select from an event. */ select: Array; filter?: EventQueryFilter; } /** * A single event field\'s query information. */ export interface EventQueryField { type: FieldType; /** * The field name. Either `name` or `inputIndex` is required if `fieldType == \"input\"`. */ name?: string; /** * The field\'s index, can be used in place of `name`. */ inputIndex?: number | null; /** * The name that will be used to return the field. */ alias?: string; /** * The type of aggregation to perform on the field. */ aggregator?: EventQueryFieldAggregatorEnum | null; } export declare const EventQueryFieldAggregatorEnum: { readonly Add: "add"; readonly Subtract: "subtract"; readonly Last: "last"; readonly First: "first"; readonly Min: "min"; readonly Max: "max"; }; export type EventQueryFieldAggregatorEnum = typeof EventQueryFieldAggregatorEnum[keyof typeof EventQueryFieldAggregatorEnum]; /** * A event query filter. */ export interface EventQueryFilter { /** * The rule type, can be omitted if this is the last filter to be applied. */ rule?: EventQueryFilterRuleEnum; fieldType?: FieldType; /** * The field\'s index, can be used in place of `name`. */ inputIndex?: number | null; /** * The operator on the filter. */ operator?: EventQueryFilterOperatorEnum; /** * The value to be compared with. */ value?: string; /** * Other filters to be applied in succession with the rule specified. */ children?: Array; } export declare const EventQueryFilterRuleEnum: { readonly And: "and"; readonly Or: "or"; }; export type EventQueryFilterRuleEnum = typeof EventQueryFilterRuleEnum[keyof typeof EventQueryFilterRuleEnum]; export declare const EventQueryFilterOperatorEnum: { readonly Equal: "equal"; readonly Notequal: "notequal"; readonly Lessthan: "lessthan"; readonly Greaterthan: "greaterthan"; readonly Lessthanorequal: "lessthanorequal"; readonly Greaterthanorequal: "greaterthanorequal"; }; export type EventQueryFilterOperatorEnum = typeof EventQueryFilterOperatorEnum[keyof typeof EventQueryFilterOperatorEnum]; /** * Results of an executed event query. */ export interface EventQueryResults { rows: Array<{ [key: string]: any; }>; } /** * Type conversion options for each of the inputs of an event. */ export interface EventTypeConversionOptions { /** * List of event\'s input parameters. */ inputs: Array; } export interface ExecuteArbitraryEventQuery200Response { /** * The status code. */ status: number; /** * The human-readable status message. */ message: string; result: EventQueryResults; } /** * The field type in a select or filter. */ export declare const FieldType: { readonly Input: "input"; readonly ContractLabel: "contract_label"; readonly ContractName: "contract_name"; readonly ContractAddress: "contract_address"; readonly ContractAddressAlias: "contract_address_alias"; readonly BlockNumber: "block_number"; readonly TriggeredAt: "triggered_at"; readonly EventSignature: "event_signature"; readonly BlockHash: "block_hash"; readonly TxHash: "tx_hash"; readonly TxFrom: "tx_from"; }; export type FieldType = typeof FieldType[keyof typeof FieldType]; /** * Specify custom gas parameters */ export interface GasParams { /** * Gas price to use for the cancel/resubmit. */ gasPrice?: string; /** * Gas fee cap to use for the EIP-1559 cancel/resubmit. */ gasFeeCap?: string; /** * Gas priority fee cap to use for the EIP-1559 cancel/resubmit. */ gasTipCap?: string; /** * Gas limit to set for the cancel/resubmit. */ gas?: number; } export interface GetApiKey200Response { /** * The status code. */ status: number; /** * The human-readable status message. */ message: string; result: APIKey; } export interface GetBlock200Response { /** * The status code. */ status: number; /** * The human-readable status message. */ message: string; result: Block; } export interface GetChainStatus200Response { /** * The status code. */ status: number; /** * The human-readable status message. */ message: string; result: ChainStatus; } export interface GetContract200Response { /** * The status code. */ status: number; /** * The human-readable status message. */ message: string; result: Contract; } export interface GetContractVersions200Response { /** * The status code. */ status: number; /** * The human-readable status message. */ message: string; result: Array; } export interface GetEventCount200Response { /** * The status code. */ status: number; /** * The human-readable status message. */ message: string; /** * The number of events. */ result: number; } export interface GetEventIndexingStatus200Response { /** * The status code. */ status: number; /** * The human-readable status message. */ message: string; result: EventIndexingStatus; } export interface GetEventQuery200Response { /** * The status code. */ status: number; /** * The human-readable status message. */ message: string; result: EventQuery; } export interface GetEventTypeConversions200Response { /** * The status code. */ status: number; /** * The human-readable status message. */ message: string; result: EventTypeConversionOptions; } export interface GetFunctionTypeConversions200Response { /** * The status code. */ status: number; /** * The human-readable status message. */ message: string; result: MethodTypeConversionOptions; } export interface GetPlan200Response { /** * The status code. */ status: number; /** * The human-readable status message. */ message: string; result: Plan; } export interface GetTransaction200Response { /** * The status code. */ status: number; /** * The human-readable status message. */ message: string; result: TransactionData; } export interface GetTransactionReceipt200Response { /** * The status code. */ status: number; /** * The human-readable status message. */ message: string; result: TransactionReceipt; } /** * A group. */ export interface Group { /** * The group ID. */ id: number; /** * The group name. */ name: string; /** * The group short name. */ shortName: string; /** * The group description. */ description: string; /** * The group roles. */ roles: Array; } /** * Response body for returning HSM Data. */ export interface HSMData { configuration: AzureAccount; /** * An array of Azure Hardware Wallets. */ wallets: Array; } /** * @type HSMSignRequest */ export type HSMSignRequest = ({ method: 'eth_signTypedData_v4'; } & HSMSignRequestTypedData) | ({ method: 'personal_sign'; } & HSMSignRequestPersonalSign); /** * Request to sign a message using a cloud wallet. */ export interface HSMSignRequestPersonalSign { /** * The signing method to use. */ method: string; /** * An ethereum address. */ address: string; /** * A hex string. */ data: string; chainId?: HSMSignRequestPersonalSignChainId; } /** * @type HSMSignRequestPersonalSignChainId * Optionally lock the message to a specific chain by encoding the chain ID in the signature per EIP-155. */ export type HSMSignRequestPersonalSignChainId = number | string; /** * Request to sign typed data using a cloud wallet. */ export interface HSMSignRequestTypedData { /** * The signing method to use. */ method: string; /** * An ethereum address. */ address: string; data: EIP712TypedData; } /** * Response body representing a sign-data response. */ export interface HSMSignResponse { publicKey: string; signature: string; } /** * A user invitation to MultiBaas. */ export interface Invite { /** * The invitee\'s email address. */ email: string; /** * The time the invite was created. */ createdAt: string; /** * The time the invite expires. */ expiresAt: string; } /** * An invite request with groups. */ export interface InviteRequest { /** * The invitee\'s email address. */ email: string; groupIDs?: Array; } export interface LinkAddressContractRequest { /** * An alias to easily identify and reference the entity in subsequent requests. */ label: string; /** * The version of the contract in MultiBaas. */ version?: string; /** * The block number from which to start syncing events. The value can be `latest` for the latest block number, an absolute block number (e.g. `123` for the block number 123), or a relative block number (e.g. `-100` for 100 blocks before the latest block). If absent, event indexing will be disabled for this contract and events won\'t be synced. */ startingBlock?: string; } export interface ListAddresses200Response { /** * The status code. */ status: number; /** * The human-readable status message. */ message: string; result: Array; } export interface ListApiKeys200Response { /** * The status code. */ status: number; /** * The human-readable status message. */ message: string; result: Array; } export interface ListAuditLogs200Response { /** * The status code. */ status: number; /** * The human-readable status message. */ message: string; result: Array; } export interface ListContractVersions200Response { /** * The status code. */ status: number; /** * The human-readable status message. */ message: string; result: ListContractVersions200ResponseAllOfResult; } export interface ListContractVersions200ResponseAllOfResult { /** * An alias to easily identify and reference the entity in subsequent requests. */ label: string; /** * The list of versions of the contract. */ versions: Array; } export interface ListContracts200Response { /** * The status code. */ status: number; /** * The human-readable status message. */ message: string; result: Array; } export interface ListCorsOrigins200Response { /** * The status code. */ status: number; /** * The human-readable status message. */ message: string; result: Array; } export interface ListEventQueries200Response { /** * The status code. */ status: number; /** * The human-readable status message. */ message: string; result: Array; } export interface ListEvents200Response { /** * The status code. */ status: number; /** * The human-readable status message. */ message: string; result: Array; } export interface ListGroups200Response { /** * The status code. */ status: number; /** * The human-readable status message. */ message: string; result: Array; } export interface ListHsm200Response { /** * The status code. */ status: number; /** * The human-readable status message. */ message: string; result: Array; } export interface ListHsmWallets200Response { /** * The status code. */ status: number; /** * The human-readable status message. */ message: string; result: Array; } export interface ListInvites200Response { /** * The status code. */ status: number; /** * The human-readable status message. */ message: string; result: Array; } export interface ListUserSigners200Response { /** * The status code. */ status: number; /** * The human-readable status message. */ message: string; result: Array; } export interface ListUsers200Response { /** * The status code. */ status: number; /** * The human-readable status message. */ message: string; result: Array; } export interface ListWalletTransactions200Response { /** * The status code. */ status: number; /** * The human-readable status message. */ message: string; result: Array; } export interface ListWebhookEvents200Response { /** * The status code. */ status: number; /** * The human-readable status message. */ message: string; result: Array; } export interface ListWebhooks200Response { /** * The status code. */ status: number; /** * The human-readable status message. */ message: string; result: Array; } /** * A contract log event. */ export interface Log { /** * An ethereum address. */ address: string; /** * A list of topics provided by the contract. */ topics: Array; /** * A hex string. */ data: string; /** * A hex string. */ blockNumber: string; /** * The keccak256 hash as a hex string of 256 bits. */ transactionHash: string; /** * A hex string. */ transactionIndex: string; /** * The keccak256 hash as a hex string of 256 bits. */ blockHash: string; /** * A hex string. */ logIndex: string; /** * True if this log was reverted due to a chain reorganization. */ removed: boolean; } /** * An argument passed to a method call. */ export interface MethodArg { /** * The input name. */ name: string; /** * The input value. */ value: any; /** * The type of the argument. */ type: string; } /** * The result of a function call. */ export interface MethodCallResponse extends PostMethodResponse { /** * The function call output. */ output: any; } /** * Type conversion options for each of the inputs and outputs of a function. */ export interface MethodTypeConversionOptions { /** * Type conversion options for each input parameter of the function. */ inputs: Array; /** * Type conversion options for each output parameter of the function. */ outputs: Array; } /** * An error response. */ export interface ModelError { /** * The unique error code. */ status: number; /** * The human-readable error message. */ message: string; } /** * A plan containing limits and features. */ export interface Plan { /** * The name of the plan. */ name: string; /** * When the plan was last updated. */ updatedAt: string; /** * The limits associated with the plan. */ limits: Array; /** * The features associated with the plan. */ features: Array; } /** * A feature flag in a plan. */ export interface PlanFeature { /** * The name of the feature. */ name: PlanFeatureNameEnum; /** * Whether the feature is enabled. */ enabled: boolean; } export declare const PlanFeatureNameEnum: { readonly EventLoggingFeature: "event_logging_feature"; readonly EventMonitorFeature: "event_monitor_feature"; readonly EventQueriesFeature: "event_queries_feature"; readonly FaucetFeature: "faucet_feature"; readonly HistoricalBlocksFeature: "historical_blocks_feature"; readonly HsmFeature: "hsm_feature"; }; export type PlanFeatureNameEnum = typeof PlanFeatureNameEnum[keyof typeof PlanFeatureNameEnum]; /** * A limit on plan usage. */ export interface PlanLimit { /** * The name of the limit. */ name: PlanLimitNameEnum; /** * The limit value. Null means unlimited. */ limit: number | null; /** * The current count for this limit. */ count?: number; } export declare const PlanLimitNameEnum: { readonly ApiCallsPerSec: "api_calls_per_sec"; readonly ApiCallsPerDay: "api_calls_per_day"; readonly ApiCallsPerMonth: "api_calls_per_month"; readonly EventsPerSec: "events_per_sec"; readonly Users: "users"; readonly Contracts: "contracts"; readonly LinkedContracts: "linked_contracts"; readonly EventQueryMaxResults: "event_query_max_results"; readonly EventLoggingRetentionHours: "event_logging_retention_hours"; readonly PastLogsMaxConcurrency: "past_logs_max_concurrency"; readonly PastLogsMaxDepth: "past_logs_max_depth"; readonly CloudWallets: "cloud_wallets"; }; export type PlanLimitNameEnum = typeof PlanLimitNameEnum[keyof typeof PlanLimitNameEnum]; /** * Arguments to be passed into a contract function. */ export interface PostMethodArgs { /** * The function signature in the format `FunctionName(type1,type2,...)`, for example foo(uint32,int256). */ signature?: string; /** * List of the function arguments. */ args?: Array; /** * An Ethereum address (0x prefixed hex) or an address alias. */ from?: string; /** * Nonce to use for the transaction execution. */ nonce?: number; /** * Gas price to use for the transaction execution. */ gasPrice?: number; /** * Gas fee cap to use for the 1559 transaction execution. */ gasFeeCap?: number; /** * Gas priority fee cap to use for the 1559 transaction execution. */ gasTipCap?: number; /** * Gas limit to set for the transaction execution. */ gas?: number; /** * An Ethereum address (0x prefixed hex) or an address alias. */ to?: string; /** * Amount (in wei) to send with the transaction. */ value?: string; /** * If the `from` address is an HSM address and this flag is set to `true`, the transaction will be automatically signed and submitted to the blockchain. */ signAndSubmit?: boolean; /** * If the `from` address is an HSM address and this flag is set to `true`, MultiBaas will keep track of the nonce and set it accordingly. This is particularly useful when submitting multiple transactions concurrently or in a very short period of time. If this flag is set to `true` and a `nonce` is provided, it will reset the nonce tracker to the given nonce (useful if the nonce tracker is out of sync). */ nonceManagement?: boolean; /** * If set to `true`, forces a legacy type transaction. Otherwise an EIP-1559 transaction will created if the network supports it. */ preEIP1559?: boolean; /** * An Ethereum address (0x prefixed hex) or an address alias. */ signer?: string; /** * Mode to format integer outputs in the function call\'s responses. There are 3 possible modes: - `auto` (the default option), where number format is decided by its type: - If the type has size at most 32 bits, then the number is returned verbatim. - If the type has size larger than 32 bits, then the number is returned as a string. - `as_numbers`, where all numbers are returned verbatim. - `as_strings`, where all numbers are returned as strings. */ formatInts?: string; /** * Call the function at a specific timestamp. Only available for read functions calls and if the `historical_blocks_feature` is enabled (see the plan endpoint). Mutually exclusive with the `blockNumber` parameter. */ timestamp?: string; /** * Call the function at a specific block. Only available for read functions calls and if the `historical_blocks_feature` is enabled (see the plan endpoint). Mutually exclusive with the `timestamp` parameter. */ blockNumber?: string; /** * If set to true the given address and contract don\'t need to be linked for the function to be called. */ contractOverride?: boolean; } export interface PostMethodResponse { /** * The response object type (discriminator). */ kind: string; } /** * A role. */ export interface Role { /** * The role ID. */ id: number; /** * The role name. */ name: string; /** * The role short name. */ shortName: string; /** * The role description. */ description: string; } /** * A saved event query. */ export interface SavedEventQuery { id: number; /** * An event query label. */ label: string; query: EventQuery; /** * Specifies if this a system-generated query which is not modifiable by the user. */ isSystem: boolean; } export interface SetAddress201Response { /** * The status code. */ status: number; /** * The human-readable status message. */ message: string; result: Address; } /** * Authorization data for setCode operations. */ export interface SetCodeAuthorization { /** * A hex string. */ chainId: string; /** * An ethereum address. */ address: string; /** * A hex string. */ nonce: string; /** * A hex string. */ yParity: string; /** * A hex string. */ r: string; /** * A hex string. */ s: string; } /** * Request body representing a set local nonce request. */ export interface SetNonceRequest { /** * If nonce is specified the provided value is set, otherwise the value is read from the blockchain. */ nonce?: number; } export interface SignData200Response { /** * The status code. */ status: number; /** * The human-readable status message. */ message: string; result: HSMSignResponse; } /** * A transaction that was signed externally and submitted. */ export interface SignedTransactionResponse { tx: Transaction; } /** * The object used to receive a pre-signed raw transaction. */ export interface SignedTransactionSubmission { /** * The pre-signed raw transaction. */ signedTx: string; } /** * A signer label. */ export interface SignerLabel { /** * The label of the signer. */ label: string; } /** * A signer wallet. */ export interface SignerWallet { /** * The type of the signer. */ type: SignerWalletTypeEnum; /** * An ethereum address. */ wallet: string; /** * An ethereum address. */ signer: string; /** * The label of the signer. */ label: string; } export declare const SignerWalletTypeEnum: { readonly Web3: "web3"; readonly Cloud: "cloud"; readonly Safe: "safe"; }; export type SignerWalletTypeEnum = typeof SignerWalletTypeEnum[keyof typeof SignerWalletTypeEnum]; /** * An object containing an HSM wallet\'s details. */ export interface StandaloneWallet { /** * The Application ID that accesses the Key Vault. */ clientID?: string; /** * The Resource Group Name for the resource being accessed. */ baseGroupName: string; /** * The name given to the vault your key is stored in. */ vaultName?: string; /** * The name of the key. */ keyName: string; /** * The version of the key. */ keyVersion?: string; /** * An ethereum address. */ publicAddress: string; } export interface SubmitSignedTransaction200Response { /** * The status code. */ status: number; /** * The human-readable status message. */ message: string; result: SignedTransactionResponse; } /** * A transaction from the Ethereum Blockchain. */ export interface Transaction { /** * A hex string. */ type: string; /** * A hex string or null. */ chainId?: string | null; /** * A hex string. */ nonce: string; /** * An ethereum address. */ to: string | null; /** * An ethereum address. */ from?: string | null; /** * A hex string. */ gas: string; /** * A hex string or null. */ gasPrice?: string | null; /** * A hex string or null. */ maxPriorityFeePerGas?: string | null; /** * A hex string or null. */ maxFeePerGas?: string | null; /** * A hex string or null. */ maxFeePerBlobGas?: string | null; /** * A hex string or null. */ value: string | null; /** * A hex string. */ input: string; accessList?: Array | null; blobVersionedHashes?: Array | null; authorizationList?: Array | null; /** * A hex string. */ v: string; /** * A hex string. */ r: string; /** * A hex string. */ s: string; /** * A hex string or null. */ yParity?: string | null; blobs?: Array | null; commitments?: Array | null; proofs?: Array | null; /** * The keccak256 hash as a hex string of 256 bits. */ hash: string; } /** * The transaction data returned from a call to get transaction by hash. */ export interface TransactionData { data: Transaction; /** * Whether the transaction has been included yet. */ isPending: boolean; /** * An ethereum address. */ from: string; /** * The keccak256 hash as a hex string of 256 bits. */ blockHash?: string; /** * The transaction block number. */ blockNumber?: string; contract?: ContractInformation; method?: ContractMethodInformation; authorizationExtraInfo?: Array | null; } /** * The transaction information returned as part of an event. */ export interface TransactionInformation { /** * An ethereum address. */ from: string; /** * A hex string. */ txData: string; /** * The keccak256 hash as a hex string of 256 bits. */ txHash: string; /** * The location of the transaction in the block. */ txIndexInBlock: number; /** * The keccak256 hash as a hex string of 256 bits. */ blockHash: string; /** * The transaction block number. */ blockNumber: number; contract: ContractInformation; method: ContractMethodInformation; } /** * Record of the transaction\'s outcome. */ export interface TransactionReceipt { data: TransactionReceiptData; events?: Array; } export interface TransactionReceiptData { /** * A hex string. */ type?: string; /** * A hex string. */ root: string; /** * A hex string. */ status: string; /** * A hex string. */ cumulativeGasUsed: string; /** * A hex string. */ logsBloom: string; logs: Array; /** * The keccak256 hash as a hex string of 256 bits. */ transactionHash: string; /** * An ethereum address. */ contractAddress: string; /** * A hex string. */ gasUsed: string; /** * A hex string. */ effectiveGasPrice: string; /** * A hex string. */ blockNumber: string; /** * A hex string. */ transactionIndex: string; /** * The keccak256 hash as a hex string of 256 bits. */ blockHash: string; } /** * The status of a TXM transaction. */ export declare const TransactionStatus: { readonly Pending: "pending"; readonly Included: "included"; readonly Replaced: "replaced"; readonly Cancelled: "cancelled"; readonly Rejected: "rejected"; readonly ExceededRetryLimit: "exceeded retry limit"; }; export type TransactionStatus = typeof TransactionStatus[keyof typeof TransactionStatus]; /** * A transaction to be signed. */ export interface TransactionToSign { tx: TransactionToSignTx; /** * Indicates whether the transaction has been submitted to the blockchain. */ submitted: boolean; } export interface TransactionToSignResponse extends PostMethodResponse { tx: TransactionToSignTx; /** * Indicates whether the transaction has been submitted to the blockchain. */ submitted: boolean; } /** * An Ethereum transaction. */ export interface TransactionToSignTx { /** * Sender account nonce of the transaction */ nonce: number; /** * Gas price of the transaction */ gasPrice?: string; /** * Fee cap per gas of the transaction */ gasFeeCap?: string; /** * GasTipCap per gas of the transaction */ gasTipCap?: string; /** * Gas limit of the transaction */ gas: number; /** * An ethereum address. */ from: string; /** * An ethereum address. */ to?: string | null; /** * Amount (in wei) to send with the transaction. */ value: string; /** * A hex string. */ data: string; /** * The keccak256 hash as a hex string of 256 bits. */ hash?: string; /** * Transaction type */ type: number; } export interface TransferEth200Response { /** * The status code. */ status: number; /** * The human-readable status message. */ message: string; result: TransactionToSign; } /** * Represents the set of type conversions allowed for a particular input or output of a function (how it may be \"cast\"). */ export interface TypeConversionOptions { /** * The list of supported type conversion modes for this parameter. */ types?: Array | null; } /** * A user. */ export interface User { /** * The user\'s email address. */ email: string; /** * The user\'s name. */ name: string; /** * The user ID. */ id: number; } export interface WalletTransaction { tx: Transaction; status: TransactionStatus; /** * An ethereum address. */ from: string; /** * The total number of resubmission attempts. */ resubmissionAttempts: number; /** * The total number of successful resubmission (added into the transaction pool). */ successfulResubmissions: number; /** * The time the transaction was created. */ createdAt: string; /** * The time the transaction was last updated. */ updatedAt: string; /** * Whether the transaction failed when it was included in a block. */ failed?: boolean; /** * The block number that the transaction was included in. */ blockNumber?: number; /** * The keccak256 hash as a hex string of 256 bits. */ blockHash?: string; } export interface WebhookEndpoint { /** * The URL to send the webhook to. */ url: string; /** * An alias to easily identify and reference the entity in subsequent requests. */ label: string; /** * The events to subscribe to. */ subscriptions: Array; id: number; /** * The time the next attempt will be made. */ nextAttempt?: string; /** * The time the last attempt was made. */ lastAttempt?: string; /** * The number of failed webhook endpoint calls since the last successful call. */ failedCalls: number; /** * The last error received from the webhook endpoint. */ lastError?: string; /** * The time the webhook was created. */ createdAt: string; /** * The time the webhook was last updated. */ updatedAt: string; /** * The secret key used to sign the webhook. */ secret: string; } export interface WebhookEvent { /** * The ID of the webhook event. */ id: number; eventType: WebhookEventsType; /** * The data associated with the event. */ data: object; /** * The time the webhook event was created. */ createdAt: string; /** * The time the webhook event was last updated. */ deliveredAt?: string; } /** * The type of the webhook event. */ export declare const WebhookEventsType: { readonly TransactionIncluded: "transaction.included"; readonly EventEmitted: "event.emitted"; }; export type WebhookEventsType = typeof WebhookEventsType[keyof typeof WebhookEventsType]; /** * AddressesApi - axios parameter creator */ export declare const AddressesApiAxiosParamCreator: (configuration?: Configuration) => { /** * Deletes an address alias. * @summary Delete address * @param {string} addressOrAlias An address or the alias of an address. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteAddress: (addressOrAlias: string, options?: RawAxiosRequestConfig) => Promise; /** * Returns details about an address. * @summary Get address * @param {string} addressOrAlias An address or the alias of an address. * @param {Array} [include] Optional data to fetch from the blockchain: - `balance` to get the balance of this address. - `code` to get the code at this address. - `nonce` to get the next available transaction nonce for this address. - `contractLookup` to get the contract(s) details for this address. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAddress: (addressOrAlias: string, include?: Array, options?: RawAxiosRequestConfig) => Promise; /** * Returns all the aliased addresses. * @summary List addresses * @param {*} [options] Override http request option. * @throws {RequiredError} */ listAddresses: (options?: RawAxiosRequestConfig) => Promise; /** * Associates an address with an alias. * @summary Create or update address * @param {AddressAlias} addressAlias * @param {*} [options] Override http request option. * @throws {RequiredError} */ setAddress: (addressAlias: AddressAlias, options?: RawAxiosRequestConfig) => Promise; }; /** * AddressesApi - functional programming interface */ export declare const AddressesApiFp: (configuration?: Configuration) => { /** * Deletes an address alias. * @summary Delete address * @param {string} addressOrAlias An address or the alias of an address. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteAddress(addressOrAlias: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns details about an address. * @summary Get address * @param {string} addressOrAlias An address or the alias of an address. * @param {Array} [include] Optional data to fetch from the blockchain: - `balance` to get the balance of this address. - `code` to get the code at this address. - `nonce` to get the next available transaction nonce for this address. - `contractLookup` to get the contract(s) details for this address. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAddress(addressOrAlias: string, include?: Array, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns all the aliased addresses. * @summary List addresses * @param {*} [options] Override http request option. * @throws {RequiredError} */ listAddresses(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Associates an address with an alias. * @summary Create or update address * @param {AddressAlias} addressAlias * @param {*} [options] Override http request option. * @throws {RequiredError} */ setAddress(addressAlias: AddressAlias, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * AddressesApi - factory interface */ export declare const AddressesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Deletes an address alias. * @summary Delete address * @param {string} addressOrAlias An address or the alias of an address. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteAddress(addressOrAlias: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns details about an address. * @summary Get address * @param {string} addressOrAlias An address or the alias of an address. * @param {Array} [include] Optional data to fetch from the blockchain: - `balance` to get the balance of this address. - `code` to get the code at this address. - `nonce` to get the next available transaction nonce for this address. - `contractLookup` to get the contract(s) details for this address. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAddress(addressOrAlias: string, include?: Array, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns all the aliased addresses. * @summary List addresses * @param {*} [options] Override http request option. * @throws {RequiredError} */ listAddresses(options?: RawAxiosRequestConfig): AxiosPromise; /** * Associates an address with an alias. * @summary Create or update address * @param {AddressAlias} addressAlias * @param {*} [options] Override http request option. * @throws {RequiredError} */ setAddress(addressAlias: AddressAlias, options?: RawAxiosRequestConfig): AxiosPromise; }; /** * AddressesApi - interface */ export interface AddressesApiInterface { /** * Deletes an address alias. * @summary Delete address * @param {string} addressOrAlias An address or the alias of an address. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteAddress(addressOrAlias: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns details about an address. * @summary Get address * @param {string} addressOrAlias An address or the alias of an address. * @param {Array} [include] Optional data to fetch from the blockchain: - `balance` to get the balance of this address. - `code` to get the code at this address. - `nonce` to get the next available transaction nonce for this address. - `contractLookup` to get the contract(s) details for this address. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAddress(addressOrAlias: string, include?: Array, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns all the aliased addresses. * @summary List addresses * @param {*} [options] Override http request option. * @throws {RequiredError} */ listAddresses(options?: RawAxiosRequestConfig): AxiosPromise; /** * Associates an address with an alias. * @summary Create or update address * @param {AddressAlias} addressAlias * @param {*} [options] Override http request option. * @throws {RequiredError} */ setAddress(addressAlias: AddressAlias, options?: RawAxiosRequestConfig): AxiosPromise; } /** * AddressesApi - object-oriented interface */ export declare class AddressesApi extends BaseAPI implements AddressesApiInterface { /** * Deletes an address alias. * @summary Delete address * @param {string} addressOrAlias An address or the alias of an address. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteAddress(addressOrAlias: string, options?: RawAxiosRequestConfig): Promise>; /** * Returns details about an address. * @summary Get address * @param {string} addressOrAlias An address or the alias of an address. * @param {Array} [include] Optional data to fetch from the blockchain: - `balance` to get the balance of this address. - `code` to get the code at this address. - `nonce` to get the next available transaction nonce for this address. - `contractLookup` to get the contract(s) details for this address. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getAddress(addressOrAlias: string, include?: Array, options?: RawAxiosRequestConfig): Promise>; /** * Returns all the aliased addresses. * @summary List addresses * @param {*} [options] Override http request option. * @throws {RequiredError} */ listAddresses(options?: RawAxiosRequestConfig): Promise>; /** * Associates an address with an alias. * @summary Create or update address * @param {AddressAlias} addressAlias * @param {*} [options] Override http request option. * @throws {RequiredError} */ setAddress(addressAlias: AddressAlias, options?: RawAxiosRequestConfig): Promise>; } export declare const GetAddressIncludeEnum: { readonly Balance: "balance"; readonly Code: "code"; readonly Nonce: "nonce"; readonly ContractLookup: "contractLookup"; }; export type GetAddressIncludeEnum = typeof GetAddressIncludeEnum[keyof typeof GetAddressIncludeEnum]; /** * AdminApi - axios parameter creator */ export declare const AdminApiAxiosParamCreator: (configuration?: Configuration) => { /** * Accepts a user invite. * @summary Accept invite * @param {string} inviteID * @param {AcceptInviteRequest} acceptInviteRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ acceptInvite: (inviteID: string, acceptInviteRequest: AcceptInviteRequest, options?: RawAxiosRequestConfig) => Promise; /** * Adds a CORS origin. * @summary Add CORS origin * @param {CORSOrigin} cORSOrigin * @param {*} [options] Override http request option. * @throws {RequiredError} */ addCorsOrigin: (cORSOrigin: CORSOrigin, options?: RawAxiosRequestConfig) => Promise; /** * Adds an API key to a group. * @summary Add API key to group * @param {number} groupID * @param {number} apiKeyID * @param {*} [options] Override http request option. * @throws {RequiredError} */ addGroupApiKey: (groupID: number, apiKeyID: number, options?: RawAxiosRequestConfig) => Promise; /** * Adds a role to a group. * @summary Add role to group * @param {number} groupID * @param {string} roleShortName * @param {*} [options] Override http request option. * @throws {RequiredError} */ addGroupRole: (groupID: number, roleShortName: string, options?: RawAxiosRequestConfig) => Promise; /** * Adds a user to a group. * @summary Add user to group * @param {number} groupID * @param {number} userID * @param {*} [options] Override http request option. * @throws {RequiredError} */ addGroupUser: (groupID: number, userID: number, options?: RawAxiosRequestConfig) => Promise; /** * Checks if a user invite is valid. * @summary Check invite * @param {string} inviteID * @param {*} [options] Override http request option. * @throws {RequiredError} */ checkInvite: (inviteID: string, options?: RawAxiosRequestConfig) => Promise; /** * Creates an API key and adds it to group IDs. * @summary Create API key * @param {CreateApiKeyRequest} createApiKeyRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ createApiKey: (createApiKeyRequest: CreateApiKeyRequest, options?: RawAxiosRequestConfig) => Promise; /** * Deletes an API key. * @summary Delete API key * @param {number} apiKeyID * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteApiKey: (apiKeyID: number, options?: RawAxiosRequestConfig) => Promise; /** * Deletes a user invite. * @summary Delete invite * @param {string} email * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteInvite: (email: string, options?: RawAxiosRequestConfig) => Promise; /** * Deletes a user. * @summary Delete user * @param {number} userID * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteUser: (userID: number, options?: RawAxiosRequestConfig) => Promise; /** * Returns an API key. * @summary Get API Key * @param {number} apiKeyID * @param {*} [options] Override http request option. * @throws {RequiredError} */ getApiKey: (apiKeyID: number, options?: RawAxiosRequestConfig) => Promise; /** * Returns the current plan with limits and features. * @summary Get plan * @param {*} [options] Override http request option. * @throws {RequiredError} */ getPlan: (options?: RawAxiosRequestConfig) => Promise; /** * Invites a new user. * @summary Invite user * @param {InviteRequest} inviteRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ inviteUser: (inviteRequest: InviteRequest, options?: RawAxiosRequestConfig) => Promise; /** * Returns all the API keys. * @summary List API keys * @param {boolean} [all] If true, returns all API keys on the system, otherwise, returns only the API keys owned by the calling user. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listApiKeys: (all?: boolean, options?: RawAxiosRequestConfig) => Promise; /** * Returns the audit logs. * @summary List audit logs * @param {*} [options] Override http request option. * @throws {RequiredError} */ listAuditLogs: (options?: RawAxiosRequestConfig) => Promise; /** * Returns a list of CORS origins. * @summary List CORS origins * @param {*} [options] Override http request option. * @throws {RequiredError} */ listCorsOrigins: (options?: RawAxiosRequestConfig) => Promise; /** * Returns all the groups. * @summary List groups * @param {number} [userID] * @param {number} [apiKeyID] * @param {boolean} [assignable] * @param {*} [options] Override http request option. * @throws {RequiredError} */ listGroups: (userID?: number, apiKeyID?: number, assignable?: boolean, options?: RawAxiosRequestConfig) => Promise; /** * Returns all the user invites. * @summary List invites * @param {*} [options] Override http request option. * @throws {RequiredError} */ listInvites: (options?: RawAxiosRequestConfig) => Promise; /** * Returns all the signers for a user. * @summary List user signers * @param {number} userID * @param {*} [options] Override http request option. * @throws {RequiredError} */ listUserSigners: (userID: number, options?: RawAxiosRequestConfig) => Promise; /** * Returns all the users. * @summary List users * @param {number} [groupID] * @param {*} [options] Override http request option. * @throws {RequiredError} */ listUsers: (groupID?: number, options?: RawAxiosRequestConfig) => Promise; /** * Removes a CORS origin. * @summary Remove CORS Origin * @param {number} originID * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeCorsOrigin: (originID: number, options?: RawAxiosRequestConfig) => Promise; /** * Removes an API key from a group. * @summary Remove API key from group * @param {number} groupID * @param {number} apiKeyID * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeGroupApiKey: (groupID: number, apiKeyID: number, options?: RawAxiosRequestConfig) => Promise; /** * Removes a role from a group. * @summary Remove role from group * @param {number} groupID * @param {string} roleShortName * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeGroupRole: (groupID: number, roleShortName: string, options?: RawAxiosRequestConfig) => Promise; /** * Removes a user from a group. * @summary Remove user from group * @param {number} groupID * @param {number} userID * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeGroupUser: (groupID: number, userID: number, options?: RawAxiosRequestConfig) => Promise; /** * Removes a cloud wallet signer from a user. * @summary Remove user cloud wallet signer * @param {number} userID * @param {string} walletAddress An Ethereum address. * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeUserSignerCloudWallet: (userID: number, walletAddress: string, options?: RawAxiosRequestConfig) => Promise; /** * Removes a safe account signer from a user. * @summary Remove user safe account signer * @param {number} userID * @param {string} walletAddress An Ethereum address. * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeUserSignerSafeAccount: (userID: number, walletAddress: string, options?: RawAxiosRequestConfig) => Promise; /** * Removes a web3 wallet signer from a user. * @summary Remove user web3 wallet signer * @param {number} userID * @param {string} walletAddress An Ethereum address. * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeUserSignerWeb3Wallet: (userID: number, walletAddress: string, options?: RawAxiosRequestConfig) => Promise; /** * Adds or updates a user\'s cloud wallet signer. * @summary Add or update user cloud wallet signer * @param {number} userID * @param {string} walletAddress An Ethereum address. * @param {*} [options] Override http request option. * @throws {RequiredError} */ setUserSignerCloudWallet: (userID: number, walletAddress: string, options?: RawAxiosRequestConfig) => Promise; /** * Adds or updates a user\'s safe account signer. * @summary Add or update user safe account signer * @param {number} userID * @param {string} walletAddress An Ethereum address. * @param {SignerLabel} signerLabel * @param {*} [options] Override http request option. * @throws {RequiredError} */ setUserSignerSafeAccount: (userID: number, walletAddress: string, signerLabel: SignerLabel, options?: RawAxiosRequestConfig) => Promise; /** * Adds or updates a user\'s web3 wallet signer. * @summary Add or update user web3 wallet signer * @param {number} userID * @param {string} walletAddress An Ethereum address. * @param {SignerLabel} signerLabel * @param {*} [options] Override http request option. * @throws {RequiredError} */ setUserSignerWeb3Wallet: (userID: number, walletAddress: string, signerLabel: SignerLabel, options?: RawAxiosRequestConfig) => Promise; /** * Updates an API key. * @summary Update API key * @param {number} apiKeyID * @param {BaseAPIKey} baseAPIKey * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateApiKey: (apiKeyID: number, baseAPIKey: BaseAPIKey, options?: RawAxiosRequestConfig) => Promise; }; /** * AdminApi - functional programming interface */ export declare const AdminApiFp: (configuration?: Configuration) => { /** * Accepts a user invite. * @summary Accept invite * @param {string} inviteID * @param {AcceptInviteRequest} acceptInviteRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ acceptInvite(inviteID: string, acceptInviteRequest: AcceptInviteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Adds a CORS origin. * @summary Add CORS origin * @param {CORSOrigin} cORSOrigin * @param {*} [options] Override http request option. * @throws {RequiredError} */ addCorsOrigin(cORSOrigin: CORSOrigin, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Adds an API key to a group. * @summary Add API key to group * @param {number} groupID * @param {number} apiKeyID * @param {*} [options] Override http request option. * @throws {RequiredError} */ addGroupApiKey(groupID: number, apiKeyID: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Adds a role to a group. * @summary Add role to group * @param {number} groupID * @param {string} roleShortName * @param {*} [options] Override http request option. * @throws {RequiredError} */ addGroupRole(groupID: number, roleShortName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Adds a user to a group. * @summary Add user to group * @param {number} groupID * @param {number} userID * @param {*} [options] Override http request option. * @throws {RequiredError} */ addGroupUser(groupID: number, userID: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Checks if a user invite is valid. * @summary Check invite * @param {string} inviteID * @param {*} [options] Override http request option. * @throws {RequiredError} */ checkInvite(inviteID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Creates an API key and adds it to group IDs. * @summary Create API key * @param {CreateApiKeyRequest} createApiKeyRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ createApiKey(createApiKeyRequest: CreateApiKeyRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Deletes an API key. * @summary Delete API key * @param {number} apiKeyID * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteApiKey(apiKeyID: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Deletes a user invite. * @summary Delete invite * @param {string} email * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteInvite(email: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Deletes a user. * @summary Delete user * @param {number} userID * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteUser(userID: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns an API key. * @summary Get API Key * @param {number} apiKeyID * @param {*} [options] Override http request option. * @throws {RequiredError} */ getApiKey(apiKeyID: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns the current plan with limits and features. * @summary Get plan * @param {*} [options] Override http request option. * @throws {RequiredError} */ getPlan(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Invites a new user. * @summary Invite user * @param {InviteRequest} inviteRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ inviteUser(inviteRequest: InviteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns all the API keys. * @summary List API keys * @param {boolean} [all] If true, returns all API keys on the system, otherwise, returns only the API keys owned by the calling user. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listApiKeys(all?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns the audit logs. * @summary List audit logs * @param {*} [options] Override http request option. * @throws {RequiredError} */ listAuditLogs(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns a list of CORS origins. * @summary List CORS origins * @param {*} [options] Override http request option. * @throws {RequiredError} */ listCorsOrigins(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns all the groups. * @summary List groups * @param {number} [userID] * @param {number} [apiKeyID] * @param {boolean} [assignable] * @param {*} [options] Override http request option. * @throws {RequiredError} */ listGroups(userID?: number, apiKeyID?: number, assignable?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns all the user invites. * @summary List invites * @param {*} [options] Override http request option. * @throws {RequiredError} */ listInvites(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns all the signers for a user. * @summary List user signers * @param {number} userID * @param {*} [options] Override http request option. * @throws {RequiredError} */ listUserSigners(userID: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns all the users. * @summary List users * @param {number} [groupID] * @param {*} [options] Override http request option. * @throws {RequiredError} */ listUsers(groupID?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Removes a CORS origin. * @summary Remove CORS Origin * @param {number} originID * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeCorsOrigin(originID: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Removes an API key from a group. * @summary Remove API key from group * @param {number} groupID * @param {number} apiKeyID * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeGroupApiKey(groupID: number, apiKeyID: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Removes a role from a group. * @summary Remove role from group * @param {number} groupID * @param {string} roleShortName * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeGroupRole(groupID: number, roleShortName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Removes a user from a group. * @summary Remove user from group * @param {number} groupID * @param {number} userID * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeGroupUser(groupID: number, userID: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Removes a cloud wallet signer from a user. * @summary Remove user cloud wallet signer * @param {number} userID * @param {string} walletAddress An Ethereum address. * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeUserSignerCloudWallet(userID: number, walletAddress: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Removes a safe account signer from a user. * @summary Remove user safe account signer * @param {number} userID * @param {string} walletAddress An Ethereum address. * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeUserSignerSafeAccount(userID: number, walletAddress: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Removes a web3 wallet signer from a user. * @summary Remove user web3 wallet signer * @param {number} userID * @param {string} walletAddress An Ethereum address. * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeUserSignerWeb3Wallet(userID: number, walletAddress: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Adds or updates a user\'s cloud wallet signer. * @summary Add or update user cloud wallet signer * @param {number} userID * @param {string} walletAddress An Ethereum address. * @param {*} [options] Override http request option. * @throws {RequiredError} */ setUserSignerCloudWallet(userID: number, walletAddress: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Adds or updates a user\'s safe account signer. * @summary Add or update user safe account signer * @param {number} userID * @param {string} walletAddress An Ethereum address. * @param {SignerLabel} signerLabel * @param {*} [options] Override http request option. * @throws {RequiredError} */ setUserSignerSafeAccount(userID: number, walletAddress: string, signerLabel: SignerLabel, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Adds or updates a user\'s web3 wallet signer. * @summary Add or update user web3 wallet signer * @param {number} userID * @param {string} walletAddress An Ethereum address. * @param {SignerLabel} signerLabel * @param {*} [options] Override http request option. * @throws {RequiredError} */ setUserSignerWeb3Wallet(userID: number, walletAddress: string, signerLabel: SignerLabel, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Updates an API key. * @summary Update API key * @param {number} apiKeyID * @param {BaseAPIKey} baseAPIKey * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateApiKey(apiKeyID: number, baseAPIKey: BaseAPIKey, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * AdminApi - factory interface */ export declare const AdminApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Accepts a user invite. * @summary Accept invite * @param {string} inviteID * @param {AcceptInviteRequest} acceptInviteRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ acceptInvite(inviteID: string, acceptInviteRequest: AcceptInviteRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * Adds a CORS origin. * @summary Add CORS origin * @param {CORSOrigin} cORSOrigin * @param {*} [options] Override http request option. * @throws {RequiredError} */ addCorsOrigin(cORSOrigin: CORSOrigin, options?: RawAxiosRequestConfig): AxiosPromise; /** * Adds an API key to a group. * @summary Add API key to group * @param {number} groupID * @param {number} apiKeyID * @param {*} [options] Override http request option. * @throws {RequiredError} */ addGroupApiKey(groupID: number, apiKeyID: number, options?: RawAxiosRequestConfig): AxiosPromise; /** * Adds a role to a group. * @summary Add role to group * @param {number} groupID * @param {string} roleShortName * @param {*} [options] Override http request option. * @throws {RequiredError} */ addGroupRole(groupID: number, roleShortName: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Adds a user to a group. * @summary Add user to group * @param {number} groupID * @param {number} userID * @param {*} [options] Override http request option. * @throws {RequiredError} */ addGroupUser(groupID: number, userID: number, options?: RawAxiosRequestConfig): AxiosPromise; /** * Checks if a user invite is valid. * @summary Check invite * @param {string} inviteID * @param {*} [options] Override http request option. * @throws {RequiredError} */ checkInvite(inviteID: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Creates an API key and adds it to group IDs. * @summary Create API key * @param {CreateApiKeyRequest} createApiKeyRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ createApiKey(createApiKeyRequest: CreateApiKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * Deletes an API key. * @summary Delete API key * @param {number} apiKeyID * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteApiKey(apiKeyID: number, options?: RawAxiosRequestConfig): AxiosPromise; /** * Deletes a user invite. * @summary Delete invite * @param {string} email * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteInvite(email: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Deletes a user. * @summary Delete user * @param {number} userID * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteUser(userID: number, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns an API key. * @summary Get API Key * @param {number} apiKeyID * @param {*} [options] Override http request option. * @throws {RequiredError} */ getApiKey(apiKeyID: number, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns the current plan with limits and features. * @summary Get plan * @param {*} [options] Override http request option. * @throws {RequiredError} */ getPlan(options?: RawAxiosRequestConfig): AxiosPromise; /** * Invites a new user. * @summary Invite user * @param {InviteRequest} inviteRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ inviteUser(inviteRequest: InviteRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns all the API keys. * @summary List API keys * @param {boolean} [all] If true, returns all API keys on the system, otherwise, returns only the API keys owned by the calling user. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listApiKeys(all?: boolean, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns the audit logs. * @summary List audit logs * @param {*} [options] Override http request option. * @throws {RequiredError} */ listAuditLogs(options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns a list of CORS origins. * @summary List CORS origins * @param {*} [options] Override http request option. * @throws {RequiredError} */ listCorsOrigins(options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns all the groups. * @summary List groups * @param {number} [userID] * @param {number} [apiKeyID] * @param {boolean} [assignable] * @param {*} [options] Override http request option. * @throws {RequiredError} */ listGroups(userID?: number, apiKeyID?: number, assignable?: boolean, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns all the user invites. * @summary List invites * @param {*} [options] Override http request option. * @throws {RequiredError} */ listInvites(options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns all the signers for a user. * @summary List user signers * @param {number} userID * @param {*} [options] Override http request option. * @throws {RequiredError} */ listUserSigners(userID: number, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns all the users. * @summary List users * @param {number} [groupID] * @param {*} [options] Override http request option. * @throws {RequiredError} */ listUsers(groupID?: number, options?: RawAxiosRequestConfig): AxiosPromise; /** * Removes a CORS origin. * @summary Remove CORS Origin * @param {number} originID * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeCorsOrigin(originID: number, options?: RawAxiosRequestConfig): AxiosPromise; /** * Removes an API key from a group. * @summary Remove API key from group * @param {number} groupID * @param {number} apiKeyID * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeGroupApiKey(groupID: number, apiKeyID: number, options?: RawAxiosRequestConfig): AxiosPromise; /** * Removes a role from a group. * @summary Remove role from group * @param {number} groupID * @param {string} roleShortName * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeGroupRole(groupID: number, roleShortName: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Removes a user from a group. * @summary Remove user from group * @param {number} groupID * @param {number} userID * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeGroupUser(groupID: number, userID: number, options?: RawAxiosRequestConfig): AxiosPromise; /** * Removes a cloud wallet signer from a user. * @summary Remove user cloud wallet signer * @param {number} userID * @param {string} walletAddress An Ethereum address. * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeUserSignerCloudWallet(userID: number, walletAddress: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Removes a safe account signer from a user. * @summary Remove user safe account signer * @param {number} userID * @param {string} walletAddress An Ethereum address. * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeUserSignerSafeAccount(userID: number, walletAddress: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Removes a web3 wallet signer from a user. * @summary Remove user web3 wallet signer * @param {number} userID * @param {string} walletAddress An Ethereum address. * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeUserSignerWeb3Wallet(userID: number, walletAddress: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Adds or updates a user\'s cloud wallet signer. * @summary Add or update user cloud wallet signer * @param {number} userID * @param {string} walletAddress An Ethereum address. * @param {*} [options] Override http request option. * @throws {RequiredError} */ setUserSignerCloudWallet(userID: number, walletAddress: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Adds or updates a user\'s safe account signer. * @summary Add or update user safe account signer * @param {number} userID * @param {string} walletAddress An Ethereum address. * @param {SignerLabel} signerLabel * @param {*} [options] Override http request option. * @throws {RequiredError} */ setUserSignerSafeAccount(userID: number, walletAddress: string, signerLabel: SignerLabel, options?: RawAxiosRequestConfig): AxiosPromise; /** * Adds or updates a user\'s web3 wallet signer. * @summary Add or update user web3 wallet signer * @param {number} userID * @param {string} walletAddress An Ethereum address. * @param {SignerLabel} signerLabel * @param {*} [options] Override http request option. * @throws {RequiredError} */ setUserSignerWeb3Wallet(userID: number, walletAddress: string, signerLabel: SignerLabel, options?: RawAxiosRequestConfig): AxiosPromise; /** * Updates an API key. * @summary Update API key * @param {number} apiKeyID * @param {BaseAPIKey} baseAPIKey * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateApiKey(apiKeyID: number, baseAPIKey: BaseAPIKey, options?: RawAxiosRequestConfig): AxiosPromise; }; /** * AdminApi - interface */ export interface AdminApiInterface { /** * Accepts a user invite. * @summary Accept invite * @param {string} inviteID * @param {AcceptInviteRequest} acceptInviteRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ acceptInvite(inviteID: string, acceptInviteRequest: AcceptInviteRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * Adds a CORS origin. * @summary Add CORS origin * @param {CORSOrigin} cORSOrigin * @param {*} [options] Override http request option. * @throws {RequiredError} */ addCorsOrigin(cORSOrigin: CORSOrigin, options?: RawAxiosRequestConfig): AxiosPromise; /** * Adds an API key to a group. * @summary Add API key to group * @param {number} groupID * @param {number} apiKeyID * @param {*} [options] Override http request option. * @throws {RequiredError} */ addGroupApiKey(groupID: number, apiKeyID: number, options?: RawAxiosRequestConfig): AxiosPromise; /** * Adds a role to a group. * @summary Add role to group * @param {number} groupID * @param {string} roleShortName * @param {*} [options] Override http request option. * @throws {RequiredError} */ addGroupRole(groupID: number, roleShortName: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Adds a user to a group. * @summary Add user to group * @param {number} groupID * @param {number} userID * @param {*} [options] Override http request option. * @throws {RequiredError} */ addGroupUser(groupID: number, userID: number, options?: RawAxiosRequestConfig): AxiosPromise; /** * Checks if a user invite is valid. * @summary Check invite * @param {string} inviteID * @param {*} [options] Override http request option. * @throws {RequiredError} */ checkInvite(inviteID: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Creates an API key and adds it to group IDs. * @summary Create API key * @param {CreateApiKeyRequest} createApiKeyRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ createApiKey(createApiKeyRequest: CreateApiKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * Deletes an API key. * @summary Delete API key * @param {number} apiKeyID * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteApiKey(apiKeyID: number, options?: RawAxiosRequestConfig): AxiosPromise; /** * Deletes a user invite. * @summary Delete invite * @param {string} email * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteInvite(email: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Deletes a user. * @summary Delete user * @param {number} userID * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteUser(userID: number, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns an API key. * @summary Get API Key * @param {number} apiKeyID * @param {*} [options] Override http request option. * @throws {RequiredError} */ getApiKey(apiKeyID: number, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns the current plan with limits and features. * @summary Get plan * @param {*} [options] Override http request option. * @throws {RequiredError} */ getPlan(options?: RawAxiosRequestConfig): AxiosPromise; /** * Invites a new user. * @summary Invite user * @param {InviteRequest} inviteRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ inviteUser(inviteRequest: InviteRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns all the API keys. * @summary List API keys * @param {boolean} [all] If true, returns all API keys on the system, otherwise, returns only the API keys owned by the calling user. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listApiKeys(all?: boolean, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns the audit logs. * @summary List audit logs * @param {*} [options] Override http request option. * @throws {RequiredError} */ listAuditLogs(options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns a list of CORS origins. * @summary List CORS origins * @param {*} [options] Override http request option. * @throws {RequiredError} */ listCorsOrigins(options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns all the groups. * @summary List groups * @param {number} [userID] * @param {number} [apiKeyID] * @param {boolean} [assignable] * @param {*} [options] Override http request option. * @throws {RequiredError} */ listGroups(userID?: number, apiKeyID?: number, assignable?: boolean, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns all the user invites. * @summary List invites * @param {*} [options] Override http request option. * @throws {RequiredError} */ listInvites(options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns all the signers for a user. * @summary List user signers * @param {number} userID * @param {*} [options] Override http request option. * @throws {RequiredError} */ listUserSigners(userID: number, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns all the users. * @summary List users * @param {number} [groupID] * @param {*} [options] Override http request option. * @throws {RequiredError} */ listUsers(groupID?: number, options?: RawAxiosRequestConfig): AxiosPromise; /** * Removes a CORS origin. * @summary Remove CORS Origin * @param {number} originID * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeCorsOrigin(originID: number, options?: RawAxiosRequestConfig): AxiosPromise; /** * Removes an API key from a group. * @summary Remove API key from group * @param {number} groupID * @param {number} apiKeyID * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeGroupApiKey(groupID: number, apiKeyID: number, options?: RawAxiosRequestConfig): AxiosPromise; /** * Removes a role from a group. * @summary Remove role from group * @param {number} groupID * @param {string} roleShortName * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeGroupRole(groupID: number, roleShortName: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Removes a user from a group. * @summary Remove user from group * @param {number} groupID * @param {number} userID * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeGroupUser(groupID: number, userID: number, options?: RawAxiosRequestConfig): AxiosPromise; /** * Removes a cloud wallet signer from a user. * @summary Remove user cloud wallet signer * @param {number} userID * @param {string} walletAddress An Ethereum address. * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeUserSignerCloudWallet(userID: number, walletAddress: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Removes a safe account signer from a user. * @summary Remove user safe account signer * @param {number} userID * @param {string} walletAddress An Ethereum address. * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeUserSignerSafeAccount(userID: number, walletAddress: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Removes a web3 wallet signer from a user. * @summary Remove user web3 wallet signer * @param {number} userID * @param {string} walletAddress An Ethereum address. * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeUserSignerWeb3Wallet(userID: number, walletAddress: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Adds or updates a user\'s cloud wallet signer. * @summary Add or update user cloud wallet signer * @param {number} userID * @param {string} walletAddress An Ethereum address. * @param {*} [options] Override http request option. * @throws {RequiredError} */ setUserSignerCloudWallet(userID: number, walletAddress: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Adds or updates a user\'s safe account signer. * @summary Add or update user safe account signer * @param {number} userID * @param {string} walletAddress An Ethereum address. * @param {SignerLabel} signerLabel * @param {*} [options] Override http request option. * @throws {RequiredError} */ setUserSignerSafeAccount(userID: number, walletAddress: string, signerLabel: SignerLabel, options?: RawAxiosRequestConfig): AxiosPromise; /** * Adds or updates a user\'s web3 wallet signer. * @summary Add or update user web3 wallet signer * @param {number} userID * @param {string} walletAddress An Ethereum address. * @param {SignerLabel} signerLabel * @param {*} [options] Override http request option. * @throws {RequiredError} */ setUserSignerWeb3Wallet(userID: number, walletAddress: string, signerLabel: SignerLabel, options?: RawAxiosRequestConfig): AxiosPromise; /** * Updates an API key. * @summary Update API key * @param {number} apiKeyID * @param {BaseAPIKey} baseAPIKey * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateApiKey(apiKeyID: number, baseAPIKey: BaseAPIKey, options?: RawAxiosRequestConfig): AxiosPromise; } /** * AdminApi - object-oriented interface */ export declare class AdminApi extends BaseAPI implements AdminApiInterface { /** * Accepts a user invite. * @summary Accept invite * @param {string} inviteID * @param {AcceptInviteRequest} acceptInviteRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ acceptInvite(inviteID: string, acceptInviteRequest: AcceptInviteRequest, options?: RawAxiosRequestConfig): Promise>; /** * Adds a CORS origin. * @summary Add CORS origin * @param {CORSOrigin} cORSOrigin * @param {*} [options] Override http request option. * @throws {RequiredError} */ addCorsOrigin(cORSOrigin: CORSOrigin, options?: RawAxiosRequestConfig): Promise>; /** * Adds an API key to a group. * @summary Add API key to group * @param {number} groupID * @param {number} apiKeyID * @param {*} [options] Override http request option. * @throws {RequiredError} */ addGroupApiKey(groupID: number, apiKeyID: number, options?: RawAxiosRequestConfig): Promise>; /** * Adds a role to a group. * @summary Add role to group * @param {number} groupID * @param {string} roleShortName * @param {*} [options] Override http request option. * @throws {RequiredError} */ addGroupRole(groupID: number, roleShortName: string, options?: RawAxiosRequestConfig): Promise>; /** * Adds a user to a group. * @summary Add user to group * @param {number} groupID * @param {number} userID * @param {*} [options] Override http request option. * @throws {RequiredError} */ addGroupUser(groupID: number, userID: number, options?: RawAxiosRequestConfig): Promise>; /** * Checks if a user invite is valid. * @summary Check invite * @param {string} inviteID * @param {*} [options] Override http request option. * @throws {RequiredError} */ checkInvite(inviteID: string, options?: RawAxiosRequestConfig): Promise>; /** * Creates an API key and adds it to group IDs. * @summary Create API key * @param {CreateApiKeyRequest} createApiKeyRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ createApiKey(createApiKeyRequest: CreateApiKeyRequest, options?: RawAxiosRequestConfig): Promise>; /** * Deletes an API key. * @summary Delete API key * @param {number} apiKeyID * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteApiKey(apiKeyID: number, options?: RawAxiosRequestConfig): Promise>; /** * Deletes a user invite. * @summary Delete invite * @param {string} email * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteInvite(email: string, options?: RawAxiosRequestConfig): Promise>; /** * Deletes a user. * @summary Delete user * @param {number} userID * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteUser(userID: number, options?: RawAxiosRequestConfig): Promise>; /** * Returns an API key. * @summary Get API Key * @param {number} apiKeyID * @param {*} [options] Override http request option. * @throws {RequiredError} */ getApiKey(apiKeyID: number, options?: RawAxiosRequestConfig): Promise>; /** * Returns the current plan with limits and features. * @summary Get plan * @param {*} [options] Override http request option. * @throws {RequiredError} */ getPlan(options?: RawAxiosRequestConfig): Promise>; /** * Invites a new user. * @summary Invite user * @param {InviteRequest} inviteRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ inviteUser(inviteRequest: InviteRequest, options?: RawAxiosRequestConfig): Promise>; /** * Returns all the API keys. * @summary List API keys * @param {boolean} [all] If true, returns all API keys on the system, otherwise, returns only the API keys owned by the calling user. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listApiKeys(all?: boolean, options?: RawAxiosRequestConfig): Promise>; /** * Returns the audit logs. * @summary List audit logs * @param {*} [options] Override http request option. * @throws {RequiredError} */ listAuditLogs(options?: RawAxiosRequestConfig): Promise>; /** * Returns a list of CORS origins. * @summary List CORS origins * @param {*} [options] Override http request option. * @throws {RequiredError} */ listCorsOrigins(options?: RawAxiosRequestConfig): Promise>; /** * Returns all the groups. * @summary List groups * @param {number} [userID] * @param {number} [apiKeyID] * @param {boolean} [assignable] * @param {*} [options] Override http request option. * @throws {RequiredError} */ listGroups(userID?: number, apiKeyID?: number, assignable?: boolean, options?: RawAxiosRequestConfig): Promise>; /** * Returns all the user invites. * @summary List invites * @param {*} [options] Override http request option. * @throws {RequiredError} */ listInvites(options?: RawAxiosRequestConfig): Promise>; /** * Returns all the signers for a user. * @summary List user signers * @param {number} userID * @param {*} [options] Override http request option. * @throws {RequiredError} */ listUserSigners(userID: number, options?: RawAxiosRequestConfig): Promise>; /** * Returns all the users. * @summary List users * @param {number} [groupID] * @param {*} [options] Override http request option. * @throws {RequiredError} */ listUsers(groupID?: number, options?: RawAxiosRequestConfig): Promise>; /** * Removes a CORS origin. * @summary Remove CORS Origin * @param {number} originID * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeCorsOrigin(originID: number, options?: RawAxiosRequestConfig): Promise>; /** * Removes an API key from a group. * @summary Remove API key from group * @param {number} groupID * @param {number} apiKeyID * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeGroupApiKey(groupID: number, apiKeyID: number, options?: RawAxiosRequestConfig): Promise>; /** * Removes a role from a group. * @summary Remove role from group * @param {number} groupID * @param {string} roleShortName * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeGroupRole(groupID: number, roleShortName: string, options?: RawAxiosRequestConfig): Promise>; /** * Removes a user from a group. * @summary Remove user from group * @param {number} groupID * @param {number} userID * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeGroupUser(groupID: number, userID: number, options?: RawAxiosRequestConfig): Promise>; /** * Removes a cloud wallet signer from a user. * @summary Remove user cloud wallet signer * @param {number} userID * @param {string} walletAddress An Ethereum address. * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeUserSignerCloudWallet(userID: number, walletAddress: string, options?: RawAxiosRequestConfig): Promise>; /** * Removes a safe account signer from a user. * @summary Remove user safe account signer * @param {number} userID * @param {string} walletAddress An Ethereum address. * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeUserSignerSafeAccount(userID: number, walletAddress: string, options?: RawAxiosRequestConfig): Promise>; /** * Removes a web3 wallet signer from a user. * @summary Remove user web3 wallet signer * @param {number} userID * @param {string} walletAddress An Ethereum address. * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeUserSignerWeb3Wallet(userID: number, walletAddress: string, options?: RawAxiosRequestConfig): Promise>; /** * Adds or updates a user\'s cloud wallet signer. * @summary Add or update user cloud wallet signer * @param {number} userID * @param {string} walletAddress An Ethereum address. * @param {*} [options] Override http request option. * @throws {RequiredError} */ setUserSignerCloudWallet(userID: number, walletAddress: string, options?: RawAxiosRequestConfig): Promise>; /** * Adds or updates a user\'s safe account signer. * @summary Add or update user safe account signer * @param {number} userID * @param {string} walletAddress An Ethereum address. * @param {SignerLabel} signerLabel * @param {*} [options] Override http request option. * @throws {RequiredError} */ setUserSignerSafeAccount(userID: number, walletAddress: string, signerLabel: SignerLabel, options?: RawAxiosRequestConfig): Promise>; /** * Adds or updates a user\'s web3 wallet signer. * @summary Add or update user web3 wallet signer * @param {number} userID * @param {string} walletAddress An Ethereum address. * @param {SignerLabel} signerLabel * @param {*} [options] Override http request option. * @throws {RequiredError} */ setUserSignerWeb3Wallet(userID: number, walletAddress: string, signerLabel: SignerLabel, options?: RawAxiosRequestConfig): Promise>; /** * Updates an API key. * @summary Update API key * @param {number} apiKeyID * @param {BaseAPIKey} baseAPIKey * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateApiKey(apiKeyID: number, baseAPIKey: BaseAPIKey, options?: RawAxiosRequestConfig): Promise>; } /** * ChainsApi - axios parameter creator */ export declare const ChainsApiAxiosParamCreator: (configuration?: Configuration) => { /** * Returns a block. * @summary Get a block * @param {string} block A block number, hash or \'latest\' for the latest block. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getBlock: (block: string, options?: RawAxiosRequestConfig) => Promise; /** * Returns the chain status. * @summary Get chain status * @param {*} [options] Override http request option. * @throws {RequiredError} */ getChainStatus: (options?: RawAxiosRequestConfig) => Promise; /** * Returns a transaction. * @summary Get transaction * @param {string} hash A transaction hash. * @param {GetTransactionIncludeEnum} [include] Include contract and method call details, if available. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getTransaction: (hash: string, include?: GetTransactionIncludeEnum, options?: RawAxiosRequestConfig) => Promise; /** * Returns the receipt of a transaction that\'s been successfully added to the blockchain. * @summary Get transaction receipt * @param {string} hash A transaction hash. * @param {GetTransactionReceiptIncludeEnum} [include] Include contract and event details, if available. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getTransactionReceipt: (hash: string, include?: GetTransactionReceiptIncludeEnum, options?: RawAxiosRequestConfig) => Promise; /** * Receives a pre-signed raw transaction and submits it to the blockchain. * @summary Submit signed transaction * @param {SignedTransactionSubmission} signedTransactionSubmission * @param {*} [options] Override http request option. * @throws {RequiredError} */ submitSignedTransaction: (signedTransactionSubmission: SignedTransactionSubmission, options?: RawAxiosRequestConfig) => Promise; /** * Returns a transaction for sending the native token between addresses. * @summary Transfer ETH * @param {PostMethodArgs} postMethodArgs * @param {*} [options] Override http request option. * @throws {RequiredError} */ transferEth: (postMethodArgs: PostMethodArgs, options?: RawAxiosRequestConfig) => Promise; }; /** * ChainsApi - functional programming interface */ export declare const ChainsApiFp: (configuration?: Configuration) => { /** * Returns a block. * @summary Get a block * @param {string} block A block number, hash or \'latest\' for the latest block. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getBlock(block: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns the chain status. * @summary Get chain status * @param {*} [options] Override http request option. * @throws {RequiredError} */ getChainStatus(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns a transaction. * @summary Get transaction * @param {string} hash A transaction hash. * @param {GetTransactionIncludeEnum} [include] Include contract and method call details, if available. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getTransaction(hash: string, include?: GetTransactionIncludeEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns the receipt of a transaction that\'s been successfully added to the blockchain. * @summary Get transaction receipt * @param {string} hash A transaction hash. * @param {GetTransactionReceiptIncludeEnum} [include] Include contract and event details, if available. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getTransactionReceipt(hash: string, include?: GetTransactionReceiptIncludeEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Receives a pre-signed raw transaction and submits it to the blockchain. * @summary Submit signed transaction * @param {SignedTransactionSubmission} signedTransactionSubmission * @param {*} [options] Override http request option. * @throws {RequiredError} */ submitSignedTransaction(signedTransactionSubmission: SignedTransactionSubmission, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns a transaction for sending the native token between addresses. * @summary Transfer ETH * @param {PostMethodArgs} postMethodArgs * @param {*} [options] Override http request option. * @throws {RequiredError} */ transferEth(postMethodArgs: PostMethodArgs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * ChainsApi - factory interface */ export declare const ChainsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Returns a block. * @summary Get a block * @param {string} block A block number, hash or \'latest\' for the latest block. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getBlock(block: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns the chain status. * @summary Get chain status * @param {*} [options] Override http request option. * @throws {RequiredError} */ getChainStatus(options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns a transaction. * @summary Get transaction * @param {string} hash A transaction hash. * @param {GetTransactionIncludeEnum} [include] Include contract and method call details, if available. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getTransaction(hash: string, include?: GetTransactionIncludeEnum, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns the receipt of a transaction that\'s been successfully added to the blockchain. * @summary Get transaction receipt * @param {string} hash A transaction hash. * @param {GetTransactionReceiptIncludeEnum} [include] Include contract and event details, if available. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getTransactionReceipt(hash: string, include?: GetTransactionReceiptIncludeEnum, options?: RawAxiosRequestConfig): AxiosPromise; /** * Receives a pre-signed raw transaction and submits it to the blockchain. * @summary Submit signed transaction * @param {SignedTransactionSubmission} signedTransactionSubmission * @param {*} [options] Override http request option. * @throws {RequiredError} */ submitSignedTransaction(signedTransactionSubmission: SignedTransactionSubmission, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns a transaction for sending the native token between addresses. * @summary Transfer ETH * @param {PostMethodArgs} postMethodArgs * @param {*} [options] Override http request option. * @throws {RequiredError} */ transferEth(postMethodArgs: PostMethodArgs, options?: RawAxiosRequestConfig): AxiosPromise; }; /** * ChainsApi - interface */ export interface ChainsApiInterface { /** * Returns a block. * @summary Get a block * @param {string} block A block number, hash or \'latest\' for the latest block. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getBlock(block: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns the chain status. * @summary Get chain status * @param {*} [options] Override http request option. * @throws {RequiredError} */ getChainStatus(options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns a transaction. * @summary Get transaction * @param {string} hash A transaction hash. * @param {GetTransactionIncludeEnum} [include] Include contract and method call details, if available. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getTransaction(hash: string, include?: GetTransactionIncludeEnum, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns the receipt of a transaction that\'s been successfully added to the blockchain. * @summary Get transaction receipt * @param {string} hash A transaction hash. * @param {GetTransactionReceiptIncludeEnum} [include] Include contract and event details, if available. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getTransactionReceipt(hash: string, include?: GetTransactionReceiptIncludeEnum, options?: RawAxiosRequestConfig): AxiosPromise; /** * Receives a pre-signed raw transaction and submits it to the blockchain. * @summary Submit signed transaction * @param {SignedTransactionSubmission} signedTransactionSubmission * @param {*} [options] Override http request option. * @throws {RequiredError} */ submitSignedTransaction(signedTransactionSubmission: SignedTransactionSubmission, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns a transaction for sending the native token between addresses. * @summary Transfer ETH * @param {PostMethodArgs} postMethodArgs * @param {*} [options] Override http request option. * @throws {RequiredError} */ transferEth(postMethodArgs: PostMethodArgs, options?: RawAxiosRequestConfig): AxiosPromise; } /** * ChainsApi - object-oriented interface */ export declare class ChainsApi extends BaseAPI implements ChainsApiInterface { /** * Returns a block. * @summary Get a block * @param {string} block A block number, hash or \'latest\' for the latest block. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getBlock(block: string, options?: RawAxiosRequestConfig): Promise>; /** * Returns the chain status. * @summary Get chain status * @param {*} [options] Override http request option. * @throws {RequiredError} */ getChainStatus(options?: RawAxiosRequestConfig): Promise>; /** * Returns a transaction. * @summary Get transaction * @param {string} hash A transaction hash. * @param {GetTransactionIncludeEnum} [include] Include contract and method call details, if available. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getTransaction(hash: string, include?: GetTransactionIncludeEnum, options?: RawAxiosRequestConfig): Promise>; /** * Returns the receipt of a transaction that\'s been successfully added to the blockchain. * @summary Get transaction receipt * @param {string} hash A transaction hash. * @param {GetTransactionReceiptIncludeEnum} [include] Include contract and event details, if available. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getTransactionReceipt(hash: string, include?: GetTransactionReceiptIncludeEnum, options?: RawAxiosRequestConfig): Promise>; /** * Receives a pre-signed raw transaction and submits it to the blockchain. * @summary Submit signed transaction * @param {SignedTransactionSubmission} signedTransactionSubmission * @param {*} [options] Override http request option. * @throws {RequiredError} */ submitSignedTransaction(signedTransactionSubmission: SignedTransactionSubmission, options?: RawAxiosRequestConfig): Promise>; /** * Returns a transaction for sending the native token between addresses. * @summary Transfer ETH * @param {PostMethodArgs} postMethodArgs * @param {*} [options] Override http request option. * @throws {RequiredError} */ transferEth(postMethodArgs: PostMethodArgs, options?: RawAxiosRequestConfig): Promise>; } export declare const GetTransactionIncludeEnum: { readonly Contract: "contract"; }; export type GetTransactionIncludeEnum = typeof GetTransactionIncludeEnum[keyof typeof GetTransactionIncludeEnum]; export declare const GetTransactionReceiptIncludeEnum: { readonly Contract: "contract"; }; export type GetTransactionReceiptIncludeEnum = typeof GetTransactionReceiptIncludeEnum[keyof typeof GetTransactionReceiptIncludeEnum]; /** * ContractsApi - axios parameter creator */ export declare const ContractsApiAxiosParamCreator: (configuration?: Configuration) => { /** * Builds a transaction to call the given contract function. Returns a transaction to be signed and signs and submits to the blockchain it if the `signAndSubmit` flag is enabled. * @summary Call a contract function * @param {string} addressOrAlias An address or the alias of an address. * @param {string} contract The label of the contract in MultiBaas. * @param {string} method Contract function. * @param {PostMethodArgs} postMethodArgs * @param {*} [options] Override http request option. * @throws {RequiredError} */ callContractFunction: (addressOrAlias: string, contract: string, method: string, postMethodArgs: PostMethodArgs, options?: RawAxiosRequestConfig) => Promise; /** * Adds a contract. * @summary Create a contract * @param {string} contract The label of the contract in MultiBaas. * @param {BaseContract} baseContract * @param {*} [options] Override http request option. * @throws {RequiredError} */ createContract: (contract: string, baseContract: BaseContract, options?: RawAxiosRequestConfig) => Promise; /** * Adds multiple contracts. * @summary Create multiple contracts * @param {Array} baseContract * @param {*} [options] Override http request option. * @throws {RequiredError} */ createContracts: (baseContract: Array, options?: RawAxiosRequestConfig) => Promise; /** * Deletes a contract and all its versions. * @summary Delete a contract * @param {string} contract The label of the contract in MultiBaas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteContract: (contract: string, options?: RawAxiosRequestConfig) => Promise; /** * Deletes a specific contract version. * @summary Delete a contract version * @param {string} contract The label of the contract in MultiBaas. * @param {string} version The version of the contract in MultiBaas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteContractVersion: (contract: string, version: string, options?: RawAxiosRequestConfig) => Promise; /** * Returns a transaction to deploy the given contract to the blockchain. * @summary Deploy a contract * @param {string} contract The label of the contract in MultiBaas. * @param {PostMethodArgs} postMethodArgs * @param {*} [options] Override http request option. * @throws {RequiredError} */ deployContract: (contract: string, postMethodArgs: PostMethodArgs, options?: RawAxiosRequestConfig) => Promise; /** * Returns a transaction to deploy the given contract version to the blockchain. * @summary Deploy a contract version * @param {string} contract The label of the contract in MultiBaas. * @param {string} version The version of the contract in MultiBaas. * @param {PostMethodArgs} postMethodArgs * @param {*} [options] Override http request option. * @throws {RequiredError} */ deployContractVersion: (contract: string, version: string, postMethodArgs: PostMethodArgs, options?: RawAxiosRequestConfig) => Promise; /** * Returns the given contract. * @summary Get a contract * @param {string} contract The label of the contract in MultiBaas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getContract: (contract: string, options?: RawAxiosRequestConfig) => Promise; /** * Returns a specific contract version. * @summary Get a contract version * @param {string} contract The label of the contract in MultiBaas. * @param {string} version The version of the contract in MultiBaas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getContractVersion: (contract: string, version: string, options?: RawAxiosRequestConfig) => Promise; /** * Returns all the versions of a contract. * @summary Get all contract versions * @param {string} contract The label of the contract in MultiBaas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getContractVersions: (contract: string, options?: RawAxiosRequestConfig) => Promise; /** * Returns the event indexing status for a given address and contract. * @summary Get event indexing status * @param {string} addressOrAlias An address or the alias of an address. * @param {string} contract The label of the contract in MultiBaas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getEventIndexingStatus: (addressOrAlias: string, contract: string, options?: RawAxiosRequestConfig) => Promise; /** * Returns the type conversion options for a given contract and event signature. * @summary Get event type conversions * @param {string} contract The label of the contract in MultiBaas. * @param {string} version The version of the contract in MultiBaas. * @param {string} event Contract Event. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getEventTypeConversions: (contract: string, version: string, event: string, options?: RawAxiosRequestConfig) => Promise; /** * Returns the type conversion options for a given contract and function signature. * @summary Get function type conversions * @param {string} contract The label of the contract in MultiBaas. * @param {string} version The version of the contract in MultiBaas. * @param {string} method Contract function. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getFunctionTypeConversions: (contract: string, version: string, method: string, options?: RawAxiosRequestConfig) => Promise; /** * Links an address to a contract. * @summary Link address and contract * @param {string} addressOrAlias An address or the alias of an address. * @param {LinkAddressContractRequest} linkAddressContractRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ linkAddressContract: (addressOrAlias: string, linkAddressContractRequest: LinkAddressContractRequest, options?: RawAxiosRequestConfig) => Promise; /** * Returns a list of the versions of a contract. * @summary List all contract versions * @param {string} contract The label of the contract in MultiBaas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listContractVersions: (contract: string, options?: RawAxiosRequestConfig) => Promise; /** * Returns a list of contracts. * @summary List contracts * @param {*} [options] Override http request option. * @throws {RequiredError} */ listContracts: (options?: RawAxiosRequestConfig) => Promise; /** * Sets the type conversion options for a given contract and event signature. * @summary Set event type conversions * @param {string} contract The label of the contract in MultiBaas. * @param {string} version The version of the contract in MultiBaas. * @param {string} event Contract Event. * @param {ContractEventOptions} contractEventOptions * @param {*} [options] Override http request option. * @throws {RequiredError} */ setEventTypeConversions: (contract: string, version: string, event: string, contractEventOptions: ContractEventOptions, options?: RawAxiosRequestConfig) => Promise; /** * Sets the type conversion options for a given contract and function signature. * @summary Set function type conversions * @param {string} contract The label of the contract in MultiBaas. * @param {string} version The version of the contract in MultiBaas. * @param {string} method Contract function. * @param {ContractMethodOptions} contractMethodOptions * @param {*} [options] Override http request option. * @throws {RequiredError} */ setFunctionTypeConversions: (contract: string, version: string, method: string, contractMethodOptions: ContractMethodOptions, options?: RawAxiosRequestConfig) => Promise; /** * Unlinks an address from a contract. * @summary Unlink address and contract * @param {string} addressOrAlias An address or the alias of an address. * @param {string} contract The label of the contract in MultiBaas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ unlinkAddressContract: (addressOrAlias: string, contract: string, options?: RawAxiosRequestConfig) => Promise; }; /** * ContractsApi - functional programming interface */ export declare const ContractsApiFp: (configuration?: Configuration) => { /** * Builds a transaction to call the given contract function. Returns a transaction to be signed and signs and submits to the blockchain it if the `signAndSubmit` flag is enabled. * @summary Call a contract function * @param {string} addressOrAlias An address or the alias of an address. * @param {string} contract The label of the contract in MultiBaas. * @param {string} method Contract function. * @param {PostMethodArgs} postMethodArgs * @param {*} [options] Override http request option. * @throws {RequiredError} */ callContractFunction(addressOrAlias: string, contract: string, method: string, postMethodArgs: PostMethodArgs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Adds a contract. * @summary Create a contract * @param {string} contract The label of the contract in MultiBaas. * @param {BaseContract} baseContract * @param {*} [options] Override http request option. * @throws {RequiredError} */ createContract(contract: string, baseContract: BaseContract, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Adds multiple contracts. * @summary Create multiple contracts * @param {Array} baseContract * @param {*} [options] Override http request option. * @throws {RequiredError} */ createContracts(baseContract: Array, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Deletes a contract and all its versions. * @summary Delete a contract * @param {string} contract The label of the contract in MultiBaas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteContract(contract: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Deletes a specific contract version. * @summary Delete a contract version * @param {string} contract The label of the contract in MultiBaas. * @param {string} version The version of the contract in MultiBaas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteContractVersion(contract: string, version: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns a transaction to deploy the given contract to the blockchain. * @summary Deploy a contract * @param {string} contract The label of the contract in MultiBaas. * @param {PostMethodArgs} postMethodArgs * @param {*} [options] Override http request option. * @throws {RequiredError} */ deployContract(contract: string, postMethodArgs: PostMethodArgs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns a transaction to deploy the given contract version to the blockchain. * @summary Deploy a contract version * @param {string} contract The label of the contract in MultiBaas. * @param {string} version The version of the contract in MultiBaas. * @param {PostMethodArgs} postMethodArgs * @param {*} [options] Override http request option. * @throws {RequiredError} */ deployContractVersion(contract: string, version: string, postMethodArgs: PostMethodArgs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns the given contract. * @summary Get a contract * @param {string} contract The label of the contract in MultiBaas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getContract(contract: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns a specific contract version. * @summary Get a contract version * @param {string} contract The label of the contract in MultiBaas. * @param {string} version The version of the contract in MultiBaas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getContractVersion(contract: string, version: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns all the versions of a contract. * @summary Get all contract versions * @param {string} contract The label of the contract in MultiBaas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getContractVersions(contract: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns the event indexing status for a given address and contract. * @summary Get event indexing status * @param {string} addressOrAlias An address or the alias of an address. * @param {string} contract The label of the contract in MultiBaas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getEventIndexingStatus(addressOrAlias: string, contract: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns the type conversion options for a given contract and event signature. * @summary Get event type conversions * @param {string} contract The label of the contract in MultiBaas. * @param {string} version The version of the contract in MultiBaas. * @param {string} event Contract Event. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getEventTypeConversions(contract: string, version: string, event: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns the type conversion options for a given contract and function signature. * @summary Get function type conversions * @param {string} contract The label of the contract in MultiBaas. * @param {string} version The version of the contract in MultiBaas. * @param {string} method Contract function. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getFunctionTypeConversions(contract: string, version: string, method: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Links an address to a contract. * @summary Link address and contract * @param {string} addressOrAlias An address or the alias of an address. * @param {LinkAddressContractRequest} linkAddressContractRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ linkAddressContract(addressOrAlias: string, linkAddressContractRequest: LinkAddressContractRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns a list of the versions of a contract. * @summary List all contract versions * @param {string} contract The label of the contract in MultiBaas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listContractVersions(contract: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns a list of contracts. * @summary List contracts * @param {*} [options] Override http request option. * @throws {RequiredError} */ listContracts(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Sets the type conversion options for a given contract and event signature. * @summary Set event type conversions * @param {string} contract The label of the contract in MultiBaas. * @param {string} version The version of the contract in MultiBaas. * @param {string} event Contract Event. * @param {ContractEventOptions} contractEventOptions * @param {*} [options] Override http request option. * @throws {RequiredError} */ setEventTypeConversions(contract: string, version: string, event: string, contractEventOptions: ContractEventOptions, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Sets the type conversion options for a given contract and function signature. * @summary Set function type conversions * @param {string} contract The label of the contract in MultiBaas. * @param {string} version The version of the contract in MultiBaas. * @param {string} method Contract function. * @param {ContractMethodOptions} contractMethodOptions * @param {*} [options] Override http request option. * @throws {RequiredError} */ setFunctionTypeConversions(contract: string, version: string, method: string, contractMethodOptions: ContractMethodOptions, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Unlinks an address from a contract. * @summary Unlink address and contract * @param {string} addressOrAlias An address or the alias of an address. * @param {string} contract The label of the contract in MultiBaas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ unlinkAddressContract(addressOrAlias: string, contract: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * ContractsApi - factory interface */ export declare const ContractsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Builds a transaction to call the given contract function. Returns a transaction to be signed and signs and submits to the blockchain it if the `signAndSubmit` flag is enabled. * @summary Call a contract function * @param {string} addressOrAlias An address or the alias of an address. * @param {string} contract The label of the contract in MultiBaas. * @param {string} method Contract function. * @param {PostMethodArgs} postMethodArgs * @param {*} [options] Override http request option. * @throws {RequiredError} */ callContractFunction(addressOrAlias: string, contract: string, method: string, postMethodArgs: PostMethodArgs, options?: RawAxiosRequestConfig): AxiosPromise; /** * Adds a contract. * @summary Create a contract * @param {string} contract The label of the contract in MultiBaas. * @param {BaseContract} baseContract * @param {*} [options] Override http request option. * @throws {RequiredError} */ createContract(contract: string, baseContract: BaseContract, options?: RawAxiosRequestConfig): AxiosPromise; /** * Adds multiple contracts. * @summary Create multiple contracts * @param {Array} baseContract * @param {*} [options] Override http request option. * @throws {RequiredError} */ createContracts(baseContract: Array, options?: RawAxiosRequestConfig): AxiosPromise; /** * Deletes a contract and all its versions. * @summary Delete a contract * @param {string} contract The label of the contract in MultiBaas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteContract(contract: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Deletes a specific contract version. * @summary Delete a contract version * @param {string} contract The label of the contract in MultiBaas. * @param {string} version The version of the contract in MultiBaas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteContractVersion(contract: string, version: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns a transaction to deploy the given contract to the blockchain. * @summary Deploy a contract * @param {string} contract The label of the contract in MultiBaas. * @param {PostMethodArgs} postMethodArgs * @param {*} [options] Override http request option. * @throws {RequiredError} */ deployContract(contract: string, postMethodArgs: PostMethodArgs, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns a transaction to deploy the given contract version to the blockchain. * @summary Deploy a contract version * @param {string} contract The label of the contract in MultiBaas. * @param {string} version The version of the contract in MultiBaas. * @param {PostMethodArgs} postMethodArgs * @param {*} [options] Override http request option. * @throws {RequiredError} */ deployContractVersion(contract: string, version: string, postMethodArgs: PostMethodArgs, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns the given contract. * @summary Get a contract * @param {string} contract The label of the contract in MultiBaas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getContract(contract: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns a specific contract version. * @summary Get a contract version * @param {string} contract The label of the contract in MultiBaas. * @param {string} version The version of the contract in MultiBaas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getContractVersion(contract: string, version: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns all the versions of a contract. * @summary Get all contract versions * @param {string} contract The label of the contract in MultiBaas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getContractVersions(contract: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns the event indexing status for a given address and contract. * @summary Get event indexing status * @param {string} addressOrAlias An address or the alias of an address. * @param {string} contract The label of the contract in MultiBaas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getEventIndexingStatus(addressOrAlias: string, contract: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns the type conversion options for a given contract and event signature. * @summary Get event type conversions * @param {string} contract The label of the contract in MultiBaas. * @param {string} version The version of the contract in MultiBaas. * @param {string} event Contract Event. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getEventTypeConversions(contract: string, version: string, event: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns the type conversion options for a given contract and function signature. * @summary Get function type conversions * @param {string} contract The label of the contract in MultiBaas. * @param {string} version The version of the contract in MultiBaas. * @param {string} method Contract function. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getFunctionTypeConversions(contract: string, version: string, method: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Links an address to a contract. * @summary Link address and contract * @param {string} addressOrAlias An address or the alias of an address. * @param {LinkAddressContractRequest} linkAddressContractRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ linkAddressContract(addressOrAlias: string, linkAddressContractRequest: LinkAddressContractRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns a list of the versions of a contract. * @summary List all contract versions * @param {string} contract The label of the contract in MultiBaas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listContractVersions(contract: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns a list of contracts. * @summary List contracts * @param {*} [options] Override http request option. * @throws {RequiredError} */ listContracts(options?: RawAxiosRequestConfig): AxiosPromise; /** * Sets the type conversion options for a given contract and event signature. * @summary Set event type conversions * @param {string} contract The label of the contract in MultiBaas. * @param {string} version The version of the contract in MultiBaas. * @param {string} event Contract Event. * @param {ContractEventOptions} contractEventOptions * @param {*} [options] Override http request option. * @throws {RequiredError} */ setEventTypeConversions(contract: string, version: string, event: string, contractEventOptions: ContractEventOptions, options?: RawAxiosRequestConfig): AxiosPromise; /** * Sets the type conversion options for a given contract and function signature. * @summary Set function type conversions * @param {string} contract The label of the contract in MultiBaas. * @param {string} version The version of the contract in MultiBaas. * @param {string} method Contract function. * @param {ContractMethodOptions} contractMethodOptions * @param {*} [options] Override http request option. * @throws {RequiredError} */ setFunctionTypeConversions(contract: string, version: string, method: string, contractMethodOptions: ContractMethodOptions, options?: RawAxiosRequestConfig): AxiosPromise; /** * Unlinks an address from a contract. * @summary Unlink address and contract * @param {string} addressOrAlias An address or the alias of an address. * @param {string} contract The label of the contract in MultiBaas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ unlinkAddressContract(addressOrAlias: string, contract: string, options?: RawAxiosRequestConfig): AxiosPromise; }; /** * ContractsApi - interface */ export interface ContractsApiInterface { /** * Builds a transaction to call the given contract function. Returns a transaction to be signed and signs and submits to the blockchain it if the `signAndSubmit` flag is enabled. * @summary Call a contract function * @param {string} addressOrAlias An address or the alias of an address. * @param {string} contract The label of the contract in MultiBaas. * @param {string} method Contract function. * @param {PostMethodArgs} postMethodArgs * @param {*} [options] Override http request option. * @throws {RequiredError} */ callContractFunction(addressOrAlias: string, contract: string, method: string, postMethodArgs: PostMethodArgs, options?: RawAxiosRequestConfig): AxiosPromise; /** * Adds a contract. * @summary Create a contract * @param {string} contract The label of the contract in MultiBaas. * @param {BaseContract} baseContract * @param {*} [options] Override http request option. * @throws {RequiredError} */ createContract(contract: string, baseContract: BaseContract, options?: RawAxiosRequestConfig): AxiosPromise; /** * Adds multiple contracts. * @summary Create multiple contracts * @param {Array} baseContract * @param {*} [options] Override http request option. * @throws {RequiredError} */ createContracts(baseContract: Array, options?: RawAxiosRequestConfig): AxiosPromise; /** * Deletes a contract and all its versions. * @summary Delete a contract * @param {string} contract The label of the contract in MultiBaas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteContract(contract: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Deletes a specific contract version. * @summary Delete a contract version * @param {string} contract The label of the contract in MultiBaas. * @param {string} version The version of the contract in MultiBaas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteContractVersion(contract: string, version: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns a transaction to deploy the given contract to the blockchain. * @summary Deploy a contract * @param {string} contract The label of the contract in MultiBaas. * @param {PostMethodArgs} postMethodArgs * @param {*} [options] Override http request option. * @throws {RequiredError} */ deployContract(contract: string, postMethodArgs: PostMethodArgs, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns a transaction to deploy the given contract version to the blockchain. * @summary Deploy a contract version * @param {string} contract The label of the contract in MultiBaas. * @param {string} version The version of the contract in MultiBaas. * @param {PostMethodArgs} postMethodArgs * @param {*} [options] Override http request option. * @throws {RequiredError} */ deployContractVersion(contract: string, version: string, postMethodArgs: PostMethodArgs, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns the given contract. * @summary Get a contract * @param {string} contract The label of the contract in MultiBaas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getContract(contract: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns a specific contract version. * @summary Get a contract version * @param {string} contract The label of the contract in MultiBaas. * @param {string} version The version of the contract in MultiBaas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getContractVersion(contract: string, version: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns all the versions of a contract. * @summary Get all contract versions * @param {string} contract The label of the contract in MultiBaas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getContractVersions(contract: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns the event indexing status for a given address and contract. * @summary Get event indexing status * @param {string} addressOrAlias An address or the alias of an address. * @param {string} contract The label of the contract in MultiBaas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getEventIndexingStatus(addressOrAlias: string, contract: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns the type conversion options for a given contract and event signature. * @summary Get event type conversions * @param {string} contract The label of the contract in MultiBaas. * @param {string} version The version of the contract in MultiBaas. * @param {string} event Contract Event. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getEventTypeConversions(contract: string, version: string, event: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns the type conversion options for a given contract and function signature. * @summary Get function type conversions * @param {string} contract The label of the contract in MultiBaas. * @param {string} version The version of the contract in MultiBaas. * @param {string} method Contract function. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getFunctionTypeConversions(contract: string, version: string, method: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Links an address to a contract. * @summary Link address and contract * @param {string} addressOrAlias An address or the alias of an address. * @param {LinkAddressContractRequest} linkAddressContractRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ linkAddressContract(addressOrAlias: string, linkAddressContractRequest: LinkAddressContractRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns a list of the versions of a contract. * @summary List all contract versions * @param {string} contract The label of the contract in MultiBaas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listContractVersions(contract: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns a list of contracts. * @summary List contracts * @param {*} [options] Override http request option. * @throws {RequiredError} */ listContracts(options?: RawAxiosRequestConfig): AxiosPromise; /** * Sets the type conversion options for a given contract and event signature. * @summary Set event type conversions * @param {string} contract The label of the contract in MultiBaas. * @param {string} version The version of the contract in MultiBaas. * @param {string} event Contract Event. * @param {ContractEventOptions} contractEventOptions * @param {*} [options] Override http request option. * @throws {RequiredError} */ setEventTypeConversions(contract: string, version: string, event: string, contractEventOptions: ContractEventOptions, options?: RawAxiosRequestConfig): AxiosPromise; /** * Sets the type conversion options for a given contract and function signature. * @summary Set function type conversions * @param {string} contract The label of the contract in MultiBaas. * @param {string} version The version of the contract in MultiBaas. * @param {string} method Contract function. * @param {ContractMethodOptions} contractMethodOptions * @param {*} [options] Override http request option. * @throws {RequiredError} */ setFunctionTypeConversions(contract: string, version: string, method: string, contractMethodOptions: ContractMethodOptions, options?: RawAxiosRequestConfig): AxiosPromise; /** * Unlinks an address from a contract. * @summary Unlink address and contract * @param {string} addressOrAlias An address or the alias of an address. * @param {string} contract The label of the contract in MultiBaas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ unlinkAddressContract(addressOrAlias: string, contract: string, options?: RawAxiosRequestConfig): AxiosPromise; } /** * ContractsApi - object-oriented interface */ export declare class ContractsApi extends BaseAPI implements ContractsApiInterface { /** * Builds a transaction to call the given contract function. Returns a transaction to be signed and signs and submits to the blockchain it if the `signAndSubmit` flag is enabled. * @summary Call a contract function * @param {string} addressOrAlias An address or the alias of an address. * @param {string} contract The label of the contract in MultiBaas. * @param {string} method Contract function. * @param {PostMethodArgs} postMethodArgs * @param {*} [options] Override http request option. * @throws {RequiredError} */ callContractFunction(addressOrAlias: string, contract: string, method: string, postMethodArgs: PostMethodArgs, options?: RawAxiosRequestConfig): Promise>; /** * Adds a contract. * @summary Create a contract * @param {string} contract The label of the contract in MultiBaas. * @param {BaseContract} baseContract * @param {*} [options] Override http request option. * @throws {RequiredError} */ createContract(contract: string, baseContract: BaseContract, options?: RawAxiosRequestConfig): Promise>; /** * Adds multiple contracts. * @summary Create multiple contracts * @param {Array} baseContract * @param {*} [options] Override http request option. * @throws {RequiredError} */ createContracts(baseContract: Array, options?: RawAxiosRequestConfig): Promise>; /** * Deletes a contract and all its versions. * @summary Delete a contract * @param {string} contract The label of the contract in MultiBaas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteContract(contract: string, options?: RawAxiosRequestConfig): Promise>; /** * Deletes a specific contract version. * @summary Delete a contract version * @param {string} contract The label of the contract in MultiBaas. * @param {string} version The version of the contract in MultiBaas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteContractVersion(contract: string, version: string, options?: RawAxiosRequestConfig): Promise>; /** * Returns a transaction to deploy the given contract to the blockchain. * @summary Deploy a contract * @param {string} contract The label of the contract in MultiBaas. * @param {PostMethodArgs} postMethodArgs * @param {*} [options] Override http request option. * @throws {RequiredError} */ deployContract(contract: string, postMethodArgs: PostMethodArgs, options?: RawAxiosRequestConfig): Promise>; /** * Returns a transaction to deploy the given contract version to the blockchain. * @summary Deploy a contract version * @param {string} contract The label of the contract in MultiBaas. * @param {string} version The version of the contract in MultiBaas. * @param {PostMethodArgs} postMethodArgs * @param {*} [options] Override http request option. * @throws {RequiredError} */ deployContractVersion(contract: string, version: string, postMethodArgs: PostMethodArgs, options?: RawAxiosRequestConfig): Promise>; /** * Returns the given contract. * @summary Get a contract * @param {string} contract The label of the contract in MultiBaas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getContract(contract: string, options?: RawAxiosRequestConfig): Promise>; /** * Returns a specific contract version. * @summary Get a contract version * @param {string} contract The label of the contract in MultiBaas. * @param {string} version The version of the contract in MultiBaas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getContractVersion(contract: string, version: string, options?: RawAxiosRequestConfig): Promise>; /** * Returns all the versions of a contract. * @summary Get all contract versions * @param {string} contract The label of the contract in MultiBaas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getContractVersions(contract: string, options?: RawAxiosRequestConfig): Promise>; /** * Returns the event indexing status for a given address and contract. * @summary Get event indexing status * @param {string} addressOrAlias An address or the alias of an address. * @param {string} contract The label of the contract in MultiBaas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getEventIndexingStatus(addressOrAlias: string, contract: string, options?: RawAxiosRequestConfig): Promise>; /** * Returns the type conversion options for a given contract and event signature. * @summary Get event type conversions * @param {string} contract The label of the contract in MultiBaas. * @param {string} version The version of the contract in MultiBaas. * @param {string} event Contract Event. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getEventTypeConversions(contract: string, version: string, event: string, options?: RawAxiosRequestConfig): Promise>; /** * Returns the type conversion options for a given contract and function signature. * @summary Get function type conversions * @param {string} contract The label of the contract in MultiBaas. * @param {string} version The version of the contract in MultiBaas. * @param {string} method Contract function. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getFunctionTypeConversions(contract: string, version: string, method: string, options?: RawAxiosRequestConfig): Promise>; /** * Links an address to a contract. * @summary Link address and contract * @param {string} addressOrAlias An address or the alias of an address. * @param {LinkAddressContractRequest} linkAddressContractRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ linkAddressContract(addressOrAlias: string, linkAddressContractRequest: LinkAddressContractRequest, options?: RawAxiosRequestConfig): Promise>; /** * Returns a list of the versions of a contract. * @summary List all contract versions * @param {string} contract The label of the contract in MultiBaas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ listContractVersions(contract: string, options?: RawAxiosRequestConfig): Promise>; /** * Returns a list of contracts. * @summary List contracts * @param {*} [options] Override http request option. * @throws {RequiredError} */ listContracts(options?: RawAxiosRequestConfig): Promise>; /** * Sets the type conversion options for a given contract and event signature. * @summary Set event type conversions * @param {string} contract The label of the contract in MultiBaas. * @param {string} version The version of the contract in MultiBaas. * @param {string} event Contract Event. * @param {ContractEventOptions} contractEventOptions * @param {*} [options] Override http request option. * @throws {RequiredError} */ setEventTypeConversions(contract: string, version: string, event: string, contractEventOptions: ContractEventOptions, options?: RawAxiosRequestConfig): Promise>; /** * Sets the type conversion options for a given contract and function signature. * @summary Set function type conversions * @param {string} contract The label of the contract in MultiBaas. * @param {string} version The version of the contract in MultiBaas. * @param {string} method Contract function. * @param {ContractMethodOptions} contractMethodOptions * @param {*} [options] Override http request option. * @throws {RequiredError} */ setFunctionTypeConversions(contract: string, version: string, method: string, contractMethodOptions: ContractMethodOptions, options?: RawAxiosRequestConfig): Promise>; /** * Unlinks an address from a contract. * @summary Unlink address and contract * @param {string} addressOrAlias An address or the alias of an address. * @param {string} contract The label of the contract in MultiBaas. * @param {*} [options] Override http request option. * @throws {RequiredError} */ unlinkAddressContract(addressOrAlias: string, contract: string, options?: RawAxiosRequestConfig): Promise>; } /** * EventQueriesApi - axios parameter creator */ export declare const EventQueriesApiAxiosParamCreator: (configuration?: Configuration) => { /** * Returns the record count of the given saved event query. * @summary Count event query records * @param {string} eventQuery An event query label. * @param {*} [options] Override http request option. * @throws {RequiredError} */ countEventQueryRecords: (eventQuery: string, options?: RawAxiosRequestConfig) => Promise; /** * Deletes the given saved event query. * @summary Delete event query * @param {string} eventQuery An event query label. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteEventQuery: (eventQuery: string, options?: RawAxiosRequestConfig) => Promise; /** * Executes an arbitrary event query. * @summary Execute arbitrary event query * @param {EventQuery} eventQuery * @param {number} [offset] * @param {number} [limit] * @param {*} [options] Override http request option. * @throws {RequiredError} */ executeArbitraryEventQuery: (eventQuery: EventQuery, offset?: number, limit?: number, options?: RawAxiosRequestConfig) => Promise; /** * Executes the given saved event query. * @summary Execute event query * @param {string} eventQuery An event query label. * @param {number} [offset] * @param {number} [limit] * @param {*} [options] Override http request option. * @throws {RequiredError} */ executeEventQuery: (eventQuery: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig) => Promise; /** * Returns the given saved event query. * @summary Get event query * @param {string} eventQuery An event query label. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getEventQuery: (eventQuery: string, options?: RawAxiosRequestConfig) => Promise; /** * Returns a list of saved event queries. * @summary List event queries * @param {*} [options] Override http request option. * @throws {RequiredError} */ listEventQueries: (options?: RawAxiosRequestConfig) => Promise; /** * Creates or updates the given saved event query. * @summary Create or update event query * @param {string} eventQuery An event query label. * @param {EventQuery} eventQuery2 * @param {*} [options] Override http request option. * @throws {RequiredError} */ setEventQuery: (eventQuery: string, eventQuery2: EventQuery, options?: RawAxiosRequestConfig) => Promise; }; /** * EventQueriesApi - functional programming interface */ export declare const EventQueriesApiFp: (configuration?: Configuration) => { /** * Returns the record count of the given saved event query. * @summary Count event query records * @param {string} eventQuery An event query label. * @param {*} [options] Override http request option. * @throws {RequiredError} */ countEventQueryRecords(eventQuery: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Deletes the given saved event query. * @summary Delete event query * @param {string} eventQuery An event query label. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteEventQuery(eventQuery: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Executes an arbitrary event query. * @summary Execute arbitrary event query * @param {EventQuery} eventQuery * @param {number} [offset] * @param {number} [limit] * @param {*} [options] Override http request option. * @throws {RequiredError} */ executeArbitraryEventQuery(eventQuery: EventQuery, offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Executes the given saved event query. * @summary Execute event query * @param {string} eventQuery An event query label. * @param {number} [offset] * @param {number} [limit] * @param {*} [options] Override http request option. * @throws {RequiredError} */ executeEventQuery(eventQuery: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns the given saved event query. * @summary Get event query * @param {string} eventQuery An event query label. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getEventQuery(eventQuery: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns a list of saved event queries. * @summary List event queries * @param {*} [options] Override http request option. * @throws {RequiredError} */ listEventQueries(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Creates or updates the given saved event query. * @summary Create or update event query * @param {string} eventQuery An event query label. * @param {EventQuery} eventQuery2 * @param {*} [options] Override http request option. * @throws {RequiredError} */ setEventQuery(eventQuery: string, eventQuery2: EventQuery, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * EventQueriesApi - factory interface */ export declare const EventQueriesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Returns the record count of the given saved event query. * @summary Count event query records * @param {string} eventQuery An event query label. * @param {*} [options] Override http request option. * @throws {RequiredError} */ countEventQueryRecords(eventQuery: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Deletes the given saved event query. * @summary Delete event query * @param {string} eventQuery An event query label. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteEventQuery(eventQuery: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Executes an arbitrary event query. * @summary Execute arbitrary event query * @param {EventQuery} eventQuery * @param {number} [offset] * @param {number} [limit] * @param {*} [options] Override http request option. * @throws {RequiredError} */ executeArbitraryEventQuery(eventQuery: EventQuery, offset?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise; /** * Executes the given saved event query. * @summary Execute event query * @param {string} eventQuery An event query label. * @param {number} [offset] * @param {number} [limit] * @param {*} [options] Override http request option. * @throws {RequiredError} */ executeEventQuery(eventQuery: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns the given saved event query. * @summary Get event query * @param {string} eventQuery An event query label. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getEventQuery(eventQuery: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns a list of saved event queries. * @summary List event queries * @param {*} [options] Override http request option. * @throws {RequiredError} */ listEventQueries(options?: RawAxiosRequestConfig): AxiosPromise; /** * Creates or updates the given saved event query. * @summary Create or update event query * @param {string} eventQuery An event query label. * @param {EventQuery} eventQuery2 * @param {*} [options] Override http request option. * @throws {RequiredError} */ setEventQuery(eventQuery: string, eventQuery2: EventQuery, options?: RawAxiosRequestConfig): AxiosPromise; }; /** * EventQueriesApi - interface */ export interface EventQueriesApiInterface { /** * Returns the record count of the given saved event query. * @summary Count event query records * @param {string} eventQuery An event query label. * @param {*} [options] Override http request option. * @throws {RequiredError} */ countEventQueryRecords(eventQuery: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Deletes the given saved event query. * @summary Delete event query * @param {string} eventQuery An event query label. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteEventQuery(eventQuery: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Executes an arbitrary event query. * @summary Execute arbitrary event query * @param {EventQuery} eventQuery * @param {number} [offset] * @param {number} [limit] * @param {*} [options] Override http request option. * @throws {RequiredError} */ executeArbitraryEventQuery(eventQuery: EventQuery, offset?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise; /** * Executes the given saved event query. * @summary Execute event query * @param {string} eventQuery An event query label. * @param {number} [offset] * @param {number} [limit] * @param {*} [options] Override http request option. * @throws {RequiredError} */ executeEventQuery(eventQuery: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns the given saved event query. * @summary Get event query * @param {string} eventQuery An event query label. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getEventQuery(eventQuery: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns a list of saved event queries. * @summary List event queries * @param {*} [options] Override http request option. * @throws {RequiredError} */ listEventQueries(options?: RawAxiosRequestConfig): AxiosPromise; /** * Creates or updates the given saved event query. * @summary Create or update event query * @param {string} eventQuery An event query label. * @param {EventQuery} eventQuery2 * @param {*} [options] Override http request option. * @throws {RequiredError} */ setEventQuery(eventQuery: string, eventQuery2: EventQuery, options?: RawAxiosRequestConfig): AxiosPromise; } /** * EventQueriesApi - object-oriented interface */ export declare class EventQueriesApi extends BaseAPI implements EventQueriesApiInterface { /** * Returns the record count of the given saved event query. * @summary Count event query records * @param {string} eventQuery An event query label. * @param {*} [options] Override http request option. * @throws {RequiredError} */ countEventQueryRecords(eventQuery: string, options?: RawAxiosRequestConfig): Promise>; /** * Deletes the given saved event query. * @summary Delete event query * @param {string} eventQuery An event query label. * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteEventQuery(eventQuery: string, options?: RawAxiosRequestConfig): Promise>; /** * Executes an arbitrary event query. * @summary Execute arbitrary event query * @param {EventQuery} eventQuery * @param {number} [offset] * @param {number} [limit] * @param {*} [options] Override http request option. * @throws {RequiredError} */ executeArbitraryEventQuery(eventQuery: EventQuery, offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise>; /** * Executes the given saved event query. * @summary Execute event query * @param {string} eventQuery An event query label. * @param {number} [offset] * @param {number} [limit] * @param {*} [options] Override http request option. * @throws {RequiredError} */ executeEventQuery(eventQuery: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise>; /** * Returns the given saved event query. * @summary Get event query * @param {string} eventQuery An event query label. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getEventQuery(eventQuery: string, options?: RawAxiosRequestConfig): Promise>; /** * Returns a list of saved event queries. * @summary List event queries * @param {*} [options] Override http request option. * @throws {RequiredError} */ listEventQueries(options?: RawAxiosRequestConfig): Promise>; /** * Creates or updates the given saved event query. * @summary Create or update event query * @param {string} eventQuery An event query label. * @param {EventQuery} eventQuery2 * @param {*} [options] Override http request option. * @throws {RequiredError} */ setEventQuery(eventQuery: string, eventQuery2: EventQuery, options?: RawAxiosRequestConfig): Promise>; } /** * EventsApi - axios parameter creator */ export declare const EventsApiAxiosParamCreator: (configuration?: Configuration) => { /** * Gets the number of events stored in the database. * @summary Get event count * @param {string} [blockHash] Filter events by a block hash. * @param {number} [blockNumber] Filter events by a block number. * @param {number} [txIndexInBlock] Filter events by a transaction\'s index in the block. * @param {number} [eventIndexInLog] Filter events by index in the log. * @param {string} [txHash] Filter events by a transaction hash. * @param {boolean} [fromConstructor] Filter events by whether they were emitted from the constructor function. * @param {string} [contractAddress] Filter events by a contract address. * @param {string} [contractLabel] Filter events by a contract label. * @param {string} [eventSignature] Filter events by the signature. * @param {number} [limit] * @param {number} [offset] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getEventCount: (blockHash?: string, blockNumber?: number, txIndexInBlock?: number, eventIndexInLog?: number, txHash?: string, fromConstructor?: boolean, contractAddress?: string, contractLabel?: string, eventSignature?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig) => Promise; /** * Returns all events stored in the database. * @summary List events * @param {string} [blockHash] Filter events by a block hash. * @param {number} [blockNumber] Filter events by a block number. * @param {number} [txIndexInBlock] Filter events by a transaction\'s index in the block. * @param {number} [eventIndexInLog] Filter events by index in the log. * @param {string} [txHash] Filter events by a transaction hash. * @param {boolean} [fromConstructor] Filter events by whether they were emitted from the constructor function. * @param {string} [contractAddress] Filter events by a contract address. * @param {string} [contractLabel] Filter events by a contract label. * @param {string} [eventSignature] Filter events by the signature. * @param {number} [limit] * @param {number} [offset] * @param {*} [options] Override http request option. * @throws {RequiredError} */ listEvents: (blockHash?: string, blockNumber?: number, txIndexInBlock?: number, eventIndexInLog?: number, txHash?: string, fromConstructor?: boolean, contractAddress?: string, contractLabel?: string, eventSignature?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig) => Promise; }; /** * EventsApi - functional programming interface */ export declare const EventsApiFp: (configuration?: Configuration) => { /** * Gets the number of events stored in the database. * @summary Get event count * @param {string} [blockHash] Filter events by a block hash. * @param {number} [blockNumber] Filter events by a block number. * @param {number} [txIndexInBlock] Filter events by a transaction\'s index in the block. * @param {number} [eventIndexInLog] Filter events by index in the log. * @param {string} [txHash] Filter events by a transaction hash. * @param {boolean} [fromConstructor] Filter events by whether they were emitted from the constructor function. * @param {string} [contractAddress] Filter events by a contract address. * @param {string} [contractLabel] Filter events by a contract label. * @param {string} [eventSignature] Filter events by the signature. * @param {number} [limit] * @param {number} [offset] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getEventCount(blockHash?: string, blockNumber?: number, txIndexInBlock?: number, eventIndexInLog?: number, txHash?: string, fromConstructor?: boolean, contractAddress?: string, contractLabel?: string, eventSignature?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns all events stored in the database. * @summary List events * @param {string} [blockHash] Filter events by a block hash. * @param {number} [blockNumber] Filter events by a block number. * @param {number} [txIndexInBlock] Filter events by a transaction\'s index in the block. * @param {number} [eventIndexInLog] Filter events by index in the log. * @param {string} [txHash] Filter events by a transaction hash. * @param {boolean} [fromConstructor] Filter events by whether they were emitted from the constructor function. * @param {string} [contractAddress] Filter events by a contract address. * @param {string} [contractLabel] Filter events by a contract label. * @param {string} [eventSignature] Filter events by the signature. * @param {number} [limit] * @param {number} [offset] * @param {*} [options] Override http request option. * @throws {RequiredError} */ listEvents(blockHash?: string, blockNumber?: number, txIndexInBlock?: number, eventIndexInLog?: number, txHash?: string, fromConstructor?: boolean, contractAddress?: string, contractLabel?: string, eventSignature?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * EventsApi - factory interface */ export declare const EventsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Gets the number of events stored in the database. * @summary Get event count * @param {string} [blockHash] Filter events by a block hash. * @param {number} [blockNumber] Filter events by a block number. * @param {number} [txIndexInBlock] Filter events by a transaction\'s index in the block. * @param {number} [eventIndexInLog] Filter events by index in the log. * @param {string} [txHash] Filter events by a transaction hash. * @param {boolean} [fromConstructor] Filter events by whether they were emitted from the constructor function. * @param {string} [contractAddress] Filter events by a contract address. * @param {string} [contractLabel] Filter events by a contract label. * @param {string} [eventSignature] Filter events by the signature. * @param {number} [limit] * @param {number} [offset] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getEventCount(blockHash?: string, blockNumber?: number, txIndexInBlock?: number, eventIndexInLog?: number, txHash?: string, fromConstructor?: boolean, contractAddress?: string, contractLabel?: string, eventSignature?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns all events stored in the database. * @summary List events * @param {string} [blockHash] Filter events by a block hash. * @param {number} [blockNumber] Filter events by a block number. * @param {number} [txIndexInBlock] Filter events by a transaction\'s index in the block. * @param {number} [eventIndexInLog] Filter events by index in the log. * @param {string} [txHash] Filter events by a transaction hash. * @param {boolean} [fromConstructor] Filter events by whether they were emitted from the constructor function. * @param {string} [contractAddress] Filter events by a contract address. * @param {string} [contractLabel] Filter events by a contract label. * @param {string} [eventSignature] Filter events by the signature. * @param {number} [limit] * @param {number} [offset] * @param {*} [options] Override http request option. * @throws {RequiredError} */ listEvents(blockHash?: string, blockNumber?: number, txIndexInBlock?: number, eventIndexInLog?: number, txHash?: string, fromConstructor?: boolean, contractAddress?: string, contractLabel?: string, eventSignature?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise; }; /** * EventsApi - interface */ export interface EventsApiInterface { /** * Gets the number of events stored in the database. * @summary Get event count * @param {string} [blockHash] Filter events by a block hash. * @param {number} [blockNumber] Filter events by a block number. * @param {number} [txIndexInBlock] Filter events by a transaction\'s index in the block. * @param {number} [eventIndexInLog] Filter events by index in the log. * @param {string} [txHash] Filter events by a transaction hash. * @param {boolean} [fromConstructor] Filter events by whether they were emitted from the constructor function. * @param {string} [contractAddress] Filter events by a contract address. * @param {string} [contractLabel] Filter events by a contract label. * @param {string} [eventSignature] Filter events by the signature. * @param {number} [limit] * @param {number} [offset] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getEventCount(blockHash?: string, blockNumber?: number, txIndexInBlock?: number, eventIndexInLog?: number, txHash?: string, fromConstructor?: boolean, contractAddress?: string, contractLabel?: string, eventSignature?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns all events stored in the database. * @summary List events * @param {string} [blockHash] Filter events by a block hash. * @param {number} [blockNumber] Filter events by a block number. * @param {number} [txIndexInBlock] Filter events by a transaction\'s index in the block. * @param {number} [eventIndexInLog] Filter events by index in the log. * @param {string} [txHash] Filter events by a transaction hash. * @param {boolean} [fromConstructor] Filter events by whether they were emitted from the constructor function. * @param {string} [contractAddress] Filter events by a contract address. * @param {string} [contractLabel] Filter events by a contract label. * @param {string} [eventSignature] Filter events by the signature. * @param {number} [limit] * @param {number} [offset] * @param {*} [options] Override http request option. * @throws {RequiredError} */ listEvents(blockHash?: string, blockNumber?: number, txIndexInBlock?: number, eventIndexInLog?: number, txHash?: string, fromConstructor?: boolean, contractAddress?: string, contractLabel?: string, eventSignature?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise; } /** * EventsApi - object-oriented interface */ export declare class EventsApi extends BaseAPI implements EventsApiInterface { /** * Gets the number of events stored in the database. * @summary Get event count * @param {string} [blockHash] Filter events by a block hash. * @param {number} [blockNumber] Filter events by a block number. * @param {number} [txIndexInBlock] Filter events by a transaction\'s index in the block. * @param {number} [eventIndexInLog] Filter events by index in the log. * @param {string} [txHash] Filter events by a transaction hash. * @param {boolean} [fromConstructor] Filter events by whether they were emitted from the constructor function. * @param {string} [contractAddress] Filter events by a contract address. * @param {string} [contractLabel] Filter events by a contract label. * @param {string} [eventSignature] Filter events by the signature. * @param {number} [limit] * @param {number} [offset] * @param {*} [options] Override http request option. * @throws {RequiredError} */ getEventCount(blockHash?: string, blockNumber?: number, txIndexInBlock?: number, eventIndexInLog?: number, txHash?: string, fromConstructor?: boolean, contractAddress?: string, contractLabel?: string, eventSignature?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise>; /** * Returns all events stored in the database. * @summary List events * @param {string} [blockHash] Filter events by a block hash. * @param {number} [blockNumber] Filter events by a block number. * @param {number} [txIndexInBlock] Filter events by a transaction\'s index in the block. * @param {number} [eventIndexInLog] Filter events by index in the log. * @param {string} [txHash] Filter events by a transaction hash. * @param {boolean} [fromConstructor] Filter events by whether they were emitted from the constructor function. * @param {string} [contractAddress] Filter events by a contract address. * @param {string} [contractLabel] Filter events by a contract label. * @param {string} [eventSignature] Filter events by the signature. * @param {number} [limit] * @param {number} [offset] * @param {*} [options] Override http request option. * @throws {RequiredError} */ listEvents(blockHash?: string, blockNumber?: number, txIndexInBlock?: number, eventIndexInLog?: number, txHash?: string, fromConstructor?: boolean, contractAddress?: string, contractLabel?: string, eventSignature?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise>; } /** * HsmApi - axios parameter creator */ export declare const HsmApiAxiosParamCreator: (configuration?: Configuration) => { /** * Adds a new Azure account configuration. * @summary Add HSM config * @param {BaseAzureAccount} baseAzureAccount * @param {*} [options] Override http request option. * @throws {RequiredError} */ addHsmConfig: (baseAzureAccount: BaseAzureAccount, options?: RawAxiosRequestConfig) => Promise; /** * Adds an existing key configuration. * @summary Add HSM key * @param {AddKey} addKey * @param {*} [options] Override http request option. * @throws {RequiredError} */ addHsmKey: (addKey: AddKey, options?: RawAxiosRequestConfig) => Promise; /** * Creates a new key in the Azure KeyVault. * @summary Create HSM key * @param {CreateKey} createKey * @param {*} [options] Override http request option. * @throws {RequiredError} */ createHsmKey: (createKey: CreateKey, options?: RawAxiosRequestConfig) => Promise; /** * Returns a list of HSM configs and their associated wallets. * @summary List HSM configs and wallets * @param {*} [options] Override http request option. * @throws {RequiredError} */ listHsm: (options?: RawAxiosRequestConfig) => Promise; /** * Returns a list of HSM wallets. * @summary List HSM wallets * @param {string} [keyName] Filter wallets by a key name. * @param {string} [keyVersion] Filter wallets by a key version. * @param {string} [vaultName] Filter wallets by a vault name. * @param {string} [baseGroupName] Filter wallets by a base group name. * @param {string} [clientId] Filter wallets by a client ID. * @param {string} [publicAddress] Filter wallets by a public address. * @param {number} [limit] * @param {number} [offset] * @param {*} [options] Override http request option. * @throws {RequiredError} */ listHsmWallets: (keyName?: string, keyVersion?: string, vaultName?: string, baseGroupName?: string, clientId?: string, publicAddress?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig) => Promise; /** * Removes the specified Azure account configuration and its associated keys. * @summary Remove HSM config * @param {string} clientId The HSM client ID. * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeHsmConfig: (clientId: string, options?: RawAxiosRequestConfig) => Promise; /** * Removes the specified key configuration. * @summary Remove HSM key * @param {string} walletAddress An Ethereum address. * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeHsmKey: (walletAddress: string, options?: RawAxiosRequestConfig) => Promise; /** * Sets the next transaction nonce for the given HSM address that will be used with the nonce management feature. * @summary Set local nonce * @param {string} walletAddress An Ethereum address. * @param {SetNonceRequest} setNonceRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ setLocalNonce: (walletAddress: string, setNonceRequest: SetNonceRequest, options?: RawAxiosRequestConfig) => Promise; /** * Signs and submits the given transaction using an HSM address. * @summary Sign and submit transaction * @param {CloudWalletTXToSign} cloudWalletTXToSign * @param {*} [options] Override http request option. * @throws {RequiredError} */ signAndSubmitTransaction: (cloudWalletTXToSign: CloudWalletTXToSign, options?: RawAxiosRequestConfig) => Promise; /** * Signs the given data using the given HSM address. * @summary Sign data * @param {HSMSignRequest} hSMSignRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ signData: (hSMSignRequest: HSMSignRequest, options?: RawAxiosRequestConfig) => Promise; }; /** * HsmApi - functional programming interface */ export declare const HsmApiFp: (configuration?: Configuration) => { /** * Adds a new Azure account configuration. * @summary Add HSM config * @param {BaseAzureAccount} baseAzureAccount * @param {*} [options] Override http request option. * @throws {RequiredError} */ addHsmConfig(baseAzureAccount: BaseAzureAccount, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Adds an existing key configuration. * @summary Add HSM key * @param {AddKey} addKey * @param {*} [options] Override http request option. * @throws {RequiredError} */ addHsmKey(addKey: AddKey, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Creates a new key in the Azure KeyVault. * @summary Create HSM key * @param {CreateKey} createKey * @param {*} [options] Override http request option. * @throws {RequiredError} */ createHsmKey(createKey: CreateKey, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns a list of HSM configs and their associated wallets. * @summary List HSM configs and wallets * @param {*} [options] Override http request option. * @throws {RequiredError} */ listHsm(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Returns a list of HSM wallets. * @summary List HSM wallets * @param {string} [keyName] Filter wallets by a key name. * @param {string} [keyVersion] Filter wallets by a key version. * @param {string} [vaultName] Filter wallets by a vault name. * @param {string} [baseGroupName] Filter wallets by a base group name. * @param {string} [clientId] Filter wallets by a client ID. * @param {string} [publicAddress] Filter wallets by a public address. * @param {number} [limit] * @param {number} [offset] * @param {*} [options] Override http request option. * @throws {RequiredError} */ listHsmWallets(keyName?: string, keyVersion?: string, vaultName?: string, baseGroupName?: string, clientId?: string, publicAddress?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Removes the specified Azure account configuration and its associated keys. * @summary Remove HSM config * @param {string} clientId The HSM client ID. * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeHsmConfig(clientId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Removes the specified key configuration. * @summary Remove HSM key * @param {string} walletAddress An Ethereum address. * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeHsmKey(walletAddress: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Sets the next transaction nonce for the given HSM address that will be used with the nonce management feature. * @summary Set local nonce * @param {string} walletAddress An Ethereum address. * @param {SetNonceRequest} setNonceRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ setLocalNonce(walletAddress: string, setNonceRequest: SetNonceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Signs and submits the given transaction using an HSM address. * @summary Sign and submit transaction * @param {CloudWalletTXToSign} cloudWalletTXToSign * @param {*} [options] Override http request option. * @throws {RequiredError} */ signAndSubmitTransaction(cloudWalletTXToSign: CloudWalletTXToSign, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Signs the given data using the given HSM address. * @summary Sign data * @param {HSMSignRequest} hSMSignRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ signData(hSMSignRequest: HSMSignRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * HsmApi - factory interface */ export declare const HsmApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Adds a new Azure account configuration. * @summary Add HSM config * @param {BaseAzureAccount} baseAzureAccount * @param {*} [options] Override http request option. * @throws {RequiredError} */ addHsmConfig(baseAzureAccount: BaseAzureAccount, options?: RawAxiosRequestConfig): AxiosPromise; /** * Adds an existing key configuration. * @summary Add HSM key * @param {AddKey} addKey * @param {*} [options] Override http request option. * @throws {RequiredError} */ addHsmKey(addKey: AddKey, options?: RawAxiosRequestConfig): AxiosPromise; /** * Creates a new key in the Azure KeyVault. * @summary Create HSM key * @param {CreateKey} createKey * @param {*} [options] Override http request option. * @throws {RequiredError} */ createHsmKey(createKey: CreateKey, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns a list of HSM configs and their associated wallets. * @summary List HSM configs and wallets * @param {*} [options] Override http request option. * @throws {RequiredError} */ listHsm(options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns a list of HSM wallets. * @summary List HSM wallets * @param {string} [keyName] Filter wallets by a key name. * @param {string} [keyVersion] Filter wallets by a key version. * @param {string} [vaultName] Filter wallets by a vault name. * @param {string} [baseGroupName] Filter wallets by a base group name. * @param {string} [clientId] Filter wallets by a client ID. * @param {string} [publicAddress] Filter wallets by a public address. * @param {number} [limit] * @param {number} [offset] * @param {*} [options] Override http request option. * @throws {RequiredError} */ listHsmWallets(keyName?: string, keyVersion?: string, vaultName?: string, baseGroupName?: string, clientId?: string, publicAddress?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise; /** * Removes the specified Azure account configuration and its associated keys. * @summary Remove HSM config * @param {string} clientId The HSM client ID. * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeHsmConfig(clientId: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Removes the specified key configuration. * @summary Remove HSM key * @param {string} walletAddress An Ethereum address. * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeHsmKey(walletAddress: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Sets the next transaction nonce for the given HSM address that will be used with the nonce management feature. * @summary Set local nonce * @param {string} walletAddress An Ethereum address. * @param {SetNonceRequest} setNonceRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ setLocalNonce(walletAddress: string, setNonceRequest: SetNonceRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * Signs and submits the given transaction using an HSM address. * @summary Sign and submit transaction * @param {CloudWalletTXToSign} cloudWalletTXToSign * @param {*} [options] Override http request option. * @throws {RequiredError} */ signAndSubmitTransaction(cloudWalletTXToSign: CloudWalletTXToSign, options?: RawAxiosRequestConfig): AxiosPromise; /** * Signs the given data using the given HSM address. * @summary Sign data * @param {HSMSignRequest} hSMSignRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ signData(hSMSignRequest: HSMSignRequest, options?: RawAxiosRequestConfig): AxiosPromise; }; /** * HsmApi - interface */ export interface HsmApiInterface { /** * Adds a new Azure account configuration. * @summary Add HSM config * @param {BaseAzureAccount} baseAzureAccount * @param {*} [options] Override http request option. * @throws {RequiredError} */ addHsmConfig(baseAzureAccount: BaseAzureAccount, options?: RawAxiosRequestConfig): AxiosPromise; /** * Adds an existing key configuration. * @summary Add HSM key * @param {AddKey} addKey * @param {*} [options] Override http request option. * @throws {RequiredError} */ addHsmKey(addKey: AddKey, options?: RawAxiosRequestConfig): AxiosPromise; /** * Creates a new key in the Azure KeyVault. * @summary Create HSM key * @param {CreateKey} createKey * @param {*} [options] Override http request option. * @throws {RequiredError} */ createHsmKey(createKey: CreateKey, options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns a list of HSM configs and their associated wallets. * @summary List HSM configs and wallets * @param {*} [options] Override http request option. * @throws {RequiredError} */ listHsm(options?: RawAxiosRequestConfig): AxiosPromise; /** * Returns a list of HSM wallets. * @summary List HSM wallets * @param {string} [keyName] Filter wallets by a key name. * @param {string} [keyVersion] Filter wallets by a key version. * @param {string} [vaultName] Filter wallets by a vault name. * @param {string} [baseGroupName] Filter wallets by a base group name. * @param {string} [clientId] Filter wallets by a client ID. * @param {string} [publicAddress] Filter wallets by a public address. * @param {number} [limit] * @param {number} [offset] * @param {*} [options] Override http request option. * @throws {RequiredError} */ listHsmWallets(keyName?: string, keyVersion?: string, vaultName?: string, baseGroupName?: string, clientId?: string, publicAddress?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise; /** * Removes the specified Azure account configuration and its associated keys. * @summary Remove HSM config * @param {string} clientId The HSM client ID. * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeHsmConfig(clientId: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Removes the specified key configuration. * @summary Remove HSM key * @param {string} walletAddress An Ethereum address. * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeHsmKey(walletAddress: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Sets the next transaction nonce for the given HSM address that will be used with the nonce management feature. * @summary Set local nonce * @param {string} walletAddress An Ethereum address. * @param {SetNonceRequest} setNonceRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ setLocalNonce(walletAddress: string, setNonceRequest: SetNonceRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * Signs and submits the given transaction using an HSM address. * @summary Sign and submit transaction * @param {CloudWalletTXToSign} cloudWalletTXToSign * @param {*} [options] Override http request option. * @throws {RequiredError} */ signAndSubmitTransaction(cloudWalletTXToSign: CloudWalletTXToSign, options?: RawAxiosRequestConfig): AxiosPromise; /** * Signs the given data using the given HSM address. * @summary Sign data * @param {HSMSignRequest} hSMSignRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ signData(hSMSignRequest: HSMSignRequest, options?: RawAxiosRequestConfig): AxiosPromise; } /** * HsmApi - object-oriented interface */ export declare class HsmApi extends BaseAPI implements HsmApiInterface { /** * Adds a new Azure account configuration. * @summary Add HSM config * @param {BaseAzureAccount} baseAzureAccount * @param {*} [options] Override http request option. * @throws {RequiredError} */ addHsmConfig(baseAzureAccount: BaseAzureAccount, options?: RawAxiosRequestConfig): Promise>; /** * Adds an existing key configuration. * @summary Add HSM key * @param {AddKey} addKey * @param {*} [options] Override http request option. * @throws {RequiredError} */ addHsmKey(addKey: AddKey, options?: RawAxiosRequestConfig): Promise>; /** * Creates a new key in the Azure KeyVault. * @summary Create HSM key * @param {CreateKey} createKey * @param {*} [options] Override http request option. * @throws {RequiredError} */ createHsmKey(createKey: CreateKey, options?: RawAxiosRequestConfig): Promise>; /** * Returns a list of HSM configs and their associated wallets. * @summary List HSM configs and wallets * @param {*} [options] Override http request option. * @throws {RequiredError} */ listHsm(options?: RawAxiosRequestConfig): Promise>; /** * Returns a list of HSM wallets. * @summary List HSM wallets * @param {string} [keyName] Filter wallets by a key name. * @param {string} [keyVersion] Filter wallets by a key version. * @param {string} [vaultName] Filter wallets by a vault name. * @param {string} [baseGroupName] Filter wallets by a base group name. * @param {string} [clientId] Filter wallets by a client ID. * @param {string} [publicAddress] Filter wallets by a public address. * @param {number} [limit] * @param {number} [offset] * @param {*} [options] Override http request option. * @throws {RequiredError} */ listHsmWallets(keyName?: string, keyVersion?: string, vaultName?: string, baseGroupName?: string, clientId?: string, publicAddress?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise>; /** * Removes the specified Azure account configuration and its associated keys. * @summary Remove HSM config * @param {string} clientId The HSM client ID. * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeHsmConfig(clientId: string, options?: RawAxiosRequestConfig): Promise>; /** * Removes the specified key configuration. * @summary Remove HSM key * @param {string} walletAddress An Ethereum address. * @param {*} [options] Override http request option. * @throws {RequiredError} */ removeHsmKey(walletAddress: string, options?: RawAxiosRequestConfig): Promise>; /** * Sets the next transaction nonce for the given HSM address that will be used with the nonce management feature. * @summary Set local nonce * @param {string} walletAddress An Ethereum address. * @param {SetNonceRequest} setNonceRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ setLocalNonce(walletAddress: string, setNonceRequest: SetNonceRequest, options?: RawAxiosRequestConfig): Promise>; /** * Signs and submits the given transaction using an HSM address. * @summary Sign and submit transaction * @param {CloudWalletTXToSign} cloudWalletTXToSign * @param {*} [options] Override http request option. * @throws {RequiredError} */ signAndSubmitTransaction(cloudWalletTXToSign: CloudWalletTXToSign, options?: RawAxiosRequestConfig): Promise>; /** * Signs the given data using the given HSM address. * @summary Sign data * @param {HSMSignRequest} hSMSignRequest * @param {*} [options] Override http request option. * @throws {RequiredError} */ signData(hSMSignRequest: HSMSignRequest, options?: RawAxiosRequestConfig): Promise>; } /** * TxmApi - axios parameter creator */ export declare const TxmApiAxiosParamCreator: (configuration?: Configuration) => { /** * Cancels a transaction by resubmitting it as no-op transaction and with a higher gas price. * @summary Cancel transaction * @param {string} walletAddress An Ethereum address. * @param {number} nonce Transaction nonce. * @param {GasParams} gasParams * @param {*} [options] Override http request option. * @throws {RequiredError} */ cancelTransaction: (walletAddress: string, nonce: number, gasParams: GasParams, options?: RawAxiosRequestConfig) => Promise; /** * Count all transactions for the given wallet address. * @summary Count all transactions for a wallet * @param {string} walletAddress An Ethereum address. * @param {*} [options] Override http request option. * @throws {RequiredError} */ countWalletTransactions: (walletAddress: string, options?: RawAxiosRequestConfig) => Promise; /** * List the transactions submitted by the given wallet address. * @summary List transactions for a wallet * @param {string} walletAddress An Ethereum address. * @param {string} [hash] Filter transactions by transaction hash. To filter for multiple hashes, use ampersands: `?hash=HASH1&hash=HASH2&hash=HASH3` * @param {number} [nonce] Filter transactions by nonce * @param {TransactionStatus} [status] Filter transactions by status * @param {number} [limit] * @param {number} [offset] * @param {*} [options] Override http request option. * @throws {RequiredError} */ listWalletTransactions: (walletAddress: string, hash?: string, nonce?: number, status?: TransactionStatus, limit?: number, offset?: number, options?: RawAxiosRequestConfig) => Promise; /** * Speeds up a transaction by resubmitting it with a higher gas price. * @summary Speed up transaction * @param {string} walletAddress An Ethereum address. * @param {number} nonce Transaction nonce. * @param {GasParams} gasParams * @param {*} [options] Override http request option. * @throws {RequiredError} */ speedUpTransaction: (walletAddress: string, nonce: number, gasParams: GasParams, options?: RawAxiosRequestConfig) => Promise; }; /** * TxmApi - functional programming interface */ export declare const TxmApiFp: (configuration?: Configuration) => { /** * Cancels a transaction by resubmitting it as no-op transaction and with a higher gas price. * @summary Cancel transaction * @param {string} walletAddress An Ethereum address. * @param {number} nonce Transaction nonce. * @param {GasParams} gasParams * @param {*} [options] Override http request option. * @throws {RequiredError} */ cancelTransaction(walletAddress: string, nonce: number, gasParams: GasParams, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Count all transactions for the given wallet address. * @summary Count all transactions for a wallet * @param {string} walletAddress An Ethereum address. * @param {*} [options] Override http request option. * @throws {RequiredError} */ countWalletTransactions(walletAddress: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * List the transactions submitted by the given wallet address. * @summary List transactions for a wallet * @param {string} walletAddress An Ethereum address. * @param {string} [hash] Filter transactions by transaction hash. To filter for multiple hashes, use ampersands: `?hash=HASH1&hash=HASH2&hash=HASH3` * @param {number} [nonce] Filter transactions by nonce * @param {TransactionStatus} [status] Filter transactions by status * @param {number} [limit] * @param {number} [offset] * @param {*} [options] Override http request option. * @throws {RequiredError} */ listWalletTransactions(walletAddress: string, hash?: string, nonce?: number, status?: TransactionStatus, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Speeds up a transaction by resubmitting it with a higher gas price. * @summary Speed up transaction * @param {string} walletAddress An Ethereum address. * @param {number} nonce Transaction nonce. * @param {GasParams} gasParams * @param {*} [options] Override http request option. * @throws {RequiredError} */ speedUpTransaction(walletAddress: string, nonce: number, gasParams: GasParams, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * TxmApi - factory interface */ export declare const TxmApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Cancels a transaction by resubmitting it as no-op transaction and with a higher gas price. * @summary Cancel transaction * @param {string} walletAddress An Ethereum address. * @param {number} nonce Transaction nonce. * @param {GasParams} gasParams * @param {*} [options] Override http request option. * @throws {RequiredError} */ cancelTransaction(walletAddress: string, nonce: number, gasParams: GasParams, options?: RawAxiosRequestConfig): AxiosPromise; /** * Count all transactions for the given wallet address. * @summary Count all transactions for a wallet * @param {string} walletAddress An Ethereum address. * @param {*} [options] Override http request option. * @throws {RequiredError} */ countWalletTransactions(walletAddress: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * List the transactions submitted by the given wallet address. * @summary List transactions for a wallet * @param {string} walletAddress An Ethereum address. * @param {string} [hash] Filter transactions by transaction hash. To filter for multiple hashes, use ampersands: `?hash=HASH1&hash=HASH2&hash=HASH3` * @param {number} [nonce] Filter transactions by nonce * @param {TransactionStatus} [status] Filter transactions by status * @param {number} [limit] * @param {number} [offset] * @param {*} [options] Override http request option. * @throws {RequiredError} */ listWalletTransactions(walletAddress: string, hash?: string, nonce?: number, status?: TransactionStatus, limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise; /** * Speeds up a transaction by resubmitting it with a higher gas price. * @summary Speed up transaction * @param {string} walletAddress An Ethereum address. * @param {number} nonce Transaction nonce. * @param {GasParams} gasParams * @param {*} [options] Override http request option. * @throws {RequiredError} */ speedUpTransaction(walletAddress: string, nonce: number, gasParams: GasParams, options?: RawAxiosRequestConfig): AxiosPromise; }; /** * TxmApi - interface */ export interface TxmApiInterface { /** * Cancels a transaction by resubmitting it as no-op transaction and with a higher gas price. * @summary Cancel transaction * @param {string} walletAddress An Ethereum address. * @param {number} nonce Transaction nonce. * @param {GasParams} gasParams * @param {*} [options] Override http request option. * @throws {RequiredError} */ cancelTransaction(walletAddress: string, nonce: number, gasParams: GasParams, options?: RawAxiosRequestConfig): AxiosPromise; /** * Count all transactions for the given wallet address. * @summary Count all transactions for a wallet * @param {string} walletAddress An Ethereum address. * @param {*} [options] Override http request option. * @throws {RequiredError} */ countWalletTransactions(walletAddress: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * List the transactions submitted by the given wallet address. * @summary List transactions for a wallet * @param {string} walletAddress An Ethereum address. * @param {string} [hash] Filter transactions by transaction hash. To filter for multiple hashes, use ampersands: `?hash=HASH1&hash=HASH2&hash=HASH3` * @param {number} [nonce] Filter transactions by nonce * @param {TransactionStatus} [status] Filter transactions by status * @param {number} [limit] * @param {number} [offset] * @param {*} [options] Override http request option. * @throws {RequiredError} */ listWalletTransactions(walletAddress: string, hash?: string, nonce?: number, status?: TransactionStatus, limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise; /** * Speeds up a transaction by resubmitting it with a higher gas price. * @summary Speed up transaction * @param {string} walletAddress An Ethereum address. * @param {number} nonce Transaction nonce. * @param {GasParams} gasParams * @param {*} [options] Override http request option. * @throws {RequiredError} */ speedUpTransaction(walletAddress: string, nonce: number, gasParams: GasParams, options?: RawAxiosRequestConfig): AxiosPromise; } /** * TxmApi - object-oriented interface */ export declare class TxmApi extends BaseAPI implements TxmApiInterface { /** * Cancels a transaction by resubmitting it as no-op transaction and with a higher gas price. * @summary Cancel transaction * @param {string} walletAddress An Ethereum address. * @param {number} nonce Transaction nonce. * @param {GasParams} gasParams * @param {*} [options] Override http request option. * @throws {RequiredError} */ cancelTransaction(walletAddress: string, nonce: number, gasParams: GasParams, options?: RawAxiosRequestConfig): Promise>; /** * Count all transactions for the given wallet address. * @summary Count all transactions for a wallet * @param {string} walletAddress An Ethereum address. * @param {*} [options] Override http request option. * @throws {RequiredError} */ countWalletTransactions(walletAddress: string, options?: RawAxiosRequestConfig): Promise>; /** * List the transactions submitted by the given wallet address. * @summary List transactions for a wallet * @param {string} walletAddress An Ethereum address. * @param {string} [hash] Filter transactions by transaction hash. To filter for multiple hashes, use ampersands: `?hash=HASH1&hash=HASH2&hash=HASH3` * @param {number} [nonce] Filter transactions by nonce * @param {TransactionStatus} [status] Filter transactions by status * @param {number} [limit] * @param {number} [offset] * @param {*} [options] Override http request option. * @throws {RequiredError} */ listWalletTransactions(walletAddress: string, hash?: string, nonce?: number, status?: TransactionStatus, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise>; /** * Speeds up a transaction by resubmitting it with a higher gas price. * @summary Speed up transaction * @param {string} walletAddress An Ethereum address. * @param {number} nonce Transaction nonce. * @param {GasParams} gasParams * @param {*} [options] Override http request option. * @throws {RequiredError} */ speedUpTransaction(walletAddress: string, nonce: number, gasParams: GasParams, options?: RawAxiosRequestConfig): Promise>; } /** * WebhooksApi - axios parameter creator */ export declare const WebhooksApiAxiosParamCreator: (configuration?: Configuration) => { /** * Count the events for the given webhook endpoint. * @summary Count webhook events * @param {number} webhookID * @param {*} [options] Override http request option. * @throws {RequiredError} */ countWebhookEvents: (webhookID: number, options?: RawAxiosRequestConfig) => Promise; /** * Count all webhook endpoints. * @summary Count webhooks * @param {*} [options] Override http request option. * @throws {RequiredError} */ countWebhooks: (options?: RawAxiosRequestConfig) => Promise; /** * Create a webhook. * @summary Create webhook * @param {BaseWebhookEndpoint} baseWebhookEndpoint * @param {*} [options] Override http request option. * @throws {RequiredError} */ createWebhook: (baseWebhookEndpoint: BaseWebhookEndpoint, options?: RawAxiosRequestConfig) => Promise; /** * Delete a webhook endpoint. * @summary Delete webhook * @param {number} webhookID * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteWebhook: (webhookID: number, options?: RawAxiosRequestConfig) => Promise; /** * Get a webhook endpoint. * @summary Get webhook * @param {number} webhookID * @param {*} [options] Override http request option. * @throws {RequiredError} */ getWebhook: (webhookID: number, options?: RawAxiosRequestConfig) => Promise; /** * List events for the given webhook endpoint. * @summary List webhook events * @param {number} webhookID * @param {number} [limit] * @param {number} [offset] * @param {*} [options] Override http request option. * @throws {RequiredError} */ listWebhookEvents: (webhookID: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig) => Promise; /** * List all webhook endpoints. * @summary List webhooks * @param {number} [limit] * @param {number} [offset] * @param {*} [options] Override http request option. * @throws {RequiredError} */ listWebhooks: (limit?: number, offset?: number, options?: RawAxiosRequestConfig) => Promise; /** * Update a webhook endpoint. * @summary Update webhook * @param {number} webhookID * @param {BaseWebhookEndpoint} baseWebhookEndpoint * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateWebhook: (webhookID: number, baseWebhookEndpoint: BaseWebhookEndpoint, options?: RawAxiosRequestConfig) => Promise; }; /** * WebhooksApi - functional programming interface */ export declare const WebhooksApiFp: (configuration?: Configuration) => { /** * Count the events for the given webhook endpoint. * @summary Count webhook events * @param {number} webhookID * @param {*} [options] Override http request option. * @throws {RequiredError} */ countWebhookEvents(webhookID: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Count all webhook endpoints. * @summary Count webhooks * @param {*} [options] Override http request option. * @throws {RequiredError} */ countWebhooks(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Create a webhook. * @summary Create webhook * @param {BaseWebhookEndpoint} baseWebhookEndpoint * @param {*} [options] Override http request option. * @throws {RequiredError} */ createWebhook(baseWebhookEndpoint: BaseWebhookEndpoint, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Delete a webhook endpoint. * @summary Delete webhook * @param {number} webhookID * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteWebhook(webhookID: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Get a webhook endpoint. * @summary Get webhook * @param {number} webhookID * @param {*} [options] Override http request option. * @throws {RequiredError} */ getWebhook(webhookID: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * List events for the given webhook endpoint. * @summary List webhook events * @param {number} webhookID * @param {number} [limit] * @param {number} [offset] * @param {*} [options] Override http request option. * @throws {RequiredError} */ listWebhookEvents(webhookID: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * List all webhook endpoints. * @summary List webhooks * @param {number} [limit] * @param {number} [offset] * @param {*} [options] Override http request option. * @throws {RequiredError} */ listWebhooks(limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Update a webhook endpoint. * @summary Update webhook * @param {number} webhookID * @param {BaseWebhookEndpoint} baseWebhookEndpoint * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateWebhook(webhookID: number, baseWebhookEndpoint: BaseWebhookEndpoint, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * WebhooksApi - factory interface */ export declare const WebhooksApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Count the events for the given webhook endpoint. * @summary Count webhook events * @param {number} webhookID * @param {*} [options] Override http request option. * @throws {RequiredError} */ countWebhookEvents(webhookID: number, options?: RawAxiosRequestConfig): AxiosPromise; /** * Count all webhook endpoints. * @summary Count webhooks * @param {*} [options] Override http request option. * @throws {RequiredError} */ countWebhooks(options?: RawAxiosRequestConfig): AxiosPromise; /** * Create a webhook. * @summary Create webhook * @param {BaseWebhookEndpoint} baseWebhookEndpoint * @param {*} [options] Override http request option. * @throws {RequiredError} */ createWebhook(baseWebhookEndpoint: BaseWebhookEndpoint, options?: RawAxiosRequestConfig): AxiosPromise; /** * Delete a webhook endpoint. * @summary Delete webhook * @param {number} webhookID * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteWebhook(webhookID: number, options?: RawAxiosRequestConfig): AxiosPromise; /** * Get a webhook endpoint. * @summary Get webhook * @param {number} webhookID * @param {*} [options] Override http request option. * @throws {RequiredError} */ getWebhook(webhookID: number, options?: RawAxiosRequestConfig): AxiosPromise; /** * List events for the given webhook endpoint. * @summary List webhook events * @param {number} webhookID * @param {number} [limit] * @param {number} [offset] * @param {*} [options] Override http request option. * @throws {RequiredError} */ listWebhookEvents(webhookID: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise; /** * List all webhook endpoints. * @summary List webhooks * @param {number} [limit] * @param {number} [offset] * @param {*} [options] Override http request option. * @throws {RequiredError} */ listWebhooks(limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise; /** * Update a webhook endpoint. * @summary Update webhook * @param {number} webhookID * @param {BaseWebhookEndpoint} baseWebhookEndpoint * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateWebhook(webhookID: number, baseWebhookEndpoint: BaseWebhookEndpoint, options?: RawAxiosRequestConfig): AxiosPromise; }; /** * WebhooksApi - interface */ export interface WebhooksApiInterface { /** * Count the events for the given webhook endpoint. * @summary Count webhook events * @param {number} webhookID * @param {*} [options] Override http request option. * @throws {RequiredError} */ countWebhookEvents(webhookID: number, options?: RawAxiosRequestConfig): AxiosPromise; /** * Count all webhook endpoints. * @summary Count webhooks * @param {*} [options] Override http request option. * @throws {RequiredError} */ countWebhooks(options?: RawAxiosRequestConfig): AxiosPromise; /** * Create a webhook. * @summary Create webhook * @param {BaseWebhookEndpoint} baseWebhookEndpoint * @param {*} [options] Override http request option. * @throws {RequiredError} */ createWebhook(baseWebhookEndpoint: BaseWebhookEndpoint, options?: RawAxiosRequestConfig): AxiosPromise; /** * Delete a webhook endpoint. * @summary Delete webhook * @param {number} webhookID * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteWebhook(webhookID: number, options?: RawAxiosRequestConfig): AxiosPromise; /** * Get a webhook endpoint. * @summary Get webhook * @param {number} webhookID * @param {*} [options] Override http request option. * @throws {RequiredError} */ getWebhook(webhookID: number, options?: RawAxiosRequestConfig): AxiosPromise; /** * List events for the given webhook endpoint. * @summary List webhook events * @param {number} webhookID * @param {number} [limit] * @param {number} [offset] * @param {*} [options] Override http request option. * @throws {RequiredError} */ listWebhookEvents(webhookID: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise; /** * List all webhook endpoints. * @summary List webhooks * @param {number} [limit] * @param {number} [offset] * @param {*} [options] Override http request option. * @throws {RequiredError} */ listWebhooks(limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise; /** * Update a webhook endpoint. * @summary Update webhook * @param {number} webhookID * @param {BaseWebhookEndpoint} baseWebhookEndpoint * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateWebhook(webhookID: number, baseWebhookEndpoint: BaseWebhookEndpoint, options?: RawAxiosRequestConfig): AxiosPromise; } /** * WebhooksApi - object-oriented interface */ export declare class WebhooksApi extends BaseAPI implements WebhooksApiInterface { /** * Count the events for the given webhook endpoint. * @summary Count webhook events * @param {number} webhookID * @param {*} [options] Override http request option. * @throws {RequiredError} */ countWebhookEvents(webhookID: number, options?: RawAxiosRequestConfig): Promise>; /** * Count all webhook endpoints. * @summary Count webhooks * @param {*} [options] Override http request option. * @throws {RequiredError} */ countWebhooks(options?: RawAxiosRequestConfig): Promise>; /** * Create a webhook. * @summary Create webhook * @param {BaseWebhookEndpoint} baseWebhookEndpoint * @param {*} [options] Override http request option. * @throws {RequiredError} */ createWebhook(baseWebhookEndpoint: BaseWebhookEndpoint, options?: RawAxiosRequestConfig): Promise>; /** * Delete a webhook endpoint. * @summary Delete webhook * @param {number} webhookID * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteWebhook(webhookID: number, options?: RawAxiosRequestConfig): Promise>; /** * Get a webhook endpoint. * @summary Get webhook * @param {number} webhookID * @param {*} [options] Override http request option. * @throws {RequiredError} */ getWebhook(webhookID: number, options?: RawAxiosRequestConfig): Promise>; /** * List events for the given webhook endpoint. * @summary List webhook events * @param {number} webhookID * @param {number} [limit] * @param {number} [offset] * @param {*} [options] Override http request option. * @throws {RequiredError} */ listWebhookEvents(webhookID: number, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise>; /** * List all webhook endpoints. * @summary List webhooks * @param {number} [limit] * @param {number} [offset] * @param {*} [options] Override http request option. * @throws {RequiredError} */ listWebhooks(limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise>; /** * Update a webhook endpoint. * @summary Update webhook * @param {number} webhookID * @param {BaseWebhookEndpoint} baseWebhookEndpoint * @param {*} [options] Override http request option. * @throws {RequiredError} */ updateWebhook(webhookID: number, baseWebhookEndpoint: BaseWebhookEndpoint, options?: RawAxiosRequestConfig): Promise>; }