Skip to content
Open
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
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "5.0.0"
".": "5.1.0"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 163
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/droidrun/droidrun-cloud-a00f37a39074e0b00cf6a706aa69307a8ee8f7012966f71037085c5f0fa3ce39.yml
openapi_spec_hash: 8e7f2e32d8d7dfe18060c45f56d8cf48
configured_endpoints: 160
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/droidrun/droidrun-cloud-1f76a7dc8fca7f07cb386036f42d21a1124965c458c28a2efe03bb829609dff5.yml
openapi_spec_hash: 1f5262ae5849178b5dfd766537910ec5
config_hash: dcea68e3d1becafc8b349671e3a0763d
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 5.1.0 (2026-06-19)

Full Changelog: [v5.0.0...v5.1.0](https://github.com/droidrun/mobilerun-sdk-python/compare/v5.0.0...v5.1.0)

### Features

* **api:** api update ([458209a](https://github.com/droidrun/mobilerun-sdk-python/commit/458209a064d4be4eedfceab7f680bc9329e5de73))
* **api:** api update ([93a672c](https://github.com/droidrun/mobilerun-sdk-python/commit/93a672ceb48abc041a26ea744d797048ebc894b0))

## 5.0.0 (2026-06-18)

Full Changelog: [v3.2.0...v5.0.0](https://github.com/droidrun/mobilerun-sdk-python/compare/v3.2.0...v5.0.0)
Expand Down
19 changes: 0 additions & 19 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -709,25 +709,6 @@ Methods:

- <code title="get /timezones">client.workflows.timezones.<a href="./src/mobilerun_sdk/resources/workflows/timezones.py">list</a>() -> <a href="./src/mobilerun_sdk/types/workflows/timezone_list_response.py">TimezoneListResponse</a></code>

## Secrets

Types:

```python
from mobilerun_sdk.types.workflows import (
UserSecret,
SecretCreateResponse,
SecretListResponse,
SecretDeleteResponse,
)
```

Methods:

- <code title="post /secrets">client.workflows.secrets.<a href="./src/mobilerun_sdk/resources/workflows/secrets.py">create</a>(\*\*<a href="src/mobilerun_sdk/types/workflows/secret_create_params.py">params</a>) -> <a href="./src/mobilerun_sdk/types/workflows/secret_create_response.py">SecretCreateResponse</a></code>
- <code title="get /secrets">client.workflows.secrets.<a href="./src/mobilerun_sdk/resources/workflows/secrets.py">list</a>() -> <a href="./src/mobilerun_sdk/types/workflows/secret_list_response.py">SecretListResponse</a></code>
- <code title="delete /secrets/{secretId}">client.workflows.secrets.<a href="./src/mobilerun_sdk/resources/workflows/secrets.py">delete</a>(secret_id) -> <a href="./src/mobilerun_sdk/types/workflows/secret_delete_response.py">SecretDeleteResponse</a></code>

# Webhooks

Types:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "mobilerun-sdk"
version = "5.0.0"
version = "5.1.0"
description = "The official Python library for the mobilerun API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/mobilerun_sdk/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "mobilerun_sdk"
__version__ = "5.0.0" # x-release-please-version
__version__ = "5.1.0" # x-release-please-version
14 changes: 0 additions & 14 deletions src/mobilerun_sdk/resources/workflows/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,6 @@
ActionsResourceWithStreamingResponse,
AsyncActionsResourceWithStreamingResponse,
)
from .secrets import (
SecretsResource,
AsyncSecretsResource,
SecretsResourceWithRawResponse,
AsyncSecretsResourceWithRawResponse,
SecretsResourceWithStreamingResponse,
AsyncSecretsResourceWithStreamingResponse,
)
from .triggers import (
TriggersResource,
AsyncTriggersResource,
Expand Down Expand Up @@ -116,12 +108,6 @@
"AsyncTimezonesResourceWithRawResponse",
"TimezonesResourceWithStreamingResponse",
"AsyncTimezonesResourceWithStreamingResponse",
"SecretsResource",
"AsyncSecretsResource",
"SecretsResourceWithRawResponse",
"AsyncSecretsResourceWithRawResponse",
"SecretsResourceWithStreamingResponse",
"AsyncSecretsResourceWithStreamingResponse",
"WorkflowsResource",
"AsyncWorkflowsResource",
"WorkflowsResourceWithRawResponse",
Expand Down
8 changes: 0 additions & 8 deletions src/mobilerun_sdk/resources/workflows/events/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ def dry_run(
self,
*,
event_type: str,
device_id: str | Omit = omit,
payload: Dict[str, Optional[object]] | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
Expand Down Expand Up @@ -88,7 +87,6 @@ def dry_run(
body=maybe_transform(
{
"event_type": event_type,
"device_id": device_id,
"payload": payload,
},
event_dry_run_params.EventDryRunParams,
Expand All @@ -103,7 +101,6 @@ def ingest(
self,
*,
event_type: str,
device_id: str | Omit = omit,
payload: Dict[str, Optional[object]] | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
Expand All @@ -130,7 +127,6 @@ def ingest(
body=maybe_transform(
{
"event_type": event_type,
"device_id": device_id,
"payload": payload,
},
event_ingest_params.EventIngestParams,
Expand Down Expand Up @@ -170,7 +166,6 @@ async def dry_run(
self,
*,
event_type: str,
device_id: str | Omit = omit,
payload: Dict[str, Optional[object]] | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
Expand Down Expand Up @@ -198,7 +193,6 @@ async def dry_run(
body=await async_maybe_transform(
{
"event_type": event_type,
"device_id": device_id,
"payload": payload,
},
event_dry_run_params.EventDryRunParams,
Expand All @@ -213,7 +207,6 @@ async def ingest(
self,
*,
event_type: str,
device_id: str | Omit = omit,
payload: Dict[str, Optional[object]] | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
Expand All @@ -240,7 +233,6 @@ async def ingest(
body=await async_maybe_transform(
{
"event_type": event_type,
"device_id": device_id,
"payload": payload,
},
event_ingest_params.EventIngestParams,
Expand Down
4 changes: 2 additions & 2 deletions src/mobilerun_sdk/resources/workflows/executions.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def list(
page: int | Omit = omit,
page_size: int | Omit = omit,
search: str | Omit = omit,
status: Literal["pending", "running", "success", "failed"] | Omit = omit,
status: Literal["pending", "running", "success", "failed", "cancelled", "skipped", "invalid"] | Omit = omit,
to: Optional[str] | Omit = omit,
trigger_id: str | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
Expand Down Expand Up @@ -247,7 +247,7 @@ async def list(
page: int | Omit = omit,
page_size: int | Omit = omit,
search: str | Omit = omit,
status: Literal["pending", "running", "success", "failed"] | Omit = omit,
status: Literal["pending", "running", "success", "failed", "cancelled", "skipped", "invalid"] | Omit = omit,
to: Optional[str] | Omit = omit,
trigger_id: str | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
Expand Down
4 changes: 0 additions & 4 deletions src/mobilerun_sdk/resources/workflows/flows/actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ def add(
position: int,
children: Iterable[FlowChildActionInputParam] | Omit = omit,
continue_on_error: bool | Omit = omit,
device_id: str | Omit = omit,
name_override: str | Omit = omit,
overrides: Optional[FlowActionOverridesParam] | Omit = omit,
parent_flow_action_id: Optional[str] | Omit = omit,
Expand Down Expand Up @@ -122,7 +121,6 @@ def add(
"position": position,
"children": children,
"continue_on_error": continue_on_error,
"device_id": device_id,
"name_override": name_override,
"overrides": overrides,
"parent_flow_action_id": parent_flow_action_id,
Expand Down Expand Up @@ -268,7 +266,6 @@ async def add(
position: int,
children: Iterable[FlowChildActionInputParam] | Omit = omit,
continue_on_error: bool | Omit = omit,
device_id: str | Omit = omit,
name_override: str | Omit = omit,
overrides: Optional[FlowActionOverridesParam] | Omit = omit,
parent_flow_action_id: Optional[str] | Omit = omit,
Expand Down Expand Up @@ -301,7 +298,6 @@ async def add(
"position": position,
"children": children,
"continue_on_error": continue_on_error,
"device_id": device_id,
"name_override": name_override,
"overrides": overrides,
"parent_flow_action_id": parent_flow_action_id,
Expand Down
52 changes: 49 additions & 3 deletions src/mobilerun_sdk/resources/workflows/flows/flows.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
ActionsResourceWithStreamingResponse,
AsyncActionsResourceWithStreamingResponse,
)
from ...._types import Body, Omit, Query, Headers, NotGiven, omit, not_given
from ...._types import Body, Omit, Query, Headers, NotGiven, SequenceNotStr, omit, not_given
from ...._utils import path_template, maybe_transform, async_maybe_transform
from ...._compat import cached_property
from ...._resource import SyncAPIResource, AsyncAPIResource
Expand Down Expand Up @@ -71,7 +71,11 @@ def create(
cooldown_scope: Literal["flow", "device"] | Omit = omit,
cooldown_seconds: Optional[int] | Omit = omit,
description: str | Omit = omit,
device_ids: SequenceNotStr[str] | Omit = omit,
enabled: bool | Omit = omit,
notify_on_failure: bool | Omit = omit,
notify_on_success: bool | Omit = omit,
notify_webhook_id: Optional[str] | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
Expand Down Expand Up @@ -101,7 +105,11 @@ def create(
"cooldown_scope": cooldown_scope,
"cooldown_seconds": cooldown_seconds,
"description": description,
"device_ids": device_ids,
"enabled": enabled,
"notify_on_failure": notify_on_failure,
"notify_on_success": notify_on_success,
"notify_webhook_id": notify_webhook_id,
},
flow_create_params.FlowCreateParams,
),
Expand Down Expand Up @@ -151,8 +159,12 @@ def update(
cooldown_scope: Literal["flow", "device"] | Omit = omit,
cooldown_seconds: Optional[int] | Omit = omit,
description: str | Omit = omit,
device_ids: SequenceNotStr[str] | Omit = omit,
enabled: bool | Omit = omit,
name: str | Omit = omit,
notify_on_failure: bool | Omit = omit,
notify_on_success: bool | Omit = omit,
notify_webhook_id: Optional[str] | Omit = omit,
trigger_id: str | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
Expand Down Expand Up @@ -182,8 +194,12 @@ def update(
"cooldown_scope": cooldown_scope,
"cooldown_seconds": cooldown_seconds,
"description": description,
"device_ids": device_ids,
"enabled": enabled,
"name": name,
"notify_on_failure": notify_on_failure,
"notify_on_success": notify_on_success,
"notify_webhook_id": notify_webhook_id,
"trigger_id": trigger_id,
},
flow_update_params.FlowUpdateParams,
Expand Down Expand Up @@ -285,6 +301,7 @@ def clone(
self,
flow_id: str,
*,
device_ids: SequenceNotStr[str] | Omit = omit,
name: str | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
Expand All @@ -309,7 +326,13 @@ def clone(
raise ValueError(f"Expected a non-empty value for `flow_id` but received {flow_id!r}")
return self._post(
path_template("/flows/{flow_id}/clone", flow_id=flow_id),
body=maybe_transform({"name": name}, flow_clone_params.FlowCloneParams),
body=maybe_transform(
{
"device_ids": device_ids,
"name": name,
},
flow_clone_params.FlowCloneParams,
),
options=make_request_options(
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
),
Expand Down Expand Up @@ -385,7 +408,11 @@ async def create(
cooldown_scope: Literal["flow", "device"] | Omit = omit,
cooldown_seconds: Optional[int] | Omit = omit,
description: str | Omit = omit,
device_ids: SequenceNotStr[str] | Omit = omit,
enabled: bool | Omit = omit,
notify_on_failure: bool | Omit = omit,
notify_on_success: bool | Omit = omit,
notify_webhook_id: Optional[str] | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
Expand Down Expand Up @@ -415,7 +442,11 @@ async def create(
"cooldown_scope": cooldown_scope,
"cooldown_seconds": cooldown_seconds,
"description": description,
"device_ids": device_ids,
"enabled": enabled,
"notify_on_failure": notify_on_failure,
"notify_on_success": notify_on_success,
"notify_webhook_id": notify_webhook_id,
},
flow_create_params.FlowCreateParams,
),
Expand Down Expand Up @@ -465,8 +496,12 @@ async def update(
cooldown_scope: Literal["flow", "device"] | Omit = omit,
cooldown_seconds: Optional[int] | Omit = omit,
description: str | Omit = omit,
device_ids: SequenceNotStr[str] | Omit = omit,
enabled: bool | Omit = omit,
name: str | Omit = omit,
notify_on_failure: bool | Omit = omit,
notify_on_success: bool | Omit = omit,
notify_webhook_id: Optional[str] | Omit = omit,
trigger_id: str | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
Expand Down Expand Up @@ -496,8 +531,12 @@ async def update(
"cooldown_scope": cooldown_scope,
"cooldown_seconds": cooldown_seconds,
"description": description,
"device_ids": device_ids,
"enabled": enabled,
"name": name,
"notify_on_failure": notify_on_failure,
"notify_on_success": notify_on_success,
"notify_webhook_id": notify_webhook_id,
"trigger_id": trigger_id,
},
flow_update_params.FlowUpdateParams,
Expand Down Expand Up @@ -599,6 +638,7 @@ async def clone(
self,
flow_id: str,
*,
device_ids: SequenceNotStr[str] | Omit = omit,
name: str | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
Expand All @@ -623,7 +663,13 @@ async def clone(
raise ValueError(f"Expected a non-empty value for `flow_id` but received {flow_id!r}")
return await self._post(
path_template("/flows/{flow_id}/clone", flow_id=flow_id),
body=await async_maybe_transform({"name": name}, flow_clone_params.FlowCloneParams),
body=await async_maybe_transform(
{
"device_ids": device_ids,
"name": name,
},
flow_clone_params.FlowCloneParams,
),
options=make_request_options(
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
),
Expand Down
Loading