diff --git a/packages/api/src/microsoft/teams/api/models/entity/__init__.py b/packages/api/src/microsoft/teams/api/models/entity/__init__.py index b041957d..55fd6a10 100644 --- a/packages/api/src/microsoft/teams/api/models/entity/__init__.py +++ b/packages/api/src/microsoft/teams/api/models/entity/__init__.py @@ -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 @@ -32,6 +33,7 @@ "ClientInfoEntity", "MentionEntity", "MessageEntity", + "ProductInfoEntity", "SensitiveUsageEntity", "SensitiveUsage", "SensitiveUsagePattern", diff --git a/packages/api/src/microsoft/teams/api/models/entity/entity.py b/packages/api/src/microsoft/teams/api/models/entity/entity.py index 81a9afff..5af75dd2 100644 --- a/packages/api/src/microsoft/teams/api/models/entity/entity.py +++ b/packages/api/src/microsoft/teams/api/models/entity/entity.py @@ -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 @@ -21,4 +22,5 @@ StreamInfoEntity, CitationEntity, SensitiveUsageEntity, + ProductInfoEntity, ] diff --git a/packages/api/src/microsoft/teams/api/models/entity/product_info_entity.py b/packages/api/src/microsoft/teams/api/models/entity/product_info_entity.py new file mode 100644 index 00000000..4838cc06 --- /dev/null +++ b/packages/api/src/microsoft/teams/api/models/entity/product_info_entity.py @@ -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"