From e01598028428d69c1f1a285ed14e3d6ca4d2fdac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Pich?= Date: Thu, 30 May 2024 19:49:43 +0200 Subject: [PATCH] Add uonetplus-uczenplus v0010 mappings --- build.gradle | 2 +- .../wulkanowy/sdk/scrapper/ApiEndpoints.kt | 47 +++++++++++++++++++ 2 files changed, 48 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 79af8663..e3097da4 100644 --- a/build.gradle +++ b/build.gradle @@ -18,7 +18,7 @@ ext { moshi = "1.13.0" } -version = "2.6.13" +version = "2.6.14-SNAPSHOT" group = "io.github.wulkanowy" nexusPublishing { diff --git a/sdk-scrapper/src/main/kotlin/io/github/wulkanowy/sdk/scrapper/ApiEndpoints.kt b/sdk-scrapper/src/main/kotlin/io/github/wulkanowy/sdk/scrapper/ApiEndpoints.kt index 88273137..c6923a0f 100644 --- a/sdk-scrapper/src/main/kotlin/io/github/wulkanowy/sdk/scrapper/ApiEndpoints.kt +++ b/sdk-scrapper/src/main/kotlin/io/github/wulkanowy/sdk/scrapper/ApiEndpoints.kt @@ -613,6 +613,29 @@ internal val ApiEndpointsMap = mapOf( "ZarejestrowaneUrzadzenia" to "1d63088d-02da-4feb-8906-08172e5fea1c", "Zebrania" to "2dd7a794-62d9-4711-b000-b73de88a7990", ), + "uonetplus-uczenplus" to mapOf( + "Context" to "99f04f67-d7f6-4f30-9d02-61cdd656612f", + // "AutoryzacjaPesel" to "", + "Frekwencja" to "604fd0c1-ce58-4b60-9603-6e219b473676", + "Usprawiedliwienia" to "640531d3-f986-4c1d-a6dd-d57847ca9cd8", + "FrekwencjaStatystyki" to "1d15fb9f-dda6-42e4-a571-e8e0c2ecad72", + "ZarejestrowaneUrzadzenia" to "ca848077-9fbc-4716-b0ed-17c84b4fc86b", + "RejestracjaUrzadzeniaToken" to "2c9fc7e4-aa35-4346-9cf1-ae50008a95cb", + "Zebrania" to "374625d5-fd26-4082-9fc2-dcf960e6c718", + "RealizacjaZajec" to "0fc3ce8b-efa0-434a-b1a6-e23580ce7e0e", + "SprawdzianyZadaniaDomowe" to "a5371f1b-db92-48a5-88e8-604c716c36a3", + "SprawdzianSzczegoly" to "3365341e-56ce-42e4-a5ee-3f5e30599e02", + "ZadanieDomoweSzczegoly" to "f636feab-3bdf-429d-8837-fec248ac6a27", + "PlanZajec" to "79ad9207-6132-427d-bbfa-62a7cff7735f", + "DniWolne" to "c537e0ea-3a28-40a0-b1d0-4cb051588727", + "Uwagi" to "281cb35f-3943-43a3-910d-32c9198da099", + "Nauczyciele" to "298c16b8-a257-4420-aa96-627c1d8957bf", + "Informacje" to "6773b9c9-bd7c-47fd-9df6-9501d29c40d7", + "DaneUcznia" to "c40b5a6f-4eb5-4b10-b35c-dc8e063ec6f8", + "UczenZdjecie" to "c031961d-3700-494f-bb29-522a54a7097f", + "OkresyKlasyfikacyjne" to "18428deb-8f85-4f97-99b0-0ec35178edcc", + "Oceny" to "83cbb389-f3ab-404d-8ecc-9e687b1b958c", + ), ), ) @@ -800,6 +823,27 @@ internal val ApiEndpointsVTokenMap = mapOf( "SzkolaINauczyciele.mvc" to "fWw8j4JOE", "Ogloszenia.mvc" to "XKkaYNx", ), + "uonetplus-uczenplus" to mapOf( + "Context" to "aeRN", + "Frekwencja" to "ElWdgwf2ki", + "Usprawiedliwienia" to "nvlW", + "FrekwencjaStatystyki" to "dpJo", + "ZarejestrowaneUrzadzenia" to "YnPgEHfG", + "Zebrania" to "o4rvVwYB", + "RealizacjaZajec" to "K1KaR", + "SprawdzianyZadaniaDomowe" to "bX5ulTq4v", + "SprawdzianSzczegoly" to "ZZJHeiCbhw", + "ZadanieDomoweSzczegoly" to "yxAp3xo", + "PlanZajec" to "JpSGlO", + "DniWolne" to "ZxeNJWAk", + "Uwagi" to "u8SLfDJ", + "Nauczyciele" to "hCuAORdV", + "Informacje" to "0QwjEyw", + "DaneUcznia" to "6H06ch", + "UczenZdjecie" to "Jgftgt", + "OkresyKlasyfikacyjne" to "AmJ7o7", + "Oceny" to "Tm6DXpBUiG", + ), "uonetplus-wiadomosciplus" to mapOf( "Skrzynki" to "MevM", "Odebrane" to "KfA5", @@ -933,5 +977,8 @@ internal val ApiEndpointsVHeaders = mapOf( "uonetplus-uczen" to mapOf( "V-TokenApi" to "{%UUID%}-{%vTokenApiIndexed%}", ), + "uonetplus-uczenplus" to mapOf( + "V-TokenApi" to "{UUID}-{appCustomerDb}-{appCustomerDbSig}-{appVersion}-{apiKey}", + ), ), )