"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
# @generated-id: 8b4561baa4ac

from __future__ import annotations
from .jsonpayload_input import JSONPayloadInput, JSONPayloadInputTypedDict
from mistralai.workflows.worker_client.types import BaseModel
from typing_extensions import TypedDict


class WorkflowExecutionCompletedAttributesInputTypedDict(TypedDict):
    r"""Attributes for workflow execution completed events."""

    task_id: str
    r"""Unique identifier for the task within the workflow execution."""
    result: JSONPayloadInputTypedDict
    r"""A payload containing arbitrary JSON data.

    Used for complete state snapshots or final results.
    """


class WorkflowExecutionCompletedAttributesInput(BaseModel):
    r"""Attributes for workflow execution completed events."""

    task_id: str
    r"""Unique identifier for the task within the workflow execution."""

    result: JSONPayloadInput
    r"""A payload containing arbitrary JSON data.

    Used for complete state snapshots or final results.
    """
