/** * 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 { CaptchaSettings, CaptchaSettingsCreateRequest, CaptchaSettingsUpdateRequest } from '../models'; export interface CreateCaptchaSettingsRequest { environmentId: string; captchaSettingsCreateRequest: CaptchaSettingsCreateRequest; } export interface GetCaptchaSettingsRequest { environmentId: string; } export interface UpdateCaptchaSettingsRequest { environmentId: string; captchaSettingsUpdateRequest: CaptchaSettingsUpdateRequest; } /** * */ export declare class CaptchaApi extends runtime.BaseAPI { /** * Creates the captcha settings for the specified environment. The secret key is encrypted at rest and never returned. Returns 409 if captcha settings already exist — use PUT to update them. * Create captcha settings for the environment */ createCaptchaSettingsRaw(requestParameters: CreateCaptchaSettingsRequest, initOverrides?: RequestInit): Promise>; /** * Creates the captcha settings for the specified environment. The secret key is encrypted at rest and never returned. Returns 409 if captcha settings already exist — use PUT to update them. * Create captcha settings for the environment */ createCaptchaSettings(requestParameters: CreateCaptchaSettingsRequest, initOverrides?: RequestInit): Promise; /** * Returns the captcha settings for the specified environment. The secret key is never returned. * Get captcha settings for the environment */ getCaptchaSettingsRaw(requestParameters: GetCaptchaSettingsRequest, initOverrides?: RequestInit): Promise>; /** * Returns the captcha settings for the specified environment. The secret key is never returned. * Get captcha settings for the environment */ getCaptchaSettings(requestParameters: GetCaptchaSettingsRequest, initOverrides?: RequestInit): Promise; /** * Updates the captcha settings for the specified environment, including enabling or disabling verification via the `enabled` field. The secret key is encrypted at rest and never returned. * Update captcha settings for the environment */ updateCaptchaSettingsRaw(requestParameters: UpdateCaptchaSettingsRequest, initOverrides?: RequestInit): Promise>; /** * Updates the captcha settings for the specified environment, including enabling or disabling verification via the `enabled` field. The secret key is encrypted at rest and never returned. * Update captcha settings for the environment */ updateCaptchaSettings(requestParameters: UpdateCaptchaSettingsRequest, initOverrides?: RequestInit): Promise; }