Skip to content

Commit

Permalink
[Auto Generated] 1.3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
jigardafda committed Nov 9, 2023
1 parent 62fcb21 commit a515fb0
Show file tree
Hide file tree
Showing 6 changed files with 321 additions and 5 deletions.
316 changes: 316 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,319 @@
# CHANGE LOG (1.3.8) - fp-v1.8.5

## Application Client



### Cart



#### getCart

- ##### What's New
- [Added] `query` parameter `c` (type: `boolean`)

- [Added] property `items[].pricePerUnit.base.sellingPrice` of schema `ProductPricePerUnit` in response with status code 200
- [Added] property `items[].pricePerUnit.converted.sellingPrice` of schema `ProductPricePerUnit` in response with status code 200

- ##### What's Deprecated
- [Breaking] [Deleted] property `items[].pricePerUnit.base.selling` of schema `ProductPrice` in response with status code 200
- [Breaking] [Deleted] property `items[].pricePerUnit.converted.selling` of schema `ProductPrice` in response with status code 200


#### addItems

- ##### What's New
- [Added] property `cart.items[].pricePerUnit.base.sellingPrice` of schema `ProductPricePerUnit` in response with status code 200
- [Added] property `cart.items[].pricePerUnit.converted.sellingPrice` of schema `ProductPricePerUnit` in response with status code 200

- ##### What's Deprecated
- [Breaking] [Deleted] property `cart.items[].pricePerUnit.base.selling` of schema `ProductPrice` in response with status code 200
- [Breaking] [Deleted] property `cart.items[].pricePerUnit.converted.selling` of schema `ProductPrice` in response with status code 200


#### updateCart

- ##### What's New
- [Added] property `cart.items[].pricePerUnit.base.sellingPrice` of schema `ProductPricePerUnit` in response with status code 200
- [Added] property `cart.items[].pricePerUnit.converted.sellingPrice` of schema `ProductPricePerUnit` in response with status code 200

- ##### What's Deprecated
- [Breaking] [Deleted] property `cart.items[].pricePerUnit.base.selling` of schema `ProductPrice` in response with status code 200
- [Breaking] [Deleted] property `cart.items[].pricePerUnit.converted.selling` of schema `ProductPrice` in response with status code 200


#### applyCoupon

- ##### What's New
- [Added] property `items[].pricePerUnit.base.sellingPrice` of schema `ProductPricePerUnit` in response with status code 201
- [Added] property `items[].pricePerUnit.converted.sellingPrice` of schema `ProductPricePerUnit` in response with status code 201

- ##### What's Deprecated
- [Breaking] [Deleted] property `items[].pricePerUnit.base.selling` of schema `ProductPrice` in response with status code 201
- [Breaking] [Deleted] property `items[].pricePerUnit.converted.selling` of schema `ProductPrice` in response with status code 201


#### removeCoupon

- ##### What's New
- [Added] property `items[].pricePerUnit.base.sellingPrice` of schema `ProductPricePerUnit` in response with status code 200
- [Added] property `items[].pricePerUnit.converted.sellingPrice` of schema `ProductPricePerUnit` in response with status code 200

- ##### What's Deprecated
- [Breaking] [Deleted] property `items[].pricePerUnit.base.selling` of schema `ProductPrice` in response with status code 200
- [Breaking] [Deleted] property `items[].pricePerUnit.converted.selling` of schema `ProductPrice` in response with status code 200


#### applyRewardPoints

- ##### What's New
- [Added] property `items[].pricePerUnit.base.sellingPrice` of schema `ProductPricePerUnit` in response with status code 200
- [Added] property `items[].pricePerUnit.converted.sellingPrice` of schema `ProductPricePerUnit` in response with status code 200

- ##### What's Deprecated
- [Breaking] [Deleted] property `items[].pricePerUnit.base.selling` of schema `ProductPrice` in response with status code 200
- [Breaking] [Deleted] property `items[].pricePerUnit.converted.selling` of schema `ProductPrice` in response with status code 200


#### selectAddress

- ##### What's New
- [Added] property `items[].pricePerUnit.base.sellingPrice` of schema `ProductPricePerUnit` in response with status code 201
- [Added] property `items[].pricePerUnit.converted.sellingPrice` of schema `ProductPricePerUnit` in response with status code 201

- ##### What's Deprecated
- [Breaking] [Deleted] property `items[].pricePerUnit.base.selling` of schema `ProductPrice` in response with status code 201
- [Breaking] [Deleted] property `items[].pricePerUnit.converted.selling` of schema `ProductPrice` in response with status code 201


#### selectPaymentMode

- ##### What's New
- [Added] property `items[].pricePerUnit.base.sellingPrice` of schema `ProductPricePerUnit` in response with status code 200
- [Added] property `items[].pricePerUnit.converted.sellingPrice` of schema `ProductPricePerUnit` in response with status code 200

- ##### What's Deprecated
- [Breaking] [Deleted] property `items[].pricePerUnit.base.selling` of schema `ProductPrice` in response with status code 200
- [Breaking] [Deleted] property `items[].pricePerUnit.converted.selling` of schema `ProductPrice` in response with status code 200


#### getShipments

- ##### What's New
- [Added] property `shipments[].items[].pricePerUnit.base.sellingPrice` of schema `ProductPricePerUnit` in response with status code 200
- [Added] property `shipments[].items[].pricePerUnit.converted.sellingPrice` of schema `ProductPricePerUnit` in response with status code 200

- ##### What's Deprecated
- [Breaking] [Deleted] property `shipments[].items[].pricePerUnit.base.selling` of schema `ProductPrice` in response with status code 200
- [Breaking] [Deleted] property `shipments[].items[].pricePerUnit.converted.selling` of schema `ProductPrice` in response with status code 200


#### checkoutCart

- ##### What's New
- [Added] property `cart.items[].pricePerUnit.base.sellingPrice` of schema `ProductPricePerUnit` in response with status code 200
- [Added] property `cart.items[].pricePerUnit.converted.sellingPrice` of schema `ProductPricePerUnit` in response with status code 200

- ##### What's Deprecated
- [Breaking] [Deleted] property `cart.items[].pricePerUnit.base.selling` of schema `ProductPrice` in response with status code 200
- [Breaking] [Deleted] property `cart.items[].pricePerUnit.converted.selling` of schema `ProductPrice` in response with status code 200


#### getCartSharedItems

- ##### What's New
- [Added] property `cart.items[].pricePerUnit.base.sellingPrice` of schema `ProductPricePerUnit` in response with status code 200
- [Added] property `cart.items[].pricePerUnit.converted.sellingPrice` of schema `ProductPricePerUnit` in response with status code 200
- [Added] property `cart.items[].pricePerUnit.base.sellingPrice` of schema `ProductPricePerUnit` in response with status code 404
- [Added] property `cart.items[].pricePerUnit.converted.sellingPrice` of schema `ProductPricePerUnit` in response with status code 404

- ##### What's Deprecated
- [Breaking] [Deleted] property `cart.items[].pricePerUnit.base.selling` of schema `ProductPrice` in response with status code 200
- [Breaking] [Deleted] property `cart.items[].pricePerUnit.converted.selling` of schema `ProductPrice` in response with status code 200
- [Breaking] [Deleted] property `cart.items[].pricePerUnit.base.selling` of schema `ProductPrice` in response with status code 404
- [Breaking] [Deleted] property `cart.items[].pricePerUnit.converted.selling` of schema `ProductPrice` in response with status code 404


#### updateCartWithSharedItems

- ##### What's New
- [Added] property `cart.items[].pricePerUnit.base.sellingPrice` of schema `ProductPricePerUnit` in response with status code 200
- [Added] property `cart.items[].pricePerUnit.converted.sellingPrice` of schema `ProductPricePerUnit` in response with status code 200

- ##### What's Deprecated
- [Breaking] [Deleted] property `cart.items[].pricePerUnit.base.selling` of schema `ProductPrice` in response with status code 200
- [Breaking] [Deleted] property `cart.items[].pricePerUnit.converted.selling` of schema `ProductPrice` in response with status code 200


#### checkoutCartV2

- ##### What's New
- [Added] property `cart.items[].pricePerUnit.base.sellingPrice` of schema `ProductPricePerUnit` in response with status code 200
- [Added] property `cart.items[].pricePerUnit.converted.sellingPrice` of schema `ProductPricePerUnit` in response with status code 200

- ##### What's Deprecated
- [Breaking] [Deleted] property `cart.items[].pricePerUnit.base.selling` of schema `ProductPrice` in response with status code 200
- [Breaking] [Deleted] property `cart.items[].pricePerUnit.converted.selling` of schema `ProductPrice` in response with status code 200


### PosCart



#### getCart

- ##### What's New
- [Added] `query` parameter `c` (type: `boolean`)



## Platform Client



### Cart



#### getAbandonedCartDetails

- ##### What's New
- [Added] `query` parameter `c` (type: `boolean`)



### Catalog



#### getAppReturnConfiguration

- ##### What's New
- [Added] method `getAppReturnConfiguration`



#### createAppReturnConfiguration

- ##### What's New
- [Added] method `createAppReturnConfiguration`



#### updateAppReturnConfiguration

- ##### What's New
- [Added] method `updateAppReturnConfiguration`



#### deleteAppCategoryReturnConfiguration

- ##### What's New
- [Added] method `deleteAppCategoryReturnConfiguration`



#### getAppCategoryReturnConfig

- ##### What's New
- [Added] method `getAppCategoryReturnConfig`



#### createAppCategoryReturnConfiguration

- ##### What's New
- [Added] method `createAppCategoryReturnConfiguration`



#### updateAppCategoryReturnConfiguration

- ##### What's New
- [Added] method `updateAppCategoryReturnConfiguration`



### Communication



#### sendOtp

- ##### What's New
- [Added] property `email.provider` of schema `SendOtpCommsReqEmail` in request body


### Order



#### createOrder

- ##### What's New
- [Added] property `userInfo.primaryEmail` of schema `UserInfo` in request body
- [Added] property `userInfo.primaryMobileNumber` of schema `UserInfo` in request body

- ##### What's Deprecated
- [Breaking] [Deleted] property `userInfo.email` of schema `UserInfo` in request body
- [Breaking] [Deleted] property `userInfo.mobile` of schema `UserInfo` in request body

- ##### What's Changed
- [Breaking] [Changed] Required status of property `userInfo.email` in request body
- [Breaking] [Changed] Required status of property `userInfo.mobile` in request body


#### getShipments

- ##### What's Deprecated
- [Deleted] properties `items[].meta.formatted`, `items[].meta.sla`, `items[].meta.tags`, `items[].meta.external`, `items[].meta.timestamp`, `items[].meta.weight`, `items[].meta.sameStoreAvailable`, `items[].meta.isSelfShip`, `items[].meta.isInternational`, `items[].meta.debugInfo`, `items[].meta.shipmentChargeableWeight`, `items[].meta.pdfMedia`, `items[].meta.existingDpList`, `items[].meta.parentDpId`, `items[].meta.shipmentWeight`, `items[].meta.dpOptions`, `items[].meta.assignDpFromSb`, `items[].meta.shippingZone`, `items[].meta.storeInvoiceUpdatedDate`, `items[].meta.activityComment`, `items[].meta.fulfilmentPriorityText`, `items[].meta.shipmentTags`, `items[].meta.ewaybillInfo`, `items[].meta.lockData`, `items[].meta.orderType`, `items[].meta.shipmentVolumetricWeight`, `items[].meta.dpSortKey`, `items[].meta.packagingName`, `items[].meta.autoTriggerDpAssignmentAcf`, `items[].meta.bagWeight` in response with status code 200
- [Deleted] Required status from property `items[].meta.auto_trigger_dp_assignment_acf` in response with status code 200


#### getShipmentById

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

- ##### What's Deprecated
- [Deleted] properties `shipments[].bags[].meta.giftCard`, `shipments[].bags[].meta.customMessage`, `shipments[].bags[].meta.docketNumber`, `shipments[].bags[].meta.groupId`, `shipments[].bags[].meta.partialCanRet`, `shipments[].bags[].meta.extraMeta`, `shipments[].bags[].meta.b2BPoDetails`, `shipments[].bags[].meta.customJson` in response with status code 200


#### getOrderById

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

- ##### What's Deprecated
- [Deleted] properties `order.meta.comment`, `order.meta.files`, `order.meta.staff`, `order.meta.platformUserDetails`, `order.meta.companyLogo`, `order.meta.currencySymbol`, `order.meta.extraMeta`, `order.meta.transactionData`, `order.meta.billingStaffDetails`, `order.meta.orderingStore`, `order.meta.paymentType`, `order.meta.mongoCartId`, `order.meta.orderChildEntities`, `order.meta.orderType`, `order.meta.orderPlatform`, `order.meta.employeeId`, `order.meta.orderTags`, `order.meta.customerNote`, `order.meta.cartId`, `order.meta.cartObjectId` in response with status code 200
- [Deleted] properties `shipments[].bags[].meta.giftCard`, `shipments[].bags[].meta.customMessage`, `shipments[].bags[].meta.docketNumber`, `shipments[].bags[].meta.groupId`, `shipments[].bags[].meta.partialCanRet`, `shipments[].bags[].meta.extraMeta`, `shipments[].bags[].meta.b2BPoDetails`, `shipments[].bags[].meta.customJson` in response with status code 200


#### getOrders

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

- ##### What's Deprecated
- [Deleted] properties `items[].shipments[].bags[].meta.giftCard`, `items[].shipments[].bags[].meta.customMessage`, `items[].shipments[].bags[].meta.docketNumber`, `items[].shipments[].bags[].meta.groupId`, `items[].shipments[].bags[].meta.partialCanRet`, `items[].shipments[].bags[].meta.extraMeta`, `items[].shipments[].bags[].meta.b2BPoDetails`, `items[].shipments[].bags[].meta.customJson` in response with status code 200


#### getShipmentBagReasons

- ##### What's New
- [Added] method `getShipmentBagReasons`



#### getApplicationShipments

- ##### What's New
- [Added] method `getApplicationShipments`



# CHANGE LOG (1.3.7) - fp-v1.8.5

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

vectorDrawables.useSupportLibrary = true
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.7")
header("x-fp-sdk-version", "1.3.8")
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.7")
header("x-fp-sdk-version", "1.3.8")
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.7")
.header("x-fp-sdk-version", "1.3.8")
publicConfig?.extraHeaders?.let {
for ((key, value) in it) {
builder.header(key,value)
Expand Down

0 comments on commit a515fb0

Please sign in to comment.