WorkOS.DsyncUserUpdatedData (WorkOS SDK for Elixir v3.0.1)

Copy Markdown View Source

The event payload.

Deprecated fields

  • :raw_attributes — The raw attributes received from the directory provider.
  • :emails — A list of email addresses for the user.
  • :job_title — The job title of the user.
  • :username — The username of the user.

Summary

Types

t()

@type t() :: %WorkOS.DsyncUserUpdatedData{
  created_at: String.t(),
  custom_attributes: %{optional(String.t()) => term()},
  directory_id: String.t(),
  email: String.t() | nil,
  emails: [WorkOS.DsyncUserUpdatedDataEmail.t()] | nil,
  first_name: String.t() | nil,
  id: String.t(),
  idp_id: String.t(),
  job_title: String.t() | nil,
  last_name: String.t() | nil,
  name: String.t() | nil,
  object: String.t(),
  organization_id: String.t(),
  previous_attributes: %{optional(String.t()) => term()} | nil,
  raw_attributes: %{optional(String.t()) => term()},
  role: WorkOS.SlimRole.t() | nil,
  roles: [WorkOS.SlimRole.t()] | nil,
  state: WorkOS.DsyncUserUpdatedDataState.t(),
  updated_at: String.t(),
  username: String.t() | nil
}