📘
Kliendiasutus
customers
crm_office
🛡️ RLS Protected
Klienditöö <unk> koodist saadud protsessi- ja API-dokumendid.
Fachliche Bestimmung: Klientstamm <unk> koodist saadud protsess- ja API-dokumendid.
⚡ Töövoogud ja elutsüklid (3)
🗄️ Andme mudelid & väljad (1)
🔌 Algsed punktid (UI ja API) (42)
🛡️ Määruse ja vastavus
⚡ Töövoogud ja elutsüklid
Klientportaali tellimine ja ERP kass
portal_order_cascade
Kliendiportaali kaubakottest kuni seade automaatsele pakkumine ja toimitusele.
sequenceDiagram
Kunde im Portal->>PortalAPI: POST /portal/{slug}/bestellung (Positionen & Fieldsets)
PortalAPI->>PortalAPI: validate_attribute_values()
PortalAPI->>DB: INSERT INTO quotes (source_type = 'SYSTEM')
PortalAPI->>DB: INSERT INTO work_orders (order_type = 'delivery', status = 'SCHEDULED')
PortalAPI-->>Kunde im Portal: Bestätigungsseite & Auftragsnummer
1. CATALOG
Toote valik
klient valib tooteid ja täidab dünaamiliste atribuudiväljakondade.
Aktionen: Nõueteline veebilehel
2. SUBMIT
Töötlus
POST /portal/{slug}/ordingule, millel on typvalideeritud semantikud_attribuudid.
Aktionen: käsk_süsteeme teostamine
3. QUOTE_GEN
Pakkumisvahend
Süsteem tekitab quote source_type= "SYSTEM" ja "portal_order".
Aktionen: Semantic_attribute võtmine
4. WORKORDER_GEN
Töötluskesk
Täiteotsuse automaatsed tooted (töömäärad) LVS/ERP-s.
Aktionen: lattu või rattamiskäik
Kasutaja käsk: kliendi tooraine
plan:command_customer_crud_subagent
Kontrollitud püsivkava (durable_plan), algus: manuell_command.
1. customer_crud_subagent
customer_crud_subagent
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Aktionen: customer_crud_subagent
Klientportaali taotlus
plan:portal_request_dispatch
Kontrollitud kestvusplaan (durable_plan), algus: domain_event.
1. portal_request_dispatch_agent
portal_request_dispatch_agent
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Aktionen: portal_request_dispatch_agent
🗄️ Andme mudelid & väljad
🔌 Algsed punktid (UI ja API)
| Art | Teadus | Lõpppunkt / tee | Titel & Zweck | Õigustamine |
|---|---|---|---|---|
| ⚡ REST API | DELETE | /api/v1/customers/{customer_id} |
delete_customer
Semantic binding: not_evaluated; mutation=True
|
customers
|
| ⚡ REST API | DELETE | /api/v1/customers/{customer_id}/contacts/{contact_id} |
delete_contact
Semantic binding: not_evaluated; mutation=True
|
customers
|
| ⚡ REST API | GET | /api/v1/customers |
list_customers
Semantic binding: not_evaluated; mutation=False
|
customers
|
| ⚡ REST API | GET | /api/v1/customers/stats |
customer_stats
Semantic binding: not_evaluated; mutation=False
|
customers
|
| ⚡ REST API | GET | /api/v1/customers/{customer_id} |
get_customer
Semantic binding: not_evaluated; mutation=False
|
customers
|
| ⚡ REST API | GET | /api/v1/customers/{customer_id}/contacts |
list_contacts
Semantic binding: not_evaluated; mutation=False
|
customers
|
| ⚡ REST API | GET | /api/v1/customers/{customer_id}/invoice-recipient |
get_invoice_recipient
Semantic binding: not_evaluated; mutation=False
|
customers
|
| ⚡ REST API | GET | /api/v1/customers/{customer_id}/portal |
customer_portal_state
Semantic binding: not_evaluated; mutation=False
|
customers
|
| ⚡ REST API | GET | /api/v1/customers/{customer_id}/shop-rates |
list_partner_shop_rates
Semantic binding: not_evaluated; mutation=False
|
customers
|
| ⚡ REST API | GET | /api/v1/customers/{customer_id}/tree |
get_customer_tree
Semantic binding: not_evaluated; mutation=False
|
customers
|
| ⚡ REST API | GET | /customers |
customers_page
Semantic binding: not_evaluated; mutation=False
|
customers
|
| ⚡ REST API | GET | /customers/new |
customer_create_page
Semantic binding: not_evaluated; mutation=False
|
customers
|
| ⚡ REST API | GET | /customers/{customer_id} |
customer_detail_page
Semantic binding: not_evaluated; mutation=False
|
customers
|
| ⚡ REST API | GET | /customers/{customer_id}/edit |
customer_detail_page
Semantic binding: not_evaluated; mutation=False
|
customers
|
| ⚡ REST API | GET | /customers/{customer_id}/portal |
customer_portal_admin_page
Semantic binding: not_evaluated; mutation=False
|
customers
|
| ⚡ REST API | GET | /portal/{slug}/profil |
profile_page
Semantic binding: not_evaluated; mutation=False
|
customers
|
| ⚡ REST API | PATCH | /api/v1/customers/{customer_id} |
update_customer
Semantic binding: not_evaluated; mutation=True
|
customers
|
| ⚡ REST API | PATCH | /api/v1/customers/{customer_id}/contacts/{contact_id} |
update_contact
Semantic binding: not_evaluated; mutation=True
|
customers
|
| ⚡ REST API | POST | /api/v1/customers |
create_customer
Semantic binding: not_evaluated; mutation=True
|
customers
|
| ⚡ REST API | POST | /api/v1/customers/{customer_id}/contacts |
create_contact
Semantic binding: not_evaluated; mutation=True
|
customers
|
| ⚡ REST API | POST | /api/v1/customers/{customer_id}/portal/accounts |
customer_portal_account_add
Semantic binding: not_evaluated; mutation=True
|
customers
|
| ⚡ REST API | POST | /api/v1/customers/{customer_id}/portal/accounts/{account_id}/password |
customer_portal_account_password
Semantic binding: not_evaluated; mutation=True
|
customers
|
| ⚡ REST API | POST | /api/v1/customers/{customer_id}/portal/accounts/{account_id}/status |
customer_portal_account_status
Semantic binding: not_evaluated; mutation=True
|
customers
|
| ⚡ REST API | POST | /api/v1/customers/{customer_id}/portal/invites |
customer_portal_invite
Semantic binding: not_evaluated; mutation=True
|
customers
|
| ⚡ REST API | POST | /api/v1/customers/{customer_id}/portal/invites/{invite_id}/revoke |
customer_portal_invite_revoke
Semantic binding: not_evaluated; mutation=True
|
customers
|
| ⚡ REST API | POST | /api/v1/customers/{customer_id}/portal/toggle |
customer_portal_toggle
Semantic binding: not_evaluated; mutation=True
|
customers
|
| ⚡ REST API | POST | /customers/{customer_id}/portal |
customer_portal_admin_save
Semantic binding: not_evaluated; mutation=True
|
customers
|
| ⚡ REST API | POST | /customers/{customer_id}/portal/accounts |
customer_portal_account_create
Semantic binding: not_evaluated; mutation=True
|
customers
|
| ⚡ REST API | POST | /customers/{customer_id}/portal/accounts/{account_id}/password |
customer_portal_account_password
Semantic binding: not_evaluated; mutation=True
|
customers
|
| ⚡ REST API | POST | /customers/{customer_id}/portal/accounts/{account_id}/status |
customer_portal_account_status
Semantic binding: not_evaluated; mutation=True
|
customers
|
| ⚡ REST API | POST | /customers/{customer_id}/portal/invites |
customer_portal_invite_create
Semantic binding: not_evaluated; mutation=True
|
customers
|
| ⚡ REST API | POST | /customers/{customer_id}/portal/invites/{invite_id}/revoke |
customer_portal_invite_revoke
Semantic binding: not_evaluated; mutation=True
|
customers
|
| ⚡ REST API | POST | /portal/{slug}/profil |
profile_submit
Semantic binding: not_evaluated; mutation=True
|
customers
|
| ⚡ REST API | POST | /portal/{slug}/profil/kontakte |
profile_contact_save
Semantic binding: not_evaluated; mutation=True
|
customers
|
| ⚡ REST API | POST | /portal/{slug}/profil/kontakte/{contact_id}/loeschen |
profile_contact_delete
Semantic binding: not_evaluated; mutation=True
|
customers
|
| ⚡ REST API | POST | /portal/{slug}/profil/standorte |
profile_location_save
Semantic binding: not_evaluated; mutation=True
|
customers
|
| ⚡ REST API | POST | /portal/{slug}/profil/standorte/{location_id}/deaktivieren |
profile_location_deactivate
Semantic binding: not_evaluated; mutation=True
|
customers
|
| ⚡ REST API | PUT | /api/v1/customers/{customer_id}/shop-rates |
upsert_partner_shop_rate
Semantic binding: not_evaluated; mutation=True
|
customers
|
| 🖥️ WEB-UI | GET | /portal/{slug}/ |
Portalli algus
Kliendile suunatud ja statussüsteemid
|
Standard |
| 🖥️ WEB-UI | GET | /portal/{slug}/bestellung |
Portaali tellimuse lehekülg
Kataloogimüüg koos dünaamiliste valdussetidega
|
Standard |
| 🖥️ WEB-UI | GET | /portal/{slug}/rechnungen |
Portalli arved
Arhiiv ja PDF-nauda
|
Standard |
| ⚡ REST API | POST | /portal/{slug}/bestellung |
Teatamine
Valideerib valdkonna seadmeid ja genereerib kvooti/töömäärad
|
Standard |
🛡️ Määruse ja vastavus
Dieses Modul unterliegt folgenden gesetzlichen, regulatorischen und Revisionsstandards:
- Töötlusvõime
- Kliendi isolatsioon (postgreSQL RLS)