Communication models
- BookingLink
- BookingLinkSubmission
- CalendarEvent
- CalendarEventParticipant
- CalendarSchedulingCancellation · Internal
- Comment
- ConferenceAdmission · Internal
- ConferenceAttendance · Internal
- ConferenceParticipant · Internal
- ConferenceRoom · Internal
- ConferenceSession · Internal
- ConferenceWebhookReceipt · Internal
- EmailAccount
- EmailDraft · Internal
- IMAuthorization · Internal
- IMConnection · Internal
- IMConversation · Internal
- IMConversationActivity · Internal
- IMConversationParticipant · Internal
- IMEndpoint · Internal
- IMIdentity · Internal
- IMIdentitySource · Internal
- IMMessage · Internal
- IMMessageAttachment · Internal
- IMMessageReaction · Internal
- IMThreadReadPosition · Internal
- Inbox
- InboxFolder
- InboxItem
- Label · Internal
- Mention · Internal
- ObjectLabel · Internal
- PhoneCall · Internal
- PhoneCallEvent
- Tag · Internal
- UserInboxPreference · Internal
- VoIPConnection
- VoIPNumber
Column and nullable values apply to fields stored on the model's table.
BookingLink
bloomerp.models.communication.calendar.booking_link.BookingLink
Configure a booking offering without inferring attendees from inboxes.
Database table bloomerp_calendarbooking
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
organizing_inbox | ForeignKey to bloomerp.Inbox | organizing_inbox_id | No | — |
title | CharField | title | No | — |
description | TextField | description | No | — |
location | CharField | location | No | — |
meeting_duration_minutes | PositiveIntegerField | meeting_duration_minutes | No | — |
availability_hours | JSONField | availability_hours | No | — |
timezone | CharField | timezone | No | — |
public_token | UUIDField | public_token | No | — |
active | BooleanField | active | No | — |
auto_approve | BooleanField | auto_approve | No | — |
email_account | ForeignKey to bloomerp.EmailAccount | email_account_id | Yes | — |
email_message | TextField | email_message | Yes | Required when an email account is selected. |
target_inboxes | ManyToManyField to bloomerp.Inbox | — | — | — |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
BookingLinkSubmission
bloomerp.models.communication.calendar.booking_link_submission.BookingLinkSubmission
Record visitor details and retain proposed times for manual approval.
Database table bloomerp_calendarbookingsubmission
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
booking_link | ForeignKey to bloomerp.BookingLink | booking_link_id | No | — |
name | CharField | name | No | — |
email | EmailField | email | No | — |
submitted_at | DateTimeField | submitted_at | No | — |
requested_start | DateTimeField | requested_start | Yes | — |
requested_end | DateTimeField | requested_end | Yes | — |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
CalendarEvent
bloomerp.models.communication.calendar.calendar_event.CalendarEvent
Store one meeting displayed in multiple Inbox calendars without copies.
Database table bloomerp_calendarevent
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
calendar_uid | CharField | calendar_uid | No | — |
sequence | PositiveIntegerField | sequence | No | — |
scheduling_dtstamp | DateTimeField | scheduling_dtstamp | No | — |
cancelled | BooleanField | cancelled | No | — |
source_calendar | TextField | source_calendar | No | — |
invitation_sent_at | DateTimeField | invitation_sent_at | Yes | — |
calendar_booking_submission | OneToOneField to bloomerp.BookingLinkSubmission | calendar_booking_submission_id | Yes | — |
organizing_inbox | ForeignKey to bloomerp.Inbox | organizing_inbox_id | Yes | — |
conference_session | OneToOneField to bloomerp.ConferenceSession | conference_session_id | Yes | — |
organizer_email | EmailField | organizer_email | No | — |
title | CharField | title | No | — |
content | TextField | content | No | — |
location | CharField | location | No | — |
start | DateTimeField | start | Yes | — |
end | DateTimeField | end | Yes | — |
event_timezone | CharField | event_timezone | Yes | — |
start_date | DateField | start_date | Yes | — |
end_date | DateField | end_date | Yes | — |
all_day | BooleanField | all_day | No | — |
inboxes | ManyToManyField to bloomerp.Inbox | — | — | — |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
CalendarEventParticipant
bloomerp.models.communication.calendar.calendar_event_participant.CalendarEventParticipant
Identify an internal user or external email without implying placement.
Database table bloomerp_calendareventparticipant
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
event | ForeignKey to bloomerp.CalendarEvent | event_id | No | — |
user | ForeignKey to bloomerp.User | user_id | Yes | — |
email | EmailField | email | No | — |
display_name | CharField | display_name | No | — |
response_status | CharField | response_status | No | — |
reply_sequence | PositiveIntegerField | reply_sequence | Yes | — |
reply_dtstamp | DateTimeField | reply_dtstamp | Yes | — |
last_sent_reply_sequence | PositiveIntegerField | last_sent_reply_sequence | Yes | — |
last_sent_reply_status | CharField | last_sent_reply_status | No | — |
invitation_cancelled | BooleanField | invitation_cancelled | No | — |
responded_at | DateTimeField | responded_at | Yes | — |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
CalendarSchedulingCancellation
bloomerp.models.communication.calendar.calendar_scheduling_cancellation.CalendarSchedulingCancellation
Internal model
Prevent delayed invitations from resurrecting previously cancelled revisions.
Cancellations may arrive before any invitation, including attendee-specific cancellations. CalendarEvent requires a valid date range, so these protocol identities cannot safely be stored as placeholder events.
Database table bloomerp_calendarschedulingcancellation
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
calendar_uid | CharField | calendar_uid | No | — |
organizer_email | EmailField | organizer_email | No | — |
attendee_email | EmailField | attendee_email | No | — |
sequence | PositiveIntegerField | sequence | No | — |
dtstamp | DateTimeField | dtstamp | No | — |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
Comment
bloomerp.models.communication.comment.Comment
Database table bloomerp_comment
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | BigAutoField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
content_type | ForeignKey to contenttypes.ContentType | content_type_id | No | — |
object_id | CharField | object_id | No | In order to support both UUID and integer primary keys |
content | TextField | content | No | — |
content_object | GenericForeignKey | — | — | — |
ConferenceAdmission
bloomerp.models.communication.conferencing.conference_admission.ConferenceAdmission
Internal model
Require a host decision before a link visitor receives media credentials.
Database table bloomerp_conferenceadmission
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
session | ForeignKey to bloomerp.ConferenceSession | session_id | No | — |
browser_key | UUIDField | browser_key | No | — |
user | ForeignKey to bloomerp.User | user_id | Yes | — |
display_name | CharField | display_name | No | — |
status | CharField | status | No | — |
participant | ForeignKey to bloomerp.ConferenceParticipant | participant_id | Yes | — |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
ConferenceAttendance
bloomerp.models.communication.conferencing.conference_attendance.ConferenceAttendance
Internal model
Track one connection interval; reconnects retaining a SID reuse the record.
Database table bloomerp_conferenceattendance
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
participant | ForeignKey to bloomerp.ConferenceParticipant | participant_id | No | — |
livekit_identity | CharField | livekit_identity | No | — |
livekit_participant_sid | CharField | livekit_participant_sid | No | — |
joined_at | DateTimeField | joined_at | No | — |
left_at | DateTimeField | left_at | Yes | — |
leave_reason | CharField | leave_reason | No | — |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
ConferenceParticipant
bloomerp.models.communication.conferencing.conference_participant.ConferenceParticipant
Internal model
Retain invited or admitted people even when they never connect.
Database table bloomerp_conferenceparticipant
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
session | ForeignKey to bloomerp.ConferenceSession | session_id | No | — |
user | ForeignKey to bloomerp.User | user_id | Yes | — |
display_name_snapshot | CharField | display_name_snapshot | No | — |
role | CharField | role | No | — |
invitation_status | CharField | invitation_status | No | — |
invited_at | DateTimeField | invited_at | Yes | — |
responded_at | DateTimeField | responded_at | Yes | — |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
ConferenceRoom
bloomerp.models.communication.conferencing.conference_room.ConferenceRoom
Internal model
Provide a stable application identity across calls and future calendar events.
Database table bloomerp_conferenceroom
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
title | CharField | title | No | — |
conversation | ForeignKey to bloomerp.IMConversation | conversation_id | Yes | — |
archived | BooleanField | archived | No | — |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
ConferenceSession
bloomerp.models.communication.conferencing.conference_session.ConferenceSession
Internal model
Retain the lifecycle of one call independently of its temporary LiveKit room.
Database table bloomerp_conferencesession
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
room | ForeignKey to bloomerp.ConferenceRoom | room_id | No | — |
livekit_room_name | CharField | livekit_room_name | No | — |
share_token | UUIDField | share_token | No | — |
livekit_room_sid | CharField | livekit_room_sid | No | — |
initial_media_mode | CharField | initial_media_mode | No | — |
status | CharField | status | No | — |
client_id | CharField | client_id | No | — |
started_at | DateTimeField | started_at | Yes | — |
ended_at | DateTimeField | ended_at | Yes | — |
end_reason | CharField | end_reason | No | — |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
ConferenceWebhookReceipt
bloomerp.models.communication.conferencing.conference_webhook_receipt.ConferenceWebhookReceipt
Internal model
Track processing without retaining raw webhook bodies or access tokens.
Database table bloomerp_conferencewebhookreceipt
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
event_id | CharField | event_id | No | — |
event_type | CharField | event_type | No | — |
occurred_at | DateTimeField | occurred_at | No | — |
status | CharField | status | No | — |
processed_at | DateTimeField | processed_at | Yes | — |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
EmailAccount
bloomerp.models.communication.email_account.EmailAccount
Database table bloomerp_email_account
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
avatar | ImageField | avatar | Yes | — |
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
name | CharField | name | No | — |
email_address | EmailField | email_address | No | — |
provider | CharField | provider | No | — |
status | CharField | status | No | — |
username | CharField | username | No | — |
password | TextField | password | No | Encrypted password or app password used for providers that support direct SMTP/IMAP authentication. |
imap_host | CharField | imap_host | No | — |
imap_port | PositiveIntegerField | imap_port | Yes | — |
imap_security | CharField | imap_security | No | — |
smtp_host | CharField | smtp_host | No | — |
smtp_port | PositiveIntegerField | smtp_port | Yes | — |
smtp_security | CharField | smtp_security | No | — |
smtp_envelope_sender | EmailField | smtp_envelope_sender | No | Leave blank to use the email address. For aliases, enter the primary mailbox address if your provider requires it. Replies still go to the visible sender unless a reply address is specified. |
save_sent_emails | BooleanField | save_sent_emails | No | Save a copy in the server's Sent folder after sending. Enable for providers such as Neo; leave disabled if your provider already saves sent emails automatically. |
oauth_client_id | CharField | oauth_client_id | No | — |
oauth_client_secret | TextField | oauth_client_secret | No | Encrypted OAuth client secret. |
oauth_tenant_id | CharField | oauth_tenant_id | No | Provider tenant, directory, or workspace identifier when applicable. |
oauth_scopes | TextField | oauth_scopes | No | Space-separated OAuth scopes requested for this account. |
access_token | TextField | access_token | No | Encrypted OAuth access token. |
refresh_token | TextField | refresh_token | No | Encrypted OAuth refresh token. |
token_expires_at | DateTimeField | token_expires_at | Yes | — |
extra_settings | JSONField | extra_settings | No | Provider-specific settings that do not have dedicated fields yet. |
sync_enabled | BooleanField | sync_enabled | No | Whether this account should be synchronized automatically. |
sync_mode | CharField | sync_mode | No | Synchronization mode for this account. Defaults to the provider's preferred mode. |
sync_interval_minutes | PositiveIntegerField | sync_interval_minutes | No | Polling interval used by providers that synchronize on a schedule. |
sync_cursor | JSONField | sync_cursor | No | Provider-specific cursor/state for incremental synchronization. |
next_sync_at | DateTimeField | next_sync_at | Yes | — |
last_sync_started_at | DateTimeField | last_sync_started_at | Yes | — |
last_sync_finished_at | DateTimeField | last_sync_finished_at | Yes | — |
sync_locked_until | DateTimeField | sync_locked_until | Yes | — |
last_sync_error | TextField | last_sync_error | No | — |
last_validated_at | DateTimeField | last_validated_at | Yes | — |
validation_error | TextField | validation_error | No | — |
mailboxes | JSONField | mailboxes | No | Provider mailbox names mapped to labels, roles and optional icon colors. |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
EmailDraft
bloomerp.models.communication.email_draft.EmailDraft
Internal model
Store an owner's editable message and template arguments until sending.
Database table bloomerp_email_draft
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
avatar | ImageField | avatar | Yes | — |
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
user | ForeignKey to bloomerp.User | user_id | No | — |
email_account | ForeignKey to bloomerp.EmailAccount | email_account_id | Yes | — |
content_type | ForeignKey to contenttypes.ContentType | content_type_id | Yes | — |
object_id | CharField | object_id | No | — |
payload | JSONField | payload | No | — |
pending_send | JSONField | pending_send | No | — |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
IMAuthorization
bloomerp.models.communication.instant_messaging.im_authorization.IMAuthorization
Internal model
Store shared or personal credentials independently from account identity.
Database table bloomerp_im_authorization
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
connection | ForeignKey to bloomerp.IMConnection | connection_id | No | — |
user | ForeignKey to bloomerp.User | user_id | Yes | — |
kind | CharField | kind | No | — |
credentials | TextField | credentials | No | — |
scopes | JSONField | scopes | No | — |
expires_at | DateTimeField | expires_at | Yes | — |
revoked_at | DateTimeField | revoked_at | Yes | — |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
IMConnection
bloomerp.models.communication.instant_messaging.im_connection.IMConnection
Internal model
Own a provider account, its endpoints and provider-scoped identities.
Database table bloomerp_im_connection
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
name | CharField | name | No | — |
provider | CharField | provider | No | — |
status | CharField | status | No | — |
external_account_id | CharField | external_account_id | No | — |
settings | JSONField | settings | No | Non-secret provider settings only. |
sync_cursor | JSONField | sync_cursor | No | — |
last_synced_at | DateTimeField | last_synced_at | Yes | — |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
IMConversation
bloomerp.models.communication.instant_messaging.im_conversation.IMConversation
Internal model
Own an independent direct, group or channel conversation on one connection.
Database table bloomerp_im_conversation
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
provider_key | CharField | provider_key | No | — |
voip_number | ForeignKey to bloomerp.VoIPNumber | voip_number_id | Yes | — |
phone_address | CharField | phone_address | No | — |
connection | ForeignKey to bloomerp.IMConnection | connection_id | Yes | — |
endpoint | ForeignKey to bloomerp.IMEndpoint | endpoint_id | Yes | — |
kind | CharField | kind | No | — |
name | CharField | name | No | — |
provider_thread_id | CharField | provider_thread_id | No | — |
status | CharField | status | No | — |
assigned_to | ForeignKey to bloomerp.User | assigned_to_id | Yes | — |
assigned_team | ForeignKey to auth.Group | assigned_team_id | Yes | — |
needs_reply | BooleanField | needs_reply | No | — |
last_activity_at | DateTimeField | last_activity_at | No | — |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
IMConversationActivity
bloomerp.models.communication.instant_messaging.im_conversation_activity.IMConversationActivity
Internal model
Index an independently stored activity for ordering, inbox previews and read state.
Database table bloomerp_imconversationactivity
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
conversation | ForeignKey to bloomerp.IMConversation | conversation_id | No | — |
kind | CharField | kind | No | — |
source_id | CharField | source_id | No | — |
summary | CharField | summary | No | — |
actor | ForeignKey to bloomerp.User | actor_id | Yes | — |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
IMConversationParticipant
bloomerp.models.communication.instant_messaging.im_conversation_participant.IMConversationParticipant
Internal model
Track either a staff user or external identity and their personal read state.
Database table bloomerp_im_participant
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
conversation | ForeignKey to bloomerp.IMConversation | conversation_id | No | — |
user | ForeignKey to bloomerp.User | user_id | Yes | — |
identity | ForeignKey to bloomerp.IMIdentity | identity_id | Yes | — |
role | CharField | role | No | — |
joined_at | DateTimeField | joined_at | No | — |
left_at | DateTimeField | left_at | Yes | — |
last_read_activity_at | DateTimeField | last_read_activity_at | Yes | — |
muted_until | DateTimeField | muted_until | Yes | — |
last_read_message | ForeignKey to bloomerp.IMMessage | last_read_message_id | Yes | — |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
IMEndpoint
bloomerp.models.communication.instant_messaging.im_endpoint.IMEndpoint
Internal model
Represent a business phone number or another sending endpoint on an account.
Database table bloomerp_im_endpoint
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
connection | ForeignKey to bloomerp.IMConnection | connection_id | No | — |
external_id | CharField | external_id | No | — |
name | CharField | name | No | — |
address | CharField | address | No | — |
is_active | BooleanField | is_active | No | — |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
IMIdentity
bloomerp.models.communication.instant_messaging.im_identity.IMIdentity
Internal model
Keep provider identities without requiring a CRM contact record.
Database table bloomerp_im_identity
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
provider_key | CharField | provider_key | No | — |
connection | ForeignKey to bloomerp.IMConnection | connection_id | Yes | — |
external_id | CharField | external_id | No | — |
display_name | CharField | display_name | No | — |
address | CharField | address | No | — |
avatar_url | URLField | avatar_url | No | — |
content_type | ForeignKey to contenttypes.ContentType | content_type_id | Yes | — |
object_id | CharField | object_id | Yes | — |
related_object | GenericForeignKey | — | — | — |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
IMIdentitySource
bloomerp.models.communication.instant_messaging.im_identity_source.IMIdentitySource
Internal model
Retain record and field provenance without making it the recipient identity.
Database table bloomerp_imidentitysource
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
identity | ForeignKey to bloomerp.IMIdentity | identity_id | No | — |
content_type | ForeignKey to contenttypes.ContentType | content_type_id | No | — |
object_id | CharField | object_id | No | — |
field_name | CharField | field_name | No | — |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
IMMessage
bloomerp.models.communication.instant_messaging.im_message.IMMessage
Internal model
Persist an ordered message with independent quoted-reply and thread links.
Database table bloomerp_im_message
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
conversation | ForeignKey to bloomerp.IMConversation | conversation_id | No | — |
sender | ForeignKey to bloomerp.IMConversationParticipant | sender_id | No | — |
sequence | PositiveBigIntegerField | sequence | No | Allocated under a conversation lock by the messaging service. |
body | TextField | body | No | — |
body_html | TextField | body_html | No | Sanitized editor HTML; body contains the searchable text. |
direction | CharField | direction | No | — |
status | CharField | status | No | — |
client_id | CharField | client_id | No | — |
provider_message_id | CharField | provider_message_id | No | — |
reply_to | ForeignKey to bloomerp.IMMessage | reply_to_id | Yes | — |
thread_root | ForeignKey to bloomerp.IMMessage | thread_root_id | Yes | — |
sent_at | DateTimeField | sent_at | Yes | — |
received_at | DateTimeField | received_at | Yes | — |
edited_at | DateTimeField | edited_at | Yes | — |
deleted_at | DateTimeField | deleted_at | Yes | — |
provider_metadata | JSONField | provider_metadata | No | — |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
IMMessageAttachment
bloomerp.models.communication.instant_messaging.im_message_attachment.IMMessageAttachment
Internal model
Attach a stored file to a message without duplicating its binary content.
Database table bloomerp_im_attachment
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
message | ForeignKey to bloomerp.IMMessage | message_id | No | — |
file | ForeignKey to bloomerp.FileNode | file_id | No | — |
filename | CharField | filename | No | — |
content_type | CharField | content_type | No | — |
size | PositiveBigIntegerField | size | No | — |
provider_media_id | CharField | provider_media_id | No | — |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
IMMessageReaction
bloomerp.models.communication.instant_messaging.im_message_reaction.IMMessageReaction
Internal model
Store one participant's Unicode emoji or provider custom-emoji reaction.
Database table bloomerp_im_reaction
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
message | ForeignKey to bloomerp.IMMessage | message_id | No | — |
participant | ForeignKey to bloomerp.IMConversationParticipant | participant_id | No | — |
emoji | CharField | emoji | No | Unicode emoji, including skin tones/ZWJ sequences, or a provider custom emoji key. |
provider_reaction_id | CharField | provider_reaction_id | No | — |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
IMThreadReadPosition
bloomerp.models.communication.instant_messaging.im_thread_read_position.IMThreadReadPosition
Internal model
Track a participant's thread reads separately from the main conversation.
Database table bloomerp_im_thread_read
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
participant | ForeignKey to bloomerp.IMConversationParticipant | participant_id | No | — |
thread_root | ForeignKey to bloomerp.IMMessage | thread_root_id | No | — |
last_read_message | ForeignKey to bloomerp.IMMessage | last_read_message_id | No | — |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
Inbox
bloomerp.models.communication.inbox.inbox.Inbox
A selectable inbox owned by one user and optionally shared with others.
Shared users select a lightweight BasePreference reference while folders
and items remain attached to the owner's effective inbox.
Database table bloomerp_inbox
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | BigAutoField | id | No | — |
name | CharField | name | No | Optional name for this preference, for user reference |
user | ForeignKey to bloomerp.User | user_id | No | — |
selected | BooleanField | selected | No | Indicates if this preference is currently selected for the user. Only one preference per user can be selected at a time. |
source_object | ForeignKey to bloomerp.Inbox | source_object_id | Yes | Reference to the original preference from which this preference was derived. This is used to track the origin of derived preferences. |
initial_default | BooleanField | initial_default | No | Indicates if this preference is the initial default for the user. This is used to determine the user's default preference when they first create an account. |
shared_with_users | ManyToManyField to bloomerp.User | — | — | Users with whom this preference is shared. |
shared_with_groups | ManyToManyField to auth.Group | — | — | Groups with whom this preference is shared. |
InboxFolder
bloomerp.models.communication.inbox.inbox_folder.InboxFolder
Database table bloomerp_inbox_folder
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
avatar | ImageField | avatar | Yes | — |
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
inbox | ForeignKey to bloomerp.Inbox | inbox_id | No | — |
type | CharField | type | No | — |
related_object_id | CharField | related_object_id | Yes | — |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
InboxItem
bloomerp.models.communication.inbox.inbox_item.InboxItem
Database table bloomerp_inbox_item
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
avatar | ImageField | avatar | Yes | — |
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
item_type | CharField | item_type | No | — |
related_item_id | CharField | related_item_id | Yes | Optional reference to the source item's ID, if applicable. |
folder | ForeignKey to bloomerp.InboxFolder | folder_id | No | The folder to which this inbox item belongs. |
actor | CharField | actor | Yes | The actor or entity associated with the inbox item. |
is_read | BooleanField | is_read | No | Indicates whether the inbox item has been read by the user. |
datetime_received | DateTimeField | datetime_received | Yes | Timestamp when the inbox item was received by its source system. |
title | CharField | title | No | The title of the inbox item. |
snippet | TextField | snippet | Yes | A brief snippet or summary of the inbox item content. |
raw_meta_data | JSONField | raw_meta_data | Yes | Optional JSON field to store additional metadata related to the inbox item. |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
Label
bloomerp.models.communication.label.Label
Internal model
Provide one shared, case-insensitive catalogue of labels.
Database table bloomerp_label
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | BigAutoField | id | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
name | CharField | name | No | — |
color | CharField | color | No | — |
Mention
bloomerp.models.communication.mention.Mention
Internal model
Store manual mentions and independently removable inline occurrences.
Database table bloomerp_mention
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | BigAutoField | id | No | — |
content_type | ForeignKey to contenttypes.ContentType | content_type_id | No | — |
object_id | CharField | object_id | No | — |
user | ForeignKey to bloomerp.User | user_id | No | — |
application_field | ForeignKey to bloomerp.ApplicationField | application_field_id | Yes | — |
occurrence_id | UUIDField | occurrence_id | Yes | — |
ObjectLabel
bloomerp.models.communication.object_label.ObjectLabel
Internal model
Assign each label once to a parent independently of its fields.
Database table bloomerp_objectlabel
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | BigAutoField | id | No | — |
label | ForeignKey to bloomerp.Label | label_id | No | — |
content_type | ForeignKey to contenttypes.ContentType | content_type_id | No | — |
object_id | CharField | object_id | No | — |
PhoneCall
bloomerp.models.communication.voip.phone_call.PhoneCall
Internal model
Track one provider call leg and its optional conversation projection.
Database table bloomerp_phone_call
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
connection | ForeignKey to bloomerp.VoIPConnection | connection_id | No | — |
number | ForeignKey to bloomerp.VoIPNumber | number_id | Yes | — |
conversation | ForeignKey to bloomerp.IMConversation | conversation_id | Yes | — |
provider_call_id | CharField | provider_call_id | No | — |
parent_call_id | CharField | parent_call_id | No | — |
client_id | CharField | client_id | No | — |
direction | CharField | direction | No | — |
status | CharField | status | No | — |
from_address | CharField | from_address | No | — |
to_address | CharField | to_address | No | — |
started_at | DateTimeField | started_at | Yes | — |
ended_at | DateTimeField | ended_at | Yes | — |
duration | PositiveIntegerField | duration | No | — |
handled_by | ForeignKey to bloomerp.User | handled_by_id | Yes | — |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
PhoneCallEvent
bloomerp.models.communication.voip.phone_call_event.PhoneCallEvent
Retain state transitions without storing raw webhook payloads or secrets.
Database table bloomerp_phone_call_event
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
call | ForeignKey to bloomerp.PhoneCall | call_id | No | — |
event_id | CharField | event_id | No | — |
status | CharField | status | No | — |
occurred_at | DateTimeField | occurred_at | No | — |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
Tag
bloomerp.models.communication.tag.Tag
Internal model
Connect a source object to a readable target object.
Database table bloomerp_tag
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | BigAutoField | id | No | — |
source_content_type | ForeignKey to contenttypes.ContentType | source_content_type_id | No | — |
source_object_id | CharField | source_object_id | No | — |
target_content_type | ForeignKey to contenttypes.ContentType | target_content_type_id | No | — |
target_object_id | CharField | target_object_id | No | — |
application_field | ForeignKey to bloomerp.ApplicationField | application_field_id | Yes | — |
occurrence_id | UUIDField | occurrence_id | Yes | — |
UserInboxPreference
bloomerp.models.communication.inbox.user_inbox_preference.UserInboxPreference
Internal model
Database table bloomerp_userinboxpreference
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
avatar | ImageField | avatar | Yes | — |
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
user | OneToOneField to bloomerp.User | user_id | No | — |
selected_inbox_folder | ForeignKey to bloomerp.InboxFolder | selected_inbox_folder_id | Yes | — |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
VoIPConnection
bloomerp.models.communication.voip.voip_connection.VoIPConnection
Own an independently configured carrier account and synchronization state.
Database table bloomerp_voip_connection
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
name | CharField | name | No | — |
provider | CharField | provider | No | — |
external_account_id | CharField | external_account_id | No | — |
status | CharField | status | No | — |
settings | JSONField | settings | No | — |
credentials | TextField | credentials | No | — |
sync_enabled | BooleanField | sync_enabled | No | — |
last_synced_at | DateTimeField | last_synced_at | Yes | — |
validated_at | DateTimeField | validated_at | Yes | — |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
VoIPNumber
bloomerp.models.communication.voip.voip_number.VoIPNumber
Represent a carrier line available to its assigned active staff.
Database table bloomerp_voip_number
| Field | Type | Column | Nullable | Description |
|---|---|---|---|---|
id | UUIDField | id | No | — |
datetime_created | DateTimeField | datetime_created | No | — |
datetime_updated | DateTimeField | datetime_updated | No | — |
created_by | UserField to bloomerp.User | created_by_id | Yes | — |
updated_by | UserField to bloomerp.User | updated_by_id | Yes | — |
connection | ForeignKey to bloomerp.VoIPConnection | connection_id | No | — |
number | CharField | number | No | — |
provider_number_id | CharField | provider_number_id | No | — |
name | CharField | name | No | — |
is_active | BooleanField | is_active | No | — |
supports_sms | BooleanField | supports_sms | No | — |
supports_voice | BooleanField | supports_voice | No | — |
assigned_users | ManyToManyField to bloomerp.User | — | — | — |
files | GenericRelation to bloomerp.FileReference | — | — | — |
comments | GenericRelation to bloomerp.Comment | — | — | — |
object_labels | BloomerpLabelsField | — | — | — |
