From fb1c339849e2bf052964cbe413342db992243f4a Mon Sep 17 00:00:00 2001 From: Rodrigo de Almeida - RMA3 Date: Fri, 8 Oct 2021 00:20:21 -0300 Subject: [PATCH 1/3] add send notify pending users --- .../com/lacunasoftware/signer/javaclient/SignerClient.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/lacunasoftware/signer/javaclient/SignerClient.java b/src/main/java/com/lacunasoftware/signer/javaclient/SignerClient.java index 8c3a576..c778aaf 100644 --- a/src/main/java/com/lacunasoftware/signer/javaclient/SignerClient.java +++ b/src/main/java/com/lacunasoftware/signer/javaclient/SignerClient.java @@ -19,6 +19,7 @@ import com.lacunasoftware.signer.documents.*; import com.lacunasoftware.signer.javaclient.params.DocumentListParameters; import com.lacunasoftware.signer.notifications.CreateFlowActionReminderRequest; +import com.lacunasoftware.signer.notifications.EmailListNotificationRequest; import com.lacunasoftware.signer.folders.FolderInfoModel; import com.lacunasoftware.signer.folders.FolderCreateRequest; import com.lacunasoftware.signer.javaclient.responses.PaginatedSearchResponse; @@ -244,6 +245,9 @@ public void sendFlowActionReminder(UUID documentId, UUID flowActionId) throws Re getRestClient().post("/api/notifications/flow-action-reminder", request); } + public void sendNotifyPendingUsers(EmailListNotificationRequest emailListNotificationRequest) throws RestException { + getRestClient().post("/api/users/notify-pending", emailListNotificationRequest); + } public void UpdateInvoiceStatus(int id, InvoicesUpdateInvoicePaymentStatusRequest request) throws RestException, IOException { getRestClient().putAsJson(String.format("api/invoices/%s/payment", id), request); @@ -282,4 +286,4 @@ private String getParameterOrEmpty(String parameter) { } // endregion -} \ No newline at end of file +} From 50440037bc1fafd470555685934fc164b332ac23 Mon Sep 17 00:00:00 2001 From: Rodrigo de Almeida - RMA3 Date: Fri, 8 Oct 2021 00:23:09 -0300 Subject: [PATCH 2/3] Update version --- build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 0a58c09..98343fb 100644 --- a/build.gradle +++ b/build.gradle @@ -10,7 +10,7 @@ targetCompatibility = JavaVersion.VERSION_1_8 group = 'com.lacunasoftware.signer' archivesBaseName = 'signer-client' -version = '2.5.3' +version = '2.5.4' repositories { mavenCentral() @@ -97,4 +97,4 @@ uploadArchives { } } } -} \ No newline at end of file +} From eb1638979bdff6a8a7c5d3f0b46a8f8b63c094d9 Mon Sep 17 00:00:00 2001 From: Rodrigo de Almeida - RMA3 Date: Fri, 8 Oct 2021 00:25:54 -0300 Subject: [PATCH 3/3] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 83defd2..df7b6a6 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ The recommended way to install it is with Gradle: } dependencies { - implementation("com.lacunasoftware.signer:signer-client:2.5.2") + implementation("com.lacunasoftware.signer:signer-client:2.5.4") ... } @@ -25,7 +25,7 @@ Or with Maven: com.lacunasoftware.signer signer-client - 2.5.2 + 2.5.4 pom