View Source ExPipedrive.Goal (ex_pipedrive v0.2.0)
This module and enclosed structs represent a sales goal in Pipedrive.
Unlike most Pipedrive entities, id is a Pipedrive-generated hex string
(e.g. "5665cef556ddff22606fc8f6c0004807"), not an integer.
:type, :assignee, :expected_outcome, and :duration are decoded as
plain maps (not typed structs) — see ExPipedrive.Goals for their nested
JSON shape.
Summary
Types
@type t() :: %ExPipedrive.Goal{ assignee: map() | nil, duration: map() | nil, expected_outcome: map() | nil, id: String.t() | nil, interval: String.t() | nil, is_active: boolean() | nil, original_object: map() | nil, owner_id: pos_integer() | nil, report_ids: [String.t()], title: String.t() | nil, type: map() | nil }