Skip to content

Commit

Permalink
[Auto Generated] 1.3.5-beta.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jigardafda committed Oct 13, 2023
1 parent 9e1157e commit 7d6a19d
Show file tree
Hide file tree
Showing 10 changed files with 72 additions and 12 deletions.
50 changes: 49 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,24 @@
# CHANGE LOG (1.3.5-beta.1) - v1.8.4-prerelease-v1
# CHANGE LOG (1.3.5-beta.2) - v1.8.4-prerelease-v2

## Application Client



### Cart



#### checkoutCart

- ##### What's Deprecated
- [Deleted] Possible nullable value from `true` from property `id` of schema `CartCheckoutDetailRequest` in request body
- [Deleted] Possible nullable value from `true` from property `customerDetails` of schema `CartCheckoutDetailRequest` in request body
- [Breaking] [Deleted] Default value from property `callbackUrl` of schema `CartCheckoutDetailRequest` in request body
- [Deleted] Possible nullable value from `true` from property `callbackUrl` of schema `CartCheckoutDetailRequest` in request body
- [Deleted] Possible nullable value from `true` from property `orderingStore` of schema `CartCheckoutDetailRequest` in request body
- [Deleted] Possible nullable value from `true` from property `paymentIdentifier` of schema `CartCheckoutDetailRequest` in request body
- [Deleted] Possible nullable value from `true` from property `paymentParams` of schema `CartCheckoutDetailRequest` in request body


## Platform Client

Expand All @@ -20,6 +40,34 @@
- [Breaking] [Changed] Type from `object` to `array` of property `items` of schema `ProductBulkRequest` in response with status code 200


### Order



#### createOrder

- ##### What's New
- [Added] property `shipments[].orderType` of schema `Shipment` in request body


#### getShipmentById

- ##### What's New
- [Added] property `shipments[].status.currentShipmentStatus` of schema `ShipmentStatusData` in response with status code 200


#### getOrderById

- ##### What's New
- [Added] property `shipments[].status.currentShipmentStatus` of schema `ShipmentStatusData` in response with status code 200


#### getOrders

- ##### What's New
- [Added] property `items[].shipments[].status.currentShipmentStatus` of schema `ShipmentStatusData` in response with status code 200


# CHANGE LOG (1.3.4) - fp-v1.8.3

## Application Client
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.3.5-beta.1'` in your app build.gradle
1. Add the dependency in your app build.gradle `implementation 'com.github.gofynd:fdk-client-kotlin:1.3.5-beta.2'` 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.3.5-beta.1"
versionName "1.3.5-beta.2"
multiDexEnabled true

vectorDrawables.useSupportLibrary = true
Expand Down
4 changes: 2 additions & 2 deletions documentation/platform/CATALOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20685,12 +20685,12 @@ Returns a success response
| Properties | Type | Nullable | Description |
| ---------- | ---- | -------- | ----------- |
| cancelled | Int? | yes | |
| cancelledRecords | ArrayList<String>? | yes | |
| cancelledRecords | ArrayList<HashMap<String,Any>>? | yes | |
| companyId | Int? | yes | |
| createdBy | [UserDetail1](#UserDetail1)? | yes | |
| createdOn | String? | yes | |
| failed | Int? | yes | |
| failedRecords | ArrayList<String>? | yes | |
| failedRecords | ArrayList<HashMap<String,Any>>? | yes | |
| filePath | String? | yes | |
| isActive | Boolean? | yes | |
| modifiedBy | [UserDetail1](#UserDetail1)? | yes | |
Expand Down
2 changes: 2 additions & 0 deletions documentation/platform/ORDER.md
Original file line number Diff line number Diff line change
Expand Up @@ -6195,6 +6195,7 @@ We are processing the request!
| meta | HashMap<String,Any>? | yes | |
| priority | Int? | yes | |
| locationId | Int | no | |
| orderType | String? | yes | |

---

Expand Down Expand Up @@ -8169,6 +8170,7 @@ We are processing the request!
| shipmentId | String? | yes | |
| status | String? | yes | |
| displayName | String? | yes | |
| currentShipmentStatus | String? | yes | |

---

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.3.5-beta.1")
header("x-fp-sdk-version", "1.3.5-beta.2")
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.3.5-beta.1")
header("x-fp-sdk-version", "1.3.5-beta.2")
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.3.5-beta.1")
.header("x-fp-sdk-version", "1.3.5-beta.2")
publicConfig?.extraHeaders?.let {
for ((key, value) in it) {
builder.header(key,value)
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/sdk/platform/catalog/CatalogModels.kt
Original file line number Diff line number Diff line change
Expand Up @@ -10771,7 +10771,7 @@ data class ProductBulkRequest(
var cancelled: Int?=null,

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

@SerializedName("company_id")
var companyId: Int?=null,
Expand All @@ -10786,7 +10786,7 @@ data class ProductBulkRequest(
var failed: Int?=null,

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

@SerializedName("file_path")
var filePath: String?=null,
Expand Down
14 changes: 12 additions & 2 deletions src/main/java/com/sdk/platform/order/OrderModels.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3341,7 +3341,10 @@ data class Shipment(
var priority: Int?=null,

@SerializedName("location_id")
var locationId: Int?=null
var locationId: Int?=null,

@SerializedName("order_type")
var orderType: String?=null

): Parcelable {

Expand All @@ -3359,6 +3362,8 @@ data class Shipment(





}


Expand Down Expand Up @@ -9386,7 +9391,10 @@ data class ShipmentStatusData(
var status: String?=null,

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

@SerializedName("current_shipment_status")
var currentShipmentStatus: String?=null

): Parcelable {

Expand All @@ -9406,6 +9414,8 @@ data class ShipmentStatusData(





}


Expand Down

0 comments on commit 7d6a19d

Please sign in to comment.