[Snippet rust]
```rust
pub async fn accept_invitations_v2(
```
Path: hyperswitch/crates/router/src/core/user_role.rs :: accept_invitations_v2 (function, crate=router)

Negatives:
- hyperswitch/crates/hyperswitch_connectors/src/connectors/amazonpay.rs :: get_supported_webhook_flows
- hyperswitch/crates/router/tests/connectors/globepay.rs :: should_partially_refund_succeeded_payment
- hyperswitch/crates/router/src/db/kafka_store.rs :: delete_user_role_by_user_id_and_lineage
- hyperswitch/crates/router/src/types/transformers.rs :: foreign_from
- hyperswitch/crates/hyperswitch_connectors/src/utils.rs :: get_surcharge_amount