ExBooking.Request (ExBooking v0.1.0)

View Source

An invitee's booking request.

A request carries the desired meeting type, invitee timezone, requested slot, preferred resources, metadata, and opaque routing context. Routing context is passed through to scoring and events without the kernel interpreting it.

Example

iex> request = %ExBooking.Request{
...>   meeting_type_id: "intro",
...>   invitee_timezone: "America/New_York",
...>   routing_context: %{source: "website"}
...> }
...>
...> request.routing_context.source
"website"

Summary

Types

t()

A booking request.

Types

t()

@type t() :: %ExBooking.Request{
  invitee_timezone: String.t(),
  meeting_type_id: String.t(),
  metadata: map() | nil,
  preferred_resource_ids: [String.t()],
  routing_context: map(),
  slot: ExBooking.Interval.t() | nil
}

A booking request.