File tree Expand file tree Collapse file tree 3 files changed +26
-10
lines changed Expand file tree Collapse file tree 3 files changed +26
-10
lines changed Original file line number Diff line number Diff line change @@ -12,14 +12,14 @@ import { DisputeNotificationRequest } from "../../typings/disputeWebhooks/models
12
12
import { DisputeEventNotification } from "../../typings/disputeWebhooks/disputeEventNotification" ;
13
13
14
14
// handlers
15
- import { AcsWebhooksHandler } from "../../typings/acsWebhooks/acsWebhooksHandler " ;
16
- import { ReportWebhooksHandler } from "../../typings/reportWebhooks/reportWebhooksHandler " ;
17
- import { ConfigurationWebhooksHandler } from "../../typings/configurationWebhooks/configurationWebhooksHandler " ;
18
- import { TransferWebhooksHandler } from "../../typings/transferWebhooks/transferWebhooksHandler " ;
19
- import { NegativeBalanceWarningWebhooksHandler } from "../../typings/negativeBalanceWarningWebhooks/negativeBalanceWarningWebhooksHandler " ;
20
- import { TransactionWebhooksHandler } from "../../typings/transactionWebhooks/transactionWebhooksHandler " ;
21
- import { BalanceWebhooksHandler } from "../../typings/balanceWebhooks/balanceWebhooksHandler " ;
22
- import { DisputeWebhooksHandler } from "../../typings/disputeWebhooks/disputeWebhooksHandler " ;
15
+ import { AcsWebhooksHandler } from "../../webhooks " ;
16
+ import { ReportWebhooksHandler } from "../../webhooks " ;
17
+ import { ConfigurationWebhooksHandler } from "../../webhooks " ;
18
+ import { TransferWebhooksHandler } from "../../webhooks " ;
19
+ import { NegativeBalanceWarningWebhooksHandler } from "../../webhooks " ;
20
+ import { TransactionWebhooksHandler } from "../../webhooks " ;
21
+ import { BalanceWebhooksHandler } from "../../webhooks " ;
22
+ import { DisputeWebhooksHandler } from "../../webhooks " ;
23
23
24
24
25
25
describe ( "BankingWebhooks Tests" , function ( ) : void {
Original file line number Diff line number Diff line change @@ -29,8 +29,11 @@ export { default as Config } from "./config";
29
29
// Export enums for different Adyen environments and regions
30
30
export { EnvironmentEnum , RegionEnum } from "./config" ;
31
31
32
- // Export all services (APIs)
33
- export * from "./services/" ;
32
+ // Export all services
33
+ export * from "./services" ;
34
+
35
+ // Export all webhook handlers
36
+ export * from "./webhooks" ;
34
37
35
38
// Export a utility function for HMAC validation
36
39
export { hmacValidator } from "./utils" ;
Original file line number Diff line number Diff line change
1
+ // barrel file to (re)export webhook handlers from the root
2
+ // this file is not autogenerated (add/remove handlers manually)
3
+
4
+ export { AcsWebhooksHandler } from "./typings/acsWebhooks/acsWebhooksHandler" ;
5
+ export { BalanceWebhooksHandler } from "./typings/balanceWebhooks/balanceWebhooksHandler" ;
6
+ export { ConfigurationWebhooksHandler } from "./typings/configurationWebhooks/configurationWebhooksHandler" ;
7
+ export { DisputeWebhooksHandler } from "./typings/disputeWebhooks/disputeWebhooksHandler" ;
8
+ export { ManagementWebhooksHandler } from "./typings/managementWebhooks/managementWebhooksHandler" ;
9
+ export { NegativeBalanceWarningWebhooksHandler } from "./typings/negativeBalanceWarningWebhooks/negativeBalanceWarningWebhooksHandler" ;
10
+ export { ReportWebhooksHandler } from "./typings/reportWebhooks/reportWebhooksHandler" ;
11
+ export { TokenizationWebhooksHandler } from "./typings/tokenizationWebhooks/tokenizationWebhooksHandler" ;
12
+ export { TransactionWebhooksHandler } from "./typings/transactionWebhooks/transactionWebhooksHandler" ;
13
+ export { TransferWebhooksHandler } from "./typings/transferWebhooks/transferWebhooksHandler" ;
You can’t perform that action at this time.
0 commit comments