import type { TopicDomain } from '../models/TopicDomain'; import type { TopicDomainResponse } from '../models/TopicDomainResponse'; import type { TopicDomainsResponse } from '../models/TopicDomainsResponse'; import type { CancelablePromise } from '../core/CancelablePromise'; export declare class TopicDomainsService { /** * Get a list of the topic domains * Use this API to get a list of topic domains that match the given parameters.

Token Permissions: [ `event_designer:access` ] * @returns TopicDomainsResponse Get a list of topic domains and the accompanying metadata. * @throws ApiError */ static getTopicDomains({ xContextId, pageSize, pageNumber, ids, brokerType, applicationDomainIds, applicationDomainId, }: { /** Optional context id the request is running. **/ xContextId?: string; /** The number of topic domains to get per page. **/ pageSize?: number; /** The page number to get. **/ pageNumber?: number; /** Match only topic domains with the given IDs separated by commas. **/ ids?: Array; /** Match only topic domains with the given brokerType. **/ brokerType?: string; /** Match only topic domains with the given application domain ids separated by commas. **/ applicationDomainIds?: Array; applicationDomainId?: string; }): CancelablePromise; /** * Create a topic domain * Topic Domains govern the format of topic addresses within an application domain

Token Permissions: [ `topic_domain:create:*` ] * @returns TopicDomainResponse Created a topic domain. Returns the newly saved topic domain in the response body. * @throws ApiError */ static createTopicDomain({ requestBody, xContextId, }: { requestBody: TopicDomain; /** Optional context id the request is running. **/ xContextId?: string; }): CancelablePromise; /** * Get a topic domain * Use this API to get a single topic domain by its ID.

Token Permissions: [ `topic_domain:get:*` ] * @returns TopicDomainResponse The topic domain. * @throws ApiError */ static getTopicDomain({ id, xContextId, }: { /** The ID of the topic domain. **/ id: string; /** Optional context id the request is running. **/ xContextId?: string; }): CancelablePromise; /** * Delete a topic domain * Use this API to delete a topic domain.

Token Permissions: [ `topic_domain:delete:*` ] * @returns void * @throws ApiError */ static deleteTopicDomain({ id, xContextId, }: { /** The ID of the topic domain **/ id: string; /** Optional context id the request is running. **/ xContextId?: string; }): CancelablePromise; }