Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ dynamic = ["version"]

[tool.poetry]
name = "pipedream"
version = "1.1.9"
version = "1.1.10"
description = ""
readme = "README.md"
authors = []
Expand Down
4 changes: 2 additions & 2 deletions src/pipedream/core/client_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ def __init__(

def get_headers(self) -> typing.Dict[str, str]:
headers: typing.Dict[str, str] = {
"User-Agent": "pipedream/1.1.9",
"User-Agent": "pipedream/1.1.10",
"X-Fern-Language": "Python",
"X-Fern-SDK-Name": "pipedream",
"X-Fern-SDK-Version": "1.1.9",
"X-Fern-SDK-Version": "1.1.10",
**(self.get_custom_headers() or {}),
}
if self._project_environment is not None:
Expand Down
3 changes: 3 additions & 0 deletions src/pipedream/types/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
from .configurable_prop_data_store import ConfigurablePropDataStore
from .configurable_prop_db import ConfigurablePropDb
from .configurable_prop_dir import ConfigurablePropDir
from .configurable_prop_dir_access_mode import ConfigurablePropDirAccessMode
from .configurable_prop_discord import ConfigurablePropDiscord
from .configurable_prop_discord_channel import ConfigurablePropDiscordChannel
from .configurable_prop_discord_channel_array import ConfigurablePropDiscordChannelArray
Expand Down Expand Up @@ -194,6 +195,7 @@
"ConfigurablePropDataStore": ".configurable_prop_data_store",
"ConfigurablePropDb": ".configurable_prop_db",
"ConfigurablePropDir": ".configurable_prop_dir",
"ConfigurablePropDirAccessMode": ".configurable_prop_dir_access_mode",
"ConfigurablePropDiscord": ".configurable_prop_discord",
"ConfigurablePropDiscordChannel": ".configurable_prop_discord_channel",
"ConfigurablePropDiscordChannelArray": ".configurable_prop_discord_channel_array",
Expand Down Expand Up @@ -379,6 +381,7 @@ def __dir__():
"ConfigurablePropDataStore",
"ConfigurablePropDb",
"ConfigurablePropDir",
"ConfigurablePropDirAccessMode",
"ConfigurablePropDiscord",
"ConfigurablePropDiscordChannel",
"ConfigurablePropDiscordChannelArray",
Expand Down
5 changes: 5 additions & 0 deletions src/pipedream/types/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ class Account(UniversalBaseModel):
The date and time the account was last updated, an ISO 8601 formatted string
"""

authorized_scopes: typing.Optional[typing.List[str]] = pydantic.Field(default=None)
"""
The OAuth scopes effectively granted to this account. Empty for non-OAuth apps.
"""

credentials: typing.Optional[AccountCredentials] = pydantic.Field(default=None)
"""
The credentials associated with the account, if the `include_credentials` parameter was set to true in the request (only applicable for BYOA apps). In addition to the well-known OAuth fields listed below, this object may contain app-specific custom fields (e.g. `base_url`).
Expand Down
5 changes: 5 additions & 0 deletions src/pipedream/types/configurable_prop.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
from .configurable_prop_alert_type import ConfigurablePropAlertType
from .configurable_prop_any_options_item import ConfigurablePropAnyOptionsItem
from .configurable_prop_boolean_options_item import ConfigurablePropBooleanOptionsItem
from .configurable_prop_dir_access_mode import ConfigurablePropDirAccessMode
from .configurable_prop_integer_array_options_item import ConfigurablePropIntegerArrayOptionsItem
from .configurable_prop_integer_options_item import ConfigurablePropIntegerOptionsItem
from .configurable_prop_object_options_item import ConfigurablePropObjectOptionsItem
Expand Down Expand Up @@ -186,6 +187,10 @@ class ConfigurableProp_Dir(UniversalBaseModel):
"""

type: typing.Literal["dir"] = "dir"
access_mode: typing_extensions.Annotated[
typing.Optional[ConfigurablePropDirAccessMode], FieldMetadata(alias="accessMode")
] = None
sync: typing.Optional[bool] = None
name: str
label: typing.Optional[str] = None
description: typing.Optional[str] = None
Expand Down
11 changes: 11 additions & 0 deletions src/pipedream/types/configurable_prop_dir.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,22 @@
import typing

import pydantic
import typing_extensions
from ..core.pydantic_utilities import IS_PYDANTIC_V2
from ..core.serialization import FieldMetadata
from .configurable_prop_base import ConfigurablePropBase
from .configurable_prop_dir_access_mode import ConfigurablePropDirAccessMode


class ConfigurablePropDir(ConfigurablePropBase):
access_mode: typing_extensions.Annotated[
typing.Optional[ConfigurablePropDirAccessMode], FieldMetadata(alias="accessMode")
] = None
sync: typing.Optional[bool] = pydantic.Field(default=None)
"""
If true, the component's /tmp directory is synchronized with File Stash
"""

if IS_PYDANTIC_V2:
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
else:
Expand Down
5 changes: 5 additions & 0 deletions src/pipedream/types/configurable_prop_dir_access_mode.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# This file was auto-generated by Fern from our API Definition.

import typing

ConfigurablePropDirAccessMode = typing.Union[typing.Literal["read", "write", "read-write"], typing.Any]
Loading