Skip to content

Code generation: update services and models #1523

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 10, 2025
Merged

Conversation

AdyenAutomationBot
Copy link
Collaborator

@AdyenAutomationBot AdyenAutomationBot commented Jul 9, 2025

Non-primitive attributes are marked as nullable

BalancePlatform API

  • Add new service AuthorizedCardUsersApi to manage (add, get, delete and update) authorized users to a given card
  • In AccountHoldersApi the method getTaxForm has an additional optional parameter legalEntityId
  • In PaymentInstrumentsApi add methods createNetworkTokenActivationData and getNetworkTokenActivationData to create and retrieve network token activation data for a payment instrument.
  • Add NetworkTokenRequestor to NetworkToken
  • In AdditionalBankIdentification add new enums AuBsbCode and CaRoutingNumber
  • Add walletProviderDeviceType and tokenRequestors in TransactionRuleRestrictions
  • Add enum Interest in TransferRoute.CategoryEnum

Transfers API

  • In TransactionsApi the method getAllTransactions has an additional optional parameter sortOrder.
  • In TransfersApi the method getAllTransactions has an additional optional parameter sortOrder.
  • In AdditionalBankIdentification add new enums AuBsbCode and CaRoutingNumber
  • In Transfer add new attribute createdAt, deprecate creationDate (use instead createdAt)
  • In TransferData add new attribute createdAt and updatedAt, deprecate creationDate (use instead createdAt)

LEM API

  • In AdditionalBankIdentification add new enums AuBsbCode and CaRoutingNumber

Management API

  • Add support for LlipayPlus and MaestroUsa payment methods: see PaymentMethod and PaymentMethodSetupInfo classes
  • In PaymentMethodResponse, PaymentMethodSetupInfo and UpdatePaymentMethodInfo several TypesWithErrorsEnum enums have been added (AlipayPlus, Avancard, Cooper, etc..

Acs Webhooks

  • In RelayedAuthenticationRequest add attribute threeDSRequestorAppURL (this is the URL for auto-switching to the threeDS Requestor App).

Configuration Webhooks

  • Add NetworkTokenRequestor to NetworkTokenNotificationDataV2
  • In Wallet the RecommendationReasonsEnum includes several new enums: CardholderPanAssociatedToAccountWithinThresholdDays, ChangesMadeToAccountDataWithinThresholdDays, DeviceProvisioningLocationOutsideOfCardholdersWalletAccountHomeCountry , etc..

Note Wallet type is deprecated: use instead name of the tokenRequestor

Transaction Webhooks

  • In IssuedCard add new attribute threeDSecure

Transfer Webhooks

  • In AdditionalBankIdentification add new enums AuBsbCode and CaRoutingNumber
  • In TransferData add new attribute createdAt and updatedAt, deprecate creationDate (use instead createdAt)

OpenAPI spec files or templates have been modified on 09-07-2025 by commit.

@AdyenAutomationBot AdyenAutomationBot requested a review from a team as a code owner July 9, 2025 16:24
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Summary of Changes

Hello @AdyenAutomationBot, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request is an automated update to the client library's services and models, reflecting recent modifications to the underlying OpenAPI specifications. The primary focus is on expanding API capabilities, standardizing error handling across various services, and enhancing data models for improved type safety and clarity.

Highlights

  • New API Endpoints: Introduced a new AuthorizedCardUsersApi and extended PaymentInstrumentsApi with new endpoints for network token activation data.
  • Standardized Error Handling: Consistently imported error models like RestServiceError, ServiceError, and DefaultErrorResponseEntity across service APIs.
  • Enhanced API Method Parameters: The getTaxForm method in AccountHoldersApi now supports an optional legalEntityId parameter, and the getAllTransactions and getAllTransfers methods in the TransfersApi now include an optional sortOrder parameter.
  • Model Refinements and Additions: Numerous data models have been updated, including making many optional fields explicitly nullable and adding new models like AlipayPlusInfo and NetworkTokenActivationDataRequest.
  • Webhook Handling Improvements: The logic for handling RelayedAuthenticationRequest in ACS webhooks has been streamlined, and new properties have been added to this model, along with related enum updates.
  • Deprecations and Removals: The regionality property has been removed from split configuration rules in the Management API, and the creationDate property in transfer-related models has been deprecated in favor of createdAt and updatedAt.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in issue comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist is currently in preview and may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments to provide feedback.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

Warning

Gemini encountered an error creating the review. You can try again by commenting /gemini review.

Copy link

sonarqubecloud bot commented Jul 9, 2025

@gcatanese gcatanese merged commit f654498 into main Jul 10, 2025
8 checks passed
@gcatanese gcatanese deleted the sdk-automation/models branch July 10, 2025 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants