From b69bbb92a2388dfaf65d998506eea58715442b2d Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Mon, 23 Mar 2026 13:27:20 +0000 Subject: [PATCH 1/2] ## Java SDK Changes: * `gr4vy.buyers.paymentMethods.list()`: `response.items[].method.enum(swish)` **Added** * `gr4vy.paymentMethods.list()`: `response.items[].method.enum(swish)` **Added** * `gr4vy.paymentMethods.create()`: * `requestBody.union(RedirectPaymentMethodCreate).method.enum(swish)` **Added** * `response.method.enum(swish)` **Added** * `gr4vy.paymentMethods.get()`: `response.method.enum(swish)` **Added** * `gr4vy.transactions.list()`: * `request.method` **Changed** * `response.items[].paymentMethod.method.enum(swish)` **Added** * `gr4vy.transactions.create()`: * `request.transactionCreate` **Changed** * `response.paymentMethod.method.enum(swish)` **Added** * `gr4vy.transactions.get()`: `response.paymentMethod.method.enum(swish)` **Added** * `gr4vy.transactions.update()`: * `request.transactionUpdate.connectionOptions.adyenSwish` **Added** * `response.paymentMethod.method.enum(swish)` **Added** * `gr4vy.transactions.capture()`: `response.union(Transaction).paymentMethod.method.enum(swish)` **Added** * `gr4vy.transactions.void()`: `response.union(TransactionVoid).transaction.paymentMethod.method.enum(swish)` **Added** * `gr4vy.transactions.cancel()`: `response.transaction.paymentMethod.method.enum(swish)` **Added** * `gr4vy.transactions.sync()`: `response.paymentMethod.method.enum(swish)` **Added** * `gr4vy.paymentServiceDefinitions.list()`: `response.items[].method.enum(swish)` **Added** * `gr4vy.paymentServiceDefinitions.get()`: `response.method.enum(swish)` **Added** * `gr4vy.paymentServices.list()`: * `request.method` **Changed** * `response.items[].method.enum(swish)` **Added** * `gr4vy.paymentServices.create()`: `response.method.enum(swish)` **Added** * `gr4vy.paymentServices.get()`: `response.method.enum(swish)` **Added** * `gr4vy.paymentServices.update()`: `response.method.enum(swish)` **Added** * `gr4vy.payouts.list()`: `response.items[].paymentMethod.method.enum(swish)` **Added** * `gr4vy.payouts.create()`: `response.paymentMethod.method.enum(swish)` **Added** * `gr4vy.payouts.get()`: `response.paymentMethod.method.enum(swish)` **Added** * `gr4vy.paymentLinks.create()`: * `request.paymentLinkCreate.connectionOptions.adyenSwish` **Added** --- .speakeasy/gen.lock | 149 +++--------------- .speakeasy/gen.yaml | 2 +- .speakeasy/workflow.lock | 10 +- README.md | 4 +- RELEASES.md | 12 +- docs/models/components/Method.md | 1 + .../RedirectPaymentMethodCreateMethod.md | 1 + .../TransactionConnectionOptions.md | 1 + gradle.properties | 2 +- .../java/com/gr4vy/sdk/SDKConfiguration.java | 2 +- .../gr4vy/sdk/models/components/Method.java | 4 + .../RedirectPaymentMethodCreateMethod.java | 4 + .../TransactionConnectionOptions.java | 114 ++++++++++---- 13 files changed, 142 insertions(+), 164 deletions(-) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 068b9de4..b784e278 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: 23870df29328678b7be784d530b3701d + docChecksum: 602fe419393d7c7a0a60669b07329481 docVersion: 1.0.0 speakeasyVersion: 1.759.1 generationVersion: 2.869.10 - releaseVersion: 2.16.48 - configChecksum: 8c8edad1f93dde970919c898acc129f5 + releaseVersion: 2.16.49 + configChecksum: 6c5c57966688f70d8bad835fc8b708a2 repoURL: https://github.com/gr4vy/gr4vy-java.git installationURL: https://github.com/gr4vy/gr4vy-java published: true persistentEdits: - generation_id: 434e7db3-ad47-4b5d-bd0c-ef550730978b - pristine_commit_hash: d3832855cfb334ad0dc31b0a45d6867b5a642264 - pristine_tree_hash: 152f5a0fc94df6aa18115b84b986d776208536e2 + generation_id: 8ee72f45-0d83-429f-bf92-4b6f3485dcfa + pristine_commit_hash: 4f2c2413af600caa0007f754bf8d7a5ea7f71fd6 + pristine_tree_hash: a27881977b732c168001e9c12d81bb07d326e8f2 features: java: additionalDependencies: 0.1.0 @@ -666,8 +666,8 @@ trackedFiles: pristine_git_object: ada3d378d3d81957b96b19e19e510b290090ec1f docs/models/components/Method.md: id: adedaeaabf7c - last_write_checksum: sha1:c2674b8632aaf8b6210cc211925c186ddc2fb738 - pristine_git_object: 871130404cd141af88c2ab2e09252d30cd499b1e + last_write_checksum: sha1:a719c11069508887ab3c4a698fb36a09e41d4ec0 + pristine_git_object: 245f4776488587e80ac6077fa77e13b14f2a3fbc docs/models/components/MockCardMerchantAdviceCodeOptions.md: id: e927a10a34ae last_write_checksum: sha1:0d601be78333ce1c701a642b9a69e88507c6c5d0 @@ -930,8 +930,8 @@ trackedFiles: pristine_git_object: 98be6328cbcf338eaa22369da773dbdbd08cc82a docs/models/components/RedirectPaymentMethodCreateMethod.md: id: d7f0c77bb644 - last_write_checksum: sha1:4786d19b7f455f9b5a2d263b52fcddd4a46f9450 - pristine_git_object: af49ee708b7b497fd0f6dd3cdbd12241248c5a1e + last_write_checksum: sha1:b3db69aab6c63f81b2443218f79f6ce3fc326ec8 + pristine_git_object: 10176378bff96383fdeda08ba08d694b3dc2ee87 docs/models/components/Refund.md: id: a2190313768a last_write_checksum: sha1:72afb9c9503c846bfc2e325fa08c8e3dcb3b3966 @@ -1214,8 +1214,8 @@ trackedFiles: pristine_git_object: fc532f806750ff9aed723b9b4d74efde86ed8b22 docs/models/components/TransactionConnectionOptions.md: id: 2a90ee52a662 - last_write_checksum: sha1:9be1b23f98006d46bf52e164e1d890d0838737c7 - pristine_git_object: 36d8b8586409532855f2846551c3f5154c35ff8a + last_write_checksum: sha1:67cbd44faab5a100188643cdfec334adaa5241b4 + pristine_git_object: 58a7915bc242f8c2eebdb5cf65383564a140d183 docs/models/components/TransactionCreate.md: id: 0af6b811ca1f last_write_checksum: sha1:dc0985503d742169b49dfe33aa1035f6ef04ab4c @@ -2378,8 +2378,8 @@ trackedFiles: pristine_git_object: 15c4e4642f204ccb312d8814155b69e153b4e19b gradle.properties: id: 2afbb999f001 - last_write_checksum: sha1:1939a59fd7e4233465d75929f82f3828ac4485e2 - pristine_git_object: 7cf03f2552a76e4447bb3ccc949b17f73f67640f + last_write_checksum: sha1:9b29d38bc46515de2f41f485a36b2967d3e567d7 + pristine_git_object: 5f2cb436bb92ce4fe076d4e22f5d50b4177485ad gradle/wrapper/gradle-wrapper.jar: id: ec27dae6e852 last_write_checksum: sha1:f725fb1467084142d74fd7cd8eab691ab3442611 @@ -2702,8 +2702,8 @@ trackedFiles: pristine_git_object: 502a7312d3dc82c102dbaf7ed5e952d0c793e26f src/main/java/com/gr4vy/sdk/SDKConfiguration.java: id: 73a7edeaca45 - last_write_checksum: sha1:3a52d0be36b6f0774adacb750987719f91971a04 - pristine_git_object: 1ec5b7a91793b881589e1796e8267224dc736b7b + last_write_checksum: sha1:d1d60d1244c558eac4c57d2ce14077ed4838749a + pristine_git_object: b6b424e06d64137ab538d89f818562e7d5ba1fb8 src/main/java/com/gr4vy/sdk/SecuritySource.java: id: 1b6add6b9b50 last_write_checksum: sha1:2f365cc823c6243188e83f4df618c9737fcee8bd @@ -3354,8 +3354,8 @@ trackedFiles: pristine_git_object: 9cbb1b174e9a001f1a288f7fc6e020c10e85141c src/main/java/com/gr4vy/sdk/models/components/Method.java: id: bac0c78cdc74 - last_write_checksum: sha1:170503a87cf283d7a679ce26cc9e5116f9a899f3 - pristine_git_object: f77556014c5747b2295936db9f833f3c557e43da + last_write_checksum: sha1:e9123f39ec913187fbc27e0d3a01c68887e72cfd + pristine_git_object: 502575a193a832fdc2c600194f7f1772b9860aeb src/main/java/com/gr4vy/sdk/models/components/MockCardMerchantAdviceCodeOptions.java: id: 98c8ae3757dc last_write_checksum: sha1:6a077d4085feed412a73ec009f00361376631bde @@ -3618,8 +3618,8 @@ trackedFiles: pristine_git_object: 2408d5886f65783ef40c40eba3b988689d681dcb src/main/java/com/gr4vy/sdk/models/components/RedirectPaymentMethodCreateMethod.java: id: 3789188383b7 - last_write_checksum: sha1:3dae6d8dc2319ec05f6332a6e63a94c7b24d03b7 - pristine_git_object: f24dea30ffec0869eba1c192e2ec625a75c9be50 + last_write_checksum: sha1:a5ed2633a741b9515ccce4b0bafb52b0990944e5 + pristine_git_object: b72710c277775d6110eafe0f22c447dc30ec5ad2 src/main/java/com/gr4vy/sdk/models/components/Refund.java: id: 4b22e399807b last_write_checksum: sha1:5eaa1a0ee2ce08ecc2418ad530694865868c0917 @@ -3906,8 +3906,8 @@ trackedFiles: pristine_git_object: 0a47fad3846506a7cbb30ea1f85895f6403e322d src/main/java/com/gr4vy/sdk/models/components/TransactionConnectionOptions.java: id: 31501e4506f3 - last_write_checksum: sha1:9ba752be68ac85b8a0a8a3f13b549547147285d1 - pristine_git_object: fe0c8a29a5ebc5c643bb99993c51c3def7faf4ea + last_write_checksum: sha1:baeeca541861ad0d38ef7b0ebe096d30e887c292 + pristine_git_object: b78988a64b50112179a0b7b0d0ce0c5e13418a43 src/main/java/com/gr4vy/sdk/models/components/TransactionCreate.java: id: 85da9dd45d8a last_write_checksum: sha1:09f92bca972295f8156fc778049a61baea617409 @@ -10607,110 +10607,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: - * `gr4vy.accountUpdater.jobs.create()`: `error.resourceId` **Added** - * `gr4vy.buyers.list()`: `error.resourceId` **Added** - * `gr4vy.buyers.create()`: `error.resourceId` **Added** - * `gr4vy.buyers.get()`: `error.resourceId` **Added** - * `gr4vy.buyers.update()`: `error.resourceId` **Added** - * `gr4vy.buyers.delete()`: `error.resourceId` **Added** - * `gr4vy.buyers.paymentMethods.list()`: `error.resourceId` **Added** - * `gr4vy.buyers.giftCards.list()`: `error.resourceId` **Added** - * `gr4vy.buyers.shippingDetails.create()`: `error.resourceId` **Added** - * `gr4vy.buyers.shippingDetails.list()`: `error.resourceId` **Added** - * `gr4vy.buyers.shippingDetails.get()`: `error.resourceId` **Added** - * `gr4vy.buyers.shippingDetails.update()`: `error.resourceId` **Added** - * `gr4vy.buyers.shippingDetails.delete()`: `error.resourceId` **Added** - * `gr4vy.paymentMethods.list()`: `error.resourceId` **Added** - * `gr4vy.paymentMethods.create()`: `error.resourceId` **Added** - * `gr4vy.paymentMethods.get()`: `error.resourceId` **Added** - * `gr4vy.paymentMethods.delete()`: `error.resourceId` **Added** - * `gr4vy.paymentMethods.paymentServiceTokens.list()`: `error.resourceId` **Added** - * `gr4vy.paymentMethods.paymentServiceTokens.create()`: `error.resourceId` **Added** - * `gr4vy.paymentMethods.paymentServiceTokens.delete()`: `error.resourceId` **Added** - * `gr4vy.paymentMethods.networkTokens.list()`: `error.resourceId` **Added** - * `gr4vy.paymentMethods.networkTokens.create()`: `error.resourceId` **Added** - * `gr4vy.paymentMethods.networkTokens.suspend()`: `error.resourceId` **Added** - * `gr4vy.paymentMethods.networkTokens.resume()`: `error.resourceId` **Added** - * `gr4vy.paymentMethods.networkTokens.delete()`: `error.resourceId` **Added** - * `gr4vy.paymentMethods.networkTokens.cryptogram.create()`: `error.resourceId` **Added** - * `gr4vy.giftCards.get()`: `error.resourceId` **Added** - * `gr4vy.giftCards.delete()`: `error.resourceId` **Added** - * `gr4vy.giftCards.create()`: `error.resourceId` **Added** - * `gr4vy.giftCards.list()`: `error.resourceId` **Added** - * `gr4vy.giftCards.balances.list()`: `error.resourceId` **Added** - * `gr4vy.cardSchemeDefinitions.list()`: `error.resourceId` **Added** - * `gr4vy.digitalWallets.create()`: `error.resourceId` **Added** - * `gr4vy.digitalWallets.list()`: `error.resourceId` **Added** - * `gr4vy.digitalWallets.get()`: `error.resourceId` **Added** - * `gr4vy.digitalWallets.delete()`: `error.resourceId` **Added** - * `gr4vy.digitalWallets.update()`: `error.resourceId` **Added** - * `gr4vy.digitalWallets.sessions.googlePay()`: `error.resourceId` **Added** - * `gr4vy.digitalWallets.sessions.applePay()`: `error.resourceId` **Added** - * `gr4vy.digitalWallets.sessions.clickToPay()`: `error.resourceId` **Added** - * `gr4vy.digitalWallets.domains.create()`: `error.resourceId` **Added** - * `gr4vy.digitalWallets.domains.delete()`: `error.resourceId` **Added** - * `gr4vy.transactions.list()`: `error.resourceId` **Added** - * `gr4vy.transactions.create()`: `error.resourceId` **Added** - * `gr4vy.transactions.get()`: `error.resourceId` **Added** - * `gr4vy.transactions.update()`: `error.resourceId` **Added** - * `gr4vy.transactions.capture()`: `error.resourceId` **Added** - * `gr4vy.transactions.void()`: `error.resourceId` **Added** - * `gr4vy.transactions.cancel()`: `error.resourceId` **Added** - * `gr4vy.transactions.sync()`: `error.resourceId` **Added** - * `gr4vy.transactions.refunds.list()`: `error.resourceId` **Added** - * `gr4vy.transactions.refunds.create()`: `error.resourceId` **Added** - * `gr4vy.transactions.refunds.get()`: `error.resourceId` **Added** - * `gr4vy.transactions.refunds.all.create()`: `error.resourceId` **Added** - * `gr4vy.transactions.actions.list()`: `error.resourceId` **Added** - * `gr4vy.transactions.events.list()`: `error.resourceId` **Added** - * `gr4vy.transactions.settlements.get()`: `error.resourceId` **Added** - * `gr4vy.transactions.settlements.list()`: `error.resourceId` **Added** - * `gr4vy.refunds.get()`: `error.resourceId` **Added** - * `gr4vy.paymentOptions.list()`: `error.resourceId` **Added** - * `gr4vy.paymentServiceDefinitions.list()`: `error.resourceId` **Added** - * `gr4vy.paymentServiceDefinitions.get()`: `error.resourceId` **Added** - * `gr4vy.paymentServiceDefinitions.session()`: `error.resourceId` **Added** - * `gr4vy.paymentServices.list()`: `error.resourceId` **Added** - * `gr4vy.paymentServices.create()`: `error.resourceId` **Added** - * `gr4vy.paymentServices.get()`: `error.resourceId` **Added** - * `gr4vy.paymentServices.update()`: `error.resourceId` **Added** - * `gr4vy.paymentServices.delete()`: `error.resourceId` **Added** - * `gr4vy.paymentServices.verify()`: `error.resourceId` **Added** - * `gr4vy.paymentServices.session()`: `error.resourceId` **Added** - * `gr4vy.auditLogs.list()`: `error.resourceId` **Added** - * `gr4vy.reports.list()`: `error.resourceId` **Added** - * `gr4vy.reports.create()`: `error.resourceId` **Added** - * `gr4vy.reports.get()`: `error.resourceId` **Added** - * `gr4vy.reports.put()`: `error.resourceId` **Added** - * `gr4vy.reports.executions.list()`: `error.resourceId` **Added** - * `gr4vy.reports.executions.url()`: `error.resourceId` **Added** - * `gr4vy.reports.executions.get()`: `error.resourceId` **Added** - * `gr4vy.reportExecutions.list()`: `error.resourceId` **Added** - * `gr4vy.checkoutSessions.create()`: `error.resourceId` **Added** - * `gr4vy.checkoutSessions.update()`: `error.resourceId` **Added** - * `gr4vy.checkoutSessions.get()`: `error.resourceId` **Added** - * `gr4vy.checkoutSessions.delete()`: `error.resourceId` **Added** - * `gr4vy.merchantAccounts.list()`: `error.resourceId` **Added** - * `gr4vy.merchantAccounts.create()`: `error.resourceId` **Added** - * `gr4vy.merchantAccounts.get()`: `error.resourceId` **Added** - * `gr4vy.merchantAccounts.update()`: `error.resourceId` **Added** - * `gr4vy.merchantAccounts.threeDsConfiguration.create()`: `error.resourceId` **Added** - * `gr4vy.merchantAccounts.threeDsConfiguration.list()`: `error.resourceId` **Added** - * `gr4vy.merchantAccounts.threeDsConfiguration.update()`: `error.resourceId` **Added** - * `gr4vy.merchantAccounts.threeDsConfiguration.delete()`: `error.resourceId` **Added** - * `gr4vy.threeDsScenarios.create()`: `error.resourceId` **Added** - * `gr4vy.threeDsScenarios.list()`: `error.resourceId` **Added** - * `gr4vy.threeDsScenarios.update()`: `error.resourceId` **Added** - * `gr4vy.threeDsScenarios.delete()`: `error.resourceId` **Added** - * `gr4vy.payouts.list()`: `error.resourceId` **Added** - * `gr4vy.payouts.create()`: `error.resourceId` **Added** - * `gr4vy.payouts.get()`: `error.resourceId` **Added** - * `gr4vy.paymentLinks.create()`: `error.resourceId` **Added** - * `gr4vy.paymentLinks.list()`: `error.resourceId` **Added** - * `gr4vy.paymentLinks.expire()`: `error.resourceId` **Added** - * `gr4vy.paymentLinks.get()`: `error.resourceId` **Added** +releaseNotes: "## Java SDK Changes:\n* `gr4vy.buyers.paymentMethods.list()`: `response.items[].method.enum(swish)` **Added**\n* `gr4vy.paymentMethods.list()`: `response.items[].method.enum(swish)` **Added**\n* `gr4vy.paymentMethods.create()`: \n * `requestBody.union(RedirectPaymentMethodCreate).method.enum(swish)` **Added**\n * `response.method.enum(swish)` **Added**\n* `gr4vy.paymentMethods.get()`: `response.method.enum(swish)` **Added**\n* `gr4vy.transactions.list()`: \n * `request.method` **Changed**\n * `response.items[].paymentMethod.method.enum(swish)` **Added**\n* `gr4vy.transactions.create()`: \n * `request.transactionCreate` **Changed**\n * `response.paymentMethod.method.enum(swish)` **Added**\n* `gr4vy.transactions.get()`: `response.paymentMethod.method.enum(swish)` **Added**\n* `gr4vy.transactions.update()`: \n * `request.transactionUpdate.connectionOptions.adyenSwish` **Added**\n * `response.paymentMethod.method.enum(swish)` **Added**\n* `gr4vy.transactions.capture()`: `response.union(Transaction).paymentMethod.method.enum(swish)` **Added**\n* `gr4vy.transactions.void()`: `response.union(TransactionVoid).transaction.paymentMethod.method.enum(swish)` **Added**\n* `gr4vy.transactions.cancel()`: `response.transaction.paymentMethod.method.enum(swish)` **Added**\n* `gr4vy.transactions.sync()`: `response.paymentMethod.method.enum(swish)` **Added**\n* `gr4vy.paymentServiceDefinitions.list()`: `response.items[].method.enum(swish)` **Added**\n* `gr4vy.paymentServiceDefinitions.get()`: `response.method.enum(swish)` **Added**\n* `gr4vy.paymentServices.list()`: \n * `request.method` **Changed**\n * `response.items[].method.enum(swish)` **Added**\n* `gr4vy.paymentServices.create()`: `response.method.enum(swish)` **Added**\n* `gr4vy.paymentServices.get()`: `response.method.enum(swish)` **Added**\n* `gr4vy.paymentServices.update()`: `response.method.enum(swish)` **Added**\n* `gr4vy.payouts.list()`: `response.items[].paymentMethod.method.enum(swish)` **Added**\n* `gr4vy.payouts.create()`: `response.paymentMethod.method.enum(swish)` **Added**\n* `gr4vy.payouts.get()`: `response.paymentMethod.method.enum(swish)` **Added**\n* `gr4vy.paymentLinks.create()`: \n * `request.paymentLinkCreate.connectionOptions.adyenSwish` **Added**\n" generatedFiles: - .gitattributes - USAGE.md diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 4614bbda..13b82b44 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -30,7 +30,7 @@ generation: generateNewTests: false skipResponseBodyAssertions: false java: - version: 2.16.48 + version: 2.16.49 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 aa48269b..7cb73a29 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -9,8 +9,8 @@ sources: - 1.0.0 openapi: sourceNamespace: openapi - sourceRevisionDigest: sha256:4bb9ee3bd8ad7b7b5987b6da03d69f455e79fed18e85cf1708068c44908eefb6 - sourceBlobDigest: sha256:7e593caa46bc0aa48d54308ba01bee2246263eea8c2b5a9304279e69b712e986 + sourceRevisionDigest: sha256:a6a912e558f89d0578bea27c33a340a806a63444247f20249621b6e5fbd502af + sourceBlobDigest: sha256:74415d8c4fe4a0587d7d3d2ea3126e6e1fc907523cd8b97d9d1c6d3a66cf5555 tags: - latest - 1.0.0 @@ -25,10 +25,10 @@ targets: java: source: openapi sourceNamespace: openapi - sourceRevisionDigest: sha256:4bb9ee3bd8ad7b7b5987b6da03d69f455e79fed18e85cf1708068c44908eefb6 - sourceBlobDigest: sha256:7e593caa46bc0aa48d54308ba01bee2246263eea8c2b5a9304279e69b712e986 + sourceRevisionDigest: sha256:a6a912e558f89d0578bea27c33a340a806a63444247f20249621b6e5fbd502af + sourceBlobDigest: sha256:74415d8c4fe4a0587d7d3d2ea3126e6e1fc907523cd8b97d9d1c6d3a66cf5555 codeSamplesNamespace: openapi-java-code-samples - codeSamplesRevisionDigest: sha256:c8f1c0e0c707a8a163c5f6645af1c0b43a84b7f5c2d0f1a2d52fac898c45ba20 + codeSamplesRevisionDigest: sha256:9bbd760dc98e92edc051cddbc493a95f3d98b7012f848913316a0c2766f5db56 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/README.md b/README.md index a5a79e05..fe83b02f 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.48' +implementation 'com.gr4vy:sdk:2.16.49' ``` Maven: @@ -67,7 +67,7 @@ Maven: com.gr4vy sdk - 2.16.48 + 2.16.49 ``` diff --git a/RELEASES.md b/RELEASES.md index 100f36de..0c58ddb1 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1318,4 +1318,14 @@ Based on: ### Generated - [java v2.16.48] . ### Releases -- [Maven Central v2.16.48] https://central.sonatype.com/artifact/com.gr4vy/sdk/2.16.48 - . \ No newline at end of file +- [Maven Central v2.16.48] https://central.sonatype.com/artifact/com.gr4vy/sdk/2.16.48 - . + +## 2026-03-23 13:25:24 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.759.1 (2.869.10) https://github.com/speakeasy-api/speakeasy +### Generated +- [java v2.16.49] . +### Releases +- [Maven Central v2.16.49] https://central.sonatype.com/artifact/com.gr4vy/sdk/2.16.49 - . \ No newline at end of file diff --git a/docs/models/components/Method.md b/docs/models/components/Method.md index 87113040..245f4776 100644 --- a/docs/models/components/Method.md +++ b/docs/models/components/Method.md @@ -110,6 +110,7 @@ Method custom = Method.of("custom_value"); | `SOFORT` | sofort | | `SPEI` | spei | | `STITCH` | stitch | +| `SWISH` | swish | | `STRIPEDD` | stripedd | | `STRIPETOKEN` | stripetoken | | `TAPI` | tapi | diff --git a/docs/models/components/RedirectPaymentMethodCreateMethod.md b/docs/models/components/RedirectPaymentMethodCreateMethod.md index af49ee70..10176378 100644 --- a/docs/models/components/RedirectPaymentMethodCreateMethod.md +++ b/docs/models/components/RedirectPaymentMethodCreateMethod.md @@ -102,6 +102,7 @@ RedirectPaymentMethodCreateMethod custom = RedirectPaymentMethodCreateMethod.of( | `SOFORT` | sofort | | `SPEI` | spei | | `STITCH` | stitch | +| `SWISH` | swish | | `STRIPEDD` | stripedd | | `STRIPETOKEN` | stripetoken | | `TAPI` | tapi | diff --git a/docs/models/components/TransactionConnectionOptions.md b/docs/models/components/TransactionConnectionOptions.md index 36d8b858..58a7915b 100644 --- a/docs/models/components/TransactionConnectionOptions.md +++ b/docs/models/components/TransactionConnectionOptions.md @@ -15,6 +15,7 @@ | `adyenPix` | [JsonNullable\](../../models/components/AdyenOptions.md) | :heavy_minus_sign: | Custom options to be passed to the `adyen-pix` connector. | | `adyenSepa` | [JsonNullable\](../../models/components/AdyenSepaOptions.md) | :heavy_minus_sign: | Custom options to be passed to the `adyen-sepa` connector. | | `adyenSofort` | [JsonNullable\](../../models/components/AdyenOptions.md) | :heavy_minus_sign: | Custom options to be passed to the `adyen-sofort` connector. | +| `adyenSwish` | [JsonNullable\](../../models/components/AdyenOptions.md) | :heavy_minus_sign: | Custom options to be passed to the `adyen-swish` connector. | | `adyenVipps` | [JsonNullable\](../../models/components/AdyenOptions.md) | :heavy_minus_sign: | Custom options to be passed to the `adyen-vipps` connector. | | `affirmAffirm` | [JsonNullable\](../../models/components/AffirmOptions.md) | :heavy_minus_sign: | Custom options to be passed to the `affirm-affirm` connector. | | `braintreeCard` | [JsonNullable\](../../models/components/BraintreeOptions.md) | :heavy_minus_sign: | Custom options to be passed to the `braintree-card` connector. | diff --git a/gradle.properties b/gradle.properties index 7cf03f25..5f2cb436 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ groupId=com.gr4vy artifactId=sdk -version=2.16.48 +version=2.16.49 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 1ec5b7a9..b6b424e0 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.48"; + public static final String SDK_VERSION = "2.16.49"; public static final String GEN_VERSION = "2.869.10"; 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/Method.java b/src/main/java/com/gr4vy/sdk/models/components/Method.java index f7755601..502575a1 100644 --- a/src/main/java/com/gr4vy/sdk/models/components/Method.java +++ b/src/main/java/com/gr4vy/sdk/models/components/Method.java @@ -114,6 +114,7 @@ public class Method { public static final Method SOFORT = new Method("sofort"); public static final Method SPEI = new Method("spei"); public static final Method STITCH = new Method("stitch"); + public static final Method SWISH = new Method("swish"); public static final Method STRIPEDD = new Method("stripedd"); public static final Method STRIPETOKEN = new Method("stripetoken"); public static final Method TAPI = new Method("tapi"); @@ -299,6 +300,7 @@ private static final Map createValuesMap() { map.put("sofort", SOFORT); map.put("spei", SPEI); map.put("stitch", STITCH); + map.put("swish", SWISH); map.put("stripedd", STRIPEDD); map.put("stripetoken", STRIPETOKEN); map.put("tapi", TAPI); @@ -416,6 +418,7 @@ private static final Map createEnumsMap() { map.put("sofort", MethodEnum.SOFORT); map.put("spei", MethodEnum.SPEI); map.put("stitch", MethodEnum.STITCH); + map.put("swish", MethodEnum.SWISH); map.put("stripedd", MethodEnum.STRIPEDD); map.put("stripetoken", MethodEnum.STRIPETOKEN); map.put("tapi", MethodEnum.TAPI); @@ -534,6 +537,7 @@ public enum MethodEnum { SOFORT("sofort"), SPEI("spei"), STITCH("stitch"), + SWISH("swish"), STRIPEDD("stripedd"), STRIPETOKEN("stripetoken"), TAPI("tapi"), diff --git a/src/main/java/com/gr4vy/sdk/models/components/RedirectPaymentMethodCreateMethod.java b/src/main/java/com/gr4vy/sdk/models/components/RedirectPaymentMethodCreateMethod.java index f24dea30..b72710c2 100644 --- a/src/main/java/com/gr4vy/sdk/models/components/RedirectPaymentMethodCreateMethod.java +++ b/src/main/java/com/gr4vy/sdk/models/components/RedirectPaymentMethodCreateMethod.java @@ -109,6 +109,7 @@ public class RedirectPaymentMethodCreateMethod { public static final RedirectPaymentMethodCreateMethod SOFORT = new RedirectPaymentMethodCreateMethod("sofort"); public static final RedirectPaymentMethodCreateMethod SPEI = new RedirectPaymentMethodCreateMethod("spei"); public static final RedirectPaymentMethodCreateMethod STITCH = new RedirectPaymentMethodCreateMethod("stitch"); + public static final RedirectPaymentMethodCreateMethod SWISH = new RedirectPaymentMethodCreateMethod("swish"); public static final RedirectPaymentMethodCreateMethod STRIPEDD = new RedirectPaymentMethodCreateMethod("stripedd"); public static final RedirectPaymentMethodCreateMethod STRIPETOKEN = new RedirectPaymentMethodCreateMethod("stripetoken"); public static final RedirectPaymentMethodCreateMethod TAPI = new RedirectPaymentMethodCreateMethod("tapi"); @@ -284,6 +285,7 @@ private static final Map createValues map.put("sofort", SOFORT); map.put("spei", SPEI); map.put("stitch", STITCH); + map.put("swish", SWISH); map.put("stripedd", STRIPEDD); map.put("stripetoken", STRIPETOKEN); map.put("tapi", TAPI); @@ -391,6 +393,7 @@ private static final Map createEn map.put("sofort", RedirectPaymentMethodCreateMethodEnum.SOFORT); map.put("spei", RedirectPaymentMethodCreateMethodEnum.SPEI); map.put("stitch", RedirectPaymentMethodCreateMethodEnum.STITCH); + map.put("swish", RedirectPaymentMethodCreateMethodEnum.SWISH); map.put("stripedd", RedirectPaymentMethodCreateMethodEnum.STRIPEDD); map.put("stripetoken", RedirectPaymentMethodCreateMethodEnum.STRIPETOKEN); map.put("tapi", RedirectPaymentMethodCreateMethodEnum.TAPI); @@ -499,6 +502,7 @@ public enum RedirectPaymentMethodCreateMethodEnum { SOFORT("sofort"), SPEI("spei"), STITCH("stitch"), + SWISH("swish"), STRIPEDD("stripedd"), STRIPETOKEN("stripetoken"), TAPI("tapi"), diff --git a/src/main/java/com/gr4vy/sdk/models/components/TransactionConnectionOptions.java b/src/main/java/com/gr4vy/sdk/models/components/TransactionConnectionOptions.java index fe0c8a29..b78988a6 100644 --- a/src/main/java/com/gr4vy/sdk/models/components/TransactionConnectionOptions.java +++ b/src/main/java/com/gr4vy/sdk/models/components/TransactionConnectionOptions.java @@ -87,6 +87,13 @@ public class TransactionConnectionOptions { @JsonProperty("adyen-sofort") private JsonNullable adyenSofort; + /** + * Custom options to be passed to the `adyen-swish` connector. + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("adyen-swish") + private JsonNullable adyenSwish; + /** * Custom options to be passed to the `adyen-vipps` connector. */ @@ -358,6 +365,7 @@ public TransactionConnectionOptions( @JsonProperty("adyen-pix") JsonNullable adyenPix, @JsonProperty("adyen-sepa") JsonNullable adyenSepa, @JsonProperty("adyen-sofort") JsonNullable adyenSofort, + @JsonProperty("adyen-swish") JsonNullable adyenSwish, @JsonProperty("adyen-vipps") JsonNullable adyenVipps, @JsonProperty("affirm-affirm") JsonNullable affirmAffirm, @JsonProperty("braintree-card") JsonNullable braintreeCard, @@ -405,6 +413,7 @@ public TransactionConnectionOptions( Utils.checkNotNull(adyenPix, "adyenPix"); Utils.checkNotNull(adyenSepa, "adyenSepa"); Utils.checkNotNull(adyenSofort, "adyenSofort"); + Utils.checkNotNull(adyenSwish, "adyenSwish"); Utils.checkNotNull(adyenVipps, "adyenVipps"); Utils.checkNotNull(affirmAffirm, "affirmAffirm"); Utils.checkNotNull(braintreeCard, "braintreeCard"); @@ -452,6 +461,7 @@ public TransactionConnectionOptions( this.adyenPix = adyenPix; this.adyenSepa = adyenSepa; this.adyenSofort = adyenSofort; + this.adyenSwish = adyenSwish; this.adyenVipps = adyenVipps; this.affirmAffirm = affirmAffirm; this.braintreeCard = braintreeCard; @@ -507,7 +517,7 @@ public TransactionConnectionOptions() { JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined(), - JsonNullable.undefined(), JsonNullable.undefined()); + JsonNullable.undefined(), JsonNullable.undefined(), JsonNullable.undefined()); } /** @@ -601,6 +611,15 @@ public JsonNullable adyenSofort() { return (JsonNullable) adyenSofort; } + /** + * Custom options to be passed to the `adyen-swish` connector. + */ + @SuppressWarnings("unchecked") + @JsonIgnore + public JsonNullable adyenSwish() { + return (JsonNullable) adyenSwish; + } + /** * Custom options to be passed to the `adyen-vipps` connector. */ @@ -1121,6 +1140,24 @@ public TransactionConnectionOptions withAdyenSofort(JsonNullable adyenSwish) { + Utils.checkNotNull(adyenSwish, "adyenSwish"); + this.adyenSwish = adyenSwish; + return this; + } + /** * Custom options to be passed to the `adyen-vipps` connector. */ @@ -1807,6 +1844,7 @@ public boolean equals(java.lang.Object o) { Utils.enhancedDeepEquals(this.adyenPix, other.adyenPix) && Utils.enhancedDeepEquals(this.adyenSepa, other.adyenSepa) && Utils.enhancedDeepEquals(this.adyenSofort, other.adyenSofort) && + Utils.enhancedDeepEquals(this.adyenSwish, other.adyenSwish) && Utils.enhancedDeepEquals(this.adyenVipps, other.adyenVipps) && Utils.enhancedDeepEquals(this.affirmAffirm, other.affirmAffirm) && Utils.enhancedDeepEquals(this.braintreeCard, other.braintreeCard) && @@ -1852,19 +1890,19 @@ public int hashCode() { accountUpdater, adyenAfterpay, adyenAlipay, adyenCard, adyenCashapp, adyenGiropay, adyenIdeal, adyenPix, adyenSepa, - adyenSofort, adyenVipps, affirmAffirm, - braintreeCard, chaseorbitalCard, cybersourceAntiFraud, - cybersourceCard, cybersourceIdeal, cybersourceKcp, - dlocalNequi, dlocalUpi, dlocalPix, - fiservCard, forterAntiFraud, gemGem, - gemGemds, givingblockGivingblock, gocardlessGocardless, - latitudeLatitude, latitudeLatitudeds, mattildaTapi, - mattildaTapifintechs, monatoSpei, mockCard, - nuveiCard, nuveiIdeal, nuveiKlarna, - nuveiPse, oxxoOxxo, paypalPaypal, - paypalPaypalpaylater, powertranzCard, riskifiedAntiFraud, - stripeCard, travelhubCard, trustlyTrustly, - wpayEverydaypay, wpayPayto); + adyenSofort, adyenSwish, adyenVipps, + affirmAffirm, braintreeCard, chaseorbitalCard, + cybersourceAntiFraud, cybersourceCard, cybersourceIdeal, + cybersourceKcp, dlocalNequi, dlocalUpi, + dlocalPix, fiservCard, forterAntiFraud, + gemGem, gemGemds, givingblockGivingblock, + gocardlessGocardless, latitudeLatitude, latitudeLatitudeds, + mattildaTapi, mattildaTapifintechs, monatoSpei, + mockCard, nuveiCard, nuveiIdeal, + nuveiKlarna, nuveiPse, oxxoOxxo, + paypalPaypal, paypalPaypalpaylater, powertranzCard, + riskifiedAntiFraud, stripeCard, travelhubCard, + trustlyTrustly, wpayEverydaypay, wpayPayto); } @Override @@ -1880,6 +1918,7 @@ public String toString() { "adyenPix", adyenPix, "adyenSepa", adyenSepa, "adyenSofort", adyenSofort, + "adyenSwish", adyenSwish, "adyenVipps", adyenVipps, "affirmAffirm", affirmAffirm, "braintreeCard", braintreeCard, @@ -1942,6 +1981,8 @@ public final static class Builder { private JsonNullable adyenSofort = JsonNullable.undefined(); + private JsonNullable adyenSwish = JsonNullable.undefined(); + private JsonNullable adyenVipps = JsonNullable.undefined(); private JsonNullable affirmAffirm = JsonNullable.undefined(); @@ -2213,6 +2254,25 @@ public Builder adyenSofort(JsonNullable adyenSofort) { } + /** + * Custom options to be passed to the `adyen-swish` connector. + */ + public Builder adyenSwish(AdyenOptions adyenSwish) { + Utils.checkNotNull(adyenSwish, "adyenSwish"); + this.adyenSwish = JsonNullable.of(adyenSwish); + return this; + } + + /** + * Custom options to be passed to the `adyen-swish` connector. + */ + public Builder adyenSwish(JsonNullable adyenSwish) { + Utils.checkNotNull(adyenSwish, "adyenSwish"); + this.adyenSwish = adyenSwish; + return this; + } + + /** * Custom options to be passed to the `adyen-vipps` connector. */ @@ -2921,19 +2981,19 @@ public TransactionConnectionOptions build() { accountUpdater, adyenAfterpay, adyenAlipay, adyenCard, adyenCashapp, adyenGiropay, adyenIdeal, adyenPix, adyenSepa, - adyenSofort, adyenVipps, affirmAffirm, - braintreeCard, chaseorbitalCard, cybersourceAntiFraud, - cybersourceCard, cybersourceIdeal, cybersourceKcp, - dlocalNequi, dlocalUpi, dlocalPix, - fiservCard, forterAntiFraud, gemGem, - gemGemds, givingblockGivingblock, gocardlessGocardless, - latitudeLatitude, latitudeLatitudeds, mattildaTapi, - mattildaTapifintechs, monatoSpei, mockCard, - nuveiCard, nuveiIdeal, nuveiKlarna, - nuveiPse, oxxoOxxo, paypalPaypal, - paypalPaypalpaylater, powertranzCard, riskifiedAntiFraud, - stripeCard, travelhubCard, trustlyTrustly, - wpayEverydaypay, wpayPayto); + adyenSofort, adyenSwish, adyenVipps, + affirmAffirm, braintreeCard, chaseorbitalCard, + cybersourceAntiFraud, cybersourceCard, cybersourceIdeal, + cybersourceKcp, dlocalNequi, dlocalUpi, + dlocalPix, fiservCard, forterAntiFraud, + gemGem, gemGemds, givingblockGivingblock, + gocardlessGocardless, latitudeLatitude, latitudeLatitudeds, + mattildaTapi, mattildaTapifintechs, monatoSpei, + mockCard, nuveiCard, nuveiIdeal, + nuveiKlarna, nuveiPse, oxxoOxxo, + paypalPaypal, paypalPaypalpaylater, powertranzCard, + riskifiedAntiFraud, stripeCard, travelhubCard, + trustlyTrustly, wpayEverydaypay, wpayPayto); } } From 5b48fc3faa58bd6218c468f150e01022e430f1a1 Mon Sep 17 00:00:00 2001 From: "speakeasy-github[bot]" <128539517+speakeasy-github[bot]@users.noreply.github.com> Date: Mon, 23 Mar 2026 13:27:36 +0000 Subject: [PATCH 2/2] empty commit to trigger [run-tests] workflow