From b54d102c5db6fdcd1601f252083ec4a5ba2c6683 Mon Sep 17 00:00:00 2001 From: appscisumup Date: Wed, 11 Feb 2026 14:21:30 +0000 Subject: [PATCH 1/2] chore: synced local 'openapi.json' with remote 'specs/openapi.json' --- openapi.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/openapi.json b/openapi.json index 6b693ad..a8c91c5 100755 --- a/openapi.json +++ b/openapi.json @@ -9936,6 +9936,12 @@ "metadata": { "$ref": "#/components/schemas/Metadata" }, + "service_account_id": { + "description": "Identifier of the system-managed service account associated with this reader.\nPresent only for readers that are already paired.\nThis field is currently in beta and may change.", + "type": "string", + "format": "uuid", + "x-beta": true + }, "created_at": { "description": "The timestamp of when the reader was created.", "type": "string", From f42211e9272215013cee5aea8f2c98da1f210a17 Mon Sep 17 00:00:00 2001 From: "sumup-bot[bot]" <241716704+sumup-bot[bot]@users.noreply.github.com> Date: Wed, 11 Feb 2026 14:23:18 +0000 Subject: [PATCH 2/2] chore: generate code --- .../java/com/sumup/sdk/models/Reader.java | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/main/java/com/sumup/sdk/models/Reader.java b/src/main/java/com/sumup/sdk/models/Reader.java index a6f90d6..8c11639 100644 --- a/src/main/java/com/sumup/sdk/models/Reader.java +++ b/src/main/java/com/sumup/sdk/models/Reader.java @@ -29,6 +29,12 @@ public record Reader( /** Custom human-readable, user-defined name for easier identification of the reader. */ com.sumup.sdk.models.ReaderName name, + /** + * Identifier of the system-managed service account associated with this reader. Present only + * for readers that are already paired. This field is currently in beta and may change. + */ + java.util.UUID serviceAccountId, + /** * The status of the reader object gives information about the current state of the reader. * Possible values: - `unknown` - The reader status is unknown. - `processing` - The reader is @@ -56,6 +62,7 @@ public static final class Builder { private com.sumup.sdk.models.ReaderId id; private com.sumup.sdk.models.Metadata metadata; private com.sumup.sdk.models.ReaderName name; + private java.util.UUID serviceAccountId; private com.sumup.sdk.models.ReaderStatus status; private java.time.OffsetDateTime updatedAt; @@ -121,6 +128,19 @@ public Builder name(com.sumup.sdk.models.ReaderName name) { return this; } + /** + * Sets the value for {@code serviceAccountId}. + * + * @param serviceAccountId Identifier of the system-managed service account associated with this + * reader. Present only for readers that are already paired. This field is currently in beta + * and may change. + * @return This builder instance. + */ + public Builder serviceAccountId(java.util.UUID serviceAccountId) { + this.serviceAccountId = serviceAccountId; + return this; + } + /** * Sets the value for {@code status}. * @@ -160,6 +180,7 @@ public Reader build() { Objects.requireNonNull(id, "id"), metadata, Objects.requireNonNull(name, "name"), + serviceAccountId, Objects.requireNonNull(status, "status"), Objects.requireNonNull(updatedAt, "updatedAt")); }