/** * Dashboard API * Dashboard API documentation * * The version of the OpenAPI document: 1.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 * as runtime from '../runtime'; import { ChainEnum, EnvironmentVisitorsResponse, EnvironmentsResponse, KeyResponse, ProjectEnvironment, ProjectSettings, WaasVerifyApiKeyResponse, WalletSanctionsResponse } from '../models'; export interface CheckWalletSanctionsByEnvironmentIdRequest { environmentId: string; walletAddress: string; chain: ChainEnum; } export interface GetEnvironmentByIdRequest { environmentId: string; } export interface GetEnvironmentsByProjectIdRequest { projectId: string; } export interface GetKeysForEnvironmentRequest { environmentId: string; } export interface GetVisitorsCountByEnvironmentIdRequest { environmentId: string; } export interface UpdateProjectSettingsRequest { environmentId: string; projectSettings?: ProjectSettings; } export interface VerifyApiKeyRequest { environmentId: string; } /** * */ export declare class EnvironmentsApi extends runtime.BaseAPI { /** * Check if a wallet address is sanctioned using Chainalysis. Returns whether the wallet is blocked or not. * Check if a wallet address is sanctioned */ checkWalletSanctionsByEnvironmentIdRaw(requestParameters: CheckWalletSanctionsByEnvironmentIdRequest, initOverrides?: RequestInit): Promise>; /** * Check if a wallet address is sanctioned using Chainalysis. Returns whether the wallet is blocked or not. * Check if a wallet address is sanctioned */ checkWalletSanctionsByEnvironmentId(requestParameters: CheckWalletSanctionsByEnvironmentIdRequest, initOverrides?: RequestInit): Promise; /** * Returns a single environment by its unique identifier. * Get an environment by ID */ getEnvironmentByIdRaw(requestParameters: GetEnvironmentByIdRequest, initOverrides?: RequestInit): Promise>; /** * Returns a single environment by its unique identifier. * Get an environment by ID */ getEnvironmentById(requestParameters: GetEnvironmentByIdRequest, initOverrides?: RequestInit): Promise; /** * Returns the environments for the specified project. * Get environments for a project */ getEnvironmentsByProjectIdRaw(requestParameters: GetEnvironmentsByProjectIdRequest, initOverrides?: RequestInit): Promise>; /** * Returns the environments for the specified project. * Get environments for a project */ getEnvironmentsByProjectId(requestParameters: GetEnvironmentsByProjectIdRequest, initOverrides?: RequestInit): Promise; /** * Returns the API keys for the specified environment. * Get API keys for the environment */ getKeysForEnvironmentRaw(requestParameters: GetKeysForEnvironmentRequest, initOverrides?: RequestInit): Promise>; /** * Returns the API keys for the specified environment. * Get API keys for the environment */ getKeysForEnvironment(requestParameters: GetKeysForEnvironmentRequest, initOverrides?: RequestInit): Promise; /** * Returns visitor statistics for the specified environment. * Get visitor statistics for the environment */ getVisitorsCountByEnvironmentIdRaw(requestParameters: GetVisitorsCountByEnvironmentIdRequest, initOverrides?: RequestInit): Promise>; /** * Returns visitor statistics for the specified environment. * Get visitor statistics for the environment */ getVisitorsCountByEnvironmentId(requestParameters: GetVisitorsCountByEnvironmentIdRequest, initOverrides?: RequestInit): Promise; /** * Updates the settings for the specified environment. * Update the environment settings */ updateProjectSettingsRaw(requestParameters: UpdateProjectSettingsRequest, initOverrides?: RequestInit): Promise>; /** * Updates the settings for the specified environment. * Update the environment settings */ updateProjectSettings(requestParameters: UpdateProjectSettingsRequest, initOverrides?: RequestInit): Promise; /** * Simple endpoint to verify if the provided API key (DYN_API_TOKEN) is valid and has access to the specified environment. Returns true if the token is verified, false otherwise. * Verify if an API key is valid for a specific environment */ verifyApiKeyRaw(requestParameters: VerifyApiKeyRequest, initOverrides?: RequestInit): Promise>; /** * Simple endpoint to verify if the provided API key (DYN_API_TOKEN) is valid and has access to the specified environment. Returns true if the token is verified, false otherwise. * Verify if an API key is valid for a specific environment */ verifyApiKey(requestParameters: VerifyApiKeyRequest, initOverrides?: RequestInit): Promise; }