From 1f4da6e7f4bacd0cf0f0f41e8c9ad88fd778cf26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Pich?= Date: Mon, 17 Jun 2024 22:30:18 +0200 Subject: [PATCH] Add support for v24.05.0003 --- generator/src/main/kotlin/mapping/Endpoints.kt | 5 +++++ generator/src/main/kotlin/mapping/ResponseKeys.kt | 1 + generator/src/main/kotlin/mapping/VHeaders.kt | 11 +++++++++++ generator/src/main/kotlin/mapping/VTokens.kt | 1 + 4 files changed, 18 insertions(+) diff --git a/generator/src/main/kotlin/mapping/Endpoints.kt b/generator/src/main/kotlin/mapping/Endpoints.kt index c7663eb..e316363 100644 --- a/generator/src/main/kotlin/mapping/Endpoints.kt +++ b/generator/src/main/kotlin/mapping/Endpoints.kt @@ -648,4 +648,9 @@ val ApiEndpointsMapV4 = ApiEndpointsMap + mapOf( "uonetplus-uczenplus" to ApiEndpoints0010StudentPlus, "uonetplus-wiadomosciplus" to ApiEndpoints00010Messages, ), + "24.05.0003.59126" to mapOf( + "uonetplus-uczen" to UonetPlusUczen_24_04_0010_58863, + "uonetplus-uczenplus" to ApiEndpoints0010StudentPlus, + "uonetplus-wiadomosciplus" to ApiEndpoints00010Messages, + ), ) diff --git a/generator/src/main/kotlin/mapping/ResponseKeys.kt b/generator/src/main/kotlin/mapping/ResponseKeys.kt index f364cb0..1c624eb 100644 --- a/generator/src/main/kotlin/mapping/ResponseKeys.kt +++ b/generator/src/main/kotlin/mapping/ResponseKeys.kt @@ -72,4 +72,5 @@ internal val ApiEndpointsResponseMapping = mapOf( "24.05.0000.59033" to LastResponseMapping0010, "24.05.0001.59063" to LastResponseMapping0010, "24.05.0002.59079" to LastResponseMapping0010, + "24.05.0003.59126" to LastResponseMapping0010, ) diff --git a/generator/src/main/kotlin/mapping/VHeaders.kt b/generator/src/main/kotlin/mapping/VHeaders.kt index 90be3e6..b67a919 100644 --- a/generator/src/main/kotlin/mapping/VHeaders.kt +++ b/generator/src/main/kotlin/mapping/VHeaders.kt @@ -96,4 +96,15 @@ val ApiEndpointsVHeaders = mapOf( "V-TokenApi" to "{UUID}-{appCustomerDb}-{appCustomerDbSig}-{apiKey}", ), ), + "24.05.0003.59126" to mapOf( + "uonetplus-wiadomosciplus" to mapOf( + "V-TokenApi" to "{UUID}-{appCustomerDb}-{appCustomerDbSig}-{apiKey}", + ), + "uonetplus-uczen" to mapOf( + "V-TokenApi" to "{%UUID%}-{%vTokenApiIndexed%}", + ), + "uonetplus-uczenplus" to mapOf( + "V-TokenApi" to "{UUID}-{appCustomerDb}-{appCustomerDbSig}-{apiKey}", + ), + ), ) diff --git a/generator/src/main/kotlin/mapping/VTokens.kt b/generator/src/main/kotlin/mapping/VTokens.kt index 5964c4a..89e3d76 100644 --- a/generator/src/main/kotlin/mapping/VTokens.kt +++ b/generator/src/main/kotlin/mapping/VTokens.kt @@ -233,4 +233,5 @@ val ApiEndpointsVTokenMap = mapOf( "24.05.0000.59033" to LastApiEndpointsVTokenMap, "24.05.0001.59063" to LastApiEndpointsVTokenMap, "24.05.0002.59079" to LastApiEndpointsVTokenMap, + "24.05.0003.59126" to LastApiEndpointsVTokenMap, )