From b4e1a8b8b890b868531d2558d36b042e621a0784 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 17 Sep 2026 07:28:19 +0000 Subject: [PATCH 1/2] ## Java SDK Changes: * `gr4vy.transactions.captures.list()`: `response.items[].tracking` **Added** * `gr4vy.transactions.captures.get()`: `response.tracking` **Added** --- .speakeasy/gen.lock | 33 +++++---- .speakeasy/gen.yaml | 2 +- .speakeasy/workflow.lock | 10 +-- README.md | 4 +- RELEASES.md | 12 ++- docs/models/components/Capture.md | 3 +- gradle.properties | 2 +- .../java/com/gr4vy/sdk/SDKConfiguration.java | 2 +- .../gr4vy/sdk/models/components/Capture.java | 74 +++++++++++++++++-- 9 files changed, 109 insertions(+), 33 deletions(-) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 5c0f24d5..36045089 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,19 +1,19 @@ lockVersion: 2.0.0 id: 5bbaa3a9-baa0-471b-ba6a-13fd88e8c119 management: - docChecksum: faccc22c75487a5bdf67f315e8b660ea + docChecksum: cac1ae0ead466991be937c1264350879 docVersion: 1.0.0 speakeasyVersion: 1.797.0 generationVersion: 2.937.18 - releaseVersion: 2.19.11 - configChecksum: a77c4b5166e5f6b9905ccb0f0b683574 + releaseVersion: 2.19.12 + configChecksum: 964d3bef9ed6c8b935c9674f80383b42 repoURL: https://github.com/gr4vy/gr4vy-java.git installationURL: https://github.com/gr4vy/gr4vy-java published: true persistentEdits: - generation_id: 2f3ef9b9-087b-4843-9ef4-c5c5d65e2e3f - pristine_commit_hash: 48f2424418e67e3d9d89862c5b3623a039e52b16 - pristine_tree_hash: 2ea367cc556e0bf927814a8453294b9af1f08908 + generation_id: a9318e13-2869-4e07-b999-2b1ff90f9b29 + pristine_commit_hash: 58e4779cfe3a9aba72da99ecf625f55fc471d150 + pristine_tree_hash: b76433148ebc231b6bd5b298470225ffdfaaeac3 features: java: additionalDependencies: 0.1.0 @@ -267,8 +267,8 @@ trackedFiles: pristine_git_object: f9797b3e6baa52543493c4d011bf577d1fb7d86d docs/models/components/Capture.md: id: 607298de4f0e - last_write_checksum: sha1:e002636ad0f27e5d2010c3c724e42daa5709d4bc - pristine_git_object: 22f44727cad560e8bb82837faf4bb948ca00bcb5 + last_write_checksum: sha1:ae4e68f102ab6d3bfb235449f734bbb682c59125 + pristine_git_object: 61dcb4ba38a912b29013e63975b3b6081bd1122a docs/models/components/CaptureCollection.md: id: 0e6b11d5d258 last_write_checksum: sha1:ac8fe522afd039686a3eb4daaa8b9b7791c32262 @@ -2879,8 +2879,8 @@ trackedFiles: pristine_git_object: 15c4e4642f204ccb312d8814155b69e153b4e19b gradle.properties: id: 2afbb999f001 - last_write_checksum: sha1:e369d6cac5ddc2315aeb624ce6e2a841aea84d30 - pristine_git_object: fee1f53098c8ee360641e7071bca92da7b92828f + last_write_checksum: sha1:dbb7dd5ac06ad888cff9594b22c594af2b591fda + pristine_git_object: 8df58812ace664ffcc997d63933ad483d18c51bd gradle/wrapper/gradle-wrapper.jar: id: ec27dae6e852 last_write_checksum: sha1:f725fb1467084142d74fd7cd8eab691ab3442611 @@ -3223,8 +3223,8 @@ trackedFiles: pristine_git_object: b50475cc7f6041d63c4569256e4ff1850b20d30b src/main/java/com/gr4vy/sdk/SDKConfiguration.java: id: 73a7edeaca45 - last_write_checksum: sha1:8ee00c9fdeb6ec63c04ca73943daf8d95390e4d5 - pristine_git_object: b613171ec22376301f98ee460ddee7ce79fc8a08 + last_write_checksum: sha1:85049db789d2762bfae8375ac810da1e219f9fb6 + pristine_git_object: fd03acd398f7e594e492436a6770d0941a4f87b2 src/main/java/com/gr4vy/sdk/SecuritySource.java: id: 1b6add6b9b50 last_write_checksum: sha1:2f365cc823c6243188e83f4df618c9737fcee8bd @@ -3475,8 +3475,8 @@ trackedFiles: pristine_git_object: 4d3f07af303853024b4b4439267e26baecc44a35 src/main/java/com/gr4vy/sdk/models/components/Capture.java: id: 28665079fbc1 - last_write_checksum: sha1:5897843299c1eaf8bc097bb012ede298f24b65c1 - pristine_git_object: 69852b619214bd39fa5ea7b8b9b963bab272b6d3 + last_write_checksum: sha1:a8c40850dc3593e7f7b871cb352c1700f15d2959 + pristine_git_object: 457cb2bddba02ab91da929eeb39bf28ce6857413 src/main/java/com/gr4vy/sdk/models/components/CaptureCollection.java: id: 73e38a3efafb last_write_checksum: sha1:943d2767f86c9a92a720f3021411f35bc14c94de @@ -12475,7 +12475,10 @@ examples: application/json: {"type": "error", "code": "gateway_timeout", "status": 504, "message": "Request could not be processed"} examplesVersion: 1.0.2 generatedTests: {} -releaseNotes: "## Java SDK Changes:\n* `gr4vy.transactions.create()`: \n * `request.transactionCreate.connectionOptions.repayBank` **Added**\n* `gr4vy.transactions.update()`: \n * `request.transactionUpdate.connectionOptions.repayBank` **Added**\n* `gr4vy.paymentLinks.create()`: \n * `request.paymentLinkCreate.connectionOptions.repayBank` **Added**\n" +releaseNotes: | + ## Java SDK Changes: + * `gr4vy.transactions.captures.list()`: `response.items[].tracking` **Added** + * `gr4vy.transactions.captures.get()`: `response.tracking` **Added** generatedFiles: - .gitattributes - USAGE.md diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index b591f7c1..da4e5a3b 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -30,7 +30,7 @@ generation: generateNewTests: false skipResponseBodyAssertions: false java: - version: 2.19.11 + version: 2.19.12 additionalDependencies: - testImplementation:org.junit.jupiter:junit-jupiter:5.10.0 - implementation:com.auth0:java-jwt:4.5.0 diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index d845fc75..a1d1f664 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -9,8 +9,8 @@ sources: - 1.0.0 openapi: sourceNamespace: openapi - sourceRevisionDigest: sha256:3871c735f3d1f840ee278273afb80a0ffc4040f073ccf2d980a402b526b05b61 - sourceBlobDigest: sha256:d4abe979a9983b9446045724f705b8df62683ceb35f3689ae0dd92e0e14bdda8 + sourceRevisionDigest: sha256:f8acfd072b3c95414006251c677227e3590b3b695fa9cac46261f7939701d420 + sourceBlobDigest: sha256:be22889d70beb201bfb36fcc722696bbbb4703fa080a252c87a1ad23ba01c85c tags: - latest - 1.0.0 @@ -25,10 +25,10 @@ targets: java: source: openapi sourceNamespace: openapi - sourceRevisionDigest: sha256:3871c735f3d1f840ee278273afb80a0ffc4040f073ccf2d980a402b526b05b61 - sourceBlobDigest: sha256:d4abe979a9983b9446045724f705b8df62683ceb35f3689ae0dd92e0e14bdda8 + sourceRevisionDigest: sha256:f8acfd072b3c95414006251c677227e3590b3b695fa9cac46261f7939701d420 + sourceBlobDigest: sha256:be22889d70beb201bfb36fcc722696bbbb4703fa080a252c87a1ad23ba01c85c codeSamplesNamespace: openapi-java-code-samples - codeSamplesRevisionDigest: sha256:4ae3a71a6e0f6f286c6d87cf7ada92831978a891c78ea8b7ffc5b37bfb74ea7e + codeSamplesRevisionDigest: sha256:09327b2c5aceeacbad7eea7604942440b7640e0f0a63a91b1f68cf9f541e7f90 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/README.md b/README.md index 0b0ae642..9b7b87ba 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ The samples below show how a published SDK artifact is used: Gradle: ```groovy -implementation 'com.gr4vy:sdk:2.19.11' +implementation 'com.gr4vy:sdk:2.19.12' ``` Maven: @@ -67,7 +67,7 @@ Maven: com.gr4vy sdk - 2.19.11 + 2.19.12 ``` diff --git a/RELEASES.md b/RELEASES.md index eaddc8fc..281a88b1 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -2278,4 +2278,14 @@ Based on: ### Generated - [java v2.19.11] . ### Releases -- [Maven Central v2.19.11] https://central.sonatype.com/artifact/com.gr4vy/sdk/2.19.11 - . \ No newline at end of file +- [Maven Central v2.19.11] https://central.sonatype.com/artifact/com.gr4vy/sdk/2.19.11 - . + +## 2026-09-17 07:26:58 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.797.0 (2.937.18) https://github.com/speakeasy-api/speakeasy +### Generated +- [java v2.19.12] . +### Releases +- [Maven Central v2.19.12] https://central.sonatype.com/artifact/com.gr4vy/sdk/2.19.12 - . \ No newline at end of file diff --git a/docs/models/components/Capture.md b/docs/models/components/Capture.md index 22f44727..61dcb4ba 100644 --- a/docs/models/components/Capture.md +++ b/docs/models/components/Capture.md @@ -23,4 +23,5 @@ | `rawResponseCode` | *JsonNullable\* | :heavy_minus_sign: | This is the response code received from the payment service. This can be set to any value and is not standardized across different payment services. | E104 | | `rawResponseDescription` | *JsonNullable\* | :heavy_minus_sign: | This is the response description received from the payment service. This can be set to any value and is not standardized across different payment services. | Internal error | | `transactionExternalIdentifier` | *JsonNullable\* | :heavy_minus_sign: | The external identifier of the associated transaction. | transaction-12345 | -| `cartItems` | List\<[CartItem](../../models/components/CartItem.md)> | :heavy_minus_sign: | An array of cart items that represents the line items of this capture. | | \ No newline at end of file +| `cartItems` | List\<[CartItem](../../models/components/CartItem.md)> | :heavy_minus_sign: | An array of cart items that represents the line items of this capture. | | +| `tracking` | List\<[Tracking](../../models/components/Tracking.md)> | :heavy_minus_sign: | The shipment tracking details associated with the capture. | | \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index fee1f530..8df58812 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ groupId=com.gr4vy artifactId=sdk -version=2.19.11 +version=2.19.12 org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g diff --git a/src/main/java/com/gr4vy/sdk/SDKConfiguration.java b/src/main/java/com/gr4vy/sdk/SDKConfiguration.java index b613171e..fd03acd3 100644 --- a/src/main/java/com/gr4vy/sdk/SDKConfiguration.java +++ b/src/main/java/com/gr4vy/sdk/SDKConfiguration.java @@ -22,7 +22,7 @@ public class SDKConfiguration { private static final String LANGUAGE = "java"; public static final String OPENAPI_DOC_VERSION = "1.0.0"; - public static final String SDK_VERSION = "2.19.11"; + public static final String SDK_VERSION = "2.19.12"; public static final String GEN_VERSION = "2.937.18"; private static final String BASE_PACKAGE = "com.gr4vy.sdk"; public static final String USER_AGENT = diff --git a/src/main/java/com/gr4vy/sdk/models/components/Capture.java b/src/main/java/com/gr4vy/sdk/models/components/Capture.java index 69852b61..457cb2bd 100644 --- a/src/main/java/com/gr4vy/sdk/models/components/Capture.java +++ b/src/main/java/com/gr4vy/sdk/models/components/Capture.java @@ -147,6 +147,13 @@ public class Capture { @JsonProperty("cart_items") private JsonNullable> cartItems; + /** + * The shipment tracking details associated with the capture. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("tracking") + private JsonNullable> tracking; + @JsonCreator public Capture( @JsonProperty("id") String id, @@ -166,7 +173,8 @@ public Capture( @JsonProperty("raw_response_code") JsonNullable rawResponseCode, @JsonProperty("raw_response_description") JsonNullable rawResponseDescription, @JsonProperty("transaction_external_identifier") JsonNullable transactionExternalIdentifier, - @JsonProperty("cart_items") JsonNullable> cartItems) { + @JsonProperty("cart_items") JsonNullable> cartItems, + @JsonProperty("tracking") JsonNullable> tracking) { Utils.checkNotNull(id, "id"); Utils.checkNotNull(merchantAccountId, "merchantAccountId"); Utils.checkNotNull(transactionId, "transactionId"); @@ -185,6 +193,7 @@ public Capture( Utils.checkNotNull(rawResponseDescription, "rawResponseDescription"); Utils.checkNotNull(transactionExternalIdentifier, "transactionExternalIdentifier"); Utils.checkNotNull(cartItems, "cartItems"); + Utils.checkNotNull(tracking, "tracking"); this.type = Builder._SINGLETON_VALUE_Type.value(); this.id = id; this.merchantAccountId = merchantAccountId; @@ -204,6 +213,7 @@ public Capture( this.rawResponseDescription = rawResponseDescription; this.transactionExternalIdentifier = transactionExternalIdentifier; this.cartItems = cartItems; + this.tracking = tracking; } public Capture( @@ -221,7 +231,8 @@ public Capture( status, final_, createdAt, updatedAt, JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), - JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined()); + JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), + JsonNullable.undefined()); } /** @@ -376,6 +387,15 @@ public JsonNullable> cartItems() { return (JsonNullable>) cartItems; } + /** + * The shipment tracking details associated with the capture. + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public JsonNullable> tracking() { + return (JsonNullable>) tracking; + } + public static Builder builder() { return new Builder(); } @@ -625,6 +645,24 @@ public Capture withCartItems(JsonNullable> cartItems) { return this; } + /** + * The shipment tracking details associated with the capture. + */ + public Capture withTracking(List tracking) { + Utils.checkNotNull(tracking, "tracking"); + this.tracking = JsonNullable.of(tracking); + return this; + } + + /** + * The shipment tracking details associated with the capture. + */ + public Capture withTracking(JsonNullable> tracking) { + Utils.checkNotNull(tracking, "tracking"); + this.tracking = tracking; + return this; + } + @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -653,7 +691,8 @@ public boolean equals(java.lang.Object o) { Utils.enhancedDeepEquals(this.rawResponseCode, other.rawResponseCode) && Utils.enhancedDeepEquals(this.rawResponseDescription, other.rawResponseDescription) && Utils.enhancedDeepEquals(this.transactionExternalIdentifier, other.transactionExternalIdentifier) && - Utils.enhancedDeepEquals(this.cartItems, other.cartItems); + Utils.enhancedDeepEquals(this.cartItems, other.cartItems) && + Utils.enhancedDeepEquals(this.tracking, other.tracking); } @Override @@ -665,7 +704,7 @@ public int hashCode() { createdAt, updatedAt, capturedAt, externalIdentifier, errorCode, isoResponseCode, rawResponseCode, rawResponseDescription, transactionExternalIdentifier, - cartItems); + cartItems, tracking); } @Override @@ -689,7 +728,8 @@ public String toString() { "rawResponseCode", rawResponseCode, "rawResponseDescription", rawResponseDescription, "transactionExternalIdentifier", transactionExternalIdentifier, - "cartItems", cartItems); + "cartItems", cartItems, + "tracking", tracking); } @SuppressWarnings("UnusedReturnValue") @@ -731,6 +771,8 @@ public final static class Builder { private JsonNullable> cartItems = JsonNullable.undefined(); + private JsonNullable> tracking = JsonNullable.undefined(); + private Builder() { // force use of static builder() method } @@ -997,6 +1039,25 @@ public Builder cartItems(JsonNullable> cartItems) { return this; } + + /** + * The shipment tracking details associated with the capture. + */ + public Builder tracking(List tracking) { + Utils.checkNotNull(tracking, "tracking"); + this.tracking = JsonNullable.of(tracking); + return this; + } + + /** + * The shipment tracking details associated with the capture. + */ + public Builder tracking(JsonNullable> tracking) { + Utils.checkNotNull(tracking, "tracking"); + this.tracking = tracking; + return this; + } + public Capture build() { return new Capture( @@ -1005,7 +1066,8 @@ public Capture build() { status, final_, createdAt, updatedAt, capturedAt, externalIdentifier, errorCode, isoResponseCode, rawResponseCode, - rawResponseDescription, transactionExternalIdentifier, cartItems); + rawResponseDescription, transactionExternalIdentifier, cartItems, + tracking); } From 5b11420a36b374fc2e377ee18efb211561d87694 Mon Sep 17 00:00:00 2001 From: "speakeasy-github[bot]" <128539517+speakeasy-github[bot]@users.noreply.github.com> Date: Thu, 17 Sep 2026 07:28:30 +0000 Subject: [PATCH 2/2] empty commit to trigger [run-tests] workflow