From dc45e68cc2d79025c148022f26acb86928677590 Mon Sep 17 00:00:00 2001 From: Andres Vallecilla Date: Tue, 1 Oct 2024 09:59:07 -0500 Subject: [PATCH 1/2] feat: add profile parameters --- pom.xml | 2 +- .../client/model/message/ProfileMessage.java | 27 +++++-------------- 2 files changed, 8 insertions(+), 21 deletions(-) diff --git a/pom.xml b/pom.xml index c723f0b..8066624 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 io.2060 service-agent-java-client - 2.0.8 + 2.0.9 UTF-8 17 diff --git a/src/main/java/io/twentysixty/sa/client/model/message/ProfileMessage.java b/src/main/java/io/twentysixty/sa/client/model/message/ProfileMessage.java index b7276e8..701007f 100644 --- a/src/main/java/io/twentysixty/sa/client/model/message/ProfileMessage.java +++ b/src/main/java/io/twentysixty/sa/client/model/message/ProfileMessage.java @@ -4,8 +4,13 @@ import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonInclude.Include; +import lombok.Getter; +import lombok.Setter; + @JsonInclude(Include.NON_NULL) @JsonIgnoreProperties(ignoreUnknown = true) +@Setter +@Getter public class ProfileMessage extends BaseMessage { private static final long serialVersionUID = 7632455409300337368L; @@ -13,25 +18,7 @@ public class ProfileMessage extends BaseMessage { private String displayName; private String displayImageUrl; private String displayIconUrl; + private String description; + private String preferredLanguage; - public String getDisplayName() { - return displayName; - } - public void setDisplayName(String displayName) { - this.displayName = displayName; - } - public String getDisplayImageUrl() { - return displayImageUrl; - } - public void setDisplayImageUrl(String displayImageUrl) { - this.displayImageUrl = displayImageUrl; - } - - public String getDisplayIconUrl() { - return displayIconUrl; - } - - public void setDisplayIconUrl(String displayIconUrl) { - this.displayIconUrl = displayIconUrl; - } } From a89518d3cfb9556529e96e01ba4ca17e40adfb2b Mon Sep 17 00:00:00 2001 From: Andres Vallecilla Date: Tue, 1 Oct 2024 10:09:05 -0500 Subject: [PATCH 2/2] docs: add releases --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 57afc81..af145c3 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,14 @@ # service-agent-java-client -Client tools for building Quarkus java DIDcomm Verifiable Credential powered conversational service (Chatbots) with 2060.io Service Agent +Client tools for building Quarkus java DIDcomm Verifiable Credential powered conversational service (Chatbots) with [2060.io Service Agent](https://github.com/2060-io/2060-service-agent/blob/main/doc/service-agent-api.md) + +## Releases + +| Version | Release Date | Type of Change | Description | +|---------|--------------|---------------------|-----------------------------------------------------------------------------| +| 2.0.9 | 2024-10-DD | Patch | - add profile message parameters | +| 2.0.8 | 2024-09-27 | Patch | - add call's command | + ## License