Skip to content

Commit 493b7b7

Browse files
authored
Merge pull request #1497 from Adyen/1445-any-in-enums
NotificationRequestItem enums: Remove legacy <any>
2 parents 9a704a7 + c734cda commit 493b7b7

File tree

1 file changed

+45
-45
lines changed

1 file changed

+45
-45
lines changed

src/typings/notification/notificationRequestItem.ts

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -146,54 +146,54 @@ export class NotificationRequestItem {
146146

147147
export namespace NotificationRequestItem {
148148
export enum EventCodeEnum {
149-
Autorescue = <any> 'AUTORESCUE',
150-
Authorisation = <any> 'AUTHORISATION',
151-
AuthorisationAdjustment = <any> 'AUTHORISATION_ADJUSTMENT',
152-
CancelAutorescue = <any> 'CANCEL_AUTORESCUE',
153-
Cancellation = <any> 'CANCELLATION',
154-
CancelOrRefund = <any> 'CANCEL_OR_REFUND',
155-
Capture = <any> 'CAPTURE',
156-
CaptureFailed = <any> 'CAPTURE_FAILED',
157-
Chargeback = <any> 'CHARGEBACK',
158-
ChargebackReversed = <any> 'CHARGEBACK_REVERSED',
159-
Donation = <any> 'DONATION',
160-
Expire = <any> 'EXPIRE',
161-
HandledExternally = <any> 'HANDLED_EXTERNALLY',
162-
IssuerComments = <any> 'ISSUER_COMMENTS',
163-
ManualReviewAccept = <any> 'MANUAL_REVIEW_ACCEPT',
164-
ManualReviewReject = <any> 'MANUAL_REVIEW_REJECT',
165-
NotificationOfChargeback = <any> 'NOTIFICATION_OF_CHARGEBACK',
166-
NotificationOfFraud = <any> 'NOTIFICATION_OF_FRAUD',
167-
OfferClosed = <any> 'OFFER_CLOSED',
168-
OrderClosed = <any> 'ORDER_CLOSED',
169-
OrderOpened = <any> 'ORDER_OPENED',
170-
PaidoutReversed = <any> 'PAIDOUT_REVERSED',
171-
Pending = <any> 'PENDING',
172-
PostponedRefund = <any> 'POSTPONED_REFUND',
173-
PrearbitrationLost = <any> 'PREARBITRATION_LOST',
174-
PrearbitrationWon = <any> 'PREARBITRATION_WON',
175-
ProcessRetry = <any> 'PROCESS_RETRY',
176-
PayoutDecline = <any> 'PAYOUT_DECLINE',
177-
PayoutExpire = <any> 'PAYOUT_EXPIRE',
178-
PayoutThirdparty = <any> 'PAYOUT_THIRDPARTY',
179-
RecurringContract = <any> 'RECURRING_CONTRACT',
180-
Refund = <any> 'REFUND',
181-
RefundFailed = <any> 'REFUND_FAILED',
182-
RefundedReversed = <any> 'REFUNDED_REVERSED',
183-
RefundWithData = <any> 'REFUND_WITH_DATA',
184-
ReportAvailable = <any> 'REPORT_AVAILABLE',
185-
RequestForInformation = <any> 'REQUEST_FOR_INFORMATION',
186-
SecondChargeback = <any> 'SECOND_CHARGEBACK',
187-
TechnicalCancel = <any> 'TECHNICAL_CANCEL',
188-
VoidPendingRefund = <any> 'VOID_PENDING_REFUND'
149+
Autorescue = 'AUTORESCUE',
150+
Authorisation = 'AUTHORISATION',
151+
AuthorisationAdjustment = 'AUTHORISATION_ADJUSTMENT',
152+
CancelAutorescue = 'CANCEL_AUTORESCUE',
153+
Cancellation = 'CANCELLATION',
154+
CancelOrRefund = 'CANCEL_OR_REFUND',
155+
Capture = 'CAPTURE',
156+
CaptureFailed = 'CAPTURE_FAILED',
157+
Chargeback = 'CHARGEBACK',
158+
ChargebackReversed = 'CHARGEBACK_REVERSED',
159+
Donation = 'DONATION',
160+
Expire = 'EXPIRE',
161+
HandledExternally = 'HANDLED_EXTERNALLY',
162+
IssuerComments = 'ISSUER_COMMENTS',
163+
ManualReviewAccept = 'MANUAL_REVIEW_ACCEPT',
164+
ManualReviewReject = 'MANUAL_REVIEW_REJECT',
165+
NotificationOfChargeback = 'NOTIFICATION_OF_CHARGEBACK',
166+
NotificationOfFraud = 'NOTIFICATION_OF_FRAUD',
167+
OfferClosed = 'OFFER_CLOSED',
168+
OrderClosed = 'ORDER_CLOSED',
169+
OrderOpened = 'ORDER_OPENED',
170+
PaidoutReversed = 'PAIDOUT_REVERSED',
171+
Pending = 'PENDING',
172+
PostponedRefund = 'POSTPONED_REFUND',
173+
PrearbitrationLost = 'PREARBITRATION_LOST',
174+
PrearbitrationWon = 'PREARBITRATION_WON',
175+
ProcessRetry = 'PROCESS_RETRY',
176+
PayoutDecline = 'PAYOUT_DECLINE',
177+
PayoutExpire = 'PAYOUT_EXPIRE',
178+
PayoutThirdparty = 'PAYOUT_THIRDPARTY',
179+
RecurringContract = 'RECURRING_CONTRACT',
180+
Refund = 'REFUND',
181+
RefundFailed = 'REFUND_FAILED',
182+
RefundedReversed = 'REFUNDED_REVERSED',
183+
RefundWithData = 'REFUND_WITH_DATA',
184+
ReportAvailable = 'REPORT_AVAILABLE',
185+
RequestForInformation = 'REQUEST_FOR_INFORMATION',
186+
SecondChargeback = 'SECOND_CHARGEBACK',
187+
TechnicalCancel = 'TECHNICAL_CANCEL',
188+
VoidPendingRefund = 'VOID_PENDING_REFUND'
189189
}
190190
export enum OperationsEnum {
191-
Cancel = <any> 'CANCEL',
192-
Capture = <any> 'CAPTURE',
193-
Refund = <any> 'REFUND'
191+
Cancel = 'CANCEL',
192+
Capture = 'CAPTURE',
193+
Refund = 'REFUND'
194194
}
195195
export enum SuccessEnum {
196-
True = <any> 'true',
197-
False = <any> 'false'
196+
True = 'true',
197+
False = 'false'
198198
}
199199
}

0 commit comments

Comments
 (0)