Skip to content

Commit

Permalink
[Auto Generated] 1.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jigardafda committed May 3, 2024
1 parent 5c750ff commit ae12163
Show file tree
Hide file tree
Showing 15 changed files with 24 additions and 3,777 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@




# CHANGE LOG (1.4.3) - fp-v1.9.2

## Application Client
Expand Down
7 changes: 0 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,3 @@ Get started with the Kotlin Development SDK for Fynd Platform
}
```


### Documentation

- [Application Front](documentation/application/README.md)
- [Platform Front](documentation/platform/README.md)
- [Public Front](documentation/public/README.md)

5 changes: 0 additions & 5 deletions src/main/java/com/sdk/application/order/OrderApiList.kt
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@ interface OrderApiList {
: Response<OrderById>


@GET
suspend fun getPosOrderById(@Url url1: String? )
: Response<OrderById>


@GET
suspend fun getShipmentById(@Url url1: String? , @Query("allow_inactive") allowInactive: Boolean?)
: Response<ShipmentById>
Expand Down
11 changes: 0 additions & 11 deletions src/main/java/com/sdk/application/order/OrderDataManagerClass.kt
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ class OrderDataManagerClass(val config: ApplicationConfig, val unauthorizedActio

_relativeUrls["getOrderById"] = "/service/application/order/v1.0/orders/{order_id}".substring(1)

_relativeUrls["getPosOrderById"] = "/service/application/order/v1.0/orders/pos-order/{order_id}".substring(1)

_relativeUrls["getShipmentById"] = "/service/application/order/v1.0/orders/shipments/{shipment_id}".substring(1)

_relativeUrls["getInvoiceByShipmentId"] = "/service/application/order/v1.0/orders/shipments/{shipment_id}/invoice".substring(1)
Expand Down Expand Up @@ -94,15 +92,6 @@ class OrderDataManagerClass(val config: ApplicationConfig, val unauthorizedActio



suspend fun getPosOrderById(orderId: String): Response<OrderById>? {
var fullUrl : String? = _relativeUrls["getPosOrderById"]

fullUrl = fullUrl?.replace("{" + "order_id" +"}",orderId.toString())

return orderApiList?.getPosOrderById(fullUrl )}



suspend fun getShipmentById(shipmentId: String, allowInactive: Boolean?=null): Response<ShipmentById>? {
var fullUrl : String? = _relativeUrls["getShipmentById"]

Expand Down
5 changes: 0 additions & 5 deletions src/main/java/com/sdk/platform/PlatformClient.kt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import com.sdk.platform.content.*
import com.sdk.platform.discount.*
import com.sdk.platform.filestorage.*
import com.sdk.platform.finance.*
import com.sdk.platform.inventory.*
import com.sdk.platform.lead.*
import com.sdk.platform.serviceability.*
import com.sdk.platform.order.*
Expand Down Expand Up @@ -68,8 +67,6 @@ class PlatformClient(val config:PlatformConfig, val unauthorizedAction: ((url: S

val finance by lazy { FinanceDataManagerClass(config, unauthorizedAction)}

val inventory by lazy { InventoryDataManagerClass(config, unauthorizedAction)}

val lead by lazy { LeadDataManagerClass(config, unauthorizedAction)}

val serviceability by lazy { ServiceabilityDataManagerClass(config, unauthorizedAction)}
Expand Down Expand Up @@ -120,8 +117,6 @@ class PlatformClient(val config:PlatformConfig, val unauthorizedAction: ((url: S

val finance by lazy { this@PlatformClient.finance.ApplicationClient(applicationId,config)}

val inventory by lazy { this@PlatformClient.inventory.ApplicationClient(applicationId,config)}

val lead by lazy { this@PlatformClient.lead.ApplicationClient(applicationId,config)}

val serviceability by lazy { this@PlatformClient.serviceability.ApplicationClient(applicationId,config)}
Expand Down
59 changes: 0 additions & 59 deletions src/main/java/com/sdk/platform/inventory/InventoryApiList.kt

This file was deleted.

207 changes: 0 additions & 207 deletions src/main/java/com/sdk/platform/inventory/InventoryDataManagerClass.kt

This file was deleted.

Loading

0 comments on commit ae12163

Please sign in to comment.