import type { AuditResultDetailResponse } from '../models/AuditResultDetailResponse'; import type { AuditResultsResponse } from '../models/AuditResultsResponse'; import type { CancelablePromise } from '../core/CancelablePromise'; export declare class AuditResultsService { /** * Get a list of audit results * This provides a list of audit results for the given event mesh and/or event brokers.

Token Permissions: [ `audit:read` ] * @returns AuditResultsResponse The list of audit records and the accompanying metadata. * @throws ApiError */ static listAuditResults({ xContextId, pageSize, pageNumber, eventBrokerIds, eventMeshId, auditEntityTypes, statuses, startsWith, contains, sort, }: { /** Optional context id the request is running. **/ xContextId?: string; /** The number of audit records to get per page. **/ pageSize?: number; /** The page number to get. **/ pageNumber?: number; /** Match only audit records belonging to the given event brokers. **/ eventBrokerIds?: Array; /** Match only audit records belonging to the given event mesh. **/ eventMeshId?: string; /** Match only audit records belonging to the given entity types. **/ auditEntityTypes?: Array<'all' | 'kafkaConsumerGroup' | 'kafkaConsumerGroupAggregate' | 'kafkaTopic' | 'kafkaTopicAggregate' | 'schemaParent' | 'schemaVersion' | 'solaceQueue' | 'solaceQueueAggregate' | 'solaceTopic' | 'kafkaTopicSchemaVersion' | 'kafkaTopicSchemaParent'>; /** Match only audit records with the given statuses. **/ statuses?: Array<'designerOnly' | 'match' | 'partialMatch' | 'runtimeOnly'>; /** Match only audit records with identifiers starting with the given value. **/ startsWith?: string; /** Match audit records with identifiers containing the given value. **/ contains?: string; /** 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. Sorting is supported for status and identifier. **/ sort?: string; }): CancelablePromise; /** * Get the details of a single audit result * This provides the details of a single audit result, given its id.

Token Permissions: [ `audit:read` ] * @returns AuditResultDetailResponse The audit detail. * @throws ApiError */ static getAuditResultDetail({ auditResultId, xContextId, }: { /** The ID of the audit. **/ auditResultId: string; /** Optional context id the request is running. **/ xContextId?: string; }): CancelablePromise; }