diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock
index 0ceb376a..53c7e465 100644
--- a/.speakeasy/gen.lock
+++ b/.speakeasy/gen.lock
@@ -1,24 +1,24 @@
lockVersion: 2.0.0
id: 5bbaa3a9-baa0-471b-ba6a-13fd88e8c119
management:
- docChecksum: 673b09e3ce4bfd9b452e651593170f4a
+ docChecksum: dec2c2f1be33711fbeff29ab8205fcf5
docVersion: 1.0.0
- speakeasyVersion: 1.795.2
- generationVersion: 2.932.9
- releaseVersion: 2.19.0
- configChecksum: c80bc387198e452a8cce63c2491c4f7b
+ speakeasyVersion: 1.796.0
+ generationVersion: 2.932.15
+ releaseVersion: 2.19.1
+ configChecksum: 6fcfa48b4a57d41bde01ccfe8b73ee46
repoURL: https://github.com/gr4vy/gr4vy-java.git
installationURL: https://github.com/gr4vy/gr4vy-java
published: true
persistentEdits:
- generation_id: f546ba74-6e66-4cf0-ace4-738b5b6c6c14
- pristine_commit_hash: befcff4d56824c3ea9a658e038d3a82db1d094cb
- pristine_tree_hash: 2d9fafb688acf0479aa25a6dcb64db98ad13ec72
+ generation_id: c1155540-71c5-45a3-84a5-352233357de9
+ pristine_commit_hash: e398222f8807f1fddb94c48629e1eb49f980a723
+ pristine_tree_hash: 0944be10be0975df53542202013176e0f9ea944b
features:
java:
additionalDependencies: 0.1.0
constsAndDefaults: 0.1.3
- core: 3.57.0
+ core: 3.57.2
deprecations: 2.81.2
flattening: 2.81.1
globalSecurity: 2.83.4
@@ -2423,8 +2423,8 @@ trackedFiles:
pristine_git_object: dadb0c0964f70c592308cd2c979661f3a64d9814
docs/models/operations/ListPaymentServicesRequest.md:
id: e057918f514a
- last_write_checksum: sha1:8869a964b3abdb6f028c3d4041d80b2e09600600
- pristine_git_object: 192135ec6824f80ed337cdf5a201721874ffb58d
+ last_write_checksum: sha1:0981fa953fddaf899484288146869dcb8d3e2adf
+ pristine_git_object: d722e91925c79f4f4a59e0f60021baf92366b337
docs/models/operations/ListPaymentServicesResponse.md:
id: c3289d7bfb01
last_write_checksum: sha1:8d0f09d4dfae8658aed85018b950ea9f87bb6569
@@ -2859,8 +2859,8 @@ trackedFiles:
pristine_git_object: 15c4e4642f204ccb312d8814155b69e153b4e19b
gradle.properties:
id: 2afbb999f001
- last_write_checksum: sha1:aefe0714d3dce7e84269f3da1f5e9f3a66990a10
- pristine_git_object: a42c9e1629c6c65112e20d40723cc2027dd9b33b
+ last_write_checksum: sha1:258d5d7660f750cd9d33702f5d02def63e399ef7
+ pristine_git_object: 225801e2a2122a034bc27afc3df43d296c417cd3
gradle/wrapper/gradle-wrapper.jar:
id: ec27dae6e852
last_write_checksum: sha1:f725fb1467084142d74fd7cd8eab691ab3442611
@@ -3203,8 +3203,8 @@ trackedFiles:
pristine_git_object: b50475cc7f6041d63c4569256e4ff1850b20d30b
src/main/java/com/gr4vy/sdk/SDKConfiguration.java:
id: 73a7edeaca45
- last_write_checksum: sha1:6926c5310cd3c9d10f22a216c2cacdfdd19b6b04
- pristine_git_object: f1ebeeb8394d8809886fe54f505eb955322707b0
+ last_write_checksum: sha1:fa938615643aab163a5e14214e7b11fb7569ccca
+ pristine_git_object: 1a1c30c02801dee532e48a047c4012f3307b6a74
src/main/java/com/gr4vy/sdk/SecuritySource.java:
id: 1b6add6b9b50
last_write_checksum: sha1:2f365cc823c6243188e83f4df618c9737fcee8bd
@@ -6467,8 +6467,8 @@ trackedFiles:
pristine_git_object: 052b2db9bce0852f24e53c0e63c99879721a8723
src/main/java/com/gr4vy/sdk/models/operations/ListPaymentServicesRequest.java:
id: 7f7ff66173d8
- last_write_checksum: sha1:12883b15b3da8b4f0675eaea77460712580f6248
- pristine_git_object: c1df44ffae2d1a781b0da763980b712f42cd499b
+ last_write_checksum: sha1:427e730b771442fb324349adecc695150cfd5285
+ pristine_git_object: 03a2d50115e7560a0cc4dfe553b6d68f6bd3a74a
src/main/java/com/gr4vy/sdk/models/operations/ListPaymentServicesRequestBuilder.java:
id: 15a27c22cf34
last_write_checksum: sha1:f1c06063e7cde95cf3e5ed7291c38a68a28639f0
@@ -10315,6 +10315,7 @@ examples:
limit: 20
deleted: true
application_name: "core-api"
+ include_fields: true
header:
x-gr4vy-merchant-account-id: "default"
responses:
@@ -12434,7 +12435,7 @@ 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.buyers.paymentMethods.list()`: `response.items[].method.enum(duitnow)` **Added**\n* `gr4vy.paymentMethods.list()`: `response.items[].method.enum(duitnow)` **Added**\n* `gr4vy.paymentMethods.create()`: \n * `requestBody.union(RedirectPaymentMethodCreate).method.enum(duitnow)` **Added**\n * `response.method.enum(duitnow)` **Added**\n* `gr4vy.paymentMethods.get()`: `response.method.enum(duitnow)` **Added**\n* `gr4vy.paymentMethods.update()`: `response.method.enum(duitnow)` **Added**\n* `gr4vy.transactions.list()`: \n * `request.method` **Changed**\n * `response.items[].paymentMethod.method.enum(duitnow)` **Added**\n* `gr4vy.transactions.create()`: \n * `request.transactionCreate.paymentMethod.union(RedirectPaymentMethodCreate).method.enum(duitnow)` **Added**\n * `response.paymentMethod.method.enum(duitnow)` **Added**\n* `gr4vy.transactions.get()`: `response.paymentMethod.method.enum(duitnow)` **Added**\n* `gr4vy.transactions.update()`: `response.paymentMethod.method.enum(duitnow)` **Added**\n* `gr4vy.transactions.capture()`: `response.union(Transaction).paymentMethod.method.enum(duitnow)` **Added**\n* `gr4vy.transactions.void()`: `response.union(Transaction).paymentMethod.method.enum(duitnow)` **Added**\n* `gr4vy.transactions.cancel()`: `response.transaction.paymentMethod.method.enum(duitnow)` **Added**\n* `gr4vy.transactions.sync()`: `response.paymentMethod.method.enum(duitnow)` **Added**\n* `gr4vy.transactions.incrementAuthorization()`: `response.transaction.paymentMethod.method.enum(duitnow)` **Added**\n* `gr4vy.paymentServiceDefinitions.list()`: `response.items[].method.enum(duitnow)` **Added**\n* `gr4vy.paymentServiceDefinitions.get()`: `response.method.enum(duitnow)` **Added**\n* `gr4vy.paymentServices.list()`: \n * `request.method` **Changed**\n * `response.items[].method.enum(duitnow)` **Added**\n* `gr4vy.paymentServices.create()`: `response.method.enum(duitnow)` **Added**\n* `gr4vy.paymentServices.get()`: `response.method.enum(duitnow)` **Added**\n* `gr4vy.paymentServices.update()`: `response.method.enum(duitnow)` **Added**\n* `gr4vy.payouts.list()`: `response.items[].paymentMethod.method.enum(duitnow)` **Added**\n* `gr4vy.payouts.create()`: `response.paymentMethod.method.enum(duitnow)` **Added**\n* `gr4vy.payouts.get()`: `response.paymentMethod.method.enum(duitnow)` **Added**\n"
+releaseNotes: "## Java SDK Changes:\n* `gr4vy.paymentServices.list()`: \n * `request.includeFields` **Added**\n"
generatedFiles:
- .gitattributes
- USAGE.md
diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml
index 7ff425ae..a11ee13f 100644
--- a/.speakeasy/gen.yaml
+++ b/.speakeasy/gen.yaml
@@ -30,7 +30,7 @@ generation:
generateNewTests: false
skipResponseBodyAssertions: false
java:
- version: 2.19.0
+ version: 2.19.1
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 2f2ad21a..0aa131c5 100644
--- a/.speakeasy/workflow.lock
+++ b/.speakeasy/workflow.lock
@@ -1,4 +1,4 @@
-speakeasyVersion: 1.795.2
+speakeasyVersion: 1.796.0
sources:
Gr4vy:
sourceNamespace: openapi
@@ -9,8 +9,8 @@ sources:
- 1.0.0
openapi:
sourceNamespace: openapi
- sourceRevisionDigest: sha256:a6d6b2d02ec936d1fc43f844ba11aa0fcf37bfbadb4e5d3b2f8ec27fac304949
- sourceBlobDigest: sha256:2fbb761933159525d210d8a07f52fa694a0f9109d488ee979363123d69ce00a0
+ sourceRevisionDigest: sha256:ba77a30e806526c5575a0ece5209508c8963aa16d129b068592caa062cd8081d
+ sourceBlobDigest: sha256:75d52fb8bc5a1fe3874170eb741a79fb41c8c16946e1cbba5bb83b0a43090a6a
tags:
- latest
- 1.0.0
@@ -25,10 +25,10 @@ targets:
java:
source: openapi
sourceNamespace: openapi
- sourceRevisionDigest: sha256:a6d6b2d02ec936d1fc43f844ba11aa0fcf37bfbadb4e5d3b2f8ec27fac304949
- sourceBlobDigest: sha256:2fbb761933159525d210d8a07f52fa694a0f9109d488ee979363123d69ce00a0
+ sourceRevisionDigest: sha256:ba77a30e806526c5575a0ece5209508c8963aa16d129b068592caa062cd8081d
+ sourceBlobDigest: sha256:75d52fb8bc5a1fe3874170eb741a79fb41c8c16946e1cbba5bb83b0a43090a6a
codeSamplesNamespace: openapi-java-code-samples
- codeSamplesRevisionDigest: sha256:103d340962a4b552d95394e4b6fba6d88f7ddecc96e451664158ad8352cfc678
+ codeSamplesRevisionDigest: sha256:60a13b016985dfb7374ead60bf9368d28cd7083c19ce6e475d9d5c8ce249d589
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
diff --git a/README.md b/README.md
index 69f4792c..234cbd05 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.0'
+implementation 'com.gr4vy:sdk:2.19.1'
```
Maven:
@@ -67,7 +67,7 @@ Maven:
com.gr4vy
sdk
- 2.19.0
+ 2.19.1
```
diff --git a/RELEASES.md b/RELEASES.md
index e887db34..8b77b029 100644
--- a/RELEASES.md
+++ b/RELEASES.md
@@ -2168,4 +2168,14 @@ Based on:
### Generated
- [java v2.19.0] .
### Releases
-- [Maven Central v2.19.0] https://central.sonatype.com/artifact/com.gr4vy/sdk/2.19.0 - .
\ No newline at end of file
+- [Maven Central v2.19.0] https://central.sonatype.com/artifact/com.gr4vy/sdk/2.19.0 - .
+
+## 2026-08-27 11:18:24
+### Changes
+Based on:
+- OpenAPI Doc
+- Speakeasy CLI 1.796.0 (2.932.15) https://github.com/speakeasy-api/speakeasy
+### Generated
+- [java v2.19.1] .
+### Releases
+- [Maven Central v2.19.1] https://central.sonatype.com/artifact/com.gr4vy/sdk/2.19.1 - .
\ No newline at end of file
diff --git a/docs/models/operations/ListPaymentServicesRequest.md b/docs/models/operations/ListPaymentServicesRequest.md
index 192135ec..d722e919 100644
--- a/docs/models/operations/ListPaymentServicesRequest.md
+++ b/docs/models/operations/ListPaymentServicesRequest.md
@@ -3,10 +3,11 @@
## Fields
-| Field | Type | Required | Description | Example |
-| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- |
-| `method` | [JsonNullable\](../../models/components/Method.md) | :heavy_minus_sign: | Return any payment service for this method. | |
-| `cursor` | *JsonNullable\* | :heavy_minus_sign: | A pointer to the page of results to return. | ZXhhbXBsZTE |
-| `limit` | *Optional\* | :heavy_minus_sign: | The maximum number of items that are at returned. | 20 |
-| `deleted` | *JsonNullable\* | :heavy_minus_sign: | Return any deleted payment service. | true |
-| `merchantAccountId` | *JsonNullable\* | :heavy_minus_sign: | The ID of the merchant account to use for this request. | |
\ No newline at end of file
+| Field | Type | Required | Description | Example |
+| --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
+| `method` | [JsonNullable\](../../models/components/Method.md) | :heavy_minus_sign: | Return any payment service for this method. | |
+| `cursor` | *JsonNullable\* | :heavy_minus_sign: | A pointer to the page of results to return. | ZXhhbXBsZTE |
+| `limit` | *Optional\* | :heavy_minus_sign: | The maximum number of items that are at returned. | 20 |
+| `deleted` | *JsonNullable\* | :heavy_minus_sign: | Return any deleted payment service. | true |
+| `includeFields` | *Optional\* | :heavy_minus_sign: | Include the non-secret credential and reporting fields for each payment service. Disable this to reduce response time if you don't need them. | true |
+| `merchantAccountId` | *JsonNullable\* | :heavy_minus_sign: | The ID of the merchant account to use for this request. | |
\ No newline at end of file
diff --git a/gradle.properties b/gradle.properties
index a42c9e16..225801e2 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -1,4 +1,4 @@
groupId=com.gr4vy
artifactId=sdk
-version=2.19.0
+version=2.19.1
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 f1ebeeb8..1a1c30c0 100644
--- a/src/main/java/com/gr4vy/sdk/SDKConfiguration.java
+++ b/src/main/java/com/gr4vy/sdk/SDKConfiguration.java
@@ -22,8 +22,8 @@ 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.0";
- public static final String GEN_VERSION = "2.932.9";
+ public static final String SDK_VERSION = "2.19.1";
+ public static final String GEN_VERSION = "2.932.15";
private static final String BASE_PACKAGE = "com.gr4vy.sdk";
public static final String USER_AGENT =
String.format("speakeasy-sdk/%s %s %s %s %s",
diff --git a/src/main/java/com/gr4vy/sdk/models/operations/ListPaymentServicesRequest.java b/src/main/java/com/gr4vy/sdk/models/operations/ListPaymentServicesRequest.java
index c1df44ff..03a2d501 100644
--- a/src/main/java/com/gr4vy/sdk/models/operations/ListPaymentServicesRequest.java
+++ b/src/main/java/com/gr4vy/sdk/models/operations/ListPaymentServicesRequest.java
@@ -44,6 +44,13 @@ public class ListPaymentServicesRequest {
@SpeakeasyMetadata("queryParam:style=form,explode=true,name=deleted")
private JsonNullable deleted;
+ /**
+ * Include the non-secret credential and reporting fields for each payment service. Disable this to
+ * reduce response time if you don't need them.
+ */
+ @SpeakeasyMetadata("queryParam:style=form,explode=true,name=include_fields")
+ private Optional includeFields;
+
/**
* The ID of the merchant account to use for this request.
*/
@@ -56,22 +63,25 @@ public ListPaymentServicesRequest(
JsonNullable cursor,
Optional limit,
JsonNullable deleted,
+ Optional includeFields,
JsonNullable merchantAccountId) {
Utils.checkNotNull(method, "method");
Utils.checkNotNull(cursor, "cursor");
Utils.checkNotNull(limit, "limit");
Utils.checkNotNull(deleted, "deleted");
+ Utils.checkNotNull(includeFields, "includeFields");
Utils.checkNotNull(merchantAccountId, "merchantAccountId");
this.method = method;
this.cursor = cursor;
this.limit = limit;
this.deleted = deleted;
+ this.includeFields = includeFields;
this.merchantAccountId = merchantAccountId;
}
public ListPaymentServicesRequest() {
this(JsonNullable.undefined(), JsonNullable.undefined(), Optional.empty(),
- JsonNullable.undefined(), JsonNullable.undefined());
+ JsonNullable.undefined(), Optional.empty(), JsonNullable.undefined());
}
/**
@@ -107,6 +117,15 @@ public JsonNullable deleted() {
return deleted;
}
+ /**
+ * Include the non-secret credential and reporting fields for each payment service. Disable this to
+ * reduce response time if you don't need them.
+ */
+ @JsonIgnore
+ public Optional includeFields() {
+ return includeFields;
+ }
+
/**
* The ID of the merchant account to use for this request.
*/
@@ -193,6 +212,27 @@ public ListPaymentServicesRequest withDeleted(JsonNullable deleted) {
return this;
}
+ /**
+ * Include the non-secret credential and reporting fields for each payment service. Disable this to
+ * reduce response time if you don't need them.
+ */
+ public ListPaymentServicesRequest withIncludeFields(boolean includeFields) {
+ Utils.checkNotNull(includeFields, "includeFields");
+ this.includeFields = Optional.ofNullable(includeFields);
+ return this;
+ }
+
+
+ /**
+ * Include the non-secret credential and reporting fields for each payment service. Disable this to
+ * reduce response time if you don't need them.
+ */
+ public ListPaymentServicesRequest withIncludeFields(Optional includeFields) {
+ Utils.checkNotNull(includeFields, "includeFields");
+ this.includeFields = includeFields;
+ return this;
+ }
+
/**
* The ID of the merchant account to use for this request.
*/
@@ -225,6 +265,7 @@ public boolean equals(java.lang.Object o) {
Utils.enhancedDeepEquals(this.cursor, other.cursor) &&
Utils.enhancedDeepEquals(this.limit, other.limit) &&
Utils.enhancedDeepEquals(this.deleted, other.deleted) &&
+ Utils.enhancedDeepEquals(this.includeFields, other.includeFields) &&
Utils.enhancedDeepEquals(this.merchantAccountId, other.merchantAccountId);
}
@@ -232,7 +273,7 @@ public boolean equals(java.lang.Object o) {
public int hashCode() {
return Utils.enhancedHash(
method, cursor, limit,
- deleted, merchantAccountId);
+ deleted, includeFields, merchantAccountId);
}
@Override
@@ -242,6 +283,7 @@ public String toString() {
"cursor", cursor,
"limit", limit,
"deleted", deleted,
+ "includeFields", includeFields,
"merchantAccountId", merchantAccountId);
}
@@ -256,6 +298,8 @@ public final static class Builder {
private JsonNullable deleted = JsonNullable.undefined();
+ private Optional includeFields;
+
private JsonNullable merchantAccountId = JsonNullable.undefined();
private Builder() {
@@ -339,6 +383,27 @@ public Builder deleted(JsonNullable deleted) {
}
+ /**
+ * Include the non-secret credential and reporting fields for each payment service. Disable this to
+ * reduce response time if you don't need them.
+ */
+ public Builder includeFields(boolean includeFields) {
+ Utils.checkNotNull(includeFields, "includeFields");
+ this.includeFields = Optional.ofNullable(includeFields);
+ return this;
+ }
+
+ /**
+ * Include the non-secret credential and reporting fields for each payment service. Disable this to
+ * reduce response time if you don't need them.
+ */
+ public Builder includeFields(Optional includeFields) {
+ Utils.checkNotNull(includeFields, "includeFields");
+ this.includeFields = includeFields;
+ return this;
+ }
+
+
/**
* The ID of the merchant account to use for this request.
*/
@@ -361,10 +426,13 @@ public ListPaymentServicesRequest build() {
if (limit == null) {
limit = _SINGLETON_VALUE_Limit.value();
}
+ if (includeFields == null) {
+ includeFields = _SINGLETON_VALUE_IncludeFields.value();
+ }
return new ListPaymentServicesRequest(
method, cursor, limit,
- deleted, merchantAccountId);
+ deleted, includeFields, merchantAccountId);
}
@@ -373,5 +441,11 @@ public ListPaymentServicesRequest build() {
"limit",
"20",
new TypeReference>() {});
+
+ private static final LazySingletonValue> _SINGLETON_VALUE_IncludeFields =
+ new LazySingletonValue<>(
+ "include_fields",
+ "true",
+ new TypeReference>() {});
}
}