Skip to content
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

[BUG] NotificationRequestItem.EventCodeEnum is missing TECHNICAL_CANCEL member #1419

Open
localpath opened this issue Oct 22, 2024 · 0 comments
Labels
bug Something isn't working needs response

Comments

@localpath
Copy link

localpath commented Oct 22, 2024

Describe the bug
The enum for standard webhook notification events is missing an enum member that is present and available.

To Reproduce
Look at SDK Types.notification.NotificationRequestItem type declaration

Expected behavior
An enum member TechnicalCancel

https://docs.adyen.com/api-explorer/Webhooks/1/post/TECHNICAL_CANCEL

Screenshots
NA

Desktop (please complete the following information):

  • OS: Ubuntu (WSL 2)
  • Node Version: 18
  • NPM Version: 10.7

Additional context

export declare namespace NotificationRequestItem {
    enum EventCodeEnum {
        Authorisation,
        AuthorisationAdjustment,
        Cancellation,
        CancelOrRefund,
        Capture,
        CaptureFailed,
        Donation,
        HandledExternally,
        OrderOpened,
        OrderClosed,
        Pending,
        ProcessRetry,
        Refund,
        RefundFailed,
        RefundedReversed,
        RefundWithData,
        ReportAvailable,
        VoidPendingRefund,
        Chargeback,
        ChargebackReversed,
        NotificationOfChargeback,
        NotificationOfFraud,
        PrearbitrationLost,
        PrearbitrationWon,
        RequestForInformation,
        SecondChargeback,
        PayoutExpire,
        PayoutDecline,
        PayoutThirdparty,
        PaidoutReversed,
        Autorescue,
        CancelAutorescue,
        RecurringContract,
        PostponedRefund,
        OfferClosed,
        ManualReviewAccept,
        ManualReviewReject,
        Expire
    }
    enum OperationsEnum {
        Cancel,
        Capture,
        Refund
    }
    enum SuccessEnum {
        True,
        False
    }
}
@localpath localpath added the bug Something isn't working label Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs response
Projects
None yet
Development

No branches or pull requests

1 participant