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

from __future__ import annotations
from .jsonpayloadresponse import JSONPayloadResponse, JSONPayloadResponseTypedDict
from mistralai.client.types import BaseModel
from typing_extensions import TypedDict


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

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

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


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

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

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

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