[2ff88f42] feat(connector-superoffice): Implement Company Explorer sync and Holiday logic
- **Company Explorer Sync**: Added `explorer_client.py` and integrated Step 9 in `main.py` for automated data transfer to the intelligence engine. - **Holiday Logic**: Implemented `BusinessCalendar` in `utils.py` using the `holidays` library to automatically detect weekends and Bavarian holidays, ensuring professional timing for automated outreaches. - **API Discovery**: Created `parse_ce_openapi.py` to facilitate technical field mapping through live OpenAPI analysis. - **Project Stability**: Refined error handling and logging for a smooth end-to-end workflow.
This commit is contained in:
@@ -14,6 +14,7 @@ Der **Proof of Concept (POC)** ist erfolgreich abgeschlossen.
|
||||
- **Verkauf (Sale):** Erfolgreich angelegt.
|
||||
- **Projekt (Project):** Erfolgreich angelegt und Person als Mitglied hinzugefügt.
|
||||
- **UDF-Felder:** Erfolgreich aktualisiert für `Contact` und `Person`.
|
||||
- **Sync to CE:** Erfolgreiche Übertragung der Firmendaten an den Company Explorer.
|
||||
|
||||
## 2. Einrichtung & Installation
|
||||
|
||||
@@ -42,6 +43,11 @@ SO_REFRESH_TOKEN="<Dein langlebiger Refresh Token>"
|
||||
# (Optional / Legacy S2S Configuration - aktuell nicht genutzt)
|
||||
# SO_PRIVATE_KEY="..."
|
||||
# SO_SYSTEM_USER_TOKEN="..."
|
||||
|
||||
# Company Explorer Configuration (Optional Override)
|
||||
# CE_API_URL="http://company-explorer:8000"
|
||||
# CE_API_USER="admin"
|
||||
# CE_API_PASSWORD="gemini"
|
||||
```
|
||||
|
||||
## 3. Nutzung
|
||||
@@ -130,4 +136,4 @@ Um diesen Plan umzusetzen, werden die folgenden UDFs in SuperOffice benötigt (A
|
||||
2. Am Objekt **`Person` (Ansprechpartner):** Ein großes Textfeld (Memo/Long Text). Vorschlag: `AI_Email_Draft`
|
||||
3. Am Objekt **`Person` (Ansprechpartner):** Ein Listenfeld. Vorschlag: `MA_Status` mit den Werten `Init`, `Ready_to_Craft`, `Ready_to_Send`, `Sent_Week1`, `Sent_Week2`, `Replied`, `Paused`.
|
||||
|
||||
**Wichtiger Blocker:** Das Erstellen von E-Mail-Aktivitäten per API ist aktuell blockiert, da das E-Mail-Modul in der Zielumgebung (SOD) nicht aktiviert oder konfiguriert zu sein scheint. Dies führt zu einem `500 Internal Server Error` bei API-Aufrufen. Die Implementierung dieser Funktionalität im Connector ist daher bis auf Weiteres ausgesetzt.
|
||||
**Wichtiger Blocker:** Das Erstellen von E-Mail-Aktivitäten per API ist aktuell blockiert, da das E-Mail-Modul in der Zielumgebung (SOD) nicht aktiviert oder konfiguriert zu sein scheint. Dies führt zu einem `500 Internal Server Error` bei API-Aufrufen. Die Implementierung dieser Funktionalität im Connector ist daher bis auf Weiteres ausgesetzt.
|
||||
|
||||
Reference in New Issue
Block a user