# Generated by ariadne-codegen
# Source: metasrht/graphql/

from typing import Literal, Optional

from pydantic import Field

from .base_model import BaseModel
from .enums import SetupIntentStatus


class FinalizeSetupIntent(BaseModel):
    result: Optional["FinalizeSetupIntentResult"]


class FinalizeSetupIntentResult(BaseModel):
    typename__: Literal["SetupIntent", "StripeSetupIntent"] = Field(alias="__typename")
    status: SetupIntentStatus


FinalizeSetupIntent.model_rebuild()
