Skip to content

Commit

Permalink
[Auto Generated] 1.3.5-beta.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jigardafda committed Oct 17, 2023
1 parent 7d6a19d commit 954ee78
Show file tree
Hide file tree
Showing 11 changed files with 38 additions and 52 deletions.
41 changes: 11 additions & 30 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,4 @@
# 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

# CHANGE LOG (1.3.5-beta.3) - v1.8.4-prerelease-v3

## Platform Client

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


### Order
### User



#### createOrder
#### getCustomers

- ##### What's New
- [Added] property `shipments[].orderType` of schema `Shipment` in request body
- [Added] property `items[].externalId` of schema `UserSchema` in response with status code 200


#### getShipmentById
#### searchUsers

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


#### getOrderById
#### createUser

- ##### What's New
- [Added] property `shipments[].status.currentShipmentStatus` of schema `ShipmentStatusData` in response with status code 200
- [Added] property `externalId` of schema `CreateUserRequestSchema` in request body
- [Added] property `user.externalId` of schema `UserSchema` in response with status code 200


#### getOrders
#### updateUser

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


# CHANGE LOG (1.3.4) - fp-v1.8.3
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.2'` 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.3'` 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.2"
versionName "1.3.5-beta.3"
multiDexEnabled true

vectorDrawables.useSupportLibrary = true
Expand Down
2 changes: 0 additions & 2 deletions documentation/platform/ORDER.md
Original file line number Diff line number Diff line change
Expand Up @@ -6195,7 +6195,6 @@ We are processing the request!
| meta | HashMap<String,Any>? | yes | |
| priority | Int? | yes | |
| locationId | Int | no | |
| orderType | String? | yes | |

---

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

---

Expand Down
2 changes: 2 additions & 0 deletions documentation/platform/USER.md
Original file line number Diff line number Diff line change
Expand Up @@ -1817,6 +1817,7 @@ Success. returns updated User Group. `UserGroupResponseSchema` for more details.
| gender | String? | yes | |
| username | String | no | |
| meta | HashMap<String,Any>? | yes | |
| externalId | String? | yes | |

---

Expand Down Expand Up @@ -2222,6 +2223,7 @@ Success. returns updated User Group. `UserGroupResponseSchema` for more details.
| id | String? | yes | |
| createdAt | String? | yes | |
| updatedAt | String? | yes | |
| externalId | 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.2")
header("x-fp-sdk-version", "1.3.5-beta.3")
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.2")
header("x-fp-sdk-version", "1.3.5-beta.3")
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.2")
.header("x-fp-sdk-version", "1.3.5-beta.3")
publicConfig?.extraHeaders?.let {
for ((key, value) in it) {
builder.header(key,value)
Expand Down
7 changes: 6 additions & 1 deletion src/main/java/com/sdk/platform/lead/LeadModels.kt
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,10 @@ data class UserSchema(
var createdAt: String?=null,

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

@SerializedName("external_id")
var externalId: String?=null

): Parcelable {

Expand Down Expand Up @@ -681,6 +684,8 @@ data class UserSchema(








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

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

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

): Parcelable {

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





}


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

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

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

): Parcelable {

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





}


Expand Down
14 changes: 12 additions & 2 deletions src/main/java/com/sdk/platform/user/UserModels.kt
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,10 @@ data class CreateUserRequestSchema(
var username: String?=null,

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

@SerializedName("external_id")
var externalId: String?=null

): Parcelable {

Expand All @@ -537,6 +540,8 @@ data class CreateUserRequestSchema(





}


Expand Down Expand Up @@ -1567,7 +1572,10 @@ data class UserSchema(
var createdAt: String?=null,

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

@SerializedName("external_id")
var externalId: String?=null

): Parcelable {

Expand Down Expand Up @@ -1602,6 +1610,8 @@ data class UserSchema(








Expand Down

0 comments on commit 954ee78

Please sign in to comment.