Centurio Sistemas & modulju dokumentacija
🏛️ Platformas arhitektūra 🔑 Login
🏠 Visi moduli / crm_office / Times klepas un uzskati
📘

Times klepas un uzskati

chat crm_office 🛡️ RLS Protected

Times chat & calls <unk> process un API dokumenta, kas iegūta no kodu.

Fachliche Bestimmung: Times chat & calls <unk> process un API dokumentācija, kas iegūta no kodu.

⚡ Darbības plūsmas un dzīves cikļi

Dieses Modul folgt dem standardisierten transaktionalen CRUD- und Event-Lifecycle.

🗄️ Datu modeļi & laukumi

ChatChannels chat_channels RLS Aktiv
18 Šķiet, ka tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā vai ir no tā.

Tabelle chat_channels

Feldname Datums Atbalsts Schlüssel Īpaša nozīme
kind VARCHAR(8) Ja * - Feld kind
name VARCHAR(120) Nein - Feld name
topic VARCHAR(255) Nein - Feld topic
is_private BOOLEAN Ja * - Feld is_private
entity_type VARCHAR(32) Nein - Feld entity_type
entity_id UUID Nein - Feld entity_id
dm_key VARCHAR(80) Nein - Feld dm_key
archived_at DATETIME Nein - Feld archived_at
last_message_at DATETIME Nein - Feld last_message_at
id UUID Nein PK Feld id
tenant_id UUID Ja * FK ➔ organizations.id Feld tenant_id
created_at DATETIME Ja * - Feld created_at
updated_at DATETIME Ja * - Feld updated_at
created_by UUID Nein - Feld created_by
updated_by UUID Nein - Feld updated_by
source_type VARCHAR(32) Nein - Feld source_type
source_id UUID Nein - Feld source_id
metadata JSONB Ja * - Feld metadata
ChatMembers chat_members RLS Aktiv
15 Šķiet, ka tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā vai ir no tā.

Tabelle chat_members

Feldname Datums Atbalsts Schlüssel Īpaša nozīme
channel_id UUID Ja * FK ➔ chat_channels.id Feld channel_id
user_id UUID Nein FK ➔ users.id Feld user_id
portal_user_id UUID Nein FK ➔ portal_users.id Feld portal_user_id
role VARCHAR(8) Ja * - Feld role
last_read_seq BIGINT Ja * - Feld last_read_seq
muted BOOLEAN Ja * - Feld muted
id UUID Nein PK Feld id
tenant_id UUID Ja * FK ➔ organizations.id Feld tenant_id
created_at DATETIME Ja * - Feld created_at
updated_at DATETIME Ja * - Feld updated_at
created_by UUID Nein - Feld created_by
updated_by UUID Nein - Feld updated_by
source_type VARCHAR(32) Nein - Feld source_type
source_id UUID Nein - Feld source_id
metadata JSONB Ja * - Feld metadata
ChatMessages chat_messages RLS Aktiv
19 Šķiet, ka tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā vai ir no tā.

Tabelle chat_messages

Feldname Datums Atbalsts Schlüssel Īpaša nozīme
seq BIGINT Ja * - Feld seq
channel_id UUID Ja * FK ➔ chat_channels.id Feld channel_id
author_id UUID Nein FK ➔ users.id Feld author_id
portal_author_id UUID Nein FK ➔ portal_users.id Feld portal_author_id
parent_id UUID Nein FK ➔ chat_messages.id Feld parent_id
kind VARCHAR(8) Ja * - Feld kind
body TEXT Ja * - Feld body
mention_ids JSONB Ja * - Feld mention_ids
edited_at DATETIME Nein - Feld edited_at
deleted_at DATETIME Nein - Feld deleted_at
id UUID Nein PK Feld id
tenant_id UUID Ja * FK ➔ organizations.id Feld tenant_id
created_at DATETIME Ja * - Feld created_at
updated_at DATETIME Ja * - Feld updated_at
created_by UUID Nein - Feld created_by
updated_by UUID Nein - Feld updated_by
source_type VARCHAR(32) Nein - Feld source_type
source_id UUID Nein - Feld source_id
metadata JSONB Ja * - Feld metadata
ChatReactions chat_reactions RLS Aktiv
12 Šķiet, ka tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai tas ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā, vai ir atkarīgs no tā vai ir no tā.

Tabelle chat_reactions

Feldname Datums Atbalsts Schlüssel Īpaša nozīme
message_id UUID Ja * FK ➔ chat_messages.id Feld message_id
user_id UUID Ja * FK ➔ users.id Feld user_id
emoji VARCHAR(16) Ja * - Feld emoji
id UUID Nein PK Feld id
tenant_id UUID Ja * FK ➔ organizations.id Feld tenant_id
created_at DATETIME Ja * - Feld created_at
updated_at DATETIME Ja * - Feld updated_at
created_by UUID Nein - Feld created_by
updated_by UUID Nein - Feld updated_by
source_type VARCHAR(32) Nein - Feld source_type
source_id UUID Nein - Feld source_id
metadata JSONB Ja * - Feld metadata

🔌 Izstādes punkti (UI un API)

Art Metodes Galvenā vieta / ceļš Titel & Zweck Attaisnošana
⚡ REST API DELETE /api/v1/chat/messages/{message_id}
delete_message
Semantic binding: operator_surface; mutation=True
chat
⚡ REST API GET /api/v1/chat/channels
list_channels
Semantic binding: inventory_only; mutation=False
chat
⚡ REST API GET /api/v1/chat/channels/{channel_id}/members
channel_members
Semantic binding: inventory_only; mutation=False
chat
⚡ REST API GET /api/v1/chat/channels/{channel_id}/messages
channel_messages
Semantic binding: inventory_only; mutation=False
chat
⚡ REST API GET /api/v1/chat/messages/{message_id}/thread
message_thread
Semantic binding: inventory_only; mutation=False
chat
⚡ REST API GET /api/v1/chat/search
meklēšana
Semantic binding: inventory_only; mutation=False
chat
⚡ REST API GET /api/v1/chat/unread
neiezināts
Semantic binding: inventory_only; mutation=False
chat
⚡ REST API GET /chat
chat_page
Semantic binding: inventory_only; mutation=False
chat
⚡ REST API PATCH /api/v1/chat/messages/{message_id}
edit_message
Semantic binding: operator_surface; mutation=True
chat
⚡ REST API POST /api/v1/chat/channels
create_channel
Semantic binding: operator_surface; mutation=True
chat
⚡ REST API POST /api/v1/chat/channels/{channel_id}/archive
archive_channel
Semantic binding: operator_surface; mutation=True
chat
⚡ REST API POST /api/v1/chat/channels/{channel_id}/call
start_call
Semantic binding: operator_surface; mutation=True
chat
⚡ REST API POST /api/v1/chat/channels/{channel_id}/join
join_channel
Semantic binding: operator_surface; mutation=True
chat
⚡ REST API POST /api/v1/chat/channels/{channel_id}/leave
leave_channel
Semantic binding: operator_surface; mutation=True
chat
⚡ REST API POST /api/v1/chat/channels/{channel_id}/members
add_members
Semantic binding: operator_surface; mutation=True
chat
⚡ REST API POST /api/v1/chat/channels/{channel_id}/messages
post_message
Semantic binding: operator_surface; mutation=True
chat
⚡ REST API POST /api/v1/chat/channels/{channel_id}/read
mark_read
Semantic binding: operator_surface; mutation=True
chat
⚡ REST API POST /api/v1/chat/dm
open_dm
Semantic binding: operator_surface; mutation=True
chat
⚡ REST API POST /api/v1/chat/entity
open_entity_chat
Semantic binding: operator_surface; mutation=True
chat
⚡ REST API POST /api/v1/chat/messages/{message_id}/react
reaģēt
Semantic binding: operator_surface; mutation=True
chat
⚡ REST API PUT /api/v1/chat/channels/{channel_id}/mute
mute_channel
Semantic binding: operator_surface; mutation=True
chat

🛡️ Regulators & atbilstība

Dieses Modul unterliegt folgenden gesetzlichen, regulatorischen und Revisionsstandards:

  • GOPD pārraudzības
  • Klienta izolācija (PostgreSQL RLS)