AshHooks.Inbound (AshHooks v3.3.0)

Copy Markdown View Source

Configuration for one inbound webhook declaration.

Values are built by the AshHooks DSL and exposed through AshHooks.Info.inbound/2; applications do not construct this struct directly.

Summary

Types

t()

A compiled inbound webhook declaration.

Types

t()

@type t() :: %AshHooks.Inbound{
  __spark_metadata__: term(),
  body_format: :json | :form | nil,
  entities: list(),
  event_id: (map() | list() -> term()) | nil,
  name: atom(),
  paused: term(),
  previous_secret: term(),
  provider: module() | nil,
  replay_window_seconds: non_neg_integer() | nil,
  secret: term(),
  source_record: module() | nil
}

A compiled inbound webhook declaration.