From 93e237f712781c88b6313caebbc66d4d333d6fb9 Mon Sep 17 00:00:00 2001 From: Jigar Dafda Date: Tue, 26 Nov 2024 00:46:54 +0000 Subject: [PATCH] [Auto Generated] 1.5.0 --- CHANGELOG.md | 33 +------------------ README.md | 2 +- build.gradle | 2 +- .../com/sdk/common/AccessTokenInterceptor.kt | 2 +- .../common/ApplicationHeaderInterceptor.kt | 2 +- .../com/sdk/common/PublicHeaderInterceptor.kt | 2 +- .../com/sdk/platform/order/OrderModels.kt | 2 +- 7 files changed, 7 insertions(+), 38 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index edf6b66a..389b85d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -# CHANGE LOG (1.4.15) - 2.0.0 +# CHANGE LOG (1.5.0) - 2.0.0 ## Application Client @@ -485,10 +485,6 @@ - ##### What's New - [Added] query parameter fulfillmentType (type: string) - - [Added] property items[].bags[].article.childDetails[] of schema Article in response with status code 200 - -- ##### What's Changed - - [Breaking] [Changed] Type from object to array of property items[].bags[].article.childDetails of schema Article in response with status code 200 #### getOrders @@ -498,33 +494,6 @@ -#### getApplicationShipments - -- ##### What's New - - [Added] property items[].bags[].article.childDetails[] of schema Article in response with status code 200 - -- ##### What's Changed - - [Breaking] [Changed] Type from object to array of property items[].bags[].article.childDetails of schema Article in response with status code 200 - - -#### getBagById - -- ##### What's New - - [Added] property data.article.childDetails[] of schema Article in response with status code 200 - -- ##### What's Changed - - [Breaking] [Changed] Type from object to array of property data.article.childDetails of schema Article in response with status code 200 - - -#### getBags - -- ##### What's New - - [Added] property data.items[].article.childDetails[] of schema Article in response with status code 200 - -- ##### What's Changed - - [Breaking] [Changed] Type from object to array of property data.items[].article.childDetails of schema Article in response with status code 200 - - # CHANGE LOG (1.4.14) - 1.9.5 ## Application Client diff --git a/README.md b/README.md index 0c3b7f18..352d05d0 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Get started with the Kotlin Development SDK for Fynd Platform # Usage -1. Add the dependency in your app build.gradle `implementation 'com.github.gofynd:fdk-client-kotlin:1.4.15'` in your app build.gradle +1. Add the dependency in your app build.gradle `implementation 'com.github.gofynd:fdk-client-kotlin:1.5.0'` in your app build.gradle 2. Add it in your root build.gradle at the end of repositories: allprojects { repositories { diff --git a/build.gradle b/build.gradle index ccbf704f..9568c069 100644 --- a/build.gradle +++ b/build.gradle @@ -26,7 +26,7 @@ android { minSdkVersion 21 targetSdkVersion 31 versionCode 2 - versionName "1.4.15" + versionName "1.5.0" multiDexEnabled true vectorDrawables.useSupportLibrary = true diff --git a/src/main/java/com/sdk/common/AccessTokenInterceptor.kt b/src/main/java/com/sdk/common/AccessTokenInterceptor.kt index 4aa5fbed..0896231b 100644 --- a/src/main/java/com/sdk/common/AccessTokenInterceptor.kt +++ b/src/main/java/com/sdk/common/AccessTokenInterceptor.kt @@ -20,7 +20,7 @@ class AccessTokenInterceptor( } if (!original.headers.names().contains("x-fp-sdk-version")) { - header("x-fp-sdk-version", "1.4.15") + header("x-fp-sdk-version", "1.5.0") } if (!original.headers.names().contains("x-currency-code")) { diff --git a/src/main/java/com/sdk/common/ApplicationHeaderInterceptor.kt b/src/main/java/com/sdk/common/ApplicationHeaderInterceptor.kt index 6720abc2..3322e34d 100644 --- a/src/main/java/com/sdk/common/ApplicationHeaderInterceptor.kt +++ b/src/main/java/com/sdk/common/ApplicationHeaderInterceptor.kt @@ -39,7 +39,7 @@ class ApplicationHeaderInterceptor( header("x-currency-code", currencyCode) } if (!original.headers.names().contains("x-fp-sdk-version")) { - header("x-fp-sdk-version", "1.4.15") + header("x-fp-sdk-version", "1.5.0") } val bearerToken = Base64.encodeToString( diff --git a/src/main/java/com/sdk/common/PublicHeaderInterceptor.kt b/src/main/java/com/sdk/common/PublicHeaderInterceptor.kt index 10ff62ab..c3702f64 100644 --- a/src/main/java/com/sdk/common/PublicHeaderInterceptor.kt +++ b/src/main/java/com/sdk/common/PublicHeaderInterceptor.kt @@ -11,7 +11,7 @@ class PublicHeaderInterceptor( val original = chain.request() val builder = original.newBuilder() - .header("x-fp-sdk-version", "1.4.15") + .header("x-fp-sdk-version", "1.5.0") publicConfig?.extraHeaders?.let { for ((key, value) in it) { if (!original.headers.names().contains(key)) { diff --git a/src/main/java/com/sdk/platform/order/OrderModels.kt b/src/main/java/com/sdk/platform/order/OrderModels.kt index ec809c04..b6521820 100644 --- a/src/main/java/com/sdk/platform/order/OrderModels.kt +++ b/src/main/java/com/sdk/platform/order/OrderModels.kt @@ -11027,7 +11027,7 @@ data class Article( @SerializedName("child_details") - var childDetails: @RawValue ArrayList>?=null, + var childDetails: @RawValue HashMap?=null, @SerializedName("seller_identifier") var sellerIdentifier: String?=null,