diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 7f92a653..95723f88 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: 9c343f80a790408d258e2821c036621f + docChecksum: f3a9f030ea384aaf8880a55329b7c6e2 docVersion: 1.0.0 speakeasyVersion: 1.790.1 generationVersion: 2.918.1 - releaseVersion: 2.16.109 - configChecksum: 312ae760c2120d2e193eee58e234874e + releaseVersion: 2.16.110 + configChecksum: cc12ae00c6bde4bfa06965232cc196fb repoURL: https://github.com/gr4vy/gr4vy-java.git installationURL: https://github.com/gr4vy/gr4vy-java published: true persistentEdits: - generation_id: 1484f777-bb1e-4888-8c01-9055ad5efb56 - pristine_commit_hash: 7e8a079f58c7f0f1ef526dc04632cc8768578de8 - pristine_tree_hash: 7731583fe047dd714d7070528050d16f7a04c50f + generation_id: 58a9925d-6835-46a8-9fc0-c155bea0ac89 + pristine_commit_hash: f66187206ee8d152084723db4cb3e154ca48b6b3 + pristine_tree_hash: 6a81569f20d50f8e2c0fe3decbcd3d2e8942ddea features: java: additionalDependencies: 0.1.0 @@ -176,10 +176,6 @@ trackedFiles: id: 3f34132c990f last_write_checksum: sha1:59d9ee1c5a7cf30afc76fa58fe08b8ed036dcda0 pristine_git_object: 9d7b8c3d27ebb249c7731498fee090300be8bab2 - docs/models/components/ApiTypesDigitalWalletAddress.md: - id: 672043bf0b50 - last_write_checksum: sha1:a55c1f3027e8594f3436508e18e3d532f6f3d00b - pristine_git_object: 448829f09d58db4f2743a9281ac0d072f15c08d5 docs/models/components/ApplePayPaymentMethodCreate.md: id: 6b156abbe3e4 last_write_checksum: sha1:26390c0fa068cf7e4494f1c02672909ce0f88aa5 @@ -414,8 +410,8 @@ trackedFiles: pristine_git_object: 04cd74ce39e4aadb8a7c9383be9fd33ad4dacd07 docs/models/components/DigitalWallet.md: id: 9ecbc8d7f75c - last_write_checksum: sha1:f339b057c95ba1bea3139fa5d20fab5d500d2278 - pristine_git_object: 7ec57a45da0b6675972613570b80182bbe073960 + last_write_checksum: sha1:5dcb99b27a592936a5c25dc247dc2625e6ea2082 + pristine_git_object: c7b96316320efca537d4cee0e278f038b71fcfe1 docs/models/components/DigitalWalletAddress.md: id: d5460337737f last_write_checksum: sha1:d72ed5bb02c6b7dcf36cbdab2951bbdb64d0a438 @@ -2774,8 +2770,8 @@ trackedFiles: pristine_git_object: 15c4e4642f204ccb312d8814155b69e153b4e19b gradle.properties: id: 2afbb999f001 - last_write_checksum: sha1:c13e310bba675be102050d6024e5a56a43387b37 - pristine_git_object: 3801cccc3d3b1916ad8cdb107eb478f7daa362b1 + last_write_checksum: sha1:339d7dc787cd2719d1e27a877bcb9ee6f8759291 + pristine_git_object: 8e434fe6609452f3477d2c61382580c0bfe844a3 gradle/wrapper/gradle-wrapper.jar: id: ec27dae6e852 last_write_checksum: sha1:f725fb1467084142d74fd7cd8eab691ab3442611 @@ -3094,8 +3090,8 @@ trackedFiles: pristine_git_object: 502a7312d3dc82c102dbaf7ed5e952d0c793e26f src/main/java/com/gr4vy/sdk/SDKConfiguration.java: id: 73a7edeaca45 - last_write_checksum: sha1:6c3ad6eb4ebcedcac40cb71b5e7116b15e4718c3 - pristine_git_object: f91edbcd393a10e07834787247891dd4b0169ab0 + last_write_checksum: sha1:94b13098eae12e7093f71faca982248b4856bb95 + pristine_git_object: 47db684f2dba339b9b874c2f0bd765b6566cb09e src/main/java/com/gr4vy/sdk/SecuritySource.java: id: 1b6add6b9b50 last_write_checksum: sha1:2f365cc823c6243188e83f4df618c9737fcee8bd @@ -3256,10 +3252,6 @@ trackedFiles: id: be634cdabf82 last_write_checksum: sha1:1aaf8335fa9007e24090b7c23be5676838c8dce8 pristine_git_object: d7cec970d85d17206c3b81efc8103d78c88e7faa - src/main/java/com/gr4vy/sdk/models/components/ApiTypesDigitalWalletAddress.java: - id: 9c78a30e0dbc - last_write_checksum: sha1:5043b1a799d5223b1c6f9fec7a457183a9f1af97 - pristine_git_object: 77599f292d461c47ceb5dbf5948d11093c8fdc1c src/main/java/com/gr4vy/sdk/models/components/ApplePayPaymentMethodCreate.java: id: 35a4d7f0b50d last_write_checksum: sha1:673aaaf7a574a3a767ea94aabf7a930868db5697 @@ -3494,8 +3486,8 @@ trackedFiles: pristine_git_object: eb5fb95a2c2eb0b492b35db90ac25a3fe318eef6 src/main/java/com/gr4vy/sdk/models/components/DigitalWallet.java: id: 6d1e8ad72efa - last_write_checksum: sha1:2dc3f03720794af2464a55dcccad49201eecdc90 - pristine_git_object: 1aa69034218ccda43c5d12c7fe7c4b2dd9900e33 + last_write_checksum: sha1:90bfaaa7cde1e90bedc0454416aa3151f3f36f3a + pristine_git_object: ac6d7404c5bbff343ed2c7966652f8f10176b64b src/main/java/com/gr4vy/sdk/models/components/DigitalWalletAddress.java: id: 591e081cbf4f last_write_checksum: sha1:dc25132c1762b38df1ae1f7222c0de06ec67a24d @@ -12063,8 +12055,10 @@ examplesVersion: 1.0.2 generatedTests: {} releaseNotes: | ## Java SDK Changes: - * `gr4vy.transactions.refundSettlements.get()`: **Added** - * `gr4vy.transactions.refundSettlements.list()`: **Added** + * `gr4vy.digitalWallets.create()`: `response.address.line2` **Changed** + * `gr4vy.digitalWallets.list()`: `response.items[].address.line2` **Changed** + * `gr4vy.digitalWallets.get()`: `response.address.line2` **Changed** + * `gr4vy.digitalWallets.update()`: `response.address.line2` **Changed** generatedFiles: - .gitattributes - USAGE.md diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 0635a95f..bcef40e9 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -30,7 +30,7 @@ generation: generateNewTests: false skipResponseBodyAssertions: false java: - version: 2.16.109 + version: 2.16.110 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 8b074687..1be44603 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -9,8 +9,8 @@ sources: - 1.0.0 openapi: sourceNamespace: openapi - sourceRevisionDigest: sha256:329f2b0c3a2cda8052762d4e9f4ade27766ae9c9150743efaf78c928939999ef - sourceBlobDigest: sha256:8a63b384b4ed46f9cf924d0a41ad2da905dee0bd965b7a1a571b8566001f24b6 + sourceRevisionDigest: sha256:0fa2feb275e75a76cd080bca52389eb736a2c9fde05899ff0a24947acacdb754 + sourceBlobDigest: sha256:b613a6267692ebcd0959401340aeadda2b4380b89659e388845b1cbc11d4d6a6 tags: - latest - 1.0.0 @@ -25,10 +25,10 @@ targets: java: source: openapi sourceNamespace: openapi - sourceRevisionDigest: sha256:329f2b0c3a2cda8052762d4e9f4ade27766ae9c9150743efaf78c928939999ef - sourceBlobDigest: sha256:8a63b384b4ed46f9cf924d0a41ad2da905dee0bd965b7a1a571b8566001f24b6 + sourceRevisionDigest: sha256:0fa2feb275e75a76cd080bca52389eb736a2c9fde05899ff0a24947acacdb754 + sourceBlobDigest: sha256:b613a6267692ebcd0959401340aeadda2b4380b89659e388845b1cbc11d4d6a6 codeSamplesNamespace: openapi-java-code-samples - codeSamplesRevisionDigest: sha256:18f087c9393277a418b21f587c69f1ef74380ca8d9282078e97160eb5e3065c7 + codeSamplesRevisionDigest: sha256:d26ad0231007fd12d102193b344ce02b640f61c75a175a2cccf1fa2dcadc20a1 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/README.md b/README.md index d2571af8..0c426da4 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.16.109' +implementation 'com.gr4vy:sdk:2.16.110' ``` Maven: @@ -67,7 +67,7 @@ Maven: com.gr4vy sdk - 2.16.109 + 2.16.110 ``` diff --git a/RELEASES.md b/RELEASES.md index d2084057..fb19deba 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1928,4 +1928,14 @@ Based on: ### Generated - [java v2.16.109] . ### Releases -- [Maven Central v2.16.109] https://central.sonatype.com/artifact/com.gr4vy/sdk/2.16.109 - . \ No newline at end of file +- [Maven Central v2.16.109] https://central.sonatype.com/artifact/com.gr4vy/sdk/2.16.109 - . + +## 2026-07-15 09:03:00 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.790.1 (2.918.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [java v2.16.110] . +### Releases +- [Maven Central v2.16.110] https://central.sonatype.com/artifact/com.gr4vy/sdk/2.16.110 - . \ No newline at end of file diff --git a/docs/models/components/ApiTypesDigitalWalletAddress.md b/docs/models/components/ApiTypesDigitalWalletAddress.md deleted file mode 100644 index 448829f0..00000000 --- a/docs/models/components/ApiTypesDigitalWalletAddress.md +++ /dev/null @@ -1,12 +0,0 @@ -# ApiTypesDigitalWalletAddress - - -## Fields - -| Field | Type | Required | Description | -| ------------------- | ------------------- | ------------------- | ------------------- | -| `line1` | *String* | :heavy_check_mark: | N/A | -| `line2` | *Optional\* | :heavy_check_mark: | N/A | -| `city` | *String* | :heavy_check_mark: | N/A | -| `stateCode` | *String* | :heavy_check_mark: | N/A | -| `postalCode` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/DigitalWallet.md b/docs/models/components/DigitalWallet.md index 7ec57a45..c7b96316 100644 --- a/docs/models/components/DigitalWallet.md +++ b/docs/models/components/DigitalWallet.md @@ -14,7 +14,7 @@ | `merchantUrl` | *JsonNullable\* | :heavy_minus_sign: | The main URL of the merchant. | https://example.com | | `merchantCountryCode` | *JsonNullable\* | :heavy_minus_sign: | The country code where the merchant is registered. | US | | `merchantCategoryCode` | *JsonNullable\* | :heavy_minus_sign: | Merchant classification for the type of goods or services it provides. | 5411 | -| `address` | [JsonNullable\](../../models/components/ApiTypesDigitalWalletAddress.md) | :heavy_minus_sign: | The merchant address associated with the digital wallet. | | +| `address` | [JsonNullable\](../../models/components/DigitalWalletAddress.md) | :heavy_minus_sign: | The merchant address associated with the digital wallet. | | | `extraConfiguration` | Map\ | :heavy_minus_sign: | Provider-specific configuration. Currently only used by Paze. | {
"network_mid_list": [
{
"mid": "1234567890",
"scheme": "visa"
}
],
"network_name_list": [
{
"expected_auth_name": "ACME",
"scheme": "visa"
}
]
} | | `domainNames` | List\<*String*> | :heavy_check_mark: | The list of domain names that a digital wallet can be used on (deprecated). | example.com | | `activeCertificateCount` | *Optional\* | :heavy_minus_sign: | The number of active custom certificates registered for this digital wallet (Apple Pay only). | 2 | diff --git a/gradle.properties b/gradle.properties index 3801cccc..8e434fe6 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ groupId=com.gr4vy artifactId=sdk -version=2.16.109 +version=2.16.110 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 f91edbcd..47db684f 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.16.109"; + public static final String SDK_VERSION = "2.16.110"; public static final String GEN_VERSION = "2.918.1"; 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/ApiTypesDigitalWalletAddress.java b/src/main/java/com/gr4vy/sdk/models/components/ApiTypesDigitalWalletAddress.java deleted file mode 100644 index 77599f29..00000000 --- a/src/main/java/com/gr4vy/sdk/models/components/ApiTypesDigitalWalletAddress.java +++ /dev/null @@ -1,234 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ -package com.gr4vy.sdk.models.components; - -import com.fasterxml.jackson.annotation.JsonCreator; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonInclude.Include; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.gr4vy.sdk.utils.Utils; -import java.lang.Override; -import java.lang.String; -import java.util.Optional; - - -public class ApiTypesDigitalWalletAddress { - - @JsonProperty("line1") - private String line1; - - - @JsonInclude(Include.ALWAYS) - @JsonProperty("line2") - private Optional line2; - - - @JsonProperty("city") - private String city; - - - @JsonProperty("state_code") - private String stateCode; - - - @JsonProperty("postal_code") - private String postalCode; - - @JsonCreator - public ApiTypesDigitalWalletAddress( - @JsonProperty("line1") String line1, - @JsonProperty("line2") Optional line2, - @JsonProperty("city") String city, - @JsonProperty("state_code") String stateCode, - @JsonProperty("postal_code") String postalCode) { - Utils.checkNotNull(line1, "line1"); - Utils.checkNotNull(line2, "line2"); - Utils.checkNotNull(city, "city"); - Utils.checkNotNull(stateCode, "stateCode"); - Utils.checkNotNull(postalCode, "postalCode"); - this.line1 = line1; - this.line2 = line2; - this.city = city; - this.stateCode = stateCode; - this.postalCode = postalCode; - } - - public ApiTypesDigitalWalletAddress( - String line1, - String city, - String stateCode, - String postalCode) { - this(line1, Optional.empty(), city, - stateCode, postalCode); - } - - @JsonIgnore - public String line1() { - return line1; - } - - @JsonIgnore - public Optional line2() { - return line2; - } - - @JsonIgnore - public String city() { - return city; - } - - @JsonIgnore - public String stateCode() { - return stateCode; - } - - @JsonIgnore - public String postalCode() { - return postalCode; - } - - public static Builder builder() { - return new Builder(); - } - - - public ApiTypesDigitalWalletAddress withLine1(String line1) { - Utils.checkNotNull(line1, "line1"); - this.line1 = line1; - return this; - } - - public ApiTypesDigitalWalletAddress withLine2(String line2) { - Utils.checkNotNull(line2, "line2"); - this.line2 = Optional.ofNullable(line2); - return this; - } - - - public ApiTypesDigitalWalletAddress withLine2(Optional line2) { - Utils.checkNotNull(line2, "line2"); - this.line2 = line2; - return this; - } - - public ApiTypesDigitalWalletAddress withCity(String city) { - Utils.checkNotNull(city, "city"); - this.city = city; - return this; - } - - public ApiTypesDigitalWalletAddress withStateCode(String stateCode) { - Utils.checkNotNull(stateCode, "stateCode"); - this.stateCode = stateCode; - return this; - } - - public ApiTypesDigitalWalletAddress withPostalCode(String postalCode) { - Utils.checkNotNull(postalCode, "postalCode"); - this.postalCode = postalCode; - return this; - } - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - ApiTypesDigitalWalletAddress other = (ApiTypesDigitalWalletAddress) o; - return - Utils.enhancedDeepEquals(this.line1, other.line1) && - Utils.enhancedDeepEquals(this.line2, other.line2) && - Utils.enhancedDeepEquals(this.city, other.city) && - Utils.enhancedDeepEquals(this.stateCode, other.stateCode) && - Utils.enhancedDeepEquals(this.postalCode, other.postalCode); - } - - @Override - public int hashCode() { - return Utils.enhancedHash( - line1, line2, city, - stateCode, postalCode); - } - - @Override - public String toString() { - return Utils.toString(ApiTypesDigitalWalletAddress.class, - "line1", line1, - "line2", line2, - "city", city, - "stateCode", stateCode, - "postalCode", postalCode); - } - - @SuppressWarnings("UnusedReturnValue") - public final static class Builder { - - private String line1; - - private Optional line2 = Optional.empty(); - - private String city; - - private String stateCode; - - private String postalCode; - - private Builder() { - // force use of static builder() method - } - - - public Builder line1(String line1) { - Utils.checkNotNull(line1, "line1"); - this.line1 = line1; - return this; - } - - - public Builder line2(String line2) { - Utils.checkNotNull(line2, "line2"); - this.line2 = Optional.ofNullable(line2); - return this; - } - - public Builder line2(Optional line2) { - Utils.checkNotNull(line2, "line2"); - this.line2 = line2; - return this; - } - - - public Builder city(String city) { - Utils.checkNotNull(city, "city"); - this.city = city; - return this; - } - - - public Builder stateCode(String stateCode) { - Utils.checkNotNull(stateCode, "stateCode"); - this.stateCode = stateCode; - return this; - } - - - public Builder postalCode(String postalCode) { - Utils.checkNotNull(postalCode, "postalCode"); - this.postalCode = postalCode; - return this; - } - - public ApiTypesDigitalWalletAddress build() { - - return new ApiTypesDigitalWalletAddress( - line1, line2, city, - stateCode, postalCode); - } - - } -} diff --git a/src/main/java/com/gr4vy/sdk/models/components/DigitalWallet.java b/src/main/java/com/gr4vy/sdk/models/components/DigitalWallet.java index 1aa69034..ac6d7404 100644 --- a/src/main/java/com/gr4vy/sdk/models/components/DigitalWallet.java +++ b/src/main/java/com/gr4vy/sdk/models/components/DigitalWallet.java @@ -86,7 +86,7 @@ public class DigitalWallet { */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("address") - private JsonNullable address; + private JsonNullable address; /** * Provider-specific configuration. Currently only used by Paze. @@ -151,7 +151,7 @@ public DigitalWallet( @JsonProperty("merchant_url") JsonNullable merchantUrl, @JsonProperty("merchant_country_code") JsonNullable merchantCountryCode, @JsonProperty("merchant_category_code") JsonNullable merchantCategoryCode, - @JsonProperty("address") JsonNullable address, + @JsonProperty("address") JsonNullable address, @JsonProperty("extra_configuration") JsonNullable> extraConfiguration, @JsonProperty("domain_names") List domainNames, @JsonProperty("active_certificate_count") Optional activeCertificateCount, @@ -287,8 +287,8 @@ public JsonNullable merchantCategoryCode() { */ @SuppressWarnings("unchecked") @JsonIgnore - public JsonNullable address() { - return (JsonNullable) address; + public JsonNullable address() { + return (JsonNullable) address; } /** @@ -470,7 +470,7 @@ public DigitalWallet withMerchantCategoryCode(JsonNullable merchantCateg /** * The merchant address associated with the digital wallet. */ - public DigitalWallet withAddress(ApiTypesDigitalWalletAddress address) { + public DigitalWallet withAddress(DigitalWalletAddress address) { Utils.checkNotNull(address, "address"); this.address = JsonNullable.of(address); return this; @@ -479,7 +479,7 @@ public DigitalWallet withAddress(ApiTypesDigitalWalletAddress address) { /** * The merchant address associated with the digital wallet. */ - public DigitalWallet withAddress(JsonNullable address) { + public DigitalWallet withAddress(JsonNullable address) { Utils.checkNotNull(address, "address"); this.address = address; return this; @@ -688,7 +688,7 @@ public final static class Builder { private JsonNullable merchantCategoryCode = JsonNullable.undefined(); - private JsonNullable address = JsonNullable.undefined(); + private JsonNullable address = JsonNullable.undefined(); private JsonNullable> extraConfiguration = JsonNullable.undefined(); @@ -827,7 +827,7 @@ public Builder merchantCategoryCode(JsonNullable merchantCategoryCode) { /** * The merchant address associated with the digital wallet. */ - public Builder address(ApiTypesDigitalWalletAddress address) { + public Builder address(DigitalWalletAddress address) { Utils.checkNotNull(address, "address"); this.address = JsonNullable.of(address); return this; @@ -836,7 +836,7 @@ public Builder address(ApiTypesDigitalWalletAddress address) { /** * The merchant address associated with the digital wallet. */ - public Builder address(JsonNullable address) { + public Builder address(JsonNullable address) { Utils.checkNotNull(address, "address"); this.address = address; return this;