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 972f4af commit 8548dcb
Show file tree
Hide file tree
Showing 5 changed files with 320 additions and 4 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 FDKClient.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Pod::Spec.new do |s|
s.name = 'FDKClient'
s.version = '1.3.7'
s.version = '1.3.8'
s.summary = 'FDK Client SDK for Swift language'

s.description = 'FDK Client SDK for Swift language that can be used to make Apps or extensions.'
Expand Down
2 changes: 1 addition & 1 deletion Sources/code/application/ApplicationAPIClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class ApplicationAPIClient {
var headers = [
(key: "Authorization", value: "Bearer " + "\(config.applicationId):\(config.applicationToken)".asBase64)
]
headers.append((key: "x-fp-sdk-version", value: "1.3.7"))
headers.append((key: "x-fp-sdk-version", value: "1.3.8"))
headers.append(contentsOf: extraHeaders)
headers.append(contentsOf: config.extraHeaders)
if let userAgent = config.userAgent {
Expand Down
2 changes: 1 addition & 1 deletion Sources/code/platform/PlatformAPIClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class PlatformAPIClient {
if let token = token {
var finalHeaders = headers
finalHeaders.append((key: "Authorization", value: "Bearer " + token.accessToken))
finalHeaders.append((key: "x-fp-sdk-version", value: "1.3.7"))
finalHeaders.append((key: "x-fp-sdk-version", value: "1.3.8"))
finalHeaders.append(contentsOf: config.extraHeaders)
if let userAgent = config.userAgent {
finalHeaders.append((key: "User-Agent", value: userAgent))
Expand Down
2 changes: 1 addition & 1 deletion Sources/code/public/PublicAPIClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class PublicAPIClient {
responseType: String = "application/json",
onResponse: @escaping OnResponse) {
var headers = [
(key: "x-fp-sdk-version", value: "1.3.7")
(key: "x-fp-sdk-version", value: "1.3.8")
]
headers.append(contentsOf: extraHeaders)
headers.append(contentsOf: config.extraHeaders)
Expand Down

0 comments on commit 8548dcb

Please sign in to comment.