Skip to content

Commit

Permalink
Release 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Jan 22, 2025
1 parent b8e2db8 commit 8adb157
Show file tree
Hide file tree
Showing 10 changed files with 69 additions and 12 deletions.
4 changes: 4 additions & 0 deletions src/vapi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -708,6 +708,8 @@
UpdateWorkflowBlockDto,
UpdateWorkflowBlockDtoMessagesItem,
UpdateWorkflowBlockDtoStepsItem,
UpdateWorkflowDto,
UpdateWorkflowDtoNodesItem,
UpdateXAiCredentialDto,
User,
UserMessage,
Expand Down Expand Up @@ -1537,6 +1539,8 @@
"UpdateWorkflowBlockDto",
"UpdateWorkflowBlockDtoMessagesItem",
"UpdateWorkflowBlockDtoStepsItem",
"UpdateWorkflowDto",
"UpdateWorkflowDtoNodesItem",
"UpdateXAiCredentialDto",
"User",
"UserMessage",
Expand Down
4 changes: 4 additions & 0 deletions src/vapi/types/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -711,6 +711,8 @@
from .update_workflow_block_dto import UpdateWorkflowBlockDto
from .update_workflow_block_dto_messages_item import UpdateWorkflowBlockDtoMessagesItem
from .update_workflow_block_dto_steps_item import UpdateWorkflowBlockDtoStepsItem
from .update_workflow_dto import UpdateWorkflowDto
from .update_workflow_dto_nodes_item import UpdateWorkflowDtoNodesItem
from .update_x_ai_credential_dto import UpdateXAiCredentialDto
from .user import User
from .user_message import UserMessage
Expand Down Expand Up @@ -1446,6 +1448,8 @@
"UpdateWorkflowBlockDto",
"UpdateWorkflowBlockDtoMessagesItem",
"UpdateWorkflowBlockDtoStepsItem",
"UpdateWorkflowDto",
"UpdateWorkflowDtoNodesItem",
"UpdateXAiCredentialDto",
"User",
"UserMessage",
Expand Down
6 changes: 4 additions & 2 deletions src/vapi/types/azure_credential_region.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@
AzureCredentialRegion = typing.Union[
typing.Literal[
"australia",
"canada",
"canadaeast",
"canadacentral",
"eastus2",
"eastus",
"france",
"india",
"japan",
"japaneast",
"japanwest",
"uaenorth",
"northcentralus",
"norway",
Expand Down
6 changes: 4 additions & 2 deletions src/vapi/types/azure_open_ai_credential_region.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@
AzureOpenAiCredentialRegion = typing.Union[
typing.Literal[
"australia",
"canada",
"canadaeast",
"canadacentral",
"eastus2",
"eastus",
"france",
"india",
"japan",
"japaneast",
"japanwest",
"uaenorth",
"northcentralus",
"norway",
Expand Down
6 changes: 4 additions & 2 deletions src/vapi/types/create_azure_credential_dto_region.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@
CreateAzureCredentialDtoRegion = typing.Union[
typing.Literal[
"australia",
"canada",
"canadaeast",
"canadacentral",
"eastus2",
"eastus",
"france",
"india",
"japan",
"japaneast",
"japanwest",
"uaenorth",
"northcentralus",
"norway",
Expand Down
6 changes: 4 additions & 2 deletions src/vapi/types/create_azure_open_ai_credential_dto_region.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@
CreateAzureOpenAiCredentialDtoRegion = typing.Union[
typing.Literal[
"australia",
"canada",
"canadaeast",
"canadacentral",
"eastus2",
"eastus",
"france",
"india",
"japan",
"japaneast",
"japanwest",
"uaenorth",
"northcentralus",
"norway",
Expand Down
6 changes: 4 additions & 2 deletions src/vapi/types/update_azure_credential_dto_region.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@
UpdateAzureCredentialDtoRegion = typing.Union[
typing.Literal[
"australia",
"canada",
"canadaeast",
"canadacentral",
"eastus2",
"eastus",
"france",
"india",
"japan",
"japaneast",
"japanwest",
"uaenorth",
"northcentralus",
"norway",
Expand Down
6 changes: 4 additions & 2 deletions src/vapi/types/update_azure_open_ai_credential_dto_region.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@
UpdateAzureOpenAiCredentialDtoRegion = typing.Union[
typing.Literal[
"australia",
"canada",
"canadaeast",
"canadacentral",
"eastus2",
"eastus",
"france",
"india",
"japan",
"japaneast",
"japanwest",
"uaenorth",
"northcentralus",
"norway",
Expand Down
29 changes: 29 additions & 0 deletions src/vapi/types/update_workflow_dto.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# This file was auto-generated by Fern from our API Definition.

from __future__ import annotations
from ..core.pydantic_utilities import UniversalBaseModel
from .create_workflow_dto import CreateWorkflowDto
import typing
from .update_workflow_dto_nodes_item import UpdateWorkflowDtoNodesItem
from .edge import Edge
from ..core.pydantic_utilities import IS_PYDANTIC_V2
import pydantic
from ..core.pydantic_utilities import update_forward_refs


class UpdateWorkflowDto(UniversalBaseModel):
nodes: typing.Optional[typing.List[UpdateWorkflowDtoNodesItem]] = None
name: typing.Optional[str] = None
edges: typing.Optional[typing.List[Edge]] = None

if IS_PYDANTIC_V2:
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
else:

class Config:
frozen = True
smart_union = True
extra = pydantic.Extra.allow


update_forward_refs(CreateWorkflowDto, UpdateWorkflowDto=UpdateWorkflowDto)
8 changes: 8 additions & 0 deletions src/vapi/types/update_workflow_dto_nodes_item.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# This file was auto-generated by Fern from our API Definition.

import typing
from .say import Say
from .gather import Gather
from .create_workflow_dto import CreateWorkflowDto

UpdateWorkflowDtoNodesItem = typing.Union[Say, Gather, typing.Optional[typing.Any], CreateWorkflowDto]

0 comments on commit 8adb157

Please sign in to comment.