View Source ExPipedrive.Activity (ex_pipedrive v0.1.0)
Activity entity decoded from Pipedrive API v1 or v2 responses.
ID references are normalized to integers. V2 nested location objects and
busy/owner_id aliases are synced onto legacy field names; the raw payload
remains on original_object.
Summary
Types
@type t() :: %ExPipedrive.Activity{ active_flag: boolean() | nil, add_time: (DateTime.t() | NaiveDateTime.t()) | nil, attendees: list() | nil, busy: boolean() | nil, busy_flag: boolean() | nil, calendar_sync_include_context: boolean() | nil, company_id: pos_integer() | nil, conference_meeting_client: String.t() | nil, conference_meeting_id: String.t() | nil, conference_meeting_url: String.t() | nil, custom_fields: map(), deal_id: pos_integer() | nil, done: boolean() | nil, due_date: Date.t() | nil, due_time: String.t() | nil, duration: String.t() | nil, id: pos_integer() | nil, is_deleted: boolean() | nil, last_notification_time: (DateTime.t() | NaiveDateTime.t()) | nil, last_notification_user_id: pos_integer() | nil, lead_id: String.t() | nil, location: String.t() | nil, location_admin_area_level_1: String.t() | nil, location_admin_area_level_2: String.t() | nil, location_country: String.t() | nil, location_formatted_address: String.t() | nil, location_locality: String.t() | nil, location_postal_code: String.t() | nil, location_route: String.t() | nil, location_street_number: String.t() | nil, location_sublocality: String.t() | nil, location_subpremise: String.t() | nil, marked_as_done_time: (DateTime.t() | NaiveDateTime.t()) | nil, note: String.t() | nil, notification_language_id: pos_integer() | nil, org_id: pos_integer() | nil, org_name: String.t() | nil, original_object: map() | nil, owner_id: pos_integer() | nil, participants: [ExPipedrive.ActivityParticipant.t()] | nil, person_id: pos_integer() | nil, priority: integer() | nil, project_id: pos_integer() | nil, public_description: String.t() | nil, reference_id: pos_integer() | nil, reference_type: String.t() | nil, source_timezone: String.t() | nil, subject: String.t(), type: ExPipedrive.ActivityType.key_string(), update_time: (DateTime.t() | NaiveDateTime.t()) | nil, update_user_id: pos_integer() | nil, user_id: pos_integer() | nil }