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 · 1 comment
Labels
bug Something isn't working do not stale

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
@DjoykeAbyah
Copy link
Member

Hi @localpath,

Thank you for pointing out that TECHNICAL_CANCEL is missing from the EventCodeEnum. We'll reach out to the API owners and get back to you as soon as we have an update.



Kind Regards,

Djoyke

Adyen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working do not stale
Projects
None yet
Development

No branches or pull requests

2 participants