Skip to content

Commit 8adb157

Browse files
committed
Release 0.4.0
1 parent b8e2db8 commit 8adb157

10 files changed

+69
-12
lines changed

src/vapi/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -708,6 +708,8 @@
708708
UpdateWorkflowBlockDto,
709709
UpdateWorkflowBlockDtoMessagesItem,
710710
UpdateWorkflowBlockDtoStepsItem,
711+
UpdateWorkflowDto,
712+
UpdateWorkflowDtoNodesItem,
711713
UpdateXAiCredentialDto,
712714
User,
713715
UserMessage,
@@ -1537,6 +1539,8 @@
15371539
"UpdateWorkflowBlockDto",
15381540
"UpdateWorkflowBlockDtoMessagesItem",
15391541
"UpdateWorkflowBlockDtoStepsItem",
1542+
"UpdateWorkflowDto",
1543+
"UpdateWorkflowDtoNodesItem",
15401544
"UpdateXAiCredentialDto",
15411545
"User",
15421546
"UserMessage",

src/vapi/types/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -711,6 +711,8 @@
711711
from .update_workflow_block_dto import UpdateWorkflowBlockDto
712712
from .update_workflow_block_dto_messages_item import UpdateWorkflowBlockDtoMessagesItem
713713
from .update_workflow_block_dto_steps_item import UpdateWorkflowBlockDtoStepsItem
714+
from .update_workflow_dto import UpdateWorkflowDto
715+
from .update_workflow_dto_nodes_item import UpdateWorkflowDtoNodesItem
714716
from .update_x_ai_credential_dto import UpdateXAiCredentialDto
715717
from .user import User
716718
from .user_message import UserMessage
@@ -1446,6 +1448,8 @@
14461448
"UpdateWorkflowBlockDto",
14471449
"UpdateWorkflowBlockDtoMessagesItem",
14481450
"UpdateWorkflowBlockDtoStepsItem",
1451+
"UpdateWorkflowDto",
1452+
"UpdateWorkflowDtoNodesItem",
14491453
"UpdateXAiCredentialDto",
14501454
"User",
14511455
"UserMessage",

src/vapi/types/azure_credential_region.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@
55
AzureCredentialRegion = typing.Union[
66
typing.Literal[
77
"australia",
8-
"canada",
8+
"canadaeast",
9+
"canadacentral",
910
"eastus2",
1011
"eastus",
1112
"france",
1213
"india",
13-
"japan",
14+
"japaneast",
15+
"japanwest",
1416
"uaenorth",
1517
"northcentralus",
1618
"norway",

src/vapi/types/azure_open_ai_credential_region.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@
55
AzureOpenAiCredentialRegion = typing.Union[
66
typing.Literal[
77
"australia",
8-
"canada",
8+
"canadaeast",
9+
"canadacentral",
910
"eastus2",
1011
"eastus",
1112
"france",
1213
"india",
13-
"japan",
14+
"japaneast",
15+
"japanwest",
1416
"uaenorth",
1517
"northcentralus",
1618
"norway",

src/vapi/types/create_azure_credential_dto_region.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@
55
CreateAzureCredentialDtoRegion = typing.Union[
66
typing.Literal[
77
"australia",
8-
"canada",
8+
"canadaeast",
9+
"canadacentral",
910
"eastus2",
1011
"eastus",
1112
"france",
1213
"india",
13-
"japan",
14+
"japaneast",
15+
"japanwest",
1416
"uaenorth",
1517
"northcentralus",
1618
"norway",

src/vapi/types/create_azure_open_ai_credential_dto_region.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@
55
CreateAzureOpenAiCredentialDtoRegion = typing.Union[
66
typing.Literal[
77
"australia",
8-
"canada",
8+
"canadaeast",
9+
"canadacentral",
910
"eastus2",
1011
"eastus",
1112
"france",
1213
"india",
13-
"japan",
14+
"japaneast",
15+
"japanwest",
1416
"uaenorth",
1517
"northcentralus",
1618
"norway",

src/vapi/types/update_azure_credential_dto_region.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@
55
UpdateAzureCredentialDtoRegion = typing.Union[
66
typing.Literal[
77
"australia",
8-
"canada",
8+
"canadaeast",
9+
"canadacentral",
910
"eastus2",
1011
"eastus",
1112
"france",
1213
"india",
13-
"japan",
14+
"japaneast",
15+
"japanwest",
1416
"uaenorth",
1517
"northcentralus",
1618
"norway",

src/vapi/types/update_azure_open_ai_credential_dto_region.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@
55
UpdateAzureOpenAiCredentialDtoRegion = typing.Union[
66
typing.Literal[
77
"australia",
8-
"canada",
8+
"canadaeast",
9+
"canadacentral",
910
"eastus2",
1011
"eastus",
1112
"france",
1213
"india",
13-
"japan",
14+
"japaneast",
15+
"japanwest",
1416
"uaenorth",
1517
"northcentralus",
1618
"norway",
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# This file was auto-generated by Fern from our API Definition.
2+
3+
from __future__ import annotations
4+
from ..core.pydantic_utilities import UniversalBaseModel
5+
from .create_workflow_dto import CreateWorkflowDto
6+
import typing
7+
from .update_workflow_dto_nodes_item import UpdateWorkflowDtoNodesItem
8+
from .edge import Edge
9+
from ..core.pydantic_utilities import IS_PYDANTIC_V2
10+
import pydantic
11+
from ..core.pydantic_utilities import update_forward_refs
12+
13+
14+
class UpdateWorkflowDto(UniversalBaseModel):
15+
nodes: typing.Optional[typing.List[UpdateWorkflowDtoNodesItem]] = None
16+
name: typing.Optional[str] = None
17+
edges: typing.Optional[typing.List[Edge]] = None
18+
19+
if IS_PYDANTIC_V2:
20+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
21+
else:
22+
23+
class Config:
24+
frozen = True
25+
smart_union = True
26+
extra = pydantic.Extra.allow
27+
28+
29+
update_forward_refs(CreateWorkflowDto, UpdateWorkflowDto=UpdateWorkflowDto)
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# This file was auto-generated by Fern from our API Definition.
2+
3+
import typing
4+
from .say import Say
5+
from .gather import Gather
6+
from .create_workflow_dto import CreateWorkflowDto
7+
8+
UpdateWorkflowDtoNodesItem = typing.Union[Say, Gather, typing.Optional[typing.Any], CreateWorkflowDto]

0 commit comments

Comments
 (0)