Skip to content

Commit 14e1bba

Browse files
feat(events): add APIs to list webhook events and webhook delivery attempts (#4131)
1 parent 4f8461b commit 14e1bba

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+4218
-2451
lines changed

Cargo.lock

Lines changed: 39 additions & 39 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/api_models/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ serde_json = "1.0.108"
3232
strum = { version = "0.25", features = ["derive"] }
3333
time = { version = "0.3.21", features = ["serde", "serde-well-known", "std"] }
3434
url = { version = "2.4.0", features = ["serde"] }
35-
utoipa = { version = "3.3.0", features = ["preserve_order"] }
35+
utoipa = { version = "3.5.0", features = ["preserve_order", "preserve_path_order"] }
3636
frunk = "0.4.1"
3737
frunk_core = "0.4.1"
3838

crates/api_models/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,5 @@ pub mod user;
3535
pub mod user_role;
3636
pub mod verifications;
3737
pub mod verify_connector;
38+
pub mod webhook_events;
3839
pub mod webhooks;

crates/api_models/src/user_role.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ pub enum Permission {
3131
UsersRead,
3232
UsersWrite,
3333
MerchantAccountCreate,
34+
WebhookEventRead,
3435
}
3536

3637
#[derive(Debug, serde::Serialize)]

0 commit comments

Comments
 (0)