systemprompt_identifiers/teams.rs
1//! Typed identifiers for the Microsoft Teams integration — the Entra (Azure AD)
2//! tenant, the Bot Framework app registration (Microsoft App ID), the Bot
3//! Framework conversation, and the end-user (AAD object id) identifiers that
4//! Teams assigns. These are opaque Microsoft-side strings; the integration
5//! never mints them, only carries them through dispatch and the
6//! federated-identity mapping.
7//!
8//! Copyright (c) systemprompt.io — Business Source License 1.1.
9//! See <https://systemprompt.io> for licensing details.
10
11crate::define_id!(TeamsTenantId, checked, |value| {
12 crate::macros::validate_non_empty("TeamsTenantId", value)
13});
14crate::define_id!(TeamsAppId, checked, |value| {
15 crate::macros::validate_non_empty("TeamsAppId", value)
16});
17crate::define_id!(TeamsConversationId, checked, |value| {
18 crate::macros::validate_non_empty("TeamsConversationId", value)
19});
20crate::define_id!(TeamsUserId, checked, |value| {
21 crate::macros::validate_non_empty("TeamsUserId", value)
22});