import type { ConfigurationResponse } from '../models/ConfigurationResponse';
import type { ConfigurationsResponse } from '../models/ConfigurationsResponse';
import type { CancelablePromise } from '../core/CancelablePromise';
export declare class ConfigurationsService {
/**
* (Beta) Get a list of configurations
* Use this API to get a list of configurations that match the given parameters.
Token Permissions: [ `ep_configuration:read` ]
* @returns ConfigurationsResponse Get a list of configurations and the accompanying metadata.
* @throws ApiError
*/
static getConfigurations({ xContextId, pageSize, pageNumber, eventBrokerIds, ids, configurationTypes, entityTypes, entityIds, sort, }: {
/** Optional context id the request is running. **/
xContextId?: string;
/** The number of configurations to get per page. **/
pageSize?: number;
/** The page number to get. **/
pageNumber?: number;
/** Match only configurations with the given messaging service IDs separated by commas. **/
eventBrokerIds?: Array;
/** Match only configurations with the given IDs separated by commas. **/
ids?: Array;
/** Match only configurations with the given configuration type names separated by commas.
Refer here for details on configuration types. **/
configurationTypes?: Array;
/** Match only configurations with the given entity type values separated by commas. **/
entityTypes?: Array;
/** Match only configurations with the given entity IDs separated by commas. **/
entityIds?: Array;
/** Sort based on the provided parameters.
The value can be either a standalone field name (`?sort=`) or a field and direction, delimited by a colon (`?sort=:`). If the direction is not specified, the default is ascending. **/
sort?: string;
}): CancelablePromise;
/**
* (Beta) Get a configuration
* Use this API to get a single configuration by its ID.
Token Permissions: [ `ep_configuration:read` ]
* @returns ConfigurationResponse The configuration.
* @throws ApiError
*/
static getConfiguration({ id, xContextId, }: {
/** The ID of the configuration. **/
id: string;
/** Optional context id the request is running. **/
xContextId?: string;
}): CancelablePromise;
}