/** * 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 { Allowlist, AllowlistEntriesResponse, AllowlistEntry, PostAllowlistEntriesRequest, PostAllowlistsRequest } from '../models'; export interface CreateAllowlistByEnvironmentIdRequest { environmentId: string; postAllowlistsRequest: PostAllowlistsRequest; } export interface DeleteAllowlistByIdRequest { allowlistId: string; } export interface DeleteAllowlistEntryByIdRequest { allowlistEntryId: string; } export interface DisableAllowlistByIdRequest { allowlistId: string; } export interface EnableAllowlistByIdRequest { allowlistId: string; } export interface GetAllowlistsByEnvironmentIdRequest { environmentId: string; } export interface GetAllowlistsByIdRequest { allowlistId: string; } export interface GetEntriesByAllowlistIdRequest { allowlistId: string; orderBy?: string; offset?: number; limit?: number; query?: string; } export interface PostEntryByAllowlistIdRequest { allowlistId: string; postAllowlistEntriesRequest: PostAllowlistEntriesRequest; } export interface UpdateAllowlistByIdRequest { allowlistId: string; postAllowlistsRequest: PostAllowlistsRequest; } /** * */ export declare class AllowlistsApi extends runtime.BaseAPI { /** * Creates a new allowlist for the specified environment. * Create an allowlist for the environment */ createAllowlistByEnvironmentIdRaw(requestParameters: CreateAllowlistByEnvironmentIdRequest, initOverrides?: RequestInit): Promise>; /** * Creates a new allowlist for the specified environment. * Create an allowlist for the environment */ createAllowlistByEnvironmentId(requestParameters: CreateAllowlistByEnvironmentIdRequest, initOverrides?: RequestInit): Promise; /** * Permanently removes the specified allowlist. * Delete an allowlist */ deleteAllowlistByIdRaw(requestParameters: DeleteAllowlistByIdRequest, initOverrides?: RequestInit): Promise>; /** * Permanently removes the specified allowlist. * Delete an allowlist */ deleteAllowlistById(requestParameters: DeleteAllowlistByIdRequest, initOverrides?: RequestInit): Promise; /** * Permanently removes the specified allowlist entry. * Delete an allowlist entry */ deleteAllowlistEntryByIdRaw(requestParameters: DeleteAllowlistEntryByIdRequest, initOverrides?: RequestInit): Promise>; /** * Permanently removes the specified allowlist entry. * Delete an allowlist entry */ deleteAllowlistEntryById(requestParameters: DeleteAllowlistEntryByIdRequest, initOverrides?: RequestInit): Promise; /** * Disables the specified allowlist. * Disable the allow list */ disableAllowlistByIdRaw(requestParameters: DisableAllowlistByIdRequest, initOverrides?: RequestInit): Promise>; /** * Disables the specified allowlist. * Disable the allow list */ disableAllowlistById(requestParameters: DisableAllowlistByIdRequest, initOverrides?: RequestInit): Promise; /** * Enables the specified allowlist. * Enable the allowlist */ enableAllowlistByIdRaw(requestParameters: EnableAllowlistByIdRequest, initOverrides?: RequestInit): Promise>; /** * Enables the specified allowlist. * Enable the allowlist */ enableAllowlistById(requestParameters: EnableAllowlistByIdRequest, initOverrides?: RequestInit): Promise; /** * Returns the allowlists for the specified environment. * Get allowlists for the environment */ getAllowlistsByEnvironmentIdRaw(requestParameters: GetAllowlistsByEnvironmentIdRequest, initOverrides?: RequestInit): Promise>>; /** * Returns the allowlists for the specified environment. * Get allowlists for the environment */ getAllowlistsByEnvironmentId(requestParameters: GetAllowlistsByEnvironmentIdRequest, initOverrides?: RequestInit): Promise>; /** * Returns an allowlist by its unique identifier. * Get allowlist by id */ getAllowlistsByIdRaw(requestParameters: GetAllowlistsByIdRequest, initOverrides?: RequestInit): Promise>; /** * Returns an allowlist by its unique identifier. * Get allowlist by id */ getAllowlistsById(requestParameters: GetAllowlistsByIdRequest, initOverrides?: RequestInit): Promise; /** * Returns all entries for the specified allowlist. * Get all entries for an allowlist */ getEntriesByAllowlistIdRaw(requestParameters: GetEntriesByAllowlistIdRequest, initOverrides?: RequestInit): Promise>; /** * Returns all entries for the specified allowlist. * Get all entries for an allowlist */ getEntriesByAllowlistId(requestParameters: GetEntriesByAllowlistIdRequest, initOverrides?: RequestInit): Promise; /** * Creates a new entry for the specified allowlist. * Create an allowlist entry */ postEntryByAllowlistIdRaw(requestParameters: PostEntryByAllowlistIdRequest, initOverrides?: RequestInit): Promise>; /** * Creates a new entry for the specified allowlist. * Create an allowlist entry */ postEntryByAllowlistId(requestParameters: PostEntryByAllowlistIdRequest, initOverrides?: RequestInit): Promise; /** * Updates the specified allowlist. * Update the outcome, scope, or name of an allowlist entry by ID */ updateAllowlistByIdRaw(requestParameters: UpdateAllowlistByIdRequest, initOverrides?: RequestInit): Promise>; /** * Updates the specified allowlist. * Update the outcome, scope, or name of an allowlist entry by ID */ updateAllowlistById(requestParameters: UpdateAllowlistByIdRequest, initOverrides?: RequestInit): Promise; }