Skip to content

Commit

Permalink
[Auto Generated] 1.4.15-beta.5
Browse files Browse the repository at this point in the history
  • Loading branch information
jigardafda committed Dec 18, 2024
1 parent 6f2c5a2 commit d12c167
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 97 deletions.
16 changes: 15 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CHANGE LOG (1.4.15-beta.4) - 1.9.4
# CHANGE LOG (1.4.15-beta.5) - 1.9.4

## Application Client

Expand Down Expand Up @@ -1586,6 +1586,7 @@
- ##### What's Deprecated
- [Breaking] [Deleted] <code>query</code> parameter <code>filters</code> (type: <code>boolean</code>)

- [Breaking] [Deleted] properties <code>config.globalSchema.props[].type</code>, <code>config.globalSchema.props[].category</code>, <code>config.globalSchema.props[].id</code>, <code>config.globalSchema.props[].label</code>, <code>config.globalSchema.props[].info</code> in response with status code 200
- [Deleted] Value format from <code>date-time</code> from property <code>createdAt</code> of schema <code>ThemesSchema</code> in response with status code 200
- [Deleted] Value format from <code>date-time</code> from property <code>updatedAt</code> of schema <code>ThemesSchema</code> in response with status code 200

Expand All @@ -1595,6 +1596,7 @@
- ##### What's Deprecated
- [Breaking] [Deleted] <code>query</code> parameter <code>filters</code> (type: <code>boolean</code>)

- [Breaking] [Deleted] properties <code>config.globalSchema.props[].type</code>, <code>config.globalSchema.props[].category</code>, <code>config.globalSchema.props[].id</code>, <code>config.globalSchema.props[].label</code>, <code>config.globalSchema.props[].info</code> in response with status code 200
- [Deleted] Value format from <code>date-time</code> from property <code>createdAt</code> of schema <code>ThemesSchema</code> in response with status code 200
- [Deleted] Value format from <code>date-time</code> from property <code>updatedAt</code> of schema <code>ThemesSchema</code> in response with status code 200

Expand Down Expand Up @@ -8803,76 +8805,88 @@
#### getApplicationThemes

- ##### What's Deprecated
- [Breaking] [Deleted] properties <code>[].config.globalSchema.props[].type</code>, <code>[].config.globalSchema.props[].category</code>, <code>[].config.globalSchema.props[].value</code>, <code>[].config.globalSchema.props[].id</code>, <code>[].config.globalSchema.props[].label</code>, <code>[].config.globalSchema.props[].info</code> in response with status code 200
- [Deleted] Value format from <code>date-time</code> from property <code>[].createdAt</code> of schema <code>ThemesSchema</code> in response with status code 200
- [Deleted] Value format from <code>date-time</code> from property <code>[].updatedAt</code> of schema <code>ThemesSchema</code> in response with status code 200


#### getThemeById

- ##### What's Deprecated
- [Breaking] [Deleted] properties <code>config.globalSchema.props[].type</code>, <code>config.globalSchema.props[].category</code>, <code>config.globalSchema.props[].value</code>, <code>config.globalSchema.props[].id</code>, <code>config.globalSchema.props[].label</code>, <code>config.globalSchema.props[].info</code> in response with status code 200
- [Deleted] Value format from <code>date-time</code> from property <code>createdAt</code> of schema <code>ThemesSchema</code> in response with status code 200
- [Deleted] Value format from <code>date-time</code> from property <code>updatedAt</code> of schema <code>ThemesSchema</code> in response with status code 200


#### updateTheme

- ##### What's Deprecated
- [Breaking] [Deleted] properties <code>config.globalSchema.props[].type</code>, <code>config.globalSchema.props[].category</code>, <code>config.globalSchema.props[].value</code>, <code>config.globalSchema.props[].id</code>, <code>config.globalSchema.props[].label</code>, <code>config.globalSchema.props[].info</code> in request body
- [Breaking] [Deleted] properties <code>config.globalSchema.props[].type</code>, <code>config.globalSchema.props[].category</code>, <code>config.globalSchema.props[].value</code>, <code>config.globalSchema.props[].id</code>, <code>config.globalSchema.props[].label</code>, <code>config.globalSchema.props[].info</code> in response with status code 200
- [Deleted] Value format from <code>date-time</code> from property <code>createdAt</code> of schema <code>ThemesSchema</code> in response with status code 200
- [Deleted] Value format from <code>date-time</code> from property <code>updatedAt</code> of schema <code>ThemesSchema</code> in response with status code 200


#### deleteTheme

- ##### What's Deprecated
- [Breaking] [Deleted] properties <code>config.globalSchema.props[].type</code>, <code>config.globalSchema.props[].category</code>, <code>config.globalSchema.props[].value</code>, <code>config.globalSchema.props[].id</code>, <code>config.globalSchema.props[].label</code>, <code>config.globalSchema.props[].info</code> in response with status code 200
- [Deleted] Value format from <code>date-time</code> from property <code>createdAt</code> of schema <code>ThemesSchema</code> in response with status code 200
- [Deleted] Value format from <code>date-time</code> from property <code>updatedAt</code> of schema <code>ThemesSchema</code> in response with status code 200


#### addThemeToApplication

- ##### What's Deprecated
- [Breaking] [Deleted] properties <code>config.globalSchema.props[].type</code>, <code>config.globalSchema.props[].category</code>, <code>config.globalSchema.props[].value</code>, <code>config.globalSchema.props[].id</code>, <code>config.globalSchema.props[].label</code>, <code>config.globalSchema.props[].info</code> in response with status code 200
- [Deleted] Value format from <code>date-time</code> from property <code>createdAt</code> of schema <code>ThemesSchema</code> in response with status code 200
- [Deleted] Value format from <code>date-time</code> from property <code>updatedAt</code> of schema <code>ThemesSchema</code> in response with status code 200


#### updateThemeName

- ##### What's Deprecated
- [Breaking] [Deleted] properties <code>config.globalSchema.props[].type</code>, <code>config.globalSchema.props[].category</code>, <code>config.globalSchema.props[].value</code>, <code>config.globalSchema.props[].id</code>, <code>config.globalSchema.props[].label</code>, <code>config.globalSchema.props[].info</code> in response with status code 200
- [Deleted] Value format from <code>date-time</code> from property <code>createdAt</code> of schema <code>ThemesSchema</code> in response with status code 200
- [Deleted] Value format from <code>date-time</code> from property <code>updatedAt</code> of schema <code>ThemesSchema</code> in response with status code 200


#### applyTheme

- ##### What's Deprecated
- [Breaking] [Deleted] properties <code>config.globalSchema.props[].type</code>, <code>config.globalSchema.props[].category</code>, <code>config.globalSchema.props[].value</code>, <code>config.globalSchema.props[].id</code>, <code>config.globalSchema.props[].label</code>, <code>config.globalSchema.props[].info</code> in response with status code 200
- [Deleted] Value format from <code>date-time</code> from property <code>createdAt</code> of schema <code>ThemesSchema</code> in response with status code 200
- [Deleted] Value format from <code>date-time</code> from property <code>updatedAt</code> of schema <code>ThemesSchema</code> in response with status code 200


#### duplicateTheme

- ##### What's Deprecated
- [Breaking] [Deleted] properties <code>config.globalSchema.props[].type</code>, <code>config.globalSchema.props[].category</code>, <code>config.globalSchema.props[].value</code>, <code>config.globalSchema.props[].id</code>, <code>config.globalSchema.props[].label</code>, <code>config.globalSchema.props[].info</code> in response with status code 200
- [Deleted] Value format from <code>date-time</code> from property <code>createdAt</code> of schema <code>ThemesSchema</code> in response with status code 200
- [Deleted] Value format from <code>date-time</code> from property <code>updatedAt</code> of schema <code>ThemesSchema</code> in response with status code 200


#### getAppliedTheme

- ##### What's Deprecated
- [Breaking] [Deleted] properties <code>config.globalSchema.props[].type</code>, <code>config.globalSchema.props[].category</code>, <code>config.globalSchema.props[].value</code>, <code>config.globalSchema.props[].id</code>, <code>config.globalSchema.props[].label</code>, <code>config.globalSchema.props[].info</code> in response with status code 200
- [Deleted] Value format from <code>date-time</code> from property <code>createdAt</code> of schema <code>ThemesSchema</code> in response with status code 200
- [Deleted] Value format from <code>date-time</code> from property <code>updatedAt</code> of schema <code>ThemesSchema</code> in response with status code 200


#### getThemeForPreview

- ##### What's Deprecated
- [Breaking] [Deleted] properties <code>config.globalSchema.props[].type</code>, <code>config.globalSchema.props[].category</code>, <code>config.globalSchema.props[].value</code>, <code>config.globalSchema.props[].id</code>, <code>config.globalSchema.props[].label</code>, <code>config.globalSchema.props[].info</code> in response with status code 200
- [Deleted] Value format from <code>date-time</code> from property <code>createdAt</code> of schema <code>ThemesSchema</code> in response with status code 200
- [Deleted] Value format from <code>date-time</code> from property <code>updatedAt</code> of schema <code>ThemesSchema</code> in response with status code 200


#### upgradeTheme

- ##### What's Deprecated
- [Breaking] [Deleted] properties <code>config.globalSchema.props[].type</code>, <code>config.globalSchema.props[].category</code>, <code>config.globalSchema.props[].value</code>, <code>config.globalSchema.props[].id</code>, <code>config.globalSchema.props[].label</code>, <code>config.globalSchema.props[].info</code> in response with status code 200
- [Deleted] Value format from <code>date-time</code> from property <code>createdAt</code> of schema <code>ThemesSchema</code> in response with status code 200
- [Deleted] Value format from <code>date-time</code> from property <code>updatedAt</code> of schema <code>ThemesSchema</code> in response with status code 200

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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-beta.4'` in your app build.gradle
1. Add the dependency in your app build.gradle `implementation 'com.github.gofynd:fdk-client-kotlin:1.4.15-beta.5'` in your app build.gradle
2. Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ android {
minSdkVersion 21
targetSdkVersion 31
versionCode 2
versionName "1.4.15-beta.4"
versionName "1.4.15-beta.5"
multiDexEnabled true

vectorDrawables.useSupportLibrary = true
Expand Down
44 changes: 1 addition & 43 deletions src/main/java/com/sdk/application/theme/ThemeModels.kt
Original file line number Diff line number Diff line change
Expand Up @@ -1850,56 +1850,14 @@ data class GlobalSchema(


@SerializedName("props")
var props: ArrayList<Prop>?=null
var props: @RawValue ArrayList<HashMap<String,Any>>?=null

): Parcelable {





}




/*
Model: Prop
*/
@Parcelize
data class Prop(



@SerializedName("type")
var type: String?=null,

@SerializedName("category")
var category: String?=null,

@SerializedName("id")
var id: String?=null,

@SerializedName("label")
var label: String?=null,

@SerializedName("info")
var info: String?=null

): Parcelable {













}


Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/sdk/common/AccessTokenInterceptor.kt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class AccessTokenInterceptor(
}

if (!original.headers.names().contains("x-fp-sdk-version")) {
header("x-fp-sdk-version", "1.4.15-beta.4")
header("x-fp-sdk-version", "1.4.15-beta.5")
}

if (!original.headers.names().contains("x-currency-code")) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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-beta.4")
header("x-fp-sdk-version", "1.4.15-beta.5")
}
val bearerToken =
Base64.encodeToString(
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/sdk/common/PublicHeaderInterceptor.kt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class PublicHeaderInterceptor(
val original = chain.request()

val builder = original.newBuilder()
.header("x-fp-sdk-version", "1.4.15-beta.4")
.header("x-fp-sdk-version", "1.4.15-beta.5")
publicConfig?.extraHeaders?.let {
for ((key, value) in it) {
if (!original.headers.names().contains(key)) {
Expand Down
49 changes: 1 addition & 48 deletions src/main/java/com/sdk/platform/theme/ThemeModels.kt
Original file line number Diff line number Diff line change
Expand Up @@ -1981,61 +1981,14 @@ data class GlobalSchema(


@SerializedName("props")
var props: ArrayList<Prop>?=null
var props: @RawValue ArrayList<HashMap<String,Any>>?=null

): Parcelable {





}




/*
Model: Prop
*/
@Parcelize
data class Prop(



@SerializedName("type")
var type: String?=null,

@SerializedName("category")
var category: String?=null,

@SerializedName("value")
var value: String?=null,

@SerializedName("id")
var id: String?=null,

@SerializedName("label")
var label: String?=null,

@SerializedName("info")
var info: String?=null

): Parcelable {















}


Expand Down

0 comments on commit d12c167

Please sign in to comment.