diff --git a/README.md b/README.md
index 55589806..6f6dc455 100644
--- a/README.md
+++ b/README.md
@@ -12,7 +12,7 @@ Convenience library based on okhttp and gson to interact with [aries cloud agent
network.idu.acapy
aries-client-python
- 0.8.0
+ 0.10.0
```
@@ -35,6 +35,8 @@ Convenience library based on okhttp and gson to interact with [aries cloud agent
| Client Version | ACA-PY Version |
|----------------|----------------|
+| 0.10.0 | 0.10.x |
+| 0.8.0 | 0.8.0 |
| 0.7.0 | 0.7.0 |
| 0.7.6 | 0.7.1, 0.7.2 |
| \>= 0.7.18 | 0.7.3 |
@@ -85,6 +87,7 @@ Convenience library based on okhttp and gson to interact with [aries cloud agent
| POST | /didexchange/receive-request | :white_check_mark: |
| POST | /didexchange/{conn_id}/accept-invitation | :white_check_mark: |
| POST | /didexchange/{conn_id}/accept-request | :white_check_mark: |
+| POST | /didexchange/{conn_id}/reject | :white_check_mark: |
| | **discover-features** | |
| GET | /discover-features/query | :white_check_mark: |
| GET | /discover-features/records | :white_check_mark: |
@@ -137,15 +140,17 @@ Convenience library based on okhttp and gson to interact with [aries cloud agent
| POST | /jsonld/sign | :white_check_mark: |
| POST | /jsonld/verify | :white_check_mark: |
| | **ledger** | |
+| GET | /ledger/config | :white_check_mark: |
| GET | /ledger/did-endpoint | :white_check_mark: |
| GET | /ledger/did-verkey | :white_check_mark: |
| GET | /ledger/get-nym-role | :white_check_mark: |
-| GET | /ledger/multiple/config | :white_check_mark: |
-| GET | /ledger/multiple/get-write-ledger | :white_check_mark: |
+| GET | /ledger/get-write-ledger | :white_check_mark: |
+| GET | /ledger/get-write-ledgers | :white_check_mark: |
| POST | /ledger/register-nym | :white_check_mark: |
| PATCH | /ledger/rotate-public-did-keypair | :white_check_mark: |
| GET | /ledger/taa | :white_check_mark: |
| POST | /ledger/taa/accept | :white_check_mark: |
+| POST | /ledger/{ledger_id}/set-write-ledger | :white_check_mark: |
| | **mediation** | |
| GET | /mediation/default-mediator | :white_check_mark: |
| DELETE | /mediation/default-mediator | :white_check_mark: |
@@ -198,6 +203,7 @@ Convenience library based on okhttp and gson to interact with [aries cloud agent
| GET | /resolver/resolve/{did} | :white_check_mark: |
| | **revocation** | |
| GET | /revocation/active-registry/{cred_def_id} | :white_check_mark: |
+| POST | /revocation/active-registry/{cred_def_id}/rotate | :white_check_mark: |
| POST | /revocation/clear-pending-revocations | :white_check_mark: |
| POST | /revocation/create-registry | :white_check_mark: |
| GET | /revocation/credential-record | :white_check_mark: |
@@ -221,14 +227,9 @@ Convenience library based on okhttp and gson to interact with [aries cloud agent
| GET | /schemas/created | :white_check_mark: |
| GET | /schemas/{schema_id} | :white_check_mark: |
| POST | /schemas/{schema_id}/write_record | :white_check_mark: |
-| | **server** | |
-| GET | /plugins | :white_check_mark: |
-| GET | /shutdown | :white_check_mark: |
-| GET | /status | :white_check_mark: |
-| GET | /status/config | :white_check_mark: |
-| GET | /status/live | :white_check_mark: |
-| GET | /status/ready | :white_check_mark: |
-| POST | /status/reset | :white_check_mark: |
+| | **settings** | |
+| PUT | /settings | :white_check_mark: |
+| GET | /settings | :white_check_mark: |
| | **trustping** | |
| POST | /connections/{conn_id}/send-ping | :white_check_mark: |
| | **wallet** | |
@@ -238,7 +239,17 @@ Convenience library based on okhttp and gson to interact with [aries cloud agent
| GET | /wallet/did/public | :white_check_mark: |
| POST | /wallet/did/public | :white_check_mark: |
| GET | /wallet/get-did-endpoint | :white_check_mark: |
+| POST | /wallet/jwt/sign | :white_check_mark: |
+| POST | /wallet/jwt/verify | :white_check_mark: |
| POST | /wallet/set-did-endpoint | :white_check_mark: |
+| | **server** | |
+| GET | /plugins | :white_check_mark: |
+| GET | /shutdown | :white_check_mark: |
+| GET | /status | :white_check_mark: |
+| GET | /status/config | :white_check_mark: |
+| GET | /status/live | :white_check_mark: |
+| GET | /status/ready | :white_check_mark: |
+| POST | /status/reset | :white_check_mark: |
## Client Examples
diff --git a/pom.xml b/pom.xml
index 7b7c6176..63961f0c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
network.idu.acapy
aries-client-python
- 0.8.1-SNAPSHOT
+ 0.10.1-SNAPSHOT
jar
${project.groupId}:${project.artifactId}
@@ -201,7 +201,7 @@
true
- ${project.basedir}/swagger/0_8_0.json
+ ${project.basedir}/swagger/0_10_5.json
java
false
diff --git a/src/main/java/org/hyperledger/acy_py/generated/model/ConfigurableWriteLedgers.java b/src/main/java/org/hyperledger/acy_py/generated/model/ConfigurableWriteLedgers.java
new file mode 100644
index 00000000..f2e00056
--- /dev/null
+++ b/src/main/java/org/hyperledger/acy_py/generated/model/ConfigurableWriteLedgers.java
@@ -0,0 +1,31 @@
+/*
+ * aca-py client
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v0.7.3
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package org.hyperledger.acy_py.generated.model;
+
+import com.google.gson.annotations.SerializedName;
+
+import java.util.List;
+
+/**
+ * ConfigurableWriteLedgers
+ */
+
+@lombok.Data
+@lombok.AllArgsConstructor
+@lombok.NoArgsConstructor
+@lombok.Builder
+public class ConfigurableWriteLedgers {
+ public static final String SERIALIZED_NAME_WRITE_LEDGERS = "write_ledgers";
+ @SerializedName(SERIALIZED_NAME_WRITE_LEDGERS)
+ private List writeLedgers = null;
+}
diff --git a/src/main/java/org/hyperledger/acy_py/generated/model/CreateWalletRequest.java b/src/main/java/org/hyperledger/acy_py/generated/model/CreateWalletRequest.java
index cc62ce6c..28b54036 100644
--- a/src/main/java/org/hyperledger/acy_py/generated/model/CreateWalletRequest.java
+++ b/src/main/java/org/hyperledger/acy_py/generated/model/CreateWalletRequest.java
@@ -30,6 +30,9 @@
@lombok.NoArgsConstructor
@lombok.Builder
public class CreateWalletRequest {
+ public static final String SERIALIZED_NAME_EXTRA_SETTINGS = "extra_settings";
+ @SerializedName(SERIALIZED_NAME_EXTRA_SETTINGS)
+ private Object extraSettings;
public static final String SERIALIZED_NAME_IMAGE_URL = "image_url";
@SerializedName(SERIALIZED_NAME_IMAGE_URL)
private String imageUrl;
diff --git a/src/main/java/org/hyperledger/acy_py/generated/model/V10DiscoveryExchangeResult.java b/src/main/java/org/hyperledger/acy_py/generated/model/DIDXRejectRequest.java
similarity index 70%
rename from src/main/java/org/hyperledger/acy_py/generated/model/V10DiscoveryExchangeResult.java
rename to src/main/java/org/hyperledger/acy_py/generated/model/DIDXRejectRequest.java
index 4d0e1483..cf6e1606 100644
--- a/src/main/java/org/hyperledger/acy_py/generated/model/V10DiscoveryExchangeResult.java
+++ b/src/main/java/org/hyperledger/acy_py/generated/model/DIDXRejectRequest.java
@@ -15,15 +15,15 @@
import com.google.gson.annotations.SerializedName;
/**
- * V10DiscoveryExchangeResult
+ * DIDXRejectRequest
*/
@lombok.Data
@lombok.AllArgsConstructor
@lombok.NoArgsConstructor
@lombok.Builder
-public class V10DiscoveryExchangeResult {
- public static final String SERIALIZED_NAME_RESULTS = "results";
- @SerializedName(SERIALIZED_NAME_RESULTS)
- private V10DiscoveryRecord results;
+public class DIDXRejectRequest {
+ public static final String SERIALIZED_NAME_REASON = "reason";
+ @SerializedName(SERIALIZED_NAME_REASON)
+ private String reason;
}
diff --git a/src/main/java/org/hyperledger/acy_py/generated/model/DIDXRequest.java b/src/main/java/org/hyperledger/acy_py/generated/model/DIDXRequest.java
index 4319473d..ec3284e7 100644
--- a/src/main/java/org/hyperledger/acy_py/generated/model/DIDXRequest.java
+++ b/src/main/java/org/hyperledger/acy_py/generated/model/DIDXRequest.java
@@ -35,6 +35,12 @@ public class DIDXRequest {
public static final String SERIALIZED_NAME_DID_DOC_TILDE_ATTACH = "did_doc~attach";
@SerializedName(SERIALIZED_NAME_DID_DOC_TILDE_ATTACH)
private AttachDecorator didDocTildeAttach;
+ public static final String SERIALIZED_NAME_GOAL = "goal";
+ @SerializedName(SERIALIZED_NAME_GOAL)
+ private String goal;
+ public static final String SERIALIZED_NAME_GOAL_CODE = "goal_code";
+ @SerializedName(SERIALIZED_NAME_GOAL_CODE)
+ private String goalCode;
public static final String SERIALIZED_NAME_LABEL = "label";
@SerializedName(SERIALIZED_NAME_LABEL)
private String label;
diff --git a/src/main/java/org/hyperledger/acy_py/generated/model/InvitationCreateRequest.java b/src/main/java/org/hyperledger/acy_py/generated/model/InvitationCreateRequest.java
index 14eb220a..f71b1ad8 100644
--- a/src/main/java/org/hyperledger/acy_py/generated/model/InvitationCreateRequest.java
+++ b/src/main/java/org/hyperledger/acy_py/generated/model/InvitationCreateRequest.java
@@ -34,6 +34,12 @@ public class InvitationCreateRequest {
public static final String SERIALIZED_NAME_ATTACHMENTS = "attachments";
@SerializedName(SERIALIZED_NAME_ATTACHMENTS)
private List attachments = null;
+ public static final String SERIALIZED_NAME_GOAL = "goal";
+ @SerializedName(SERIALIZED_NAME_GOAL)
+ private String goal;
+ public static final String SERIALIZED_NAME_GOAL_CODE = "goal_code";
+ @SerializedName(SERIALIZED_NAME_GOAL_CODE)
+ private String goalCode;
public static final String SERIALIZED_NAME_HANDSHAKE_PROTOCOLS = "handshake_protocols";
@SerializedName(SERIALIZED_NAME_HANDSHAKE_PROTOCOLS)
private List handshakeProtocols = null;
diff --git a/src/main/java/org/hyperledger/acy_py/generated/model/InvitationMessage.java b/src/main/java/org/hyperledger/acy_py/generated/model/InvitationMessage.java
index 0ee91a5d..9bba9204 100644
--- a/src/main/java/org/hyperledger/acy_py/generated/model/InvitationMessage.java
+++ b/src/main/java/org/hyperledger/acy_py/generated/model/InvitationMessage.java
@@ -34,6 +34,12 @@ public class InvitationMessage {
public static final String SERIALIZED_NAME_ACCEPT = "accept";
@SerializedName(SERIALIZED_NAME_ACCEPT)
private List accept = null;
+ public static final String SERIALIZED_NAME_GOAL = "goal";
+ @SerializedName(SERIALIZED_NAME_GOAL)
+ private String goal;
+ public static final String SERIALIZED_NAME_GOAL_CODE = "goal_code";
+ @SerializedName(SERIALIZED_NAME_GOAL_CODE)
+ private String goalCode;
public static final String SERIALIZED_NAME_HANDSHAKE_PROTOCOLS = "handshake_protocols";
@SerializedName(SERIALIZED_NAME_HANDSHAKE_PROTOCOLS)
private List handshakeProtocols = null;
diff --git a/src/main/java/org/hyperledger/acy_py/generated/model/JWSCreate.java b/src/main/java/org/hyperledger/acy_py/generated/model/JWSCreate.java
new file mode 100644
index 00000000..2303ac4f
--- /dev/null
+++ b/src/main/java/org/hyperledger/acy_py/generated/model/JWSCreate.java
@@ -0,0 +1,38 @@
+/*
+ * aca-py client
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v0.7.3
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package org.hyperledger.acy_py.generated.model;
+
+import com.google.gson.annotations.SerializedName;
+
+/**
+ * JWSCreate
+ */
+
+@lombok.Data
+@lombok.AllArgsConstructor
+@lombok.NoArgsConstructor
+@lombok.Builder
+public class JWSCreate {
+ public static final String SERIALIZED_NAME_DID = "did";
+ @SerializedName(SERIALIZED_NAME_DID)
+ private String did;
+ public static final String SERIALIZED_NAME_HEADERS = "headers";
+ @SerializedName(SERIALIZED_NAME_HEADERS)
+ private Object headers;
+ public static final String SERIALIZED_NAME_PAYLOAD = "payload";
+ @SerializedName(SERIALIZED_NAME_PAYLOAD)
+ private Object payload;
+ public static final String SERIALIZED_NAME_VERIFICATION_METHOD = "verificationMethod";
+ @SerializedName(SERIALIZED_NAME_VERIFICATION_METHOD)
+ private String verificationMethod;
+}
diff --git a/src/main/java/org/hyperledger/acy_py/generated/model/JWSVerify.java b/src/main/java/org/hyperledger/acy_py/generated/model/JWSVerify.java
new file mode 100644
index 00000000..38ad0029
--- /dev/null
+++ b/src/main/java/org/hyperledger/acy_py/generated/model/JWSVerify.java
@@ -0,0 +1,29 @@
+/*
+ * aca-py client
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v0.7.3
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package org.hyperledger.acy_py.generated.model;
+
+import com.google.gson.annotations.SerializedName;
+
+/**
+ * JWSVerify
+ */
+
+@lombok.Data
+@lombok.AllArgsConstructor
+@lombok.NoArgsConstructor
+@lombok.Builder
+public class JWSVerify {
+ public static final String SERIALIZED_NAME_JWT = "jwt";
+ @SerializedName(SERIALIZED_NAME_JWT)
+ private String jwt;
+}
diff --git a/src/main/java/org/hyperledger/acy_py/generated/model/JWSVerifyResponse.java b/src/main/java/org/hyperledger/acy_py/generated/model/JWSVerifyResponse.java
new file mode 100644
index 00000000..327ab633
--- /dev/null
+++ b/src/main/java/org/hyperledger/acy_py/generated/model/JWSVerifyResponse.java
@@ -0,0 +1,41 @@
+/*
+ * aca-py client
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v0.7.3
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package org.hyperledger.acy_py.generated.model;
+
+import com.google.gson.annotations.SerializedName;
+
+/**
+ * JWSVerifyResponse
+ */
+
+@lombok.Data
+@lombok.AllArgsConstructor
+@lombok.NoArgsConstructor
+@lombok.Builder
+public class JWSVerifyResponse {
+ public static final String SERIALIZED_NAME_ERROR = "error";
+ @SerializedName(SERIALIZED_NAME_ERROR)
+ private String error;
+ public static final String SERIALIZED_NAME_HEADERS = "headers";
+ @SerializedName(SERIALIZED_NAME_HEADERS)
+ private Object headers;
+ public static final String SERIALIZED_NAME_KID = "kid";
+ @SerializedName(SERIALIZED_NAME_KID)
+ private String kid;
+ public static final String SERIALIZED_NAME_PAYLOAD = "payload";
+ @SerializedName(SERIALIZED_NAME_PAYLOAD)
+ private Object payload;
+ public static final String SERIALIZED_NAME_VALID = "valid";
+ @SerializedName(SERIALIZED_NAME_VALID)
+ private Boolean valid;
+}
diff --git a/src/main/java/org/hyperledger/acy_py/generated/model/ProfileSettings.java b/src/main/java/org/hyperledger/acy_py/generated/model/ProfileSettings.java
new file mode 100644
index 00000000..0efb637b
--- /dev/null
+++ b/src/main/java/org/hyperledger/acy_py/generated/model/ProfileSettings.java
@@ -0,0 +1,29 @@
+/*
+ * aca-py client
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v0.7.3
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package org.hyperledger.acy_py.generated.model;
+
+import com.google.gson.annotations.SerializedName;
+
+/**
+ * ProfileSettings
+ */
+
+@lombok.Data
+@lombok.AllArgsConstructor
+@lombok.NoArgsConstructor
+@lombok.Builder
+public class ProfileSettings {
+ public static final String SERIALIZED_NAME_SETTINGS = "settings";
+ @SerializedName(SERIALIZED_NAME_SETTINGS)
+ private Object settings;
+}
diff --git a/src/main/java/org/hyperledger/acy_py/generated/model/UpdateProfileSettings.java b/src/main/java/org/hyperledger/acy_py/generated/model/UpdateProfileSettings.java
new file mode 100644
index 00000000..f2e0622f
--- /dev/null
+++ b/src/main/java/org/hyperledger/acy_py/generated/model/UpdateProfileSettings.java
@@ -0,0 +1,29 @@
+/*
+ * aca-py client
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v0.7.3
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package org.hyperledger.acy_py.generated.model;
+
+import com.google.gson.annotations.SerializedName;
+
+/**
+ * UpdateProfileSettings
+ */
+
+@lombok.Data
+@lombok.AllArgsConstructor
+@lombok.NoArgsConstructor
+@lombok.Builder
+public class UpdateProfileSettings {
+ public static final String SERIALIZED_NAME_EXTRA_SETTINGS = "extra_settings";
+ @SerializedName(SERIALIZED_NAME_EXTRA_SETTINGS)
+ private Object extraSettings;
+}
diff --git a/src/main/java/org/hyperledger/acy_py/generated/model/UpdateWalletRequest.java b/src/main/java/org/hyperledger/acy_py/generated/model/UpdateWalletRequest.java
index c58e5b83..ed61c0f6 100644
--- a/src/main/java/org/hyperledger/acy_py/generated/model/UpdateWalletRequest.java
+++ b/src/main/java/org/hyperledger/acy_py/generated/model/UpdateWalletRequest.java
@@ -30,6 +30,9 @@
@lombok.NoArgsConstructor
@lombok.Builder
public class UpdateWalletRequest {
+ public static final String SERIALIZED_NAME_EXTRA_SETTINGS = "extra_settings";
+ @SerializedName(SERIALIZED_NAME_EXTRA_SETTINGS)
+ private Object extraSettings;
public static final String SERIALIZED_NAME_IMAGE_URL = "image_url";
@SerializedName(SERIALIZED_NAME_IMAGE_URL)
private String imageUrl;
diff --git a/src/main/java/org/hyperledger/acy_py/generated/model/V10CredentialExchangeAutoRemoveRequest.java b/src/main/java/org/hyperledger/acy_py/generated/model/V10CredentialExchangeAutoRemoveRequest.java
new file mode 100644
index 00000000..e62a1fd6
--- /dev/null
+++ b/src/main/java/org/hyperledger/acy_py/generated/model/V10CredentialExchangeAutoRemoveRequest.java
@@ -0,0 +1,29 @@
+/*
+ * aca-py client
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v0.7.3
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package org.hyperledger.acy_py.generated.model;
+
+import com.google.gson.annotations.SerializedName;
+
+/**
+ * V10CredentialExchangeAutoRemoveRequest
+ */
+
+@lombok.Data
+@lombok.AllArgsConstructor
+@lombok.NoArgsConstructor
+@lombok.Builder
+public class V10CredentialExchangeAutoRemoveRequest {
+ public static final String SERIALIZED_NAME_AUTO_REMOVE = "auto_remove";
+ @SerializedName(SERIALIZED_NAME_AUTO_REMOVE)
+ private Boolean autoRemove;
+}
diff --git a/src/main/java/org/hyperledger/acy_py/generated/model/V10PresentationCreateRequestRequest.java b/src/main/java/org/hyperledger/acy_py/generated/model/V10PresentationCreateRequestRequest.java
index 0d0163b7..a87ecbf3 100644
--- a/src/main/java/org/hyperledger/acy_py/generated/model/V10PresentationCreateRequestRequest.java
+++ b/src/main/java/org/hyperledger/acy_py/generated/model/V10PresentationCreateRequestRequest.java
@@ -23,6 +23,9 @@
@lombok.NoArgsConstructor
@lombok.Builder
public class V10PresentationCreateRequestRequest {
+ public static final String SERIALIZED_NAME_AUTO_REMOVE = "auto_remove";
+ @SerializedName(SERIALIZED_NAME_AUTO_REMOVE)
+ private Boolean autoRemove;
public static final String SERIALIZED_NAME_AUTO_VERIFY = "auto_verify";
@SerializedName(SERIALIZED_NAME_AUTO_VERIFY)
private Boolean autoVerify;
diff --git a/src/main/java/org/hyperledger/acy_py/generated/model/V10PresentationExchange.java b/src/main/java/org/hyperledger/acy_py/generated/model/V10PresentationExchange.java
index 9570d00c..50a94a81 100644
--- a/src/main/java/org/hyperledger/acy_py/generated/model/V10PresentationExchange.java
+++ b/src/main/java/org/hyperledger/acy_py/generated/model/V10PresentationExchange.java
@@ -33,6 +33,9 @@ public class V10PresentationExchange {
public static final String SERIALIZED_NAME_AUTO_PRESENT = "auto_present";
@SerializedName(SERIALIZED_NAME_AUTO_PRESENT)
private Boolean autoPresent;
+ public static final String SERIALIZED_NAME_AUTO_REMOVE = "auto_remove";
+ @SerializedName(SERIALIZED_NAME_AUTO_REMOVE)
+ private Boolean autoRemove;
public static final String SERIALIZED_NAME_AUTO_VERIFY = "auto_verify";
@SerializedName(SERIALIZED_NAME_AUTO_VERIFY)
private Boolean autoVerify;
diff --git a/src/main/java/org/hyperledger/acy_py/generated/model/V10PresentationProposalRequest.java b/src/main/java/org/hyperledger/acy_py/generated/model/V10PresentationProposalRequest.java
index d17afdf8..bc159107 100644
--- a/src/main/java/org/hyperledger/acy_py/generated/model/V10PresentationProposalRequest.java
+++ b/src/main/java/org/hyperledger/acy_py/generated/model/V10PresentationProposalRequest.java
@@ -28,6 +28,9 @@ public class V10PresentationProposalRequest {
public static final String SERIALIZED_NAME_AUTO_PRESENT = "auto_present";
@SerializedName(SERIALIZED_NAME_AUTO_PRESENT)
private Boolean autoPresent;
+ public static final String SERIALIZED_NAME_AUTO_REMOVE = "auto_remove";
+ @SerializedName(SERIALIZED_NAME_AUTO_REMOVE)
+ private Boolean autoRemove;
public static final String SERIALIZED_NAME_COMMENT = "comment";
@SerializedName(SERIALIZED_NAME_COMMENT)
private String comment;
diff --git a/src/main/java/org/hyperledger/acy_py/generated/model/V10PresentationSendRequest.java b/src/main/java/org/hyperledger/acy_py/generated/model/V10PresentationSendRequest.java
new file mode 100644
index 00000000..a6ee55c6
--- /dev/null
+++ b/src/main/java/org/hyperledger/acy_py/generated/model/V10PresentationSendRequest.java
@@ -0,0 +1,44 @@
+/*
+ * aca-py client
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
+ *
+ * The version of the OpenAPI document: v0.7.3
+ *
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+package org.hyperledger.acy_py.generated.model;
+
+import com.google.gson.annotations.SerializedName;
+
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * V10PresentationSendRequest
+ */
+
+@lombok.Data
+@lombok.AllArgsConstructor
+@lombok.NoArgsConstructor
+@lombok.Builder
+public class V10PresentationSendRequest {
+ public static final String SERIALIZED_NAME_AUTO_REMOVE = "auto_remove";
+ @SerializedName(SERIALIZED_NAME_AUTO_REMOVE)
+ private Boolean autoRemove;
+ public static final String SERIALIZED_NAME_REQUESTED_ATTRIBUTES = "requested_attributes";
+ @SerializedName(SERIALIZED_NAME_REQUESTED_ATTRIBUTES)
+ private Map requestedAttributes = new HashMap<>();
+ public static final String SERIALIZED_NAME_REQUESTED_PREDICATES = "requested_predicates";
+ @SerializedName(SERIALIZED_NAME_REQUESTED_PREDICATES)
+ private Map requestedPredicates = new HashMap<>();
+ public static final String SERIALIZED_NAME_SELF_ATTESTED_ATTRIBUTES = "self_attested_attributes";
+ @SerializedName(SERIALIZED_NAME_SELF_ATTESTED_ATTRIBUTES)
+ private Map selfAttestedAttributes = new HashMap<>();
+ public static final String SERIALIZED_NAME_TRACE = "trace";
+ @SerializedName(SERIALIZED_NAME_TRACE)
+ private Boolean trace;
+}
diff --git a/src/main/java/org/hyperledger/acy_py/generated/model/V10PresentationSendRequestRequest.java b/src/main/java/org/hyperledger/acy_py/generated/model/V10PresentationSendRequestRequest.java
index b2aaf60d..a271e372 100644
--- a/src/main/java/org/hyperledger/acy_py/generated/model/V10PresentationSendRequestRequest.java
+++ b/src/main/java/org/hyperledger/acy_py/generated/model/V10PresentationSendRequestRequest.java
@@ -25,6 +25,9 @@
@lombok.NoArgsConstructor
@lombok.Builder
public class V10PresentationSendRequestRequest {
+ public static final String SERIALIZED_NAME_AUTO_REMOVE = "auto_remove";
+ @SerializedName(SERIALIZED_NAME_AUTO_REMOVE)
+ private Boolean autoRemove;
public static final String SERIALIZED_NAME_AUTO_VERIFY = "auto_verify";
@SerializedName(SERIALIZED_NAME_AUTO_VERIFY)
private Boolean autoVerify;
diff --git a/src/main/java/org/hyperledger/acy_py/generated/model/V10PresentationSendRequestToProposal.java b/src/main/java/org/hyperledger/acy_py/generated/model/V10PresentationSendRequestToProposal.java
index ba79e69a..1e026d0b 100644
--- a/src/main/java/org/hyperledger/acy_py/generated/model/V10PresentationSendRequestToProposal.java
+++ b/src/main/java/org/hyperledger/acy_py/generated/model/V10PresentationSendRequestToProposal.java
@@ -23,6 +23,9 @@
@lombok.NoArgsConstructor
@lombok.Builder
public class V10PresentationSendRequestToProposal {
+ public static final String SERIALIZED_NAME_AUTO_REMOVE = "auto_remove";
+ @SerializedName(SERIALIZED_NAME_AUTO_REMOVE)
+ private Boolean autoRemove;
public static final String SERIALIZED_NAME_AUTO_VERIFY = "auto_verify";
@SerializedName(SERIALIZED_NAME_AUTO_VERIFY)
private Boolean autoVerify;
diff --git a/src/main/java/org/hyperledger/acy_py/generated/model/V20CredExFree.java b/src/main/java/org/hyperledger/acy_py/generated/model/V20CredExFree.java
index 5d0bb17b..fcd455ed 100644
--- a/src/main/java/org/hyperledger/acy_py/generated/model/V20CredExFree.java
+++ b/src/main/java/org/hyperledger/acy_py/generated/model/V20CredExFree.java
@@ -40,6 +40,9 @@ public class V20CredExFree {
public static final String SERIALIZED_NAME_FILTER = "filter";
@SerializedName(SERIALIZED_NAME_FILTER)
private V20CredFilter filter;
+ public static final String SERIALIZED_NAME_REPLACEMENT_ID = "replacement_id";
+ @SerializedName(SERIALIZED_NAME_REPLACEMENT_ID)
+ private String replacementId;
public static final String SERIALIZED_NAME_TRACE = "trace";
@SerializedName(SERIALIZED_NAME_TRACE)
private Boolean trace;
diff --git a/src/main/java/org/hyperledger/acy_py/generated/model/V20CredOfferConnFreeRequest.java b/src/main/java/org/hyperledger/acy_py/generated/model/V20CredOfferConnFreeRequest.java
index 01c69255..0ea91c78 100644
--- a/src/main/java/org/hyperledger/acy_py/generated/model/V20CredOfferConnFreeRequest.java
+++ b/src/main/java/org/hyperledger/acy_py/generated/model/V20CredOfferConnFreeRequest.java
@@ -38,6 +38,9 @@ public class V20CredOfferConnFreeRequest {
public static final String SERIALIZED_NAME_FILTER = "filter";
@SerializedName(SERIALIZED_NAME_FILTER)
private V20CredFilter filter;
+ public static final String SERIALIZED_NAME_REPLACEMENT_ID = "replacement_id";
+ @SerializedName(SERIALIZED_NAME_REPLACEMENT_ID)
+ private String replacementId;
public static final String SERIALIZED_NAME_TRACE = "trace";
@SerializedName(SERIALIZED_NAME_TRACE)
private Boolean trace;
diff --git a/src/main/java/org/hyperledger/acy_py/generated/model/V20CredOfferRequest.java b/src/main/java/org/hyperledger/acy_py/generated/model/V20CredOfferRequest.java
index 7bdb6501..bc897050 100644
--- a/src/main/java/org/hyperledger/acy_py/generated/model/V20CredOfferRequest.java
+++ b/src/main/java/org/hyperledger/acy_py/generated/model/V20CredOfferRequest.java
@@ -43,6 +43,9 @@ public class V20CredOfferRequest {
public static final String SERIALIZED_NAME_FILTER = "filter";
@SerializedName(SERIALIZED_NAME_FILTER)
private V20CredFilter filter;
+ public static final String SERIALIZED_NAME_REPLACEMENT_ID = "replacement_id";
+ @SerializedName(SERIALIZED_NAME_REPLACEMENT_ID)
+ private String replacementId;
public static final String SERIALIZED_NAME_TRACE = "trace";
@SerializedName(SERIALIZED_NAME_TRACE)
private Boolean trace;
diff --git a/src/main/java/org/hyperledger/acy_py/generated/model/V20CredRequestRequest.java b/src/main/java/org/hyperledger/acy_py/generated/model/V20CredRequestRequest.java
index a39765a4..a779bf0e 100644
--- a/src/main/java/org/hyperledger/acy_py/generated/model/V20CredRequestRequest.java
+++ b/src/main/java/org/hyperledger/acy_py/generated/model/V20CredRequestRequest.java
@@ -23,6 +23,9 @@
@lombok.NoArgsConstructor
@lombok.Builder
public class V20CredRequestRequest {
+ public static final String SERIALIZED_NAME_AUTO_REMOVE = "auto_remove";
+ @SerializedName(SERIALIZED_NAME_AUTO_REMOVE)
+ private Boolean autoRemove;
public static final String SERIALIZED_NAME_HOLDER_DID = "holder_did";
@SerializedName(SERIALIZED_NAME_HOLDER_DID)
private String holderDid;
diff --git a/src/main/java/org/hyperledger/acy_py/generated/model/V20IssueCredSchemaCore.java b/src/main/java/org/hyperledger/acy_py/generated/model/V20IssueCredSchemaCore.java
index f9baf30c..675acf85 100644
--- a/src/main/java/org/hyperledger/acy_py/generated/model/V20IssueCredSchemaCore.java
+++ b/src/main/java/org/hyperledger/acy_py/generated/model/V20IssueCredSchemaCore.java
@@ -35,6 +35,9 @@ public class V20IssueCredSchemaCore {
public static final String SERIALIZED_NAME_FILTER = "filter";
@SerializedName(SERIALIZED_NAME_FILTER)
private V20CredFilter filter;
+ public static final String SERIALIZED_NAME_REPLACEMENT_ID = "replacement_id";
+ @SerializedName(SERIALIZED_NAME_REPLACEMENT_ID)
+ private String replacementId;
public static final String SERIALIZED_NAME_TRACE = "trace";
@SerializedName(SERIALIZED_NAME_TRACE)
private Boolean trace;
diff --git a/src/main/java/org/hyperledger/acy_py/generated/model/V20PresCreateRequestRequest.java b/src/main/java/org/hyperledger/acy_py/generated/model/V20PresCreateRequestRequest.java
index bb60348d..94987bec 100644
--- a/src/main/java/org/hyperledger/acy_py/generated/model/V20PresCreateRequestRequest.java
+++ b/src/main/java/org/hyperledger/acy_py/generated/model/V20PresCreateRequestRequest.java
@@ -23,6 +23,9 @@
@lombok.NoArgsConstructor
@lombok.Builder
public class V20PresCreateRequestRequest {
+ public static final String SERIALIZED_NAME_AUTO_REMOVE = "auto_remove";
+ @SerializedName(SERIALIZED_NAME_AUTO_REMOVE)
+ private Boolean autoRemove;
public static final String SERIALIZED_NAME_AUTO_VERIFY = "auto_verify";
@SerializedName(SERIALIZED_NAME_AUTO_VERIFY)
private Boolean autoVerify;
diff --git a/src/main/java/org/hyperledger/acy_py/generated/model/V20PresExRecord.java b/src/main/java/org/hyperledger/acy_py/generated/model/V20PresExRecord.java
index 163b7dbc..a27ea416 100644
--- a/src/main/java/org/hyperledger/acy_py/generated/model/V20PresExRecord.java
+++ b/src/main/java/org/hyperledger/acy_py/generated/model/V20PresExRecord.java
@@ -33,6 +33,9 @@ public class V20PresExRecord {
public static final String SERIALIZED_NAME_AUTO_PRESENT = "auto_present";
@SerializedName(SERIALIZED_NAME_AUTO_PRESENT)
private Boolean autoPresent;
+ public static final String SERIALIZED_NAME_AUTO_REMOVE = "auto_remove";
+ @SerializedName(SERIALIZED_NAME_AUTO_REMOVE)
+ private Boolean autoRemove;
public static final String SERIALIZED_NAME_AUTO_VERIFY = "auto_verify";
@SerializedName(SERIALIZED_NAME_AUTO_VERIFY)
private Boolean autoVerify;
diff --git a/src/main/java/org/hyperledger/acy_py/generated/model/V20PresProposalRequest.java b/src/main/java/org/hyperledger/acy_py/generated/model/V20PresProposalRequest.java
index e3f48162..6410d09a 100644
--- a/src/main/java/org/hyperledger/acy_py/generated/model/V20PresProposalRequest.java
+++ b/src/main/java/org/hyperledger/acy_py/generated/model/V20PresProposalRequest.java
@@ -28,6 +28,9 @@ public class V20PresProposalRequest {
public static final String SERIALIZED_NAME_AUTO_PRESENT = "auto_present";
@SerializedName(SERIALIZED_NAME_AUTO_PRESENT)
private Boolean autoPresent;
+ public static final String SERIALIZED_NAME_AUTO_REMOVE = "auto_remove";
+ @SerializedName(SERIALIZED_NAME_AUTO_REMOVE)
+ private Boolean autoRemove;
public static final String SERIALIZED_NAME_COMMENT = "comment";
@SerializedName(SERIALIZED_NAME_COMMENT)
private String comment;
diff --git a/src/main/java/org/hyperledger/acy_py/generated/model/V20PresSendRequestRequest.java b/src/main/java/org/hyperledger/acy_py/generated/model/V20PresSendRequestRequest.java
index 0e2b3629..959ea98e 100644
--- a/src/main/java/org/hyperledger/acy_py/generated/model/V20PresSendRequestRequest.java
+++ b/src/main/java/org/hyperledger/acy_py/generated/model/V20PresSendRequestRequest.java
@@ -25,6 +25,9 @@
@lombok.NoArgsConstructor
@lombok.Builder
public class V20PresSendRequestRequest {
+ public static final String SERIALIZED_NAME_AUTO_REMOVE = "auto_remove";
+ @SerializedName(SERIALIZED_NAME_AUTO_REMOVE)
+ private Boolean autoRemove;
public static final String SERIALIZED_NAME_AUTO_VERIFY = "auto_verify";
@SerializedName(SERIALIZED_NAME_AUTO_VERIFY)
private Boolean autoVerify;
diff --git a/src/main/java/org/hyperledger/acy_py/generated/model/V20PresSpecByFormatRequest.java b/src/main/java/org/hyperledger/acy_py/generated/model/V20PresSpecByFormatRequest.java
index 1177c065..f6e5a88f 100644
--- a/src/main/java/org/hyperledger/acy_py/generated/model/V20PresSpecByFormatRequest.java
+++ b/src/main/java/org/hyperledger/acy_py/generated/model/V20PresSpecByFormatRequest.java
@@ -23,6 +23,9 @@
@lombok.NoArgsConstructor
@lombok.Builder
public class V20PresSpecByFormatRequest {
+ public static final String SERIALIZED_NAME_AUTO_REMOVE = "auto_remove";
+ @SerializedName(SERIALIZED_NAME_AUTO_REMOVE)
+ private Boolean autoRemove;
public static final String SERIALIZED_NAME_DIF = "dif";
@SerializedName(SERIALIZED_NAME_DIF)
private DIFPresSpec dif;
diff --git a/src/main/java/org/hyperledger/acy_py/generated/model/V20PresentationSendRequestToProposal.java b/src/main/java/org/hyperledger/acy_py/generated/model/V20PresentationSendRequestToProposal.java
index 4d9535e3..5decb884 100644
--- a/src/main/java/org/hyperledger/acy_py/generated/model/V20PresentationSendRequestToProposal.java
+++ b/src/main/java/org/hyperledger/acy_py/generated/model/V20PresentationSendRequestToProposal.java
@@ -23,6 +23,9 @@
@lombok.NoArgsConstructor
@lombok.Builder
public class V20PresentationSendRequestToProposal {
+ public static final String SERIALIZED_NAME_AUTO_REMOVE = "auto_remove";
+ @SerializedName(SERIALIZED_NAME_AUTO_REMOVE)
+ private Boolean autoRemove;
public static final String SERIALIZED_NAME_AUTO_VERIFY = "auto_verify";
@SerializedName(SERIALIZED_NAME_AUTO_VERIFY)
private Boolean autoVerify;
diff --git a/src/main/java/org/hyperledger/acy_py/generated/model/WriteLedgerRequest.java b/src/main/java/org/hyperledger/acy_py/generated/model/WriteLedger.java
similarity index 92%
rename from src/main/java/org/hyperledger/acy_py/generated/model/WriteLedgerRequest.java
rename to src/main/java/org/hyperledger/acy_py/generated/model/WriteLedger.java
index 59d479fe..3b64b938 100644
--- a/src/main/java/org/hyperledger/acy_py/generated/model/WriteLedgerRequest.java
+++ b/src/main/java/org/hyperledger/acy_py/generated/model/WriteLedger.java
@@ -15,14 +15,14 @@
import com.google.gson.annotations.SerializedName;
/**
- * WriteLedgerRequest
+ * WriteLedger
*/
@lombok.Data
@lombok.AllArgsConstructor
@lombok.NoArgsConstructor
@lombok.Builder
-public class WriteLedgerRequest {
+public class WriteLedger {
public static final String SERIALIZED_NAME_LEDGER_ID = "ledger_id";
@SerializedName(SERIALIZED_NAME_LEDGER_ID)
private String ledgerId;
diff --git a/src/main/java/org/hyperledger/aries/AriesClient.java b/src/main/java/org/hyperledger/aries/AriesClient.java
index 7eaa1426..85965cb0 100644
--- a/src/main/java/org/hyperledger/aries/AriesClient.java
+++ b/src/main/java/org/hyperledger/aries/AriesClient.java
@@ -88,6 +88,7 @@
import org.hyperledger.aries.api.server.AdminStatusLiveliness;
import org.hyperledger.aries.api.server.AdminStatusReadiness;
import org.hyperledger.aries.api.server.StatusConfig;
+import org.hyperledger.aries.api.settings.UpdateProfileSettings;
import org.hyperledger.aries.api.trustping.PingRequest;
import org.hyperledger.aries.api.trustping.PingResponse;
import org.hyperledger.aries.api.wallet.AssignPublicDidFilter;
@@ -751,6 +752,22 @@ public Optional didExchangeAcceptRequest(@NonNull String conne
return call(req, ConnectionRecord.class);
}
+ /**
+ * Abandon or reject a DID Exchange
+ * @since aca-py 0.10.4
+ * @param connectionId the connection id
+ * @param rejectRequest {@link DIDXRejectRequest}
+ * @return {@link ConnectionRecord}
+ * @throws IOException if the request could not be executed due to cancellation, a connectivity problem or timeout.
+ */
+ public Optional didExchangeReject(@NonNull String connectionId,
+ @NonNull DIDXRejectRequest rejectRequest) throws IOException {
+ HttpUrl.Builder b = Objects.requireNonNull(
+ HttpUrl.parse(url + "/didexchange/" + connectionId + "/reject")).newBuilder();
+ Request req = buildPost(b.toString(), rejectRequest);
+ return call(req, ConnectionRecord.class);
+ }
+
// ----------------------------------------------------
// Discover Features V1 - Feature discovery v1
// ----------------------------------------------------
@@ -1118,13 +1135,15 @@ public Optional issueCredentialRecordsSendOffer(
/**
* Send issuer a credential request
* @param credentialExchangeId credential exchange identifier
+ * @param request {@link V10CredentialExchangeAutoRemoveRequest}
* @return {@link V1CredentialExchange}
* @throws IOException if the request could not be executed due to cancellation, a connectivity problem or timeout.
*/
public Optional issueCredentialRecordsSendRequest(
- @NonNull String credentialExchangeId) throws IOException {
+ @NonNull String credentialExchangeId, @Nullable V10CredentialExchangeAutoRemoveRequest request)
+ throws IOException {
Request req = buildPost(url + "/issue-credential/records/" + credentialExchangeId + "/send-request",
- EMPTY_JSON);
+ request != null ? request : EMPTY_JSON);
return call(req, V1CredentialExchange.class);
}
@@ -1442,6 +1461,18 @@ public Optional jsonldVerify(@NonNull String verkey, @NonNull Ob
// Ledger
// ----------------------------------------------------
+ /**
+ * Fetch the multiple ledger configurations currently in use
+ * @since aca-py 0.10.4
+ * @return {@link LedgerConfigList}
+ * @throws IOException if the request could not be executed due to cancellation, a connectivity problem or timeout.
+ */
+ public Optional ledgerConfig() throws IOException{
+ HttpUrl.Builder b = Objects.requireNonNull(HttpUrl.parse(url + "/ledger/config")).newBuilder();
+ Request req = buildGet(b.build().toString());
+ return call(req, LedgerConfigList.class);
+ }
+
/**
* Get the endpoint for a DID from the ledger.
* @param did the DID of interest
@@ -1487,25 +1518,25 @@ public Optional ledgerGetNymRole(@NonNull String did) throws
}
/**
- * Fetch the multiple ledger configuration currently in use
- * @return {@link LedgerConfig}
+ * Fetch the current write ledger
+ * @return {@link WriteLedger}
* @throws IOException if the request could not be executed due to cancellation, a connectivity problem or timeout.
- * @since 0.7.3
+ * @since 0.10.4
*/
- public Optional ledgerMultipleConfig() throws IOException {
- Request req = buildGet(url + "/ledger/multiple/config");
- return call(req, LedgerConfig.class);
+ public Optional ledgerGetWriteLedger() throws IOException {
+ Request req = buildGet(url + "/ledger/get-write-ledger");
+ return call(req, WriteLedger.class);
}
/**
- * Fetch the current write ledger
- * @return {@link WriteLedgerRequest}
+ * Fetch list of available write ledgers
+ * @return {@link ConfigurableWriteLedgers}
* @throws IOException if the request could not be executed due to cancellation, a connectivity problem or timeout.
- * @since 0.7.3
+ * @since 0.10.4
*/
- public Optional ledgerMultipleGetWriteLedger() throws IOException {
- Request req = buildGet(url + "/ledger/multiple/get-write-ledger");
- return call(req, WriteLedgerRequest.class);
+ public Optional ledgerGetWriteLedgers() throws IOException {
+ Request req = buildGet(url + "/ledger/get-write-ledgers");
+ return call(req, ConfigurableWriteLedgers.class);
}
/**
@@ -1554,6 +1585,17 @@ public void ledgerTaaAccept(@NonNull TAAAccept taaAccept) throws IOException {
call(req);
}
+ /**
+ * Set write ledger
+ * @param ledgerId the ledger id
+ * @return {@link WriteLedger}
+ * @throws IOException if the request could not be executed due to cancellation, a connectivity problem or timeout.
+ */
+ public Optional ledgerSetWriteLedger(@NonNull String ledgerId) throws IOException {
+ Request req = buildPut(url + "/ledger/" + ledgerId + "/set-write-ledger", EMPTY_JSON);
+ return call(req, WriteLedger.class);
+ }
+
// ----------------------------------------------------
// Mediation - Mediation management
// ----------------------------------------------------
@@ -2267,6 +2309,19 @@ public Optional revocationActiveRegistry(@NonNull String cre
return getWrapped(raw(req), "result", IssuerRevRegRecord.class);
}
+ /**
+ * Rotate revocation registry
+ * @since aca-py 0.10.4
+ * @param credentialDefinitionId the credential definition id
+ * @return {@link RevRegsCreated}
+ * @throws IOException if the request could not be executed due to cancellation, a connectivity problem or timeout.
+ */
+ public Optional revocationActiveRegistryRotate(@NonNull String credentialDefinitionId)
+ throws IOException {
+ Request req = buildPost(url + "/revocation/active-registry/" + credentialDefinitionId + "/rotate", EMPTY_JSON);
+ return call(req, RevRegsCreated.class);
+ }
+
/**
* Clear pending revocations
* @param request {@link ClearPendingRevocationsRequest} Credential revocation ids by revocation registry id:
@@ -2597,6 +2652,33 @@ public Optional schemasWriteRecord(@NonNull String schemaId) throws IOEx
return getWrapped(raw(req), "schema", Schema.class);
}
+ // ----------------------------------------------------
+ // Settings
+ // ----------------------------------------------------
+
+ /**
+ * Update configurable settings associated with the profile
+ * @since aca-py 0.10.4
+ * @param settings {@link UpdateProfileSettings}
+ * @return map with the settings
+ * @throws IOException if the request could not be executed due to cancellation, a connectivity problem or timeout.
+ */
+ public Optional