Migroi kaikki data vanhalta intra.cuitunet.fi -palvelimelta

FTP:llä haettu:
- 4 yritystä (CuituNet, Web1, Empor, Woima Services)
- 35 CuituNet-asiakasta + 1 liidi
- 1 Web1-asiakas
- 3 käyttäjää (admin, Jukka, ville)
- Brändäyskentät lisätty companies.json:iin

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-10 14:26:11 +02:00
parent 52bf1bd300
commit eed1ac5639
36 changed files with 3510 additions and 55 deletions

View File

@@ -0,0 +1 @@
[]

View File

@@ -0,0 +1,281 @@
[
{
"id": "fae9b9ff0969f6ed",
"timestamp": "2026-03-10 13:07:15",
"user": "admin",
"action": "user_update",
"customer_id": "",
"customer_name": "",
"details": "Muokkasi käyttäjää: Jukka"
},
{
"id": "5afdf22b8910ecb9",
"timestamp": "2026-03-10 13:07:03",
"user": "admin",
"action": "user_update",
"customer_id": "",
"customer_name": "",
"details": "Muokkasi käyttäjää: Jukka"
},
{
"id": "77810bb1ddc5c04e",
"timestamp": "2026-03-10 12:34:59",
"user": "admin",
"action": "ticket_fetch",
"customer_id": "",
"customer_name": "",
"details": "Haettu sähköpostit: 0 uutta tikettiä, 0 ketjutettu"
},
{
"id": "ecf679b61d786cb4",
"timestamp": "2026-03-10 12:34:58",
"user": "admin",
"action": "ticket_fetch",
"customer_id": "",
"customer_name": "",
"details": "Haettu sähköpostit: 0 uutta tikettiä, 0 ketjutettu"
},
{
"id": "5d3cc68608d3b32d",
"timestamp": "2026-03-10 11:51:49",
"user": "admin",
"action": "ticket_fetch",
"customer_id": "",
"customer_name": "",
"details": "Haettu sähköpostit: 1 uutta tikettiä, 0 ketjutettu"
},
{
"id": "318327c1821d5293",
"timestamp": "2026-03-10 11:49:09",
"user": "admin",
"action": "ticket_fetch",
"customer_id": "",
"customer_name": "",
"details": "Haettu sähköpostit: 0 uutta tikettiä, 0 ketjutettu"
},
{
"id": "e6cbd4e89e490f0a",
"timestamp": "2026-03-10 11:47:30",
"user": "admin",
"action": "ticket_fetch",
"customer_id": "",
"customer_name": "",
"details": "Haettu sähköpostit: 0 uutta tikettiä, 0 ketjutettu"
},
{
"id": "cff63b879ce8682e",
"timestamp": "2026-03-10 11:47:30",
"user": "admin",
"action": "ticket_fetch",
"customer_id": "",
"customer_name": "",
"details": "Haettu sähköpostit: 0 uutta tikettiä, 0 ketjutettu"
},
{
"id": "c0a0076f84d1eed3",
"timestamp": "2026-03-10 11:47:29",
"user": "admin",
"action": "ticket_fetch",
"customer_id": "",
"customer_name": "",
"details": "Haettu sähköpostit: 0 uutta tikettiä, 0 ketjutettu"
},
{
"id": "6a55fc232b17110c",
"timestamp": "2026-03-10 11:47:29",
"user": "admin",
"action": "ticket_fetch",
"customer_id": "",
"customer_name": "",
"details": "Haettu sähköpostit: 0 uutta tikettiä, 0 ketjutettu"
},
{
"id": "ddefbf8a1b91955e",
"timestamp": "2026-03-10 11:47:29",
"user": "admin",
"action": "ticket_fetch",
"customer_id": "",
"customer_name": "",
"details": "Haettu sähköpostit: 0 uutta tikettiä, 0 ketjutettu"
},
{
"id": "cc8148e206a390a8",
"timestamp": "2026-03-10 11:47:29",
"user": "admin",
"action": "ticket_fetch",
"customer_id": "",
"customer_name": "",
"details": "Haettu sähköpostit: 0 uutta tikettiä, 0 ketjutettu"
},
{
"id": "a0ad59d435974599",
"timestamp": "2026-03-10 11:47:29",
"user": "admin",
"action": "ticket_fetch",
"customer_id": "",
"customer_name": "",
"details": "Haettu sähköpostit: 0 uutta tikettiä, 0 ketjutettu"
},
{
"id": "1c771bef474baec2",
"timestamp": "2026-03-10 11:47:29",
"user": "admin",
"action": "ticket_fetch",
"customer_id": "",
"customer_name": "",
"details": "Haettu sähköpostit: 0 uutta tikettiä, 0 ketjutettu"
},
{
"id": "0100324da6ee913b",
"timestamp": "2026-03-10 11:47:28",
"user": "admin",
"action": "ticket_fetch",
"customer_id": "",
"customer_name": "",
"details": "Haettu sähköpostit: 0 uutta tikettiä, 0 ketjutettu"
},
{
"id": "a6ad26ce283bd8f3",
"timestamp": "2026-03-10 11:47:27",
"user": "admin",
"action": "ticket_fetch",
"customer_id": "",
"customer_name": "",
"details": "Haettu sähköpostit: 0 uutta tikettiä, 0 ketjutettu"
},
{
"id": "e9fb5045ed47b7b0",
"timestamp": "2026-03-10 11:47:21",
"user": "admin",
"action": "ticket_fetch",
"customer_id": "",
"customer_name": "",
"details": "Haettu sähköpostit: 0 uutta tikettiä, 0 ketjutettu"
},
{
"id": "e7a7c4430ae3a85f",
"timestamp": "2026-03-10 11:47:18",
"user": "admin",
"action": "ticket_fetch",
"customer_id": "",
"customer_name": "",
"details": "Haettu sähköpostit: 0 uutta tikettiä, 0 ketjutettu"
},
{
"id": "ad5419c2ff2f0121",
"timestamp": "2026-03-10 11:45:41",
"user": "admin",
"action": "ticket_fetch",
"customer_id": "",
"customer_name": "",
"details": "Haettu sähköpostit: 0 uutta tikettiä, 0 ketjutettu"
},
{
"id": "e9b31f9e09c672d1",
"timestamp": "2026-03-10 11:41:31",
"user": "admin",
"action": "ticket_status",
"customer_id": "b6df792c7596e3b0",
"customer_name": "Testibox",
"details": "Tila: kasittelyssa → odottaa"
},
{
"id": "d6979b5112e08a34",
"timestamp": "2026-03-10 11:41:03",
"user": "admin",
"action": "ticket_reply",
"customer_id": "b6df792c7596e3b0",
"customer_name": "Testibox",
"details": "Vastasi tikettiin"
},
{
"id": "25ceb1d423006ebc",
"timestamp": "2026-03-10 11:40:16",
"user": "admin",
"action": "ticket_fetch",
"customer_id": "",
"customer_name": "",
"details": "Haettu sähköpostit: 0 uutta tikettiä, 0 ketjutettu"
},
{
"id": "90a9b5f513ed9aee",
"timestamp": "2026-03-10 11:20:00",
"user": "admin",
"action": "ticket_fetch",
"customer_id": "",
"customer_name": "",
"details": "Haettu sähköpostit: 1 uutta tikettiä, 0 ketjutettu"
},
{
"id": "44cdd2e639c59962",
"timestamp": "2026-03-10 11:17:50",
"user": "admin",
"action": "ticket_fetch",
"customer_id": "",
"customer_name": "",
"details": "Haettu sähköpostit: 0 uutta tikettiä, 0 ketjutettu"
},
{
"id": "0d7bbb7f2e02dfa9",
"timestamp": "2026-03-10 11:17:42",
"user": "admin",
"action": "ticket_fetch",
"customer_id": "",
"customer_name": "",
"details": "Haettu sähköpostit: 0 uutta tikettiä, 0 ketjutettu"
},
{
"id": "b2712ed7f14acbc1",
"timestamp": "2026-03-10 11:17:37",
"user": "admin",
"action": "mailbox_save",
"customer_id": "",
"customer_name": "",
"details": "Postilaatikko: BOX asiakaspalvelu"
},
{
"id": "e28eab161da56c58",
"timestamp": "2026-03-10 11:14:21",
"user": "admin",
"action": "customer_create",
"customer_id": "773dea9958cd775d",
"customer_name": "WEB1 testiasiakas",
"details": "Lisäsi asiakkaan"
},
{
"id": "d3ec654723fa5206",
"timestamp": "2026-03-10 11:12:39",
"user": "admin",
"action": "user_update",
"customer_id": "",
"customer_name": "",
"details": "Muokkasi käyttäjää: Jukka"
},
{
"id": "08b57cba066312e2",
"timestamp": "2026-03-10 11:12:28",
"user": "admin",
"action": "user_update",
"customer_id": "",
"customer_name": "",
"details": "Muokkasi käyttäjää: admin"
},
{
"id": "bfbf03010457c574",
"timestamp": "2026-03-10 11:12:00",
"user": "admin",
"action": "user_update",
"customer_id": "",
"customer_name": "",
"details": "Muokkasi käyttäjää: Jukka"
},
{
"id": "8c856b338027e412",
"timestamp": "2026-03-10 11:11:59",
"user": "admin",
"action": "user_update",
"customer_id": "",
"customer_name": "",
"details": "Muokkasi käyttäjää: admin"
}
]

View File

@@ -0,0 +1,17 @@
{
"mailboxes": [
{
"id": "9c2a8ae848db75f0",
"nimi": "BOX asiakaspalvelu",
"imap_host": "posti.mail2.fi",
"imap_port": 993,
"imap_user": "box@storagebox.fi",
"imap_encryption": "ssl",
"smtp_from_email": "box@storagebox.fi",
"smtp_from_name": "Storagebox.fi - Asiakaspalvelu",
"aktiivinen": true,
"imap_password": "Salainensana123!"
}
],
"ticket_rules": []
}

View File

@@ -0,0 +1,29 @@
[
{
"id": "773dea9958cd775d",
"yritys": "WEB1 testiasiakas",
"yhteyshenkilö": "",
"puhelin": "",
"sahkoposti": "",
"laskutusosoite": "",
"laskutuspostinumero": "",
"laskutuskaupunki": "",
"laskutussahkoposti": "",
"elaskuosoite": "",
"elaskuvalittaja": "",
"ytunnus": "1231456-5",
"lisatiedot": "",
"liittymat": [
{
"asennusosoite": "asda",
"postinumero": "",
"kaupunki": "",
"liittymanopeus": "",
"hinta": 0,
"sopimuskausi": "",
"alkupvm": ""
}
],
"luotu": "2026-03-10 11:14:21"
}
]

View File

@@ -0,0 +1 @@
[]

View File

@@ -0,0 +1,67 @@
[
{
"id": "8052daa71926c6f1",
"subject": "StorageBox.fi - Yhteydenotto: Testikäyttäjä",
"from_email": "box@storagebox.fi",
"from_name": "StorageBox.fi",
"status": "uusi",
"type": "muu",
"assigned_to": "",
"customer_id": "",
"customer_name": "",
"tags": [],
"auto_close_at": "",
"mailbox_id": "9c2a8ae848db75f0",
"created": "2026-03-10 11:49:22",
"updated": "2026-03-10 11:49:22",
"message_id": "<4fVTcM34HQz9sBd@mail.mail2.fi>",
"messages": [
{
"id": "e64a9e3b29b19623",
"type": "email_in",
"from": "box@storagebox.fi",
"from_name": "StorageBox.fi",
"body": "Uusi yhteydenotto StorageBox.fi:n kautta\r\n========================================\r\n\r\nNimi: Testikäyttäjä\r\nSähköposti: testi@storagebox.fi\r\nPaketti: Plus — 500 GB — 119€\/v\r\n\r\nViesti:\r\nTämä on testiviestin lähetys SMTP:llä. Jos tämä tulee perille, lomake toimii!",
"timestamp": "2026-03-10 11:49:22",
"message_id": "<4fVTcM34HQz9sBd@mail.mail2.fi>"
}
]
},
{
"id": "b6df792c7596e3b0",
"subject": "Testibox",
"from_email": "jukka.lampikoski@vahvavirta.fi",
"from_name": "Jukka Lampikoski",
"status": "odottaa",
"type": "muu",
"assigned_to": "",
"customer_id": "",
"customer_name": "",
"tags": [],
"auto_close_at": "",
"mailbox_id": "9c2a8ae848db75f0",
"created": "2026-03-10 11:18:17",
"updated": "2026-03-10 11:41:31",
"message_id": "<FF3DCF94-05F0-444D-B7A5-0C5F28313E85@vahvavirta.fi>",
"messages": [
{
"id": "3df119e2c750dd5a",
"type": "email_in",
"from": "jukka.lampikoski@vahvavirta.fi",
"from_name": "Jukka Lampikoski",
"body": "fsfsdf\r\n\r\n\r\n\r\n\r\n--\r\n\r\nJukka Lampikoski\r\nLP Vahvavirta Osk\r\nMikaelinkatu 2\r\n23800 Laitila\r\nPuh. 044-9012281\r\njukka.lampikoski@vahvavirta.fi",
"timestamp": "2026-03-10 11:18:17",
"message_id": "<FF3DCF94-05F0-444D-B7A5-0C5F28313E85@vahvavirta.fi>"
},
{
"id": "3c89511f32bec9b5",
"type": "reply_out",
"from": "admin",
"from_name": "Ylläpitäjä",
"body": "testataan vastausta.\n\nTuleeko joku allekirjoitus",
"timestamp": "2026-03-10 11:41:03",
"message_id": ""
}
]
}
]