import type { MessagingServiceScanResponse } from '../models/MessagingServiceScanResponse'; import type { MessagingServiceScansResponse } from '../models/MessagingServiceScansResponse'; import type { CancelablePromise } from '../core/CancelablePromise'; export declare class MessagingServiceScansService { /** * Get a list of messaging service scans * Use this API to get a list of messaging service scans that match the given parameters.

Token Permissions: [ `messaging_service_scan:read` ] * @returns MessagingServiceScansResponse The list of messaging service scans and the accompanying metadata. * @throws ApiError */ static getMessagingServiceScans({ xContextId, pageSize, pageNumber, sort, ids, messagingServiceId, eventMeshId, }: { /** Optional context id the request is running. **/ xContextId?: string; /** The number of messaging service scans to get per page. **/ pageSize?: number; /** The page number to get. **/ pageNumber?: number; /** 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; /** The IDs of the messaging service scans. **/ ids?: Array; /** Match only messaging service scans in the given messagingService **/ messagingServiceId?: string; /** Match only messaging service scans in the given eventMeshId **/ eventMeshId?: string; }): CancelablePromise; /** * Get a messaging service scan * Use this API to get a single messaging service scan by its ID.

Token Permissions: [ `messaging_service_scan:read` ] * @returns MessagingServiceScanResponse The messaging service scan. * @throws ApiError */ static getMessagingServiceScan({ id, xContextId, }: { /** The ID of the messaging service scan. **/ id: string; /** Optional context id the request is running. **/ xContextId?: string; }): CancelablePromise; /** * Delete a messaging service scan * Use this API to delete a messaging service scan.

Token Permissions: [ `messaging_service_scan:write` ] * @returns void * @throws ApiError */ static deleteMessagingServiceScan({ id, xContextId, }: { /** The ID of the messaging service scan. **/ id: string; /** Optional context id the request is running. **/ xContextId?: string; }): CancelablePromise; }