diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5fd55d7e..4e6cabc5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,4 +1,9 @@
# Change Log
+## [5.36.0](https://github.com/plivo/plivo-java/tree/v5.36.0) (2023-11-09)
+**Feature - registration_status field**
+- Added new param `registration_status` in LIST Campaign APIs
+
+
## [5.35.0](https://github.com/plivo/plivo-java/tree/v5.35.0) (2023-11-08)
**Verify Service**
-Added Support for Verify Service Public API'S
diff --git a/README.md b/README.md
index 44f1bda6..d18e40e7 100644
--- a/README.md
+++ b/README.md
@@ -10,7 +10,7 @@ The Plivo Java SDK makes it simpler to integrate communications into your Java a
### To Install Stable release
-You can use this SDK by adding it as a dependency in your dependency management tool. Alternatively, you can use the [JAR file](https://search.maven.org/remotecontent?filepath=com/plivo/plivo-java/5.34.0/plivo-java-5.34.0.jar).
+You can use this SDK by adding it as a dependency in your dependency management tool. Alternatively, you can use the [JAR file](https://search.maven.org/remotecontent?filepath=com/plivo/plivo-java/5.36.0/plivo-java-5.36.0.jar).
If you are using Maven, use the following XML to include the Plivo SDK as a dependency.
@@ -18,13 +18,13 @@ If you are using Maven, use the following XML to include the Plivo SDK as a depe
com.plivo
plivo-java
- 5.34.0
+ 5.36.0
```
If you are using Gradle, use the following line in your dependencies.
```
-compile 'com.plivo:plivo-java:5.35.0'
+compile 'com.plivo:plivo-java:5.36.0'
```
### To Install Beta release
diff --git a/pom.properties b/pom.properties
index 4ef96468..45455453 100644
--- a/pom.properties
+++ b/pom.properties
@@ -1,6 +1,6 @@
# Written manually.
-version=5.35.0
+version=5.36.0
groupId=com.plivo
artifactId=plivo-java
diff --git a/pom.xml b/pom.xml
index e4f678dc..838a0da0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
4.0.0
com.plivo
plivo-java
- 5.35.0
+ 5.36.0
plivo-java
A Java SDK to make voice calls & send SMS using Plivo and to generate Plivo XML
diff --git a/src/main/java/com/plivo/api/PlivoAPIService.java b/src/main/java/com/plivo/api/PlivoAPIService.java
index d7dea784..b00f6ee1 100644
--- a/src/main/java/com/plivo/api/PlivoAPIService.java
+++ b/src/main/java/com/plivo/api/PlivoAPIService.java
@@ -315,7 +315,7 @@ Call> profileList(@Path("authId") String authId,
@GET("Account/{authId}/10dlc/Campaign/")
Call> campaignList(@Path("authId") String authId,
@QueryMap Map campaignListRequest,
- @Query("limit") Integer limit, @Query("offset") Integer offset, @Query("campaign_source") String campaignSource, @Query("brand_id") String brandId, @Query("usecase") String usecase);
+ @Query("limit") Integer limit, @Query("offset") Integer offset, @Query("campaign_source") String campaignSource, @Query("brand_id") String brandId, @Query("usecase") String usecase, @Query("registration_status") String registrationStatus);
@GET("Account/{authId}/10dlc/Campaign/{campaignId}/")
Call campaignGet(@Path("authId") String authId, @Path("campaignId") String campaignId);
diff --git a/src/main/java/com/plivo/api/models/campaign/CampaignLister.java b/src/main/java/com/plivo/api/models/campaign/CampaignLister.java
index 1556a22f..ef452db2 100644
--- a/src/main/java/com/plivo/api/models/campaign/CampaignLister.java
+++ b/src/main/java/com/plivo/api/models/campaign/CampaignLister.java
@@ -12,6 +12,7 @@ public class CampaignLister extends MessagingCampaignLister {
private String campaignSource;
private String brandId;
private String usecase;
+ private String registrationStatus;
public CampaignLister limit(Integer limit) {
this.limit = limit;
@@ -33,6 +34,12 @@ public CampaignLister usecase(String usecase) {
this.usecase = usecase;
return this;
+ }
+
+ public CampaignLister registrationStatus(String registrationStatus) {
+ this.registrationStatus = registrationStatus;
+ return this;
+
}
public CampaignLister brandId(String brandId) {
this.brandId = brandId;
@@ -42,6 +49,6 @@ public CampaignLister brandId(String brandId) {
@Override
protected Call> obtainCall() {
- return client().getApiService().campaignList(client().getAuthId(), toMap(), limit, offset, campaignSource, brandId, usecase);
+ return client().getApiService().campaignList(client().getAuthId(), toMap(), limit, offset, campaignSource, brandId, usecase, registrationStatus);
}
}
diff --git a/src/main/resources/com/plivo/api/version.txt b/src/main/resources/com/plivo/api/version.txt
index 8ccdf66d..795df426 100644
--- a/src/main/resources/com/plivo/api/version.txt
+++ b/src/main/resources/com/plivo/api/version.txt
@@ -1 +1 @@
-5.35.0
+5.36.0