"""
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License.
"""

from typing import Literal

from ....models import TabRequest
from ...invoke_activity import InvokeActivity


class TabSubmitInvokeActivity(InvokeActivity):
    """
    Tab submit invoke activity for tab/submit invokes.

    Represents an invoke activity when a tab submits data
    or handles user interaction.
    """

    name: Literal["tab/submit"] = "tab/submit"  #
    """The name of the operation associated with an invoke or event activity."""

    value: TabRequest
    """A value that is associated with the activity."""
