Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
from .entity import Entity # noqa: F401
from .mention_entity import MentionEntity
from .message_entity import MessageEntity
from .product_info_entity import ProductInfoEntity
from .sensitive_usage_entity import SensitiveUsage, SensitiveUsageEntity, SensitiveUsagePattern
from .stream_info_entity import StreamInfoEntity

Expand All @@ -32,6 +33,7 @@
"ClientInfoEntity",
"MentionEntity",
"MessageEntity",
"ProductInfoEntity",
"SensitiveUsageEntity",
"SensitiveUsage",
"SensitiveUsagePattern",
Expand Down
2 changes: 2 additions & 0 deletions packages/api/src/microsoft/teams/api/models/entity/entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
from .client_info_entity import ClientInfoEntity
from .mention_entity import MentionEntity
from .message_entity import MessageEntity
from .product_info_entity import ProductInfoEntity
from .sensitive_usage_entity import SensitiveUsageEntity
from .stream_info_entity import StreamInfoEntity

Expand All @@ -21,4 +22,5 @@
StreamInfoEntity,
CitationEntity,
SensitiveUsageEntity,
ProductInfoEntity,
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
"""
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License.
"""

from typing import Literal

from ..custom_base_model import CustomBaseModel


class ProductInfoEntity(CustomBaseModel):
"""Product information entity"""

id: str
"Product identifier (ex COPILOT)"

type: Literal["ProductInfo"] = "ProductInfo"
"Type identifier for product info"