Skip to content

Commit

Permalink
[Auto Generated] 1.4.2-beta.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jigardafda committed Jan 19, 2024
1 parent 219cbb9 commit a380f55
Show file tree
Hide file tree
Showing 16 changed files with 10,249 additions and 1,256 deletions.
11,231 changes: 10,211 additions & 1,020 deletions CHANGELOG.md

Large diffs are not rendered by default.

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.0-beta.3'` in your app build.gradle
1. Add the dependency in your app build.gradle `implementation 'com.github.gofynd:fdk-client-kotlin:1.4.2-beta.1'` 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.0-beta.3"
versionName "1.4.2-beta.1"
multiDexEnabled true

vectorDrawables.useSupportLibrary = true
Expand Down
2 changes: 2 additions & 0 deletions documentation/application/CART.md
Original file line number Diff line number Diff line change
Expand Up @@ -9353,6 +9353,8 @@ Success. Returns the status of cart checkout. Refer `CartCheckoutResponseSchema`
| articleQuantity | Int? | yes | Quantity of article on which promotion is applicable |
| appliedFreeArticles | ArrayList<[AppliedFreeArticles](#AppliedFreeArticles)>? | yes | Applied free article for free gift item promotions |
| promotionType | String? | yes | Promotion type of current promotion |
| meta | HashMap<String,Any>? | yes | Meta object for extra data |
| code | String? | yes | Promotion code |

---

Expand Down
2 changes: 2 additions & 0 deletions documentation/platform/CART.md
Original file line number Diff line number Diff line change
Expand Up @@ -14416,6 +14416,8 @@ Success. Returns a Cart object as shown below. Refer `CartDetailResponse` for mo
| mrpPromotion | Boolean? | yes | If applied promotion is applied on product MRP or ESP |
| promotionGroup | String? | yes | Promotion group for the promotion |
| promoId | String? | yes | Promotion id |
| meta | HashMap<String,Any>? | yes | Meta object for extra data |
| code | String? | yes | Promotion code |

---

Expand Down
13 changes: 1 addition & 12 deletions documentation/platform/ORDER.md
Original file line number Diff line number Diff line change
Expand Up @@ -7396,7 +7396,7 @@ Sucessfully Created the Template Url.



#### [PostActivityHistory](#PostActivityHistory)
#### [PostHistoryDict](#PostHistoryDict)

| Properties | Type | Nullable | Description |
| ---------- | ---- | -------- | ----------- |
Expand All @@ -7408,17 +7408,6 @@ Sucessfully Created the Template Url.



#### [PostHistoryDict](#PostHistoryDict)

| Properties | Type | Nullable | Description |
| ---------- | ---- | -------- | ----------- |
| activityHistory | [PostActivityHistory](#PostActivityHistory) | no | |

---




#### [PostShipmentHistory](#PostShipmentHistory)

| Properties | Type | Nullable | Description |
Expand Down
2 changes: 1 addition & 1 deletion documentation/platform/SERVICEABILITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -3461,7 +3461,7 @@ Response status_code
| product | [ListViewProduct](#ListViewProduct) | no | |
| regionsCount | Int | no | |
| companyId | Int | no | |
| channels | [ListViewChannels](#ListViewChannels) | no | |
| channels | ArrayList<[ListViewChannels](#ListViewChannels)> | no | |

---

Expand Down
50 changes: 1 addition & 49 deletions documentation/platform/WEBHOOK.md
Original file line number Diff line number Diff line change
Expand Up @@ -1824,54 +1824,6 @@ Success



#### [SubscriberFailureResponse](#SubscriberFailureResponse)

| Properties | Type | Nullable | Description |
| ---------- | ---- | -------- | ----------- |
| message | String? | yes | |
| code | String? | yes | |
| stack | String? | yes | |

---




#### [EventConfigs](#EventConfigs)

| Properties | Type | Nullable | Description |
| ---------- | ---- | -------- | ----------- |
| id | Int? | yes | |
| eventName | String? | yes | |
| eventType | String? | yes | |
| eventCategory | String? | yes | |
| eventSchema | HashMap<String,Any>? | yes | |
| version | String? | yes | |
| displayName | String? | yes | |
| description | String? | yes | |
| createdOn | String? | yes | |
| updatedOn | String? | yes | |
| subscriberEventMapping | [SubscriberEventMapping](#SubscriberEventMapping)? | yes | |

---




#### [SubscriberEventMapping](#SubscriberEventMapping)

| Properties | Type | Nullable | Description |
| ---------- | ---- | -------- | ----------- |
| id | Int? | yes | |
| eventId | Int? | yes | |
| subscriberId | Int? | yes | |
| createdOn | String? | yes | |

---




#### [SubscriberResponse](#SubscriberResponse)

| Properties | Type | Nullable | Description |
Expand All @@ -1888,7 +1840,7 @@ Success
| createdOn | String? | yes | |
| type | String? | yes | |
| authMeta | [AuthMeta](#AuthMeta)? | yes | |
| eventConfigs | ArrayList<[EventConfigs](#EventConfigs)>? | yes | |
| eventConfigs | ArrayList<[EventConfig](#EventConfig)>? | yes | |

---

Expand Down
12 changes: 11 additions & 1 deletion src/main/java/com/sdk/application/cart/CartModels.kt
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,13 @@ data class AppliedPromotion(
var appliedFreeArticles: ArrayList<AppliedFreeArticles>?=null,

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

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

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

): Parcelable {

Expand All @@ -255,6 +261,10 @@ data class AppliedPromotion(










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 @@ -13,7 +13,7 @@ class AccessTokenInterceptor(
val builder = original.newBuilder().apply {
header("User-Agent", platformConfig?.userAgent ?: "")
header("Authorization", "Bearer ${platformConfig?.oauthClient?.token?.token}")
header("x-fp-sdk-version", "1.4.0-beta.3")
header("x-fp-sdk-version", "1.4.2-beta.1")
header("x-currency-code", platformConfig?.currencyCode ?: "INR")
platformConfig?.locationDetail?.let {
header("x-location-detail", HttpClient.gson.toJson(it))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class ApplicationHeaderInterceptor(
header("x-location-detail", HttpClient.gson.toJson(it))
}
header("x-currency-code", currencyCode)
header("x-fp-sdk-version", "1.4.0-beta.3")
header("x-fp-sdk-version", "1.4.2-beta.1")
val bearerToken =
Base64.encodeToString(
"$applicationId:$applicationToken".toByteArray(),
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.0-beta.3")
.header("x-fp-sdk-version", "1.4.2-beta.1")
publicConfig?.extraHeaders?.let {
for ((key, value) in it) {
builder.header(key,value)
Expand Down
12 changes: 11 additions & 1 deletion src/main/java/com/sdk/platform/cart/CartModels.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3910,7 +3910,13 @@ data class AppliedPromotion(
var promotionGroup: String?=null,

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

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

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

): Parcelable {

Expand All @@ -3937,6 +3943,10 @@ data class AppliedPromotion(










Expand Down
26 changes: 2 additions & 24 deletions src/main/java/com/sdk/platform/order/OrderModels.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2719,10 +2719,10 @@ data class PostHistoryData(


/*
Model: PostActivityHistory
Model: PostHistoryDict
*/
@Parcelize
data class PostActivityHistory(
data class PostHistoryDict(



Expand All @@ -2740,28 +2740,6 @@ data class PostActivityHistory(



}




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



@SerializedName("activity_history")
var activityHistory: PostActivityHistory?=null

): Parcelable {





}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ data class ListViewItems(
var companyId: Int?=null,

@SerializedName("channels")
var channels: ListViewChannels?=null
var channels: ArrayList<ListViewChannels>?=null

): Parcelable {

Expand Down
Loading

0 comments on commit a380f55

Please sign in to comment.