client: regenerate from hanzo-inc/cloud@60477ef158 (8.5.607)

Co-authored-by: Hanzo Dev <[email protected]>
This commit is contained in:
2026-10-04 08:26:01 +00:00
co-authored by Hanzo Dev
parent 69a1aa1707
commit dc0ca692a7
6 changed files with 16 additions and 12 deletions
+6 -6
View File
@@ -3264,7 +3264,7 @@ class AutoApi:
) -> AutoAutomation:
"""Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule.
Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule. A field the request omits is left alone; `project` or `model` sent as null (or \"\") clears it. Any change but `enabled` makes the caller the person it runs as from then on.
Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule. A field the request omits is left alone; `project` or `model` sent as null (or \"\") clears it. Any change but `enabled` makes the caller the person it runs as from then on. A draft is finished by saving its `instructions`: it becomes an automation in place, on unless `enabled` says otherwise.
:param id: ID is the automation, from the path. (required)
:type id: str
@@ -3335,7 +3335,7 @@ class AutoApi:
) -> ApiResponse[AutoAutomation]:
"""Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule.
Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule. A field the request omits is left alone; `project` or `model` sent as null (or \"\") clears it. Any change but `enabled` makes the caller the person it runs as from then on.
Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule. A field the request omits is left alone; `project` or `model` sent as null (or \"\") clears it. Any change but `enabled` makes the caller the person it runs as from then on. A draft is finished by saving its `instructions`: it becomes an automation in place, on unless `enabled` says otherwise.
:param id: ID is the automation, from the path. (required)
:type id: str
@@ -3406,7 +3406,7 @@ class AutoApi:
) -> RESTResponseType:
"""Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule.
Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule. A field the request omits is left alone; `project` or `model` sent as null (or \"\") clears it. Any change but `enabled` makes the caller the person it runs as from then on.
Changes an automation, for the person it runs as or an admin of the org: any field it was created with, and `enabled`, which arms or disarms its schedule. A field the request omits is left alone; `project` or `model` sent as null (or \"\") clears it. Any change but `enabled` makes the caller the person it runs as from then on. A draft is finished by saving its `instructions`: it becomes an automation in place, on unless `enabled` says otherwise.
:param id: ID is the automation, from the path. (required)
:type id: str
@@ -3843,7 +3843,7 @@ class AutoApi:
) -> AutoAutomation:
"""Creates an automation and arms its schedule.
Creates an automation and arms its schedule. It runs as the caller: their Dev run, in this org, each time it fires. `name` and `instructions` are required; no `schedule` runs it only on demand, and no `permissions` is ask: it proposes what it would do and changes nothing.
Creates an automation and arms its schedule. It runs as the caller: their Dev run, in this org, each time it fires. `name` and `instructions` are required; no `schedule` runs it only on demand, no `permissions` is ask: it proposes what it would do and changes nothing, and `enabled: false` creates it off, its schedule unarmed.
:param auto_automation_in: (required)
:type auto_automation_in: AutoAutomationIn
@@ -3910,7 +3910,7 @@ class AutoApi:
) -> ApiResponse[AutoAutomation]:
"""Creates an automation and arms its schedule.
Creates an automation and arms its schedule. It runs as the caller: their Dev run, in this org, each time it fires. `name` and `instructions` are required; no `schedule` runs it only on demand, and no `permissions` is ask: it proposes what it would do and changes nothing.
Creates an automation and arms its schedule. It runs as the caller: their Dev run, in this org, each time it fires. `name` and `instructions` are required; no `schedule` runs it only on demand, no `permissions` is ask: it proposes what it would do and changes nothing, and `enabled: false` creates it off, its schedule unarmed.
:param auto_automation_in: (required)
:type auto_automation_in: AutoAutomationIn
@@ -3977,7 +3977,7 @@ class AutoApi:
) -> RESTResponseType:
"""Creates an automation and arms its schedule.
Creates an automation and arms its schedule. It runs as the caller: their Dev run, in this org, each time it fires. `name` and `instructions` are required; no `schedule` runs it only on demand, and no `permissions` is ask: it proposes what it would do and changes nothing.
Creates an automation and arms its schedule. It runs as the caller: their Dev run, in this org, each time it fires. `name` and `instructions` are required; no `schedule` runs it only on demand, no `permissions` is ask: it proposes what it would do and changes nothing, and `enabled: false` creates it off, its schedule unarmed.
:param auto_automation_in: (required)
:type auto_automation_in: AutoAutomationIn
+3 -1
View File
@@ -29,6 +29,7 @@ class AutoAutomation(BaseModel):
AutoAutomation
""" # noqa: E501
created: Optional[StrictStr] = Field(default=None, description="Created and Updated are RFC 3339 UTC.")
draft: Optional[StrictBool] = Field(default=None, description="Draft is a flow with no step yet: it has no instructions, never runs, and becomes an automation when its instructions are saved.")
enabled: Optional[StrictBool] = Field(default=None, description="Enabled is whether its schedule is armed.")
id: Optional[StrictStr] = Field(default=None, description="ID is the automation's id, which is also its flow's.")
instructions: Optional[StrictStr] = Field(default=None, description="Instructions are what the agent is asked to do each run.")
@@ -41,7 +42,7 @@ class AutoAutomation(BaseModel):
project: Optional[StrictStr] = Field(default=None, description="Project is the Dev project the run works in, by its slug; null for none.")
schedule: Optional[AutoSchedule] = Field(default=None, description="Schedule is when it runs.")
updated: Optional[StrictStr] = None
__properties: ClassVar[List[str]] = ["created", "enabled", "id", "instructions", "last", "model", "name", "next", "notify", "permissions", "project", "schedule", "updated"]
__properties: ClassVar[List[str]] = ["created", "draft", "enabled", "id", "instructions", "last", "model", "name", "next", "notify", "permissions", "project", "schedule", "updated"]
model_config = ConfigDict(
populate_by_name=True,
@@ -101,6 +102,7 @@ class AutoAutomation(BaseModel):
_obj = cls.model_validate({
"created": obj.get("created"),
"draft": obj.get("draft"),
"enabled": obj.get("enabled"),
"id": obj.get("id"),
"instructions": obj.get("instructions"),
@@ -27,6 +27,7 @@ class AutoAutomationIn(BaseModel):
"""
AutoAutomationIn
""" # noqa: E501
enabled: Optional[StrictBool] = Field(default=None, description="Enabled arms its schedule. Absent is true.")
instructions: Optional[StrictStr] = Field(default=None, description="Instructions are what the agent is asked to do each run. Required.")
model: Optional[StrictStr] = Field(default=None, description="Model is the model id to think with. Optional; absent is the default.")
name: Optional[StrictStr] = Field(default=None, description="Name is what it is called. Required.")
@@ -34,7 +35,7 @@ class AutoAutomationIn(BaseModel):
permissions: Optional[StrictStr] = Field(default=None, description="Permissions is auto (works without stopping) or ask (proposes, changes nothing). Absent is ask.")
project: Optional[StrictStr] = Field(default=None, description="Project is a Dev project's slug to work in. Optional.")
schedule: Optional[AutoSchedule] = Field(default=None, description="Schedule is when it runs. Absent runs it only on demand.")
__properties: ClassVar[List[str]] = ["instructions", "model", "name", "notify", "permissions", "project", "schedule"]
__properties: ClassVar[List[str]] = ["enabled", "instructions", "model", "name", "notify", "permissions", "project", "schedule"]
model_config = ConfigDict(
populate_by_name=True,
@@ -90,6 +91,7 @@ class AutoAutomationIn(BaseModel):
return cls.model_validate(obj)
_obj = cls.model_validate({
"enabled": obj.get("enabled"),
"instructions": obj.get("instructions"),
"model": obj.get("model"),
"name": obj.get("name"),