Skip to content

Commit 82191d0

Browse files
committed
[Auto Generated] 3.5.0
1 parent 775626e commit 82191d0

13 files changed

+212
-8
lines changed

CHANGELOG.md

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,64 @@
1+
# CHANGE LOG (3.5.0) - 2.7.7
2+
3+
## Application Client
4+
5+
6+
7+
### Logistic
8+
9+
10+
11+
#### getFulfillmentOptions
12+
13+
- ##### What's Changed
14+
- [Breaking] [Changed] Possible values from <code>StorePickup</code> to <code>PickAtStore</code> of property <code>items[].type</code> of schema <code>FulfillmentOptionItem</code> in response with status code 200
15+
16+
17+
## Platform Client
18+
19+
20+
21+
### Configuration
22+
23+
24+
25+
#### getInventoryConfig
26+
27+
- ##### What's New
28+
- [Added] property <code>search.skgIdentification</code> of schema <code>SearchConfig</code> in response with status code 200
29+
30+
31+
### Serviceability
32+
33+
34+
35+
#### createFulfillmentOption
36+
37+
- ##### What's Changed
38+
- [Breaking] [Changed] Possible values from <code>StorePickup</code> to <code>PickAtStore</code> of property <code>type</code> of schema <code>FulfillmentOption</code> in request body
39+
- [Breaking] [Changed] Possible values from <code>StorePickup</code> to <code>PickAtStore</code> of property <code>type</code> of schema <code>FulfillmentOption</code> in response with status code 200
40+
41+
42+
#### getFulfillmentOptions
43+
44+
- ##### What's Changed
45+
- [Breaking] [Changed] Possible values from <code>StorePickup</code> to <code>PickAtStore</code> of property <code>type</code> of schema <code>FulfillmentOption</code> in response with status code 200
46+
47+
48+
#### putFulfillmentOption
49+
50+
- ##### What's Changed
51+
- [Breaking] [Changed] Possible values from <code>StorePickup</code> to <code>PickAtStore</code> of property <code>type</code> of schema <code>FulfillmentOption</code> in request body
52+
- [Breaking] [Changed] Possible values from <code>StorePickup</code> to <code>PickAtStore</code> of property <code>type</code> of schema <code>FulfillmentOption</code> in response with status code 200
53+
54+
55+
#### getFulfillmentOptionsList
56+
57+
- ##### What's New
58+
- [Added] method <code>getFulfillmentOptionsList</code>
59+
60+
61+
162
# CHANGE LOG (3.4.4) - 2.7.5
263

364
## Platform Client

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Get started with the Java Development SDK for Fynd Platform
1616
<dependency>
1717
<groupId>com.github.gofynd</groupId>
1818
<artifactId>fdk-client-java</artifactId>
19-
<version>3.4.4</version>
19+
<version>3.5.0</version>
2020
</dependency>
2121
```
2222

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.github.gofynd</groupId>
88
<artifactId>fynd-client-java</artifactId>
9-
<version>3.4.4</version>
9+
<version>3.5.0</version>
1010

1111
<parent>
1212
<groupId>org.springframework.boot</groupId>

src/main/java/com/sdk/application/ApplicationHeaderInterceptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ private Request.Builder buildHeaders(Request request, String bearerToken) {
3939
.addHeader("User-Agent", applicationConfig.getUserAgent())
4040
.addHeader("Accept-Language", "en-IN")
4141
.addHeader("Authorization", "Bearer "+bearerToken)
42-
.addHeader("x-fp-sdk-version", "3.4.4");
42+
.addHeader("x-fp-sdk-version", "3.5.0");
4343
}
4444
}

src/main/java/com/sdk/partner/AccessTokenInterceptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public Response intercept(Chain chain) throws IOException {
2626
okhttp3.Request.Builder builder = original.newBuilder()
2727
.addHeader("Authorization", "Bearer "+ partnerConfig.getPartnerOauthClient().getToken())
2828
.addHeader("Content-Type", "application/x-www-form-urlencoded")
29-
.addHeader("x-fp-sdk-version", "3.4.4");
29+
.addHeader("x-fp-sdk-version", "3.5.0");
3030
if (!partnerConfig.getExtraHeaders().isEmpty()) {
3131
HashMap<String, String> extraHeaders = partnerConfig.getExtraHeaders();
3232
for(Map.Entry<String,String> entry:extraHeaders.entrySet()){

src/main/java/com/sdk/partner/PartnerHeaderInterceptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ private Request.Builder buildHeaders(Request request, String bearerToken) {
3737
.addHeader("Accept-Language", "en-IN")
3838
.addHeader("Authorization", "Basic "+ bearerToken)
3939
.addHeader("Content-Type","application/x-www-form-urlencoded")
40-
.addHeader("x-fp-sdk-version", "3.4.4");
40+
.addHeader("x-fp-sdk-version", "3.5.0");
4141
}
4242

4343
}

src/main/java/com/sdk/platform/AccessTokenInterceptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public Response intercept(Chain chain) throws IOException {
2626
okhttp3.Request.Builder builder = original.newBuilder()
2727
.addHeader("Authorization", "Bearer "+ platformConfig.getPlatformOauthClient().getToken())
2828
.addHeader("Content-Type", "application/x-www-form-urlencoded")
29-
.addHeader("x-fp-sdk-version", "3.4.4");
29+
.addHeader("x-fp-sdk-version", "3.5.0");
3030
if (!platformConfig.getExtraHeaders().isEmpty()) {
3131
HashMap<String, String> extraHeaders = platformConfig.getExtraHeaders();
3232
for(Map.Entry<String,String> entry:extraHeaders.entrySet()){

src/main/java/com/sdk/platform/PlatformHeaderInterceptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ private Request.Builder buildHeaders(Request request, String bearerToken) {
3737
.addHeader("Accept-Language", "en-IN")
3838
.addHeader("Authorization", "Basic "+ bearerToken)
3939
.addHeader("Content-Type","application/x-www-form-urlencoded")
40-
.addHeader("x-fp-sdk-version", "3.4.4");
40+
.addHeader("x-fp-sdk-version", "3.5.0");
4141
}
4242

4343
}

src/main/java/com/sdk/platform/configuration/ConfigurationPlatformModels.java

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,31 @@ public static class FstIdentification{
322322

323323

324324

325+
@JsonProperty("enabled")
326+
private Boolean enabled;
327+
328+
329+
330+
}
331+
332+
333+
/*
334+
Model: SkgIdentification
335+
*/
336+
@AllArgsConstructor
337+
@NoArgsConstructor
338+
@Getter
339+
@Setter
340+
@JsonIgnoreProperties(ignoreUnknown = true)
341+
@JsonInclude(JsonInclude.Include.NON_NULL)
342+
public static class SkgIdentification{
343+
344+
345+
346+
347+
348+
349+
325350
@JsonProperty("enabled")
326351
private Boolean enabled;
327352

@@ -389,6 +414,12 @@ public static class SearchConfig{
389414

390415

391416

417+
418+
@JsonProperty("skg_identification")
419+
private SkgIdentification skgIdentification;
420+
421+
422+
392423
}
393424

394425

src/main/java/com/sdk/platform/serviceability/ServiceabilityPlatformApiList.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,9 @@ interface ServiceabilityPlatformApiList {
207207
@POST ("/service/platform/logistics/v1.0/company/{company_id}/application/{application_id}/fulfillment-options")
208208
Call<ServiceabilityPlatformModels.FulfillmentOption> createFulfillmentOption(@Path("company_id") String companyId, @Path("application_id") String applicationId, @Body ServiceabilityPlatformModels.FulfillmentOption payload, @HeaderMap Map<String, String> requestHeaders);
209209

210+
@GET ("/service/platform/logistics/v1.0/company/{company_id}/application/{application_id}/fulfillment-options")
211+
Call<ServiceabilityPlatformModels.FulfillmentOptionsList> getFulfillmentOptionsList(@Path("company_id") String companyId, @Path("application_id") String applicationId, @Query("product_slug") String productSlug, @Query("store_id") Integer storeId, @Query("status") String status, @HeaderMap Map<String, String> requestHeaders);
212+
210213
@GET ("/service/platform/logistics/v1.0/company/{company_id}/application/{application_id}/fulfillment-options/{slug}")
211214
Call<ServiceabilityPlatformModels.FulfillmentOption> getFulfillmentOptions(@Path("company_id") String companyId, @Path("application_id") String applicationId, @Path("slug") String slug, @Query("product_id") Integer productId, @Query("store_id") Integer storeId, @HeaderMap Map<String, String> requestHeaders);
212215

0 commit comments

Comments
 (0)