Crosswake.Bridge.Commands.NotificationToken (crosswake v0.1.0)

View Source

Typed payload structs for the prompt-free notifications.token.get bridge command.

Summary

Functions

new_request(attrs)

@spec new_request(keyword()) ::
  {:ok, Crosswake.Bridge.Commands.NotificationToken.Request.t()}
  | {:error, :unsupported_option}

new_response(attrs)

@spec new_response(keyword()) ::
  Crosswake.Bridge.Commands.NotificationToken.Response.t()

supported_providers()

@spec supported_providers() :: [String.t()]

supported_statuses()

@spec supported_statuses() :: [
  Crosswake.Bridge.Commands.NotificationToken.Response.status()
]