[configurationwebhooks] Code generation: update services and models#1736
[configurationwebhooks] Code generation: update services and models#1736AdyenAutomationBot wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces support for top-up configuration webhooks by adding several new model definitions and updating the ConfigurationWebhooksHandler to handle TopUpConfigurationEventRequest and TopUpConfigurationUpdatedEventRequest payloads. The feedback highlights that some of the generated files, specifically models.ts and configurationWebhooksHandler.ts, are missing trailing newlines, and suggests updating the generator configuration to resolve this consistently.
| export * from "./webhookTopUpConfigurationUpdated" | ||
| export * from "./webhookTopUpCounterparty" | ||
| export * from "./webhookTopUpMandate" | ||
| export * from "./webhookTopUpTrigger" |
There was a problem hiding this comment.
The generated file models.ts is missing a trailing newline at the end of the file. According to the repository's guidelines, all generated files in src/typings/ should consistently include a trailing newline. Please update the generator configuration to ensure a trailing newline is automatically appended to all generated files.
References
- Ensure generated model files (e.g., in
src/typings/) consistently include a trailing newline, preferably by configuring the generator rather than applying manual fixes to individual files.
| */ | ||
| public getTopUpConfigurationUpdatedEventRequest(): configurationWebhooks.TopUpConfigurationUpdatedEventRequest { | ||
| return configurationWebhooks.ObjectSerializer.deserialize(this.payload, "TopUpConfigurationUpdatedEventRequest"); | ||
| } |
There was a problem hiding this comment.
The generated file configurationWebhooksHandler.ts is missing a trailing newline at the end of the file. According to the repository's guidelines, all generated files in src/typings/ should consistently include a trailing newline. Please update the generator configuration to ensure a trailing newline is automatically appended to all generated files.
References
- Ensure generated model files (e.g., in
src/typings/) consistently include a trailing newline, preferably by configuring the generator rather than applying manual fixes to individual files.
This PR contains the automated changes for the
configurationwebhooksservice.The commit history of this PR reflects the
adyen-openapicommits that have been applied.