topics API operations.
Summary
Types
@type t() :: %ApolloSignal.Domains.Topics{client: ApolloSignal.Client.t()}
Functions
@spec create_topic( domain :: t(), project_id :: String.t(), body :: ApolloSignal.Types.CreateTopicBody.t(), options :: keyword() ) :: {:ok, ApolloSignal.Types.TopicResponse.t(), ApolloSignal.Transport.metadata()} | {:error, ApolloSignal.Errors.t()}
@spec delete_topic( domain :: t(), project_id :: String.t(), topic_id :: String.t(), options :: keyword() ) :: {:ok, ApolloSignal.Transport.metadata()} | {:error, ApolloSignal.Errors.t()}
@spec get_topic( domain :: t(), project_id :: String.t(), topic_id :: String.t(), options :: keyword() ) :: {:ok, ApolloSignal.Types.TopicResponse.t(), ApolloSignal.Transport.metadata()} | {:error, ApolloSignal.Errors.t()}
@spec list_contacts_in_topic( domain :: t(), project_id :: String.t(), topic_id :: String.t(), options :: keyword() ) :: {:ok, ApolloSignal.Types.CursorPage.t(), ApolloSignal.Transport.metadata()} | {:error, ApolloSignal.Errors.t()}
@spec list_topics(domain :: t(), project_id :: String.t(), options :: keyword()) :: {:ok, ApolloSignal.Types.TopicPageResponse.t(), ApolloSignal.Transport.metadata()} | {:error, ApolloSignal.Errors.t()}
@spec new(ApolloSignal.Client.t()) :: t()
@spec update_topic( domain :: t(), project_id :: String.t(), topic_id :: String.t(), body :: ApolloSignal.Types.UpdateTopicBody.t(), options :: keyword() ) :: {:ok, ApolloSignal.Types.TopicResponse.t(), ApolloSignal.Transport.metadata()} | {:error, ApolloSignal.Errors.t()}