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
14 changes: 5 additions & 9 deletions lib/archastro/generated/channels/api_activity_feed_channel.ex
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (c) 2026 ArchAstro Inc. Licensed under the MIT License.
# This file is auto-generated by @archastro/sdk-generator. Do not edit.
# Content hash: b9a4c11a084b
# Content hash: 8aea6d90f733

defmodule ArchAstro.SDK.Types.ChannelPayloads.ApiActivityFeedChannel.ListEntries.Input do
@moduledoc """
Expand Down Expand Up @@ -266,7 +266,6 @@ defmodule ArchAstro.SDK.Types.ChannelPayloads.ApiActivityFeedChannel.ListEntries
participants:
[
ArchAstro.SDK.Types.ChannelPayloads.ApiActivityFeedChannel.ListEntries.Response.Nested.EntriesItemAgentVariant2SourceSolutionCurrentSolutionTemplatesItemDetailsInvokeContractParticipantsItem.t()
| nil
]
| nil
| ArchAstro.SDK.Unset.t(),
Expand All @@ -281,9 +280,8 @@ defmodule ArchAstro.SDK.Types.ChannelPayloads.ApiActivityFeedChannel.ListEntries
{:optional,
{:nullable,
{:list,
{:nullable,
{:ref,
ArchAstro.SDK.Types.ChannelPayloads.ApiActivityFeedChannel.ListEntries.Response.Nested.EntriesItemAgentVariant2SourceSolutionCurrentSolutionTemplatesItemDetailsInvokeContractParticipantsItem}}}}}},
{:ref,
ArchAstro.SDK.Types.ChannelPayloads.ApiActivityFeedChannel.ListEntries.Response.Nested.EntriesItemAgentVariant2SourceSolutionCurrentSolutionTemplatesItemDetailsInvokeContractParticipantsItem}}}}},
prefills:
{"prefills",
{:ref,
Expand Down Expand Up @@ -602,7 +600,6 @@ defmodule ArchAstro.SDK.Types.ChannelPayloads.ApiActivityFeedChannel.ListEntries
participants:
[
ArchAstro.SDK.Types.ChannelPayloads.ApiActivityFeedChannel.ListEntries.Response.Nested.EntriesItemAgentVariant2SourceSolutionSolutionTemplatesItemDetailsInvokeContractParticipantsItem.t()
| nil
]
| nil
| ArchAstro.SDK.Unset.t(),
Expand All @@ -617,9 +614,8 @@ defmodule ArchAstro.SDK.Types.ChannelPayloads.ApiActivityFeedChannel.ListEntries
{:optional,
{:nullable,
{:list,
{:nullable,
{:ref,
ArchAstro.SDK.Types.ChannelPayloads.ApiActivityFeedChannel.ListEntries.Response.Nested.EntriesItemAgentVariant2SourceSolutionSolutionTemplatesItemDetailsInvokeContractParticipantsItem}}}}}},
{:ref,
ArchAstro.SDK.Types.ChannelPayloads.ApiActivityFeedChannel.ListEntries.Response.Nested.EntriesItemAgentVariant2SourceSolutionSolutionTemplatesItemDetailsInvokeContractParticipantsItem}}}}},
prefills:
{"prefills",
{:ref,
Expand Down
199 changes: 114 additions & 85 deletions lib/archastro/generated/channels/api_chat_channel.ex

Large diffs are not rendered by default.

14 changes: 13 additions & 1 deletion lib/archastro/generated/channels/api_tasks_channel.ex
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (c) 2026 ArchAstro Inc. Licensed under the MIT License.
# This file is auto-generated by @archastro/sdk-generator. Do not edit.
# Content hash: cdad5dfdda2e
# Content hash: e5ba28f823f7

defmodule ArchAstro.SDK.Types.ChannelPayloads.ApiTasksChannel.TasksUpdated.Payload.Nested.TasksItemCreatedByActorProfilePicture do
@moduledoc """
Expand Down Expand Up @@ -198,6 +198,7 @@ defmodule ArchAstro.SDK.Types.ChannelPayloads.ApiTasksChannel.TasksUpdated.Paylo
current_lease: :__archastro_unset__,
description: :__archastro_unset__,
due_date: :__archastro_unset__,
epic: :__archastro_unset__,
id: nil,
is_blocked: :__archastro_unset__,
links: :__archastro_unset__,
Expand All @@ -210,6 +211,9 @@ defmodule ArchAstro.SDK.Types.ChannelPayloads.ApiTasksChannel.TasksUpdated.Paylo
parent: :__archastro_unset__,
priority: :__archastro_unset__,
sandbox: :__archastro_unset__,
source_id: :__archastro_unset__,
source_scope: :__archastro_unset__,
source_type: :__archastro_unset__,
status: nil,
subtasks_count: :__archastro_unset__,
tags: :__archastro_unset__,
Expand All @@ -236,6 +240,7 @@ defmodule ArchAstro.SDK.Types.ChannelPayloads.ApiTasksChannel.TasksUpdated.Paylo
| ArchAstro.SDK.Unset.t(),
description: String.t() | nil | ArchAstro.SDK.Unset.t(),
due_date: DateTime.t() | nil | ArchAstro.SDK.Unset.t(),
epic: String.t() | nil | ArchAstro.SDK.Unset.t(),
id: String.t(),
is_blocked: boolean() | ArchAstro.SDK.Unset.t(),
links: %{optional(String.t()) => ArchAstro.SDK.JSON.t()} | ArchAstro.SDK.Unset.t(),
Expand All @@ -251,6 +256,9 @@ defmodule ArchAstro.SDK.Types.ChannelPayloads.ApiTasksChannel.TasksUpdated.Paylo
parent: String.t() | nil | ArchAstro.SDK.Unset.t(),
priority: integer() | ArchAstro.SDK.Unset.t(),
sandbox: String.t() | nil | ArchAstro.SDK.Unset.t(),
source_id: String.t() | nil | ArchAstro.SDK.Unset.t(),
source_scope: String.t() | nil | ArchAstro.SDK.Unset.t(),
source_type: String.t() | nil | ArchAstro.SDK.Unset.t(),
status: String.t(),
subtasks_count: integer() | ArchAstro.SDK.Unset.t(),
tags: [String.t()] | ArchAstro.SDK.Unset.t(),
Expand Down Expand Up @@ -282,6 +290,7 @@ defmodule ArchAstro.SDK.Types.ChannelPayloads.ApiTasksChannel.TasksUpdated.Paylo
ArchAstro.SDK.Types.ChannelPayloads.ApiTasksChannel.TasksUpdated.Payload.Nested.TasksItemCurrentLease}}}},
description: {"description", {:optional, {:nullable, :string}}},
due_date: {"due_date", {:optional, {:nullable, :datetime}}},
epic: {"epic", {:optional, {:nullable, :string}}},
id: {"id", :string},
is_blocked: {"is_blocked", {:optional, :boolean}},
links: {"links", {:optional, {:map, :unknown}}},
Expand All @@ -299,6 +308,9 @@ defmodule ArchAstro.SDK.Types.ChannelPayloads.ApiTasksChannel.TasksUpdated.Paylo
parent: {"parent", {:optional, {:nullable, :string}}},
priority: {"priority", {:optional, :integer}},
sandbox: {"sandbox", {:optional, {:nullable, :string}}},
source_id: {"source_id", {:optional, {:nullable, :string}}},
source_scope: {"source_scope", {:optional, {:nullable, :string}}},
source_type: {"source_type", {:optional, {:nullable, :string}}},
status: {"status", :string},
subtasks_count: {"subtasks_count", {:optional, :integer}},
tags: {"tags", {:optional, {:list, :string}}},
Expand Down
52 changes: 51 additions & 1 deletion lib/archastro/generated/types/chat.ex
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (c) 2026 ArchAstro Inc. Licensed under the MIT License.
# This file is auto-generated by @archastro/sdk-generator. Do not edit.
# Content hash: f9bf69594c2e
# Content hash: 586a0f3a79fe

defmodule ArchAstro.SDK.Types.ChatMember do
@moduledoc """
Expand Down Expand Up @@ -125,6 +125,56 @@ defmodule ArchAstro.SDK.Types.ChatLoadMoreMessagesResponse do
def matches?(value), do: ArchAstro.SDK.Codec.matches?(value, {:object, Keyword.values(@fields)})
end

defmodule ArchAstro.SDK.Types.ChatLocalToolFunction do
@moduledoc """
A function implemented by the client connected to a personal thread.
"""
@enforce_keys [:description, :name, :parameters]
defstruct description: nil, name: nil, parameters: nil

@type t :: %__MODULE__{
description: String.t(),
name: String.t(),
parameters: %{optional(String.t()) => ArchAstro.SDK.JSON.t()}
}

@fields [
description: {"description", :string},
name: {"name", :string},
parameters: {"parameters", {:map, :unknown}}
]
@spec from_map(ArchAstro.SDK.JSON.object()) :: t()
def from_map(data), do: ArchAstro.SDK.Codec.struct_from_map(__MODULE__, data, @fields)
@spec to_map(t()) :: ArchAstro.SDK.JSON.object()
def to_map(value), do: ArchAstro.SDK.Codec.struct_to_map(value, @fields)
@spec matches?(ArchAstro.SDK.JSON.t()) :: boolean()
def matches?(value), do: ArchAstro.SDK.Codec.matches?(value, {:object, Keyword.values(@fields)})
end

defmodule ArchAstro.SDK.Types.ChatLocalToolDefinition do
@moduledoc """
An OpenAI-compatible local function definition supplied while joining a personal thread.
"""
@enforce_keys [:function, :type]
defstruct function: nil, type: nil

@type t :: %__MODULE__{
function: ArchAstro.SDK.Types.ChatLocalToolFunction.t(),
type: String.t()
}

@fields [
function: {"function", {:ref, ArchAstro.SDK.Types.ChatLocalToolFunction}},
type: {"type", {:enum, ["function"]}}
]
@spec from_map(ArchAstro.SDK.JSON.object()) :: t()
def from_map(data), do: ArchAstro.SDK.Codec.struct_from_map(__MODULE__, data, @fields)
@spec to_map(t()) :: ArchAstro.SDK.JSON.object()
def to_map(value), do: ArchAstro.SDK.Codec.struct_to_map(value, @fields)
@spec matches?(ArchAstro.SDK.JSON.t()) :: boolean()
def matches?(value), do: ArchAstro.SDK.Codec.matches?(value, {:object, Keyword.values(@fields)})
end

defmodule ArchAstro.SDK.Types.ChatMarkThreadReadResponse do
@moduledoc """
Response returned after marking a chat thread as read. Confirms that the read marker was successfully recorded for the authenticated user.
Expand Down
Loading
Loading