microsoft-agents-activity 0.7.0.dev0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- microsoft_agents/activity/__init__.py +200 -0
- microsoft_agents/activity/_channel_id_field_mixin.py +95 -0
- microsoft_agents/activity/_load_configuration.py +33 -0
- microsoft_agents/activity/_model_utils.py +64 -0
- microsoft_agents/activity/_type_aliases.py +7 -0
- microsoft_agents/activity/_utils/__init__.py +6 -0
- microsoft_agents/activity/_utils/_deferred_string.py +34 -0
- microsoft_agents/activity/action_types.py +17 -0
- microsoft_agents/activity/activity.py +787 -0
- microsoft_agents/activity/activity_event_names.py +9 -0
- microsoft_agents/activity/activity_importance.py +10 -0
- microsoft_agents/activity/activity_types.py +25 -0
- microsoft_agents/activity/adaptive_card_invoke_action.py +27 -0
- microsoft_agents/activity/adaptive_card_invoke_response.py +23 -0
- microsoft_agents/activity/adaptive_card_invoke_value.py +25 -0
- microsoft_agents/activity/agents_model.py +49 -0
- microsoft_agents/activity/animation_card.py +57 -0
- microsoft_agents/activity/attachment.py +27 -0
- microsoft_agents/activity/attachment_data.py +24 -0
- microsoft_agents/activity/attachment_info.py +22 -0
- microsoft_agents/activity/attachment_layout_types.py +9 -0
- microsoft_agents/activity/attachment_view.py +18 -0
- microsoft_agents/activity/audio_card.py +57 -0
- microsoft_agents/activity/basic_card.py +33 -0
- microsoft_agents/activity/caller_id_constants.py +10 -0
- microsoft_agents/activity/card_action.py +42 -0
- microsoft_agents/activity/card_image.py +22 -0
- microsoft_agents/activity/channel_account.py +39 -0
- microsoft_agents/activity/channel_adapter_protocol.py +79 -0
- microsoft_agents/activity/channel_id.py +95 -0
- microsoft_agents/activity/channels.py +161 -0
- microsoft_agents/activity/contact_relation_update_action_types.py +9 -0
- microsoft_agents/activity/conversation_account.py +41 -0
- microsoft_agents/activity/conversation_members.py +19 -0
- microsoft_agents/activity/conversation_parameters.py +40 -0
- microsoft_agents/activity/conversation_reference.py +69 -0
- microsoft_agents/activity/conversation_resource_response.py +22 -0
- microsoft_agents/activity/conversation_update_types.py +18 -0
- microsoft_agents/activity/conversations_result.py +20 -0
- microsoft_agents/activity/delivery_modes.py +12 -0
- microsoft_agents/activity/end_of_conversation_codes.py +13 -0
- microsoft_agents/activity/entity/__init__.py +36 -0
- microsoft_agents/activity/entity/ai_entity.py +111 -0
- microsoft_agents/activity/entity/entity.py +41 -0
- microsoft_agents/activity/entity/entity_types.py +14 -0
- microsoft_agents/activity/entity/geo_coordinates.py +33 -0
- microsoft_agents/activity/entity/mention.py +24 -0
- microsoft_agents/activity/entity/place.py +33 -0
- microsoft_agents/activity/entity/product_info.py +20 -0
- microsoft_agents/activity/entity/thing.py +21 -0
- microsoft_agents/activity/error.py +22 -0
- microsoft_agents/activity/error_response.py +15 -0
- microsoft_agents/activity/errors/__init__.py +14 -0
- microsoft_agents/activity/errors/error_message.py +64 -0
- microsoft_agents/activity/errors/error_resources.py +52 -0
- microsoft_agents/activity/expected_replies.py +16 -0
- microsoft_agents/activity/fact.py +21 -0
- microsoft_agents/activity/hero_card.py +33 -0
- microsoft_agents/activity/inner_http_error.py +17 -0
- microsoft_agents/activity/input_hints.py +10 -0
- microsoft_agents/activity/installation_update_action_types.py +9 -0
- microsoft_agents/activity/invoke_response.py +27 -0
- microsoft_agents/activity/media_card.py +57 -0
- microsoft_agents/activity/media_event_value.py +15 -0
- microsoft_agents/activity/media_url.py +19 -0
- microsoft_agents/activity/message_reaction.py +16 -0
- microsoft_agents/activity/message_reaction_types.py +14 -0
- microsoft_agents/activity/message_update_types.py +10 -0
- microsoft_agents/activity/oauth_card.py +27 -0
- microsoft_agents/activity/paged_members_result.py +19 -0
- microsoft_agents/activity/receipt_card.py +39 -0
- microsoft_agents/activity/receipt_item.py +38 -0
- microsoft_agents/activity/resource_response.py +15 -0
- microsoft_agents/activity/role_types.py +12 -0
- microsoft_agents/activity/semantic_action.py +21 -0
- microsoft_agents/activity/semantic_actions_states.py +10 -0
- microsoft_agents/activity/sign_in_constants.py +13 -0
- microsoft_agents/activity/sign_in_resource.py +17 -0
- microsoft_agents/activity/signin_card.py +19 -0
- microsoft_agents/activity/suggested_actions.py +21 -0
- microsoft_agents/activity/teams/__init__.py +198 -0
- microsoft_agents/activity/teams/app_based_link_query.py +18 -0
- microsoft_agents/activity/teams/batch_failed_entries_response.py +15 -0
- microsoft_agents/activity/teams/batch_failed_entry.py +16 -0
- microsoft_agents/activity/teams/batch_operation_response.py +13 -0
- microsoft_agents/activity/teams/batch_operation_state_response.py +24 -0
- microsoft_agents/activity/teams/bot_config_auth.py +18 -0
- microsoft_agents/activity/teams/cache_info.py +18 -0
- microsoft_agents/activity/teams/cancel_operation_response.py +19 -0
- microsoft_agents/activity/teams/channel_info.py +21 -0
- microsoft_agents/activity/teams/config_auth_response.py +17 -0
- microsoft_agents/activity/teams/config_response.py +18 -0
- microsoft_agents/activity/teams/config_response_base.py +14 -0
- microsoft_agents/activity/teams/config_task_response.py +18 -0
- microsoft_agents/activity/teams/conversation_list.py +17 -0
- microsoft_agents/activity/teams/file_consent_card.py +24 -0
- microsoft_agents/activity/teams/file_consent_card_response.py +21 -0
- microsoft_agents/activity/teams/file_download_info.py +24 -0
- microsoft_agents/activity/teams/file_info_card.py +21 -0
- microsoft_agents/activity/teams/file_upload_info.py +26 -0
- microsoft_agents/activity/teams/meeting_details.py +23 -0
- microsoft_agents/activity/teams/meeting_details_base.py +21 -0
- microsoft_agents/activity/teams/meeting_end_event_details.py +15 -0
- microsoft_agents/activity/teams/meeting_event_details.py +15 -0
- microsoft_agents/activity/teams/meeting_info.py +24 -0
- microsoft_agents/activity/teams/meeting_notification.py +15 -0
- microsoft_agents/activity/teams/meeting_notification_base.py +14 -0
- microsoft_agents/activity/teams/meeting_notification_channel_data.py +16 -0
- microsoft_agents/activity/teams/meeting_notification_recipient_failure_info.py +20 -0
- microsoft_agents/activity/teams/meeting_notification_response.py +20 -0
- microsoft_agents/activity/teams/meeting_participant_info.py +18 -0
- microsoft_agents/activity/teams/meeting_participants_event_details.py +16 -0
- microsoft_agents/activity/teams/meeting_stage_surface.py +25 -0
- microsoft_agents/activity/teams/meeting_start_event_details.py +15 -0
- microsoft_agents/activity/teams/meeting_tab_icon_surface.py +15 -0
- microsoft_agents/activity/teams/message_actions_payload.py +70 -0
- microsoft_agents/activity/teams/message_actions_payload_app.py +29 -0
- microsoft_agents/activity/teams/message_actions_payload_attachment.py +30 -0
- microsoft_agents/activity/teams/message_actions_payload_body.py +17 -0
- microsoft_agents/activity/teams/message_actions_payload_conversation.py +20 -0
- microsoft_agents/activity/teams/message_actions_payload_from.py +25 -0
- microsoft_agents/activity/teams/message_actions_payload_mention.py +23 -0
- microsoft_agents/activity/teams/message_actions_payload_reaction.py +23 -0
- microsoft_agents/activity/teams/message_actions_payload_user.py +27 -0
- microsoft_agents/activity/teams/messaging_extension_action.py +37 -0
- microsoft_agents/activity/teams/messaging_extension_action_response.py +24 -0
- microsoft_agents/activity/teams/messaging_extension_attachment.py +32 -0
- microsoft_agents/activity/teams/messaging_extension_parameter.py +17 -0
- microsoft_agents/activity/teams/messaging_extension_query.py +27 -0
- microsoft_agents/activity/teams/messaging_extension_query_options.py +17 -0
- microsoft_agents/activity/teams/messaging_extension_response.py +21 -0
- microsoft_agents/activity/teams/messaging_extension_result.py +34 -0
- microsoft_agents/activity/teams/messaging_extension_suggested_action.py +17 -0
- microsoft_agents/activity/teams/notification_info.py +21 -0
- microsoft_agents/activity/teams/o365_connector_card.py +32 -0
- microsoft_agents/activity/teams/o365_connector_card_action_base.py +21 -0
- microsoft_agents/activity/teams/o365_connector_card_action_card.py +30 -0
- microsoft_agents/activity/teams/o365_connector_card_action_query.py +15 -0
- microsoft_agents/activity/teams/o365_connector_card_date_input.py +30 -0
- microsoft_agents/activity/teams/o365_connector_card_fact.py +17 -0
- microsoft_agents/activity/teams/o365_connector_card_http_post.py +25 -0
- microsoft_agents/activity/teams/o365_connector_card_image.py +18 -0
- microsoft_agents/activity/teams/o365_connector_card_input_base.py +28 -0
- microsoft_agents/activity/teams/o365_connector_card_multichoice_input.py +40 -0
- microsoft_agents/activity/teams/o365_connector_card_multichoice_input_choice.py +17 -0
- microsoft_agents/activity/teams/o365_connector_card_open_uri.py +26 -0
- microsoft_agents/activity/teams/o365_connector_card_open_uri_target.py +17 -0
- microsoft_agents/activity/teams/o365_connector_card_section.py +42 -0
- microsoft_agents/activity/teams/o365_connector_card_text_input.py +31 -0
- microsoft_agents/activity/teams/o365_connector_card_view_action.py +25 -0
- microsoft_agents/activity/teams/on_behalf_of.py +23 -0
- microsoft_agents/activity/teams/read_receipt_info.py +47 -0
- microsoft_agents/activity/teams/signin_state_verification_query.py +14 -0
- microsoft_agents/activity/teams/surface.py +18 -0
- microsoft_agents/activity/teams/tab_context.py +14 -0
- microsoft_agents/activity/teams/tab_entity_context.py +15 -0
- microsoft_agents/activity/teams/tab_request.py +22 -0
- microsoft_agents/activity/teams/tab_response.py +16 -0
- microsoft_agents/activity/teams/tab_response_card.py +14 -0
- microsoft_agents/activity/teams/tab_response_cards.py +17 -0
- microsoft_agents/activity/teams/tab_response_payload.py +25 -0
- microsoft_agents/activity/teams/tab_submit.py +23 -0
- microsoft_agents/activity/teams/tab_submit_data.py +18 -0
- microsoft_agents/activity/teams/tab_suggested_actions.py +17 -0
- microsoft_agents/activity/teams/targeted_meeting_notification.py +19 -0
- microsoft_agents/activity/teams/targeted_meeting_notification_value.py +19 -0
- microsoft_agents/activity/teams/task_module_card_response.py +15 -0
- microsoft_agents/activity/teams/task_module_continue_response.py +19 -0
- microsoft_agents/activity/teams/task_module_message_response.py +18 -0
- microsoft_agents/activity/teams/task_module_request.py +25 -0
- microsoft_agents/activity/teams/task_module_request_context.py +15 -0
- microsoft_agents/activity/teams/task_module_response.py +20 -0
- microsoft_agents/activity/teams/task_module_response_base.py +17 -0
- microsoft_agents/activity/teams/task_module_task_info.py +30 -0
- microsoft_agents/activity/teams/team_details.py +29 -0
- microsoft_agents/activity/teams/team_info.py +20 -0
- microsoft_agents/activity/teams/teams_batch_operation_response.py +19 -0
- microsoft_agents/activity/teams/teams_channel_account.py +44 -0
- microsoft_agents/activity/teams/teams_channel_data.py +43 -0
- microsoft_agents/activity/teams/teams_channel_data_settings.py +15 -0
- microsoft_agents/activity/teams/teams_meeting_info.py +14 -0
- microsoft_agents/activity/teams/teams_meeting_member.py +19 -0
- microsoft_agents/activity/teams/teams_meeting_participant.py +24 -0
- microsoft_agents/activity/teams/teams_member.py +14 -0
- microsoft_agents/activity/teams/teams_paged_members_result.py +19 -0
- microsoft_agents/activity/teams/tenant_info.py +14 -0
- microsoft_agents/activity/teams/user_meeting_details.py +17 -0
- microsoft_agents/activity/text_format_types.py +10 -0
- microsoft_agents/activity/text_highlight.py +19 -0
- microsoft_agents/activity/thumbnail_card.py +33 -0
- microsoft_agents/activity/thumbnail_url.py +18 -0
- microsoft_agents/activity/token_exchange_invoke_request.py +24 -0
- microsoft_agents/activity/token_exchange_invoke_response.py +24 -0
- microsoft_agents/activity/token_exchange_resource.py +16 -0
- microsoft_agents/activity/token_exchange_state.py +41 -0
- microsoft_agents/activity/token_or_sign_in_resource_response.py +21 -0
- microsoft_agents/activity/token_post_resource.py +14 -0
- microsoft_agents/activity/token_request.py +19 -0
- microsoft_agents/activity/token_response.py +46 -0
- microsoft_agents/activity/token_status.py +32 -0
- microsoft_agents/activity/transcript.py +16 -0
- microsoft_agents/activity/turn_context_protocol.py +68 -0
- microsoft_agents/activity/video_card.py +57 -0
- microsoft_agents_activity-0.7.0.dev0.dist-info/METADATA +173 -0
- microsoft_agents_activity-0.7.0.dev0.dist-info/RECORD +208 -0
- microsoft_agents_activity-0.7.0.dev0.dist-info/WHEEL +5 -0
- microsoft_agents_activity-0.7.0.dev0.dist-info/licenses/LICENSE +21 -0
- microsoft_agents_activity-0.7.0.dev0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
+
# Licensed under the MIT License.
|
|
3
|
+
|
|
4
|
+
from .channel_account import ChannelAccount
|
|
5
|
+
from ._type_aliases import NonEmptyString
|
|
6
|
+
from .agents_model import AgentsModel
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class PagedMembersResult(AgentsModel):
|
|
10
|
+
"""Page of members.
|
|
11
|
+
|
|
12
|
+
:param continuation_token: Paging token
|
|
13
|
+
:type continuation_token: str
|
|
14
|
+
:param members: The Channel Accounts.
|
|
15
|
+
:type members: list[~microsoft_agents.activity.ChannelAccount]
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
continuation_token: NonEmptyString = None
|
|
19
|
+
members: list[ChannelAccount] = None
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
+
# Licensed under the MIT License.
|
|
3
|
+
|
|
4
|
+
from .fact import Fact
|
|
5
|
+
from .receipt_item import ReceiptItem
|
|
6
|
+
from .card_action import CardAction
|
|
7
|
+
from .agents_model import AgentsModel
|
|
8
|
+
from ._type_aliases import NonEmptyString
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class ReceiptCard(AgentsModel):
|
|
12
|
+
"""A receipt card.
|
|
13
|
+
|
|
14
|
+
:param title: Title of the card
|
|
15
|
+
:type title: str
|
|
16
|
+
:param facts: Array of Fact objects
|
|
17
|
+
:type facts: list[~microsoft_agents.activity.Fact]
|
|
18
|
+
:param items: Array of Receipt Items
|
|
19
|
+
:type items: list[~microsoft_agents.activity.ReceiptItem]
|
|
20
|
+
:param tap: This action will be activated when user taps on the card
|
|
21
|
+
:type tap: ~microsoft_agents.activity.CardAction
|
|
22
|
+
:param total: Total amount of money paid (or to be paid)
|
|
23
|
+
:type total: str
|
|
24
|
+
:param tax: Total amount of tax paid (or to be paid)
|
|
25
|
+
:type tax: str
|
|
26
|
+
:param vat: Total amount of VAT paid (or to be paid)
|
|
27
|
+
:type vat: str
|
|
28
|
+
:param buttons: Set of actions applicable to the current card
|
|
29
|
+
:type buttons: list[~microsoft_agents.activity.CardAction]
|
|
30
|
+
"""
|
|
31
|
+
|
|
32
|
+
title: NonEmptyString = None
|
|
33
|
+
facts: list[Fact] = None
|
|
34
|
+
items: list[ReceiptItem] = None
|
|
35
|
+
tap: CardAction = None
|
|
36
|
+
total: NonEmptyString = None
|
|
37
|
+
tax: NonEmptyString = None
|
|
38
|
+
vat: NonEmptyString = None
|
|
39
|
+
buttons: list[CardAction] = None
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
+
# Licensed under the MIT License.
|
|
3
|
+
|
|
4
|
+
from .card_image import CardImage
|
|
5
|
+
from .card_action import CardAction
|
|
6
|
+
from .agents_model import AgentsModel
|
|
7
|
+
from ._type_aliases import NonEmptyString
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class ReceiptItem(AgentsModel):
|
|
11
|
+
"""An item on a receipt card.
|
|
12
|
+
|
|
13
|
+
:param title: Title of the Card
|
|
14
|
+
:type title: str
|
|
15
|
+
:param subtitle: Subtitle appears just below Title field, differs from
|
|
16
|
+
Title in font styling only
|
|
17
|
+
:type subtitle: str
|
|
18
|
+
:param text: Text field appears just below subtitle, differs from Subtitle
|
|
19
|
+
in font styling only
|
|
20
|
+
:type text: str
|
|
21
|
+
:param image: Image
|
|
22
|
+
:type image: ~microsoft_agents.activity.CardImage
|
|
23
|
+
:param price: Amount with currency
|
|
24
|
+
:type price: str
|
|
25
|
+
:param quantity: Number of items of given kind
|
|
26
|
+
:type quantity: str
|
|
27
|
+
:param tap: This action will be activated when user taps on the Item
|
|
28
|
+
bubble.
|
|
29
|
+
:type tap: ~microsoft_agents.activity.CardAction
|
|
30
|
+
"""
|
|
31
|
+
|
|
32
|
+
title: NonEmptyString = None
|
|
33
|
+
subtitle: NonEmptyString = None
|
|
34
|
+
text: str = None
|
|
35
|
+
image: CardImage = None
|
|
36
|
+
price: NonEmptyString = None
|
|
37
|
+
quantity: NonEmptyString = None
|
|
38
|
+
tap: CardAction = None
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
+
# Licensed under the MIT License.
|
|
3
|
+
|
|
4
|
+
from .agents_model import AgentsModel
|
|
5
|
+
from ._type_aliases import NonEmptyString
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class ResourceResponse(AgentsModel):
|
|
9
|
+
"""A response containing a resource ID.
|
|
10
|
+
|
|
11
|
+
:param id: Id of the resource
|
|
12
|
+
:type id: str
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
id: NonEmptyString = None
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
+
# Licensed under the MIT License.
|
|
3
|
+
|
|
4
|
+
from enum import Enum
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class RoleTypes(str, Enum):
|
|
8
|
+
user = "user"
|
|
9
|
+
agent = "bot"
|
|
10
|
+
skill = "skill"
|
|
11
|
+
agentic_identity = "agenticAppInstance"
|
|
12
|
+
agentic_user = "agenticUser"
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
+
# Licensed under the MIT License.
|
|
3
|
+
|
|
4
|
+
from .agents_model import AgentsModel
|
|
5
|
+
from ._type_aliases import NonEmptyString
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class SemanticAction(AgentsModel):
|
|
9
|
+
"""Represents a reference to a programmatic action.
|
|
10
|
+
|
|
11
|
+
:param id: ID of this action
|
|
12
|
+
:type id: str
|
|
13
|
+
:param entities: Entities associated with this action
|
|
14
|
+
:type entities: dict[str, :class:`microsoft_agents.activity.entity.Entity`]
|
|
15
|
+
:param state: State of this action. Allowed values: `start`, `continue`, `done`
|
|
16
|
+
:type state: str or :class:`microsoft_agents.activity.semantic_actions_states.SemanticActionsStates`
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
id: NonEmptyString
|
|
20
|
+
entities: dict = None
|
|
21
|
+
state: NonEmptyString = None
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
+
# Licensed under the MIT License.
|
|
3
|
+
|
|
4
|
+
from enum import Enum
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class SignInConstants(str, Enum):
|
|
8
|
+
# Name for the signin invoke to verify the 6-digit authentication code as part of sign-in.
|
|
9
|
+
verify_state_operation_name = "signin/verifyState"
|
|
10
|
+
# Name for signin invoke to perform a token exchange.
|
|
11
|
+
token_exchange_operation_name = "signin/tokenExchange"
|
|
12
|
+
# The EventActivity name when a token is sent to the agent.
|
|
13
|
+
token_response_event_name = "tokens/response"
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
+
# Licensed under the MIT License.
|
|
3
|
+
|
|
4
|
+
from ._type_aliases import NonEmptyString
|
|
5
|
+
from .agents_model import AgentsModel
|
|
6
|
+
from .token_exchange_resource import TokenExchangeResource
|
|
7
|
+
from .token_post_resource import TokenPostResource
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class SignInResource(AgentsModel):
|
|
11
|
+
"""
|
|
12
|
+
A type containing information for single sign-on.
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
sign_in_link: NonEmptyString = None
|
|
16
|
+
token_exchange_resource: TokenExchangeResource = None
|
|
17
|
+
token_post_resource: TokenPostResource = None
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
+
# Licensed under the MIT License.
|
|
3
|
+
|
|
4
|
+
from .card_action import CardAction
|
|
5
|
+
from .agents_model import AgentsModel
|
|
6
|
+
from ._type_aliases import NonEmptyString
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class SigninCard(AgentsModel):
|
|
10
|
+
"""A card representing a request to sign in.
|
|
11
|
+
|
|
12
|
+
:param text: Text for signin request
|
|
13
|
+
:type text: str
|
|
14
|
+
:param buttons: Action to use to perform signin
|
|
15
|
+
:type buttons: list[~microsoft_agents.activity.CardAction]
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
text: str = None
|
|
19
|
+
buttons: list[CardAction] = None
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
+
# Licensed under the MIT License.
|
|
3
|
+
|
|
4
|
+
from .card_action import CardAction
|
|
5
|
+
from .agents_model import AgentsModel
|
|
6
|
+
from ._type_aliases import NonEmptyString
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class SuggestedActions(AgentsModel):
|
|
10
|
+
"""SuggestedActions that can be performed.
|
|
11
|
+
|
|
12
|
+
:param to: Ids of the recipients that the actions should be shown to.
|
|
13
|
+
These Ids are relative to the channelId and a subset of all recipients of
|
|
14
|
+
the activity
|
|
15
|
+
:type to: list[str]
|
|
16
|
+
:param actions: Actions that can be shown to the user
|
|
17
|
+
:type actions: list[~microsoft_agents.activity.CardAction]
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
to: list[NonEmptyString]
|
|
21
|
+
actions: list[CardAction]
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
+
# Licensed under the MIT License.
|
|
3
|
+
|
|
4
|
+
from .app_based_link_query import AppBasedLinkQuery
|
|
5
|
+
from .batch_operation_response import BatchOperationResponse
|
|
6
|
+
from .batch_operation_state_response import BatchOperationStateResponse
|
|
7
|
+
from .batch_failed_entries_response import BatchFailedEntriesResponse
|
|
8
|
+
from .cancel_operation_response import CancelOperationResponse
|
|
9
|
+
from .channel_info import ChannelInfo
|
|
10
|
+
from .conversation_list import ConversationList
|
|
11
|
+
from .file_consent_card import FileConsentCard
|
|
12
|
+
from .file_consent_card_response import FileConsentCardResponse
|
|
13
|
+
from .file_download_info import FileDownloadInfo
|
|
14
|
+
from .file_info_card import FileInfoCard
|
|
15
|
+
from .file_upload_info import FileUploadInfo
|
|
16
|
+
from .meeting_details import MeetingDetails
|
|
17
|
+
from .meeting_info import MeetingInfo
|
|
18
|
+
from .meeting_start_event_details import MeetingStartEventDetails
|
|
19
|
+
from .meeting_end_event_details import MeetingEndEventDetails
|
|
20
|
+
from .message_actions_payload import MessageActionsPayload
|
|
21
|
+
from .message_actions_payload_app import MessageActionsPayloadApp
|
|
22
|
+
from .message_actions_payload_attachment import MessageActionsPayloadAttachment
|
|
23
|
+
from .message_actions_payload_body import MessageActionsPayloadBody
|
|
24
|
+
from .message_actions_payload_conversation import MessageActionsPayloadConversation
|
|
25
|
+
from .message_actions_payload_from import MessageActionsPayloadFrom
|
|
26
|
+
from .message_actions_payload_mention import MessageActionsPayloadMention
|
|
27
|
+
from .message_actions_payload_reaction import MessageActionsPayloadReaction
|
|
28
|
+
from .message_actions_payload_user import MessageActionsPayloadUser
|
|
29
|
+
from .messaging_extension_action import MessagingExtensionAction
|
|
30
|
+
from .messaging_extension_action_response import MessagingExtensionActionResponse
|
|
31
|
+
from .messaging_extension_attachment import MessagingExtensionAttachment
|
|
32
|
+
from .messaging_extension_parameter import MessagingExtensionParameter
|
|
33
|
+
from .messaging_extension_query import MessagingExtensionQuery
|
|
34
|
+
from .messaging_extension_query_options import MessagingExtensionQueryOptions
|
|
35
|
+
from .messaging_extension_response import MessagingExtensionResponse
|
|
36
|
+
from .messaging_extension_result import MessagingExtensionResult
|
|
37
|
+
from .messaging_extension_suggested_action import MessagingExtensionSuggestedAction
|
|
38
|
+
from .notification_info import NotificationInfo
|
|
39
|
+
from .o365_connector_card import O365ConnectorCard
|
|
40
|
+
from .o365_connector_card_action_base import O365ConnectorCardActionBase
|
|
41
|
+
from .o365_connector_card_action_card import O365ConnectorCardActionCard
|
|
42
|
+
from .o365_connector_card_action_query import O365ConnectorCardActionQuery
|
|
43
|
+
from .o365_connector_card_date_input import O365ConnectorCardDateInput
|
|
44
|
+
from .o365_connector_card_fact import O365ConnectorCardFact
|
|
45
|
+
from .o365_connector_card_http_post import O365ConnectorCardHttpPOST
|
|
46
|
+
from .o365_connector_card_image import O365ConnectorCardImage
|
|
47
|
+
from .o365_connector_card_input_base import O365ConnectorCardInputBase
|
|
48
|
+
from .o365_connector_card_multichoice_input import O365ConnectorCardMultichoiceInput
|
|
49
|
+
from .o365_connector_card_multichoice_input_choice import (
|
|
50
|
+
O365ConnectorCardMultichoiceInputChoice,
|
|
51
|
+
)
|
|
52
|
+
from .o365_connector_card_open_uri import O365ConnectorCardOpenUri
|
|
53
|
+
from .o365_connector_card_open_uri_target import O365ConnectorCardOpenUriTarget
|
|
54
|
+
from .o365_connector_card_section import O365ConnectorCardSection
|
|
55
|
+
from .o365_connector_card_text_input import O365ConnectorCardTextInput
|
|
56
|
+
from .o365_connector_card_view_action import O365ConnectorCardViewAction
|
|
57
|
+
from .signin_state_verification_query import SigninStateVerificationQuery
|
|
58
|
+
from .task_module_continue_response import TaskModuleContinueResponse
|
|
59
|
+
from .task_module_message_response import TaskModuleMessageResponse
|
|
60
|
+
from .task_module_request import TaskModuleRequest
|
|
61
|
+
from .task_module_request_context import TaskModuleRequestContext
|
|
62
|
+
from .task_module_response import TaskModuleResponse
|
|
63
|
+
from .task_module_response_base import TaskModuleResponseBase
|
|
64
|
+
from .task_module_task_info import TaskModuleTaskInfo
|
|
65
|
+
from .team_details import TeamDetails
|
|
66
|
+
from .team_info import TeamInfo
|
|
67
|
+
from .teams_channel_account import TeamsChannelAccount
|
|
68
|
+
from .teams_channel_data_settings import TeamsChannelDataSettings
|
|
69
|
+
from .teams_channel_data import TeamsChannelData
|
|
70
|
+
from .teams_member import TeamsMember
|
|
71
|
+
from .teams_paged_members_result import TeamsPagedMembersResult
|
|
72
|
+
from .tenant_info import TenantInfo
|
|
73
|
+
from .teams_meeting_info import TeamsMeetingInfo
|
|
74
|
+
from .teams_meeting_participant import TeamsMeetingParticipant
|
|
75
|
+
from .meeting_participant_info import MeetingParticipantInfo
|
|
76
|
+
from .cache_info import CacheInfo
|
|
77
|
+
from .tab_context import TabContext
|
|
78
|
+
from .tab_entity_context import TabEntityContext
|
|
79
|
+
from .tab_request import TabRequest
|
|
80
|
+
from .tab_response_card import TabResponseCard
|
|
81
|
+
from .tab_response_cards import TabResponseCards
|
|
82
|
+
from .tab_response_payload import TabResponsePayload
|
|
83
|
+
from .tab_response import TabResponse
|
|
84
|
+
from .tab_submit import TabSubmit
|
|
85
|
+
from .tab_submit_data import TabSubmitData
|
|
86
|
+
from .tab_suggested_actions import TabSuggestedActions
|
|
87
|
+
from .task_module_card_response import TaskModuleCardResponse
|
|
88
|
+
from .user_meeting_details import UserMeetingDetails
|
|
89
|
+
from .teams_meeting_member import TeamsMeetingMember
|
|
90
|
+
from .meeting_participants_event_details import MeetingParticipantsEventDetails
|
|
91
|
+
from .read_receipt_info import ReadReceiptInfo
|
|
92
|
+
from .bot_config_auth import BotConfigAuth
|
|
93
|
+
from .config_auth_response import ConfigAuthResponse
|
|
94
|
+
from .config_response import ConfigResponse
|
|
95
|
+
from .config_task_response import ConfigTaskResponse
|
|
96
|
+
from .meeting_notification_base import MeetingNotificationBase
|
|
97
|
+
from .meeting_notification import MeetingNotification
|
|
98
|
+
from .meeting_notification_response import MeetingNotificationResponse
|
|
99
|
+
from .on_behalf_of import OnBehalfOf
|
|
100
|
+
from .teams_batch_operation_response import TeamsBatchOperationResponse
|
|
101
|
+
|
|
102
|
+
__all__ = [
|
|
103
|
+
"AppBasedLinkQuery",
|
|
104
|
+
"BatchOperationResponse",
|
|
105
|
+
"BatchOperationStateResponse",
|
|
106
|
+
"BatchFailedEntriesResponse",
|
|
107
|
+
"CancelOperationResponse",
|
|
108
|
+
"ChannelInfo",
|
|
109
|
+
"ConversationList",
|
|
110
|
+
"FileConsentCard",
|
|
111
|
+
"FileConsentCardResponse",
|
|
112
|
+
"FileDownloadInfo",
|
|
113
|
+
"FileInfoCard",
|
|
114
|
+
"FileUploadInfo",
|
|
115
|
+
"MeetingDetails",
|
|
116
|
+
"MeetingInfo",
|
|
117
|
+
"MeetingStartEventDetails",
|
|
118
|
+
"MeetingEndEventDetails",
|
|
119
|
+
"MessageActionsPayload",
|
|
120
|
+
"MessageActionsPayloadApp",
|
|
121
|
+
"MessageActionsPayloadAttachment",
|
|
122
|
+
"MessageActionsPayloadBody",
|
|
123
|
+
"MessageActionsPayloadConversation",
|
|
124
|
+
"MessageActionsPayloadFrom",
|
|
125
|
+
"MessageActionsPayloadMention",
|
|
126
|
+
"MessageActionsPayloadReaction",
|
|
127
|
+
"MessageActionsPayloadUser",
|
|
128
|
+
"MessagingExtensionAction",
|
|
129
|
+
"MessagingExtensionActionResponse",
|
|
130
|
+
"MessagingExtensionAttachment",
|
|
131
|
+
"MessagingExtensionParameter",
|
|
132
|
+
"MessagingExtensionQuery",
|
|
133
|
+
"MessagingExtensionQueryOptions",
|
|
134
|
+
"MessagingExtensionResponse",
|
|
135
|
+
"MessagingExtensionResult",
|
|
136
|
+
"MessagingExtensionSuggestedAction",
|
|
137
|
+
"NotificationInfo",
|
|
138
|
+
"O365ConnectorCard",
|
|
139
|
+
"O365ConnectorCardActionBase",
|
|
140
|
+
"O365ConnectorCardActionCard",
|
|
141
|
+
"O365ConnectorCardActionQuery",
|
|
142
|
+
"O365ConnectorCardDateInput",
|
|
143
|
+
"O365ConnectorCardFact",
|
|
144
|
+
"O365ConnectorCardHttpPOST",
|
|
145
|
+
"O365ConnectorCardImage",
|
|
146
|
+
"O365ConnectorCardInputBase",
|
|
147
|
+
"O365ConnectorCardMultichoiceInput",
|
|
148
|
+
"O365ConnectorCardMultichoiceInputChoice",
|
|
149
|
+
"O365ConnectorCardOpenUri",
|
|
150
|
+
"O365ConnectorCardOpenUriTarget",
|
|
151
|
+
"O365ConnectorCardSection",
|
|
152
|
+
"O365ConnectorCardTextInput",
|
|
153
|
+
"O365ConnectorCardViewAction",
|
|
154
|
+
"SigninStateVerificationQuery",
|
|
155
|
+
"TaskModuleContinueResponse",
|
|
156
|
+
"TaskModuleMessageResponse",
|
|
157
|
+
"TaskModuleRequest",
|
|
158
|
+
"TaskModuleRequestContext",
|
|
159
|
+
"TaskModuleResponse",
|
|
160
|
+
"TaskModuleResponseBase",
|
|
161
|
+
"TaskModuleTaskInfo",
|
|
162
|
+
"TeamDetails",
|
|
163
|
+
"TeamInfo",
|
|
164
|
+
"TeamsChannelAccount",
|
|
165
|
+
"TeamsChannelDataSettings",
|
|
166
|
+
"TeamsChannelData",
|
|
167
|
+
"TeamsPagedMembersResult",
|
|
168
|
+
"TenantInfo",
|
|
169
|
+
"TeamsMember",
|
|
170
|
+
"TeamsMeetingInfo",
|
|
171
|
+
"TeamsMeetingParticipant",
|
|
172
|
+
"MeetingParticipantInfo",
|
|
173
|
+
"CacheInfo",
|
|
174
|
+
"TabContext",
|
|
175
|
+
"TabEntityContext",
|
|
176
|
+
"TabRequest",
|
|
177
|
+
"TabResponseCard",
|
|
178
|
+
"TabResponseCards",
|
|
179
|
+
"TabResponsePayload",
|
|
180
|
+
"TabResponse",
|
|
181
|
+
"TabSubmit",
|
|
182
|
+
"TabSubmitData",
|
|
183
|
+
"TabSuggestedActions",
|
|
184
|
+
"TaskModuleCardResponse",
|
|
185
|
+
"UserMeetingDetails",
|
|
186
|
+
"TeamsMeetingMember",
|
|
187
|
+
"MeetingParticipantsEventDetails",
|
|
188
|
+
"ReadReceiptInfo",
|
|
189
|
+
"BotConfigAuth",
|
|
190
|
+
"ConfigAuthResponse",
|
|
191
|
+
"ConfigResponse",
|
|
192
|
+
"ConfigTaskResponse",
|
|
193
|
+
"MeetingNotificationBase",
|
|
194
|
+
"MeetingNotification",
|
|
195
|
+
"MeetingNotificationResponse",
|
|
196
|
+
"OnBehalfOf",
|
|
197
|
+
"TeamsBatchOperationResponse",
|
|
198
|
+
]
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
+
# Licensed under the MIT License.
|
|
3
|
+
|
|
4
|
+
from ..agents_model import AgentsModel
|
|
5
|
+
from typing import Optional
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class AppBasedLinkQuery(AgentsModel):
|
|
9
|
+
"""Invoke request body type for app-based link query.
|
|
10
|
+
|
|
11
|
+
:param url: Url queried by user
|
|
12
|
+
:type url: Optional[str]
|
|
13
|
+
:param state: The magic code for OAuth Flow
|
|
14
|
+
:type state: Optional[str]
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
url: Optional[str]
|
|
18
|
+
state: Optional[str]
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
+
# Licensed under the MIT License.
|
|
3
|
+
|
|
4
|
+
from ..agents_model import AgentsModel
|
|
5
|
+
from .batch_failed_entry import BatchFailedEntry
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class BatchFailedEntriesResponse(AgentsModel):
|
|
9
|
+
"""
|
|
10
|
+
:param operation_id: Unique identifier of the batch operation.
|
|
11
|
+
:type operation_id: str
|
|
12
|
+
"""
|
|
13
|
+
|
|
14
|
+
continuation_token: str = None
|
|
15
|
+
failed_entries_responses: list[BatchFailedEntry] = None
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
+
# Licensed under the MIT License.
|
|
3
|
+
|
|
4
|
+
from ..agents_model import AgentsModel
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class BatchFailedEntry(AgentsModel):
|
|
8
|
+
"""
|
|
9
|
+
:param id: Unique identifier of the entry in the batch operation.
|
|
10
|
+
:type id: str
|
|
11
|
+
:param error: Error message associated with the entry.
|
|
12
|
+
:type error: str
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
id: str = None
|
|
16
|
+
error: str = None
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
+
# Licensed under the MIT License.
|
|
3
|
+
|
|
4
|
+
from ..agents_model import AgentsModel
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class BatchOperationResponse(AgentsModel):
|
|
8
|
+
"""
|
|
9
|
+
:param operation_id: Unique identifier of the batch operation.
|
|
10
|
+
:type operation_id: str
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
operation_id: str = None
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
+
# Licensed under the MIT License.
|
|
3
|
+
|
|
4
|
+
from datetime import datetime
|
|
5
|
+
from typing import Optional
|
|
6
|
+
from ..agents_model import AgentsModel
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class BatchOperationStateResponse(AgentsModel):
|
|
10
|
+
"""
|
|
11
|
+
:param state: The state of the batch operation.
|
|
12
|
+
:type state: str
|
|
13
|
+
:param status_map: A map of status codes to their counts.
|
|
14
|
+
:type status_map: dict[int, int]
|
|
15
|
+
:param retry_after: The time after which the operation can be retried.
|
|
16
|
+
:type retry_after: datetime
|
|
17
|
+
:param total_entries_count: The total number of entries in the batch operation.
|
|
18
|
+
:type total_entries_count: int
|
|
19
|
+
"""
|
|
20
|
+
|
|
21
|
+
state: str = None
|
|
22
|
+
status_map: dict[int, int] = None
|
|
23
|
+
retry_after: Optional[datetime] = None
|
|
24
|
+
total_entries_count: int = None
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
+
# Licensed under the MIT License.
|
|
3
|
+
|
|
4
|
+
from ..agents_model import AgentsModel
|
|
5
|
+
from ..suggested_actions import SuggestedActions
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class BotConfigAuth(AgentsModel):
|
|
9
|
+
"""Specifies bot config auth, including type and suggestedActions.
|
|
10
|
+
|
|
11
|
+
:param type: The type of bot config auth.
|
|
12
|
+
:type type: str
|
|
13
|
+
:param suggested_actions: The suggested actions of bot config auth.
|
|
14
|
+
:type suggested_actions: SuggestedActions
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
type: str = "auth"
|
|
18
|
+
suggested_actions: SuggestedActions = None
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
+
# Licensed under the MIT License.
|
|
3
|
+
|
|
4
|
+
from ..agents_model import AgentsModel
|
|
5
|
+
from typing import Optional
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class CacheInfo(AgentsModel):
|
|
9
|
+
"""A cache info object which notifies Teams how long an object should be cached for.
|
|
10
|
+
|
|
11
|
+
:param cache_type: Type of Cache Info
|
|
12
|
+
:type cache_type: Optional[str]
|
|
13
|
+
:param cache_duration: Duration of the Cached Info.
|
|
14
|
+
:type cache_duration: Optional[int]
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
cache_type: Optional[str]
|
|
18
|
+
cache_duration: Optional[int]
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
+
# Licensed under the MIT License.
|
|
3
|
+
|
|
4
|
+
from .batch_operation_response import BatchOperationResponse
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class CancelOperationResponse(BatchOperationResponse):
|
|
8
|
+
"""
|
|
9
|
+
:param operation_id: Unique identifier of the batch operation.
|
|
10
|
+
:type operation_id: str
|
|
11
|
+
:param body_as_text: The body of the request as text.
|
|
12
|
+
:type body_as_text: str
|
|
13
|
+
:param parsed_body: The parsed body of the request.
|
|
14
|
+
:type parsed_body: BatchOperationResponse
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
operation_id: str = None
|
|
18
|
+
body_as_text: str = None
|
|
19
|
+
parsed_body: BatchOperationResponse = None
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
+
# Licensed under the MIT License.
|
|
3
|
+
|
|
4
|
+
from ..agents_model import AgentsModel
|
|
5
|
+
from typing import Optional
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class ChannelInfo(AgentsModel):
|
|
9
|
+
"""A channel info object which describes the channel.
|
|
10
|
+
|
|
11
|
+
:param id: Unique identifier representing a channel
|
|
12
|
+
:type id: Optional[str]
|
|
13
|
+
:param name: Name of the channel
|
|
14
|
+
:type name: Optional[str]
|
|
15
|
+
:param type: The channel type
|
|
16
|
+
:type type: Optional[str]
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
id: Optional[str] = None
|
|
20
|
+
name: Optional[str] = None
|
|
21
|
+
type: Optional[str] = None
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
+
# Licensed under the MIT License.
|
|
3
|
+
|
|
4
|
+
from pydantic import Field
|
|
5
|
+
|
|
6
|
+
from .config_response import ConfigResponse
|
|
7
|
+
from .bot_config_auth import BotConfigAuth
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class ConfigAuthResponse(ConfigResponse):
|
|
11
|
+
"""Response for configuration authentication.
|
|
12
|
+
|
|
13
|
+
:param suggested_actions: Suggested actions for the configuration authentication.
|
|
14
|
+
:type suggested_actions: object
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
config: BotConfigAuth = Field(default_factory=lambda: BotConfigAuth())
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
+
# Licensed under the MIT License.
|
|
3
|
+
|
|
4
|
+
from .config_response_base import ConfigResponseBase
|
|
5
|
+
from .cache_info import CacheInfo
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class ConfigResponse(ConfigResponseBase):
|
|
9
|
+
"""Envelope for Config Response Payload.
|
|
10
|
+
|
|
11
|
+
:param config: The response to the config message. Possible values: 'auth', 'task'
|
|
12
|
+
:type config: object
|
|
13
|
+
:param cache_info: Response cache info
|
|
14
|
+
:type cache_info: CacheInfo
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
config: object = None
|
|
18
|
+
cache_info: CacheInfo = None
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
|
+
# Licensed under the MIT License.
|
|
3
|
+
|
|
4
|
+
from ..agents_model import AgentsModel
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
class ConfigResponseBase(AgentsModel):
|
|
8
|
+
"""Specifies Invoke response base, including response type.
|
|
9
|
+
|
|
10
|
+
:param response_type: Response type for invoke request
|
|
11
|
+
:type response_type: str
|
|
12
|
+
"""
|
|
13
|
+
|
|
14
|
+
response_type: str = None
|