Skip to content

Commit d7bd81b

Browse files
committed
[Auto Generated] 3.18.0
1 parent e617692 commit d7bd81b

File tree

11 files changed

+68
-14
lines changed

11 files changed

+68
-14
lines changed

CHANGELOG.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,51 @@
1+
# CHANGE LOG (3.18.0) - 2.11.3
2+
3+
## Application Client
4+
5+
6+
7+
### Order
8+
9+
10+
11+
#### getOrders
12+
13+
- ##### What's New
14+
- [Added] property <code>items[].meta</code> of schema <code>OrderInfo</code> in response with status code 200
15+
16+
17+
#### getOrderById
18+
19+
- ##### What's New
20+
- [Added] property <code>order.shipments[].meta</code> of schema <code>Shipments</code> in response with status code 200
21+
22+
23+
#### getPosOrderById
24+
25+
- ##### What's New
26+
- [Added] property <code>order.shipments[].meta</code> of schema <code>Shipments</code> in response with status code 200
27+
28+
29+
#### getShipmentById
30+
31+
- ##### What's New
32+
- [Added] property <code>shipment.meta</code> of schema <code>Shipments</code> in response with status code 200
33+
34+
35+
## Platform Client
36+
37+
38+
39+
### Order
40+
41+
42+
43+
#### createOrder
44+
45+
- ##### What's New
46+
- [Added] <code>shipments[].location_id</code> made required in request body
47+
48+
149
# CHANGE LOG (3.17.2) - 2.11.1
250

351
## Application 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.17.2</version>
19+
<version>3.18.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.17.2</version>
9+
<version>3.18.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.17.2");
42+
.addHeader("x-fp-sdk-version", "3.18.0");
4343
}
4444
}

src/main/java/com/sdk/application/order/OrderApplicationModels.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2930,6 +2930,12 @@ public static class Shipments{
29302930

29312931

29322932

2933+
2934+
@JsonProperty("meta")
2935+
private HashMap<String,Object> meta;
2936+
2937+
2938+
29332939
}
29342940

29352941

@@ -3606,6 +3612,12 @@ public static class OrderInfo{
36063612

36073613

36083614

3615+
@JsonProperty("meta")
3616+
private HashMap<String,Object> meta;
3617+
3618+
3619+
3620+
36093621
@JsonProperty("gstin_code")
36103622
private String gstinCode;
36113623

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.17.2");
29+
.addHeader("x-fp-sdk-version", "3.18.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.17.2");
40+
.addHeader("x-fp-sdk-version", "3.18.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.17.2");
29+
.addHeader("x-fp-sdk-version", "3.18.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.17.2");
40+
.addHeader("x-fp-sdk-version", "3.18.0");
4141
}
4242

4343
}

src/main/java/com/sdk/platform/communication/CommunicationPlatformModels.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4083,12 +4083,6 @@ public static class SendOtpCommsReq{
40834083

40844084

40854085

4086-
4087-
@JsonProperty("additional_variables")
4088-
private HashMap<String,Object> additionalVariables;
4089-
4090-
4091-
40924086
}
40934087

40944088

0 commit comments

Comments
 (0)