@archastro/sdk 0.7.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/dist/app-session.d.ts +3 -3
- package/dist/app-session.d.ts.map +1 -1
- package/dist/app-session.js +2 -3
- package/dist/app-session.js.map +1 -1
- package/dist/auth.d.ts +5 -3
- package/dist/auth.d.ts.map +1 -1
- package/dist/auth.js +7 -5
- package/dist/auth.js.map +1 -1
- package/dist/channels/api_activity_feed_channel.js +2 -2
- package/dist/channels/api_activity_feed_channel.js.map +1 -1
- package/dist/channels/api_chat_channel.js +2 -2
- package/dist/channels/api_chat_channel.js.map +1 -1
- package/dist/channels/api_object_channel.d.ts +13 -2
- package/dist/channels/api_object_channel.d.ts.map +1 -1
- package/dist/channels/api_object_channel.js +21 -6
- package/dist/channels/api_object_channel.js.map +1 -1
- package/dist/channels/api_tasks_channel.d.ts +30 -0
- package/dist/channels/api_tasks_channel.d.ts.map +1 -0
- package/dist/channels/api_tasks_channel.js +45 -0
- package/dist/channels/api_tasks_channel.js.map +1 -0
- package/dist/client.d.ts +28 -5
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +24 -9
- package/dist/client.js.map +1 -1
- package/dist/custom-object-subscriptions.d.ts +94 -0
- package/dist/custom-object-subscriptions.d.ts.map +1 -0
- package/dist/custom-object-subscriptions.js +549 -0
- package/dist/custom-object-subscriptions.js.map +1 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/phx_channel/channel.d.ts +8 -0
- package/dist/phx_channel/channel.d.ts.map +1 -1
- package/dist/phx_channel/channel.js +36 -1
- package/dist/phx_channel/channel.js.map +1 -1
- package/dist/phx_channel/socket.d.ts.map +1 -1
- package/dist/phx_channel/socket.js +4 -0
- package/dist/phx_channel/socket.js.map +1 -1
- package/dist/platform-socket.d.ts +5 -2
- package/dist/platform-socket.d.ts.map +1 -1
- package/dist/platform-socket.js +6 -5
- package/dist/platform-socket.js.map +1 -1
- package/dist/runtime/http-client.d.ts +21 -0
- package/dist/runtime/http-client.d.ts.map +1 -1
- package/dist/runtime/http-client.js +28 -0
- package/dist/runtime/http-client.js.map +1 -1
- package/dist/runtime/url.d.ts +1 -1
- package/dist/runtime/url.d.ts.map +1 -1
- package/dist/runtime/url.js +3 -2
- package/dist/runtime/url.js.map +1 -1
- package/dist/types/ai.d.ts +66 -52
- package/dist/types/ai.d.ts.map +1 -1
- package/dist/types/ai.js +7 -2
- package/dist/types/ai.js.map +1 -1
- package/dist/types/artifacts.d.ts +8 -8
- package/dist/types/artifacts.js +2 -2
- package/dist/types/artifacts.js.map +1 -1
- package/dist/types/automations.d.ts +68 -10
- package/dist/types/automations.d.ts.map +1 -1
- package/dist/types/automations.js +22 -2
- package/dist/types/automations.js.map +1 -1
- package/dist/types/chat.d.ts +18446 -3559
- package/dist/types/chat.d.ts.map +1 -1
- package/dist/types/chat.js +2 -2
- package/dist/types/chat.js.map +1 -1
- package/dist/types/common.d.ts +12646 -2316
- package/dist/types/common.d.ts.map +1 -1
- package/dist/types/common.js +372 -80
- package/dist/types/common.js.map +1 -1
- package/dist/types/config.d.ts +22 -10
- package/dist/types/config.d.ts.map +1 -1
- package/dist/types/config.js +4 -2
- package/dist/types/config.js.map +1 -1
- package/dist/types/device.d.ts +60 -0
- package/dist/types/device.d.ts.map +1 -0
- package/dist/types/device.js +25 -0
- package/dist/types/device.js.map +1 -0
- package/dist/types/extractions.d.ts +452 -0
- package/dist/types/extractions.d.ts.map +1 -0
- package/dist/types/extractions.js +52 -0
- package/dist/types/extractions.js.map +1 -0
- package/dist/types/image.js +2 -2
- package/dist/types/image.js.map +1 -1
- package/dist/types/index.d.ts +3 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +5 -2
- package/dist/types/index.js.map +1 -1
- package/dist/types/invites.js +2 -2
- package/dist/types/invites.js.map +1 -1
- package/dist/types/notifications.d.ts +2 -2
- package/dist/types/notifications.js +2 -2
- package/dist/types/notifications.js.map +1 -1
- package/dist/types/oauth.d.ts +117 -0
- package/dist/types/oauth.d.ts.map +1 -0
- package/dist/types/oauth.js +21 -0
- package/dist/types/oauth.js.map +1 -0
- package/dist/types/teams.d.ts +2402 -242
- package/dist/types/teams.d.ts.map +1 -1
- package/dist/types/teams.js +2 -2
- package/dist/types/teams.js.map +1 -1
- package/dist/types/threads.d.ts +1419 -328
- package/dist/types/threads.d.ts.map +1 -1
- package/dist/types/threads.js +18 -17
- package/dist/types/threads.js.map +1 -1
- package/dist/types/users.d.ts +2 -2
- package/dist/types/users.js +2 -2
- package/dist/types/users.js.map +1 -1
- package/dist/v1/resources/activity_feed.d.ts +84 -0
- package/dist/v1/resources/activity_feed.d.ts.map +1 -1
- package/dist/v1/resources/activity_feed.js +2 -2
- package/dist/v1/resources/activity_feed.js.map +1 -1
- package/dist/v1/resources/agent_computers.js +2 -2
- package/dist/v1/resources/agent_computers.js.map +1 -1
- package/dist/v1/resources/agent_env_vars.js +2 -2
- package/dist/v1/resources/agent_env_vars.js.map +1 -1
- package/dist/v1/resources/agent_health_actions.js +2 -2
- package/dist/v1/resources/agent_health_actions.js.map +1 -1
- package/dist/v1/resources/agent_installations.d.ts +2 -2
- package/dist/v1/resources/agent_installations.d.ts.map +1 -1
- package/dist/v1/resources/agent_installations.js +3 -3
- package/dist/v1/resources/agent_installations.js.map +1 -1
- package/dist/v1/resources/agent_routine_runs.d.ts +16 -1
- package/dist/v1/resources/agent_routine_runs.d.ts.map +1 -1
- package/dist/v1/resources/agent_routine_runs.js +16 -2
- package/dist/v1/resources/agent_routine_runs.js.map +1 -1
- package/dist/v1/resources/agent_routines.d.ts +47 -3
- package/dist/v1/resources/agent_routines.d.ts.map +1 -1
- package/dist/v1/resources/agent_routines.js +42 -3
- package/dist/v1/resources/agent_routines.js.map +1 -1
- package/dist/v1/resources/agent_sessions.d.ts +14 -2
- package/dist/v1/resources/agent_sessions.d.ts.map +1 -1
- package/dist/v1/resources/agent_sessions.js +14 -3
- package/dist/v1/resources/agent_sessions.js.map +1 -1
- package/dist/v1/resources/agent_skills.js +2 -2
- package/dist/v1/resources/agent_skills.js.map +1 -1
- package/dist/v1/resources/agent_tools.d.ts +2 -2
- package/dist/v1/resources/agent_tools.d.ts.map +1 -1
- package/dist/v1/resources/agent_tools.js +3 -3
- package/dist/v1/resources/agent_tools.js.map +1 -1
- package/dist/v1/resources/agents.d.ts +152 -35
- package/dist/v1/resources/agents.d.ts.map +1 -1
- package/dist/v1/resources/agents.js +148 -42
- package/dist/v1/resources/agents.js.map +1 -1
- package/dist/v1/resources/ai.d.ts +81 -40
- package/dist/v1/resources/ai.d.ts.map +1 -1
- package/dist/v1/resources/ai.js +52 -17
- package/dist/v1/resources/ai.js.map +1 -1
- package/dist/v1/resources/artifacts.js +2 -2
- package/dist/v1/resources/artifacts.js.map +1 -1
- package/dist/v1/resources/automation_runs.d.ts +41 -6
- package/dist/v1/resources/automation_runs.d.ts.map +1 -1
- package/dist/v1/resources/automation_runs.js +47 -8
- package/dist/v1/resources/automation_runs.js.map +1 -1
- package/dist/v1/resources/automations.d.ts +14 -1
- package/dist/v1/resources/automations.d.ts.map +1 -1
- package/dist/v1/resources/automations.js +15 -3
- package/dist/v1/resources/automations.js.map +1 -1
- package/dist/v1/resources/bug_reports.js +2 -2
- package/dist/v1/resources/bug_reports.js.map +1 -1
- package/dist/v1/resources/config.d.ts +3 -0
- package/dist/v1/resources/config.d.ts.map +1 -1
- package/dist/v1/resources/config.js +2 -2
- package/dist/v1/resources/config.js.map +1 -1
- package/dist/v1/resources/custom_objects.js +2 -2
- package/dist/v1/resources/custom_objects.js.map +1 -1
- package/dist/v1/resources/extractions.d.ts +50 -0
- package/dist/v1/resources/extractions.d.ts.map +1 -0
- package/dist/v1/resources/extractions.js +48 -0
- package/dist/v1/resources/extractions.js.map +1 -0
- package/dist/v1/resources/files.d.ts +88 -1
- package/dist/v1/resources/files.d.ts.map +1 -1
- package/dist/v1/resources/files.js +86 -3
- package/dist/v1/resources/files.js.map +1 -1
- package/dist/v1/resources/index.d.ts +5 -0
- package/dist/v1/resources/index.d.ts.map +1 -1
- package/dist/v1/resources/index.js +7 -2
- package/dist/v1/resources/index.js.map +1 -1
- package/dist/v1/resources/installation_sources.js +2 -2
- package/dist/v1/resources/installation_sources.js.map +1 -1
- package/dist/v1/resources/invites.js +2 -2
- package/dist/v1/resources/invites.js.map +1 -1
- package/dist/v1/resources/knowledge_documents.d.ts +33 -1
- package/dist/v1/resources/knowledge_documents.d.ts.map +1 -1
- package/dist/v1/resources/knowledge_documents.js +25 -2
- package/dist/v1/resources/knowledge_documents.js.map +1 -1
- package/dist/v1/resources/knowledge_ingestions.d.ts +16 -0
- package/dist/v1/resources/knowledge_ingestions.d.ts.map +1 -0
- package/dist/v1/resources/knowledge_ingestions.js +21 -0
- package/dist/v1/resources/knowledge_ingestions.js.map +1 -0
- package/dist/v1/resources/knowledge_sources.d.ts +2 -0
- package/dist/v1/resources/knowledge_sources.d.ts.map +1 -1
- package/dist/v1/resources/knowledge_sources.js +3 -2
- package/dist/v1/resources/knowledge_sources.js.map +1 -1
- package/dist/v1/resources/kv.js +2 -2
- package/dist/v1/resources/kv.js.map +1 -1
- package/dist/v1/resources/notification_preferences.js +2 -2
- package/dist/v1/resources/notification_preferences.js.map +1 -1
- package/dist/v1/resources/notifications.js +2 -2
- package/dist/v1/resources/notifications.js.map +1 -1
- package/dist/v1/resources/oauth.d.ts +115 -0
- package/dist/v1/resources/oauth.d.ts.map +1 -0
- package/dist/v1/resources/oauth.js +112 -0
- package/dist/v1/resources/oauth.js.map +1 -0
- package/dist/v1/resources/orgs.js +2 -2
- package/dist/v1/resources/orgs.js.map +1 -1
- package/dist/v1/resources/slack_channel_bindings.d.ts +25 -0
- package/dist/v1/resources/slack_channel_bindings.d.ts.map +1 -1
- package/dist/v1/resources/slack_channel_bindings.js +24 -2
- package/dist/v1/resources/slack_channel_bindings.js.map +1 -1
- package/dist/v1/resources/solution_categories.js +2 -2
- package/dist/v1/resources/solution_categories.js.map +1 -1
- package/dist/v1/resources/solution_instances.d.ts +26 -0
- package/dist/v1/resources/solution_instances.d.ts.map +1 -0
- package/dist/v1/resources/solution_instances.js +35 -0
- package/dist/v1/resources/solution_instances.js.map +1 -0
- package/dist/v1/resources/solution_tags.js +2 -2
- package/dist/v1/resources/solution_tags.js.map +1 -1
- package/dist/v1/resources/solutions.d.ts +85 -1
- package/dist/v1/resources/solutions.d.ts.map +1 -1
- package/dist/v1/resources/solutions.js +67 -3
- package/dist/v1/resources/solutions.js.map +1 -1
- package/dist/v1/resources/team_memberships.js +2 -2
- package/dist/v1/resources/team_memberships.js.map +1 -1
- package/dist/v1/resources/teams.d.ts +210 -4
- package/dist/v1/resources/teams.d.ts.map +1 -1
- package/dist/v1/resources/teams.js +16 -6
- package/dist/v1/resources/teams.js.map +1 -1
- package/dist/v1/resources/thread_messages.d.ts +24 -4
- package/dist/v1/resources/thread_messages.d.ts.map +1 -1
- package/dist/v1/resources/thread_messages.js +9 -6
- package/dist/v1/resources/thread_messages.js.map +1 -1
- package/dist/v1/resources/threads.d.ts +158 -42
- package/dist/v1/resources/threads.d.ts.map +1 -1
- package/dist/v1/resources/threads.js +121 -32
- package/dist/v1/resources/threads.js.map +1 -1
- package/dist/v1/resources/users.d.ts +132 -1
- package/dist/v1/resources/users.d.ts.map +1 -1
- package/dist/v1/resources/users.js +4 -2
- package/dist/v1/resources/users.js.map +1 -1
- package/dist/v1/resources/work_items.d.ts +78 -0
- package/dist/v1/resources/work_items.d.ts.map +1 -0
- package/dist/v1/resources/work_items.js +86 -0
- package/dist/v1/resources/work_items.js.map +1 -0
- package/dist/v1.d.ts +10 -0
- package/dist/v1.d.ts.map +1 -1
- package/dist/v1.js +17 -2
- package/dist/v1.js.map +1 -1
- package/docs/custom-object-collaboration.md +248 -0
- package/package.json +3 -2
package/dist/types/threads.d.ts
CHANGED
|
@@ -21,8 +21,22 @@ export interface Thread {
|
|
|
21
21
|
agent_user?: string | undefined;
|
|
22
22
|
/** When the thread was created (ISO 8601). */
|
|
23
23
|
created_at?: string | undefined;
|
|
24
|
-
/**
|
|
25
|
-
creator?:
|
|
24
|
+
/** User who created this thread. Returns a user ID (`usr_...`) by default, or an expanded user object when the association is loaded. `null` if the creator is unknown. */
|
|
25
|
+
creator?: string | {
|
|
26
|
+
alias?: string | undefined;
|
|
27
|
+
app?: string | undefined;
|
|
28
|
+
app_name?: string | undefined;
|
|
29
|
+
email?: string | undefined;
|
|
30
|
+
id: string;
|
|
31
|
+
is_system_user?: boolean | undefined;
|
|
32
|
+
metadata?: Record<string, unknown> | undefined;
|
|
33
|
+
name?: string | undefined;
|
|
34
|
+
org?: string | undefined;
|
|
35
|
+
org_name?: string | undefined;
|
|
36
|
+
org_role?: string | undefined;
|
|
37
|
+
sandbox?: string | undefined;
|
|
38
|
+
sandbox_name?: string | undefined;
|
|
39
|
+
} | undefined;
|
|
26
40
|
/** Optional description or purpose statement for the thread. `null` if not set. */
|
|
27
41
|
description?: string | undefined;
|
|
28
42
|
/** Thread ID (`thr_...`). */
|
|
@@ -37,8 +51,14 @@ export interface Thread {
|
|
|
37
51
|
is_unlisted?: boolean | undefined;
|
|
38
52
|
/** Application-defined stable key that uniquely identifies the thread within its scope. Useful for idempotent creation. `null` if not set. */
|
|
39
53
|
key?: string | undefined;
|
|
40
|
-
/**
|
|
54
|
+
/** Thread subtype: `"standard"` for ordinary threads, `"slack_mirror"` for the membership-strict mirror of a Slack channel, `"slashwork_mirror"` for the membership-strict mirror of a Slashwork group. Read-only — derived server-side at creation, never accepted from params. */
|
|
55
|
+
kind?: string | undefined;
|
|
56
|
+
/** When the most recent message was posted in this thread, falling back to the thread's creation time if it has no messages. Always populated on thread list endpoints (which order by it, after default threads); `null` on endpoints that don't compute activity enrichment. */
|
|
41
57
|
last_activity?: string | undefined;
|
|
58
|
+
/** Single-line snippet of the most recent message's text content (first non-empty line, truncated to 140 characters). Populated on thread list endpoints alongside `last_activity`; `null` when the thread has no messages, the latest message has no text content (e.g. attachment-only), or the endpoint doesn't compute activity enrichment. */
|
|
59
|
+
last_message_preview?: string | undefined;
|
|
60
|
+
/** Display name of the sender of the most recent message — the same message `last_message_preview` snippets. Populated on thread list endpoints; `null` when the thread has no messages or the endpoint doesn't compute activity enrichment. */
|
|
61
|
+
last_message_sender?: string | undefined;
|
|
42
62
|
/** Arbitrary key-value metadata attached to the thread. Shape is application-defined; `null` if no metadata has been set. */
|
|
43
63
|
metadata?: Record<string, unknown> | undefined;
|
|
44
64
|
/** Whether the authenticated user has muted notifications for this thread. `true` suppresses all notification delivery. */
|
|
@@ -57,7 +77,7 @@ export interface Thread {
|
|
|
57
77
|
participating_agents?: Agent[] | undefined;
|
|
58
78
|
/** The authenticated user's membership role in this thread, e.g. `"owner"`, `"member"`, or `"viewer"`. `null` if the user is not a member. */
|
|
59
79
|
role?: string | undefined;
|
|
60
|
-
/** ID of the developer sandbox this thread is scoped to (`
|
|
80
|
+
/** ID of the developer sandbox this thread is scoped to (`dsb_...`). `null` for production threads. */
|
|
61
81
|
sandbox?: string | undefined;
|
|
62
82
|
/** Per-thread configuration settings controlling AI agent behavior for this thread. */
|
|
63
83
|
settings?: ThreadSettings | undefined;
|
|
@@ -65,6 +85,8 @@ export interface Thread {
|
|
|
65
85
|
slug?: string | undefined;
|
|
66
86
|
/** Threads that are nested under this thread as replies to a parent message. Present only when sub-thread enrichment is requested. */
|
|
67
87
|
sub_threads?: Record<string, unknown>[] | undefined;
|
|
88
|
+
/** Status tags on the thread (e.g. `"blocked"`, `"needs-review"`). Edited by any thread participant via the `/threads/:thread/tags` endpoints and filterable on the thread list endpoints. Empty array if none set. */
|
|
89
|
+
tags?: string[] | undefined;
|
|
68
90
|
/** ID of the team that owns this thread (`team_...`). `null` for user-owned or agent-owned threads. */
|
|
69
91
|
team?: string | undefined;
|
|
70
92
|
/** Human-readable name of the thread. `null` if no title has been set. */
|
|
@@ -77,6 +99,8 @@ export interface Thread {
|
|
|
77
99
|
updated_at?: string | undefined;
|
|
78
100
|
/** ID of the user who owns this thread (`usr_...`). `null` for team-owned or agent-owned threads. */
|
|
79
101
|
user?: string | undefined;
|
|
102
|
+
/** Who can read the thread: `team` for every owning-team member, `restricted` for team-readable threads with an explicit roster, or `private` for roster-only access. */
|
|
103
|
+
visibility: "team" | "restricted" | "private";
|
|
80
104
|
}
|
|
81
105
|
/** Runtime validator for {@link Thread}. */
|
|
82
106
|
export declare const threadSchema: z.ZodObject<{
|
|
@@ -84,8 +108,8 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
84
108
|
agent_user: z.ZodOptional<z.ZodString>;
|
|
85
109
|
/** When the thread was created (ISO 8601). */
|
|
86
110
|
created_at: z.ZodOptional<z.ZodString>;
|
|
87
|
-
/**
|
|
88
|
-
creator: z.ZodOptional<z.ZodObject<{
|
|
111
|
+
/** User who created this thread. Returns a user ID (`usr_...`) by default, or an expanded user object when the association is loaded. `null` if the creator is unknown. */
|
|
112
|
+
creator: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
89
113
|
alias: z.ZodOptional<z.ZodString>;
|
|
90
114
|
app: z.ZodOptional<z.ZodString>;
|
|
91
115
|
app_name: z.ZodOptional<z.ZodString>;
|
|
@@ -104,9 +128,9 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
104
128
|
email?: string | undefined;
|
|
105
129
|
alias?: string | undefined;
|
|
106
130
|
org?: string | undefined;
|
|
107
|
-
sandbox?: string | undefined;
|
|
108
131
|
name?: string | undefined;
|
|
109
132
|
app?: string | undefined;
|
|
133
|
+
sandbox?: string | undefined;
|
|
110
134
|
app_name?: string | undefined;
|
|
111
135
|
is_system_user?: boolean | undefined;
|
|
112
136
|
metadata?: Record<string, unknown> | undefined;
|
|
@@ -118,16 +142,16 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
118
142
|
email?: string | undefined;
|
|
119
143
|
alias?: string | undefined;
|
|
120
144
|
org?: string | undefined;
|
|
121
|
-
sandbox?: string | undefined;
|
|
122
145
|
name?: string | undefined;
|
|
123
146
|
app?: string | undefined;
|
|
147
|
+
sandbox?: string | undefined;
|
|
124
148
|
app_name?: string | undefined;
|
|
125
149
|
is_system_user?: boolean | undefined;
|
|
126
150
|
metadata?: Record<string, unknown> | undefined;
|
|
127
151
|
org_name?: string | undefined;
|
|
128
152
|
org_role?: string | undefined;
|
|
129
153
|
sandbox_name?: string | undefined;
|
|
130
|
-
}>>;
|
|
154
|
+
}>]>>;
|
|
131
155
|
/** Optional description or purpose statement for the thread. `null` if not set. */
|
|
132
156
|
description: z.ZodOptional<z.ZodString>;
|
|
133
157
|
/** Thread ID (`thr_...`). */
|
|
@@ -142,8 +166,14 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
142
166
|
is_unlisted: z.ZodOptional<z.ZodBoolean>;
|
|
143
167
|
/** Application-defined stable key that uniquely identifies the thread within its scope. Useful for idempotent creation. `null` if not set. */
|
|
144
168
|
key: z.ZodOptional<z.ZodString>;
|
|
145
|
-
/**
|
|
169
|
+
/** Thread subtype: `"standard"` for ordinary threads, `"slack_mirror"` for the membership-strict mirror of a Slack channel, `"slashwork_mirror"` for the membership-strict mirror of a Slashwork group. Read-only — derived server-side at creation, never accepted from params. */
|
|
170
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
171
|
+
/** When the most recent message was posted in this thread, falling back to the thread's creation time if it has no messages. Always populated on thread list endpoints (which order by it, after default threads); `null` on endpoints that don't compute activity enrichment. */
|
|
146
172
|
last_activity: z.ZodOptional<z.ZodString>;
|
|
173
|
+
/** Single-line snippet of the most recent message's text content (first non-empty line, truncated to 140 characters). Populated on thread list endpoints alongside `last_activity`; `null` when the thread has no messages, the latest message has no text content (e.g. attachment-only), or the endpoint doesn't compute activity enrichment. */
|
|
174
|
+
last_message_preview: z.ZodOptional<z.ZodString>;
|
|
175
|
+
/** Display name of the sender of the most recent message — the same message `last_message_preview` snippets. Populated on thread list endpoints; `null` when the thread has no messages or the endpoint doesn't compute activity enrichment. */
|
|
176
|
+
last_message_sender: z.ZodOptional<z.ZodString>;
|
|
147
177
|
/** Arbitrary key-value metadata attached to the thread. Shape is application-defined; `null` if no metadata has been set. */
|
|
148
178
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
149
179
|
/** Whether the authenticated user has muted notifications for this thread. `true` suppresses all notification delivery. */
|
|
@@ -152,6 +182,74 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
152
182
|
org: z.ZodOptional<z.ZodString>;
|
|
153
183
|
/** The message that spawned this thread as a sub-thread. `null` for top-level threads. */
|
|
154
184
|
parent_message: z.ZodOptional<z.ZodObject<{
|
|
185
|
+
acl: z.ZodOptional<z.ZodObject<{
|
|
186
|
+
add: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
187
|
+
actions: z.ZodArray<z.ZodString, "many">;
|
|
188
|
+
principal: z.ZodOptional<z.ZodString>;
|
|
189
|
+
principal_type: z.ZodString;
|
|
190
|
+
}, "strip", z.ZodTypeAny, {
|
|
191
|
+
actions: string[];
|
|
192
|
+
principal_type: string;
|
|
193
|
+
principal?: string | undefined;
|
|
194
|
+
}, {
|
|
195
|
+
actions: string[];
|
|
196
|
+
principal_type: string;
|
|
197
|
+
principal?: string | undefined;
|
|
198
|
+
}>, "many">>;
|
|
199
|
+
grants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
200
|
+
actions: z.ZodArray<z.ZodString, "many">;
|
|
201
|
+
principal: z.ZodOptional<z.ZodString>;
|
|
202
|
+
principal_type: z.ZodString;
|
|
203
|
+
}, "strip", z.ZodTypeAny, {
|
|
204
|
+
actions: string[];
|
|
205
|
+
principal_type: string;
|
|
206
|
+
principal?: string | undefined;
|
|
207
|
+
}, {
|
|
208
|
+
actions: string[];
|
|
209
|
+
principal_type: string;
|
|
210
|
+
principal?: string | undefined;
|
|
211
|
+
}>, "many">>;
|
|
212
|
+
remove: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
213
|
+
principal: z.ZodOptional<z.ZodString>;
|
|
214
|
+
principal_type: z.ZodString;
|
|
215
|
+
}, "strip", z.ZodTypeAny, {
|
|
216
|
+
principal_type: string;
|
|
217
|
+
principal?: string | undefined;
|
|
218
|
+
}, {
|
|
219
|
+
principal_type: string;
|
|
220
|
+
principal?: string | undefined;
|
|
221
|
+
}>, "many">>;
|
|
222
|
+
}, "strip", z.ZodTypeAny, {
|
|
223
|
+
add?: {
|
|
224
|
+
actions: string[];
|
|
225
|
+
principal_type: string;
|
|
226
|
+
principal?: string | undefined;
|
|
227
|
+
}[] | undefined;
|
|
228
|
+
grants?: {
|
|
229
|
+
actions: string[];
|
|
230
|
+
principal_type: string;
|
|
231
|
+
principal?: string | undefined;
|
|
232
|
+
}[] | undefined;
|
|
233
|
+
remove?: {
|
|
234
|
+
principal_type: string;
|
|
235
|
+
principal?: string | undefined;
|
|
236
|
+
}[] | undefined;
|
|
237
|
+
}, {
|
|
238
|
+
add?: {
|
|
239
|
+
actions: string[];
|
|
240
|
+
principal_type: string;
|
|
241
|
+
principal?: string | undefined;
|
|
242
|
+
}[] | undefined;
|
|
243
|
+
grants?: {
|
|
244
|
+
actions: string[];
|
|
245
|
+
principal_type: string;
|
|
246
|
+
principal?: string | undefined;
|
|
247
|
+
}[] | undefined;
|
|
248
|
+
remove?: {
|
|
249
|
+
principal_type: string;
|
|
250
|
+
principal?: string | undefined;
|
|
251
|
+
}[] | undefined;
|
|
252
|
+
}>>;
|
|
155
253
|
actors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
156
254
|
alias: z.ZodOptional<z.ZodString>;
|
|
157
255
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -183,8 +281,8 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
183
281
|
}>>;
|
|
184
282
|
}, "strip", z.ZodTypeAny, {
|
|
185
283
|
alias?: string | undefined;
|
|
186
|
-
id?: string | undefined;
|
|
187
284
|
name?: string | undefined;
|
|
285
|
+
id?: string | undefined;
|
|
188
286
|
profile_picture?: {
|
|
189
287
|
mime_type?: string | undefined;
|
|
190
288
|
file?: string | undefined;
|
|
@@ -196,8 +294,8 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
196
294
|
} | undefined;
|
|
197
295
|
}, {
|
|
198
296
|
alias?: string | undefined;
|
|
199
|
-
id?: string | undefined;
|
|
200
297
|
name?: string | undefined;
|
|
298
|
+
id?: string | undefined;
|
|
201
299
|
profile_picture?: {
|
|
202
300
|
mime_type?: string | undefined;
|
|
203
301
|
file?: string | undefined;
|
|
@@ -333,11 +431,12 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
333
431
|
type: string;
|
|
334
432
|
id: string;
|
|
335
433
|
object?: Record<string, unknown> | undefined;
|
|
434
|
+
description?: string | undefined;
|
|
435
|
+
name?: string | undefined;
|
|
336
436
|
height?: number | undefined;
|
|
337
437
|
url?: string | undefined;
|
|
338
438
|
width?: number | undefined;
|
|
339
|
-
|
|
340
|
-
description?: string | undefined;
|
|
439
|
+
image_url?: string | undefined;
|
|
341
440
|
title?: string | undefined;
|
|
342
441
|
content_type?: string | undefined;
|
|
343
442
|
filename?: string | undefined;
|
|
@@ -351,7 +450,6 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
351
450
|
width?: number | undefined;
|
|
352
451
|
} | undefined;
|
|
353
452
|
image_height?: number | undefined;
|
|
354
|
-
image_url?: string | undefined;
|
|
355
453
|
image_width?: number | undefined;
|
|
356
454
|
media_type?: string | undefined;
|
|
357
455
|
variants?: {
|
|
@@ -380,11 +478,12 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
380
478
|
type: string;
|
|
381
479
|
id: string;
|
|
382
480
|
object?: Record<string, unknown> | undefined;
|
|
481
|
+
description?: string | undefined;
|
|
482
|
+
name?: string | undefined;
|
|
383
483
|
height?: number | undefined;
|
|
384
484
|
url?: string | undefined;
|
|
385
485
|
width?: number | undefined;
|
|
386
|
-
|
|
387
|
-
description?: string | undefined;
|
|
486
|
+
image_url?: string | undefined;
|
|
388
487
|
title?: string | undefined;
|
|
389
488
|
content_type?: string | undefined;
|
|
390
489
|
filename?: string | undefined;
|
|
@@ -398,7 +497,6 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
398
497
|
width?: number | undefined;
|
|
399
498
|
} | undefined;
|
|
400
499
|
image_height?: number | undefined;
|
|
401
|
-
image_url?: string | undefined;
|
|
402
500
|
image_width?: number | undefined;
|
|
403
501
|
media_type?: string | undefined;
|
|
404
502
|
variants?: {
|
|
@@ -430,6 +528,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
430
528
|
has_replies: z.ZodOptional<z.ZodBoolean>;
|
|
431
529
|
id: z.ZodString;
|
|
432
530
|
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
531
|
+
is_deleted: z.ZodOptional<z.ZodBoolean>;
|
|
433
532
|
legacy_agent: z.ZodOptional<z.ZodString>;
|
|
434
533
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
435
534
|
org: z.ZodOptional<z.ZodString>;
|
|
@@ -439,12 +538,12 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
439
538
|
user: z.ZodOptional<z.ZodString>;
|
|
440
539
|
}, "strip", z.ZodTypeAny, {
|
|
441
540
|
type: string;
|
|
442
|
-
user?: string | undefined;
|
|
443
541
|
payload?: Record<string, unknown> | undefined;
|
|
542
|
+
user?: string | undefined;
|
|
444
543
|
}, {
|
|
445
544
|
type: string;
|
|
446
|
-
user?: string | undefined;
|
|
447
545
|
payload?: Record<string, unknown> | undefined;
|
|
546
|
+
user?: string | undefined;
|
|
448
547
|
}>, "many">>;
|
|
449
548
|
rendering_mode: z.ZodOptional<z.ZodString>;
|
|
450
549
|
replies: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
@@ -455,7 +554,9 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
455
554
|
sandbox: z.ZodOptional<z.ZodString>;
|
|
456
555
|
team: z.ZodOptional<z.ZodString>;
|
|
457
556
|
thread: z.ZodOptional<z.ZodString>;
|
|
557
|
+
type: z.ZodOptional<z.ZodString>;
|
|
458
558
|
user: z.ZodOptional<z.ZodString>;
|
|
559
|
+
visibility: z.ZodOptional<z.ZodEnum<["default", "private"]>>;
|
|
459
560
|
}, "strip", z.ZodTypeAny, {
|
|
460
561
|
id: string;
|
|
461
562
|
content?: string | undefined;
|
|
@@ -463,19 +564,37 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
463
564
|
thread?: string | undefined;
|
|
464
565
|
team?: string | undefined;
|
|
465
566
|
org?: string | undefined;
|
|
567
|
+
type?: string | undefined;
|
|
466
568
|
created_at?: string | undefined;
|
|
467
|
-
sandbox?: string | undefined;
|
|
468
569
|
user?: string | undefined;
|
|
570
|
+
sandbox?: string | undefined;
|
|
469
571
|
metadata?: Record<string, unknown> | undefined;
|
|
572
|
+
acl?: {
|
|
573
|
+
add?: {
|
|
574
|
+
actions: string[];
|
|
575
|
+
principal_type: string;
|
|
576
|
+
principal?: string | undefined;
|
|
577
|
+
}[] | undefined;
|
|
578
|
+
grants?: {
|
|
579
|
+
actions: string[];
|
|
580
|
+
principal_type: string;
|
|
581
|
+
principal?: string | undefined;
|
|
582
|
+
}[] | undefined;
|
|
583
|
+
remove?: {
|
|
584
|
+
principal_type: string;
|
|
585
|
+
principal?: string | undefined;
|
|
586
|
+
}[] | undefined;
|
|
587
|
+
} | undefined;
|
|
470
588
|
attachments?: {
|
|
471
589
|
type: string;
|
|
472
590
|
id: string;
|
|
473
591
|
object?: Record<string, unknown> | undefined;
|
|
592
|
+
description?: string | undefined;
|
|
593
|
+
name?: string | undefined;
|
|
474
594
|
height?: number | undefined;
|
|
475
595
|
url?: string | undefined;
|
|
476
596
|
width?: number | undefined;
|
|
477
|
-
|
|
478
|
-
description?: string | undefined;
|
|
597
|
+
image_url?: string | undefined;
|
|
479
598
|
title?: string | undefined;
|
|
480
599
|
content_type?: string | undefined;
|
|
481
600
|
filename?: string | undefined;
|
|
@@ -489,7 +608,6 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
489
608
|
width?: number | undefined;
|
|
490
609
|
} | undefined;
|
|
491
610
|
image_height?: number | undefined;
|
|
492
|
-
image_url?: string | undefined;
|
|
493
611
|
image_width?: number | undefined;
|
|
494
612
|
media_type?: string | undefined;
|
|
495
613
|
variants?: {
|
|
@@ -515,10 +633,11 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
515
633
|
}[] | undefined;
|
|
516
634
|
version?: number | undefined;
|
|
517
635
|
}[] | undefined;
|
|
636
|
+
visibility?: "default" | "private" | undefined;
|
|
518
637
|
actors?: {
|
|
519
638
|
alias?: string | undefined;
|
|
520
|
-
id?: string | undefined;
|
|
521
639
|
name?: string | undefined;
|
|
640
|
+
id?: string | undefined;
|
|
522
641
|
profile_picture?: {
|
|
523
642
|
mime_type?: string | undefined;
|
|
524
643
|
file?: string | undefined;
|
|
@@ -533,11 +652,12 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
533
652
|
branched_thread?: string | undefined;
|
|
534
653
|
has_replies?: boolean | undefined;
|
|
535
654
|
idempotency_key?: string | undefined;
|
|
655
|
+
is_deleted?: boolean | undefined;
|
|
536
656
|
legacy_agent?: string | undefined;
|
|
537
657
|
reactions?: {
|
|
538
658
|
type: string;
|
|
539
|
-
user?: string | undefined;
|
|
540
659
|
payload?: Record<string, unknown> | undefined;
|
|
660
|
+
user?: string | undefined;
|
|
541
661
|
}[] | undefined;
|
|
542
662
|
rendering_mode?: string | undefined;
|
|
543
663
|
replies?: Record<string, unknown>[] | undefined;
|
|
@@ -552,19 +672,37 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
552
672
|
thread?: string | undefined;
|
|
553
673
|
team?: string | undefined;
|
|
554
674
|
org?: string | undefined;
|
|
675
|
+
type?: string | undefined;
|
|
555
676
|
created_at?: string | undefined;
|
|
556
|
-
sandbox?: string | undefined;
|
|
557
677
|
user?: string | undefined;
|
|
678
|
+
sandbox?: string | undefined;
|
|
558
679
|
metadata?: Record<string, unknown> | undefined;
|
|
680
|
+
acl?: {
|
|
681
|
+
add?: {
|
|
682
|
+
actions: string[];
|
|
683
|
+
principal_type: string;
|
|
684
|
+
principal?: string | undefined;
|
|
685
|
+
}[] | undefined;
|
|
686
|
+
grants?: {
|
|
687
|
+
actions: string[];
|
|
688
|
+
principal_type: string;
|
|
689
|
+
principal?: string | undefined;
|
|
690
|
+
}[] | undefined;
|
|
691
|
+
remove?: {
|
|
692
|
+
principal_type: string;
|
|
693
|
+
principal?: string | undefined;
|
|
694
|
+
}[] | undefined;
|
|
695
|
+
} | undefined;
|
|
559
696
|
attachments?: {
|
|
560
697
|
type: string;
|
|
561
698
|
id: string;
|
|
562
699
|
object?: Record<string, unknown> | undefined;
|
|
700
|
+
description?: string | undefined;
|
|
701
|
+
name?: string | undefined;
|
|
563
702
|
height?: number | undefined;
|
|
564
703
|
url?: string | undefined;
|
|
565
704
|
width?: number | undefined;
|
|
566
|
-
|
|
567
|
-
description?: string | undefined;
|
|
705
|
+
image_url?: string | undefined;
|
|
568
706
|
title?: string | undefined;
|
|
569
707
|
content_type?: string | undefined;
|
|
570
708
|
filename?: string | undefined;
|
|
@@ -578,7 +716,6 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
578
716
|
width?: number | undefined;
|
|
579
717
|
} | undefined;
|
|
580
718
|
image_height?: number | undefined;
|
|
581
|
-
image_url?: string | undefined;
|
|
582
719
|
image_width?: number | undefined;
|
|
583
720
|
media_type?: string | undefined;
|
|
584
721
|
variants?: {
|
|
@@ -604,10 +741,11 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
604
741
|
}[] | undefined;
|
|
605
742
|
version?: number | undefined;
|
|
606
743
|
}[] | undefined;
|
|
744
|
+
visibility?: "default" | "private" | undefined;
|
|
607
745
|
actors?: {
|
|
608
746
|
alias?: string | undefined;
|
|
609
|
-
id?: string | undefined;
|
|
610
747
|
name?: string | undefined;
|
|
748
|
+
id?: string | undefined;
|
|
611
749
|
profile_picture?: {
|
|
612
750
|
mime_type?: string | undefined;
|
|
613
751
|
file?: string | undefined;
|
|
@@ -622,11 +760,12 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
622
760
|
branched_thread?: string | undefined;
|
|
623
761
|
has_replies?: boolean | undefined;
|
|
624
762
|
idempotency_key?: string | undefined;
|
|
763
|
+
is_deleted?: boolean | undefined;
|
|
625
764
|
legacy_agent?: string | undefined;
|
|
626
765
|
reactions?: {
|
|
627
766
|
type: string;
|
|
628
|
-
user?: string | undefined;
|
|
629
767
|
payload?: Record<string, unknown> | undefined;
|
|
768
|
+
user?: string | undefined;
|
|
630
769
|
}[] | undefined;
|
|
631
770
|
rendering_mode?: string | undefined;
|
|
632
771
|
replies?: Record<string, unknown>[] | undefined;
|
|
@@ -657,9 +796,9 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
657
796
|
email?: string | undefined;
|
|
658
797
|
alias?: string | undefined;
|
|
659
798
|
org?: string | undefined;
|
|
660
|
-
sandbox?: string | undefined;
|
|
661
799
|
name?: string | undefined;
|
|
662
800
|
app?: string | undefined;
|
|
801
|
+
sandbox?: string | undefined;
|
|
663
802
|
app_name?: string | undefined;
|
|
664
803
|
is_system_user?: boolean | undefined;
|
|
665
804
|
metadata?: Record<string, unknown> | undefined;
|
|
@@ -671,9 +810,9 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
671
810
|
email?: string | undefined;
|
|
672
811
|
alias?: string | undefined;
|
|
673
812
|
org?: string | undefined;
|
|
674
|
-
sandbox?: string | undefined;
|
|
675
813
|
name?: string | undefined;
|
|
676
814
|
app?: string | undefined;
|
|
815
|
+
sandbox?: string | undefined;
|
|
677
816
|
app_name?: string | undefined;
|
|
678
817
|
is_system_user?: boolean | undefined;
|
|
679
818
|
metadata?: Record<string, unknown> | undefined;
|
|
@@ -756,6 +895,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
756
895
|
app: z.ZodOptional<z.ZodString>;
|
|
757
896
|
created_at: z.ZodOptional<z.ZodString>;
|
|
758
897
|
default_model: z.ZodOptional<z.ZodString>;
|
|
898
|
+
description: z.ZodOptional<z.ZodString>;
|
|
759
899
|
email: z.ZodOptional<z.ZodString>;
|
|
760
900
|
id: z.ZodString;
|
|
761
901
|
identity: z.ZodOptional<z.ZodString>;
|
|
@@ -769,11 +909,13 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
769
909
|
phone_number: z.ZodOptional<z.ZodString>;
|
|
770
910
|
sandbox: z.ZodOptional<z.ZodString>;
|
|
771
911
|
source_solution: z.ZodOptional<z.ZodObject<{
|
|
772
|
-
|
|
912
|
+
current_solution: z.ZodOptional<z.ZodObject<{
|
|
773
913
|
category_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
774
914
|
created_at: z.ZodOptional<z.ZodString>;
|
|
775
915
|
description: z.ZodOptional<z.ZodString>;
|
|
916
|
+
events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
776
917
|
id: z.ZodString;
|
|
918
|
+
image_url: z.ZodOptional<z.ZodString>;
|
|
777
919
|
kind: z.ZodString;
|
|
778
920
|
latest_solution: z.ZodOptional<z.ZodString>;
|
|
779
921
|
latest_version: z.ZodOptional<z.ZodString>;
|
|
@@ -810,12 +952,102 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
810
952
|
org_slug: z.ZodOptional<z.ZodString>;
|
|
811
953
|
owners: z.ZodArray<z.ZodString, "many">;
|
|
812
954
|
readme_url: z.ZodOptional<z.ZodString>;
|
|
955
|
+
screenshot_urls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
813
956
|
solution_id: z.ZodOptional<z.ZodString>;
|
|
814
957
|
solution_version: z.ZodOptional<z.ZodString>;
|
|
815
958
|
tag_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
816
959
|
template_kind: z.ZodOptional<z.ZodString>;
|
|
817
960
|
templates: z.ZodArray<z.ZodObject<{
|
|
818
961
|
description: z.ZodOptional<z.ZodString>;
|
|
962
|
+
details: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
963
|
+
automation_type: z.ZodOptional<z.ZodString>;
|
|
964
|
+
invoke_contract: z.ZodOptional<z.ZodObject<{
|
|
965
|
+
input_schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
966
|
+
participants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
967
|
+
description: z.ZodOptional<z.ZodString>;
|
|
968
|
+
name: z.ZodString;
|
|
969
|
+
required: z.ZodBoolean;
|
|
970
|
+
type: z.ZodString;
|
|
971
|
+
}, "strip", z.ZodTypeAny, {
|
|
972
|
+
name: string;
|
|
973
|
+
required: boolean;
|
|
974
|
+
type: string;
|
|
975
|
+
description?: string | undefined;
|
|
976
|
+
}, {
|
|
977
|
+
name: string;
|
|
978
|
+
required: boolean;
|
|
979
|
+
type: string;
|
|
980
|
+
description?: string | undefined;
|
|
981
|
+
}>, "many">>;
|
|
982
|
+
prefills: z.ZodObject<{
|
|
983
|
+
participants: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
984
|
+
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
985
|
+
}, "strip", z.ZodTypeAny, {
|
|
986
|
+
participants?: Record<string, unknown> | undefined;
|
|
987
|
+
payload?: Record<string, unknown> | undefined;
|
|
988
|
+
}, {
|
|
989
|
+
participants?: Record<string, unknown> | undefined;
|
|
990
|
+
payload?: Record<string, unknown> | undefined;
|
|
991
|
+
}>;
|
|
992
|
+
}, "strip", z.ZodTypeAny, {
|
|
993
|
+
prefills: {
|
|
994
|
+
participants?: Record<string, unknown> | undefined;
|
|
995
|
+
payload?: Record<string, unknown> | undefined;
|
|
996
|
+
};
|
|
997
|
+
participants?: {
|
|
998
|
+
name: string;
|
|
999
|
+
required: boolean;
|
|
1000
|
+
type: string;
|
|
1001
|
+
description?: string | undefined;
|
|
1002
|
+
}[] | undefined;
|
|
1003
|
+
input_schema?: Record<string, unknown> | undefined;
|
|
1004
|
+
}, {
|
|
1005
|
+
prefills: {
|
|
1006
|
+
participants?: Record<string, unknown> | undefined;
|
|
1007
|
+
payload?: Record<string, unknown> | undefined;
|
|
1008
|
+
};
|
|
1009
|
+
participants?: {
|
|
1010
|
+
name: string;
|
|
1011
|
+
required: boolean;
|
|
1012
|
+
type: string;
|
|
1013
|
+
description?: string | undefined;
|
|
1014
|
+
}[] | undefined;
|
|
1015
|
+
input_schema?: Record<string, unknown> | undefined;
|
|
1016
|
+
}>>;
|
|
1017
|
+
type: z.ZodLiteral<"automation">;
|
|
1018
|
+
}, "strip", z.ZodTypeAny, {
|
|
1019
|
+
type: "automation";
|
|
1020
|
+
automation_type?: string | undefined;
|
|
1021
|
+
invoke_contract?: {
|
|
1022
|
+
prefills: {
|
|
1023
|
+
participants?: Record<string, unknown> | undefined;
|
|
1024
|
+
payload?: Record<string, unknown> | undefined;
|
|
1025
|
+
};
|
|
1026
|
+
participants?: {
|
|
1027
|
+
name: string;
|
|
1028
|
+
required: boolean;
|
|
1029
|
+
type: string;
|
|
1030
|
+
description?: string | undefined;
|
|
1031
|
+
}[] | undefined;
|
|
1032
|
+
input_schema?: Record<string, unknown> | undefined;
|
|
1033
|
+
} | undefined;
|
|
1034
|
+
}, {
|
|
1035
|
+
type: "automation";
|
|
1036
|
+
automation_type?: string | undefined;
|
|
1037
|
+
invoke_contract?: {
|
|
1038
|
+
prefills: {
|
|
1039
|
+
participants?: Record<string, unknown> | undefined;
|
|
1040
|
+
payload?: Record<string, unknown> | undefined;
|
|
1041
|
+
};
|
|
1042
|
+
participants?: {
|
|
1043
|
+
name: string;
|
|
1044
|
+
required: boolean;
|
|
1045
|
+
type: string;
|
|
1046
|
+
description?: string | undefined;
|
|
1047
|
+
}[] | undefined;
|
|
1048
|
+
input_schema?: Record<string, unknown> | undefined;
|
|
1049
|
+
} | undefined;
|
|
1050
|
+
}>]>>;
|
|
819
1051
|
display_name: z.ZodOptional<z.ZodString>;
|
|
820
1052
|
id: z.ZodOptional<z.ZodString>;
|
|
821
1053
|
kind: z.ZodString;
|
|
@@ -825,21 +1057,55 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
825
1057
|
virtual_path: z.ZodOptional<z.ZodString>;
|
|
826
1058
|
}, "strip", z.ZodTypeAny, {
|
|
827
1059
|
kind: string;
|
|
1060
|
+
description?: string | undefined;
|
|
1061
|
+
name?: string | undefined;
|
|
828
1062
|
id?: string | undefined;
|
|
829
1063
|
lookup_key?: string | undefined;
|
|
830
1064
|
virtual_path?: string | undefined;
|
|
831
|
-
name?: string | undefined;
|
|
832
|
-
description?: string | undefined;
|
|
833
1065
|
readme_url?: string | undefined;
|
|
1066
|
+
details?: {
|
|
1067
|
+
type: "automation";
|
|
1068
|
+
automation_type?: string | undefined;
|
|
1069
|
+
invoke_contract?: {
|
|
1070
|
+
prefills: {
|
|
1071
|
+
participants?: Record<string, unknown> | undefined;
|
|
1072
|
+
payload?: Record<string, unknown> | undefined;
|
|
1073
|
+
};
|
|
1074
|
+
participants?: {
|
|
1075
|
+
name: string;
|
|
1076
|
+
required: boolean;
|
|
1077
|
+
type: string;
|
|
1078
|
+
description?: string | undefined;
|
|
1079
|
+
}[] | undefined;
|
|
1080
|
+
input_schema?: Record<string, unknown> | undefined;
|
|
1081
|
+
} | undefined;
|
|
1082
|
+
} | undefined;
|
|
834
1083
|
display_name?: string | undefined;
|
|
835
1084
|
}, {
|
|
836
1085
|
kind: string;
|
|
1086
|
+
description?: string | undefined;
|
|
1087
|
+
name?: string | undefined;
|
|
837
1088
|
id?: string | undefined;
|
|
838
1089
|
lookup_key?: string | undefined;
|
|
839
1090
|
virtual_path?: string | undefined;
|
|
840
|
-
name?: string | undefined;
|
|
841
|
-
description?: string | undefined;
|
|
842
1091
|
readme_url?: string | undefined;
|
|
1092
|
+
details?: {
|
|
1093
|
+
type: "automation";
|
|
1094
|
+
automation_type?: string | undefined;
|
|
1095
|
+
invoke_contract?: {
|
|
1096
|
+
prefills: {
|
|
1097
|
+
participants?: Record<string, unknown> | undefined;
|
|
1098
|
+
payload?: Record<string, unknown> | undefined;
|
|
1099
|
+
};
|
|
1100
|
+
participants?: {
|
|
1101
|
+
name: string;
|
|
1102
|
+
required: boolean;
|
|
1103
|
+
type: string;
|
|
1104
|
+
description?: string | undefined;
|
|
1105
|
+
}[] | undefined;
|
|
1106
|
+
input_schema?: Record<string, unknown> | undefined;
|
|
1107
|
+
} | undefined;
|
|
1108
|
+
} | undefined;
|
|
843
1109
|
display_name?: string | undefined;
|
|
844
1110
|
}>, "many">;
|
|
845
1111
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
@@ -851,25 +1117,44 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
851
1117
|
owners: string[];
|
|
852
1118
|
templates: {
|
|
853
1119
|
kind: string;
|
|
1120
|
+
description?: string | undefined;
|
|
1121
|
+
name?: string | undefined;
|
|
854
1122
|
id?: string | undefined;
|
|
855
1123
|
lookup_key?: string | undefined;
|
|
856
1124
|
virtual_path?: string | undefined;
|
|
857
|
-
name?: string | undefined;
|
|
858
|
-
description?: string | undefined;
|
|
859
1125
|
readme_url?: string | undefined;
|
|
1126
|
+
details?: {
|
|
1127
|
+
type: "automation";
|
|
1128
|
+
automation_type?: string | undefined;
|
|
1129
|
+
invoke_contract?: {
|
|
1130
|
+
prefills: {
|
|
1131
|
+
participants?: Record<string, unknown> | undefined;
|
|
1132
|
+
payload?: Record<string, unknown> | undefined;
|
|
1133
|
+
};
|
|
1134
|
+
participants?: {
|
|
1135
|
+
name: string;
|
|
1136
|
+
required: boolean;
|
|
1137
|
+
type: string;
|
|
1138
|
+
description?: string | undefined;
|
|
1139
|
+
}[] | undefined;
|
|
1140
|
+
input_schema?: Record<string, unknown> | undefined;
|
|
1141
|
+
} | undefined;
|
|
1142
|
+
} | undefined;
|
|
860
1143
|
display_name?: string | undefined;
|
|
861
1144
|
}[];
|
|
862
1145
|
upgrade_available: boolean;
|
|
863
1146
|
org?: string | undefined;
|
|
1147
|
+
description?: string | undefined;
|
|
1148
|
+
name?: string | undefined;
|
|
864
1149
|
created_at?: string | undefined;
|
|
865
|
-
lookup_key?: string | undefined;
|
|
866
1150
|
updated_at?: string | undefined;
|
|
1151
|
+
lookup_key?: string | undefined;
|
|
867
1152
|
virtual_path?: string | undefined;
|
|
868
|
-
name?: string | undefined;
|
|
869
1153
|
metadata?: Record<string, unknown> | undefined;
|
|
870
1154
|
org_name?: string | undefined;
|
|
871
1155
|
category_keys?: string[] | undefined;
|
|
872
|
-
|
|
1156
|
+
events?: Record<string, unknown> | undefined;
|
|
1157
|
+
image_url?: string | undefined;
|
|
873
1158
|
latest_solution?: string | undefined;
|
|
874
1159
|
latest_version?: string | undefined;
|
|
875
1160
|
org_logo?: {
|
|
@@ -883,6 +1168,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
883
1168
|
} | undefined;
|
|
884
1169
|
org_slug?: string | undefined;
|
|
885
1170
|
readme_url?: string | undefined;
|
|
1171
|
+
screenshot_urls?: string[] | undefined;
|
|
886
1172
|
solution_id?: string | undefined;
|
|
887
1173
|
solution_version?: string | undefined;
|
|
888
1174
|
tag_keys?: string[] | undefined;
|
|
@@ -893,25 +1179,44 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
893
1179
|
owners: string[];
|
|
894
1180
|
templates: {
|
|
895
1181
|
kind: string;
|
|
1182
|
+
description?: string | undefined;
|
|
1183
|
+
name?: string | undefined;
|
|
896
1184
|
id?: string | undefined;
|
|
897
1185
|
lookup_key?: string | undefined;
|
|
898
1186
|
virtual_path?: string | undefined;
|
|
899
|
-
name?: string | undefined;
|
|
900
|
-
description?: string | undefined;
|
|
901
1187
|
readme_url?: string | undefined;
|
|
1188
|
+
details?: {
|
|
1189
|
+
type: "automation";
|
|
1190
|
+
automation_type?: string | undefined;
|
|
1191
|
+
invoke_contract?: {
|
|
1192
|
+
prefills: {
|
|
1193
|
+
participants?: Record<string, unknown> | undefined;
|
|
1194
|
+
payload?: Record<string, unknown> | undefined;
|
|
1195
|
+
};
|
|
1196
|
+
participants?: {
|
|
1197
|
+
name: string;
|
|
1198
|
+
required: boolean;
|
|
1199
|
+
type: string;
|
|
1200
|
+
description?: string | undefined;
|
|
1201
|
+
}[] | undefined;
|
|
1202
|
+
input_schema?: Record<string, unknown> | undefined;
|
|
1203
|
+
} | undefined;
|
|
1204
|
+
} | undefined;
|
|
902
1205
|
display_name?: string | undefined;
|
|
903
1206
|
}[];
|
|
904
1207
|
upgrade_available: boolean;
|
|
905
1208
|
org?: string | undefined;
|
|
1209
|
+
description?: string | undefined;
|
|
1210
|
+
name?: string | undefined;
|
|
906
1211
|
created_at?: string | undefined;
|
|
907
|
-
lookup_key?: string | undefined;
|
|
908
1212
|
updated_at?: string | undefined;
|
|
1213
|
+
lookup_key?: string | undefined;
|
|
909
1214
|
virtual_path?: string | undefined;
|
|
910
|
-
name?: string | undefined;
|
|
911
1215
|
metadata?: Record<string, unknown> | undefined;
|
|
912
1216
|
org_name?: string | undefined;
|
|
913
1217
|
category_keys?: string[] | undefined;
|
|
914
|
-
|
|
1218
|
+
events?: Record<string, unknown> | undefined;
|
|
1219
|
+
image_url?: string | undefined;
|
|
915
1220
|
latest_solution?: string | undefined;
|
|
916
1221
|
latest_version?: string | undefined;
|
|
917
1222
|
org_logo?: {
|
|
@@ -925,70 +1230,260 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
925
1230
|
} | undefined;
|
|
926
1231
|
org_slug?: string | undefined;
|
|
927
1232
|
readme_url?: string | undefined;
|
|
1233
|
+
screenshot_urls?: string[] | undefined;
|
|
928
1234
|
solution_id?: string | undefined;
|
|
929
1235
|
solution_version?: string | undefined;
|
|
930
1236
|
tag_keys?: string[] | undefined;
|
|
931
1237
|
template_kind?: string | undefined;
|
|
932
|
-
}
|
|
933
|
-
|
|
1238
|
+
}>>;
|
|
1239
|
+
solution: z.ZodObject<{
|
|
1240
|
+
category_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
934
1241
|
created_at: z.ZodOptional<z.ZodString>;
|
|
935
1242
|
description: z.ZodOptional<z.ZodString>;
|
|
936
|
-
|
|
1243
|
+
events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
937
1244
|
id: z.ZodString;
|
|
1245
|
+
image_url: z.ZodOptional<z.ZodString>;
|
|
938
1246
|
kind: z.ZodString;
|
|
1247
|
+
latest_solution: z.ZodOptional<z.ZodString>;
|
|
1248
|
+
latest_version: z.ZodOptional<z.ZodString>;
|
|
939
1249
|
lookup_key: z.ZodOptional<z.ZodString>;
|
|
1250
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
940
1251
|
name: z.ZodOptional<z.ZodString>;
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
1252
|
+
org: z.ZodOptional<z.ZodString>;
|
|
1253
|
+
org_logo: z.ZodOptional<z.ZodObject<{
|
|
1254
|
+
file: z.ZodOptional<z.ZodString>;
|
|
1255
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
1256
|
+
media: z.ZodOptional<z.ZodString>;
|
|
1257
|
+
mime_type: z.ZodOptional<z.ZodString>;
|
|
1258
|
+
refresh_url: z.ZodOptional<z.ZodString>;
|
|
1259
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1260
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
1261
|
+
}, "strip", z.ZodTypeAny, {
|
|
1262
|
+
mime_type?: string | undefined;
|
|
1263
|
+
file?: string | undefined;
|
|
1264
|
+
height?: number | undefined;
|
|
1265
|
+
media?: string | undefined;
|
|
1266
|
+
refresh_url?: string | undefined;
|
|
1267
|
+
url?: string | undefined;
|
|
1268
|
+
width?: number | undefined;
|
|
1269
|
+
}, {
|
|
1270
|
+
mime_type?: string | undefined;
|
|
1271
|
+
file?: string | undefined;
|
|
1272
|
+
height?: number | undefined;
|
|
1273
|
+
media?: string | undefined;
|
|
1274
|
+
refresh_url?: string | undefined;
|
|
1275
|
+
url?: string | undefined;
|
|
1276
|
+
width?: number | undefined;
|
|
1277
|
+
}>>;
|
|
1278
|
+
org_name: z.ZodOptional<z.ZodString>;
|
|
1279
|
+
org_slug: z.ZodOptional<z.ZodString>;
|
|
1280
|
+
owners: z.ZodArray<z.ZodString, "many">;
|
|
1281
|
+
readme_url: z.ZodOptional<z.ZodString>;
|
|
1282
|
+
screenshot_urls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1283
|
+
solution_id: z.ZodOptional<z.ZodString>;
|
|
1284
|
+
solution_version: z.ZodOptional<z.ZodString>;
|
|
1285
|
+
tag_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1286
|
+
template_kind: z.ZodOptional<z.ZodString>;
|
|
1287
|
+
templates: z.ZodArray<z.ZodObject<{
|
|
1288
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1289
|
+
details: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1290
|
+
automation_type: z.ZodOptional<z.ZodString>;
|
|
1291
|
+
invoke_contract: z.ZodOptional<z.ZodObject<{
|
|
1292
|
+
input_schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1293
|
+
participants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1294
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1295
|
+
name: z.ZodString;
|
|
1296
|
+
required: z.ZodBoolean;
|
|
1297
|
+
type: z.ZodString;
|
|
1298
|
+
}, "strip", z.ZodTypeAny, {
|
|
1299
|
+
name: string;
|
|
1300
|
+
required: boolean;
|
|
1301
|
+
type: string;
|
|
1302
|
+
description?: string | undefined;
|
|
1303
|
+
}, {
|
|
1304
|
+
name: string;
|
|
1305
|
+
required: boolean;
|
|
1306
|
+
type: string;
|
|
1307
|
+
description?: string | undefined;
|
|
1308
|
+
}>, "many">>;
|
|
1309
|
+
prefills: z.ZodObject<{
|
|
1310
|
+
participants: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1311
|
+
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1312
|
+
}, "strip", z.ZodTypeAny, {
|
|
1313
|
+
participants?: Record<string, unknown> | undefined;
|
|
1314
|
+
payload?: Record<string, unknown> | undefined;
|
|
1315
|
+
}, {
|
|
1316
|
+
participants?: Record<string, unknown> | undefined;
|
|
1317
|
+
payload?: Record<string, unknown> | undefined;
|
|
1318
|
+
}>;
|
|
1319
|
+
}, "strip", z.ZodTypeAny, {
|
|
1320
|
+
prefills: {
|
|
1321
|
+
participants?: Record<string, unknown> | undefined;
|
|
1322
|
+
payload?: Record<string, unknown> | undefined;
|
|
1323
|
+
};
|
|
1324
|
+
participants?: {
|
|
1325
|
+
name: string;
|
|
1326
|
+
required: boolean;
|
|
1327
|
+
type: string;
|
|
1328
|
+
description?: string | undefined;
|
|
1329
|
+
}[] | undefined;
|
|
1330
|
+
input_schema?: Record<string, unknown> | undefined;
|
|
1331
|
+
}, {
|
|
1332
|
+
prefills: {
|
|
1333
|
+
participants?: Record<string, unknown> | undefined;
|
|
1334
|
+
payload?: Record<string, unknown> | undefined;
|
|
1335
|
+
};
|
|
1336
|
+
participants?: {
|
|
1337
|
+
name: string;
|
|
1338
|
+
required: boolean;
|
|
1339
|
+
type: string;
|
|
1340
|
+
description?: string | undefined;
|
|
1341
|
+
}[] | undefined;
|
|
1342
|
+
input_schema?: Record<string, unknown> | undefined;
|
|
1343
|
+
}>>;
|
|
1344
|
+
type: z.ZodLiteral<"automation">;
|
|
1345
|
+
}, "strip", z.ZodTypeAny, {
|
|
1346
|
+
type: "automation";
|
|
1347
|
+
automation_type?: string | undefined;
|
|
1348
|
+
invoke_contract?: {
|
|
1349
|
+
prefills: {
|
|
1350
|
+
participants?: Record<string, unknown> | undefined;
|
|
1351
|
+
payload?: Record<string, unknown> | undefined;
|
|
1352
|
+
};
|
|
1353
|
+
participants?: {
|
|
1354
|
+
name: string;
|
|
1355
|
+
required: boolean;
|
|
1356
|
+
type: string;
|
|
1357
|
+
description?: string | undefined;
|
|
1358
|
+
}[] | undefined;
|
|
1359
|
+
input_schema?: Record<string, unknown> | undefined;
|
|
1360
|
+
} | undefined;
|
|
1361
|
+
}, {
|
|
1362
|
+
type: "automation";
|
|
1363
|
+
automation_type?: string | undefined;
|
|
1364
|
+
invoke_contract?: {
|
|
1365
|
+
prefills: {
|
|
1366
|
+
participants?: Record<string, unknown> | undefined;
|
|
1367
|
+
payload?: Record<string, unknown> | undefined;
|
|
1368
|
+
};
|
|
1369
|
+
participants?: {
|
|
1370
|
+
name: string;
|
|
1371
|
+
required: boolean;
|
|
1372
|
+
type: string;
|
|
1373
|
+
description?: string | undefined;
|
|
1374
|
+
}[] | undefined;
|
|
1375
|
+
input_schema?: Record<string, unknown> | undefined;
|
|
1376
|
+
} | undefined;
|
|
1377
|
+
}>]>>;
|
|
1378
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
1379
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1380
|
+
kind: z.ZodString;
|
|
1381
|
+
lookup_key: z.ZodOptional<z.ZodString>;
|
|
1382
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1383
|
+
readme_url: z.ZodOptional<z.ZodString>;
|
|
1384
|
+
virtual_path: z.ZodOptional<z.ZodString>;
|
|
1385
|
+
}, "strip", z.ZodTypeAny, {
|
|
1386
|
+
kind: string;
|
|
1387
|
+
description?: string | undefined;
|
|
1388
|
+
name?: string | undefined;
|
|
1389
|
+
id?: string | undefined;
|
|
1390
|
+
lookup_key?: string | undefined;
|
|
1391
|
+
virtual_path?: string | undefined;
|
|
1392
|
+
readme_url?: string | undefined;
|
|
1393
|
+
details?: {
|
|
1394
|
+
type: "automation";
|
|
1395
|
+
automation_type?: string | undefined;
|
|
1396
|
+
invoke_contract?: {
|
|
1397
|
+
prefills: {
|
|
1398
|
+
participants?: Record<string, unknown> | undefined;
|
|
1399
|
+
payload?: Record<string, unknown> | undefined;
|
|
1400
|
+
};
|
|
1401
|
+
participants?: {
|
|
1402
|
+
name: string;
|
|
1403
|
+
required: boolean;
|
|
1404
|
+
type: string;
|
|
1405
|
+
description?: string | undefined;
|
|
1406
|
+
}[] | undefined;
|
|
1407
|
+
input_schema?: Record<string, unknown> | undefined;
|
|
1408
|
+
} | undefined;
|
|
1409
|
+
} | undefined;
|
|
1410
|
+
display_name?: string | undefined;
|
|
1411
|
+
}, {
|
|
1412
|
+
kind: string;
|
|
1413
|
+
description?: string | undefined;
|
|
1414
|
+
name?: string | undefined;
|
|
1415
|
+
id?: string | undefined;
|
|
1416
|
+
lookup_key?: string | undefined;
|
|
1417
|
+
virtual_path?: string | undefined;
|
|
1418
|
+
readme_url?: string | undefined;
|
|
1419
|
+
details?: {
|
|
1420
|
+
type: "automation";
|
|
1421
|
+
automation_type?: string | undefined;
|
|
1422
|
+
invoke_contract?: {
|
|
1423
|
+
prefills: {
|
|
1424
|
+
participants?: Record<string, unknown> | undefined;
|
|
1425
|
+
payload?: Record<string, unknown> | undefined;
|
|
1426
|
+
};
|
|
1427
|
+
participants?: {
|
|
1428
|
+
name: string;
|
|
1429
|
+
required: boolean;
|
|
1430
|
+
type: string;
|
|
1431
|
+
description?: string | undefined;
|
|
1432
|
+
}[] | undefined;
|
|
1433
|
+
input_schema?: Record<string, unknown> | undefined;
|
|
1434
|
+
} | undefined;
|
|
1435
|
+
} | undefined;
|
|
1436
|
+
display_name?: string | undefined;
|
|
1437
|
+
}>, "many">;
|
|
1438
|
+
updated_at: z.ZodOptional<z.ZodString>;
|
|
1439
|
+
upgrade_available: z.ZodBoolean;
|
|
1440
|
+
virtual_path: z.ZodOptional<z.ZodString>;
|
|
1441
|
+
}, "strip", z.ZodTypeAny, {
|
|
1442
|
+
kind: string;
|
|
1443
|
+
id: string;
|
|
1444
|
+
owners: string[];
|
|
1445
|
+
templates: {
|
|
1446
|
+
kind: string;
|
|
1447
|
+
description?: string | undefined;
|
|
1448
|
+
name?: string | undefined;
|
|
1449
|
+
id?: string | undefined;
|
|
1450
|
+
lookup_key?: string | undefined;
|
|
1451
|
+
virtual_path?: string | undefined;
|
|
1452
|
+
readme_url?: string | undefined;
|
|
1453
|
+
details?: {
|
|
1454
|
+
type: "automation";
|
|
1455
|
+
automation_type?: string | undefined;
|
|
1456
|
+
invoke_contract?: {
|
|
1457
|
+
prefills: {
|
|
1458
|
+
participants?: Record<string, unknown> | undefined;
|
|
1459
|
+
payload?: Record<string, unknown> | undefined;
|
|
1460
|
+
};
|
|
1461
|
+
participants?: {
|
|
1462
|
+
name: string;
|
|
1463
|
+
required: boolean;
|
|
1464
|
+
type: string;
|
|
1465
|
+
description?: string | undefined;
|
|
1466
|
+
}[] | undefined;
|
|
1467
|
+
input_schema?: Record<string, unknown> | undefined;
|
|
1468
|
+
} | undefined;
|
|
1469
|
+
} | undefined;
|
|
1470
|
+
display_name?: string | undefined;
|
|
1471
|
+
}[];
|
|
1472
|
+
upgrade_available: boolean;
|
|
1473
|
+
org?: string | undefined;
|
|
1474
|
+
description?: string | undefined;
|
|
1475
|
+
name?: string | undefined;
|
|
1476
|
+
created_at?: string | undefined;
|
|
1477
|
+
updated_at?: string | undefined;
|
|
1478
|
+
lookup_key?: string | undefined;
|
|
1479
|
+
virtual_path?: string | undefined;
|
|
1480
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1481
|
+
org_name?: string | undefined;
|
|
1482
|
+
category_keys?: string[] | undefined;
|
|
1483
|
+
events?: Record<string, unknown> | undefined;
|
|
1484
|
+
image_url?: string | undefined;
|
|
1485
|
+
latest_solution?: string | undefined;
|
|
1486
|
+
latest_version?: string | undefined;
|
|
992
1487
|
org_logo?: {
|
|
993
1488
|
mime_type?: string | undefined;
|
|
994
1489
|
file?: string | undefined;
|
|
@@ -1000,22 +1495,243 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1000
1495
|
} | undefined;
|
|
1001
1496
|
org_slug?: string | undefined;
|
|
1002
1497
|
readme_url?: string | undefined;
|
|
1498
|
+
screenshot_urls?: string[] | undefined;
|
|
1003
1499
|
solution_id?: string | undefined;
|
|
1004
1500
|
solution_version?: string | undefined;
|
|
1005
1501
|
tag_keys?: string[] | undefined;
|
|
1006
1502
|
template_kind?: string | undefined;
|
|
1007
|
-
}
|
|
1008
|
-
template: {
|
|
1503
|
+
}, {
|
|
1009
1504
|
kind: string;
|
|
1010
1505
|
id: string;
|
|
1506
|
+
owners: string[];
|
|
1507
|
+
templates: {
|
|
1508
|
+
kind: string;
|
|
1509
|
+
description?: string | undefined;
|
|
1510
|
+
name?: string | undefined;
|
|
1511
|
+
id?: string | undefined;
|
|
1512
|
+
lookup_key?: string | undefined;
|
|
1513
|
+
virtual_path?: string | undefined;
|
|
1514
|
+
readme_url?: string | undefined;
|
|
1515
|
+
details?: {
|
|
1516
|
+
type: "automation";
|
|
1517
|
+
automation_type?: string | undefined;
|
|
1518
|
+
invoke_contract?: {
|
|
1519
|
+
prefills: {
|
|
1520
|
+
participants?: Record<string, unknown> | undefined;
|
|
1521
|
+
payload?: Record<string, unknown> | undefined;
|
|
1522
|
+
};
|
|
1523
|
+
participants?: {
|
|
1524
|
+
name: string;
|
|
1525
|
+
required: boolean;
|
|
1526
|
+
type: string;
|
|
1527
|
+
description?: string | undefined;
|
|
1528
|
+
}[] | undefined;
|
|
1529
|
+
input_schema?: Record<string, unknown> | undefined;
|
|
1530
|
+
} | undefined;
|
|
1531
|
+
} | undefined;
|
|
1532
|
+
display_name?: string | undefined;
|
|
1533
|
+
}[];
|
|
1534
|
+
upgrade_available: boolean;
|
|
1535
|
+
org?: string | undefined;
|
|
1536
|
+
description?: string | undefined;
|
|
1537
|
+
name?: string | undefined;
|
|
1011
1538
|
created_at?: string | undefined;
|
|
1539
|
+
updated_at?: string | undefined;
|
|
1012
1540
|
lookup_key?: string | undefined;
|
|
1541
|
+
virtual_path?: string | undefined;
|
|
1542
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1543
|
+
org_name?: string | undefined;
|
|
1544
|
+
category_keys?: string[] | undefined;
|
|
1545
|
+
events?: Record<string, unknown> | undefined;
|
|
1546
|
+
image_url?: string | undefined;
|
|
1547
|
+
latest_solution?: string | undefined;
|
|
1548
|
+
latest_version?: string | undefined;
|
|
1549
|
+
org_logo?: {
|
|
1550
|
+
mime_type?: string | undefined;
|
|
1551
|
+
file?: string | undefined;
|
|
1552
|
+
height?: number | undefined;
|
|
1553
|
+
media?: string | undefined;
|
|
1554
|
+
refresh_url?: string | undefined;
|
|
1555
|
+
url?: string | undefined;
|
|
1556
|
+
width?: number | undefined;
|
|
1557
|
+
} | undefined;
|
|
1558
|
+
org_slug?: string | undefined;
|
|
1559
|
+
readme_url?: string | undefined;
|
|
1560
|
+
screenshot_urls?: string[] | undefined;
|
|
1561
|
+
solution_id?: string | undefined;
|
|
1562
|
+
solution_version?: string | undefined;
|
|
1563
|
+
tag_keys?: string[] | undefined;
|
|
1564
|
+
template_kind?: string | undefined;
|
|
1565
|
+
}>;
|
|
1566
|
+
template: z.ZodObject<{
|
|
1567
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
1568
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1569
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
1570
|
+
id: z.ZodString;
|
|
1571
|
+
kind: z.ZodString;
|
|
1572
|
+
lookup_key: z.ZodOptional<z.ZodString>;
|
|
1573
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1574
|
+
updated_at: z.ZodOptional<z.ZodString>;
|
|
1575
|
+
virtual_path: z.ZodOptional<z.ZodString>;
|
|
1576
|
+
}, "strip", z.ZodTypeAny, {
|
|
1577
|
+
kind: string;
|
|
1578
|
+
id: string;
|
|
1579
|
+
description?: string | undefined;
|
|
1580
|
+
name?: string | undefined;
|
|
1581
|
+
created_at?: string | undefined;
|
|
1013
1582
|
updated_at?: string | undefined;
|
|
1583
|
+
lookup_key?: string | undefined;
|
|
1014
1584
|
virtual_path?: string | undefined;
|
|
1585
|
+
display_name?: string | undefined;
|
|
1586
|
+
}, {
|
|
1587
|
+
kind: string;
|
|
1588
|
+
id: string;
|
|
1589
|
+
description?: string | undefined;
|
|
1015
1590
|
name?: string | undefined;
|
|
1591
|
+
created_at?: string | undefined;
|
|
1592
|
+
updated_at?: string | undefined;
|
|
1593
|
+
lookup_key?: string | undefined;
|
|
1594
|
+
virtual_path?: string | undefined;
|
|
1595
|
+
display_name?: string | undefined;
|
|
1596
|
+
}>;
|
|
1597
|
+
}, "strip", z.ZodTypeAny, {
|
|
1598
|
+
solution: {
|
|
1599
|
+
kind: string;
|
|
1600
|
+
id: string;
|
|
1601
|
+
owners: string[];
|
|
1602
|
+
templates: {
|
|
1603
|
+
kind: string;
|
|
1604
|
+
description?: string | undefined;
|
|
1605
|
+
name?: string | undefined;
|
|
1606
|
+
id?: string | undefined;
|
|
1607
|
+
lookup_key?: string | undefined;
|
|
1608
|
+
virtual_path?: string | undefined;
|
|
1609
|
+
readme_url?: string | undefined;
|
|
1610
|
+
details?: {
|
|
1611
|
+
type: "automation";
|
|
1612
|
+
automation_type?: string | undefined;
|
|
1613
|
+
invoke_contract?: {
|
|
1614
|
+
prefills: {
|
|
1615
|
+
participants?: Record<string, unknown> | undefined;
|
|
1616
|
+
payload?: Record<string, unknown> | undefined;
|
|
1617
|
+
};
|
|
1618
|
+
participants?: {
|
|
1619
|
+
name: string;
|
|
1620
|
+
required: boolean;
|
|
1621
|
+
type: string;
|
|
1622
|
+
description?: string | undefined;
|
|
1623
|
+
}[] | undefined;
|
|
1624
|
+
input_schema?: Record<string, unknown> | undefined;
|
|
1625
|
+
} | undefined;
|
|
1626
|
+
} | undefined;
|
|
1627
|
+
display_name?: string | undefined;
|
|
1628
|
+
}[];
|
|
1629
|
+
upgrade_available: boolean;
|
|
1630
|
+
org?: string | undefined;
|
|
1016
1631
|
description?: string | undefined;
|
|
1632
|
+
name?: string | undefined;
|
|
1633
|
+
created_at?: string | undefined;
|
|
1634
|
+
updated_at?: string | undefined;
|
|
1635
|
+
lookup_key?: string | undefined;
|
|
1636
|
+
virtual_path?: string | undefined;
|
|
1637
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1638
|
+
org_name?: string | undefined;
|
|
1639
|
+
category_keys?: string[] | undefined;
|
|
1640
|
+
events?: Record<string, unknown> | undefined;
|
|
1641
|
+
image_url?: string | undefined;
|
|
1642
|
+
latest_solution?: string | undefined;
|
|
1643
|
+
latest_version?: string | undefined;
|
|
1644
|
+
org_logo?: {
|
|
1645
|
+
mime_type?: string | undefined;
|
|
1646
|
+
file?: string | undefined;
|
|
1647
|
+
height?: number | undefined;
|
|
1648
|
+
media?: string | undefined;
|
|
1649
|
+
refresh_url?: string | undefined;
|
|
1650
|
+
url?: string | undefined;
|
|
1651
|
+
width?: number | undefined;
|
|
1652
|
+
} | undefined;
|
|
1653
|
+
org_slug?: string | undefined;
|
|
1654
|
+
readme_url?: string | undefined;
|
|
1655
|
+
screenshot_urls?: string[] | undefined;
|
|
1656
|
+
solution_id?: string | undefined;
|
|
1657
|
+
solution_version?: string | undefined;
|
|
1658
|
+
tag_keys?: string[] | undefined;
|
|
1659
|
+
template_kind?: string | undefined;
|
|
1660
|
+
};
|
|
1661
|
+
template: {
|
|
1662
|
+
kind: string;
|
|
1663
|
+
id: string;
|
|
1664
|
+
description?: string | undefined;
|
|
1665
|
+
name?: string | undefined;
|
|
1666
|
+
created_at?: string | undefined;
|
|
1667
|
+
updated_at?: string | undefined;
|
|
1668
|
+
lookup_key?: string | undefined;
|
|
1669
|
+
virtual_path?: string | undefined;
|
|
1017
1670
|
display_name?: string | undefined;
|
|
1018
1671
|
};
|
|
1672
|
+
current_solution?: {
|
|
1673
|
+
kind: string;
|
|
1674
|
+
id: string;
|
|
1675
|
+
owners: string[];
|
|
1676
|
+
templates: {
|
|
1677
|
+
kind: string;
|
|
1678
|
+
description?: string | undefined;
|
|
1679
|
+
name?: string | undefined;
|
|
1680
|
+
id?: string | undefined;
|
|
1681
|
+
lookup_key?: string | undefined;
|
|
1682
|
+
virtual_path?: string | undefined;
|
|
1683
|
+
readme_url?: string | undefined;
|
|
1684
|
+
details?: {
|
|
1685
|
+
type: "automation";
|
|
1686
|
+
automation_type?: string | undefined;
|
|
1687
|
+
invoke_contract?: {
|
|
1688
|
+
prefills: {
|
|
1689
|
+
participants?: Record<string, unknown> | undefined;
|
|
1690
|
+
payload?: Record<string, unknown> | undefined;
|
|
1691
|
+
};
|
|
1692
|
+
participants?: {
|
|
1693
|
+
name: string;
|
|
1694
|
+
required: boolean;
|
|
1695
|
+
type: string;
|
|
1696
|
+
description?: string | undefined;
|
|
1697
|
+
}[] | undefined;
|
|
1698
|
+
input_schema?: Record<string, unknown> | undefined;
|
|
1699
|
+
} | undefined;
|
|
1700
|
+
} | undefined;
|
|
1701
|
+
display_name?: string | undefined;
|
|
1702
|
+
}[];
|
|
1703
|
+
upgrade_available: boolean;
|
|
1704
|
+
org?: string | undefined;
|
|
1705
|
+
description?: string | undefined;
|
|
1706
|
+
name?: string | undefined;
|
|
1707
|
+
created_at?: string | undefined;
|
|
1708
|
+
updated_at?: string | undefined;
|
|
1709
|
+
lookup_key?: string | undefined;
|
|
1710
|
+
virtual_path?: string | undefined;
|
|
1711
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1712
|
+
org_name?: string | undefined;
|
|
1713
|
+
category_keys?: string[] | undefined;
|
|
1714
|
+
events?: Record<string, unknown> | undefined;
|
|
1715
|
+
image_url?: string | undefined;
|
|
1716
|
+
latest_solution?: string | undefined;
|
|
1717
|
+
latest_version?: string | undefined;
|
|
1718
|
+
org_logo?: {
|
|
1719
|
+
mime_type?: string | undefined;
|
|
1720
|
+
file?: string | undefined;
|
|
1721
|
+
height?: number | undefined;
|
|
1722
|
+
media?: string | undefined;
|
|
1723
|
+
refresh_url?: string | undefined;
|
|
1724
|
+
url?: string | undefined;
|
|
1725
|
+
width?: number | undefined;
|
|
1726
|
+
} | undefined;
|
|
1727
|
+
org_slug?: string | undefined;
|
|
1728
|
+
readme_url?: string | undefined;
|
|
1729
|
+
screenshot_urls?: string[] | undefined;
|
|
1730
|
+
solution_id?: string | undefined;
|
|
1731
|
+
solution_version?: string | undefined;
|
|
1732
|
+
tag_keys?: string[] | undefined;
|
|
1733
|
+
template_kind?: string | undefined;
|
|
1734
|
+
} | undefined;
|
|
1019
1735
|
}, {
|
|
1020
1736
|
solution: {
|
|
1021
1737
|
kind: string;
|
|
@@ -1023,25 +1739,118 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1023
1739
|
owners: string[];
|
|
1024
1740
|
templates: {
|
|
1025
1741
|
kind: string;
|
|
1742
|
+
description?: string | undefined;
|
|
1743
|
+
name?: string | undefined;
|
|
1744
|
+
id?: string | undefined;
|
|
1745
|
+
lookup_key?: string | undefined;
|
|
1746
|
+
virtual_path?: string | undefined;
|
|
1747
|
+
readme_url?: string | undefined;
|
|
1748
|
+
details?: {
|
|
1749
|
+
type: "automation";
|
|
1750
|
+
automation_type?: string | undefined;
|
|
1751
|
+
invoke_contract?: {
|
|
1752
|
+
prefills: {
|
|
1753
|
+
participants?: Record<string, unknown> | undefined;
|
|
1754
|
+
payload?: Record<string, unknown> | undefined;
|
|
1755
|
+
};
|
|
1756
|
+
participants?: {
|
|
1757
|
+
name: string;
|
|
1758
|
+
required: boolean;
|
|
1759
|
+
type: string;
|
|
1760
|
+
description?: string | undefined;
|
|
1761
|
+
}[] | undefined;
|
|
1762
|
+
input_schema?: Record<string, unknown> | undefined;
|
|
1763
|
+
} | undefined;
|
|
1764
|
+
} | undefined;
|
|
1765
|
+
display_name?: string | undefined;
|
|
1766
|
+
}[];
|
|
1767
|
+
upgrade_available: boolean;
|
|
1768
|
+
org?: string | undefined;
|
|
1769
|
+
description?: string | undefined;
|
|
1770
|
+
name?: string | undefined;
|
|
1771
|
+
created_at?: string | undefined;
|
|
1772
|
+
updated_at?: string | undefined;
|
|
1773
|
+
lookup_key?: string | undefined;
|
|
1774
|
+
virtual_path?: string | undefined;
|
|
1775
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1776
|
+
org_name?: string | undefined;
|
|
1777
|
+
category_keys?: string[] | undefined;
|
|
1778
|
+
events?: Record<string, unknown> | undefined;
|
|
1779
|
+
image_url?: string | undefined;
|
|
1780
|
+
latest_solution?: string | undefined;
|
|
1781
|
+
latest_version?: string | undefined;
|
|
1782
|
+
org_logo?: {
|
|
1783
|
+
mime_type?: string | undefined;
|
|
1784
|
+
file?: string | undefined;
|
|
1785
|
+
height?: number | undefined;
|
|
1786
|
+
media?: string | undefined;
|
|
1787
|
+
refresh_url?: string | undefined;
|
|
1788
|
+
url?: string | undefined;
|
|
1789
|
+
width?: number | undefined;
|
|
1790
|
+
} | undefined;
|
|
1791
|
+
org_slug?: string | undefined;
|
|
1792
|
+
readme_url?: string | undefined;
|
|
1793
|
+
screenshot_urls?: string[] | undefined;
|
|
1794
|
+
solution_id?: string | undefined;
|
|
1795
|
+
solution_version?: string | undefined;
|
|
1796
|
+
tag_keys?: string[] | undefined;
|
|
1797
|
+
template_kind?: string | undefined;
|
|
1798
|
+
};
|
|
1799
|
+
template: {
|
|
1800
|
+
kind: string;
|
|
1801
|
+
id: string;
|
|
1802
|
+
description?: string | undefined;
|
|
1803
|
+
name?: string | undefined;
|
|
1804
|
+
created_at?: string | undefined;
|
|
1805
|
+
updated_at?: string | undefined;
|
|
1806
|
+
lookup_key?: string | undefined;
|
|
1807
|
+
virtual_path?: string | undefined;
|
|
1808
|
+
display_name?: string | undefined;
|
|
1809
|
+
};
|
|
1810
|
+
current_solution?: {
|
|
1811
|
+
kind: string;
|
|
1812
|
+
id: string;
|
|
1813
|
+
owners: string[];
|
|
1814
|
+
templates: {
|
|
1815
|
+
kind: string;
|
|
1816
|
+
description?: string | undefined;
|
|
1817
|
+
name?: string | undefined;
|
|
1026
1818
|
id?: string | undefined;
|
|
1027
1819
|
lookup_key?: string | undefined;
|
|
1028
1820
|
virtual_path?: string | undefined;
|
|
1029
|
-
name?: string | undefined;
|
|
1030
|
-
description?: string | undefined;
|
|
1031
1821
|
readme_url?: string | undefined;
|
|
1822
|
+
details?: {
|
|
1823
|
+
type: "automation";
|
|
1824
|
+
automation_type?: string | undefined;
|
|
1825
|
+
invoke_contract?: {
|
|
1826
|
+
prefills: {
|
|
1827
|
+
participants?: Record<string, unknown> | undefined;
|
|
1828
|
+
payload?: Record<string, unknown> | undefined;
|
|
1829
|
+
};
|
|
1830
|
+
participants?: {
|
|
1831
|
+
name: string;
|
|
1832
|
+
required: boolean;
|
|
1833
|
+
type: string;
|
|
1834
|
+
description?: string | undefined;
|
|
1835
|
+
}[] | undefined;
|
|
1836
|
+
input_schema?: Record<string, unknown> | undefined;
|
|
1837
|
+
} | undefined;
|
|
1838
|
+
} | undefined;
|
|
1032
1839
|
display_name?: string | undefined;
|
|
1033
1840
|
}[];
|
|
1034
1841
|
upgrade_available: boolean;
|
|
1035
1842
|
org?: string | undefined;
|
|
1843
|
+
description?: string | undefined;
|
|
1844
|
+
name?: string | undefined;
|
|
1036
1845
|
created_at?: string | undefined;
|
|
1037
|
-
lookup_key?: string | undefined;
|
|
1038
1846
|
updated_at?: string | undefined;
|
|
1847
|
+
lookup_key?: string | undefined;
|
|
1039
1848
|
virtual_path?: string | undefined;
|
|
1040
|
-
name?: string | undefined;
|
|
1041
1849
|
metadata?: Record<string, unknown> | undefined;
|
|
1042
1850
|
org_name?: string | undefined;
|
|
1043
1851
|
category_keys?: string[] | undefined;
|
|
1044
|
-
|
|
1852
|
+
events?: Record<string, unknown> | undefined;
|
|
1853
|
+
image_url?: string | undefined;
|
|
1045
1854
|
latest_solution?: string | undefined;
|
|
1046
1855
|
latest_version?: string | undefined;
|
|
1047
1856
|
org_logo?: {
|
|
@@ -1055,22 +1864,12 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1055
1864
|
} | undefined;
|
|
1056
1865
|
org_slug?: string | undefined;
|
|
1057
1866
|
readme_url?: string | undefined;
|
|
1867
|
+
screenshot_urls?: string[] | undefined;
|
|
1058
1868
|
solution_id?: string | undefined;
|
|
1059
1869
|
solution_version?: string | undefined;
|
|
1060
1870
|
tag_keys?: string[] | undefined;
|
|
1061
1871
|
template_kind?: string | undefined;
|
|
1062
|
-
};
|
|
1063
|
-
template: {
|
|
1064
|
-
kind: string;
|
|
1065
|
-
id: string;
|
|
1066
|
-
created_at?: string | undefined;
|
|
1067
|
-
lookup_key?: string | undefined;
|
|
1068
|
-
updated_at?: string | undefined;
|
|
1069
|
-
virtual_path?: string | undefined;
|
|
1070
|
-
name?: string | undefined;
|
|
1071
|
-
description?: string | undefined;
|
|
1072
|
-
display_name?: string | undefined;
|
|
1073
|
-
};
|
|
1872
|
+
} | undefined;
|
|
1074
1873
|
}>>;
|
|
1075
1874
|
team: z.ZodOptional<z.ZodString>;
|
|
1076
1875
|
template_upgrade_available: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1081,13 +1880,14 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1081
1880
|
email?: string | undefined;
|
|
1082
1881
|
team?: string | undefined;
|
|
1083
1882
|
org?: string | undefined;
|
|
1883
|
+
description?: string | undefined;
|
|
1884
|
+
name?: string | undefined;
|
|
1885
|
+
app?: string | undefined;
|
|
1084
1886
|
created_at?: string | undefined;
|
|
1085
|
-
sandbox?: string | undefined;
|
|
1086
|
-
lookup_key?: string | undefined;
|
|
1087
1887
|
updated_at?: string | undefined;
|
|
1088
1888
|
user?: string | undefined;
|
|
1089
|
-
|
|
1090
|
-
|
|
1889
|
+
sandbox?: string | undefined;
|
|
1890
|
+
lookup_key?: string | undefined;
|
|
1091
1891
|
metadata?: Record<string, unknown> | undefined;
|
|
1092
1892
|
org_name?: string | undefined;
|
|
1093
1893
|
acl?: {
|
|
@@ -1118,25 +1918,44 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1118
1918
|
owners: string[];
|
|
1119
1919
|
templates: {
|
|
1120
1920
|
kind: string;
|
|
1921
|
+
description?: string | undefined;
|
|
1922
|
+
name?: string | undefined;
|
|
1121
1923
|
id?: string | undefined;
|
|
1122
1924
|
lookup_key?: string | undefined;
|
|
1123
1925
|
virtual_path?: string | undefined;
|
|
1124
|
-
name?: string | undefined;
|
|
1125
|
-
description?: string | undefined;
|
|
1126
1926
|
readme_url?: string | undefined;
|
|
1927
|
+
details?: {
|
|
1928
|
+
type: "automation";
|
|
1929
|
+
automation_type?: string | undefined;
|
|
1930
|
+
invoke_contract?: {
|
|
1931
|
+
prefills: {
|
|
1932
|
+
participants?: Record<string, unknown> | undefined;
|
|
1933
|
+
payload?: Record<string, unknown> | undefined;
|
|
1934
|
+
};
|
|
1935
|
+
participants?: {
|
|
1936
|
+
name: string;
|
|
1937
|
+
required: boolean;
|
|
1938
|
+
type: string;
|
|
1939
|
+
description?: string | undefined;
|
|
1940
|
+
}[] | undefined;
|
|
1941
|
+
input_schema?: Record<string, unknown> | undefined;
|
|
1942
|
+
} | undefined;
|
|
1943
|
+
} | undefined;
|
|
1127
1944
|
display_name?: string | undefined;
|
|
1128
1945
|
}[];
|
|
1129
1946
|
upgrade_available: boolean;
|
|
1130
1947
|
org?: string | undefined;
|
|
1948
|
+
description?: string | undefined;
|
|
1949
|
+
name?: string | undefined;
|
|
1131
1950
|
created_at?: string | undefined;
|
|
1132
|
-
lookup_key?: string | undefined;
|
|
1133
1951
|
updated_at?: string | undefined;
|
|
1952
|
+
lookup_key?: string | undefined;
|
|
1134
1953
|
virtual_path?: string | undefined;
|
|
1135
|
-
name?: string | undefined;
|
|
1136
1954
|
metadata?: Record<string, unknown> | undefined;
|
|
1137
1955
|
org_name?: string | undefined;
|
|
1138
1956
|
category_keys?: string[] | undefined;
|
|
1139
|
-
|
|
1957
|
+
events?: Record<string, unknown> | undefined;
|
|
1958
|
+
image_url?: string | undefined;
|
|
1140
1959
|
latest_solution?: string | undefined;
|
|
1141
1960
|
latest_version?: string | undefined;
|
|
1142
1961
|
org_logo?: {
|
|
@@ -1150,6 +1969,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1150
1969
|
} | undefined;
|
|
1151
1970
|
org_slug?: string | undefined;
|
|
1152
1971
|
readme_url?: string | undefined;
|
|
1972
|
+
screenshot_urls?: string[] | undefined;
|
|
1153
1973
|
solution_id?: string | undefined;
|
|
1154
1974
|
solution_version?: string | undefined;
|
|
1155
1975
|
tag_keys?: string[] | undefined;
|
|
@@ -1158,14 +1978,77 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1158
1978
|
template: {
|
|
1159
1979
|
kind: string;
|
|
1160
1980
|
id: string;
|
|
1981
|
+
description?: string | undefined;
|
|
1982
|
+
name?: string | undefined;
|
|
1161
1983
|
created_at?: string | undefined;
|
|
1162
|
-
lookup_key?: string | undefined;
|
|
1163
1984
|
updated_at?: string | undefined;
|
|
1985
|
+
lookup_key?: string | undefined;
|
|
1164
1986
|
virtual_path?: string | undefined;
|
|
1165
|
-
name?: string | undefined;
|
|
1166
|
-
description?: string | undefined;
|
|
1167
1987
|
display_name?: string | undefined;
|
|
1168
1988
|
};
|
|
1989
|
+
current_solution?: {
|
|
1990
|
+
kind: string;
|
|
1991
|
+
id: string;
|
|
1992
|
+
owners: string[];
|
|
1993
|
+
templates: {
|
|
1994
|
+
kind: string;
|
|
1995
|
+
description?: string | undefined;
|
|
1996
|
+
name?: string | undefined;
|
|
1997
|
+
id?: string | undefined;
|
|
1998
|
+
lookup_key?: string | undefined;
|
|
1999
|
+
virtual_path?: string | undefined;
|
|
2000
|
+
readme_url?: string | undefined;
|
|
2001
|
+
details?: {
|
|
2002
|
+
type: "automation";
|
|
2003
|
+
automation_type?: string | undefined;
|
|
2004
|
+
invoke_contract?: {
|
|
2005
|
+
prefills: {
|
|
2006
|
+
participants?: Record<string, unknown> | undefined;
|
|
2007
|
+
payload?: Record<string, unknown> | undefined;
|
|
2008
|
+
};
|
|
2009
|
+
participants?: {
|
|
2010
|
+
name: string;
|
|
2011
|
+
required: boolean;
|
|
2012
|
+
type: string;
|
|
2013
|
+
description?: string | undefined;
|
|
2014
|
+
}[] | undefined;
|
|
2015
|
+
input_schema?: Record<string, unknown> | undefined;
|
|
2016
|
+
} | undefined;
|
|
2017
|
+
} | undefined;
|
|
2018
|
+
display_name?: string | undefined;
|
|
2019
|
+
}[];
|
|
2020
|
+
upgrade_available: boolean;
|
|
2021
|
+
org?: string | undefined;
|
|
2022
|
+
description?: string | undefined;
|
|
2023
|
+
name?: string | undefined;
|
|
2024
|
+
created_at?: string | undefined;
|
|
2025
|
+
updated_at?: string | undefined;
|
|
2026
|
+
lookup_key?: string | undefined;
|
|
2027
|
+
virtual_path?: string | undefined;
|
|
2028
|
+
metadata?: Record<string, unknown> | undefined;
|
|
2029
|
+
org_name?: string | undefined;
|
|
2030
|
+
category_keys?: string[] | undefined;
|
|
2031
|
+
events?: Record<string, unknown> | undefined;
|
|
2032
|
+
image_url?: string | undefined;
|
|
2033
|
+
latest_solution?: string | undefined;
|
|
2034
|
+
latest_version?: string | undefined;
|
|
2035
|
+
org_logo?: {
|
|
2036
|
+
mime_type?: string | undefined;
|
|
2037
|
+
file?: string | undefined;
|
|
2038
|
+
height?: number | undefined;
|
|
2039
|
+
media?: string | undefined;
|
|
2040
|
+
refresh_url?: string | undefined;
|
|
2041
|
+
url?: string | undefined;
|
|
2042
|
+
width?: number | undefined;
|
|
2043
|
+
} | undefined;
|
|
2044
|
+
org_slug?: string | undefined;
|
|
2045
|
+
readme_url?: string | undefined;
|
|
2046
|
+
screenshot_urls?: string[] | undefined;
|
|
2047
|
+
solution_id?: string | undefined;
|
|
2048
|
+
solution_version?: string | undefined;
|
|
2049
|
+
tag_keys?: string[] | undefined;
|
|
2050
|
+
template_kind?: string | undefined;
|
|
2051
|
+
} | undefined;
|
|
1169
2052
|
} | undefined;
|
|
1170
2053
|
template_upgrade_available?: boolean | undefined;
|
|
1171
2054
|
}, {
|
|
@@ -1173,13 +2056,14 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1173
2056
|
email?: string | undefined;
|
|
1174
2057
|
team?: string | undefined;
|
|
1175
2058
|
org?: string | undefined;
|
|
2059
|
+
description?: string | undefined;
|
|
2060
|
+
name?: string | undefined;
|
|
2061
|
+
app?: string | undefined;
|
|
1176
2062
|
created_at?: string | undefined;
|
|
1177
|
-
sandbox?: string | undefined;
|
|
1178
|
-
lookup_key?: string | undefined;
|
|
1179
2063
|
updated_at?: string | undefined;
|
|
1180
2064
|
user?: string | undefined;
|
|
1181
|
-
|
|
1182
|
-
|
|
2065
|
+
sandbox?: string | undefined;
|
|
2066
|
+
lookup_key?: string | undefined;
|
|
1183
2067
|
metadata?: Record<string, unknown> | undefined;
|
|
1184
2068
|
org_name?: string | undefined;
|
|
1185
2069
|
acl?: {
|
|
@@ -1210,25 +2094,44 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1210
2094
|
owners: string[];
|
|
1211
2095
|
templates: {
|
|
1212
2096
|
kind: string;
|
|
2097
|
+
description?: string | undefined;
|
|
2098
|
+
name?: string | undefined;
|
|
1213
2099
|
id?: string | undefined;
|
|
1214
2100
|
lookup_key?: string | undefined;
|
|
1215
2101
|
virtual_path?: string | undefined;
|
|
1216
|
-
name?: string | undefined;
|
|
1217
|
-
description?: string | undefined;
|
|
1218
2102
|
readme_url?: string | undefined;
|
|
2103
|
+
details?: {
|
|
2104
|
+
type: "automation";
|
|
2105
|
+
automation_type?: string | undefined;
|
|
2106
|
+
invoke_contract?: {
|
|
2107
|
+
prefills: {
|
|
2108
|
+
participants?: Record<string, unknown> | undefined;
|
|
2109
|
+
payload?: Record<string, unknown> | undefined;
|
|
2110
|
+
};
|
|
2111
|
+
participants?: {
|
|
2112
|
+
name: string;
|
|
2113
|
+
required: boolean;
|
|
2114
|
+
type: string;
|
|
2115
|
+
description?: string | undefined;
|
|
2116
|
+
}[] | undefined;
|
|
2117
|
+
input_schema?: Record<string, unknown> | undefined;
|
|
2118
|
+
} | undefined;
|
|
2119
|
+
} | undefined;
|
|
1219
2120
|
display_name?: string | undefined;
|
|
1220
2121
|
}[];
|
|
1221
2122
|
upgrade_available: boolean;
|
|
1222
2123
|
org?: string | undefined;
|
|
2124
|
+
description?: string | undefined;
|
|
2125
|
+
name?: string | undefined;
|
|
1223
2126
|
created_at?: string | undefined;
|
|
1224
|
-
lookup_key?: string | undefined;
|
|
1225
2127
|
updated_at?: string | undefined;
|
|
2128
|
+
lookup_key?: string | undefined;
|
|
1226
2129
|
virtual_path?: string | undefined;
|
|
1227
|
-
name?: string | undefined;
|
|
1228
2130
|
metadata?: Record<string, unknown> | undefined;
|
|
1229
2131
|
org_name?: string | undefined;
|
|
1230
2132
|
category_keys?: string[] | undefined;
|
|
1231
|
-
|
|
2133
|
+
events?: Record<string, unknown> | undefined;
|
|
2134
|
+
image_url?: string | undefined;
|
|
1232
2135
|
latest_solution?: string | undefined;
|
|
1233
2136
|
latest_version?: string | undefined;
|
|
1234
2137
|
org_logo?: {
|
|
@@ -1242,6 +2145,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1242
2145
|
} | undefined;
|
|
1243
2146
|
org_slug?: string | undefined;
|
|
1244
2147
|
readme_url?: string | undefined;
|
|
2148
|
+
screenshot_urls?: string[] | undefined;
|
|
1245
2149
|
solution_id?: string | undefined;
|
|
1246
2150
|
solution_version?: string | undefined;
|
|
1247
2151
|
tag_keys?: string[] | undefined;
|
|
@@ -1250,20 +2154,83 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1250
2154
|
template: {
|
|
1251
2155
|
kind: string;
|
|
1252
2156
|
id: string;
|
|
2157
|
+
description?: string | undefined;
|
|
2158
|
+
name?: string | undefined;
|
|
1253
2159
|
created_at?: string | undefined;
|
|
1254
|
-
lookup_key?: string | undefined;
|
|
1255
2160
|
updated_at?: string | undefined;
|
|
2161
|
+
lookup_key?: string | undefined;
|
|
1256
2162
|
virtual_path?: string | undefined;
|
|
1257
|
-
name?: string | undefined;
|
|
1258
|
-
description?: string | undefined;
|
|
1259
2163
|
display_name?: string | undefined;
|
|
1260
2164
|
};
|
|
2165
|
+
current_solution?: {
|
|
2166
|
+
kind: string;
|
|
2167
|
+
id: string;
|
|
2168
|
+
owners: string[];
|
|
2169
|
+
templates: {
|
|
2170
|
+
kind: string;
|
|
2171
|
+
description?: string | undefined;
|
|
2172
|
+
name?: string | undefined;
|
|
2173
|
+
id?: string | undefined;
|
|
2174
|
+
lookup_key?: string | undefined;
|
|
2175
|
+
virtual_path?: string | undefined;
|
|
2176
|
+
readme_url?: string | undefined;
|
|
2177
|
+
details?: {
|
|
2178
|
+
type: "automation";
|
|
2179
|
+
automation_type?: string | undefined;
|
|
2180
|
+
invoke_contract?: {
|
|
2181
|
+
prefills: {
|
|
2182
|
+
participants?: Record<string, unknown> | undefined;
|
|
2183
|
+
payload?: Record<string, unknown> | undefined;
|
|
2184
|
+
};
|
|
2185
|
+
participants?: {
|
|
2186
|
+
name: string;
|
|
2187
|
+
required: boolean;
|
|
2188
|
+
type: string;
|
|
2189
|
+
description?: string | undefined;
|
|
2190
|
+
}[] | undefined;
|
|
2191
|
+
input_schema?: Record<string, unknown> | undefined;
|
|
2192
|
+
} | undefined;
|
|
2193
|
+
} | undefined;
|
|
2194
|
+
display_name?: string | undefined;
|
|
2195
|
+
}[];
|
|
2196
|
+
upgrade_available: boolean;
|
|
2197
|
+
org?: string | undefined;
|
|
2198
|
+
description?: string | undefined;
|
|
2199
|
+
name?: string | undefined;
|
|
2200
|
+
created_at?: string | undefined;
|
|
2201
|
+
updated_at?: string | undefined;
|
|
2202
|
+
lookup_key?: string | undefined;
|
|
2203
|
+
virtual_path?: string | undefined;
|
|
2204
|
+
metadata?: Record<string, unknown> | undefined;
|
|
2205
|
+
org_name?: string | undefined;
|
|
2206
|
+
category_keys?: string[] | undefined;
|
|
2207
|
+
events?: Record<string, unknown> | undefined;
|
|
2208
|
+
image_url?: string | undefined;
|
|
2209
|
+
latest_solution?: string | undefined;
|
|
2210
|
+
latest_version?: string | undefined;
|
|
2211
|
+
org_logo?: {
|
|
2212
|
+
mime_type?: string | undefined;
|
|
2213
|
+
file?: string | undefined;
|
|
2214
|
+
height?: number | undefined;
|
|
2215
|
+
media?: string | undefined;
|
|
2216
|
+
refresh_url?: string | undefined;
|
|
2217
|
+
url?: string | undefined;
|
|
2218
|
+
width?: number | undefined;
|
|
2219
|
+
} | undefined;
|
|
2220
|
+
org_slug?: string | undefined;
|
|
2221
|
+
readme_url?: string | undefined;
|
|
2222
|
+
screenshot_urls?: string[] | undefined;
|
|
2223
|
+
solution_id?: string | undefined;
|
|
2224
|
+
solution_version?: string | undefined;
|
|
2225
|
+
tag_keys?: string[] | undefined;
|
|
2226
|
+
template_kind?: string | undefined;
|
|
2227
|
+
} | undefined;
|
|
1261
2228
|
} | undefined;
|
|
1262
2229
|
template_upgrade_available?: boolean | undefined;
|
|
1263
2230
|
}>, "many">>;
|
|
1264
2231
|
/** The authenticated user's membership role in this thread, e.g. `"owner"`, `"member"`, or `"viewer"`. `null` if the user is not a member. */
|
|
1265
2232
|
role: z.ZodOptional<z.ZodString>;
|
|
1266
|
-
/** ID of the developer sandbox this thread is scoped to (`
|
|
2233
|
+
/** ID of the developer sandbox this thread is scoped to (`dsb_...`). `null` for production threads. */
|
|
1267
2234
|
sandbox: z.ZodOptional<z.ZodString>;
|
|
1268
2235
|
/** Per-thread configuration settings controlling AI agent behavior for this thread. */
|
|
1269
2236
|
settings: z.ZodOptional<z.ZodObject<{
|
|
@@ -1278,6 +2245,8 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1278
2245
|
slug: z.ZodOptional<z.ZodString>;
|
|
1279
2246
|
/** Threads that are nested under this thread as replies to a parent message. Present only when sub-thread enrichment is requested. */
|
|
1280
2247
|
sub_threads: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
2248
|
+
/** Status tags on the thread (e.g. `"blocked"`, `"needs-review"`). Edited by any thread participant via the `/threads/:thread/tags` endpoints and filterable on the thread list endpoints. Empty array if none set. */
|
|
2249
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1281
2250
|
/** ID of the team that owns this thread (`team_...`). `null` for user-owned or agent-owned threads. */
|
|
1282
2251
|
team: z.ZodOptional<z.ZodString>;
|
|
1283
2252
|
/** Human-readable name of the thread. `null` if no title has been set. */
|
|
@@ -1290,28 +2259,49 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1290
2259
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
1291
2260
|
/** ID of the user who owns this thread (`usr_...`). `null` for team-owned or agent-owned threads. */
|
|
1292
2261
|
user: z.ZodOptional<z.ZodString>;
|
|
2262
|
+
/** Who can read the thread: `team` for every owning-team member, `restricted` for team-readable threads with an explicit roster, or `private` for roster-only access. */
|
|
2263
|
+
visibility: z.ZodEnum<["team", "restricted", "private"]>;
|
|
1293
2264
|
}, "strip", z.ZodTypeAny, {
|
|
1294
2265
|
id: string;
|
|
2266
|
+
visibility: "team" | "private" | "restricted";
|
|
1295
2267
|
key?: string | undefined;
|
|
2268
|
+
kind?: string | undefined;
|
|
1296
2269
|
team?: string | undefined;
|
|
1297
2270
|
org?: string | undefined;
|
|
2271
|
+
description?: string | undefined;
|
|
2272
|
+
participants?: {
|
|
2273
|
+
id: string;
|
|
2274
|
+
email?: string | undefined;
|
|
2275
|
+
alias?: string | undefined;
|
|
2276
|
+
org?: string | undefined;
|
|
2277
|
+
name?: string | undefined;
|
|
2278
|
+
app?: string | undefined;
|
|
2279
|
+
sandbox?: string | undefined;
|
|
2280
|
+
app_name?: string | undefined;
|
|
2281
|
+
is_system_user?: boolean | undefined;
|
|
2282
|
+
metadata?: Record<string, unknown> | undefined;
|
|
2283
|
+
org_name?: string | undefined;
|
|
2284
|
+
org_role?: string | undefined;
|
|
2285
|
+
sandbox_name?: string | undefined;
|
|
2286
|
+
}[] | undefined;
|
|
1298
2287
|
created_at?: string | undefined;
|
|
1299
|
-
sandbox?: string | undefined;
|
|
1300
2288
|
updated_at?: string | undefined;
|
|
1301
2289
|
user?: string | undefined;
|
|
2290
|
+
sandbox?: string | undefined;
|
|
1302
2291
|
metadata?: Record<string, unknown> | undefined;
|
|
1303
|
-
description?: string | undefined;
|
|
1304
2292
|
title?: string | undefined;
|
|
2293
|
+
muted?: boolean | undefined;
|
|
2294
|
+
tags?: string[] | undefined;
|
|
1305
2295
|
role?: string | undefined;
|
|
1306
2296
|
agent_user?: string | undefined;
|
|
1307
|
-
creator?: {
|
|
2297
|
+
creator?: string | {
|
|
1308
2298
|
id: string;
|
|
1309
2299
|
email?: string | undefined;
|
|
1310
2300
|
alias?: string | undefined;
|
|
1311
2301
|
org?: string | undefined;
|
|
1312
|
-
sandbox?: string | undefined;
|
|
1313
2302
|
name?: string | undefined;
|
|
1314
2303
|
app?: string | undefined;
|
|
2304
|
+
sandbox?: string | undefined;
|
|
1315
2305
|
app_name?: string | undefined;
|
|
1316
2306
|
is_system_user?: boolean | undefined;
|
|
1317
2307
|
metadata?: Record<string, unknown> | undefined;
|
|
@@ -1324,7 +2314,8 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1324
2314
|
is_transient?: boolean | undefined;
|
|
1325
2315
|
is_unlisted?: boolean | undefined;
|
|
1326
2316
|
last_activity?: string | undefined;
|
|
1327
|
-
|
|
2317
|
+
last_message_preview?: string | undefined;
|
|
2318
|
+
last_message_sender?: string | undefined;
|
|
1328
2319
|
parent_message?: {
|
|
1329
2320
|
id: string;
|
|
1330
2321
|
content?: string | undefined;
|
|
@@ -1332,19 +2323,37 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1332
2323
|
thread?: string | undefined;
|
|
1333
2324
|
team?: string | undefined;
|
|
1334
2325
|
org?: string | undefined;
|
|
2326
|
+
type?: string | undefined;
|
|
1335
2327
|
created_at?: string | undefined;
|
|
1336
|
-
sandbox?: string | undefined;
|
|
1337
2328
|
user?: string | undefined;
|
|
2329
|
+
sandbox?: string | undefined;
|
|
1338
2330
|
metadata?: Record<string, unknown> | undefined;
|
|
2331
|
+
acl?: {
|
|
2332
|
+
add?: {
|
|
2333
|
+
actions: string[];
|
|
2334
|
+
principal_type: string;
|
|
2335
|
+
principal?: string | undefined;
|
|
2336
|
+
}[] | undefined;
|
|
2337
|
+
grants?: {
|
|
2338
|
+
actions: string[];
|
|
2339
|
+
principal_type: string;
|
|
2340
|
+
principal?: string | undefined;
|
|
2341
|
+
}[] | undefined;
|
|
2342
|
+
remove?: {
|
|
2343
|
+
principal_type: string;
|
|
2344
|
+
principal?: string | undefined;
|
|
2345
|
+
}[] | undefined;
|
|
2346
|
+
} | undefined;
|
|
1339
2347
|
attachments?: {
|
|
1340
2348
|
type: string;
|
|
1341
2349
|
id: string;
|
|
1342
2350
|
object?: Record<string, unknown> | undefined;
|
|
2351
|
+
description?: string | undefined;
|
|
2352
|
+
name?: string | undefined;
|
|
1343
2353
|
height?: number | undefined;
|
|
1344
2354
|
url?: string | undefined;
|
|
1345
2355
|
width?: number | undefined;
|
|
1346
|
-
|
|
1347
|
-
description?: string | undefined;
|
|
2356
|
+
image_url?: string | undefined;
|
|
1348
2357
|
title?: string | undefined;
|
|
1349
2358
|
content_type?: string | undefined;
|
|
1350
2359
|
filename?: string | undefined;
|
|
@@ -1358,7 +2367,6 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1358
2367
|
width?: number | undefined;
|
|
1359
2368
|
} | undefined;
|
|
1360
2369
|
image_height?: number | undefined;
|
|
1361
|
-
image_url?: string | undefined;
|
|
1362
2370
|
image_width?: number | undefined;
|
|
1363
2371
|
media_type?: string | undefined;
|
|
1364
2372
|
variants?: {
|
|
@@ -1384,10 +2392,11 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1384
2392
|
}[] | undefined;
|
|
1385
2393
|
version?: number | undefined;
|
|
1386
2394
|
}[] | undefined;
|
|
2395
|
+
visibility?: "default" | "private" | undefined;
|
|
1387
2396
|
actors?: {
|
|
1388
2397
|
alias?: string | undefined;
|
|
1389
|
-
id?: string | undefined;
|
|
1390
2398
|
name?: string | undefined;
|
|
2399
|
+
id?: string | undefined;
|
|
1391
2400
|
profile_picture?: {
|
|
1392
2401
|
mime_type?: string | undefined;
|
|
1393
2402
|
file?: string | undefined;
|
|
@@ -1402,11 +2411,12 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1402
2411
|
branched_thread?: string | undefined;
|
|
1403
2412
|
has_replies?: boolean | undefined;
|
|
1404
2413
|
idempotency_key?: string | undefined;
|
|
2414
|
+
is_deleted?: boolean | undefined;
|
|
1405
2415
|
legacy_agent?: string | undefined;
|
|
1406
2416
|
reactions?: {
|
|
1407
2417
|
type: string;
|
|
1408
|
-
user?: string | undefined;
|
|
1409
2418
|
payload?: Record<string, unknown> | undefined;
|
|
2419
|
+
user?: string | undefined;
|
|
1410
2420
|
}[] | undefined;
|
|
1411
2421
|
rendering_mode?: string | undefined;
|
|
1412
2422
|
replies?: Record<string, unknown>[] | undefined;
|
|
@@ -1416,34 +2426,20 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1416
2426
|
reply_to?: Record<string, unknown> | undefined;
|
|
1417
2427
|
} | undefined;
|
|
1418
2428
|
participant?: string[] | undefined;
|
|
1419
|
-
participants?: {
|
|
1420
|
-
id: string;
|
|
1421
|
-
email?: string | undefined;
|
|
1422
|
-
alias?: string | undefined;
|
|
1423
|
-
org?: string | undefined;
|
|
1424
|
-
sandbox?: string | undefined;
|
|
1425
|
-
name?: string | undefined;
|
|
1426
|
-
app?: string | undefined;
|
|
1427
|
-
app_name?: string | undefined;
|
|
1428
|
-
is_system_user?: boolean | undefined;
|
|
1429
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1430
|
-
org_name?: string | undefined;
|
|
1431
|
-
org_role?: string | undefined;
|
|
1432
|
-
sandbox_name?: string | undefined;
|
|
1433
|
-
}[] | undefined;
|
|
1434
2429
|
participating_actor?: string[] | undefined;
|
|
1435
2430
|
participating_agents?: {
|
|
1436
2431
|
id: string;
|
|
1437
2432
|
email?: string | undefined;
|
|
1438
2433
|
team?: string | undefined;
|
|
1439
2434
|
org?: string | undefined;
|
|
2435
|
+
description?: string | undefined;
|
|
2436
|
+
name?: string | undefined;
|
|
2437
|
+
app?: string | undefined;
|
|
1440
2438
|
created_at?: string | undefined;
|
|
1441
|
-
sandbox?: string | undefined;
|
|
1442
|
-
lookup_key?: string | undefined;
|
|
1443
2439
|
updated_at?: string | undefined;
|
|
1444
2440
|
user?: string | undefined;
|
|
1445
|
-
|
|
1446
|
-
|
|
2441
|
+
sandbox?: string | undefined;
|
|
2442
|
+
lookup_key?: string | undefined;
|
|
1447
2443
|
metadata?: Record<string, unknown> | undefined;
|
|
1448
2444
|
org_name?: string | undefined;
|
|
1449
2445
|
acl?: {
|
|
@@ -1474,25 +2470,118 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1474
2470
|
owners: string[];
|
|
1475
2471
|
templates: {
|
|
1476
2472
|
kind: string;
|
|
2473
|
+
description?: string | undefined;
|
|
2474
|
+
name?: string | undefined;
|
|
2475
|
+
id?: string | undefined;
|
|
2476
|
+
lookup_key?: string | undefined;
|
|
2477
|
+
virtual_path?: string | undefined;
|
|
2478
|
+
readme_url?: string | undefined;
|
|
2479
|
+
details?: {
|
|
2480
|
+
type: "automation";
|
|
2481
|
+
automation_type?: string | undefined;
|
|
2482
|
+
invoke_contract?: {
|
|
2483
|
+
prefills: {
|
|
2484
|
+
participants?: Record<string, unknown> | undefined;
|
|
2485
|
+
payload?: Record<string, unknown> | undefined;
|
|
2486
|
+
};
|
|
2487
|
+
participants?: {
|
|
2488
|
+
name: string;
|
|
2489
|
+
required: boolean;
|
|
2490
|
+
type: string;
|
|
2491
|
+
description?: string | undefined;
|
|
2492
|
+
}[] | undefined;
|
|
2493
|
+
input_schema?: Record<string, unknown> | undefined;
|
|
2494
|
+
} | undefined;
|
|
2495
|
+
} | undefined;
|
|
2496
|
+
display_name?: string | undefined;
|
|
2497
|
+
}[];
|
|
2498
|
+
upgrade_available: boolean;
|
|
2499
|
+
org?: string | undefined;
|
|
2500
|
+
description?: string | undefined;
|
|
2501
|
+
name?: string | undefined;
|
|
2502
|
+
created_at?: string | undefined;
|
|
2503
|
+
updated_at?: string | undefined;
|
|
2504
|
+
lookup_key?: string | undefined;
|
|
2505
|
+
virtual_path?: string | undefined;
|
|
2506
|
+
metadata?: Record<string, unknown> | undefined;
|
|
2507
|
+
org_name?: string | undefined;
|
|
2508
|
+
category_keys?: string[] | undefined;
|
|
2509
|
+
events?: Record<string, unknown> | undefined;
|
|
2510
|
+
image_url?: string | undefined;
|
|
2511
|
+
latest_solution?: string | undefined;
|
|
2512
|
+
latest_version?: string | undefined;
|
|
2513
|
+
org_logo?: {
|
|
2514
|
+
mime_type?: string | undefined;
|
|
2515
|
+
file?: string | undefined;
|
|
2516
|
+
height?: number | undefined;
|
|
2517
|
+
media?: string | undefined;
|
|
2518
|
+
refresh_url?: string | undefined;
|
|
2519
|
+
url?: string | undefined;
|
|
2520
|
+
width?: number | undefined;
|
|
2521
|
+
} | undefined;
|
|
2522
|
+
org_slug?: string | undefined;
|
|
2523
|
+
readme_url?: string | undefined;
|
|
2524
|
+
screenshot_urls?: string[] | undefined;
|
|
2525
|
+
solution_id?: string | undefined;
|
|
2526
|
+
solution_version?: string | undefined;
|
|
2527
|
+
tag_keys?: string[] | undefined;
|
|
2528
|
+
template_kind?: string | undefined;
|
|
2529
|
+
};
|
|
2530
|
+
template: {
|
|
2531
|
+
kind: string;
|
|
2532
|
+
id: string;
|
|
2533
|
+
description?: string | undefined;
|
|
2534
|
+
name?: string | undefined;
|
|
2535
|
+
created_at?: string | undefined;
|
|
2536
|
+
updated_at?: string | undefined;
|
|
2537
|
+
lookup_key?: string | undefined;
|
|
2538
|
+
virtual_path?: string | undefined;
|
|
2539
|
+
display_name?: string | undefined;
|
|
2540
|
+
};
|
|
2541
|
+
current_solution?: {
|
|
2542
|
+
kind: string;
|
|
2543
|
+
id: string;
|
|
2544
|
+
owners: string[];
|
|
2545
|
+
templates: {
|
|
2546
|
+
kind: string;
|
|
2547
|
+
description?: string | undefined;
|
|
2548
|
+
name?: string | undefined;
|
|
1477
2549
|
id?: string | undefined;
|
|
1478
2550
|
lookup_key?: string | undefined;
|
|
1479
2551
|
virtual_path?: string | undefined;
|
|
1480
|
-
name?: string | undefined;
|
|
1481
|
-
description?: string | undefined;
|
|
1482
2552
|
readme_url?: string | undefined;
|
|
2553
|
+
details?: {
|
|
2554
|
+
type: "automation";
|
|
2555
|
+
automation_type?: string | undefined;
|
|
2556
|
+
invoke_contract?: {
|
|
2557
|
+
prefills: {
|
|
2558
|
+
participants?: Record<string, unknown> | undefined;
|
|
2559
|
+
payload?: Record<string, unknown> | undefined;
|
|
2560
|
+
};
|
|
2561
|
+
participants?: {
|
|
2562
|
+
name: string;
|
|
2563
|
+
required: boolean;
|
|
2564
|
+
type: string;
|
|
2565
|
+
description?: string | undefined;
|
|
2566
|
+
}[] | undefined;
|
|
2567
|
+
input_schema?: Record<string, unknown> | undefined;
|
|
2568
|
+
} | undefined;
|
|
2569
|
+
} | undefined;
|
|
1483
2570
|
display_name?: string | undefined;
|
|
1484
2571
|
}[];
|
|
1485
2572
|
upgrade_available: boolean;
|
|
1486
2573
|
org?: string | undefined;
|
|
2574
|
+
description?: string | undefined;
|
|
2575
|
+
name?: string | undefined;
|
|
1487
2576
|
created_at?: string | undefined;
|
|
1488
|
-
lookup_key?: string | undefined;
|
|
1489
2577
|
updated_at?: string | undefined;
|
|
2578
|
+
lookup_key?: string | undefined;
|
|
1490
2579
|
virtual_path?: string | undefined;
|
|
1491
|
-
name?: string | undefined;
|
|
1492
2580
|
metadata?: Record<string, unknown> | undefined;
|
|
1493
2581
|
org_name?: string | undefined;
|
|
1494
2582
|
category_keys?: string[] | undefined;
|
|
1495
|
-
|
|
2583
|
+
events?: Record<string, unknown> | undefined;
|
|
2584
|
+
image_url?: string | undefined;
|
|
1496
2585
|
latest_solution?: string | undefined;
|
|
1497
2586
|
latest_version?: string | undefined;
|
|
1498
2587
|
org_logo?: {
|
|
@@ -1506,22 +2595,12 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1506
2595
|
} | undefined;
|
|
1507
2596
|
org_slug?: string | undefined;
|
|
1508
2597
|
readme_url?: string | undefined;
|
|
2598
|
+
screenshot_urls?: string[] | undefined;
|
|
1509
2599
|
solution_id?: string | undefined;
|
|
1510
2600
|
solution_version?: string | undefined;
|
|
1511
2601
|
tag_keys?: string[] | undefined;
|
|
1512
2602
|
template_kind?: string | undefined;
|
|
1513
|
-
};
|
|
1514
|
-
template: {
|
|
1515
|
-
kind: string;
|
|
1516
|
-
id: string;
|
|
1517
|
-
created_at?: string | undefined;
|
|
1518
|
-
lookup_key?: string | undefined;
|
|
1519
|
-
updated_at?: string | undefined;
|
|
1520
|
-
virtual_path?: string | undefined;
|
|
1521
|
-
name?: string | undefined;
|
|
1522
|
-
description?: string | undefined;
|
|
1523
|
-
display_name?: string | undefined;
|
|
1524
|
-
};
|
|
2603
|
+
} | undefined;
|
|
1525
2604
|
} | undefined;
|
|
1526
2605
|
template_upgrade_available?: boolean | undefined;
|
|
1527
2606
|
}[] | undefined;
|
|
@@ -1534,26 +2613,45 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1534
2613
|
unread_count?: number | undefined;
|
|
1535
2614
|
}, {
|
|
1536
2615
|
id: string;
|
|
2616
|
+
visibility: "team" | "private" | "restricted";
|
|
1537
2617
|
key?: string | undefined;
|
|
2618
|
+
kind?: string | undefined;
|
|
1538
2619
|
team?: string | undefined;
|
|
1539
2620
|
org?: string | undefined;
|
|
2621
|
+
description?: string | undefined;
|
|
2622
|
+
participants?: {
|
|
2623
|
+
id: string;
|
|
2624
|
+
email?: string | undefined;
|
|
2625
|
+
alias?: string | undefined;
|
|
2626
|
+
org?: string | undefined;
|
|
2627
|
+
name?: string | undefined;
|
|
2628
|
+
app?: string | undefined;
|
|
2629
|
+
sandbox?: string | undefined;
|
|
2630
|
+
app_name?: string | undefined;
|
|
2631
|
+
is_system_user?: boolean | undefined;
|
|
2632
|
+
metadata?: Record<string, unknown> | undefined;
|
|
2633
|
+
org_name?: string | undefined;
|
|
2634
|
+
org_role?: string | undefined;
|
|
2635
|
+
sandbox_name?: string | undefined;
|
|
2636
|
+
}[] | undefined;
|
|
1540
2637
|
created_at?: string | undefined;
|
|
1541
|
-
sandbox?: string | undefined;
|
|
1542
2638
|
updated_at?: string | undefined;
|
|
1543
2639
|
user?: string | undefined;
|
|
2640
|
+
sandbox?: string | undefined;
|
|
1544
2641
|
metadata?: Record<string, unknown> | undefined;
|
|
1545
|
-
description?: string | undefined;
|
|
1546
2642
|
title?: string | undefined;
|
|
2643
|
+
muted?: boolean | undefined;
|
|
2644
|
+
tags?: string[] | undefined;
|
|
1547
2645
|
role?: string | undefined;
|
|
1548
2646
|
agent_user?: string | undefined;
|
|
1549
|
-
creator?: {
|
|
2647
|
+
creator?: string | {
|
|
1550
2648
|
id: string;
|
|
1551
2649
|
email?: string | undefined;
|
|
1552
2650
|
alias?: string | undefined;
|
|
1553
2651
|
org?: string | undefined;
|
|
1554
|
-
sandbox?: string | undefined;
|
|
1555
2652
|
name?: string | undefined;
|
|
1556
2653
|
app?: string | undefined;
|
|
2654
|
+
sandbox?: string | undefined;
|
|
1557
2655
|
app_name?: string | undefined;
|
|
1558
2656
|
is_system_user?: boolean | undefined;
|
|
1559
2657
|
metadata?: Record<string, unknown> | undefined;
|
|
@@ -1566,7 +2664,8 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1566
2664
|
is_transient?: boolean | undefined;
|
|
1567
2665
|
is_unlisted?: boolean | undefined;
|
|
1568
2666
|
last_activity?: string | undefined;
|
|
1569
|
-
|
|
2667
|
+
last_message_preview?: string | undefined;
|
|
2668
|
+
last_message_sender?: string | undefined;
|
|
1570
2669
|
parent_message?: {
|
|
1571
2670
|
id: string;
|
|
1572
2671
|
content?: string | undefined;
|
|
@@ -1574,19 +2673,37 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1574
2673
|
thread?: string | undefined;
|
|
1575
2674
|
team?: string | undefined;
|
|
1576
2675
|
org?: string | undefined;
|
|
2676
|
+
type?: string | undefined;
|
|
1577
2677
|
created_at?: string | undefined;
|
|
1578
|
-
sandbox?: string | undefined;
|
|
1579
2678
|
user?: string | undefined;
|
|
2679
|
+
sandbox?: string | undefined;
|
|
1580
2680
|
metadata?: Record<string, unknown> | undefined;
|
|
2681
|
+
acl?: {
|
|
2682
|
+
add?: {
|
|
2683
|
+
actions: string[];
|
|
2684
|
+
principal_type: string;
|
|
2685
|
+
principal?: string | undefined;
|
|
2686
|
+
}[] | undefined;
|
|
2687
|
+
grants?: {
|
|
2688
|
+
actions: string[];
|
|
2689
|
+
principal_type: string;
|
|
2690
|
+
principal?: string | undefined;
|
|
2691
|
+
}[] | undefined;
|
|
2692
|
+
remove?: {
|
|
2693
|
+
principal_type: string;
|
|
2694
|
+
principal?: string | undefined;
|
|
2695
|
+
}[] | undefined;
|
|
2696
|
+
} | undefined;
|
|
1581
2697
|
attachments?: {
|
|
1582
2698
|
type: string;
|
|
1583
2699
|
id: string;
|
|
1584
2700
|
object?: Record<string, unknown> | undefined;
|
|
2701
|
+
description?: string | undefined;
|
|
2702
|
+
name?: string | undefined;
|
|
1585
2703
|
height?: number | undefined;
|
|
1586
2704
|
url?: string | undefined;
|
|
1587
2705
|
width?: number | undefined;
|
|
1588
|
-
|
|
1589
|
-
description?: string | undefined;
|
|
2706
|
+
image_url?: string | undefined;
|
|
1590
2707
|
title?: string | undefined;
|
|
1591
2708
|
content_type?: string | undefined;
|
|
1592
2709
|
filename?: string | undefined;
|
|
@@ -1600,7 +2717,6 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1600
2717
|
width?: number | undefined;
|
|
1601
2718
|
} | undefined;
|
|
1602
2719
|
image_height?: number | undefined;
|
|
1603
|
-
image_url?: string | undefined;
|
|
1604
2720
|
image_width?: number | undefined;
|
|
1605
2721
|
media_type?: string | undefined;
|
|
1606
2722
|
variants?: {
|
|
@@ -1626,10 +2742,11 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1626
2742
|
}[] | undefined;
|
|
1627
2743
|
version?: number | undefined;
|
|
1628
2744
|
}[] | undefined;
|
|
2745
|
+
visibility?: "default" | "private" | undefined;
|
|
1629
2746
|
actors?: {
|
|
1630
2747
|
alias?: string | undefined;
|
|
1631
|
-
id?: string | undefined;
|
|
1632
2748
|
name?: string | undefined;
|
|
2749
|
+
id?: string | undefined;
|
|
1633
2750
|
profile_picture?: {
|
|
1634
2751
|
mime_type?: string | undefined;
|
|
1635
2752
|
file?: string | undefined;
|
|
@@ -1644,11 +2761,12 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1644
2761
|
branched_thread?: string | undefined;
|
|
1645
2762
|
has_replies?: boolean | undefined;
|
|
1646
2763
|
idempotency_key?: string | undefined;
|
|
2764
|
+
is_deleted?: boolean | undefined;
|
|
1647
2765
|
legacy_agent?: string | undefined;
|
|
1648
2766
|
reactions?: {
|
|
1649
2767
|
type: string;
|
|
1650
|
-
user?: string | undefined;
|
|
1651
2768
|
payload?: Record<string, unknown> | undefined;
|
|
2769
|
+
user?: string | undefined;
|
|
1652
2770
|
}[] | undefined;
|
|
1653
2771
|
rendering_mode?: string | undefined;
|
|
1654
2772
|
replies?: Record<string, unknown>[] | undefined;
|
|
@@ -1658,34 +2776,20 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1658
2776
|
reply_to?: Record<string, unknown> | undefined;
|
|
1659
2777
|
} | undefined;
|
|
1660
2778
|
participant?: string[] | undefined;
|
|
1661
|
-
participants?: {
|
|
1662
|
-
id: string;
|
|
1663
|
-
email?: string | undefined;
|
|
1664
|
-
alias?: string | undefined;
|
|
1665
|
-
org?: string | undefined;
|
|
1666
|
-
sandbox?: string | undefined;
|
|
1667
|
-
name?: string | undefined;
|
|
1668
|
-
app?: string | undefined;
|
|
1669
|
-
app_name?: string | undefined;
|
|
1670
|
-
is_system_user?: boolean | undefined;
|
|
1671
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1672
|
-
org_name?: string | undefined;
|
|
1673
|
-
org_role?: string | undefined;
|
|
1674
|
-
sandbox_name?: string | undefined;
|
|
1675
|
-
}[] | undefined;
|
|
1676
2779
|
participating_actor?: string[] | undefined;
|
|
1677
2780
|
participating_agents?: {
|
|
1678
2781
|
id: string;
|
|
1679
2782
|
email?: string | undefined;
|
|
1680
2783
|
team?: string | undefined;
|
|
1681
2784
|
org?: string | undefined;
|
|
2785
|
+
description?: string | undefined;
|
|
2786
|
+
name?: string | undefined;
|
|
2787
|
+
app?: string | undefined;
|
|
1682
2788
|
created_at?: string | undefined;
|
|
1683
|
-
sandbox?: string | undefined;
|
|
1684
|
-
lookup_key?: string | undefined;
|
|
1685
2789
|
updated_at?: string | undefined;
|
|
1686
2790
|
user?: string | undefined;
|
|
1687
|
-
|
|
1688
|
-
|
|
2791
|
+
sandbox?: string | undefined;
|
|
2792
|
+
lookup_key?: string | undefined;
|
|
1689
2793
|
metadata?: Record<string, unknown> | undefined;
|
|
1690
2794
|
org_name?: string | undefined;
|
|
1691
2795
|
acl?: {
|
|
@@ -1716,25 +2820,44 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1716
2820
|
owners: string[];
|
|
1717
2821
|
templates: {
|
|
1718
2822
|
kind: string;
|
|
2823
|
+
description?: string | undefined;
|
|
2824
|
+
name?: string | undefined;
|
|
1719
2825
|
id?: string | undefined;
|
|
1720
2826
|
lookup_key?: string | undefined;
|
|
1721
2827
|
virtual_path?: string | undefined;
|
|
1722
|
-
name?: string | undefined;
|
|
1723
|
-
description?: string | undefined;
|
|
1724
2828
|
readme_url?: string | undefined;
|
|
2829
|
+
details?: {
|
|
2830
|
+
type: "automation";
|
|
2831
|
+
automation_type?: string | undefined;
|
|
2832
|
+
invoke_contract?: {
|
|
2833
|
+
prefills: {
|
|
2834
|
+
participants?: Record<string, unknown> | undefined;
|
|
2835
|
+
payload?: Record<string, unknown> | undefined;
|
|
2836
|
+
};
|
|
2837
|
+
participants?: {
|
|
2838
|
+
name: string;
|
|
2839
|
+
required: boolean;
|
|
2840
|
+
type: string;
|
|
2841
|
+
description?: string | undefined;
|
|
2842
|
+
}[] | undefined;
|
|
2843
|
+
input_schema?: Record<string, unknown> | undefined;
|
|
2844
|
+
} | undefined;
|
|
2845
|
+
} | undefined;
|
|
1725
2846
|
display_name?: string | undefined;
|
|
1726
2847
|
}[];
|
|
1727
2848
|
upgrade_available: boolean;
|
|
1728
2849
|
org?: string | undefined;
|
|
2850
|
+
description?: string | undefined;
|
|
2851
|
+
name?: string | undefined;
|
|
1729
2852
|
created_at?: string | undefined;
|
|
1730
|
-
lookup_key?: string | undefined;
|
|
1731
2853
|
updated_at?: string | undefined;
|
|
2854
|
+
lookup_key?: string | undefined;
|
|
1732
2855
|
virtual_path?: string | undefined;
|
|
1733
|
-
name?: string | undefined;
|
|
1734
2856
|
metadata?: Record<string, unknown> | undefined;
|
|
1735
2857
|
org_name?: string | undefined;
|
|
1736
2858
|
category_keys?: string[] | undefined;
|
|
1737
|
-
|
|
2859
|
+
events?: Record<string, unknown> | undefined;
|
|
2860
|
+
image_url?: string | undefined;
|
|
1738
2861
|
latest_solution?: string | undefined;
|
|
1739
2862
|
latest_version?: string | undefined;
|
|
1740
2863
|
org_logo?: {
|
|
@@ -1748,6 +2871,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1748
2871
|
} | undefined;
|
|
1749
2872
|
org_slug?: string | undefined;
|
|
1750
2873
|
readme_url?: string | undefined;
|
|
2874
|
+
screenshot_urls?: string[] | undefined;
|
|
1751
2875
|
solution_id?: string | undefined;
|
|
1752
2876
|
solution_version?: string | undefined;
|
|
1753
2877
|
tag_keys?: string[] | undefined;
|
|
@@ -1756,14 +2880,77 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1756
2880
|
template: {
|
|
1757
2881
|
kind: string;
|
|
1758
2882
|
id: string;
|
|
2883
|
+
description?: string | undefined;
|
|
2884
|
+
name?: string | undefined;
|
|
1759
2885
|
created_at?: string | undefined;
|
|
1760
|
-
lookup_key?: string | undefined;
|
|
1761
2886
|
updated_at?: string | undefined;
|
|
2887
|
+
lookup_key?: string | undefined;
|
|
1762
2888
|
virtual_path?: string | undefined;
|
|
1763
|
-
name?: string | undefined;
|
|
1764
|
-
description?: string | undefined;
|
|
1765
2889
|
display_name?: string | undefined;
|
|
1766
2890
|
};
|
|
2891
|
+
current_solution?: {
|
|
2892
|
+
kind: string;
|
|
2893
|
+
id: string;
|
|
2894
|
+
owners: string[];
|
|
2895
|
+
templates: {
|
|
2896
|
+
kind: string;
|
|
2897
|
+
description?: string | undefined;
|
|
2898
|
+
name?: string | undefined;
|
|
2899
|
+
id?: string | undefined;
|
|
2900
|
+
lookup_key?: string | undefined;
|
|
2901
|
+
virtual_path?: string | undefined;
|
|
2902
|
+
readme_url?: string | undefined;
|
|
2903
|
+
details?: {
|
|
2904
|
+
type: "automation";
|
|
2905
|
+
automation_type?: string | undefined;
|
|
2906
|
+
invoke_contract?: {
|
|
2907
|
+
prefills: {
|
|
2908
|
+
participants?: Record<string, unknown> | undefined;
|
|
2909
|
+
payload?: Record<string, unknown> | undefined;
|
|
2910
|
+
};
|
|
2911
|
+
participants?: {
|
|
2912
|
+
name: string;
|
|
2913
|
+
required: boolean;
|
|
2914
|
+
type: string;
|
|
2915
|
+
description?: string | undefined;
|
|
2916
|
+
}[] | undefined;
|
|
2917
|
+
input_schema?: Record<string, unknown> | undefined;
|
|
2918
|
+
} | undefined;
|
|
2919
|
+
} | undefined;
|
|
2920
|
+
display_name?: string | undefined;
|
|
2921
|
+
}[];
|
|
2922
|
+
upgrade_available: boolean;
|
|
2923
|
+
org?: string | undefined;
|
|
2924
|
+
description?: string | undefined;
|
|
2925
|
+
name?: string | undefined;
|
|
2926
|
+
created_at?: string | undefined;
|
|
2927
|
+
updated_at?: string | undefined;
|
|
2928
|
+
lookup_key?: string | undefined;
|
|
2929
|
+
virtual_path?: string | undefined;
|
|
2930
|
+
metadata?: Record<string, unknown> | undefined;
|
|
2931
|
+
org_name?: string | undefined;
|
|
2932
|
+
category_keys?: string[] | undefined;
|
|
2933
|
+
events?: Record<string, unknown> | undefined;
|
|
2934
|
+
image_url?: string | undefined;
|
|
2935
|
+
latest_solution?: string | undefined;
|
|
2936
|
+
latest_version?: string | undefined;
|
|
2937
|
+
org_logo?: {
|
|
2938
|
+
mime_type?: string | undefined;
|
|
2939
|
+
file?: string | undefined;
|
|
2940
|
+
height?: number | undefined;
|
|
2941
|
+
media?: string | undefined;
|
|
2942
|
+
refresh_url?: string | undefined;
|
|
2943
|
+
url?: string | undefined;
|
|
2944
|
+
width?: number | undefined;
|
|
2945
|
+
} | undefined;
|
|
2946
|
+
org_slug?: string | undefined;
|
|
2947
|
+
readme_url?: string | undefined;
|
|
2948
|
+
screenshot_urls?: string[] | undefined;
|
|
2949
|
+
solution_id?: string | undefined;
|
|
2950
|
+
solution_version?: string | undefined;
|
|
2951
|
+
tag_keys?: string[] | undefined;
|
|
2952
|
+
template_kind?: string | undefined;
|
|
2953
|
+
} | undefined;
|
|
1767
2954
|
} | undefined;
|
|
1768
2955
|
template_upgrade_available?: boolean | undefined;
|
|
1769
2956
|
}[] | undefined;
|
|
@@ -1775,102 +2962,6 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1775
2962
|
ttl?: number | undefined;
|
|
1776
2963
|
unread_count?: number | undefined;
|
|
1777
2964
|
}>;
|
|
1778
|
-
/** A user's membership record in a thread, capturing their role and full user profile. */
|
|
1779
|
-
export interface ThreadMember {
|
|
1780
|
-
/** Role of the member within the thread. One of `"owner"` (the user who created or was granted ownership) or `"member"` (a regular participant). */
|
|
1781
|
-
membership_type?: string | undefined;
|
|
1782
|
-
/** ID of the thread this membership belongs to (`thr_...`). */
|
|
1783
|
-
thread?: string | undefined;
|
|
1784
|
-
/** Full user object for the member (`usr_...`). Present when the association is preloaded; `null` otherwise. */
|
|
1785
|
-
user?: User | undefined;
|
|
1786
|
-
}
|
|
1787
|
-
/** Runtime validator for {@link ThreadMember}. */
|
|
1788
|
-
export declare const threadMemberSchema: z.ZodObject<{
|
|
1789
|
-
/** Role of the member within the thread. One of `"owner"` (the user who created or was granted ownership) or `"member"` (a regular participant). */
|
|
1790
|
-
membership_type: z.ZodOptional<z.ZodString>;
|
|
1791
|
-
/** ID of the thread this membership belongs to (`thr_...`). */
|
|
1792
|
-
thread: z.ZodOptional<z.ZodString>;
|
|
1793
|
-
/** Full user object for the member (`usr_...`). Present when the association is preloaded; `null` otherwise. */
|
|
1794
|
-
user: z.ZodOptional<z.ZodObject<{
|
|
1795
|
-
alias: z.ZodOptional<z.ZodString>;
|
|
1796
|
-
app: z.ZodOptional<z.ZodString>;
|
|
1797
|
-
app_name: z.ZodOptional<z.ZodString>;
|
|
1798
|
-
email: z.ZodOptional<z.ZodString>;
|
|
1799
|
-
id: z.ZodString;
|
|
1800
|
-
is_system_user: z.ZodOptional<z.ZodBoolean>;
|
|
1801
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1802
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1803
|
-
org: z.ZodOptional<z.ZodString>;
|
|
1804
|
-
org_name: z.ZodOptional<z.ZodString>;
|
|
1805
|
-
org_role: z.ZodOptional<z.ZodString>;
|
|
1806
|
-
sandbox: z.ZodOptional<z.ZodString>;
|
|
1807
|
-
sandbox_name: z.ZodOptional<z.ZodString>;
|
|
1808
|
-
}, "strip", z.ZodTypeAny, {
|
|
1809
|
-
id: string;
|
|
1810
|
-
email?: string | undefined;
|
|
1811
|
-
alias?: string | undefined;
|
|
1812
|
-
org?: string | undefined;
|
|
1813
|
-
sandbox?: string | undefined;
|
|
1814
|
-
name?: string | undefined;
|
|
1815
|
-
app?: string | undefined;
|
|
1816
|
-
app_name?: string | undefined;
|
|
1817
|
-
is_system_user?: boolean | undefined;
|
|
1818
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1819
|
-
org_name?: string | undefined;
|
|
1820
|
-
org_role?: string | undefined;
|
|
1821
|
-
sandbox_name?: string | undefined;
|
|
1822
|
-
}, {
|
|
1823
|
-
id: string;
|
|
1824
|
-
email?: string | undefined;
|
|
1825
|
-
alias?: string | undefined;
|
|
1826
|
-
org?: string | undefined;
|
|
1827
|
-
sandbox?: string | undefined;
|
|
1828
|
-
name?: string | undefined;
|
|
1829
|
-
app?: string | undefined;
|
|
1830
|
-
app_name?: string | undefined;
|
|
1831
|
-
is_system_user?: boolean | undefined;
|
|
1832
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1833
|
-
org_name?: string | undefined;
|
|
1834
|
-
org_role?: string | undefined;
|
|
1835
|
-
sandbox_name?: string | undefined;
|
|
1836
|
-
}>>;
|
|
1837
|
-
}, "strip", z.ZodTypeAny, {
|
|
1838
|
-
thread?: string | undefined;
|
|
1839
|
-
user?: {
|
|
1840
|
-
id: string;
|
|
1841
|
-
email?: string | undefined;
|
|
1842
|
-
alias?: string | undefined;
|
|
1843
|
-
org?: string | undefined;
|
|
1844
|
-
sandbox?: string | undefined;
|
|
1845
|
-
name?: string | undefined;
|
|
1846
|
-
app?: string | undefined;
|
|
1847
|
-
app_name?: string | undefined;
|
|
1848
|
-
is_system_user?: boolean | undefined;
|
|
1849
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1850
|
-
org_name?: string | undefined;
|
|
1851
|
-
org_role?: string | undefined;
|
|
1852
|
-
sandbox_name?: string | undefined;
|
|
1853
|
-
} | undefined;
|
|
1854
|
-
membership_type?: string | undefined;
|
|
1855
|
-
}, {
|
|
1856
|
-
thread?: string | undefined;
|
|
1857
|
-
user?: {
|
|
1858
|
-
id: string;
|
|
1859
|
-
email?: string | undefined;
|
|
1860
|
-
alias?: string | undefined;
|
|
1861
|
-
org?: string | undefined;
|
|
1862
|
-
sandbox?: string | undefined;
|
|
1863
|
-
name?: string | undefined;
|
|
1864
|
-
app?: string | undefined;
|
|
1865
|
-
app_name?: string | undefined;
|
|
1866
|
-
is_system_user?: boolean | undefined;
|
|
1867
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1868
|
-
org_name?: string | undefined;
|
|
1869
|
-
org_role?: string | undefined;
|
|
1870
|
-
sandbox_name?: string | undefined;
|
|
1871
|
-
} | undefined;
|
|
1872
|
-
membership_type?: string | undefined;
|
|
1873
|
-
}>;
|
|
1874
2965
|
/** The read status of a thread for a specific user, indicating how far they have read and how many messages remain unread. */
|
|
1875
2966
|
export interface ThreadReadStatus {
|
|
1876
2967
|
/** Message ID (`msg_...`) of the last message the user has read in this thread. `null` if the user has never read any message in the thread. */
|