@archastro/sdk 0.12.0 → 0.14.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/dist/auth.d.ts +6 -3
- package/dist/auth.d.ts.map +1 -1
- package/dist/auth.js +13 -4
- package/dist/auth.js.map +1 -1
- package/dist/channels/api_chat_channel.d.ts +11 -2
- package/dist/channels/api_chat_channel.d.ts.map +1 -1
- package/dist/channels/api_chat_channel.js +3 -3
- package/dist/channels/api_chat_channel.js.map +1 -1
- package/dist/client.d.ts +4 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +5 -1
- package/dist/client.js.map +1 -1
- package/dist/types/artifacts.d.ts +35 -35
- package/dist/types/automations.d.ts +4 -4
- package/dist/types/automations.d.ts.map +1 -1
- package/dist/types/automations.js +2 -2
- package/dist/types/automations.js.map +1 -1
- package/dist/types/chat.d.ts +21037 -18837
- package/dist/types/chat.d.ts.map +1 -1
- package/dist/types/chat.js +12 -1
- package/dist/types/chat.js.map +1 -1
- package/dist/types/common.d.ts +10417 -9112
- package/dist/types/common.d.ts.map +1 -1
- package/dist/types/common.js +246 -143
- package/dist/types/common.js.map +1 -1
- package/dist/types/extractions.d.ts +112 -112
- package/dist/types/image.d.ts +28 -28
- package/dist/types/image.d.ts.map +1 -1
- package/dist/types/image.js +8 -8
- package/dist/types/image.js.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +2 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/invites.d.ts +35 -35
- package/dist/types/oauth.d.ts +80 -50
- package/dist/types/oauth.d.ts.map +1 -1
- package/dist/types/status.d.ts +85 -55
- package/dist/types/status.d.ts.map +1 -1
- package/dist/types/status.js +2 -2
- package/dist/types/status.js.map +1 -1
- package/dist/types/system.d.ts +88 -0
- package/dist/types/system.d.ts.map +1 -0
- package/dist/types/system.js +34 -0
- package/dist/types/system.js.map +1 -0
- package/dist/types/tasks.d.ts +305 -281
- package/dist/types/tasks.d.ts.map +1 -1
- package/dist/types/tasks.js +26 -18
- package/dist/types/tasks.js.map +1 -1
- package/dist/types/teams.d.ts +2300 -2228
- package/dist/types/teams.d.ts.map +1 -1
- package/dist/types/teams.js +13 -13
- package/dist/types/teams.js.map +1 -1
- package/dist/types/threads.d.ts +1981 -1775
- package/dist/types/threads.d.ts.map +1 -1
- package/dist/types/threads.js +26 -26
- package/dist/types/threads.js.map +1 -1
- package/dist/types/users.d.ts +125 -89
- package/dist/types/users.d.ts.map +1 -1
- package/dist/types/users.js +23 -11
- package/dist/types/users.js.map +1 -1
- package/dist/v1/resources/activity_feed.d.ts +107 -101
- package/dist/v1/resources/activity_feed.d.ts.map +1 -1
- package/dist/v1/resources/activity_feed.js +1 -1
- package/dist/v1/resources/agents.d.ts +2 -1
- package/dist/v1/resources/agents.d.ts.map +1 -1
- package/dist/v1/resources/agents.js +1 -1
- package/dist/v1/resources/agents.js.map +1 -1
- package/dist/v1/resources/event_subscription_deliveries.d.ts +17 -0
- package/dist/v1/resources/event_subscription_deliveries.d.ts.map +1 -0
- package/dist/v1/resources/event_subscription_deliveries.js +21 -0
- package/dist/v1/resources/event_subscription_deliveries.js.map +1 -0
- package/dist/v1/resources/event_subscriptions.d.ts +110 -0
- package/dist/v1/resources/event_subscriptions.d.ts.map +1 -0
- package/dist/v1/resources/event_subscriptions.js +119 -0
- package/dist/v1/resources/event_subscriptions.js.map +1 -0
- package/dist/v1/resources/index.d.ts +2 -0
- package/dist/v1/resources/index.d.ts.map +1 -1
- package/dist/v1/resources/index.js +3 -1
- package/dist/v1/resources/index.js.map +1 -1
- package/dist/v1/resources/private_service_definitions.d.ts +4 -1
- package/dist/v1/resources/private_service_definitions.d.ts.map +1 -1
- package/dist/v1/resources/private_service_definitions.js +2 -2
- package/dist/v1/resources/private_service_definitions.js.map +1 -1
- package/dist/v1/resources/solutions.d.ts +11 -1
- package/dist/v1/resources/solutions.d.ts.map +1 -1
- package/dist/v1/resources/solutions.js +13 -1
- package/dist/v1/resources/solutions.js.map +1 -1
- package/dist/v1/resources/tasks.d.ts +146 -126
- package/dist/v1/resources/tasks.d.ts.map +1 -1
- package/dist/v1/resources/tasks.js +5 -1
- package/dist/v1/resources/tasks.js.map +1 -1
- package/dist/v1/resources/teams.d.ts +574 -488
- package/dist/v1/resources/teams.d.ts.map +1 -1
- package/dist/v1/resources/teams.js +53 -2
- package/dist/v1/resources/teams.js.map +1 -1
- package/dist/v1/resources/threads.d.ts +98 -77
- package/dist/v1/resources/threads.d.ts.map +1 -1
- package/dist/v1/resources/threads.js +3 -2
- package/dist/v1/resources/threads.js.map +1 -1
- package/dist/v1/resources/trajectories.d.ts +4 -1
- package/dist/v1/resources/trajectories.d.ts.map +1 -1
- package/dist/v1/resources/trajectories.js +2 -2
- package/dist/v1/resources/trajectories.js.map +1 -1
- package/dist/v1/resources/users.d.ts +506 -369
- package/dist/v1/resources/users.d.ts.map +1 -1
- package/dist/v1/resources/users.js +110 -1
- package/dist/v1/resources/users.js.map +1 -1
- package/dist/v1.d.ts +4 -0
- package/dist/v1.d.ts.map +1 -1
- package/dist/v1.js +7 -1
- package/dist/v1.js.map +1 -1
- package/package.json +2 -2
package/dist/types/threads.d.ts
CHANGED
|
@@ -3,42 +3,48 @@ import type { Acl, Agent, Attachment, Message } from "./common.js";
|
|
|
3
3
|
import type { User } from "./users.js";
|
|
4
4
|
/** Configuration settings for a thread that control AI agent behavior and other thread-level preferences. */
|
|
5
5
|
export interface ThreadSettings {
|
|
6
|
-
/** Whether the AI agent is active for this thread. `true` enables AI responses; `false` disables them. Defaults to `true` when settings have not been explicitly configured. */
|
|
7
|
-
agent_enabled?: boolean | undefined;
|
|
6
|
+
/** Whether the AI agent is active for this thread. `true` enables AI responses; `false` disables them. Defaults to `true` when settings have not been explicitly configured. `null` when a client explicitly cleared the setting. */
|
|
7
|
+
agent_enabled?: boolean | null | undefined;
|
|
8
8
|
}
|
|
9
9
|
/** Runtime validator for {@link ThreadSettings}. */
|
|
10
10
|
export declare const threadSettingsSchema: z.ZodObject<{
|
|
11
|
-
/** Whether the AI agent is active for this thread. `true` enables AI responses; `false` disables them. Defaults to `true` when settings have not been explicitly configured. */
|
|
12
|
-
agent_enabled: z.ZodOptional<z.ZodBoolean
|
|
11
|
+
/** Whether the AI agent is active for this thread. `true` enables AI responses; `false` disables them. Defaults to `true` when settings have not been explicitly configured. `null` when a client explicitly cleared the setting. */
|
|
12
|
+
agent_enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
|
14
|
-
agent_enabled?: boolean | undefined;
|
|
14
|
+
agent_enabled?: boolean | null | undefined;
|
|
15
15
|
}, {
|
|
16
|
-
agent_enabled?: boolean | undefined;
|
|
16
|
+
agent_enabled?: boolean | null | undefined;
|
|
17
17
|
}>;
|
|
18
18
|
/** A chat thread, representing a conversation channel that can be owned by a user, team, or agent and may contain messages, participants, and AI agent activity. */
|
|
19
19
|
export interface Thread {
|
|
20
20
|
/** ID of the agent that owns this thread (`agt_...`). `null` for user-owned or team-owned threads. */
|
|
21
|
-
agent_user?: string | undefined;
|
|
21
|
+
agent_user?: string | null | undefined;
|
|
22
22
|
/** When the thread was created (ISO 8601). */
|
|
23
23
|
created_at?: string | undefined;
|
|
24
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
25
|
creator?: string | {
|
|
26
|
-
alias?: string | undefined;
|
|
27
|
-
app?: string | undefined;
|
|
28
|
-
app_name?: string | undefined;
|
|
29
|
-
|
|
26
|
+
alias?: string | null | undefined;
|
|
27
|
+
app?: string | null | undefined;
|
|
28
|
+
app_name?: string | null | undefined;
|
|
29
|
+
created_by_agent_user?: string | null | undefined;
|
|
30
|
+
created_by_developer?: string | null | undefined;
|
|
31
|
+
created_by_org?: string | null | undefined;
|
|
32
|
+
created_by_team?: string | null | undefined;
|
|
33
|
+
created_by_user?: string | null | undefined;
|
|
34
|
+
email?: string | null | undefined;
|
|
30
35
|
id: string;
|
|
31
36
|
is_system_user?: boolean | undefined;
|
|
32
37
|
metadata?: Record<string, unknown> | undefined;
|
|
33
|
-
name?: string | undefined;
|
|
34
|
-
org?: string | undefined;
|
|
35
|
-
org_name?: string | undefined;
|
|
36
|
-
org_role?: string | undefined;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
name?: string | null | undefined;
|
|
39
|
+
org?: string | null | undefined;
|
|
40
|
+
org_name?: string | null | undefined;
|
|
41
|
+
org_role?: string | null | undefined;
|
|
42
|
+
org_slug?: string | null | undefined;
|
|
43
|
+
sandbox?: string | null | undefined;
|
|
44
|
+
sandbox_name?: string | null | undefined;
|
|
45
|
+
} | null | undefined;
|
|
40
46
|
/** Optional description or purpose statement for the thread. `null` if not set. */
|
|
41
|
-
description?: string | undefined;
|
|
47
|
+
description?: string | null | undefined;
|
|
42
48
|
/** Thread ID (`thr_...`). */
|
|
43
49
|
id: string;
|
|
44
50
|
/** Whether this thread operates as a channel — a multi-member broadcast-style conversation. */
|
|
@@ -50,23 +56,23 @@ export interface Thread {
|
|
|
50
56
|
/** Whether this thread is hidden from public discovery. Unlisted threads are accessible only to direct participants. */
|
|
51
57
|
is_unlisted?: boolean | undefined;
|
|
52
58
|
/** Application-defined stable key that uniquely identifies the thread within its scope. Useful for idempotent creation. `null` if not set. */
|
|
53
|
-
key?: string | undefined;
|
|
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.
|
|
55
|
-
kind?: string | undefined;
|
|
59
|
+
key?: string | null | undefined;
|
|
60
|
+
/** Thread subtype: `"standard"` for ordinary threads, `"personal"` for a user-and-owned-agents roster, `"slack_mirror"` for the membership-strict mirror of a Slack channel, or `"slashwork_mirror"` for the membership-strict mirror of a Slashwork group. `personal` is an explicit user-thread creation option; mirror kinds are server-derived. */
|
|
61
|
+
kind?: string | null | undefined;
|
|
56
62
|
/** 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. */
|
|
57
|
-
last_activity?: string | undefined;
|
|
63
|
+
last_activity?: string | null | undefined;
|
|
58
64
|
/** 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;
|
|
65
|
+
last_message_preview?: string | null | undefined;
|
|
60
66
|
/** 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;
|
|
67
|
+
last_message_sender?: string | null | undefined;
|
|
62
68
|
/** Arbitrary key-value metadata attached to the thread. Shape is application-defined; `null` if no metadata has been set. */
|
|
63
|
-
metadata?: Record<string, unknown> | undefined;
|
|
69
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
64
70
|
/** Whether the authenticated user has muted notifications for this thread. `true` suppresses all notification delivery. */
|
|
65
71
|
muted?: boolean | undefined;
|
|
66
72
|
/** ID of the organization this thread belongs to (`org_...`). `null` for threads outside an org context. */
|
|
67
|
-
org?: string | undefined;
|
|
73
|
+
org?: string | null | undefined;
|
|
68
74
|
/** The message that spawned this thread as a sub-thread. `null` for top-level threads. */
|
|
69
|
-
parent_message?: Message | undefined;
|
|
75
|
+
parent_message?: Message | null | undefined;
|
|
70
76
|
/** Array of participant user IDs (`usr_...`) who are members of this thread. */
|
|
71
77
|
participant?: string[] | undefined;
|
|
72
78
|
/** Expanded participant user objects for each member of this thread. Populated only when the association is loaded. */
|
|
@@ -74,86 +80,104 @@ export interface Thread {
|
|
|
74
80
|
/** Composite actor identifiers for all participants currently active in this thread. Present only when actor enrichment is requested. */
|
|
75
81
|
participating_actor?: string[] | undefined;
|
|
76
82
|
/** Expanded agent objects for all agents participating in this thread. Present only when agent enrichment is requested. */
|
|
77
|
-
participating_agents?: Agent[] | undefined;
|
|
83
|
+
participating_agents?: Agent[] | null | undefined;
|
|
78
84
|
/** The authenticated user's membership role in this thread, e.g. `"owner"`, `"member"`, or `"viewer"`. `null` if the user is not a member. */
|
|
79
|
-
role?: string | undefined;
|
|
85
|
+
role?: string | null | undefined;
|
|
80
86
|
/** ID of the developer sandbox this thread is scoped to (`dsb_...`). `null` for production threads. */
|
|
81
|
-
sandbox?: string | undefined;
|
|
87
|
+
sandbox?: string | null | undefined;
|
|
82
88
|
/** Per-thread configuration settings controlling AI agent behavior for this thread. */
|
|
83
89
|
settings?: ThreadSettings | undefined;
|
|
84
90
|
/** URL-safe slug for the thread, used in human-readable permalinks. `null` if not assigned. */
|
|
85
|
-
slug?: string | undefined;
|
|
91
|
+
slug?: string | null | undefined;
|
|
86
92
|
/** Threads that are nested under this thread as replies to a parent message. Present only when sub-thread enrichment is requested. */
|
|
87
|
-
sub_threads?: Record<string, unknown>[] | undefined;
|
|
93
|
+
sub_threads?: Record<string, unknown>[] | null | undefined;
|
|
88
94
|
/** 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
95
|
tags?: string[] | undefined;
|
|
90
96
|
/** ID of the team that owns this thread (`team_...`). `null` for user-owned or agent-owned threads. */
|
|
91
|
-
team?: string | undefined;
|
|
97
|
+
team?: string | null | undefined;
|
|
92
98
|
/** Human-readable name of the thread. `null` if no title has been set. */
|
|
93
|
-
title?: string | undefined;
|
|
94
|
-
/**
|
|
95
|
-
ttl?:
|
|
99
|
+
title?: string | null | undefined;
|
|
100
|
+
/** Offset-free expiry timestamp after which the thread may be automatically cleaned up. `null` if the thread does not expire. */
|
|
101
|
+
ttl?: string | null | undefined;
|
|
96
102
|
/** Number of messages in this thread that the authenticated user has not yet read. Present only when read-state enrichment is requested. */
|
|
97
|
-
unread_count?: number | undefined;
|
|
103
|
+
unread_count?: number | null | undefined;
|
|
98
104
|
/** When the thread was last modified (ISO 8601). */
|
|
99
105
|
updated_at?: string | undefined;
|
|
100
106
|
/** ID of the user who owns this thread (`usr_...`). `null` for team-owned or agent-owned threads. */
|
|
101
|
-
user?: string | undefined;
|
|
107
|
+
user?: string | null | undefined;
|
|
102
108
|
/** 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
109
|
visibility: "team" | "restricted" | "private";
|
|
104
110
|
}
|
|
105
111
|
/** Runtime validator for {@link Thread}. */
|
|
106
112
|
export declare const threadSchema: z.ZodObject<{
|
|
107
113
|
/** ID of the agent that owns this thread (`agt_...`). `null` for user-owned or team-owned threads. */
|
|
108
|
-
agent_user: z.ZodOptional<z.ZodString
|
|
114
|
+
agent_user: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
109
115
|
/** When the thread was created (ISO 8601). */
|
|
110
116
|
created_at: z.ZodOptional<z.ZodString>;
|
|
111
117
|
/** 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<{
|
|
113
|
-
alias: z.ZodOptional<z.ZodString
|
|
114
|
-
app: z.ZodOptional<z.ZodString
|
|
115
|
-
app_name: z.ZodOptional<z.ZodString
|
|
116
|
-
|
|
118
|
+
creator: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
119
|
+
alias: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
120
|
+
app: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
121
|
+
app_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
122
|
+
created_by_agent_user: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
123
|
+
created_by_developer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
124
|
+
created_by_org: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
125
|
+
created_by_team: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
126
|
+
created_by_user: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
127
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
117
128
|
id: z.ZodString;
|
|
118
129
|
is_system_user: z.ZodOptional<z.ZodBoolean>;
|
|
119
130
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
120
|
-
name: z.ZodOptional<z.ZodString
|
|
121
|
-
org: z.ZodOptional<z.ZodString
|
|
122
|
-
org_name: z.ZodOptional<z.ZodString
|
|
123
|
-
org_role: z.ZodOptional<z.ZodString
|
|
124
|
-
|
|
125
|
-
|
|
131
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
132
|
+
org: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
133
|
+
org_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
134
|
+
org_role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
135
|
+
org_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
136
|
+
sandbox: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
137
|
+
sandbox_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
126
138
|
}, "strip", z.ZodTypeAny, {
|
|
127
139
|
id: string;
|
|
128
|
-
email?: string | undefined;
|
|
129
|
-
alias?: string | undefined;
|
|
130
|
-
org?: string | undefined;
|
|
131
|
-
name?: string | undefined;
|
|
132
|
-
app?: string | undefined;
|
|
133
|
-
sandbox?: string | undefined;
|
|
134
|
-
app_name?: string | undefined;
|
|
140
|
+
email?: string | null | undefined;
|
|
141
|
+
alias?: string | null | undefined;
|
|
142
|
+
org?: string | null | undefined;
|
|
143
|
+
name?: string | null | undefined;
|
|
144
|
+
app?: string | null | undefined;
|
|
145
|
+
sandbox?: string | null | undefined;
|
|
146
|
+
app_name?: string | null | undefined;
|
|
147
|
+
created_by_agent_user?: string | null | undefined;
|
|
148
|
+
created_by_developer?: string | null | undefined;
|
|
149
|
+
created_by_org?: string | null | undefined;
|
|
150
|
+
created_by_team?: string | null | undefined;
|
|
151
|
+
created_by_user?: string | null | undefined;
|
|
135
152
|
is_system_user?: boolean | undefined;
|
|
136
153
|
metadata?: Record<string, unknown> | undefined;
|
|
137
|
-
org_name?: string | undefined;
|
|
138
|
-
org_role?: string | undefined;
|
|
139
|
-
|
|
154
|
+
org_name?: string | null | undefined;
|
|
155
|
+
org_role?: string | null | undefined;
|
|
156
|
+
org_slug?: string | null | undefined;
|
|
157
|
+
sandbox_name?: string | null | undefined;
|
|
140
158
|
}, {
|
|
141
159
|
id: string;
|
|
142
|
-
email?: string | undefined;
|
|
143
|
-
alias?: string | undefined;
|
|
144
|
-
org?: string | undefined;
|
|
145
|
-
name?: string | undefined;
|
|
146
|
-
app?: string | undefined;
|
|
147
|
-
sandbox?: string | undefined;
|
|
148
|
-
app_name?: string | undefined;
|
|
160
|
+
email?: string | null | undefined;
|
|
161
|
+
alias?: string | null | undefined;
|
|
162
|
+
org?: string | null | undefined;
|
|
163
|
+
name?: string | null | undefined;
|
|
164
|
+
app?: string | null | undefined;
|
|
165
|
+
sandbox?: string | null | undefined;
|
|
166
|
+
app_name?: string | null | undefined;
|
|
167
|
+
created_by_agent_user?: string | null | undefined;
|
|
168
|
+
created_by_developer?: string | null | undefined;
|
|
169
|
+
created_by_org?: string | null | undefined;
|
|
170
|
+
created_by_team?: string | null | undefined;
|
|
171
|
+
created_by_user?: string | null | undefined;
|
|
149
172
|
is_system_user?: boolean | undefined;
|
|
150
173
|
metadata?: Record<string, unknown> | undefined;
|
|
151
|
-
org_name?: string | undefined;
|
|
152
|
-
org_role?: string | undefined;
|
|
153
|
-
|
|
154
|
-
|
|
174
|
+
org_name?: string | null | undefined;
|
|
175
|
+
org_role?: string | null | undefined;
|
|
176
|
+
org_slug?: string | null | undefined;
|
|
177
|
+
sandbox_name?: string | null | undefined;
|
|
178
|
+
}>]>>>;
|
|
155
179
|
/** Optional description or purpose statement for the thread. `null` if not set. */
|
|
156
|
-
description: z.ZodOptional<z.ZodString
|
|
180
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
157
181
|
/** Thread ID (`thr_...`). */
|
|
158
182
|
id: z.ZodString;
|
|
159
183
|
/** Whether this thread operates as a channel — a multi-member broadcast-style conversation. */
|
|
@@ -165,24 +189,24 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
165
189
|
/** Whether this thread is hidden from public discovery. Unlisted threads are accessible only to direct participants. */
|
|
166
190
|
is_unlisted: z.ZodOptional<z.ZodBoolean>;
|
|
167
191
|
/** Application-defined stable key that uniquely identifies the thread within its scope. Useful for idempotent creation. `null` if not set. */
|
|
168
|
-
key: z.ZodOptional<z.ZodString
|
|
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.
|
|
170
|
-
kind: z.ZodOptional<z.ZodString
|
|
192
|
+
key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
193
|
+
/** Thread subtype: `"standard"` for ordinary threads, `"personal"` for a user-and-owned-agents roster, `"slack_mirror"` for the membership-strict mirror of a Slack channel, or `"slashwork_mirror"` for the membership-strict mirror of a Slashwork group. `personal` is an explicit user-thread creation option; mirror kinds are server-derived. */
|
|
194
|
+
kind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
171
195
|
/** 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. */
|
|
172
|
-
last_activity: z.ZodOptional<z.ZodString
|
|
196
|
+
last_activity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
173
197
|
/** 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
|
|
198
|
+
last_message_preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
175
199
|
/** 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
|
|
200
|
+
last_message_sender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
177
201
|
/** Arbitrary key-value metadata attached to the thread. Shape is application-defined; `null` if no metadata has been set. */
|
|
178
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown
|
|
202
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
179
203
|
/** Whether the authenticated user has muted notifications for this thread. `true` suppresses all notification delivery. */
|
|
180
204
|
muted: z.ZodOptional<z.ZodBoolean>;
|
|
181
205
|
/** ID of the organization this thread belongs to (`org_...`). `null` for threads outside an org context. */
|
|
182
|
-
org: z.ZodOptional<z.ZodString
|
|
206
|
+
org: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
183
207
|
/** The message that spawned this thread as a sub-thread. `null` for top-level threads. */
|
|
184
|
-
parent_message: z.ZodOptional<z.ZodObject<{
|
|
185
|
-
acl: z.ZodOptional<z.ZodObject<{
|
|
208
|
+
parent_message: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
209
|
+
acl: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
186
210
|
add: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
187
211
|
actions: z.ZodArray<z.ZodString, "many">;
|
|
188
212
|
principal: z.ZodOptional<z.ZodString>;
|
|
@@ -249,289 +273,289 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
249
273
|
principal_type: string;
|
|
250
274
|
principal?: string | undefined;
|
|
251
275
|
}[] | undefined;
|
|
252
|
-
}
|
|
276
|
+
}>>>;
|
|
253
277
|
actors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
254
|
-
alias: z.ZodOptional<z.ZodString
|
|
255
|
-
id: z.ZodOptional<z.ZodString
|
|
256
|
-
name: z.ZodOptional<z.ZodString
|
|
257
|
-
profile_picture: z.ZodOptional<z.ZodObject<{
|
|
258
|
-
file: z.ZodOptional<z.ZodString
|
|
259
|
-
height: z.ZodOptional<z.ZodNumber
|
|
260
|
-
media: z.ZodOptional<z.ZodString
|
|
261
|
-
mime_type: z.ZodOptional<z.ZodString
|
|
262
|
-
refresh_url: z.ZodOptional<z.ZodString
|
|
263
|
-
url: z.ZodOptional<z.ZodString
|
|
264
|
-
width: z.ZodOptional<z.ZodNumber
|
|
278
|
+
alias: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
279
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
280
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
281
|
+
profile_picture: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
282
|
+
file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
283
|
+
height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
284
|
+
media: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
285
|
+
mime_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
286
|
+
refresh_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
287
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
288
|
+
width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
265
289
|
}, "strip", z.ZodTypeAny, {
|
|
266
|
-
mime_type?: string | undefined;
|
|
267
|
-
file?: string | undefined;
|
|
268
|
-
height?: number | undefined;
|
|
269
|
-
media?: string | undefined;
|
|
270
|
-
refresh_url?: string | undefined;
|
|
271
|
-
url?: string | undefined;
|
|
272
|
-
width?: number | undefined;
|
|
290
|
+
mime_type?: string | null | undefined;
|
|
291
|
+
file?: string | null | undefined;
|
|
292
|
+
height?: number | null | undefined;
|
|
293
|
+
media?: string | null | undefined;
|
|
294
|
+
refresh_url?: string | null | undefined;
|
|
295
|
+
url?: string | null | undefined;
|
|
296
|
+
width?: number | null | undefined;
|
|
273
297
|
}, {
|
|
274
|
-
mime_type?: string | undefined;
|
|
275
|
-
file?: string | undefined;
|
|
276
|
-
height?: number | undefined;
|
|
277
|
-
media?: string | undefined;
|
|
278
|
-
refresh_url?: string | undefined;
|
|
279
|
-
url?: string | undefined;
|
|
280
|
-
width?: number | undefined;
|
|
281
|
-
}
|
|
298
|
+
mime_type?: string | null | undefined;
|
|
299
|
+
file?: string | null | undefined;
|
|
300
|
+
height?: number | null | undefined;
|
|
301
|
+
media?: string | null | undefined;
|
|
302
|
+
refresh_url?: string | null | undefined;
|
|
303
|
+
url?: string | null | undefined;
|
|
304
|
+
width?: number | null | undefined;
|
|
305
|
+
}>>>;
|
|
282
306
|
}, "strip", z.ZodTypeAny, {
|
|
283
|
-
alias?: string | undefined;
|
|
284
|
-
name?: string | undefined;
|
|
285
|
-
id?: string | undefined;
|
|
307
|
+
alias?: string | null | undefined;
|
|
308
|
+
name?: string | null | undefined;
|
|
309
|
+
id?: string | null | undefined;
|
|
286
310
|
profile_picture?: {
|
|
287
|
-
mime_type?: string | undefined;
|
|
288
|
-
file?: string | undefined;
|
|
289
|
-
height?: number | undefined;
|
|
290
|
-
media?: string | undefined;
|
|
291
|
-
refresh_url?: string | undefined;
|
|
292
|
-
url?: string | undefined;
|
|
293
|
-
width?: number | undefined;
|
|
294
|
-
} | undefined;
|
|
311
|
+
mime_type?: string | null | undefined;
|
|
312
|
+
file?: string | null | undefined;
|
|
313
|
+
height?: number | null | undefined;
|
|
314
|
+
media?: string | null | undefined;
|
|
315
|
+
refresh_url?: string | null | undefined;
|
|
316
|
+
url?: string | null | undefined;
|
|
317
|
+
width?: number | null | undefined;
|
|
318
|
+
} | null | undefined;
|
|
295
319
|
}, {
|
|
296
|
-
alias?: string | undefined;
|
|
297
|
-
name?: string | undefined;
|
|
298
|
-
id?: string | undefined;
|
|
320
|
+
alias?: string | null | undefined;
|
|
321
|
+
name?: string | null | undefined;
|
|
322
|
+
id?: string | null | undefined;
|
|
299
323
|
profile_picture?: {
|
|
300
|
-
mime_type?: string | undefined;
|
|
301
|
-
file?: string | undefined;
|
|
302
|
-
height?: number | undefined;
|
|
303
|
-
media?: string | undefined;
|
|
304
|
-
refresh_url?: string | undefined;
|
|
305
|
-
url?: string | undefined;
|
|
306
|
-
width?: number | undefined;
|
|
307
|
-
} | undefined;
|
|
324
|
+
mime_type?: string | null | undefined;
|
|
325
|
+
file?: string | null | undefined;
|
|
326
|
+
height?: number | null | undefined;
|
|
327
|
+
media?: string | null | undefined;
|
|
328
|
+
refresh_url?: string | null | undefined;
|
|
329
|
+
url?: string | null | undefined;
|
|
330
|
+
width?: number | null | undefined;
|
|
331
|
+
} | null | undefined;
|
|
308
332
|
}>, "many">>;
|
|
309
|
-
agent: z.ZodOptional<z.ZodString
|
|
310
|
-
agent_mode: z.ZodOptional<z.ZodEnum<["cli", "embedded"]
|
|
333
|
+
agent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
334
|
+
agent_mode: z.ZodOptional<z.ZodNullable<z.ZodEnum<["cli", "embedded"]>>>;
|
|
311
335
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
312
|
-
content_type: z.ZodOptional<z.ZodString
|
|
313
|
-
description: z.ZodOptional<z.ZodString
|
|
314
|
-
filename: z.ZodOptional<z.ZodString
|
|
315
|
-
height: z.ZodOptional<z.ZodNumber
|
|
336
|
+
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
337
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
338
|
+
filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
339
|
+
height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
316
340
|
id: z.ZodString;
|
|
317
|
-
image_height: z.ZodOptional<z.ZodNumber
|
|
318
|
-
image_source: z.ZodOptional<z.ZodObject<{
|
|
319
|
-
file: z.ZodOptional<z.ZodString
|
|
320
|
-
height: z.ZodOptional<z.ZodNumber
|
|
321
|
-
media: z.ZodOptional<z.ZodString
|
|
322
|
-
mime_type: z.ZodOptional<z.ZodString
|
|
323
|
-
refresh_url: z.ZodOptional<z.ZodString
|
|
324
|
-
url: z.ZodOptional<z.ZodString
|
|
325
|
-
width: z.ZodOptional<z.ZodNumber
|
|
341
|
+
image_height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
342
|
+
image_source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
343
|
+
file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
344
|
+
height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
345
|
+
media: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
346
|
+
mime_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
347
|
+
refresh_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
348
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
349
|
+
width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
326
350
|
}, "strip", z.ZodTypeAny, {
|
|
327
|
-
mime_type?: string | undefined;
|
|
328
|
-
file?: string | undefined;
|
|
329
|
-
height?: number | undefined;
|
|
330
|
-
media?: string | undefined;
|
|
331
|
-
refresh_url?: string | undefined;
|
|
332
|
-
url?: string | undefined;
|
|
333
|
-
width?: number | undefined;
|
|
351
|
+
mime_type?: string | null | undefined;
|
|
352
|
+
file?: string | null | undefined;
|
|
353
|
+
height?: number | null | undefined;
|
|
354
|
+
media?: string | null | undefined;
|
|
355
|
+
refresh_url?: string | null | undefined;
|
|
356
|
+
url?: string | null | undefined;
|
|
357
|
+
width?: number | null | undefined;
|
|
334
358
|
}, {
|
|
335
|
-
mime_type?: string | undefined;
|
|
336
|
-
file?: string | undefined;
|
|
337
|
-
height?: number | undefined;
|
|
338
|
-
media?: string | undefined;
|
|
339
|
-
refresh_url?: string | undefined;
|
|
340
|
-
url?: string | undefined;
|
|
341
|
-
width?: number | undefined;
|
|
342
|
-
}
|
|
343
|
-
image_url: z.ZodOptional<z.ZodString
|
|
344
|
-
image_width: z.ZodOptional<z.ZodNumber
|
|
359
|
+
mime_type?: string | null | undefined;
|
|
360
|
+
file?: string | null | undefined;
|
|
361
|
+
height?: number | null | undefined;
|
|
362
|
+
media?: string | null | undefined;
|
|
363
|
+
refresh_url?: string | null | undefined;
|
|
364
|
+
url?: string | null | undefined;
|
|
365
|
+
width?: number | null | undefined;
|
|
366
|
+
}>>>;
|
|
367
|
+
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
368
|
+
image_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
345
369
|
media_type: z.ZodOptional<z.ZodString>;
|
|
346
|
-
name: z.ZodOptional<z.ZodString
|
|
370
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
347
371
|
object: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
348
|
-
title: z.ZodOptional<z.ZodString
|
|
372
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
349
373
|
type: z.ZodString;
|
|
350
|
-
url: z.ZodOptional<z.ZodString
|
|
374
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
351
375
|
variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
352
|
-
content_type: z.ZodOptional<z.ZodString
|
|
376
|
+
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
353
377
|
created_at: z.ZodOptional<z.ZodString>;
|
|
354
378
|
file: z.ZodOptional<z.ZodString>;
|
|
355
|
-
filename: z.ZodOptional<z.ZodString
|
|
356
|
-
height: z.ZodOptional<z.ZodNumber
|
|
379
|
+
filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
380
|
+
height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
357
381
|
id: z.ZodString;
|
|
358
|
-
image_source: z.ZodOptional<z.ZodObject<{
|
|
359
|
-
file: z.ZodOptional<z.ZodString
|
|
360
|
-
height: z.ZodOptional<z.ZodNumber
|
|
361
|
-
media: z.ZodOptional<z.ZodString
|
|
362
|
-
mime_type: z.ZodOptional<z.ZodString
|
|
363
|
-
refresh_url: z.ZodOptional<z.ZodString
|
|
364
|
-
url: z.ZodOptional<z.ZodString
|
|
365
|
-
width: z.ZodOptional<z.ZodNumber
|
|
382
|
+
image_source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
383
|
+
file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
384
|
+
height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
385
|
+
media: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
386
|
+
mime_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
387
|
+
refresh_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
388
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
389
|
+
width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
366
390
|
}, "strip", z.ZodTypeAny, {
|
|
367
|
-
mime_type?: string | undefined;
|
|
368
|
-
file?: string | undefined;
|
|
369
|
-
height?: number | undefined;
|
|
370
|
-
media?: string | undefined;
|
|
371
|
-
refresh_url?: string | undefined;
|
|
372
|
-
url?: string | undefined;
|
|
373
|
-
width?: number | undefined;
|
|
391
|
+
mime_type?: string | null | undefined;
|
|
392
|
+
file?: string | null | undefined;
|
|
393
|
+
height?: number | null | undefined;
|
|
394
|
+
media?: string | null | undefined;
|
|
395
|
+
refresh_url?: string | null | undefined;
|
|
396
|
+
url?: string | null | undefined;
|
|
397
|
+
width?: number | null | undefined;
|
|
374
398
|
}, {
|
|
375
|
-
mime_type?: string | undefined;
|
|
376
|
-
file?: string | undefined;
|
|
377
|
-
height?: number | undefined;
|
|
378
|
-
media?: string | undefined;
|
|
379
|
-
refresh_url?: string | undefined;
|
|
380
|
-
url?: string | undefined;
|
|
381
|
-
width?: number | undefined;
|
|
382
|
-
}
|
|
399
|
+
mime_type?: string | null | undefined;
|
|
400
|
+
file?: string | null | undefined;
|
|
401
|
+
height?: number | null | undefined;
|
|
402
|
+
media?: string | null | undefined;
|
|
403
|
+
refresh_url?: string | null | undefined;
|
|
404
|
+
url?: string | null | undefined;
|
|
405
|
+
width?: number | null | undefined;
|
|
406
|
+
}>>>;
|
|
383
407
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
384
|
-
url: z.ZodOptional<z.ZodString
|
|
408
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
385
409
|
variant_key: z.ZodOptional<z.ZodString>;
|
|
386
|
-
width: z.ZodOptional<z.ZodNumber
|
|
410
|
+
width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
387
411
|
}, "strip", z.ZodTypeAny, {
|
|
388
412
|
id: string;
|
|
389
413
|
created_at?: string | undefined;
|
|
390
414
|
updated_at?: string | undefined;
|
|
391
415
|
file?: string | undefined;
|
|
392
|
-
height?: number | undefined;
|
|
393
|
-
url?: string | undefined;
|
|
394
|
-
width?: number | undefined;
|
|
395
|
-
content_type?: string | undefined;
|
|
396
|
-
filename?: string | undefined;
|
|
416
|
+
height?: number | null | undefined;
|
|
417
|
+
url?: string | null | undefined;
|
|
418
|
+
width?: number | null | undefined;
|
|
419
|
+
content_type?: string | null | undefined;
|
|
420
|
+
filename?: string | null | undefined;
|
|
397
421
|
image_source?: {
|
|
398
|
-
mime_type?: string | undefined;
|
|
399
|
-
file?: string | undefined;
|
|
400
|
-
height?: number | undefined;
|
|
401
|
-
media?: string | undefined;
|
|
402
|
-
refresh_url?: string | undefined;
|
|
403
|
-
url?: string | undefined;
|
|
404
|
-
width?: number | undefined;
|
|
405
|
-
} | undefined;
|
|
422
|
+
mime_type?: string | null | undefined;
|
|
423
|
+
file?: string | null | undefined;
|
|
424
|
+
height?: number | null | undefined;
|
|
425
|
+
media?: string | null | undefined;
|
|
426
|
+
refresh_url?: string | null | undefined;
|
|
427
|
+
url?: string | null | undefined;
|
|
428
|
+
width?: number | null | undefined;
|
|
429
|
+
} | null | undefined;
|
|
406
430
|
variant_key?: string | undefined;
|
|
407
431
|
}, {
|
|
408
432
|
id: string;
|
|
409
433
|
created_at?: string | undefined;
|
|
410
434
|
updated_at?: string | undefined;
|
|
411
435
|
file?: string | undefined;
|
|
412
|
-
height?: number | undefined;
|
|
413
|
-
url?: string | undefined;
|
|
414
|
-
width?: number | undefined;
|
|
415
|
-
content_type?: string | undefined;
|
|
416
|
-
filename?: string | undefined;
|
|
436
|
+
height?: number | null | undefined;
|
|
437
|
+
url?: string | null | undefined;
|
|
438
|
+
width?: number | null | undefined;
|
|
439
|
+
content_type?: string | null | undefined;
|
|
440
|
+
filename?: string | null | undefined;
|
|
417
441
|
image_source?: {
|
|
418
|
-
mime_type?: string | undefined;
|
|
419
|
-
file?: string | undefined;
|
|
420
|
-
height?: number | undefined;
|
|
421
|
-
media?: string | undefined;
|
|
422
|
-
refresh_url?: string | undefined;
|
|
423
|
-
url?: string | undefined;
|
|
424
|
-
width?: number | undefined;
|
|
425
|
-
} | undefined;
|
|
442
|
+
mime_type?: string | null | undefined;
|
|
443
|
+
file?: string | null | undefined;
|
|
444
|
+
height?: number | null | undefined;
|
|
445
|
+
media?: string | null | undefined;
|
|
446
|
+
refresh_url?: string | null | undefined;
|
|
447
|
+
url?: string | null | undefined;
|
|
448
|
+
width?: number | null | undefined;
|
|
449
|
+
} | null | undefined;
|
|
426
450
|
variant_key?: string | undefined;
|
|
427
451
|
}>, "many">>;
|
|
428
|
-
version: z.ZodOptional<z.ZodNumber
|
|
429
|
-
width: z.ZodOptional<z.ZodNumber
|
|
452
|
+
version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
453
|
+
width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
430
454
|
}, "strip", z.ZodTypeAny, {
|
|
431
455
|
type: string;
|
|
432
456
|
id: string;
|
|
433
457
|
object?: Record<string, unknown> | undefined;
|
|
434
|
-
description?: string | undefined;
|
|
435
|
-
name?: string | undefined;
|
|
436
|
-
height?: number | undefined;
|
|
437
|
-
url?: string | undefined;
|
|
438
|
-
width?: number | undefined;
|
|
439
|
-
image_url?: string | undefined;
|
|
440
|
-
title?: string | undefined;
|
|
441
|
-
content_type?: string | undefined;
|
|
442
|
-
filename?: string | undefined;
|
|
458
|
+
description?: string | null | undefined;
|
|
459
|
+
name?: string | null | undefined;
|
|
460
|
+
height?: number | null | undefined;
|
|
461
|
+
url?: string | null | undefined;
|
|
462
|
+
width?: number | null | undefined;
|
|
463
|
+
image_url?: string | null | undefined;
|
|
464
|
+
title?: string | null | undefined;
|
|
465
|
+
content_type?: string | null | undefined;
|
|
466
|
+
filename?: string | null | undefined;
|
|
443
467
|
image_source?: {
|
|
444
|
-
mime_type?: string | undefined;
|
|
445
|
-
file?: string | undefined;
|
|
446
|
-
height?: number | undefined;
|
|
447
|
-
media?: string | undefined;
|
|
448
|
-
refresh_url?: string | undefined;
|
|
449
|
-
url?: string | undefined;
|
|
450
|
-
width?: number | undefined;
|
|
451
|
-
} | undefined;
|
|
452
|
-
image_height?: number | undefined;
|
|
453
|
-
image_width?: number | undefined;
|
|
468
|
+
mime_type?: string | null | undefined;
|
|
469
|
+
file?: string | null | undefined;
|
|
470
|
+
height?: number | null | undefined;
|
|
471
|
+
media?: string | null | undefined;
|
|
472
|
+
refresh_url?: string | null | undefined;
|
|
473
|
+
url?: string | null | undefined;
|
|
474
|
+
width?: number | null | undefined;
|
|
475
|
+
} | null | undefined;
|
|
476
|
+
image_height?: number | null | undefined;
|
|
477
|
+
image_width?: number | null | undefined;
|
|
454
478
|
media_type?: string | undefined;
|
|
455
479
|
variants?: {
|
|
456
480
|
id: string;
|
|
457
481
|
created_at?: string | undefined;
|
|
458
482
|
updated_at?: string | undefined;
|
|
459
483
|
file?: string | undefined;
|
|
460
|
-
height?: number | undefined;
|
|
461
|
-
url?: string | undefined;
|
|
462
|
-
width?: number | undefined;
|
|
463
|
-
content_type?: string | undefined;
|
|
464
|
-
filename?: string | undefined;
|
|
484
|
+
height?: number | null | undefined;
|
|
485
|
+
url?: string | null | undefined;
|
|
486
|
+
width?: number | null | undefined;
|
|
487
|
+
content_type?: string | null | undefined;
|
|
488
|
+
filename?: string | null | undefined;
|
|
465
489
|
image_source?: {
|
|
466
|
-
mime_type?: string | undefined;
|
|
467
|
-
file?: string | undefined;
|
|
468
|
-
height?: number | undefined;
|
|
469
|
-
media?: string | undefined;
|
|
470
|
-
refresh_url?: string | undefined;
|
|
471
|
-
url?: string | undefined;
|
|
472
|
-
width?: number | undefined;
|
|
473
|
-
} | undefined;
|
|
490
|
+
mime_type?: string | null | undefined;
|
|
491
|
+
file?: string | null | undefined;
|
|
492
|
+
height?: number | null | undefined;
|
|
493
|
+
media?: string | null | undefined;
|
|
494
|
+
refresh_url?: string | null | undefined;
|
|
495
|
+
url?: string | null | undefined;
|
|
496
|
+
width?: number | null | undefined;
|
|
497
|
+
} | null | undefined;
|
|
474
498
|
variant_key?: string | undefined;
|
|
475
499
|
}[] | undefined;
|
|
476
|
-
version?: number | undefined;
|
|
500
|
+
version?: number | null | undefined;
|
|
477
501
|
}, {
|
|
478
502
|
type: string;
|
|
479
503
|
id: string;
|
|
480
504
|
object?: Record<string, unknown> | undefined;
|
|
481
|
-
description?: string | undefined;
|
|
482
|
-
name?: string | undefined;
|
|
483
|
-
height?: number | undefined;
|
|
484
|
-
url?: string | undefined;
|
|
485
|
-
width?: number | undefined;
|
|
486
|
-
image_url?: string | undefined;
|
|
487
|
-
title?: string | undefined;
|
|
488
|
-
content_type?: string | undefined;
|
|
489
|
-
filename?: string | undefined;
|
|
505
|
+
description?: string | null | undefined;
|
|
506
|
+
name?: string | null | undefined;
|
|
507
|
+
height?: number | null | undefined;
|
|
508
|
+
url?: string | null | undefined;
|
|
509
|
+
width?: number | null | undefined;
|
|
510
|
+
image_url?: string | null | undefined;
|
|
511
|
+
title?: string | null | undefined;
|
|
512
|
+
content_type?: string | null | undefined;
|
|
513
|
+
filename?: string | null | undefined;
|
|
490
514
|
image_source?: {
|
|
491
|
-
mime_type?: string | undefined;
|
|
492
|
-
file?: string | undefined;
|
|
493
|
-
height?: number | undefined;
|
|
494
|
-
media?: string | undefined;
|
|
495
|
-
refresh_url?: string | undefined;
|
|
496
|
-
url?: string | undefined;
|
|
497
|
-
width?: number | undefined;
|
|
498
|
-
} | undefined;
|
|
499
|
-
image_height?: number | undefined;
|
|
500
|
-
image_width?: number | undefined;
|
|
515
|
+
mime_type?: string | null | undefined;
|
|
516
|
+
file?: string | null | undefined;
|
|
517
|
+
height?: number | null | undefined;
|
|
518
|
+
media?: string | null | undefined;
|
|
519
|
+
refresh_url?: string | null | undefined;
|
|
520
|
+
url?: string | null | undefined;
|
|
521
|
+
width?: number | null | undefined;
|
|
522
|
+
} | null | undefined;
|
|
523
|
+
image_height?: number | null | undefined;
|
|
524
|
+
image_width?: number | null | undefined;
|
|
501
525
|
media_type?: string | undefined;
|
|
502
526
|
variants?: {
|
|
503
527
|
id: string;
|
|
504
528
|
created_at?: string | undefined;
|
|
505
529
|
updated_at?: string | undefined;
|
|
506
530
|
file?: string | undefined;
|
|
507
|
-
height?: number | undefined;
|
|
508
|
-
url?: string | undefined;
|
|
509
|
-
width?: number | undefined;
|
|
510
|
-
content_type?: string | undefined;
|
|
511
|
-
filename?: string | undefined;
|
|
531
|
+
height?: number | null | undefined;
|
|
532
|
+
url?: string | null | undefined;
|
|
533
|
+
width?: number | null | undefined;
|
|
534
|
+
content_type?: string | null | undefined;
|
|
535
|
+
filename?: string | null | undefined;
|
|
512
536
|
image_source?: {
|
|
513
|
-
mime_type?: string | undefined;
|
|
514
|
-
file?: string | undefined;
|
|
515
|
-
height?: number | undefined;
|
|
516
|
-
media?: string | undefined;
|
|
517
|
-
refresh_url?: string | undefined;
|
|
518
|
-
url?: string | undefined;
|
|
519
|
-
width?: number | undefined;
|
|
520
|
-
} | undefined;
|
|
537
|
+
mime_type?: string | null | undefined;
|
|
538
|
+
file?: string | null | undefined;
|
|
539
|
+
height?: number | null | undefined;
|
|
540
|
+
media?: string | null | undefined;
|
|
541
|
+
refresh_url?: string | null | undefined;
|
|
542
|
+
url?: string | null | undefined;
|
|
543
|
+
width?: number | null | undefined;
|
|
544
|
+
} | null | undefined;
|
|
521
545
|
variant_key?: string | undefined;
|
|
522
546
|
}[] | undefined;
|
|
523
|
-
version?: number | undefined;
|
|
547
|
+
version?: number | null | undefined;
|
|
524
548
|
}>, "many">>;
|
|
525
|
-
branched_thread: z.ZodOptional<z.ZodString
|
|
526
|
-
content: z.ZodOptional<z.ZodString
|
|
549
|
+
branched_thread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
550
|
+
content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
527
551
|
created_at: z.ZodOptional<z.ZodString>;
|
|
528
552
|
has_replies: z.ZodOptional<z.ZodBoolean>;
|
|
529
553
|
id: z.ZodString;
|
|
530
|
-
idempotency_key: z.ZodOptional<z.ZodString
|
|
554
|
+
idempotency_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
531
555
|
is_deleted: z.ZodOptional<z.ZodBoolean>;
|
|
532
|
-
legacy_agent: z.ZodOptional<z.ZodString
|
|
556
|
+
legacy_agent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
533
557
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
534
|
-
org: z.ZodOptional<z.ZodString
|
|
558
|
+
org: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
535
559
|
reactions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
536
560
|
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
537
561
|
type: z.ZodString;
|
|
@@ -545,30 +569,110 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
545
569
|
payload?: Record<string, unknown> | undefined;
|
|
546
570
|
user?: string | undefined;
|
|
547
571
|
}>, "many">>;
|
|
548
|
-
rendering_mode: z.ZodOptional<z.ZodString
|
|
572
|
+
rendering_mode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
549
573
|
replies: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
|
|
550
|
-
replies_after_cursor: z.ZodOptional<z.ZodString
|
|
551
|
-
replies_before_cursor: z.ZodOptional<z.ZodString
|
|
574
|
+
replies_after_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
575
|
+
replies_before_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
552
576
|
reply_count: z.ZodOptional<z.ZodNumber>;
|
|
553
|
-
reply_to: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown
|
|
577
|
+
reply_to: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
554
578
|
root_message_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
555
|
-
sandbox: z.ZodOptional<z.ZodString
|
|
556
|
-
team: z.ZodOptional<z.ZodString
|
|
579
|
+
sandbox: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
580
|
+
team: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
557
581
|
thread: z.ZodOptional<z.ZodString>;
|
|
558
|
-
type: z.ZodOptional<z.ZodString
|
|
559
|
-
user: z.ZodOptional<z.ZodString
|
|
582
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
583
|
+
user: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
584
|
+
alias: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
585
|
+
app: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
586
|
+
app_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
587
|
+
created_by_agent_user: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
588
|
+
created_by_developer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
589
|
+
created_by_org: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
590
|
+
created_by_team: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
591
|
+
created_by_user: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
592
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
593
|
+
id: z.ZodString;
|
|
594
|
+
is_system_user: z.ZodOptional<z.ZodBoolean>;
|
|
595
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
596
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
597
|
+
org: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
598
|
+
org_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
599
|
+
org_role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
600
|
+
org_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
601
|
+
sandbox: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
602
|
+
sandbox_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
603
|
+
}, "strip", z.ZodTypeAny, {
|
|
604
|
+
id: string;
|
|
605
|
+
email?: string | null | undefined;
|
|
606
|
+
alias?: string | null | undefined;
|
|
607
|
+
org?: string | null | undefined;
|
|
608
|
+
name?: string | null | undefined;
|
|
609
|
+
app?: string | null | undefined;
|
|
610
|
+
sandbox?: string | null | undefined;
|
|
611
|
+
app_name?: string | null | undefined;
|
|
612
|
+
created_by_agent_user?: string | null | undefined;
|
|
613
|
+
created_by_developer?: string | null | undefined;
|
|
614
|
+
created_by_org?: string | null | undefined;
|
|
615
|
+
created_by_team?: string | null | undefined;
|
|
616
|
+
created_by_user?: string | null | undefined;
|
|
617
|
+
is_system_user?: boolean | undefined;
|
|
618
|
+
metadata?: Record<string, unknown> | undefined;
|
|
619
|
+
org_name?: string | null | undefined;
|
|
620
|
+
org_role?: string | null | undefined;
|
|
621
|
+
org_slug?: string | null | undefined;
|
|
622
|
+
sandbox_name?: string | null | undefined;
|
|
623
|
+
}, {
|
|
624
|
+
id: string;
|
|
625
|
+
email?: string | null | undefined;
|
|
626
|
+
alias?: string | null | undefined;
|
|
627
|
+
org?: string | null | undefined;
|
|
628
|
+
name?: string | null | undefined;
|
|
629
|
+
app?: string | null | undefined;
|
|
630
|
+
sandbox?: string | null | undefined;
|
|
631
|
+
app_name?: string | null | undefined;
|
|
632
|
+
created_by_agent_user?: string | null | undefined;
|
|
633
|
+
created_by_developer?: string | null | undefined;
|
|
634
|
+
created_by_org?: string | null | undefined;
|
|
635
|
+
created_by_team?: string | null | undefined;
|
|
636
|
+
created_by_user?: string | null | undefined;
|
|
637
|
+
is_system_user?: boolean | undefined;
|
|
638
|
+
metadata?: Record<string, unknown> | undefined;
|
|
639
|
+
org_name?: string | null | undefined;
|
|
640
|
+
org_role?: string | null | undefined;
|
|
641
|
+
org_slug?: string | null | undefined;
|
|
642
|
+
sandbox_name?: string | null | undefined;
|
|
643
|
+
}>]>>>;
|
|
560
644
|
visibility: z.ZodOptional<z.ZodEnum<["default", "private"]>>;
|
|
561
645
|
}, "strip", z.ZodTypeAny, {
|
|
562
646
|
id: string;
|
|
563
|
-
content?: string | undefined;
|
|
564
|
-
agent?: string | undefined;
|
|
647
|
+
content?: string | null | undefined;
|
|
648
|
+
agent?: string | null | undefined;
|
|
565
649
|
thread?: string | undefined;
|
|
566
|
-
team?: string | undefined;
|
|
567
|
-
org?: string | undefined;
|
|
568
|
-
type?: string | undefined;
|
|
650
|
+
team?: string | null | undefined;
|
|
651
|
+
org?: string | null | undefined;
|
|
652
|
+
type?: string | null | undefined;
|
|
569
653
|
created_at?: string | undefined;
|
|
570
|
-
user?: string |
|
|
571
|
-
|
|
654
|
+
user?: string | {
|
|
655
|
+
id: string;
|
|
656
|
+
email?: string | null | undefined;
|
|
657
|
+
alias?: string | null | undefined;
|
|
658
|
+
org?: string | null | undefined;
|
|
659
|
+
name?: string | null | undefined;
|
|
660
|
+
app?: string | null | undefined;
|
|
661
|
+
sandbox?: string | null | undefined;
|
|
662
|
+
app_name?: string | null | undefined;
|
|
663
|
+
created_by_agent_user?: string | null | undefined;
|
|
664
|
+
created_by_developer?: string | null | undefined;
|
|
665
|
+
created_by_org?: string | null | undefined;
|
|
666
|
+
created_by_team?: string | null | undefined;
|
|
667
|
+
created_by_user?: string | null | undefined;
|
|
668
|
+
is_system_user?: boolean | undefined;
|
|
669
|
+
metadata?: Record<string, unknown> | undefined;
|
|
670
|
+
org_name?: string | null | undefined;
|
|
671
|
+
org_role?: string | null | undefined;
|
|
672
|
+
org_slug?: string | null | undefined;
|
|
673
|
+
sandbox_name?: string | null | undefined;
|
|
674
|
+
} | null | undefined;
|
|
675
|
+
sandbox?: string | null | undefined;
|
|
572
676
|
metadata?: Record<string, unknown> | undefined;
|
|
573
677
|
acl?: {
|
|
574
678
|
add?: {
|
|
@@ -585,99 +689,119 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
585
689
|
principal_type: string;
|
|
586
690
|
principal?: string | undefined;
|
|
587
691
|
}[] | undefined;
|
|
588
|
-
} | undefined;
|
|
692
|
+
} | null | undefined;
|
|
589
693
|
attachments?: {
|
|
590
694
|
type: string;
|
|
591
695
|
id: string;
|
|
592
696
|
object?: Record<string, unknown> | undefined;
|
|
593
|
-
description?: string | undefined;
|
|
594
|
-
name?: string | undefined;
|
|
595
|
-
height?: number | undefined;
|
|
596
|
-
url?: string | undefined;
|
|
597
|
-
width?: number | undefined;
|
|
598
|
-
image_url?: string | undefined;
|
|
599
|
-
title?: string | undefined;
|
|
600
|
-
content_type?: string | undefined;
|
|
601
|
-
filename?: string | undefined;
|
|
697
|
+
description?: string | null | undefined;
|
|
698
|
+
name?: string | null | undefined;
|
|
699
|
+
height?: number | null | undefined;
|
|
700
|
+
url?: string | null | undefined;
|
|
701
|
+
width?: number | null | undefined;
|
|
702
|
+
image_url?: string | null | undefined;
|
|
703
|
+
title?: string | null | undefined;
|
|
704
|
+
content_type?: string | null | undefined;
|
|
705
|
+
filename?: string | null | undefined;
|
|
602
706
|
image_source?: {
|
|
603
|
-
mime_type?: string | undefined;
|
|
604
|
-
file?: string | undefined;
|
|
605
|
-
height?: number | undefined;
|
|
606
|
-
media?: string | undefined;
|
|
607
|
-
refresh_url?: string | undefined;
|
|
608
|
-
url?: string | undefined;
|
|
609
|
-
width?: number | undefined;
|
|
610
|
-
} | undefined;
|
|
611
|
-
image_height?: number | undefined;
|
|
612
|
-
image_width?: number | undefined;
|
|
707
|
+
mime_type?: string | null | undefined;
|
|
708
|
+
file?: string | null | undefined;
|
|
709
|
+
height?: number | null | undefined;
|
|
710
|
+
media?: string | null | undefined;
|
|
711
|
+
refresh_url?: string | null | undefined;
|
|
712
|
+
url?: string | null | undefined;
|
|
713
|
+
width?: number | null | undefined;
|
|
714
|
+
} | null | undefined;
|
|
715
|
+
image_height?: number | null | undefined;
|
|
716
|
+
image_width?: number | null | undefined;
|
|
613
717
|
media_type?: string | undefined;
|
|
614
718
|
variants?: {
|
|
615
719
|
id: string;
|
|
616
720
|
created_at?: string | undefined;
|
|
617
721
|
updated_at?: string | undefined;
|
|
618
722
|
file?: string | undefined;
|
|
619
|
-
height?: number | undefined;
|
|
620
|
-
url?: string | undefined;
|
|
621
|
-
width?: number | undefined;
|
|
622
|
-
content_type?: string | undefined;
|
|
623
|
-
filename?: string | undefined;
|
|
723
|
+
height?: number | null | undefined;
|
|
724
|
+
url?: string | null | undefined;
|
|
725
|
+
width?: number | null | undefined;
|
|
726
|
+
content_type?: string | null | undefined;
|
|
727
|
+
filename?: string | null | undefined;
|
|
624
728
|
image_source?: {
|
|
625
|
-
mime_type?: string | undefined;
|
|
626
|
-
file?: string | undefined;
|
|
627
|
-
height?: number | undefined;
|
|
628
|
-
media?: string | undefined;
|
|
629
|
-
refresh_url?: string | undefined;
|
|
630
|
-
url?: string | undefined;
|
|
631
|
-
width?: number | undefined;
|
|
632
|
-
} | undefined;
|
|
729
|
+
mime_type?: string | null | undefined;
|
|
730
|
+
file?: string | null | undefined;
|
|
731
|
+
height?: number | null | undefined;
|
|
732
|
+
media?: string | null | undefined;
|
|
733
|
+
refresh_url?: string | null | undefined;
|
|
734
|
+
url?: string | null | undefined;
|
|
735
|
+
width?: number | null | undefined;
|
|
736
|
+
} | null | undefined;
|
|
633
737
|
variant_key?: string | undefined;
|
|
634
738
|
}[] | undefined;
|
|
635
|
-
version?: number | undefined;
|
|
739
|
+
version?: number | null | undefined;
|
|
636
740
|
}[] | undefined;
|
|
637
741
|
visibility?: "default" | "private" | undefined;
|
|
638
742
|
actors?: {
|
|
639
|
-
alias?: string | undefined;
|
|
640
|
-
name?: string | undefined;
|
|
641
|
-
id?: string | undefined;
|
|
743
|
+
alias?: string | null | undefined;
|
|
744
|
+
name?: string | null | undefined;
|
|
745
|
+
id?: string | null | undefined;
|
|
642
746
|
profile_picture?: {
|
|
643
|
-
mime_type?: string | undefined;
|
|
644
|
-
file?: string | undefined;
|
|
645
|
-
height?: number | undefined;
|
|
646
|
-
media?: string | undefined;
|
|
647
|
-
refresh_url?: string | undefined;
|
|
648
|
-
url?: string | undefined;
|
|
649
|
-
width?: number | undefined;
|
|
650
|
-
} | undefined;
|
|
747
|
+
mime_type?: string | null | undefined;
|
|
748
|
+
file?: string | null | undefined;
|
|
749
|
+
height?: number | null | undefined;
|
|
750
|
+
media?: string | null | undefined;
|
|
751
|
+
refresh_url?: string | null | undefined;
|
|
752
|
+
url?: string | null | undefined;
|
|
753
|
+
width?: number | null | undefined;
|
|
754
|
+
} | null | undefined;
|
|
651
755
|
}[] | undefined;
|
|
652
|
-
agent_mode?: "cli" | "embedded" | undefined;
|
|
653
|
-
branched_thread?: string | undefined;
|
|
756
|
+
agent_mode?: "cli" | "embedded" | null | undefined;
|
|
757
|
+
branched_thread?: string | null | undefined;
|
|
654
758
|
has_replies?: boolean | undefined;
|
|
655
|
-
idempotency_key?: string | undefined;
|
|
759
|
+
idempotency_key?: string | null | undefined;
|
|
656
760
|
is_deleted?: boolean | undefined;
|
|
657
|
-
legacy_agent?: string | undefined;
|
|
761
|
+
legacy_agent?: string | null | undefined;
|
|
658
762
|
reactions?: {
|
|
659
763
|
type: string;
|
|
660
764
|
payload?: Record<string, unknown> | undefined;
|
|
661
765
|
user?: string | undefined;
|
|
662
766
|
}[] | undefined;
|
|
663
|
-
rendering_mode?: string | undefined;
|
|
767
|
+
rendering_mode?: string | null | undefined;
|
|
664
768
|
replies?: Record<string, unknown>[] | undefined;
|
|
665
|
-
replies_after_cursor?: string | undefined;
|
|
666
|
-
replies_before_cursor?: string | undefined;
|
|
769
|
+
replies_after_cursor?: string | null | undefined;
|
|
770
|
+
replies_before_cursor?: string | null | undefined;
|
|
667
771
|
reply_count?: number | undefined;
|
|
668
|
-
reply_to?: Record<string, unknown> | undefined;
|
|
772
|
+
reply_to?: Record<string, unknown> | null | undefined;
|
|
669
773
|
root_message_id?: string | null | undefined;
|
|
670
774
|
}, {
|
|
671
775
|
id: string;
|
|
672
|
-
content?: string | undefined;
|
|
673
|
-
agent?: string | undefined;
|
|
776
|
+
content?: string | null | undefined;
|
|
777
|
+
agent?: string | null | undefined;
|
|
674
778
|
thread?: string | undefined;
|
|
675
|
-
team?: string | undefined;
|
|
676
|
-
org?: string | undefined;
|
|
677
|
-
type?: string | undefined;
|
|
779
|
+
team?: string | null | undefined;
|
|
780
|
+
org?: string | null | undefined;
|
|
781
|
+
type?: string | null | undefined;
|
|
678
782
|
created_at?: string | undefined;
|
|
679
|
-
user?: string |
|
|
680
|
-
|
|
783
|
+
user?: string | {
|
|
784
|
+
id: string;
|
|
785
|
+
email?: string | null | undefined;
|
|
786
|
+
alias?: string | null | undefined;
|
|
787
|
+
org?: string | null | undefined;
|
|
788
|
+
name?: string | null | undefined;
|
|
789
|
+
app?: string | null | undefined;
|
|
790
|
+
sandbox?: string | null | undefined;
|
|
791
|
+
app_name?: string | null | undefined;
|
|
792
|
+
created_by_agent_user?: string | null | undefined;
|
|
793
|
+
created_by_developer?: string | null | undefined;
|
|
794
|
+
created_by_org?: string | null | undefined;
|
|
795
|
+
created_by_team?: string | null | undefined;
|
|
796
|
+
created_by_user?: string | null | undefined;
|
|
797
|
+
is_system_user?: boolean | undefined;
|
|
798
|
+
metadata?: Record<string, unknown> | undefined;
|
|
799
|
+
org_name?: string | null | undefined;
|
|
800
|
+
org_role?: string | null | undefined;
|
|
801
|
+
org_slug?: string | null | undefined;
|
|
802
|
+
sandbox_name?: string | null | undefined;
|
|
803
|
+
} | null | undefined;
|
|
804
|
+
sandbox?: string | null | undefined;
|
|
681
805
|
metadata?: Record<string, unknown> | undefined;
|
|
682
806
|
acl?: {
|
|
683
807
|
add?: {
|
|
@@ -694,140 +818,158 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
694
818
|
principal_type: string;
|
|
695
819
|
principal?: string | undefined;
|
|
696
820
|
}[] | undefined;
|
|
697
|
-
} | undefined;
|
|
821
|
+
} | null | undefined;
|
|
698
822
|
attachments?: {
|
|
699
823
|
type: string;
|
|
700
824
|
id: string;
|
|
701
825
|
object?: Record<string, unknown> | undefined;
|
|
702
|
-
description?: string | undefined;
|
|
703
|
-
name?: string | undefined;
|
|
704
|
-
height?: number | undefined;
|
|
705
|
-
url?: string | undefined;
|
|
706
|
-
width?: number | undefined;
|
|
707
|
-
image_url?: string | undefined;
|
|
708
|
-
title?: string | undefined;
|
|
709
|
-
content_type?: string | undefined;
|
|
710
|
-
filename?: string | undefined;
|
|
826
|
+
description?: string | null | undefined;
|
|
827
|
+
name?: string | null | undefined;
|
|
828
|
+
height?: number | null | undefined;
|
|
829
|
+
url?: string | null | undefined;
|
|
830
|
+
width?: number | null | undefined;
|
|
831
|
+
image_url?: string | null | undefined;
|
|
832
|
+
title?: string | null | undefined;
|
|
833
|
+
content_type?: string | null | undefined;
|
|
834
|
+
filename?: string | null | undefined;
|
|
711
835
|
image_source?: {
|
|
712
|
-
mime_type?: string | undefined;
|
|
713
|
-
file?: string | undefined;
|
|
714
|
-
height?: number | undefined;
|
|
715
|
-
media?: string | undefined;
|
|
716
|
-
refresh_url?: string | undefined;
|
|
717
|
-
url?: string | undefined;
|
|
718
|
-
width?: number | undefined;
|
|
719
|
-
} | undefined;
|
|
720
|
-
image_height?: number | undefined;
|
|
721
|
-
image_width?: number | undefined;
|
|
836
|
+
mime_type?: string | null | undefined;
|
|
837
|
+
file?: string | null | undefined;
|
|
838
|
+
height?: number | null | undefined;
|
|
839
|
+
media?: string | null | undefined;
|
|
840
|
+
refresh_url?: string | null | undefined;
|
|
841
|
+
url?: string | null | undefined;
|
|
842
|
+
width?: number | null | undefined;
|
|
843
|
+
} | null | undefined;
|
|
844
|
+
image_height?: number | null | undefined;
|
|
845
|
+
image_width?: number | null | undefined;
|
|
722
846
|
media_type?: string | undefined;
|
|
723
847
|
variants?: {
|
|
724
848
|
id: string;
|
|
725
849
|
created_at?: string | undefined;
|
|
726
850
|
updated_at?: string | undefined;
|
|
727
851
|
file?: string | undefined;
|
|
728
|
-
height?: number | undefined;
|
|
729
|
-
url?: string | undefined;
|
|
730
|
-
width?: number | undefined;
|
|
731
|
-
content_type?: string | undefined;
|
|
732
|
-
filename?: string | undefined;
|
|
852
|
+
height?: number | null | undefined;
|
|
853
|
+
url?: string | null | undefined;
|
|
854
|
+
width?: number | null | undefined;
|
|
855
|
+
content_type?: string | null | undefined;
|
|
856
|
+
filename?: string | null | undefined;
|
|
733
857
|
image_source?: {
|
|
734
|
-
mime_type?: string | undefined;
|
|
735
|
-
file?: string | undefined;
|
|
736
|
-
height?: number | undefined;
|
|
737
|
-
media?: string | undefined;
|
|
738
|
-
refresh_url?: string | undefined;
|
|
739
|
-
url?: string | undefined;
|
|
740
|
-
width?: number | undefined;
|
|
741
|
-
} | undefined;
|
|
858
|
+
mime_type?: string | null | undefined;
|
|
859
|
+
file?: string | null | undefined;
|
|
860
|
+
height?: number | null | undefined;
|
|
861
|
+
media?: string | null | undefined;
|
|
862
|
+
refresh_url?: string | null | undefined;
|
|
863
|
+
url?: string | null | undefined;
|
|
864
|
+
width?: number | null | undefined;
|
|
865
|
+
} | null | undefined;
|
|
742
866
|
variant_key?: string | undefined;
|
|
743
867
|
}[] | undefined;
|
|
744
|
-
version?: number | undefined;
|
|
868
|
+
version?: number | null | undefined;
|
|
745
869
|
}[] | undefined;
|
|
746
870
|
visibility?: "default" | "private" | undefined;
|
|
747
871
|
actors?: {
|
|
748
|
-
alias?: string | undefined;
|
|
749
|
-
name?: string | undefined;
|
|
750
|
-
id?: string | undefined;
|
|
872
|
+
alias?: string | null | undefined;
|
|
873
|
+
name?: string | null | undefined;
|
|
874
|
+
id?: string | null | undefined;
|
|
751
875
|
profile_picture?: {
|
|
752
|
-
mime_type?: string | undefined;
|
|
753
|
-
file?: string | undefined;
|
|
754
|
-
height?: number | undefined;
|
|
755
|
-
media?: string | undefined;
|
|
756
|
-
refresh_url?: string | undefined;
|
|
757
|
-
url?: string | undefined;
|
|
758
|
-
width?: number | undefined;
|
|
759
|
-
} | undefined;
|
|
876
|
+
mime_type?: string | null | undefined;
|
|
877
|
+
file?: string | null | undefined;
|
|
878
|
+
height?: number | null | undefined;
|
|
879
|
+
media?: string | null | undefined;
|
|
880
|
+
refresh_url?: string | null | undefined;
|
|
881
|
+
url?: string | null | undefined;
|
|
882
|
+
width?: number | null | undefined;
|
|
883
|
+
} | null | undefined;
|
|
760
884
|
}[] | undefined;
|
|
761
|
-
agent_mode?: "cli" | "embedded" | undefined;
|
|
762
|
-
branched_thread?: string | undefined;
|
|
885
|
+
agent_mode?: "cli" | "embedded" | null | undefined;
|
|
886
|
+
branched_thread?: string | null | undefined;
|
|
763
887
|
has_replies?: boolean | undefined;
|
|
764
|
-
idempotency_key?: string | undefined;
|
|
888
|
+
idempotency_key?: string | null | undefined;
|
|
765
889
|
is_deleted?: boolean | undefined;
|
|
766
|
-
legacy_agent?: string | undefined;
|
|
890
|
+
legacy_agent?: string | null | undefined;
|
|
767
891
|
reactions?: {
|
|
768
892
|
type: string;
|
|
769
893
|
payload?: Record<string, unknown> | undefined;
|
|
770
894
|
user?: string | undefined;
|
|
771
895
|
}[] | undefined;
|
|
772
|
-
rendering_mode?: string | undefined;
|
|
896
|
+
rendering_mode?: string | null | undefined;
|
|
773
897
|
replies?: Record<string, unknown>[] | undefined;
|
|
774
|
-
replies_after_cursor?: string | undefined;
|
|
775
|
-
replies_before_cursor?: string | undefined;
|
|
898
|
+
replies_after_cursor?: string | null | undefined;
|
|
899
|
+
replies_before_cursor?: string | null | undefined;
|
|
776
900
|
reply_count?: number | undefined;
|
|
777
|
-
reply_to?: Record<string, unknown> | undefined;
|
|
901
|
+
reply_to?: Record<string, unknown> | null | undefined;
|
|
778
902
|
root_message_id?: string | null | undefined;
|
|
779
|
-
}
|
|
903
|
+
}>>>;
|
|
780
904
|
/** Array of participant user IDs (`usr_...`) who are members of this thread. */
|
|
781
905
|
participant: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
782
906
|
/** Expanded participant user objects for each member of this thread. Populated only when the association is loaded. */
|
|
783
907
|
participants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
784
|
-
alias: z.ZodOptional<z.ZodString
|
|
785
|
-
app: z.ZodOptional<z.ZodString
|
|
786
|
-
app_name: z.ZodOptional<z.ZodString
|
|
787
|
-
|
|
908
|
+
alias: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
909
|
+
app: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
910
|
+
app_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
911
|
+
created_by_agent_user: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
912
|
+
created_by_developer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
913
|
+
created_by_org: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
914
|
+
created_by_team: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
915
|
+
created_by_user: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
916
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
788
917
|
id: z.ZodString;
|
|
789
918
|
is_system_user: z.ZodOptional<z.ZodBoolean>;
|
|
790
919
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
791
|
-
name: z.ZodOptional<z.ZodString
|
|
792
|
-
org: z.ZodOptional<z.ZodString
|
|
793
|
-
org_name: z.ZodOptional<z.ZodString
|
|
794
|
-
org_role: z.ZodOptional<z.ZodString
|
|
795
|
-
|
|
796
|
-
|
|
920
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
921
|
+
org: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
922
|
+
org_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
923
|
+
org_role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
924
|
+
org_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
925
|
+
sandbox: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
926
|
+
sandbox_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
797
927
|
}, "strip", z.ZodTypeAny, {
|
|
798
928
|
id: string;
|
|
799
|
-
email?: string | undefined;
|
|
800
|
-
alias?: string | undefined;
|
|
801
|
-
org?: string | undefined;
|
|
802
|
-
name?: string | undefined;
|
|
803
|
-
app?: string | undefined;
|
|
804
|
-
sandbox?: string | undefined;
|
|
805
|
-
app_name?: string | undefined;
|
|
929
|
+
email?: string | null | undefined;
|
|
930
|
+
alias?: string | null | undefined;
|
|
931
|
+
org?: string | null | undefined;
|
|
932
|
+
name?: string | null | undefined;
|
|
933
|
+
app?: string | null | undefined;
|
|
934
|
+
sandbox?: string | null | undefined;
|
|
935
|
+
app_name?: string | null | undefined;
|
|
936
|
+
created_by_agent_user?: string | null | undefined;
|
|
937
|
+
created_by_developer?: string | null | undefined;
|
|
938
|
+
created_by_org?: string | null | undefined;
|
|
939
|
+
created_by_team?: string | null | undefined;
|
|
940
|
+
created_by_user?: string | null | undefined;
|
|
806
941
|
is_system_user?: boolean | undefined;
|
|
807
942
|
metadata?: Record<string, unknown> | undefined;
|
|
808
|
-
org_name?: string | undefined;
|
|
809
|
-
org_role?: string | undefined;
|
|
810
|
-
|
|
943
|
+
org_name?: string | null | undefined;
|
|
944
|
+
org_role?: string | null | undefined;
|
|
945
|
+
org_slug?: string | null | undefined;
|
|
946
|
+
sandbox_name?: string | null | undefined;
|
|
811
947
|
}, {
|
|
812
948
|
id: string;
|
|
813
|
-
email?: string | undefined;
|
|
814
|
-
alias?: string | undefined;
|
|
815
|
-
org?: string | undefined;
|
|
816
|
-
name?: string | undefined;
|
|
817
|
-
app?: string | undefined;
|
|
818
|
-
sandbox?: string | undefined;
|
|
819
|
-
app_name?: string | undefined;
|
|
949
|
+
email?: string | null | undefined;
|
|
950
|
+
alias?: string | null | undefined;
|
|
951
|
+
org?: string | null | undefined;
|
|
952
|
+
name?: string | null | undefined;
|
|
953
|
+
app?: string | null | undefined;
|
|
954
|
+
sandbox?: string | null | undefined;
|
|
955
|
+
app_name?: string | null | undefined;
|
|
956
|
+
created_by_agent_user?: string | null | undefined;
|
|
957
|
+
created_by_developer?: string | null | undefined;
|
|
958
|
+
created_by_org?: string | null | undefined;
|
|
959
|
+
created_by_team?: string | null | undefined;
|
|
960
|
+
created_by_user?: string | null | undefined;
|
|
820
961
|
is_system_user?: boolean | undefined;
|
|
821
962
|
metadata?: Record<string, unknown> | undefined;
|
|
822
|
-
org_name?: string | undefined;
|
|
823
|
-
org_role?: string | undefined;
|
|
824
|
-
|
|
963
|
+
org_name?: string | null | undefined;
|
|
964
|
+
org_role?: string | null | undefined;
|
|
965
|
+
org_slug?: string | null | undefined;
|
|
966
|
+
sandbox_name?: string | null | undefined;
|
|
825
967
|
}>, "many">>;
|
|
826
968
|
/** Composite actor identifiers for all participants currently active in this thread. Present only when actor enrichment is requested. */
|
|
827
969
|
participating_actor: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
828
970
|
/** Expanded agent objects for all agents participating in this thread. Present only when agent enrichment is requested. */
|
|
829
|
-
participating_agents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
830
|
-
acl: z.ZodOptional<z.ZodObject<{
|
|
971
|
+
participating_agents: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
972
|
+
acl: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
831
973
|
add: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
832
974
|
actions: z.ZodArray<z.ZodString, "many">;
|
|
833
975
|
principal: z.ZodOptional<z.ZodString>;
|
|
@@ -894,80 +1036,80 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
894
1036
|
principal_type: string;
|
|
895
1037
|
principal?: string | undefined;
|
|
896
1038
|
}[] | undefined;
|
|
897
|
-
}
|
|
1039
|
+
}>>>;
|
|
898
1040
|
app: z.ZodOptional<z.ZodString>;
|
|
899
1041
|
created_at: z.ZodOptional<z.ZodString>;
|
|
900
|
-
default_model: z.ZodOptional<z.ZodString
|
|
901
|
-
description: z.ZodOptional<z.ZodString
|
|
902
|
-
email: z.ZodOptional<z.ZodString
|
|
1042
|
+
default_model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1043
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1044
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
903
1045
|
id: z.ZodString;
|
|
904
|
-
identity: z.ZodOptional<z.ZodString
|
|
905
|
-
last_applied_template_config: z.ZodOptional<z.ZodString
|
|
906
|
-
lookup_key: z.ZodOptional<z.ZodString
|
|
1046
|
+
identity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1047
|
+
last_applied_template_config: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1048
|
+
lookup_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
907
1049
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
908
1050
|
name: z.ZodOptional<z.ZodString>;
|
|
909
|
-
org: z.ZodOptional<z.ZodString
|
|
910
|
-
org_name: z.ZodOptional<z.ZodString
|
|
911
|
-
originator: z.ZodOptional<z.ZodString
|
|
912
|
-
phone_number: z.ZodOptional<z.ZodString
|
|
913
|
-
sandbox: z.ZodOptional<z.ZodString
|
|
914
|
-
source_solution: z.ZodOptional<z.ZodObject<{
|
|
1051
|
+
org: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1052
|
+
org_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1053
|
+
originator: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1054
|
+
phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1055
|
+
sandbox: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1056
|
+
source_solution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
915
1057
|
current_solution: z.ZodOptional<z.ZodObject<{
|
|
916
1058
|
category_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
917
1059
|
created_at: z.ZodOptional<z.ZodString>;
|
|
918
|
-
description: z.ZodOptional<z.ZodString
|
|
1060
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
919
1061
|
events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
920
1062
|
id: z.ZodString;
|
|
921
|
-
image_url: z.ZodOptional<z.ZodString
|
|
1063
|
+
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
922
1064
|
kind: z.ZodString;
|
|
923
|
-
latest_solution: z.ZodOptional<z.ZodString
|
|
924
|
-
latest_version: z.ZodOptional<z.ZodString
|
|
925
|
-
lookup_key: z.ZodOptional<z.ZodString
|
|
1065
|
+
latest_solution: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1066
|
+
latest_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1067
|
+
lookup_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
926
1068
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
927
|
-
name: z.ZodOptional<z.ZodString
|
|
928
|
-
org: z.ZodOptional<z.ZodString
|
|
929
|
-
org_logo: z.ZodOptional<z.ZodObject<{
|
|
930
|
-
file: z.ZodOptional<z.ZodString
|
|
931
|
-
height: z.ZodOptional<z.ZodNumber
|
|
932
|
-
media: z.ZodOptional<z.ZodString
|
|
933
|
-
mime_type: z.ZodOptional<z.ZodString
|
|
934
|
-
refresh_url: z.ZodOptional<z.ZodString
|
|
935
|
-
url: z.ZodOptional<z.ZodString
|
|
936
|
-
width: z.ZodOptional<z.ZodNumber
|
|
1069
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1070
|
+
org: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1071
|
+
org_logo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1072
|
+
file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1073
|
+
height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1074
|
+
media: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1075
|
+
mime_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1076
|
+
refresh_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1077
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1078
|
+
width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
937
1079
|
}, "strip", z.ZodTypeAny, {
|
|
938
|
-
mime_type?: string | undefined;
|
|
939
|
-
file?: string | undefined;
|
|
940
|
-
height?: number | undefined;
|
|
941
|
-
media?: string | undefined;
|
|
942
|
-
refresh_url?: string | undefined;
|
|
943
|
-
url?: string | undefined;
|
|
944
|
-
width?: number | undefined;
|
|
1080
|
+
mime_type?: string | null | undefined;
|
|
1081
|
+
file?: string | null | undefined;
|
|
1082
|
+
height?: number | null | undefined;
|
|
1083
|
+
media?: string | null | undefined;
|
|
1084
|
+
refresh_url?: string | null | undefined;
|
|
1085
|
+
url?: string | null | undefined;
|
|
1086
|
+
width?: number | null | undefined;
|
|
945
1087
|
}, {
|
|
946
|
-
mime_type?: string | undefined;
|
|
947
|
-
file?: string | undefined;
|
|
948
|
-
height?: number | undefined;
|
|
949
|
-
media?: string | undefined;
|
|
950
|
-
refresh_url?: string | undefined;
|
|
951
|
-
url?: string | undefined;
|
|
952
|
-
width?: number | undefined;
|
|
953
|
-
}
|
|
954
|
-
org_name: z.ZodOptional<z.ZodString
|
|
955
|
-
org_slug: z.ZodOptional<z.ZodString
|
|
1088
|
+
mime_type?: string | null | undefined;
|
|
1089
|
+
file?: string | null | undefined;
|
|
1090
|
+
height?: number | null | undefined;
|
|
1091
|
+
media?: string | null | undefined;
|
|
1092
|
+
refresh_url?: string | null | undefined;
|
|
1093
|
+
url?: string | null | undefined;
|
|
1094
|
+
width?: number | null | undefined;
|
|
1095
|
+
}>>>;
|
|
1096
|
+
org_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1097
|
+
org_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
956
1098
|
owners: z.ZodArray<z.ZodString, "many">;
|
|
957
|
-
readme_url: z.ZodOptional<z.ZodString
|
|
1099
|
+
readme_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
958
1100
|
screenshot_urls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
959
|
-
solution_id: z.ZodOptional<z.ZodString
|
|
960
|
-
solution_version: z.ZodOptional<z.ZodString
|
|
1101
|
+
solution_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1102
|
+
solution_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
961
1103
|
tag_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
962
|
-
template_kind: z.ZodOptional<z.ZodString
|
|
1104
|
+
template_kind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
963
1105
|
templates: z.ZodArray<z.ZodObject<{
|
|
964
|
-
description: z.ZodOptional<z.ZodString
|
|
965
|
-
details: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
966
|
-
automation_type: z.ZodOptional<z.ZodString
|
|
967
|
-
invoke_contract: z.ZodOptional<z.ZodObject<{
|
|
968
|
-
input_schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown
|
|
969
|
-
participants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
970
|
-
description: z.ZodOptional<z.ZodString
|
|
1106
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1107
|
+
details: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1108
|
+
automation_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1109
|
+
invoke_contract: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1110
|
+
input_schema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1111
|
+
participants: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1112
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
971
1113
|
name: z.ZodString;
|
|
972
1114
|
required: z.ZodBoolean;
|
|
973
1115
|
type: z.ZodString;
|
|
@@ -975,13 +1117,13 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
975
1117
|
name: string;
|
|
976
1118
|
required: boolean;
|
|
977
1119
|
type: string;
|
|
978
|
-
description?: string | undefined;
|
|
1120
|
+
description?: string | null | undefined;
|
|
979
1121
|
}, {
|
|
980
1122
|
name: string;
|
|
981
1123
|
required: boolean;
|
|
982
1124
|
type: string;
|
|
983
|
-
description?: string | undefined;
|
|
984
|
-
}>, "many"
|
|
1125
|
+
description?: string | null | undefined;
|
|
1126
|
+
}>, "many">>>;
|
|
985
1127
|
prefills: z.ZodObject<{
|
|
986
1128
|
participants: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
987
1129
|
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -1001,9 +1143,9 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1001
1143
|
name: string;
|
|
1002
1144
|
required: boolean;
|
|
1003
1145
|
type: string;
|
|
1004
|
-
description?: string | undefined;
|
|
1005
|
-
}[] | undefined;
|
|
1006
|
-
input_schema?: Record<string, unknown> | undefined;
|
|
1146
|
+
description?: string | null | undefined;
|
|
1147
|
+
}[] | null | undefined;
|
|
1148
|
+
input_schema?: Record<string, unknown> | null | undefined;
|
|
1007
1149
|
}, {
|
|
1008
1150
|
prefills: {
|
|
1009
1151
|
participants?: Record<string, unknown> | undefined;
|
|
@@ -1013,14 +1155,14 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1013
1155
|
name: string;
|
|
1014
1156
|
required: boolean;
|
|
1015
1157
|
type: string;
|
|
1016
|
-
description?: string | undefined;
|
|
1017
|
-
}[] | undefined;
|
|
1018
|
-
input_schema?: Record<string, unknown> | undefined;
|
|
1019
|
-
}
|
|
1158
|
+
description?: string | null | undefined;
|
|
1159
|
+
}[] | null | undefined;
|
|
1160
|
+
input_schema?: Record<string, unknown> | null | undefined;
|
|
1161
|
+
}>>>;
|
|
1020
1162
|
type: z.ZodLiteral<"automation">;
|
|
1021
1163
|
}, "strip", z.ZodTypeAny, {
|
|
1022
1164
|
type: "automation";
|
|
1023
|
-
automation_type?: string | undefined;
|
|
1165
|
+
automation_type?: string | null | undefined;
|
|
1024
1166
|
invoke_contract?: {
|
|
1025
1167
|
prefills: {
|
|
1026
1168
|
participants?: Record<string, unknown> | undefined;
|
|
@@ -1030,13 +1172,13 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1030
1172
|
name: string;
|
|
1031
1173
|
required: boolean;
|
|
1032
1174
|
type: string;
|
|
1033
|
-
description?: string | undefined;
|
|
1034
|
-
}[] | undefined;
|
|
1035
|
-
input_schema?: Record<string, unknown> | undefined;
|
|
1036
|
-
} | undefined;
|
|
1175
|
+
description?: string | null | undefined;
|
|
1176
|
+
}[] | null | undefined;
|
|
1177
|
+
input_schema?: Record<string, unknown> | null | undefined;
|
|
1178
|
+
} | null | undefined;
|
|
1037
1179
|
}, {
|
|
1038
1180
|
type: "automation";
|
|
1039
|
-
automation_type?: string | undefined;
|
|
1181
|
+
automation_type?: string | null | undefined;
|
|
1040
1182
|
invoke_contract?: {
|
|
1041
1183
|
prefills: {
|
|
1042
1184
|
participants?: Record<string, unknown> | undefined;
|
|
@@ -1046,29 +1188,29 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1046
1188
|
name: string;
|
|
1047
1189
|
required: boolean;
|
|
1048
1190
|
type: string;
|
|
1049
|
-
description?: string | undefined;
|
|
1050
|
-
}[] | undefined;
|
|
1051
|
-
input_schema?: Record<string, unknown> | undefined;
|
|
1052
|
-
} | undefined;
|
|
1053
|
-
}>]
|
|
1054
|
-
display_name: z.ZodOptional<z.ZodString
|
|
1055
|
-
id: z.ZodOptional<z.ZodString
|
|
1191
|
+
description?: string | null | undefined;
|
|
1192
|
+
}[] | null | undefined;
|
|
1193
|
+
input_schema?: Record<string, unknown> | null | undefined;
|
|
1194
|
+
} | null | undefined;
|
|
1195
|
+
}>]>>>;
|
|
1196
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1197
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1056
1198
|
kind: z.ZodString;
|
|
1057
|
-
lookup_key: z.ZodOptional<z.ZodString
|
|
1058
|
-
name: z.ZodOptional<z.ZodString
|
|
1059
|
-
readme_url: z.ZodOptional<z.ZodString
|
|
1060
|
-
virtual_path: z.ZodOptional<z.ZodString
|
|
1199
|
+
lookup_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1200
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1201
|
+
readme_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1202
|
+
virtual_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1061
1203
|
}, "strip", z.ZodTypeAny, {
|
|
1062
1204
|
kind: string;
|
|
1063
|
-
description?: string | undefined;
|
|
1064
|
-
name?: string | undefined;
|
|
1065
|
-
id?: string | undefined;
|
|
1066
|
-
lookup_key?: string | undefined;
|
|
1067
|
-
virtual_path?: string | undefined;
|
|
1068
|
-
readme_url?: string | undefined;
|
|
1205
|
+
description?: string | null | undefined;
|
|
1206
|
+
name?: string | null | undefined;
|
|
1207
|
+
id?: string | null | undefined;
|
|
1208
|
+
lookup_key?: string | null | undefined;
|
|
1209
|
+
virtual_path?: string | null | undefined;
|
|
1210
|
+
readme_url?: string | null | undefined;
|
|
1069
1211
|
details?: {
|
|
1070
1212
|
type: "automation";
|
|
1071
|
-
automation_type?: string | undefined;
|
|
1213
|
+
automation_type?: string | null | undefined;
|
|
1072
1214
|
invoke_contract?: {
|
|
1073
1215
|
prefills: {
|
|
1074
1216
|
participants?: Record<string, unknown> | undefined;
|
|
@@ -1078,23 +1220,23 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1078
1220
|
name: string;
|
|
1079
1221
|
required: boolean;
|
|
1080
1222
|
type: string;
|
|
1081
|
-
description?: string | undefined;
|
|
1082
|
-
}[] | undefined;
|
|
1083
|
-
input_schema?: Record<string, unknown> | undefined;
|
|
1084
|
-
} | undefined;
|
|
1085
|
-
} | undefined;
|
|
1086
|
-
display_name?: string | undefined;
|
|
1223
|
+
description?: string | null | undefined;
|
|
1224
|
+
}[] | null | undefined;
|
|
1225
|
+
input_schema?: Record<string, unknown> | null | undefined;
|
|
1226
|
+
} | null | undefined;
|
|
1227
|
+
} | null | undefined;
|
|
1228
|
+
display_name?: string | null | undefined;
|
|
1087
1229
|
}, {
|
|
1088
1230
|
kind: string;
|
|
1089
|
-
description?: string | undefined;
|
|
1090
|
-
name?: string | undefined;
|
|
1091
|
-
id?: string | undefined;
|
|
1092
|
-
lookup_key?: string | undefined;
|
|
1093
|
-
virtual_path?: string | undefined;
|
|
1094
|
-
readme_url?: string | undefined;
|
|
1231
|
+
description?: string | null | undefined;
|
|
1232
|
+
name?: string | null | undefined;
|
|
1233
|
+
id?: string | null | undefined;
|
|
1234
|
+
lookup_key?: string | null | undefined;
|
|
1235
|
+
virtual_path?: string | null | undefined;
|
|
1236
|
+
readme_url?: string | null | undefined;
|
|
1095
1237
|
details?: {
|
|
1096
1238
|
type: "automation";
|
|
1097
|
-
automation_type?: string | undefined;
|
|
1239
|
+
automation_type?: string | null | undefined;
|
|
1098
1240
|
invoke_contract?: {
|
|
1099
1241
|
prefills: {
|
|
1100
1242
|
participants?: Record<string, unknown> | undefined;
|
|
@@ -1104,31 +1246,31 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1104
1246
|
name: string;
|
|
1105
1247
|
required: boolean;
|
|
1106
1248
|
type: string;
|
|
1107
|
-
description?: string | undefined;
|
|
1108
|
-
}[] | undefined;
|
|
1109
|
-
input_schema?: Record<string, unknown> | undefined;
|
|
1110
|
-
} | undefined;
|
|
1111
|
-
} | undefined;
|
|
1112
|
-
display_name?: string | undefined;
|
|
1249
|
+
description?: string | null | undefined;
|
|
1250
|
+
}[] | null | undefined;
|
|
1251
|
+
input_schema?: Record<string, unknown> | null | undefined;
|
|
1252
|
+
} | null | undefined;
|
|
1253
|
+
} | null | undefined;
|
|
1254
|
+
display_name?: string | null | undefined;
|
|
1113
1255
|
}>, "many">;
|
|
1114
1256
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
1115
1257
|
upgrade_available: z.ZodBoolean;
|
|
1116
|
-
virtual_path: z.ZodOptional<z.ZodString
|
|
1258
|
+
virtual_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1117
1259
|
}, "strip", z.ZodTypeAny, {
|
|
1118
1260
|
kind: string;
|
|
1119
1261
|
id: string;
|
|
1120
1262
|
owners: string[];
|
|
1121
1263
|
templates: {
|
|
1122
1264
|
kind: string;
|
|
1123
|
-
description?: string | undefined;
|
|
1124
|
-
name?: string | undefined;
|
|
1125
|
-
id?: string | undefined;
|
|
1126
|
-
lookup_key?: string | undefined;
|
|
1127
|
-
virtual_path?: string | undefined;
|
|
1128
|
-
readme_url?: string | undefined;
|
|
1265
|
+
description?: string | null | undefined;
|
|
1266
|
+
name?: string | null | undefined;
|
|
1267
|
+
id?: string | null | undefined;
|
|
1268
|
+
lookup_key?: string | null | undefined;
|
|
1269
|
+
virtual_path?: string | null | undefined;
|
|
1270
|
+
readme_url?: string | null | undefined;
|
|
1129
1271
|
details?: {
|
|
1130
1272
|
type: "automation";
|
|
1131
|
-
automation_type?: string | undefined;
|
|
1273
|
+
automation_type?: string | null | undefined;
|
|
1132
1274
|
invoke_contract?: {
|
|
1133
1275
|
prefills: {
|
|
1134
1276
|
participants?: Record<string, unknown> | undefined;
|
|
@@ -1138,59 +1280,59 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1138
1280
|
name: string;
|
|
1139
1281
|
required: boolean;
|
|
1140
1282
|
type: string;
|
|
1141
|
-
description?: string | undefined;
|
|
1142
|
-
}[] | undefined;
|
|
1143
|
-
input_schema?: Record<string, unknown> | undefined;
|
|
1144
|
-
} | undefined;
|
|
1145
|
-
} | undefined;
|
|
1146
|
-
display_name?: string | undefined;
|
|
1283
|
+
description?: string | null | undefined;
|
|
1284
|
+
}[] | null | undefined;
|
|
1285
|
+
input_schema?: Record<string, unknown> | null | undefined;
|
|
1286
|
+
} | null | undefined;
|
|
1287
|
+
} | null | undefined;
|
|
1288
|
+
display_name?: string | null | undefined;
|
|
1147
1289
|
}[];
|
|
1148
1290
|
upgrade_available: boolean;
|
|
1149
|
-
org?: string | undefined;
|
|
1150
|
-
description?: string | undefined;
|
|
1151
|
-
name?: string | undefined;
|
|
1291
|
+
org?: string | null | undefined;
|
|
1292
|
+
description?: string | null | undefined;
|
|
1293
|
+
name?: string | null | undefined;
|
|
1152
1294
|
created_at?: string | undefined;
|
|
1153
1295
|
updated_at?: string | undefined;
|
|
1154
|
-
lookup_key?: string | undefined;
|
|
1155
|
-
virtual_path?: string | undefined;
|
|
1296
|
+
lookup_key?: string | null | undefined;
|
|
1297
|
+
virtual_path?: string | null | undefined;
|
|
1156
1298
|
metadata?: Record<string, unknown> | undefined;
|
|
1157
|
-
org_name?: string | undefined;
|
|
1299
|
+
org_name?: string | null | undefined;
|
|
1300
|
+
org_slug?: string | null | undefined;
|
|
1158
1301
|
category_keys?: string[] | undefined;
|
|
1159
1302
|
events?: Record<string, unknown> | undefined;
|
|
1160
|
-
image_url?: string | undefined;
|
|
1161
|
-
latest_solution?: string | undefined;
|
|
1162
|
-
latest_version?: string | undefined;
|
|
1303
|
+
image_url?: string | null | undefined;
|
|
1304
|
+
latest_solution?: string | null | undefined;
|
|
1305
|
+
latest_version?: string | null | undefined;
|
|
1163
1306
|
org_logo?: {
|
|
1164
|
-
mime_type?: string | undefined;
|
|
1165
|
-
file?: string | undefined;
|
|
1166
|
-
height?: number | undefined;
|
|
1167
|
-
media?: string | undefined;
|
|
1168
|
-
refresh_url?: string | undefined;
|
|
1169
|
-
url?: string | undefined;
|
|
1170
|
-
width?: number | undefined;
|
|
1171
|
-
} | undefined;
|
|
1172
|
-
|
|
1173
|
-
readme_url?: string | undefined;
|
|
1307
|
+
mime_type?: string | null | undefined;
|
|
1308
|
+
file?: string | null | undefined;
|
|
1309
|
+
height?: number | null | undefined;
|
|
1310
|
+
media?: string | null | undefined;
|
|
1311
|
+
refresh_url?: string | null | undefined;
|
|
1312
|
+
url?: string | null | undefined;
|
|
1313
|
+
width?: number | null | undefined;
|
|
1314
|
+
} | null | undefined;
|
|
1315
|
+
readme_url?: string | null | undefined;
|
|
1174
1316
|
screenshot_urls?: string[] | undefined;
|
|
1175
|
-
solution_id?: string | undefined;
|
|
1176
|
-
solution_version?: string | undefined;
|
|
1317
|
+
solution_id?: string | null | undefined;
|
|
1318
|
+
solution_version?: string | null | undefined;
|
|
1177
1319
|
tag_keys?: string[] | undefined;
|
|
1178
|
-
template_kind?: string | undefined;
|
|
1320
|
+
template_kind?: string | null | undefined;
|
|
1179
1321
|
}, {
|
|
1180
1322
|
kind: string;
|
|
1181
1323
|
id: string;
|
|
1182
1324
|
owners: string[];
|
|
1183
1325
|
templates: {
|
|
1184
1326
|
kind: string;
|
|
1185
|
-
description?: string | undefined;
|
|
1186
|
-
name?: string | undefined;
|
|
1187
|
-
id?: string | undefined;
|
|
1188
|
-
lookup_key?: string | undefined;
|
|
1189
|
-
virtual_path?: string | undefined;
|
|
1190
|
-
readme_url?: string | undefined;
|
|
1327
|
+
description?: string | null | undefined;
|
|
1328
|
+
name?: string | null | undefined;
|
|
1329
|
+
id?: string | null | undefined;
|
|
1330
|
+
lookup_key?: string | null | undefined;
|
|
1331
|
+
virtual_path?: string | null | undefined;
|
|
1332
|
+
readme_url?: string | null | undefined;
|
|
1191
1333
|
details?: {
|
|
1192
1334
|
type: "automation";
|
|
1193
|
-
automation_type?: string | undefined;
|
|
1335
|
+
automation_type?: string | null | undefined;
|
|
1194
1336
|
invoke_contract?: {
|
|
1195
1337
|
prefills: {
|
|
1196
1338
|
participants?: Record<string, unknown> | undefined;
|
|
@@ -1200,101 +1342,101 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1200
1342
|
name: string;
|
|
1201
1343
|
required: boolean;
|
|
1202
1344
|
type: string;
|
|
1203
|
-
description?: string | undefined;
|
|
1204
|
-
}[] | undefined;
|
|
1205
|
-
input_schema?: Record<string, unknown> | undefined;
|
|
1206
|
-
} | undefined;
|
|
1207
|
-
} | undefined;
|
|
1208
|
-
display_name?: string | undefined;
|
|
1345
|
+
description?: string | null | undefined;
|
|
1346
|
+
}[] | null | undefined;
|
|
1347
|
+
input_schema?: Record<string, unknown> | null | undefined;
|
|
1348
|
+
} | null | undefined;
|
|
1349
|
+
} | null | undefined;
|
|
1350
|
+
display_name?: string | null | undefined;
|
|
1209
1351
|
}[];
|
|
1210
1352
|
upgrade_available: boolean;
|
|
1211
|
-
org?: string | undefined;
|
|
1212
|
-
description?: string | undefined;
|
|
1213
|
-
name?: string | undefined;
|
|
1353
|
+
org?: string | null | undefined;
|
|
1354
|
+
description?: string | null | undefined;
|
|
1355
|
+
name?: string | null | undefined;
|
|
1214
1356
|
created_at?: string | undefined;
|
|
1215
1357
|
updated_at?: string | undefined;
|
|
1216
|
-
lookup_key?: string | undefined;
|
|
1217
|
-
virtual_path?: string | undefined;
|
|
1358
|
+
lookup_key?: string | null | undefined;
|
|
1359
|
+
virtual_path?: string | null | undefined;
|
|
1218
1360
|
metadata?: Record<string, unknown> | undefined;
|
|
1219
|
-
org_name?: string | undefined;
|
|
1361
|
+
org_name?: string | null | undefined;
|
|
1362
|
+
org_slug?: string | null | undefined;
|
|
1220
1363
|
category_keys?: string[] | undefined;
|
|
1221
1364
|
events?: Record<string, unknown> | undefined;
|
|
1222
|
-
image_url?: string | undefined;
|
|
1223
|
-
latest_solution?: string | undefined;
|
|
1224
|
-
latest_version?: string | undefined;
|
|
1365
|
+
image_url?: string | null | undefined;
|
|
1366
|
+
latest_solution?: string | null | undefined;
|
|
1367
|
+
latest_version?: string | null | undefined;
|
|
1225
1368
|
org_logo?: {
|
|
1226
|
-
mime_type?: string | undefined;
|
|
1227
|
-
file?: string | undefined;
|
|
1228
|
-
height?: number | undefined;
|
|
1229
|
-
media?: string | undefined;
|
|
1230
|
-
refresh_url?: string | undefined;
|
|
1231
|
-
url?: string | undefined;
|
|
1232
|
-
width?: number | undefined;
|
|
1233
|
-
} | undefined;
|
|
1234
|
-
|
|
1235
|
-
readme_url?: string | undefined;
|
|
1369
|
+
mime_type?: string | null | undefined;
|
|
1370
|
+
file?: string | null | undefined;
|
|
1371
|
+
height?: number | null | undefined;
|
|
1372
|
+
media?: string | null | undefined;
|
|
1373
|
+
refresh_url?: string | null | undefined;
|
|
1374
|
+
url?: string | null | undefined;
|
|
1375
|
+
width?: number | null | undefined;
|
|
1376
|
+
} | null | undefined;
|
|
1377
|
+
readme_url?: string | null | undefined;
|
|
1236
1378
|
screenshot_urls?: string[] | undefined;
|
|
1237
|
-
solution_id?: string | undefined;
|
|
1238
|
-
solution_version?: string | undefined;
|
|
1379
|
+
solution_id?: string | null | undefined;
|
|
1380
|
+
solution_version?: string | null | undefined;
|
|
1239
1381
|
tag_keys?: string[] | undefined;
|
|
1240
|
-
template_kind?: string | undefined;
|
|
1382
|
+
template_kind?: string | null | undefined;
|
|
1241
1383
|
}>>;
|
|
1242
1384
|
solution: z.ZodObject<{
|
|
1243
1385
|
category_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1244
1386
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1245
|
-
description: z.ZodOptional<z.ZodString
|
|
1387
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1246
1388
|
events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1247
1389
|
id: z.ZodString;
|
|
1248
|
-
image_url: z.ZodOptional<z.ZodString
|
|
1390
|
+
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1249
1391
|
kind: z.ZodString;
|
|
1250
|
-
latest_solution: z.ZodOptional<z.ZodString
|
|
1251
|
-
latest_version: z.ZodOptional<z.ZodString
|
|
1252
|
-
lookup_key: z.ZodOptional<z.ZodString
|
|
1392
|
+
latest_solution: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1393
|
+
latest_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1394
|
+
lookup_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1253
1395
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1254
|
-
name: z.ZodOptional<z.ZodString
|
|
1255
|
-
org: z.ZodOptional<z.ZodString
|
|
1256
|
-
org_logo: z.ZodOptional<z.ZodObject<{
|
|
1257
|
-
file: z.ZodOptional<z.ZodString
|
|
1258
|
-
height: z.ZodOptional<z.ZodNumber
|
|
1259
|
-
media: z.ZodOptional<z.ZodString
|
|
1260
|
-
mime_type: z.ZodOptional<z.ZodString
|
|
1261
|
-
refresh_url: z.ZodOptional<z.ZodString
|
|
1262
|
-
url: z.ZodOptional<z.ZodString
|
|
1263
|
-
width: z.ZodOptional<z.ZodNumber
|
|
1396
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1397
|
+
org: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1398
|
+
org_logo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1399
|
+
file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1400
|
+
height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1401
|
+
media: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1402
|
+
mime_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1403
|
+
refresh_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1404
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1405
|
+
width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1264
1406
|
}, "strip", z.ZodTypeAny, {
|
|
1265
|
-
mime_type?: string | undefined;
|
|
1266
|
-
file?: string | undefined;
|
|
1267
|
-
height?: number | undefined;
|
|
1268
|
-
media?: string | undefined;
|
|
1269
|
-
refresh_url?: string | undefined;
|
|
1270
|
-
url?: string | undefined;
|
|
1271
|
-
width?: number | undefined;
|
|
1407
|
+
mime_type?: string | null | undefined;
|
|
1408
|
+
file?: string | null | undefined;
|
|
1409
|
+
height?: number | null | undefined;
|
|
1410
|
+
media?: string | null | undefined;
|
|
1411
|
+
refresh_url?: string | null | undefined;
|
|
1412
|
+
url?: string | null | undefined;
|
|
1413
|
+
width?: number | null | undefined;
|
|
1272
1414
|
}, {
|
|
1273
|
-
mime_type?: string | undefined;
|
|
1274
|
-
file?: string | undefined;
|
|
1275
|
-
height?: number | undefined;
|
|
1276
|
-
media?: string | undefined;
|
|
1277
|
-
refresh_url?: string | undefined;
|
|
1278
|
-
url?: string | undefined;
|
|
1279
|
-
width?: number | undefined;
|
|
1280
|
-
}
|
|
1281
|
-
org_name: z.ZodOptional<z.ZodString
|
|
1282
|
-
org_slug: z.ZodOptional<z.ZodString
|
|
1415
|
+
mime_type?: string | null | undefined;
|
|
1416
|
+
file?: string | null | undefined;
|
|
1417
|
+
height?: number | null | undefined;
|
|
1418
|
+
media?: string | null | undefined;
|
|
1419
|
+
refresh_url?: string | null | undefined;
|
|
1420
|
+
url?: string | null | undefined;
|
|
1421
|
+
width?: number | null | undefined;
|
|
1422
|
+
}>>>;
|
|
1423
|
+
org_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1424
|
+
org_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1283
1425
|
owners: z.ZodArray<z.ZodString, "many">;
|
|
1284
|
-
readme_url: z.ZodOptional<z.ZodString
|
|
1426
|
+
readme_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1285
1427
|
screenshot_urls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1286
|
-
solution_id: z.ZodOptional<z.ZodString
|
|
1287
|
-
solution_version: z.ZodOptional<z.ZodString
|
|
1428
|
+
solution_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1429
|
+
solution_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1288
1430
|
tag_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1289
|
-
template_kind: z.ZodOptional<z.ZodString
|
|
1431
|
+
template_kind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1290
1432
|
templates: z.ZodArray<z.ZodObject<{
|
|
1291
|
-
description: z.ZodOptional<z.ZodString
|
|
1292
|
-
details: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1293
|
-
automation_type: z.ZodOptional<z.ZodString
|
|
1294
|
-
invoke_contract: z.ZodOptional<z.ZodObject<{
|
|
1295
|
-
input_schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown
|
|
1296
|
-
participants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1297
|
-
description: z.ZodOptional<z.ZodString
|
|
1433
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1434
|
+
details: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1435
|
+
automation_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1436
|
+
invoke_contract: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1437
|
+
input_schema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1438
|
+
participants: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1439
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1298
1440
|
name: z.ZodString;
|
|
1299
1441
|
required: z.ZodBoolean;
|
|
1300
1442
|
type: z.ZodString;
|
|
@@ -1302,13 +1444,13 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1302
1444
|
name: string;
|
|
1303
1445
|
required: boolean;
|
|
1304
1446
|
type: string;
|
|
1305
|
-
description?: string | undefined;
|
|
1447
|
+
description?: string | null | undefined;
|
|
1306
1448
|
}, {
|
|
1307
1449
|
name: string;
|
|
1308
1450
|
required: boolean;
|
|
1309
1451
|
type: string;
|
|
1310
|
-
description?: string | undefined;
|
|
1311
|
-
}>, "many"
|
|
1452
|
+
description?: string | null | undefined;
|
|
1453
|
+
}>, "many">>>;
|
|
1312
1454
|
prefills: z.ZodObject<{
|
|
1313
1455
|
participants: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1314
1456
|
payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -1328,9 +1470,9 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1328
1470
|
name: string;
|
|
1329
1471
|
required: boolean;
|
|
1330
1472
|
type: string;
|
|
1331
|
-
description?: string | undefined;
|
|
1332
|
-
}[] | undefined;
|
|
1333
|
-
input_schema?: Record<string, unknown> | undefined;
|
|
1473
|
+
description?: string | null | undefined;
|
|
1474
|
+
}[] | null | undefined;
|
|
1475
|
+
input_schema?: Record<string, unknown> | null | undefined;
|
|
1334
1476
|
}, {
|
|
1335
1477
|
prefills: {
|
|
1336
1478
|
participants?: Record<string, unknown> | undefined;
|
|
@@ -1340,14 +1482,14 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1340
1482
|
name: string;
|
|
1341
1483
|
required: boolean;
|
|
1342
1484
|
type: string;
|
|
1343
|
-
description?: string | undefined;
|
|
1344
|
-
}[] | undefined;
|
|
1345
|
-
input_schema?: Record<string, unknown> | undefined;
|
|
1346
|
-
}
|
|
1485
|
+
description?: string | null | undefined;
|
|
1486
|
+
}[] | null | undefined;
|
|
1487
|
+
input_schema?: Record<string, unknown> | null | undefined;
|
|
1488
|
+
}>>>;
|
|
1347
1489
|
type: z.ZodLiteral<"automation">;
|
|
1348
1490
|
}, "strip", z.ZodTypeAny, {
|
|
1349
1491
|
type: "automation";
|
|
1350
|
-
automation_type?: string | undefined;
|
|
1492
|
+
automation_type?: string | null | undefined;
|
|
1351
1493
|
invoke_contract?: {
|
|
1352
1494
|
prefills: {
|
|
1353
1495
|
participants?: Record<string, unknown> | undefined;
|
|
@@ -1357,13 +1499,13 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1357
1499
|
name: string;
|
|
1358
1500
|
required: boolean;
|
|
1359
1501
|
type: string;
|
|
1360
|
-
description?: string | undefined;
|
|
1361
|
-
}[] | undefined;
|
|
1362
|
-
input_schema?: Record<string, unknown> | undefined;
|
|
1363
|
-
} | undefined;
|
|
1502
|
+
description?: string | null | undefined;
|
|
1503
|
+
}[] | null | undefined;
|
|
1504
|
+
input_schema?: Record<string, unknown> | null | undefined;
|
|
1505
|
+
} | null | undefined;
|
|
1364
1506
|
}, {
|
|
1365
1507
|
type: "automation";
|
|
1366
|
-
automation_type?: string | undefined;
|
|
1508
|
+
automation_type?: string | null | undefined;
|
|
1367
1509
|
invoke_contract?: {
|
|
1368
1510
|
prefills: {
|
|
1369
1511
|
participants?: Record<string, unknown> | undefined;
|
|
@@ -1373,29 +1515,29 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1373
1515
|
name: string;
|
|
1374
1516
|
required: boolean;
|
|
1375
1517
|
type: string;
|
|
1376
|
-
description?: string | undefined;
|
|
1377
|
-
}[] | undefined;
|
|
1378
|
-
input_schema?: Record<string, unknown> | undefined;
|
|
1379
|
-
} | undefined;
|
|
1380
|
-
}>]
|
|
1381
|
-
display_name: z.ZodOptional<z.ZodString
|
|
1382
|
-
id: z.ZodOptional<z.ZodString
|
|
1518
|
+
description?: string | null | undefined;
|
|
1519
|
+
}[] | null | undefined;
|
|
1520
|
+
input_schema?: Record<string, unknown> | null | undefined;
|
|
1521
|
+
} | null | undefined;
|
|
1522
|
+
}>]>>>;
|
|
1523
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1524
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1383
1525
|
kind: z.ZodString;
|
|
1384
|
-
lookup_key: z.ZodOptional<z.ZodString
|
|
1385
|
-
name: z.ZodOptional<z.ZodString
|
|
1386
|
-
readme_url: z.ZodOptional<z.ZodString
|
|
1387
|
-
virtual_path: z.ZodOptional<z.ZodString
|
|
1526
|
+
lookup_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1527
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1528
|
+
readme_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1529
|
+
virtual_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1388
1530
|
}, "strip", z.ZodTypeAny, {
|
|
1389
1531
|
kind: string;
|
|
1390
|
-
description?: string | undefined;
|
|
1391
|
-
name?: string | undefined;
|
|
1392
|
-
id?: string | undefined;
|
|
1393
|
-
lookup_key?: string | undefined;
|
|
1394
|
-
virtual_path?: string | undefined;
|
|
1395
|
-
readme_url?: string | undefined;
|
|
1532
|
+
description?: string | null | undefined;
|
|
1533
|
+
name?: string | null | undefined;
|
|
1534
|
+
id?: string | null | undefined;
|
|
1535
|
+
lookup_key?: string | null | undefined;
|
|
1536
|
+
virtual_path?: string | null | undefined;
|
|
1537
|
+
readme_url?: string | null | undefined;
|
|
1396
1538
|
details?: {
|
|
1397
1539
|
type: "automation";
|
|
1398
|
-
automation_type?: string | undefined;
|
|
1540
|
+
automation_type?: string | null | undefined;
|
|
1399
1541
|
invoke_contract?: {
|
|
1400
1542
|
prefills: {
|
|
1401
1543
|
participants?: Record<string, unknown> | undefined;
|
|
@@ -1405,23 +1547,23 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1405
1547
|
name: string;
|
|
1406
1548
|
required: boolean;
|
|
1407
1549
|
type: string;
|
|
1408
|
-
description?: string | undefined;
|
|
1409
|
-
}[] | undefined;
|
|
1410
|
-
input_schema?: Record<string, unknown> | undefined;
|
|
1411
|
-
} | undefined;
|
|
1412
|
-
} | undefined;
|
|
1413
|
-
display_name?: string | undefined;
|
|
1550
|
+
description?: string | null | undefined;
|
|
1551
|
+
}[] | null | undefined;
|
|
1552
|
+
input_schema?: Record<string, unknown> | null | undefined;
|
|
1553
|
+
} | null | undefined;
|
|
1554
|
+
} | null | undefined;
|
|
1555
|
+
display_name?: string | null | undefined;
|
|
1414
1556
|
}, {
|
|
1415
1557
|
kind: string;
|
|
1416
|
-
description?: string | undefined;
|
|
1417
|
-
name?: string | undefined;
|
|
1418
|
-
id?: string | undefined;
|
|
1419
|
-
lookup_key?: string | undefined;
|
|
1420
|
-
virtual_path?: string | undefined;
|
|
1421
|
-
readme_url?: string | undefined;
|
|
1558
|
+
description?: string | null | undefined;
|
|
1559
|
+
name?: string | null | undefined;
|
|
1560
|
+
id?: string | null | undefined;
|
|
1561
|
+
lookup_key?: string | null | undefined;
|
|
1562
|
+
virtual_path?: string | null | undefined;
|
|
1563
|
+
readme_url?: string | null | undefined;
|
|
1422
1564
|
details?: {
|
|
1423
1565
|
type: "automation";
|
|
1424
|
-
automation_type?: string | undefined;
|
|
1566
|
+
automation_type?: string | null | undefined;
|
|
1425
1567
|
invoke_contract?: {
|
|
1426
1568
|
prefills: {
|
|
1427
1569
|
participants?: Record<string, unknown> | undefined;
|
|
@@ -1431,31 +1573,31 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1431
1573
|
name: string;
|
|
1432
1574
|
required: boolean;
|
|
1433
1575
|
type: string;
|
|
1434
|
-
description?: string | undefined;
|
|
1435
|
-
}[] | undefined;
|
|
1436
|
-
input_schema?: Record<string, unknown> | undefined;
|
|
1437
|
-
} | undefined;
|
|
1438
|
-
} | undefined;
|
|
1439
|
-
display_name?: string | undefined;
|
|
1576
|
+
description?: string | null | undefined;
|
|
1577
|
+
}[] | null | undefined;
|
|
1578
|
+
input_schema?: Record<string, unknown> | null | undefined;
|
|
1579
|
+
} | null | undefined;
|
|
1580
|
+
} | null | undefined;
|
|
1581
|
+
display_name?: string | null | undefined;
|
|
1440
1582
|
}>, "many">;
|
|
1441
1583
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
1442
1584
|
upgrade_available: z.ZodBoolean;
|
|
1443
|
-
virtual_path: z.ZodOptional<z.ZodString
|
|
1585
|
+
virtual_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1444
1586
|
}, "strip", z.ZodTypeAny, {
|
|
1445
1587
|
kind: string;
|
|
1446
1588
|
id: string;
|
|
1447
1589
|
owners: string[];
|
|
1448
1590
|
templates: {
|
|
1449
1591
|
kind: string;
|
|
1450
|
-
description?: string | undefined;
|
|
1451
|
-
name?: string | undefined;
|
|
1452
|
-
id?: string | undefined;
|
|
1453
|
-
lookup_key?: string | undefined;
|
|
1454
|
-
virtual_path?: string | undefined;
|
|
1455
|
-
readme_url?: string | undefined;
|
|
1592
|
+
description?: string | null | undefined;
|
|
1593
|
+
name?: string | null | undefined;
|
|
1594
|
+
id?: string | null | undefined;
|
|
1595
|
+
lookup_key?: string | null | undefined;
|
|
1596
|
+
virtual_path?: string | null | undefined;
|
|
1597
|
+
readme_url?: string | null | undefined;
|
|
1456
1598
|
details?: {
|
|
1457
1599
|
type: "automation";
|
|
1458
|
-
automation_type?: string | undefined;
|
|
1600
|
+
automation_type?: string | null | undefined;
|
|
1459
1601
|
invoke_contract?: {
|
|
1460
1602
|
prefills: {
|
|
1461
1603
|
participants?: Record<string, unknown> | undefined;
|
|
@@ -1465,59 +1607,59 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1465
1607
|
name: string;
|
|
1466
1608
|
required: boolean;
|
|
1467
1609
|
type: string;
|
|
1468
|
-
description?: string | undefined;
|
|
1469
|
-
}[] | undefined;
|
|
1470
|
-
input_schema?: Record<string, unknown> | undefined;
|
|
1471
|
-
} | undefined;
|
|
1472
|
-
} | undefined;
|
|
1473
|
-
display_name?: string | undefined;
|
|
1610
|
+
description?: string | null | undefined;
|
|
1611
|
+
}[] | null | undefined;
|
|
1612
|
+
input_schema?: Record<string, unknown> | null | undefined;
|
|
1613
|
+
} | null | undefined;
|
|
1614
|
+
} | null | undefined;
|
|
1615
|
+
display_name?: string | null | undefined;
|
|
1474
1616
|
}[];
|
|
1475
1617
|
upgrade_available: boolean;
|
|
1476
|
-
org?: string | undefined;
|
|
1477
|
-
description?: string | undefined;
|
|
1478
|
-
name?: string | undefined;
|
|
1618
|
+
org?: string | null | undefined;
|
|
1619
|
+
description?: string | null | undefined;
|
|
1620
|
+
name?: string | null | undefined;
|
|
1479
1621
|
created_at?: string | undefined;
|
|
1480
1622
|
updated_at?: string | undefined;
|
|
1481
|
-
lookup_key?: string | undefined;
|
|
1482
|
-
virtual_path?: string | undefined;
|
|
1623
|
+
lookup_key?: string | null | undefined;
|
|
1624
|
+
virtual_path?: string | null | undefined;
|
|
1483
1625
|
metadata?: Record<string, unknown> | undefined;
|
|
1484
|
-
org_name?: string | undefined;
|
|
1626
|
+
org_name?: string | null | undefined;
|
|
1627
|
+
org_slug?: string | null | undefined;
|
|
1485
1628
|
category_keys?: string[] | undefined;
|
|
1486
1629
|
events?: Record<string, unknown> | undefined;
|
|
1487
|
-
image_url?: string | undefined;
|
|
1488
|
-
latest_solution?: string | undefined;
|
|
1489
|
-
latest_version?: string | undefined;
|
|
1630
|
+
image_url?: string | null | undefined;
|
|
1631
|
+
latest_solution?: string | null | undefined;
|
|
1632
|
+
latest_version?: string | null | undefined;
|
|
1490
1633
|
org_logo?: {
|
|
1491
|
-
mime_type?: string | undefined;
|
|
1492
|
-
file?: string | undefined;
|
|
1493
|
-
height?: number | undefined;
|
|
1494
|
-
media?: string | undefined;
|
|
1495
|
-
refresh_url?: string | undefined;
|
|
1496
|
-
url?: string | undefined;
|
|
1497
|
-
width?: number | undefined;
|
|
1498
|
-
} | undefined;
|
|
1499
|
-
|
|
1500
|
-
readme_url?: string | undefined;
|
|
1634
|
+
mime_type?: string | null | undefined;
|
|
1635
|
+
file?: string | null | undefined;
|
|
1636
|
+
height?: number | null | undefined;
|
|
1637
|
+
media?: string | null | undefined;
|
|
1638
|
+
refresh_url?: string | null | undefined;
|
|
1639
|
+
url?: string | null | undefined;
|
|
1640
|
+
width?: number | null | undefined;
|
|
1641
|
+
} | null | undefined;
|
|
1642
|
+
readme_url?: string | null | undefined;
|
|
1501
1643
|
screenshot_urls?: string[] | undefined;
|
|
1502
|
-
solution_id?: string | undefined;
|
|
1503
|
-
solution_version?: string | undefined;
|
|
1644
|
+
solution_id?: string | null | undefined;
|
|
1645
|
+
solution_version?: string | null | undefined;
|
|
1504
1646
|
tag_keys?: string[] | undefined;
|
|
1505
|
-
template_kind?: string | undefined;
|
|
1647
|
+
template_kind?: string | null | undefined;
|
|
1506
1648
|
}, {
|
|
1507
1649
|
kind: string;
|
|
1508
1650
|
id: string;
|
|
1509
1651
|
owners: string[];
|
|
1510
1652
|
templates: {
|
|
1511
1653
|
kind: string;
|
|
1512
|
-
description?: string | undefined;
|
|
1513
|
-
name?: string | undefined;
|
|
1514
|
-
id?: string | undefined;
|
|
1515
|
-
lookup_key?: string | undefined;
|
|
1516
|
-
virtual_path?: string | undefined;
|
|
1517
|
-
readme_url?: string | undefined;
|
|
1654
|
+
description?: string | null | undefined;
|
|
1655
|
+
name?: string | null | undefined;
|
|
1656
|
+
id?: string | null | undefined;
|
|
1657
|
+
lookup_key?: string | null | undefined;
|
|
1658
|
+
virtual_path?: string | null | undefined;
|
|
1659
|
+
readme_url?: string | null | undefined;
|
|
1518
1660
|
details?: {
|
|
1519
1661
|
type: "automation";
|
|
1520
|
-
automation_type?: string | undefined;
|
|
1662
|
+
automation_type?: string | null | undefined;
|
|
1521
1663
|
invoke_contract?: {
|
|
1522
1664
|
prefills: {
|
|
1523
1665
|
participants?: Record<string, unknown> | undefined;
|
|
@@ -1527,75 +1669,75 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1527
1669
|
name: string;
|
|
1528
1670
|
required: boolean;
|
|
1529
1671
|
type: string;
|
|
1530
|
-
description?: string | undefined;
|
|
1531
|
-
}[] | undefined;
|
|
1532
|
-
input_schema?: Record<string, unknown> | undefined;
|
|
1533
|
-
} | undefined;
|
|
1534
|
-
} | undefined;
|
|
1535
|
-
display_name?: string | undefined;
|
|
1672
|
+
description?: string | null | undefined;
|
|
1673
|
+
}[] | null | undefined;
|
|
1674
|
+
input_schema?: Record<string, unknown> | null | undefined;
|
|
1675
|
+
} | null | undefined;
|
|
1676
|
+
} | null | undefined;
|
|
1677
|
+
display_name?: string | null | undefined;
|
|
1536
1678
|
}[];
|
|
1537
1679
|
upgrade_available: boolean;
|
|
1538
|
-
org?: string | undefined;
|
|
1539
|
-
description?: string | undefined;
|
|
1540
|
-
name?: string | undefined;
|
|
1680
|
+
org?: string | null | undefined;
|
|
1681
|
+
description?: string | null | undefined;
|
|
1682
|
+
name?: string | null | undefined;
|
|
1541
1683
|
created_at?: string | undefined;
|
|
1542
1684
|
updated_at?: string | undefined;
|
|
1543
|
-
lookup_key?: string | undefined;
|
|
1544
|
-
virtual_path?: string | undefined;
|
|
1685
|
+
lookup_key?: string | null | undefined;
|
|
1686
|
+
virtual_path?: string | null | undefined;
|
|
1545
1687
|
metadata?: Record<string, unknown> | undefined;
|
|
1546
|
-
org_name?: string | undefined;
|
|
1688
|
+
org_name?: string | null | undefined;
|
|
1689
|
+
org_slug?: string | null | undefined;
|
|
1547
1690
|
category_keys?: string[] | undefined;
|
|
1548
1691
|
events?: Record<string, unknown> | undefined;
|
|
1549
|
-
image_url?: string | undefined;
|
|
1550
|
-
latest_solution?: string | undefined;
|
|
1551
|
-
latest_version?: string | undefined;
|
|
1692
|
+
image_url?: string | null | undefined;
|
|
1693
|
+
latest_solution?: string | null | undefined;
|
|
1694
|
+
latest_version?: string | null | undefined;
|
|
1552
1695
|
org_logo?: {
|
|
1553
|
-
mime_type?: string | undefined;
|
|
1554
|
-
file?: string | undefined;
|
|
1555
|
-
height?: number | undefined;
|
|
1556
|
-
media?: string | undefined;
|
|
1557
|
-
refresh_url?: string | undefined;
|
|
1558
|
-
url?: string | undefined;
|
|
1559
|
-
width?: number | undefined;
|
|
1560
|
-
} | undefined;
|
|
1561
|
-
|
|
1562
|
-
readme_url?: string | undefined;
|
|
1696
|
+
mime_type?: string | null | undefined;
|
|
1697
|
+
file?: string | null | undefined;
|
|
1698
|
+
height?: number | null | undefined;
|
|
1699
|
+
media?: string | null | undefined;
|
|
1700
|
+
refresh_url?: string | null | undefined;
|
|
1701
|
+
url?: string | null | undefined;
|
|
1702
|
+
width?: number | null | undefined;
|
|
1703
|
+
} | null | undefined;
|
|
1704
|
+
readme_url?: string | null | undefined;
|
|
1563
1705
|
screenshot_urls?: string[] | undefined;
|
|
1564
|
-
solution_id?: string | undefined;
|
|
1565
|
-
solution_version?: string | undefined;
|
|
1706
|
+
solution_id?: string | null | undefined;
|
|
1707
|
+
solution_version?: string | null | undefined;
|
|
1566
1708
|
tag_keys?: string[] | undefined;
|
|
1567
|
-
template_kind?: string | undefined;
|
|
1709
|
+
template_kind?: string | null | undefined;
|
|
1568
1710
|
}>;
|
|
1569
1711
|
template: z.ZodObject<{
|
|
1570
1712
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1571
|
-
description: z.ZodOptional<z.ZodString
|
|
1572
|
-
display_name: z.ZodOptional<z.ZodString
|
|
1713
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1714
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1573
1715
|
id: z.ZodString;
|
|
1574
1716
|
kind: z.ZodString;
|
|
1575
|
-
lookup_key: z.ZodOptional<z.ZodString
|
|
1576
|
-
name: z.ZodOptional<z.ZodString
|
|
1717
|
+
lookup_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1718
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1577
1719
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
1578
|
-
virtual_path: z.ZodOptional<z.ZodString
|
|
1720
|
+
virtual_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1579
1721
|
}, "strip", z.ZodTypeAny, {
|
|
1580
1722
|
kind: string;
|
|
1581
1723
|
id: string;
|
|
1582
|
-
description?: string | undefined;
|
|
1583
|
-
name?: string | undefined;
|
|
1724
|
+
description?: string | null | undefined;
|
|
1725
|
+
name?: string | null | undefined;
|
|
1584
1726
|
created_at?: string | undefined;
|
|
1585
1727
|
updated_at?: string | undefined;
|
|
1586
|
-
lookup_key?: string | undefined;
|
|
1587
|
-
virtual_path?: string | undefined;
|
|
1588
|
-
display_name?: string | undefined;
|
|
1728
|
+
lookup_key?: string | null | undefined;
|
|
1729
|
+
virtual_path?: string | null | undefined;
|
|
1730
|
+
display_name?: string | null | undefined;
|
|
1589
1731
|
}, {
|
|
1590
1732
|
kind: string;
|
|
1591
1733
|
id: string;
|
|
1592
|
-
description?: string | undefined;
|
|
1593
|
-
name?: string | undefined;
|
|
1734
|
+
description?: string | null | undefined;
|
|
1735
|
+
name?: string | null | undefined;
|
|
1594
1736
|
created_at?: string | undefined;
|
|
1595
1737
|
updated_at?: string | undefined;
|
|
1596
|
-
lookup_key?: string | undefined;
|
|
1597
|
-
virtual_path?: string | undefined;
|
|
1598
|
-
display_name?: string | undefined;
|
|
1738
|
+
lookup_key?: string | null | undefined;
|
|
1739
|
+
virtual_path?: string | null | undefined;
|
|
1740
|
+
display_name?: string | null | undefined;
|
|
1599
1741
|
}>;
|
|
1600
1742
|
}, "strip", z.ZodTypeAny, {
|
|
1601
1743
|
solution: {
|
|
@@ -1604,15 +1746,15 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1604
1746
|
owners: string[];
|
|
1605
1747
|
templates: {
|
|
1606
1748
|
kind: string;
|
|
1607
|
-
description?: string | undefined;
|
|
1608
|
-
name?: string | undefined;
|
|
1609
|
-
id?: string | undefined;
|
|
1610
|
-
lookup_key?: string | undefined;
|
|
1611
|
-
virtual_path?: string | undefined;
|
|
1612
|
-
readme_url?: string | undefined;
|
|
1749
|
+
description?: string | null | undefined;
|
|
1750
|
+
name?: string | null | undefined;
|
|
1751
|
+
id?: string | null | undefined;
|
|
1752
|
+
lookup_key?: string | null | undefined;
|
|
1753
|
+
virtual_path?: string | null | undefined;
|
|
1754
|
+
readme_url?: string | null | undefined;
|
|
1613
1755
|
details?: {
|
|
1614
1756
|
type: "automation";
|
|
1615
|
-
automation_type?: string | undefined;
|
|
1757
|
+
automation_type?: string | null | undefined;
|
|
1616
1758
|
invoke_contract?: {
|
|
1617
1759
|
prefills: {
|
|
1618
1760
|
participants?: Record<string, unknown> | undefined;
|
|
@@ -1622,55 +1764,55 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1622
1764
|
name: string;
|
|
1623
1765
|
required: boolean;
|
|
1624
1766
|
type: string;
|
|
1625
|
-
description?: string | undefined;
|
|
1626
|
-
}[] | undefined;
|
|
1627
|
-
input_schema?: Record<string, unknown> | undefined;
|
|
1628
|
-
} | undefined;
|
|
1629
|
-
} | undefined;
|
|
1630
|
-
display_name?: string | undefined;
|
|
1767
|
+
description?: string | null | undefined;
|
|
1768
|
+
}[] | null | undefined;
|
|
1769
|
+
input_schema?: Record<string, unknown> | null | undefined;
|
|
1770
|
+
} | null | undefined;
|
|
1771
|
+
} | null | undefined;
|
|
1772
|
+
display_name?: string | null | undefined;
|
|
1631
1773
|
}[];
|
|
1632
1774
|
upgrade_available: boolean;
|
|
1633
|
-
org?: string | undefined;
|
|
1634
|
-
description?: string | undefined;
|
|
1635
|
-
name?: string | undefined;
|
|
1775
|
+
org?: string | null | undefined;
|
|
1776
|
+
description?: string | null | undefined;
|
|
1777
|
+
name?: string | null | undefined;
|
|
1636
1778
|
created_at?: string | undefined;
|
|
1637
1779
|
updated_at?: string | undefined;
|
|
1638
|
-
lookup_key?: string | undefined;
|
|
1639
|
-
virtual_path?: string | undefined;
|
|
1780
|
+
lookup_key?: string | null | undefined;
|
|
1781
|
+
virtual_path?: string | null | undefined;
|
|
1640
1782
|
metadata?: Record<string, unknown> | undefined;
|
|
1641
|
-
org_name?: string | undefined;
|
|
1783
|
+
org_name?: string | null | undefined;
|
|
1784
|
+
org_slug?: string | null | undefined;
|
|
1642
1785
|
category_keys?: string[] | undefined;
|
|
1643
1786
|
events?: Record<string, unknown> | undefined;
|
|
1644
|
-
image_url?: string | undefined;
|
|
1645
|
-
latest_solution?: string | undefined;
|
|
1646
|
-
latest_version?: string | undefined;
|
|
1787
|
+
image_url?: string | null | undefined;
|
|
1788
|
+
latest_solution?: string | null | undefined;
|
|
1789
|
+
latest_version?: string | null | undefined;
|
|
1647
1790
|
org_logo?: {
|
|
1648
|
-
mime_type?: string | undefined;
|
|
1649
|
-
file?: string | undefined;
|
|
1650
|
-
height?: number | undefined;
|
|
1651
|
-
media?: string | undefined;
|
|
1652
|
-
refresh_url?: string | undefined;
|
|
1653
|
-
url?: string | undefined;
|
|
1654
|
-
width?: number | undefined;
|
|
1655
|
-
} | undefined;
|
|
1656
|
-
|
|
1657
|
-
readme_url?: string | undefined;
|
|
1791
|
+
mime_type?: string | null | undefined;
|
|
1792
|
+
file?: string | null | undefined;
|
|
1793
|
+
height?: number | null | undefined;
|
|
1794
|
+
media?: string | null | undefined;
|
|
1795
|
+
refresh_url?: string | null | undefined;
|
|
1796
|
+
url?: string | null | undefined;
|
|
1797
|
+
width?: number | null | undefined;
|
|
1798
|
+
} | null | undefined;
|
|
1799
|
+
readme_url?: string | null | undefined;
|
|
1658
1800
|
screenshot_urls?: string[] | undefined;
|
|
1659
|
-
solution_id?: string | undefined;
|
|
1660
|
-
solution_version?: string | undefined;
|
|
1801
|
+
solution_id?: string | null | undefined;
|
|
1802
|
+
solution_version?: string | null | undefined;
|
|
1661
1803
|
tag_keys?: string[] | undefined;
|
|
1662
|
-
template_kind?: string | undefined;
|
|
1804
|
+
template_kind?: string | null | undefined;
|
|
1663
1805
|
};
|
|
1664
1806
|
template: {
|
|
1665
1807
|
kind: string;
|
|
1666
1808
|
id: string;
|
|
1667
|
-
description?: string | undefined;
|
|
1668
|
-
name?: string | undefined;
|
|
1809
|
+
description?: string | null | undefined;
|
|
1810
|
+
name?: string | null | undefined;
|
|
1669
1811
|
created_at?: string | undefined;
|
|
1670
1812
|
updated_at?: string | undefined;
|
|
1671
|
-
lookup_key?: string | undefined;
|
|
1672
|
-
virtual_path?: string | undefined;
|
|
1673
|
-
display_name?: string | undefined;
|
|
1813
|
+
lookup_key?: string | null | undefined;
|
|
1814
|
+
virtual_path?: string | null | undefined;
|
|
1815
|
+
display_name?: string | null | undefined;
|
|
1674
1816
|
};
|
|
1675
1817
|
current_solution?: {
|
|
1676
1818
|
kind: string;
|
|
@@ -1678,15 +1820,15 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1678
1820
|
owners: string[];
|
|
1679
1821
|
templates: {
|
|
1680
1822
|
kind: string;
|
|
1681
|
-
description?: string | undefined;
|
|
1682
|
-
name?: string | undefined;
|
|
1683
|
-
id?: string | undefined;
|
|
1684
|
-
lookup_key?: string | undefined;
|
|
1685
|
-
virtual_path?: string | undefined;
|
|
1686
|
-
readme_url?: string | undefined;
|
|
1823
|
+
description?: string | null | undefined;
|
|
1824
|
+
name?: string | null | undefined;
|
|
1825
|
+
id?: string | null | undefined;
|
|
1826
|
+
lookup_key?: string | null | undefined;
|
|
1827
|
+
virtual_path?: string | null | undefined;
|
|
1828
|
+
readme_url?: string | null | undefined;
|
|
1687
1829
|
details?: {
|
|
1688
1830
|
type: "automation";
|
|
1689
|
-
automation_type?: string | undefined;
|
|
1831
|
+
automation_type?: string | null | undefined;
|
|
1690
1832
|
invoke_contract?: {
|
|
1691
1833
|
prefills: {
|
|
1692
1834
|
participants?: Record<string, unknown> | undefined;
|
|
@@ -1696,44 +1838,44 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1696
1838
|
name: string;
|
|
1697
1839
|
required: boolean;
|
|
1698
1840
|
type: string;
|
|
1699
|
-
description?: string | undefined;
|
|
1700
|
-
}[] | undefined;
|
|
1701
|
-
input_schema?: Record<string, unknown> | undefined;
|
|
1702
|
-
} | undefined;
|
|
1703
|
-
} | undefined;
|
|
1704
|
-
display_name?: string | undefined;
|
|
1841
|
+
description?: string | null | undefined;
|
|
1842
|
+
}[] | null | undefined;
|
|
1843
|
+
input_schema?: Record<string, unknown> | null | undefined;
|
|
1844
|
+
} | null | undefined;
|
|
1845
|
+
} | null | undefined;
|
|
1846
|
+
display_name?: string | null | undefined;
|
|
1705
1847
|
}[];
|
|
1706
1848
|
upgrade_available: boolean;
|
|
1707
|
-
org?: string | undefined;
|
|
1708
|
-
description?: string | undefined;
|
|
1709
|
-
name?: string | undefined;
|
|
1849
|
+
org?: string | null | undefined;
|
|
1850
|
+
description?: string | null | undefined;
|
|
1851
|
+
name?: string | null | undefined;
|
|
1710
1852
|
created_at?: string | undefined;
|
|
1711
1853
|
updated_at?: string | undefined;
|
|
1712
|
-
lookup_key?: string | undefined;
|
|
1713
|
-
virtual_path?: string | undefined;
|
|
1854
|
+
lookup_key?: string | null | undefined;
|
|
1855
|
+
virtual_path?: string | null | undefined;
|
|
1714
1856
|
metadata?: Record<string, unknown> | undefined;
|
|
1715
|
-
org_name?: string | undefined;
|
|
1857
|
+
org_name?: string | null | undefined;
|
|
1858
|
+
org_slug?: string | null | undefined;
|
|
1716
1859
|
category_keys?: string[] | undefined;
|
|
1717
1860
|
events?: Record<string, unknown> | undefined;
|
|
1718
|
-
image_url?: string | undefined;
|
|
1719
|
-
latest_solution?: string | undefined;
|
|
1720
|
-
latest_version?: string | undefined;
|
|
1861
|
+
image_url?: string | null | undefined;
|
|
1862
|
+
latest_solution?: string | null | undefined;
|
|
1863
|
+
latest_version?: string | null | undefined;
|
|
1721
1864
|
org_logo?: {
|
|
1722
|
-
mime_type?: string | undefined;
|
|
1723
|
-
file?: string | undefined;
|
|
1724
|
-
height?: number | undefined;
|
|
1725
|
-
media?: string | undefined;
|
|
1726
|
-
refresh_url?: string | undefined;
|
|
1727
|
-
url?: string | undefined;
|
|
1728
|
-
width?: number | undefined;
|
|
1729
|
-
} | undefined;
|
|
1730
|
-
|
|
1731
|
-
readme_url?: string | undefined;
|
|
1865
|
+
mime_type?: string | null | undefined;
|
|
1866
|
+
file?: string | null | undefined;
|
|
1867
|
+
height?: number | null | undefined;
|
|
1868
|
+
media?: string | null | undefined;
|
|
1869
|
+
refresh_url?: string | null | undefined;
|
|
1870
|
+
url?: string | null | undefined;
|
|
1871
|
+
width?: number | null | undefined;
|
|
1872
|
+
} | null | undefined;
|
|
1873
|
+
readme_url?: string | null | undefined;
|
|
1732
1874
|
screenshot_urls?: string[] | undefined;
|
|
1733
|
-
solution_id?: string | undefined;
|
|
1734
|
-
solution_version?: string | undefined;
|
|
1875
|
+
solution_id?: string | null | undefined;
|
|
1876
|
+
solution_version?: string | null | undefined;
|
|
1735
1877
|
tag_keys?: string[] | undefined;
|
|
1736
|
-
template_kind?: string | undefined;
|
|
1878
|
+
template_kind?: string | null | undefined;
|
|
1737
1879
|
} | undefined;
|
|
1738
1880
|
}, {
|
|
1739
1881
|
solution: {
|
|
@@ -1742,15 +1884,15 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1742
1884
|
owners: string[];
|
|
1743
1885
|
templates: {
|
|
1744
1886
|
kind: string;
|
|
1745
|
-
description?: string | undefined;
|
|
1746
|
-
name?: string | undefined;
|
|
1747
|
-
id?: string | undefined;
|
|
1748
|
-
lookup_key?: string | undefined;
|
|
1749
|
-
virtual_path?: string | undefined;
|
|
1750
|
-
readme_url?: string | undefined;
|
|
1887
|
+
description?: string | null | undefined;
|
|
1888
|
+
name?: string | null | undefined;
|
|
1889
|
+
id?: string | null | undefined;
|
|
1890
|
+
lookup_key?: string | null | undefined;
|
|
1891
|
+
virtual_path?: string | null | undefined;
|
|
1892
|
+
readme_url?: string | null | undefined;
|
|
1751
1893
|
details?: {
|
|
1752
1894
|
type: "automation";
|
|
1753
|
-
automation_type?: string | undefined;
|
|
1895
|
+
automation_type?: string | null | undefined;
|
|
1754
1896
|
invoke_contract?: {
|
|
1755
1897
|
prefills: {
|
|
1756
1898
|
participants?: Record<string, unknown> | undefined;
|
|
@@ -1760,55 +1902,55 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1760
1902
|
name: string;
|
|
1761
1903
|
required: boolean;
|
|
1762
1904
|
type: string;
|
|
1763
|
-
description?: string | undefined;
|
|
1764
|
-
}[] | undefined;
|
|
1765
|
-
input_schema?: Record<string, unknown> | undefined;
|
|
1766
|
-
} | undefined;
|
|
1767
|
-
} | undefined;
|
|
1768
|
-
display_name?: string | undefined;
|
|
1905
|
+
description?: string | null | undefined;
|
|
1906
|
+
}[] | null | undefined;
|
|
1907
|
+
input_schema?: Record<string, unknown> | null | undefined;
|
|
1908
|
+
} | null | undefined;
|
|
1909
|
+
} | null | undefined;
|
|
1910
|
+
display_name?: string | null | undefined;
|
|
1769
1911
|
}[];
|
|
1770
1912
|
upgrade_available: boolean;
|
|
1771
|
-
org?: string | undefined;
|
|
1772
|
-
description?: string | undefined;
|
|
1773
|
-
name?: string | undefined;
|
|
1913
|
+
org?: string | null | undefined;
|
|
1914
|
+
description?: string | null | undefined;
|
|
1915
|
+
name?: string | null | undefined;
|
|
1774
1916
|
created_at?: string | undefined;
|
|
1775
1917
|
updated_at?: string | undefined;
|
|
1776
|
-
lookup_key?: string | undefined;
|
|
1777
|
-
virtual_path?: string | undefined;
|
|
1918
|
+
lookup_key?: string | null | undefined;
|
|
1919
|
+
virtual_path?: string | null | undefined;
|
|
1778
1920
|
metadata?: Record<string, unknown> | undefined;
|
|
1779
|
-
org_name?: string | undefined;
|
|
1921
|
+
org_name?: string | null | undefined;
|
|
1922
|
+
org_slug?: string | null | undefined;
|
|
1780
1923
|
category_keys?: string[] | undefined;
|
|
1781
1924
|
events?: Record<string, unknown> | undefined;
|
|
1782
|
-
image_url?: string | undefined;
|
|
1783
|
-
latest_solution?: string | undefined;
|
|
1784
|
-
latest_version?: string | undefined;
|
|
1925
|
+
image_url?: string | null | undefined;
|
|
1926
|
+
latest_solution?: string | null | undefined;
|
|
1927
|
+
latest_version?: string | null | undefined;
|
|
1785
1928
|
org_logo?: {
|
|
1786
|
-
mime_type?: string | undefined;
|
|
1787
|
-
file?: string | undefined;
|
|
1788
|
-
height?: number | undefined;
|
|
1789
|
-
media?: string | undefined;
|
|
1790
|
-
refresh_url?: string | undefined;
|
|
1791
|
-
url?: string | undefined;
|
|
1792
|
-
width?: number | undefined;
|
|
1793
|
-
} | undefined;
|
|
1794
|
-
|
|
1795
|
-
readme_url?: string | undefined;
|
|
1929
|
+
mime_type?: string | null | undefined;
|
|
1930
|
+
file?: string | null | undefined;
|
|
1931
|
+
height?: number | null | undefined;
|
|
1932
|
+
media?: string | null | undefined;
|
|
1933
|
+
refresh_url?: string | null | undefined;
|
|
1934
|
+
url?: string | null | undefined;
|
|
1935
|
+
width?: number | null | undefined;
|
|
1936
|
+
} | null | undefined;
|
|
1937
|
+
readme_url?: string | null | undefined;
|
|
1796
1938
|
screenshot_urls?: string[] | undefined;
|
|
1797
|
-
solution_id?: string | undefined;
|
|
1798
|
-
solution_version?: string | undefined;
|
|
1939
|
+
solution_id?: string | null | undefined;
|
|
1940
|
+
solution_version?: string | null | undefined;
|
|
1799
1941
|
tag_keys?: string[] | undefined;
|
|
1800
|
-
template_kind?: string | undefined;
|
|
1942
|
+
template_kind?: string | null | undefined;
|
|
1801
1943
|
};
|
|
1802
1944
|
template: {
|
|
1803
1945
|
kind: string;
|
|
1804
1946
|
id: string;
|
|
1805
|
-
description?: string | undefined;
|
|
1806
|
-
name?: string | undefined;
|
|
1947
|
+
description?: string | null | undefined;
|
|
1948
|
+
name?: string | null | undefined;
|
|
1807
1949
|
created_at?: string | undefined;
|
|
1808
1950
|
updated_at?: string | undefined;
|
|
1809
|
-
lookup_key?: string | undefined;
|
|
1810
|
-
virtual_path?: string | undefined;
|
|
1811
|
-
display_name?: string | undefined;
|
|
1951
|
+
lookup_key?: string | null | undefined;
|
|
1952
|
+
virtual_path?: string | null | undefined;
|
|
1953
|
+
display_name?: string | null | undefined;
|
|
1812
1954
|
};
|
|
1813
1955
|
current_solution?: {
|
|
1814
1956
|
kind: string;
|
|
@@ -1816,15 +1958,15 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1816
1958
|
owners: string[];
|
|
1817
1959
|
templates: {
|
|
1818
1960
|
kind: string;
|
|
1819
|
-
description?: string | undefined;
|
|
1820
|
-
name?: string | undefined;
|
|
1821
|
-
id?: string | undefined;
|
|
1822
|
-
lookup_key?: string | undefined;
|
|
1823
|
-
virtual_path?: string | undefined;
|
|
1824
|
-
readme_url?: string | undefined;
|
|
1961
|
+
description?: string | null | undefined;
|
|
1962
|
+
name?: string | null | undefined;
|
|
1963
|
+
id?: string | null | undefined;
|
|
1964
|
+
lookup_key?: string | null | undefined;
|
|
1965
|
+
virtual_path?: string | null | undefined;
|
|
1966
|
+
readme_url?: string | null | undefined;
|
|
1825
1967
|
details?: {
|
|
1826
1968
|
type: "automation";
|
|
1827
|
-
automation_type?: string | undefined;
|
|
1969
|
+
automation_type?: string | null | undefined;
|
|
1828
1970
|
invoke_contract?: {
|
|
1829
1971
|
prefills: {
|
|
1830
1972
|
participants?: Record<string, unknown> | undefined;
|
|
@@ -1834,65 +1976,65 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1834
1976
|
name: string;
|
|
1835
1977
|
required: boolean;
|
|
1836
1978
|
type: string;
|
|
1837
|
-
description?: string | undefined;
|
|
1838
|
-
}[] | undefined;
|
|
1839
|
-
input_schema?: Record<string, unknown> | undefined;
|
|
1840
|
-
} | undefined;
|
|
1841
|
-
} | undefined;
|
|
1842
|
-
display_name?: string | undefined;
|
|
1979
|
+
description?: string | null | undefined;
|
|
1980
|
+
}[] | null | undefined;
|
|
1981
|
+
input_schema?: Record<string, unknown> | null | undefined;
|
|
1982
|
+
} | null | undefined;
|
|
1983
|
+
} | null | undefined;
|
|
1984
|
+
display_name?: string | null | undefined;
|
|
1843
1985
|
}[];
|
|
1844
1986
|
upgrade_available: boolean;
|
|
1845
|
-
org?: string | undefined;
|
|
1846
|
-
description?: string | undefined;
|
|
1847
|
-
name?: string | undefined;
|
|
1987
|
+
org?: string | null | undefined;
|
|
1988
|
+
description?: string | null | undefined;
|
|
1989
|
+
name?: string | null | undefined;
|
|
1848
1990
|
created_at?: string | undefined;
|
|
1849
1991
|
updated_at?: string | undefined;
|
|
1850
|
-
lookup_key?: string | undefined;
|
|
1851
|
-
virtual_path?: string | undefined;
|
|
1992
|
+
lookup_key?: string | null | undefined;
|
|
1993
|
+
virtual_path?: string | null | undefined;
|
|
1852
1994
|
metadata?: Record<string, unknown> | undefined;
|
|
1853
|
-
org_name?: string | undefined;
|
|
1995
|
+
org_name?: string | null | undefined;
|
|
1996
|
+
org_slug?: string | null | undefined;
|
|
1854
1997
|
category_keys?: string[] | undefined;
|
|
1855
1998
|
events?: Record<string, unknown> | undefined;
|
|
1856
|
-
image_url?: string | undefined;
|
|
1857
|
-
latest_solution?: string | undefined;
|
|
1858
|
-
latest_version?: string | undefined;
|
|
1999
|
+
image_url?: string | null | undefined;
|
|
2000
|
+
latest_solution?: string | null | undefined;
|
|
2001
|
+
latest_version?: string | null | undefined;
|
|
1859
2002
|
org_logo?: {
|
|
1860
|
-
mime_type?: string | undefined;
|
|
1861
|
-
file?: string | undefined;
|
|
1862
|
-
height?: number | undefined;
|
|
1863
|
-
media?: string | undefined;
|
|
1864
|
-
refresh_url?: string | undefined;
|
|
1865
|
-
url?: string | undefined;
|
|
1866
|
-
width?: number | undefined;
|
|
1867
|
-
} | undefined;
|
|
1868
|
-
|
|
1869
|
-
readme_url?: string | undefined;
|
|
2003
|
+
mime_type?: string | null | undefined;
|
|
2004
|
+
file?: string | null | undefined;
|
|
2005
|
+
height?: number | null | undefined;
|
|
2006
|
+
media?: string | null | undefined;
|
|
2007
|
+
refresh_url?: string | null | undefined;
|
|
2008
|
+
url?: string | null | undefined;
|
|
2009
|
+
width?: number | null | undefined;
|
|
2010
|
+
} | null | undefined;
|
|
2011
|
+
readme_url?: string | null | undefined;
|
|
1870
2012
|
screenshot_urls?: string[] | undefined;
|
|
1871
|
-
solution_id?: string | undefined;
|
|
1872
|
-
solution_version?: string | undefined;
|
|
2013
|
+
solution_id?: string | null | undefined;
|
|
2014
|
+
solution_version?: string | null | undefined;
|
|
1873
2015
|
tag_keys?: string[] | undefined;
|
|
1874
|
-
template_kind?: string | undefined;
|
|
2016
|
+
template_kind?: string | null | undefined;
|
|
1875
2017
|
} | undefined;
|
|
1876
|
-
}
|
|
1877
|
-
team: z.ZodOptional<z.ZodString
|
|
1878
|
-
template_upgrade_available: z.ZodOptional<z.ZodBoolean
|
|
2018
|
+
}>>>;
|
|
2019
|
+
team: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2020
|
+
template_upgrade_available: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1879
2021
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
1880
|
-
user: z.ZodOptional<z.ZodString
|
|
2022
|
+
user: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1881
2023
|
}, "strip", z.ZodTypeAny, {
|
|
1882
2024
|
id: string;
|
|
1883
|
-
email?: string | undefined;
|
|
1884
|
-
team?: string | undefined;
|
|
1885
|
-
org?: string | undefined;
|
|
1886
|
-
description?: string | undefined;
|
|
2025
|
+
email?: string | null | undefined;
|
|
2026
|
+
team?: string | null | undefined;
|
|
2027
|
+
org?: string | null | undefined;
|
|
2028
|
+
description?: string | null | undefined;
|
|
1887
2029
|
name?: string | undefined;
|
|
1888
2030
|
app?: string | undefined;
|
|
1889
2031
|
created_at?: string | undefined;
|
|
1890
2032
|
updated_at?: string | undefined;
|
|
1891
|
-
user?: string | undefined;
|
|
1892
|
-
sandbox?: string | undefined;
|
|
1893
|
-
lookup_key?: string | undefined;
|
|
2033
|
+
user?: string | null | undefined;
|
|
2034
|
+
sandbox?: string | null | undefined;
|
|
2035
|
+
lookup_key?: string | null | undefined;
|
|
1894
2036
|
metadata?: Record<string, unknown> | undefined;
|
|
1895
|
-
org_name?: string | undefined;
|
|
2037
|
+
org_name?: string | null | undefined;
|
|
1896
2038
|
acl?: {
|
|
1897
2039
|
add?: {
|
|
1898
2040
|
actions: string[];
|
|
@@ -1908,12 +2050,12 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1908
2050
|
principal_type: string;
|
|
1909
2051
|
principal?: string | undefined;
|
|
1910
2052
|
}[] | undefined;
|
|
1911
|
-
} | undefined;
|
|
1912
|
-
default_model?: string | undefined;
|
|
1913
|
-
identity?: string | undefined;
|
|
1914
|
-
last_applied_template_config?: string | undefined;
|
|
1915
|
-
originator?: string | undefined;
|
|
1916
|
-
phone_number?: string | undefined;
|
|
2053
|
+
} | null | undefined;
|
|
2054
|
+
default_model?: string | null | undefined;
|
|
2055
|
+
identity?: string | null | undefined;
|
|
2056
|
+
last_applied_template_config?: string | null | undefined;
|
|
2057
|
+
originator?: string | null | undefined;
|
|
2058
|
+
phone_number?: string | null | undefined;
|
|
1917
2059
|
source_solution?: {
|
|
1918
2060
|
solution: {
|
|
1919
2061
|
kind: string;
|
|
@@ -1921,15 +2063,15 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1921
2063
|
owners: string[];
|
|
1922
2064
|
templates: {
|
|
1923
2065
|
kind: string;
|
|
1924
|
-
description?: string | undefined;
|
|
1925
|
-
name?: string | undefined;
|
|
1926
|
-
id?: string | undefined;
|
|
1927
|
-
lookup_key?: string | undefined;
|
|
1928
|
-
virtual_path?: string | undefined;
|
|
1929
|
-
readme_url?: string | undefined;
|
|
2066
|
+
description?: string | null | undefined;
|
|
2067
|
+
name?: string | null | undefined;
|
|
2068
|
+
id?: string | null | undefined;
|
|
2069
|
+
lookup_key?: string | null | undefined;
|
|
2070
|
+
virtual_path?: string | null | undefined;
|
|
2071
|
+
readme_url?: string | null | undefined;
|
|
1930
2072
|
details?: {
|
|
1931
2073
|
type: "automation";
|
|
1932
|
-
automation_type?: string | undefined;
|
|
2074
|
+
automation_type?: string | null | undefined;
|
|
1933
2075
|
invoke_contract?: {
|
|
1934
2076
|
prefills: {
|
|
1935
2077
|
participants?: Record<string, unknown> | undefined;
|
|
@@ -1939,55 +2081,55 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1939
2081
|
name: string;
|
|
1940
2082
|
required: boolean;
|
|
1941
2083
|
type: string;
|
|
1942
|
-
description?: string | undefined;
|
|
1943
|
-
}[] | undefined;
|
|
1944
|
-
input_schema?: Record<string, unknown> | undefined;
|
|
1945
|
-
} | undefined;
|
|
1946
|
-
} | undefined;
|
|
1947
|
-
display_name?: string | undefined;
|
|
2084
|
+
description?: string | null | undefined;
|
|
2085
|
+
}[] | null | undefined;
|
|
2086
|
+
input_schema?: Record<string, unknown> | null | undefined;
|
|
2087
|
+
} | null | undefined;
|
|
2088
|
+
} | null | undefined;
|
|
2089
|
+
display_name?: string | null | undefined;
|
|
1948
2090
|
}[];
|
|
1949
2091
|
upgrade_available: boolean;
|
|
1950
|
-
org?: string | undefined;
|
|
1951
|
-
description?: string | undefined;
|
|
1952
|
-
name?: string | undefined;
|
|
2092
|
+
org?: string | null | undefined;
|
|
2093
|
+
description?: string | null | undefined;
|
|
2094
|
+
name?: string | null | undefined;
|
|
1953
2095
|
created_at?: string | undefined;
|
|
1954
2096
|
updated_at?: string | undefined;
|
|
1955
|
-
lookup_key?: string | undefined;
|
|
1956
|
-
virtual_path?: string | undefined;
|
|
2097
|
+
lookup_key?: string | null | undefined;
|
|
2098
|
+
virtual_path?: string | null | undefined;
|
|
1957
2099
|
metadata?: Record<string, unknown> | undefined;
|
|
1958
|
-
org_name?: string | undefined;
|
|
2100
|
+
org_name?: string | null | undefined;
|
|
2101
|
+
org_slug?: string | null | undefined;
|
|
1959
2102
|
category_keys?: string[] | undefined;
|
|
1960
2103
|
events?: Record<string, unknown> | undefined;
|
|
1961
|
-
image_url?: string | undefined;
|
|
1962
|
-
latest_solution?: string | undefined;
|
|
1963
|
-
latest_version?: string | undefined;
|
|
2104
|
+
image_url?: string | null | undefined;
|
|
2105
|
+
latest_solution?: string | null | undefined;
|
|
2106
|
+
latest_version?: string | null | undefined;
|
|
1964
2107
|
org_logo?: {
|
|
1965
|
-
mime_type?: string | undefined;
|
|
1966
|
-
file?: string | undefined;
|
|
1967
|
-
height?: number | undefined;
|
|
1968
|
-
media?: string | undefined;
|
|
1969
|
-
refresh_url?: string | undefined;
|
|
1970
|
-
url?: string | undefined;
|
|
1971
|
-
width?: number | undefined;
|
|
1972
|
-
} | undefined;
|
|
1973
|
-
|
|
1974
|
-
readme_url?: string | undefined;
|
|
2108
|
+
mime_type?: string | null | undefined;
|
|
2109
|
+
file?: string | null | undefined;
|
|
2110
|
+
height?: number | null | undefined;
|
|
2111
|
+
media?: string | null | undefined;
|
|
2112
|
+
refresh_url?: string | null | undefined;
|
|
2113
|
+
url?: string | null | undefined;
|
|
2114
|
+
width?: number | null | undefined;
|
|
2115
|
+
} | null | undefined;
|
|
2116
|
+
readme_url?: string | null | undefined;
|
|
1975
2117
|
screenshot_urls?: string[] | undefined;
|
|
1976
|
-
solution_id?: string | undefined;
|
|
1977
|
-
solution_version?: string | undefined;
|
|
2118
|
+
solution_id?: string | null | undefined;
|
|
2119
|
+
solution_version?: string | null | undefined;
|
|
1978
2120
|
tag_keys?: string[] | undefined;
|
|
1979
|
-
template_kind?: string | undefined;
|
|
2121
|
+
template_kind?: string | null | undefined;
|
|
1980
2122
|
};
|
|
1981
2123
|
template: {
|
|
1982
2124
|
kind: string;
|
|
1983
2125
|
id: string;
|
|
1984
|
-
description?: string | undefined;
|
|
1985
|
-
name?: string | undefined;
|
|
2126
|
+
description?: string | null | undefined;
|
|
2127
|
+
name?: string | null | undefined;
|
|
1986
2128
|
created_at?: string | undefined;
|
|
1987
2129
|
updated_at?: string | undefined;
|
|
1988
|
-
lookup_key?: string | undefined;
|
|
1989
|
-
virtual_path?: string | undefined;
|
|
1990
|
-
display_name?: string | undefined;
|
|
2130
|
+
lookup_key?: string | null | undefined;
|
|
2131
|
+
virtual_path?: string | null | undefined;
|
|
2132
|
+
display_name?: string | null | undefined;
|
|
1991
2133
|
};
|
|
1992
2134
|
current_solution?: {
|
|
1993
2135
|
kind: string;
|
|
@@ -1995,15 +2137,15 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
1995
2137
|
owners: string[];
|
|
1996
2138
|
templates: {
|
|
1997
2139
|
kind: string;
|
|
1998
|
-
description?: string | undefined;
|
|
1999
|
-
name?: string | undefined;
|
|
2000
|
-
id?: string | undefined;
|
|
2001
|
-
lookup_key?: string | undefined;
|
|
2002
|
-
virtual_path?: string | undefined;
|
|
2003
|
-
readme_url?: string | undefined;
|
|
2140
|
+
description?: string | null | undefined;
|
|
2141
|
+
name?: string | null | undefined;
|
|
2142
|
+
id?: string | null | undefined;
|
|
2143
|
+
lookup_key?: string | null | undefined;
|
|
2144
|
+
virtual_path?: string | null | undefined;
|
|
2145
|
+
readme_url?: string | null | undefined;
|
|
2004
2146
|
details?: {
|
|
2005
2147
|
type: "automation";
|
|
2006
|
-
automation_type?: string | undefined;
|
|
2148
|
+
automation_type?: string | null | undefined;
|
|
2007
2149
|
invoke_contract?: {
|
|
2008
2150
|
prefills: {
|
|
2009
2151
|
participants?: Record<string, unknown> | undefined;
|
|
@@ -2013,62 +2155,62 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2013
2155
|
name: string;
|
|
2014
2156
|
required: boolean;
|
|
2015
2157
|
type: string;
|
|
2016
|
-
description?: string | undefined;
|
|
2017
|
-
}[] | undefined;
|
|
2018
|
-
input_schema?: Record<string, unknown> | undefined;
|
|
2019
|
-
} | undefined;
|
|
2020
|
-
} | undefined;
|
|
2021
|
-
display_name?: string | undefined;
|
|
2158
|
+
description?: string | null | undefined;
|
|
2159
|
+
}[] | null | undefined;
|
|
2160
|
+
input_schema?: Record<string, unknown> | null | undefined;
|
|
2161
|
+
} | null | undefined;
|
|
2162
|
+
} | null | undefined;
|
|
2163
|
+
display_name?: string | null | undefined;
|
|
2022
2164
|
}[];
|
|
2023
2165
|
upgrade_available: boolean;
|
|
2024
|
-
org?: string | undefined;
|
|
2025
|
-
description?: string | undefined;
|
|
2026
|
-
name?: string | undefined;
|
|
2166
|
+
org?: string | null | undefined;
|
|
2167
|
+
description?: string | null | undefined;
|
|
2168
|
+
name?: string | null | undefined;
|
|
2027
2169
|
created_at?: string | undefined;
|
|
2028
2170
|
updated_at?: string | undefined;
|
|
2029
|
-
lookup_key?: string | undefined;
|
|
2030
|
-
virtual_path?: string | undefined;
|
|
2171
|
+
lookup_key?: string | null | undefined;
|
|
2172
|
+
virtual_path?: string | null | undefined;
|
|
2031
2173
|
metadata?: Record<string, unknown> | undefined;
|
|
2032
|
-
org_name?: string | undefined;
|
|
2174
|
+
org_name?: string | null | undefined;
|
|
2175
|
+
org_slug?: string | null | undefined;
|
|
2033
2176
|
category_keys?: string[] | undefined;
|
|
2034
2177
|
events?: Record<string, unknown> | undefined;
|
|
2035
|
-
image_url?: string | undefined;
|
|
2036
|
-
latest_solution?: string | undefined;
|
|
2037
|
-
latest_version?: string | undefined;
|
|
2178
|
+
image_url?: string | null | undefined;
|
|
2179
|
+
latest_solution?: string | null | undefined;
|
|
2180
|
+
latest_version?: string | null | undefined;
|
|
2038
2181
|
org_logo?: {
|
|
2039
|
-
mime_type?: string | undefined;
|
|
2040
|
-
file?: string | undefined;
|
|
2041
|
-
height?: number | undefined;
|
|
2042
|
-
media?: string | undefined;
|
|
2043
|
-
refresh_url?: string | undefined;
|
|
2044
|
-
url?: string | undefined;
|
|
2045
|
-
width?: number | undefined;
|
|
2046
|
-
} | undefined;
|
|
2047
|
-
|
|
2048
|
-
readme_url?: string | undefined;
|
|
2182
|
+
mime_type?: string | null | undefined;
|
|
2183
|
+
file?: string | null | undefined;
|
|
2184
|
+
height?: number | null | undefined;
|
|
2185
|
+
media?: string | null | undefined;
|
|
2186
|
+
refresh_url?: string | null | undefined;
|
|
2187
|
+
url?: string | null | undefined;
|
|
2188
|
+
width?: number | null | undefined;
|
|
2189
|
+
} | null | undefined;
|
|
2190
|
+
readme_url?: string | null | undefined;
|
|
2049
2191
|
screenshot_urls?: string[] | undefined;
|
|
2050
|
-
solution_id?: string | undefined;
|
|
2051
|
-
solution_version?: string | undefined;
|
|
2192
|
+
solution_id?: string | null | undefined;
|
|
2193
|
+
solution_version?: string | null | undefined;
|
|
2052
2194
|
tag_keys?: string[] | undefined;
|
|
2053
|
-
template_kind?: string | undefined;
|
|
2195
|
+
template_kind?: string | null | undefined;
|
|
2054
2196
|
} | undefined;
|
|
2055
|
-
} | undefined;
|
|
2056
|
-
template_upgrade_available?: boolean | undefined;
|
|
2197
|
+
} | null | undefined;
|
|
2198
|
+
template_upgrade_available?: boolean | null | undefined;
|
|
2057
2199
|
}, {
|
|
2058
2200
|
id: string;
|
|
2059
|
-
email?: string | undefined;
|
|
2060
|
-
team?: string | undefined;
|
|
2061
|
-
org?: string | undefined;
|
|
2062
|
-
description?: string | undefined;
|
|
2201
|
+
email?: string | null | undefined;
|
|
2202
|
+
team?: string | null | undefined;
|
|
2203
|
+
org?: string | null | undefined;
|
|
2204
|
+
description?: string | null | undefined;
|
|
2063
2205
|
name?: string | undefined;
|
|
2064
2206
|
app?: string | undefined;
|
|
2065
2207
|
created_at?: string | undefined;
|
|
2066
2208
|
updated_at?: string | undefined;
|
|
2067
|
-
user?: string | undefined;
|
|
2068
|
-
sandbox?: string | undefined;
|
|
2069
|
-
lookup_key?: string | undefined;
|
|
2209
|
+
user?: string | null | undefined;
|
|
2210
|
+
sandbox?: string | null | undefined;
|
|
2211
|
+
lookup_key?: string | null | undefined;
|
|
2070
2212
|
metadata?: Record<string, unknown> | undefined;
|
|
2071
|
-
org_name?: string | undefined;
|
|
2213
|
+
org_name?: string | null | undefined;
|
|
2072
2214
|
acl?: {
|
|
2073
2215
|
add?: {
|
|
2074
2216
|
actions: string[];
|
|
@@ -2084,12 +2226,12 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2084
2226
|
principal_type: string;
|
|
2085
2227
|
principal?: string | undefined;
|
|
2086
2228
|
}[] | undefined;
|
|
2087
|
-
} | undefined;
|
|
2088
|
-
default_model?: string | undefined;
|
|
2089
|
-
identity?: string | undefined;
|
|
2090
|
-
last_applied_template_config?: string | undefined;
|
|
2091
|
-
originator?: string | undefined;
|
|
2092
|
-
phone_number?: string | undefined;
|
|
2229
|
+
} | null | undefined;
|
|
2230
|
+
default_model?: string | null | undefined;
|
|
2231
|
+
identity?: string | null | undefined;
|
|
2232
|
+
last_applied_template_config?: string | null | undefined;
|
|
2233
|
+
originator?: string | null | undefined;
|
|
2234
|
+
phone_number?: string | null | undefined;
|
|
2093
2235
|
source_solution?: {
|
|
2094
2236
|
solution: {
|
|
2095
2237
|
kind: string;
|
|
@@ -2097,15 +2239,15 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2097
2239
|
owners: string[];
|
|
2098
2240
|
templates: {
|
|
2099
2241
|
kind: string;
|
|
2100
|
-
description?: string | undefined;
|
|
2101
|
-
name?: string | undefined;
|
|
2102
|
-
id?: string | undefined;
|
|
2103
|
-
lookup_key?: string | undefined;
|
|
2104
|
-
virtual_path?: string | undefined;
|
|
2105
|
-
readme_url?: string | undefined;
|
|
2242
|
+
description?: string | null | undefined;
|
|
2243
|
+
name?: string | null | undefined;
|
|
2244
|
+
id?: string | null | undefined;
|
|
2245
|
+
lookup_key?: string | null | undefined;
|
|
2246
|
+
virtual_path?: string | null | undefined;
|
|
2247
|
+
readme_url?: string | null | undefined;
|
|
2106
2248
|
details?: {
|
|
2107
2249
|
type: "automation";
|
|
2108
|
-
automation_type?: string | undefined;
|
|
2250
|
+
automation_type?: string | null | undefined;
|
|
2109
2251
|
invoke_contract?: {
|
|
2110
2252
|
prefills: {
|
|
2111
2253
|
participants?: Record<string, unknown> | undefined;
|
|
@@ -2115,55 +2257,55 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2115
2257
|
name: string;
|
|
2116
2258
|
required: boolean;
|
|
2117
2259
|
type: string;
|
|
2118
|
-
description?: string | undefined;
|
|
2119
|
-
}[] | undefined;
|
|
2120
|
-
input_schema?: Record<string, unknown> | undefined;
|
|
2121
|
-
} | undefined;
|
|
2122
|
-
} | undefined;
|
|
2123
|
-
display_name?: string | undefined;
|
|
2260
|
+
description?: string | null | undefined;
|
|
2261
|
+
}[] | null | undefined;
|
|
2262
|
+
input_schema?: Record<string, unknown> | null | undefined;
|
|
2263
|
+
} | null | undefined;
|
|
2264
|
+
} | null | undefined;
|
|
2265
|
+
display_name?: string | null | undefined;
|
|
2124
2266
|
}[];
|
|
2125
2267
|
upgrade_available: boolean;
|
|
2126
|
-
org?: string | undefined;
|
|
2127
|
-
description?: string | undefined;
|
|
2128
|
-
name?: string | undefined;
|
|
2268
|
+
org?: string | null | undefined;
|
|
2269
|
+
description?: string | null | undefined;
|
|
2270
|
+
name?: string | null | undefined;
|
|
2129
2271
|
created_at?: string | undefined;
|
|
2130
2272
|
updated_at?: string | undefined;
|
|
2131
|
-
lookup_key?: string | undefined;
|
|
2132
|
-
virtual_path?: string | undefined;
|
|
2273
|
+
lookup_key?: string | null | undefined;
|
|
2274
|
+
virtual_path?: string | null | undefined;
|
|
2133
2275
|
metadata?: Record<string, unknown> | undefined;
|
|
2134
|
-
org_name?: string | undefined;
|
|
2276
|
+
org_name?: string | null | undefined;
|
|
2277
|
+
org_slug?: string | null | undefined;
|
|
2135
2278
|
category_keys?: string[] | undefined;
|
|
2136
2279
|
events?: Record<string, unknown> | undefined;
|
|
2137
|
-
image_url?: string | undefined;
|
|
2138
|
-
latest_solution?: string | undefined;
|
|
2139
|
-
latest_version?: string | undefined;
|
|
2280
|
+
image_url?: string | null | undefined;
|
|
2281
|
+
latest_solution?: string | null | undefined;
|
|
2282
|
+
latest_version?: string | null | undefined;
|
|
2140
2283
|
org_logo?: {
|
|
2141
|
-
mime_type?: string | undefined;
|
|
2142
|
-
file?: string | undefined;
|
|
2143
|
-
height?: number | undefined;
|
|
2144
|
-
media?: string | undefined;
|
|
2145
|
-
refresh_url?: string | undefined;
|
|
2146
|
-
url?: string | undefined;
|
|
2147
|
-
width?: number | undefined;
|
|
2148
|
-
} | undefined;
|
|
2149
|
-
|
|
2150
|
-
readme_url?: string | undefined;
|
|
2284
|
+
mime_type?: string | null | undefined;
|
|
2285
|
+
file?: string | null | undefined;
|
|
2286
|
+
height?: number | null | undefined;
|
|
2287
|
+
media?: string | null | undefined;
|
|
2288
|
+
refresh_url?: string | null | undefined;
|
|
2289
|
+
url?: string | null | undefined;
|
|
2290
|
+
width?: number | null | undefined;
|
|
2291
|
+
} | null | undefined;
|
|
2292
|
+
readme_url?: string | null | undefined;
|
|
2151
2293
|
screenshot_urls?: string[] | undefined;
|
|
2152
|
-
solution_id?: string | undefined;
|
|
2153
|
-
solution_version?: string | undefined;
|
|
2294
|
+
solution_id?: string | null | undefined;
|
|
2295
|
+
solution_version?: string | null | undefined;
|
|
2154
2296
|
tag_keys?: string[] | undefined;
|
|
2155
|
-
template_kind?: string | undefined;
|
|
2297
|
+
template_kind?: string | null | undefined;
|
|
2156
2298
|
};
|
|
2157
2299
|
template: {
|
|
2158
2300
|
kind: string;
|
|
2159
2301
|
id: string;
|
|
2160
|
-
description?: string | undefined;
|
|
2161
|
-
name?: string | undefined;
|
|
2302
|
+
description?: string | null | undefined;
|
|
2303
|
+
name?: string | null | undefined;
|
|
2162
2304
|
created_at?: string | undefined;
|
|
2163
2305
|
updated_at?: string | undefined;
|
|
2164
|
-
lookup_key?: string | undefined;
|
|
2165
|
-
virtual_path?: string | undefined;
|
|
2166
|
-
display_name?: string | undefined;
|
|
2306
|
+
lookup_key?: string | null | undefined;
|
|
2307
|
+
virtual_path?: string | null | undefined;
|
|
2308
|
+
display_name?: string | null | undefined;
|
|
2167
2309
|
};
|
|
2168
2310
|
current_solution?: {
|
|
2169
2311
|
kind: string;
|
|
@@ -2171,15 +2313,15 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2171
2313
|
owners: string[];
|
|
2172
2314
|
templates: {
|
|
2173
2315
|
kind: string;
|
|
2174
|
-
description?: string | undefined;
|
|
2175
|
-
name?: string | undefined;
|
|
2176
|
-
id?: string | undefined;
|
|
2177
|
-
lookup_key?: string | undefined;
|
|
2178
|
-
virtual_path?: string | undefined;
|
|
2179
|
-
readme_url?: string | undefined;
|
|
2316
|
+
description?: string | null | undefined;
|
|
2317
|
+
name?: string | null | undefined;
|
|
2318
|
+
id?: string | null | undefined;
|
|
2319
|
+
lookup_key?: string | null | undefined;
|
|
2320
|
+
virtual_path?: string | null | undefined;
|
|
2321
|
+
readme_url?: string | null | undefined;
|
|
2180
2322
|
details?: {
|
|
2181
2323
|
type: "automation";
|
|
2182
|
-
automation_type?: string | undefined;
|
|
2324
|
+
automation_type?: string | null | undefined;
|
|
2183
2325
|
invoke_contract?: {
|
|
2184
2326
|
prefills: {
|
|
2185
2327
|
participants?: Record<string, unknown> | undefined;
|
|
@@ -2189,147 +2331,179 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2189
2331
|
name: string;
|
|
2190
2332
|
required: boolean;
|
|
2191
2333
|
type: string;
|
|
2192
|
-
description?: string | undefined;
|
|
2193
|
-
}[] | undefined;
|
|
2194
|
-
input_schema?: Record<string, unknown> | undefined;
|
|
2195
|
-
} | undefined;
|
|
2196
|
-
} | undefined;
|
|
2197
|
-
display_name?: string | undefined;
|
|
2334
|
+
description?: string | null | undefined;
|
|
2335
|
+
}[] | null | undefined;
|
|
2336
|
+
input_schema?: Record<string, unknown> | null | undefined;
|
|
2337
|
+
} | null | undefined;
|
|
2338
|
+
} | null | undefined;
|
|
2339
|
+
display_name?: string | null | undefined;
|
|
2198
2340
|
}[];
|
|
2199
2341
|
upgrade_available: boolean;
|
|
2200
|
-
org?: string | undefined;
|
|
2201
|
-
description?: string | undefined;
|
|
2202
|
-
name?: string | undefined;
|
|
2342
|
+
org?: string | null | undefined;
|
|
2343
|
+
description?: string | null | undefined;
|
|
2344
|
+
name?: string | null | undefined;
|
|
2203
2345
|
created_at?: string | undefined;
|
|
2204
2346
|
updated_at?: string | undefined;
|
|
2205
|
-
lookup_key?: string | undefined;
|
|
2206
|
-
virtual_path?: string | undefined;
|
|
2347
|
+
lookup_key?: string | null | undefined;
|
|
2348
|
+
virtual_path?: string | null | undefined;
|
|
2207
2349
|
metadata?: Record<string, unknown> | undefined;
|
|
2208
|
-
org_name?: string | undefined;
|
|
2350
|
+
org_name?: string | null | undefined;
|
|
2351
|
+
org_slug?: string | null | undefined;
|
|
2209
2352
|
category_keys?: string[] | undefined;
|
|
2210
2353
|
events?: Record<string, unknown> | undefined;
|
|
2211
|
-
image_url?: string | undefined;
|
|
2212
|
-
latest_solution?: string | undefined;
|
|
2213
|
-
latest_version?: string | undefined;
|
|
2354
|
+
image_url?: string | null | undefined;
|
|
2355
|
+
latest_solution?: string | null | undefined;
|
|
2356
|
+
latest_version?: string | null | undefined;
|
|
2214
2357
|
org_logo?: {
|
|
2215
|
-
mime_type?: string | undefined;
|
|
2216
|
-
file?: string | undefined;
|
|
2217
|
-
height?: number | undefined;
|
|
2218
|
-
media?: string | undefined;
|
|
2219
|
-
refresh_url?: string | undefined;
|
|
2220
|
-
url?: string | undefined;
|
|
2221
|
-
width?: number | undefined;
|
|
2222
|
-
} | undefined;
|
|
2223
|
-
|
|
2224
|
-
readme_url?: string | undefined;
|
|
2358
|
+
mime_type?: string | null | undefined;
|
|
2359
|
+
file?: string | null | undefined;
|
|
2360
|
+
height?: number | null | undefined;
|
|
2361
|
+
media?: string | null | undefined;
|
|
2362
|
+
refresh_url?: string | null | undefined;
|
|
2363
|
+
url?: string | null | undefined;
|
|
2364
|
+
width?: number | null | undefined;
|
|
2365
|
+
} | null | undefined;
|
|
2366
|
+
readme_url?: string | null | undefined;
|
|
2225
2367
|
screenshot_urls?: string[] | undefined;
|
|
2226
|
-
solution_id?: string | undefined;
|
|
2227
|
-
solution_version?: string | undefined;
|
|
2368
|
+
solution_id?: string | null | undefined;
|
|
2369
|
+
solution_version?: string | null | undefined;
|
|
2228
2370
|
tag_keys?: string[] | undefined;
|
|
2229
|
-
template_kind?: string | undefined;
|
|
2371
|
+
template_kind?: string | null | undefined;
|
|
2230
2372
|
} | undefined;
|
|
2231
|
-
} | undefined;
|
|
2232
|
-
template_upgrade_available?: boolean | undefined;
|
|
2233
|
-
}>, "many"
|
|
2373
|
+
} | null | undefined;
|
|
2374
|
+
template_upgrade_available?: boolean | null | undefined;
|
|
2375
|
+
}>, "many">>>;
|
|
2234
2376
|
/** The authenticated user's membership role in this thread, e.g. `"owner"`, `"member"`, or `"viewer"`. `null` if the user is not a member. */
|
|
2235
|
-
role: z.ZodOptional<z.ZodString
|
|
2377
|
+
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2236
2378
|
/** ID of the developer sandbox this thread is scoped to (`dsb_...`). `null` for production threads. */
|
|
2237
|
-
sandbox: z.ZodOptional<z.ZodString
|
|
2379
|
+
sandbox: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2238
2380
|
/** Per-thread configuration settings controlling AI agent behavior for this thread. */
|
|
2239
2381
|
settings: z.ZodOptional<z.ZodObject<{
|
|
2240
|
-
/** Whether the AI agent is active for this thread. `true` enables AI responses; `false` disables them. Defaults to `true` when settings have not been explicitly configured. */
|
|
2241
|
-
agent_enabled: z.ZodOptional<z.ZodBoolean
|
|
2382
|
+
/** Whether the AI agent is active for this thread. `true` enables AI responses; `false` disables them. Defaults to `true` when settings have not been explicitly configured. `null` when a client explicitly cleared the setting. */
|
|
2383
|
+
agent_enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2242
2384
|
}, "strip", z.ZodTypeAny, {
|
|
2243
|
-
agent_enabled?: boolean | undefined;
|
|
2385
|
+
agent_enabled?: boolean | null | undefined;
|
|
2244
2386
|
}, {
|
|
2245
|
-
agent_enabled?: boolean | undefined;
|
|
2387
|
+
agent_enabled?: boolean | null | undefined;
|
|
2246
2388
|
}>>;
|
|
2247
2389
|
/** URL-safe slug for the thread, used in human-readable permalinks. `null` if not assigned. */
|
|
2248
|
-
slug: z.ZodOptional<z.ZodString
|
|
2390
|
+
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2249
2391
|
/** Threads that are nested under this thread as replies to a parent message. Present only when sub-thread enrichment is requested. */
|
|
2250
|
-
sub_threads: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many"
|
|
2392
|
+
sub_threads: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>>;
|
|
2251
2393
|
/** 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. */
|
|
2252
2394
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2253
2395
|
/** ID of the team that owns this thread (`team_...`). `null` for user-owned or agent-owned threads. */
|
|
2254
|
-
team: z.ZodOptional<z.ZodString
|
|
2396
|
+
team: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2255
2397
|
/** Human-readable name of the thread. `null` if no title has been set. */
|
|
2256
|
-
title: z.ZodOptional<z.ZodString
|
|
2257
|
-
/**
|
|
2258
|
-
ttl: z.ZodOptional<z.
|
|
2398
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2399
|
+
/** Offset-free expiry timestamp after which the thread may be automatically cleaned up. `null` if the thread does not expire. */
|
|
2400
|
+
ttl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2259
2401
|
/** Number of messages in this thread that the authenticated user has not yet read. Present only when read-state enrichment is requested. */
|
|
2260
|
-
unread_count: z.ZodOptional<z.ZodNumber
|
|
2402
|
+
unread_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2261
2403
|
/** When the thread was last modified (ISO 8601). */
|
|
2262
2404
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
2263
2405
|
/** ID of the user who owns this thread (`usr_...`). `null` for team-owned or agent-owned threads. */
|
|
2264
|
-
user: z.ZodOptional<z.ZodString
|
|
2406
|
+
user: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2265
2407
|
/** 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. */
|
|
2266
2408
|
visibility: z.ZodEnum<["team", "restricted", "private"]>;
|
|
2267
2409
|
}, "strip", z.ZodTypeAny, {
|
|
2268
2410
|
id: string;
|
|
2269
2411
|
visibility: "team" | "private" | "restricted";
|
|
2270
|
-
key?: string | undefined;
|
|
2271
|
-
kind?: string | undefined;
|
|
2272
|
-
team?: string | undefined;
|
|
2273
|
-
org?: string | undefined;
|
|
2274
|
-
description?: string | undefined;
|
|
2412
|
+
key?: string | null | undefined;
|
|
2413
|
+
kind?: string | null | undefined;
|
|
2414
|
+
team?: string | null | undefined;
|
|
2415
|
+
org?: string | null | undefined;
|
|
2416
|
+
description?: string | null | undefined;
|
|
2275
2417
|
participants?: {
|
|
2276
2418
|
id: string;
|
|
2277
|
-
email?: string | undefined;
|
|
2278
|
-
alias?: string | undefined;
|
|
2279
|
-
org?: string | undefined;
|
|
2280
|
-
name?: string | undefined;
|
|
2281
|
-
app?: string | undefined;
|
|
2282
|
-
sandbox?: string | undefined;
|
|
2283
|
-
app_name?: string | undefined;
|
|
2419
|
+
email?: string | null | undefined;
|
|
2420
|
+
alias?: string | null | undefined;
|
|
2421
|
+
org?: string | null | undefined;
|
|
2422
|
+
name?: string | null | undefined;
|
|
2423
|
+
app?: string | null | undefined;
|
|
2424
|
+
sandbox?: string | null | undefined;
|
|
2425
|
+
app_name?: string | null | undefined;
|
|
2426
|
+
created_by_agent_user?: string | null | undefined;
|
|
2427
|
+
created_by_developer?: string | null | undefined;
|
|
2428
|
+
created_by_org?: string | null | undefined;
|
|
2429
|
+
created_by_team?: string | null | undefined;
|
|
2430
|
+
created_by_user?: string | null | undefined;
|
|
2284
2431
|
is_system_user?: boolean | undefined;
|
|
2285
2432
|
metadata?: Record<string, unknown> | undefined;
|
|
2286
|
-
org_name?: string | undefined;
|
|
2287
|
-
org_role?: string | undefined;
|
|
2288
|
-
|
|
2433
|
+
org_name?: string | null | undefined;
|
|
2434
|
+
org_role?: string | null | undefined;
|
|
2435
|
+
org_slug?: string | null | undefined;
|
|
2436
|
+
sandbox_name?: string | null | undefined;
|
|
2289
2437
|
}[] | undefined;
|
|
2290
2438
|
created_at?: string | undefined;
|
|
2291
2439
|
updated_at?: string | undefined;
|
|
2292
|
-
user?: string | undefined;
|
|
2293
|
-
sandbox?: string | undefined;
|
|
2294
|
-
metadata?: Record<string, unknown> | undefined;
|
|
2295
|
-
title?: string | undefined;
|
|
2296
|
-
slug?: string | undefined;
|
|
2440
|
+
user?: string | null | undefined;
|
|
2441
|
+
sandbox?: string | null | undefined;
|
|
2442
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
2443
|
+
title?: string | null | undefined;
|
|
2444
|
+
slug?: string | null | undefined;
|
|
2297
2445
|
muted?: boolean | undefined;
|
|
2298
|
-
role?: string | undefined;
|
|
2299
|
-
agent_user?: string | undefined;
|
|
2446
|
+
role?: string | null | undefined;
|
|
2447
|
+
agent_user?: string | null | undefined;
|
|
2300
2448
|
creator?: string | {
|
|
2301
2449
|
id: string;
|
|
2302
|
-
email?: string | undefined;
|
|
2303
|
-
alias?: string | undefined;
|
|
2304
|
-
org?: string | undefined;
|
|
2305
|
-
name?: string | undefined;
|
|
2306
|
-
app?: string | undefined;
|
|
2307
|
-
sandbox?: string | undefined;
|
|
2308
|
-
app_name?: string | undefined;
|
|
2450
|
+
email?: string | null | undefined;
|
|
2451
|
+
alias?: string | null | undefined;
|
|
2452
|
+
org?: string | null | undefined;
|
|
2453
|
+
name?: string | null | undefined;
|
|
2454
|
+
app?: string | null | undefined;
|
|
2455
|
+
sandbox?: string | null | undefined;
|
|
2456
|
+
app_name?: string | null | undefined;
|
|
2457
|
+
created_by_agent_user?: string | null | undefined;
|
|
2458
|
+
created_by_developer?: string | null | undefined;
|
|
2459
|
+
created_by_org?: string | null | undefined;
|
|
2460
|
+
created_by_team?: string | null | undefined;
|
|
2461
|
+
created_by_user?: string | null | undefined;
|
|
2309
2462
|
is_system_user?: boolean | undefined;
|
|
2310
2463
|
metadata?: Record<string, unknown> | undefined;
|
|
2311
|
-
org_name?: string | undefined;
|
|
2312
|
-
org_role?: string | undefined;
|
|
2313
|
-
|
|
2314
|
-
|
|
2464
|
+
org_name?: string | null | undefined;
|
|
2465
|
+
org_role?: string | null | undefined;
|
|
2466
|
+
org_slug?: string | null | undefined;
|
|
2467
|
+
sandbox_name?: string | null | undefined;
|
|
2468
|
+
} | null | undefined;
|
|
2315
2469
|
is_channel?: boolean | undefined;
|
|
2316
2470
|
is_default?: boolean | undefined;
|
|
2317
2471
|
is_transient?: boolean | undefined;
|
|
2318
2472
|
is_unlisted?: boolean | undefined;
|
|
2319
|
-
last_activity?: string | undefined;
|
|
2320
|
-
last_message_preview?: string | undefined;
|
|
2321
|
-
last_message_sender?: string | undefined;
|
|
2473
|
+
last_activity?: string | null | undefined;
|
|
2474
|
+
last_message_preview?: string | null | undefined;
|
|
2475
|
+
last_message_sender?: string | null | undefined;
|
|
2322
2476
|
parent_message?: {
|
|
2323
2477
|
id: string;
|
|
2324
|
-
content?: string | undefined;
|
|
2325
|
-
agent?: string | undefined;
|
|
2478
|
+
content?: string | null | undefined;
|
|
2479
|
+
agent?: string | null | undefined;
|
|
2326
2480
|
thread?: string | undefined;
|
|
2327
|
-
team?: string | undefined;
|
|
2328
|
-
org?: string | undefined;
|
|
2329
|
-
type?: string | undefined;
|
|
2481
|
+
team?: string | null | undefined;
|
|
2482
|
+
org?: string | null | undefined;
|
|
2483
|
+
type?: string | null | undefined;
|
|
2330
2484
|
created_at?: string | undefined;
|
|
2331
|
-
user?: string |
|
|
2332
|
-
|
|
2485
|
+
user?: string | {
|
|
2486
|
+
id: string;
|
|
2487
|
+
email?: string | null | undefined;
|
|
2488
|
+
alias?: string | null | undefined;
|
|
2489
|
+
org?: string | null | undefined;
|
|
2490
|
+
name?: string | null | undefined;
|
|
2491
|
+
app?: string | null | undefined;
|
|
2492
|
+
sandbox?: string | null | undefined;
|
|
2493
|
+
app_name?: string | null | undefined;
|
|
2494
|
+
created_by_agent_user?: string | null | undefined;
|
|
2495
|
+
created_by_developer?: string | null | undefined;
|
|
2496
|
+
created_by_org?: string | null | undefined;
|
|
2497
|
+
created_by_team?: string | null | undefined;
|
|
2498
|
+
created_by_user?: string | null | undefined;
|
|
2499
|
+
is_system_user?: boolean | undefined;
|
|
2500
|
+
metadata?: Record<string, unknown> | undefined;
|
|
2501
|
+
org_name?: string | null | undefined;
|
|
2502
|
+
org_role?: string | null | undefined;
|
|
2503
|
+
org_slug?: string | null | undefined;
|
|
2504
|
+
sandbox_name?: string | null | undefined;
|
|
2505
|
+
} | null | undefined;
|
|
2506
|
+
sandbox?: string | null | undefined;
|
|
2333
2507
|
metadata?: Record<string, unknown> | undefined;
|
|
2334
2508
|
acl?: {
|
|
2335
2509
|
add?: {
|
|
@@ -2346,106 +2520,106 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2346
2520
|
principal_type: string;
|
|
2347
2521
|
principal?: string | undefined;
|
|
2348
2522
|
}[] | undefined;
|
|
2349
|
-
} | undefined;
|
|
2523
|
+
} | null | undefined;
|
|
2350
2524
|
attachments?: {
|
|
2351
2525
|
type: string;
|
|
2352
2526
|
id: string;
|
|
2353
2527
|
object?: Record<string, unknown> | undefined;
|
|
2354
|
-
description?: string | undefined;
|
|
2355
|
-
name?: string | undefined;
|
|
2356
|
-
height?: number | undefined;
|
|
2357
|
-
url?: string | undefined;
|
|
2358
|
-
width?: number | undefined;
|
|
2359
|
-
image_url?: string | undefined;
|
|
2360
|
-
title?: string | undefined;
|
|
2361
|
-
content_type?: string | undefined;
|
|
2362
|
-
filename?: string | undefined;
|
|
2528
|
+
description?: string | null | undefined;
|
|
2529
|
+
name?: string | null | undefined;
|
|
2530
|
+
height?: number | null | undefined;
|
|
2531
|
+
url?: string | null | undefined;
|
|
2532
|
+
width?: number | null | undefined;
|
|
2533
|
+
image_url?: string | null | undefined;
|
|
2534
|
+
title?: string | null | undefined;
|
|
2535
|
+
content_type?: string | null | undefined;
|
|
2536
|
+
filename?: string | null | undefined;
|
|
2363
2537
|
image_source?: {
|
|
2364
|
-
mime_type?: string | undefined;
|
|
2365
|
-
file?: string | undefined;
|
|
2366
|
-
height?: number | undefined;
|
|
2367
|
-
media?: string | undefined;
|
|
2368
|
-
refresh_url?: string | undefined;
|
|
2369
|
-
url?: string | undefined;
|
|
2370
|
-
width?: number | undefined;
|
|
2371
|
-
} | undefined;
|
|
2372
|
-
image_height?: number | undefined;
|
|
2373
|
-
image_width?: number | undefined;
|
|
2538
|
+
mime_type?: string | null | undefined;
|
|
2539
|
+
file?: string | null | undefined;
|
|
2540
|
+
height?: number | null | undefined;
|
|
2541
|
+
media?: string | null | undefined;
|
|
2542
|
+
refresh_url?: string | null | undefined;
|
|
2543
|
+
url?: string | null | undefined;
|
|
2544
|
+
width?: number | null | undefined;
|
|
2545
|
+
} | null | undefined;
|
|
2546
|
+
image_height?: number | null | undefined;
|
|
2547
|
+
image_width?: number | null | undefined;
|
|
2374
2548
|
media_type?: string | undefined;
|
|
2375
2549
|
variants?: {
|
|
2376
2550
|
id: string;
|
|
2377
2551
|
created_at?: string | undefined;
|
|
2378
2552
|
updated_at?: string | undefined;
|
|
2379
2553
|
file?: string | undefined;
|
|
2380
|
-
height?: number | undefined;
|
|
2381
|
-
url?: string | undefined;
|
|
2382
|
-
width?: number | undefined;
|
|
2383
|
-
content_type?: string | undefined;
|
|
2384
|
-
filename?: string | undefined;
|
|
2554
|
+
height?: number | null | undefined;
|
|
2555
|
+
url?: string | null | undefined;
|
|
2556
|
+
width?: number | null | undefined;
|
|
2557
|
+
content_type?: string | null | undefined;
|
|
2558
|
+
filename?: string | null | undefined;
|
|
2385
2559
|
image_source?: {
|
|
2386
|
-
mime_type?: string | undefined;
|
|
2387
|
-
file?: string | undefined;
|
|
2388
|
-
height?: number | undefined;
|
|
2389
|
-
media?: string | undefined;
|
|
2390
|
-
refresh_url?: string | undefined;
|
|
2391
|
-
url?: string | undefined;
|
|
2392
|
-
width?: number | undefined;
|
|
2393
|
-
} | undefined;
|
|
2560
|
+
mime_type?: string | null | undefined;
|
|
2561
|
+
file?: string | null | undefined;
|
|
2562
|
+
height?: number | null | undefined;
|
|
2563
|
+
media?: string | null | undefined;
|
|
2564
|
+
refresh_url?: string | null | undefined;
|
|
2565
|
+
url?: string | null | undefined;
|
|
2566
|
+
width?: number | null | undefined;
|
|
2567
|
+
} | null | undefined;
|
|
2394
2568
|
variant_key?: string | undefined;
|
|
2395
2569
|
}[] | undefined;
|
|
2396
|
-
version?: number | undefined;
|
|
2570
|
+
version?: number | null | undefined;
|
|
2397
2571
|
}[] | undefined;
|
|
2398
2572
|
visibility?: "default" | "private" | undefined;
|
|
2399
2573
|
actors?: {
|
|
2400
|
-
alias?: string | undefined;
|
|
2401
|
-
name?: string | undefined;
|
|
2402
|
-
id?: string | undefined;
|
|
2574
|
+
alias?: string | null | undefined;
|
|
2575
|
+
name?: string | null | undefined;
|
|
2576
|
+
id?: string | null | undefined;
|
|
2403
2577
|
profile_picture?: {
|
|
2404
|
-
mime_type?: string | undefined;
|
|
2405
|
-
file?: string | undefined;
|
|
2406
|
-
height?: number | undefined;
|
|
2407
|
-
media?: string | undefined;
|
|
2408
|
-
refresh_url?: string | undefined;
|
|
2409
|
-
url?: string | undefined;
|
|
2410
|
-
width?: number | undefined;
|
|
2411
|
-
} | undefined;
|
|
2578
|
+
mime_type?: string | null | undefined;
|
|
2579
|
+
file?: string | null | undefined;
|
|
2580
|
+
height?: number | null | undefined;
|
|
2581
|
+
media?: string | null | undefined;
|
|
2582
|
+
refresh_url?: string | null | undefined;
|
|
2583
|
+
url?: string | null | undefined;
|
|
2584
|
+
width?: number | null | undefined;
|
|
2585
|
+
} | null | undefined;
|
|
2412
2586
|
}[] | undefined;
|
|
2413
|
-
agent_mode?: "cli" | "embedded" | undefined;
|
|
2414
|
-
branched_thread?: string | undefined;
|
|
2587
|
+
agent_mode?: "cli" | "embedded" | null | undefined;
|
|
2588
|
+
branched_thread?: string | null | undefined;
|
|
2415
2589
|
has_replies?: boolean | undefined;
|
|
2416
|
-
idempotency_key?: string | undefined;
|
|
2590
|
+
idempotency_key?: string | null | undefined;
|
|
2417
2591
|
is_deleted?: boolean | undefined;
|
|
2418
|
-
legacy_agent?: string | undefined;
|
|
2592
|
+
legacy_agent?: string | null | undefined;
|
|
2419
2593
|
reactions?: {
|
|
2420
2594
|
type: string;
|
|
2421
2595
|
payload?: Record<string, unknown> | undefined;
|
|
2422
2596
|
user?: string | undefined;
|
|
2423
2597
|
}[] | undefined;
|
|
2424
|
-
rendering_mode?: string | undefined;
|
|
2598
|
+
rendering_mode?: string | null | undefined;
|
|
2425
2599
|
replies?: Record<string, unknown>[] | undefined;
|
|
2426
|
-
replies_after_cursor?: string | undefined;
|
|
2427
|
-
replies_before_cursor?: string | undefined;
|
|
2600
|
+
replies_after_cursor?: string | null | undefined;
|
|
2601
|
+
replies_before_cursor?: string | null | undefined;
|
|
2428
2602
|
reply_count?: number | undefined;
|
|
2429
|
-
reply_to?: Record<string, unknown> | undefined;
|
|
2603
|
+
reply_to?: Record<string, unknown> | null | undefined;
|
|
2430
2604
|
root_message_id?: string | null | undefined;
|
|
2431
|
-
} | undefined;
|
|
2605
|
+
} | null | undefined;
|
|
2432
2606
|
participant?: string[] | undefined;
|
|
2433
2607
|
participating_actor?: string[] | undefined;
|
|
2434
2608
|
participating_agents?: {
|
|
2435
2609
|
id: string;
|
|
2436
|
-
email?: string | undefined;
|
|
2437
|
-
team?: string | undefined;
|
|
2438
|
-
org?: string | undefined;
|
|
2439
|
-
description?: string | undefined;
|
|
2610
|
+
email?: string | null | undefined;
|
|
2611
|
+
team?: string | null | undefined;
|
|
2612
|
+
org?: string | null | undefined;
|
|
2613
|
+
description?: string | null | undefined;
|
|
2440
2614
|
name?: string | undefined;
|
|
2441
2615
|
app?: string | undefined;
|
|
2442
2616
|
created_at?: string | undefined;
|
|
2443
2617
|
updated_at?: string | undefined;
|
|
2444
|
-
user?: string | undefined;
|
|
2445
|
-
sandbox?: string | undefined;
|
|
2446
|
-
lookup_key?: string | undefined;
|
|
2618
|
+
user?: string | null | undefined;
|
|
2619
|
+
sandbox?: string | null | undefined;
|
|
2620
|
+
lookup_key?: string | null | undefined;
|
|
2447
2621
|
metadata?: Record<string, unknown> | undefined;
|
|
2448
|
-
org_name?: string | undefined;
|
|
2622
|
+
org_name?: string | null | undefined;
|
|
2449
2623
|
acl?: {
|
|
2450
2624
|
add?: {
|
|
2451
2625
|
actions: string[];
|
|
@@ -2461,12 +2635,12 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2461
2635
|
principal_type: string;
|
|
2462
2636
|
principal?: string | undefined;
|
|
2463
2637
|
}[] | undefined;
|
|
2464
|
-
} | undefined;
|
|
2465
|
-
default_model?: string | undefined;
|
|
2466
|
-
identity?: string | undefined;
|
|
2467
|
-
last_applied_template_config?: string | undefined;
|
|
2468
|
-
originator?: string | undefined;
|
|
2469
|
-
phone_number?: string | undefined;
|
|
2638
|
+
} | null | undefined;
|
|
2639
|
+
default_model?: string | null | undefined;
|
|
2640
|
+
identity?: string | null | undefined;
|
|
2641
|
+
last_applied_template_config?: string | null | undefined;
|
|
2642
|
+
originator?: string | null | undefined;
|
|
2643
|
+
phone_number?: string | null | undefined;
|
|
2470
2644
|
source_solution?: {
|
|
2471
2645
|
solution: {
|
|
2472
2646
|
kind: string;
|
|
@@ -2474,15 +2648,15 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2474
2648
|
owners: string[];
|
|
2475
2649
|
templates: {
|
|
2476
2650
|
kind: string;
|
|
2477
|
-
description?: string | undefined;
|
|
2478
|
-
name?: string | undefined;
|
|
2479
|
-
id?: string | undefined;
|
|
2480
|
-
lookup_key?: string | undefined;
|
|
2481
|
-
virtual_path?: string | undefined;
|
|
2482
|
-
readme_url?: string | undefined;
|
|
2651
|
+
description?: string | null | undefined;
|
|
2652
|
+
name?: string | null | undefined;
|
|
2653
|
+
id?: string | null | undefined;
|
|
2654
|
+
lookup_key?: string | null | undefined;
|
|
2655
|
+
virtual_path?: string | null | undefined;
|
|
2656
|
+
readme_url?: string | null | undefined;
|
|
2483
2657
|
details?: {
|
|
2484
2658
|
type: "automation";
|
|
2485
|
-
automation_type?: string | undefined;
|
|
2659
|
+
automation_type?: string | null | undefined;
|
|
2486
2660
|
invoke_contract?: {
|
|
2487
2661
|
prefills: {
|
|
2488
2662
|
participants?: Record<string, unknown> | undefined;
|
|
@@ -2492,55 +2666,55 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2492
2666
|
name: string;
|
|
2493
2667
|
required: boolean;
|
|
2494
2668
|
type: string;
|
|
2495
|
-
description?: string | undefined;
|
|
2496
|
-
}[] | undefined;
|
|
2497
|
-
input_schema?: Record<string, unknown> | undefined;
|
|
2498
|
-
} | undefined;
|
|
2499
|
-
} | undefined;
|
|
2500
|
-
display_name?: string | undefined;
|
|
2669
|
+
description?: string | null | undefined;
|
|
2670
|
+
}[] | null | undefined;
|
|
2671
|
+
input_schema?: Record<string, unknown> | null | undefined;
|
|
2672
|
+
} | null | undefined;
|
|
2673
|
+
} | null | undefined;
|
|
2674
|
+
display_name?: string | null | undefined;
|
|
2501
2675
|
}[];
|
|
2502
2676
|
upgrade_available: boolean;
|
|
2503
|
-
org?: string | undefined;
|
|
2504
|
-
description?: string | undefined;
|
|
2505
|
-
name?: string | undefined;
|
|
2677
|
+
org?: string | null | undefined;
|
|
2678
|
+
description?: string | null | undefined;
|
|
2679
|
+
name?: string | null | undefined;
|
|
2506
2680
|
created_at?: string | undefined;
|
|
2507
2681
|
updated_at?: string | undefined;
|
|
2508
|
-
lookup_key?: string | undefined;
|
|
2509
|
-
virtual_path?: string | undefined;
|
|
2682
|
+
lookup_key?: string | null | undefined;
|
|
2683
|
+
virtual_path?: string | null | undefined;
|
|
2510
2684
|
metadata?: Record<string, unknown> | undefined;
|
|
2511
|
-
org_name?: string | undefined;
|
|
2685
|
+
org_name?: string | null | undefined;
|
|
2686
|
+
org_slug?: string | null | undefined;
|
|
2512
2687
|
category_keys?: string[] | undefined;
|
|
2513
2688
|
events?: Record<string, unknown> | undefined;
|
|
2514
|
-
image_url?: string | undefined;
|
|
2515
|
-
latest_solution?: string | undefined;
|
|
2516
|
-
latest_version?: string | undefined;
|
|
2689
|
+
image_url?: string | null | undefined;
|
|
2690
|
+
latest_solution?: string | null | undefined;
|
|
2691
|
+
latest_version?: string | null | undefined;
|
|
2517
2692
|
org_logo?: {
|
|
2518
|
-
mime_type?: string | undefined;
|
|
2519
|
-
file?: string | undefined;
|
|
2520
|
-
height?: number | undefined;
|
|
2521
|
-
media?: string | undefined;
|
|
2522
|
-
refresh_url?: string | undefined;
|
|
2523
|
-
url?: string | undefined;
|
|
2524
|
-
width?: number | undefined;
|
|
2525
|
-
} | undefined;
|
|
2526
|
-
|
|
2527
|
-
readme_url?: string | undefined;
|
|
2693
|
+
mime_type?: string | null | undefined;
|
|
2694
|
+
file?: string | null | undefined;
|
|
2695
|
+
height?: number | null | undefined;
|
|
2696
|
+
media?: string | null | undefined;
|
|
2697
|
+
refresh_url?: string | null | undefined;
|
|
2698
|
+
url?: string | null | undefined;
|
|
2699
|
+
width?: number | null | undefined;
|
|
2700
|
+
} | null | undefined;
|
|
2701
|
+
readme_url?: string | null | undefined;
|
|
2528
2702
|
screenshot_urls?: string[] | undefined;
|
|
2529
|
-
solution_id?: string | undefined;
|
|
2530
|
-
solution_version?: string | undefined;
|
|
2703
|
+
solution_id?: string | null | undefined;
|
|
2704
|
+
solution_version?: string | null | undefined;
|
|
2531
2705
|
tag_keys?: string[] | undefined;
|
|
2532
|
-
template_kind?: string | undefined;
|
|
2706
|
+
template_kind?: string | null | undefined;
|
|
2533
2707
|
};
|
|
2534
2708
|
template: {
|
|
2535
2709
|
kind: string;
|
|
2536
2710
|
id: string;
|
|
2537
|
-
description?: string | undefined;
|
|
2538
|
-
name?: string | undefined;
|
|
2711
|
+
description?: string | null | undefined;
|
|
2712
|
+
name?: string | null | undefined;
|
|
2539
2713
|
created_at?: string | undefined;
|
|
2540
2714
|
updated_at?: string | undefined;
|
|
2541
|
-
lookup_key?: string | undefined;
|
|
2542
|
-
virtual_path?: string | undefined;
|
|
2543
|
-
display_name?: string | undefined;
|
|
2715
|
+
lookup_key?: string | null | undefined;
|
|
2716
|
+
virtual_path?: string | null | undefined;
|
|
2717
|
+
display_name?: string | null | undefined;
|
|
2544
2718
|
};
|
|
2545
2719
|
current_solution?: {
|
|
2546
2720
|
kind: string;
|
|
@@ -2548,15 +2722,15 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2548
2722
|
owners: string[];
|
|
2549
2723
|
templates: {
|
|
2550
2724
|
kind: string;
|
|
2551
|
-
description?: string | undefined;
|
|
2552
|
-
name?: string | undefined;
|
|
2553
|
-
id?: string | undefined;
|
|
2554
|
-
lookup_key?: string | undefined;
|
|
2555
|
-
virtual_path?: string | undefined;
|
|
2556
|
-
readme_url?: string | undefined;
|
|
2725
|
+
description?: string | null | undefined;
|
|
2726
|
+
name?: string | null | undefined;
|
|
2727
|
+
id?: string | null | undefined;
|
|
2728
|
+
lookup_key?: string | null | undefined;
|
|
2729
|
+
virtual_path?: string | null | undefined;
|
|
2730
|
+
readme_url?: string | null | undefined;
|
|
2557
2731
|
details?: {
|
|
2558
2732
|
type: "automation";
|
|
2559
|
-
automation_type?: string | undefined;
|
|
2733
|
+
automation_type?: string | null | undefined;
|
|
2560
2734
|
invoke_contract?: {
|
|
2561
2735
|
prefills: {
|
|
2562
2736
|
participants?: Record<string, unknown> | undefined;
|
|
@@ -2566,121 +2740,153 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2566
2740
|
name: string;
|
|
2567
2741
|
required: boolean;
|
|
2568
2742
|
type: string;
|
|
2569
|
-
description?: string | undefined;
|
|
2570
|
-
}[] | undefined;
|
|
2571
|
-
input_schema?: Record<string, unknown> | undefined;
|
|
2572
|
-
} | undefined;
|
|
2573
|
-
} | undefined;
|
|
2574
|
-
display_name?: string | undefined;
|
|
2743
|
+
description?: string | null | undefined;
|
|
2744
|
+
}[] | null | undefined;
|
|
2745
|
+
input_schema?: Record<string, unknown> | null | undefined;
|
|
2746
|
+
} | null | undefined;
|
|
2747
|
+
} | null | undefined;
|
|
2748
|
+
display_name?: string | null | undefined;
|
|
2575
2749
|
}[];
|
|
2576
2750
|
upgrade_available: boolean;
|
|
2577
|
-
org?: string | undefined;
|
|
2578
|
-
description?: string | undefined;
|
|
2579
|
-
name?: string | undefined;
|
|
2751
|
+
org?: string | null | undefined;
|
|
2752
|
+
description?: string | null | undefined;
|
|
2753
|
+
name?: string | null | undefined;
|
|
2580
2754
|
created_at?: string | undefined;
|
|
2581
2755
|
updated_at?: string | undefined;
|
|
2582
|
-
lookup_key?: string | undefined;
|
|
2583
|
-
virtual_path?: string | undefined;
|
|
2756
|
+
lookup_key?: string | null | undefined;
|
|
2757
|
+
virtual_path?: string | null | undefined;
|
|
2584
2758
|
metadata?: Record<string, unknown> | undefined;
|
|
2585
|
-
org_name?: string | undefined;
|
|
2759
|
+
org_name?: string | null | undefined;
|
|
2760
|
+
org_slug?: string | null | undefined;
|
|
2586
2761
|
category_keys?: string[] | undefined;
|
|
2587
2762
|
events?: Record<string, unknown> | undefined;
|
|
2588
|
-
image_url?: string | undefined;
|
|
2589
|
-
latest_solution?: string | undefined;
|
|
2590
|
-
latest_version?: string | undefined;
|
|
2763
|
+
image_url?: string | null | undefined;
|
|
2764
|
+
latest_solution?: string | null | undefined;
|
|
2765
|
+
latest_version?: string | null | undefined;
|
|
2591
2766
|
org_logo?: {
|
|
2592
|
-
mime_type?: string | undefined;
|
|
2593
|
-
file?: string | undefined;
|
|
2594
|
-
height?: number | undefined;
|
|
2595
|
-
media?: string | undefined;
|
|
2596
|
-
refresh_url?: string | undefined;
|
|
2597
|
-
url?: string | undefined;
|
|
2598
|
-
width?: number | undefined;
|
|
2599
|
-
} | undefined;
|
|
2600
|
-
|
|
2601
|
-
readme_url?: string | undefined;
|
|
2767
|
+
mime_type?: string | null | undefined;
|
|
2768
|
+
file?: string | null | undefined;
|
|
2769
|
+
height?: number | null | undefined;
|
|
2770
|
+
media?: string | null | undefined;
|
|
2771
|
+
refresh_url?: string | null | undefined;
|
|
2772
|
+
url?: string | null | undefined;
|
|
2773
|
+
width?: number | null | undefined;
|
|
2774
|
+
} | null | undefined;
|
|
2775
|
+
readme_url?: string | null | undefined;
|
|
2602
2776
|
screenshot_urls?: string[] | undefined;
|
|
2603
|
-
solution_id?: string | undefined;
|
|
2604
|
-
solution_version?: string | undefined;
|
|
2777
|
+
solution_id?: string | null | undefined;
|
|
2778
|
+
solution_version?: string | null | undefined;
|
|
2605
2779
|
tag_keys?: string[] | undefined;
|
|
2606
|
-
template_kind?: string | undefined;
|
|
2780
|
+
template_kind?: string | null | undefined;
|
|
2607
2781
|
} | undefined;
|
|
2608
|
-
} | undefined;
|
|
2609
|
-
template_upgrade_available?: boolean | undefined;
|
|
2610
|
-
}[] | undefined;
|
|
2782
|
+
} | null | undefined;
|
|
2783
|
+
template_upgrade_available?: boolean | null | undefined;
|
|
2784
|
+
}[] | null | undefined;
|
|
2611
2785
|
settings?: {
|
|
2612
|
-
agent_enabled?: boolean | undefined;
|
|
2786
|
+
agent_enabled?: boolean | null | undefined;
|
|
2613
2787
|
} | undefined;
|
|
2614
|
-
sub_threads?: Record<string, unknown>[] | undefined;
|
|
2788
|
+
sub_threads?: Record<string, unknown>[] | null | undefined;
|
|
2615
2789
|
tags?: string[] | undefined;
|
|
2616
|
-
ttl?:
|
|
2617
|
-
unread_count?: number | undefined;
|
|
2790
|
+
ttl?: string | null | undefined;
|
|
2791
|
+
unread_count?: number | null | undefined;
|
|
2618
2792
|
}, {
|
|
2619
2793
|
id: string;
|
|
2620
2794
|
visibility: "team" | "private" | "restricted";
|
|
2621
|
-
key?: string | undefined;
|
|
2622
|
-
kind?: string | undefined;
|
|
2623
|
-
team?: string | undefined;
|
|
2624
|
-
org?: string | undefined;
|
|
2625
|
-
description?: string | undefined;
|
|
2795
|
+
key?: string | null | undefined;
|
|
2796
|
+
kind?: string | null | undefined;
|
|
2797
|
+
team?: string | null | undefined;
|
|
2798
|
+
org?: string | null | undefined;
|
|
2799
|
+
description?: string | null | undefined;
|
|
2626
2800
|
participants?: {
|
|
2627
2801
|
id: string;
|
|
2628
|
-
email?: string | undefined;
|
|
2629
|
-
alias?: string | undefined;
|
|
2630
|
-
org?: string | undefined;
|
|
2631
|
-
name?: string | undefined;
|
|
2632
|
-
app?: string | undefined;
|
|
2633
|
-
sandbox?: string | undefined;
|
|
2634
|
-
app_name?: string | undefined;
|
|
2802
|
+
email?: string | null | undefined;
|
|
2803
|
+
alias?: string | null | undefined;
|
|
2804
|
+
org?: string | null | undefined;
|
|
2805
|
+
name?: string | null | undefined;
|
|
2806
|
+
app?: string | null | undefined;
|
|
2807
|
+
sandbox?: string | null | undefined;
|
|
2808
|
+
app_name?: string | null | undefined;
|
|
2809
|
+
created_by_agent_user?: string | null | undefined;
|
|
2810
|
+
created_by_developer?: string | null | undefined;
|
|
2811
|
+
created_by_org?: string | null | undefined;
|
|
2812
|
+
created_by_team?: string | null | undefined;
|
|
2813
|
+
created_by_user?: string | null | undefined;
|
|
2635
2814
|
is_system_user?: boolean | undefined;
|
|
2636
2815
|
metadata?: Record<string, unknown> | undefined;
|
|
2637
|
-
org_name?: string | undefined;
|
|
2638
|
-
org_role?: string | undefined;
|
|
2639
|
-
|
|
2816
|
+
org_name?: string | null | undefined;
|
|
2817
|
+
org_role?: string | null | undefined;
|
|
2818
|
+
org_slug?: string | null | undefined;
|
|
2819
|
+
sandbox_name?: string | null | undefined;
|
|
2640
2820
|
}[] | undefined;
|
|
2641
2821
|
created_at?: string | undefined;
|
|
2642
2822
|
updated_at?: string | undefined;
|
|
2643
|
-
user?: string | undefined;
|
|
2644
|
-
sandbox?: string | undefined;
|
|
2645
|
-
metadata?: Record<string, unknown> | undefined;
|
|
2646
|
-
title?: string | undefined;
|
|
2647
|
-
slug?: string | undefined;
|
|
2823
|
+
user?: string | null | undefined;
|
|
2824
|
+
sandbox?: string | null | undefined;
|
|
2825
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
2826
|
+
title?: string | null | undefined;
|
|
2827
|
+
slug?: string | null | undefined;
|
|
2648
2828
|
muted?: boolean | undefined;
|
|
2649
|
-
role?: string | undefined;
|
|
2650
|
-
agent_user?: string | undefined;
|
|
2829
|
+
role?: string | null | undefined;
|
|
2830
|
+
agent_user?: string | null | undefined;
|
|
2651
2831
|
creator?: string | {
|
|
2652
2832
|
id: string;
|
|
2653
|
-
email?: string | undefined;
|
|
2654
|
-
alias?: string | undefined;
|
|
2655
|
-
org?: string | undefined;
|
|
2656
|
-
name?: string | undefined;
|
|
2657
|
-
app?: string | undefined;
|
|
2658
|
-
sandbox?: string | undefined;
|
|
2659
|
-
app_name?: string | undefined;
|
|
2833
|
+
email?: string | null | undefined;
|
|
2834
|
+
alias?: string | null | undefined;
|
|
2835
|
+
org?: string | null | undefined;
|
|
2836
|
+
name?: string | null | undefined;
|
|
2837
|
+
app?: string | null | undefined;
|
|
2838
|
+
sandbox?: string | null | undefined;
|
|
2839
|
+
app_name?: string | null | undefined;
|
|
2840
|
+
created_by_agent_user?: string | null | undefined;
|
|
2841
|
+
created_by_developer?: string | null | undefined;
|
|
2842
|
+
created_by_org?: string | null | undefined;
|
|
2843
|
+
created_by_team?: string | null | undefined;
|
|
2844
|
+
created_by_user?: string | null | undefined;
|
|
2660
2845
|
is_system_user?: boolean | undefined;
|
|
2661
2846
|
metadata?: Record<string, unknown> | undefined;
|
|
2662
|
-
org_name?: string | undefined;
|
|
2663
|
-
org_role?: string | undefined;
|
|
2664
|
-
|
|
2665
|
-
|
|
2847
|
+
org_name?: string | null | undefined;
|
|
2848
|
+
org_role?: string | null | undefined;
|
|
2849
|
+
org_slug?: string | null | undefined;
|
|
2850
|
+
sandbox_name?: string | null | undefined;
|
|
2851
|
+
} | null | undefined;
|
|
2666
2852
|
is_channel?: boolean | undefined;
|
|
2667
2853
|
is_default?: boolean | undefined;
|
|
2668
2854
|
is_transient?: boolean | undefined;
|
|
2669
2855
|
is_unlisted?: boolean | undefined;
|
|
2670
|
-
last_activity?: string | undefined;
|
|
2671
|
-
last_message_preview?: string | undefined;
|
|
2672
|
-
last_message_sender?: string | undefined;
|
|
2856
|
+
last_activity?: string | null | undefined;
|
|
2857
|
+
last_message_preview?: string | null | undefined;
|
|
2858
|
+
last_message_sender?: string | null | undefined;
|
|
2673
2859
|
parent_message?: {
|
|
2674
2860
|
id: string;
|
|
2675
|
-
content?: string | undefined;
|
|
2676
|
-
agent?: string | undefined;
|
|
2861
|
+
content?: string | null | undefined;
|
|
2862
|
+
agent?: string | null | undefined;
|
|
2677
2863
|
thread?: string | undefined;
|
|
2678
|
-
team?: string | undefined;
|
|
2679
|
-
org?: string | undefined;
|
|
2680
|
-
type?: string | undefined;
|
|
2864
|
+
team?: string | null | undefined;
|
|
2865
|
+
org?: string | null | undefined;
|
|
2866
|
+
type?: string | null | undefined;
|
|
2681
2867
|
created_at?: string | undefined;
|
|
2682
|
-
user?: string |
|
|
2683
|
-
|
|
2868
|
+
user?: string | {
|
|
2869
|
+
id: string;
|
|
2870
|
+
email?: string | null | undefined;
|
|
2871
|
+
alias?: string | null | undefined;
|
|
2872
|
+
org?: string | null | undefined;
|
|
2873
|
+
name?: string | null | undefined;
|
|
2874
|
+
app?: string | null | undefined;
|
|
2875
|
+
sandbox?: string | null | undefined;
|
|
2876
|
+
app_name?: string | null | undefined;
|
|
2877
|
+
created_by_agent_user?: string | null | undefined;
|
|
2878
|
+
created_by_developer?: string | null | undefined;
|
|
2879
|
+
created_by_org?: string | null | undefined;
|
|
2880
|
+
created_by_team?: string | null | undefined;
|
|
2881
|
+
created_by_user?: string | null | undefined;
|
|
2882
|
+
is_system_user?: boolean | undefined;
|
|
2883
|
+
metadata?: Record<string, unknown> | undefined;
|
|
2884
|
+
org_name?: string | null | undefined;
|
|
2885
|
+
org_role?: string | null | undefined;
|
|
2886
|
+
org_slug?: string | null | undefined;
|
|
2887
|
+
sandbox_name?: string | null | undefined;
|
|
2888
|
+
} | null | undefined;
|
|
2889
|
+
sandbox?: string | null | undefined;
|
|
2684
2890
|
metadata?: Record<string, unknown> | undefined;
|
|
2685
2891
|
acl?: {
|
|
2686
2892
|
add?: {
|
|
@@ -2697,106 +2903,106 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2697
2903
|
principal_type: string;
|
|
2698
2904
|
principal?: string | undefined;
|
|
2699
2905
|
}[] | undefined;
|
|
2700
|
-
} | undefined;
|
|
2906
|
+
} | null | undefined;
|
|
2701
2907
|
attachments?: {
|
|
2702
2908
|
type: string;
|
|
2703
2909
|
id: string;
|
|
2704
2910
|
object?: Record<string, unknown> | undefined;
|
|
2705
|
-
description?: string | undefined;
|
|
2706
|
-
name?: string | undefined;
|
|
2707
|
-
height?: number | undefined;
|
|
2708
|
-
url?: string | undefined;
|
|
2709
|
-
width?: number | undefined;
|
|
2710
|
-
image_url?: string | undefined;
|
|
2711
|
-
title?: string | undefined;
|
|
2712
|
-
content_type?: string | undefined;
|
|
2713
|
-
filename?: string | undefined;
|
|
2911
|
+
description?: string | null | undefined;
|
|
2912
|
+
name?: string | null | undefined;
|
|
2913
|
+
height?: number | null | undefined;
|
|
2914
|
+
url?: string | null | undefined;
|
|
2915
|
+
width?: number | null | undefined;
|
|
2916
|
+
image_url?: string | null | undefined;
|
|
2917
|
+
title?: string | null | undefined;
|
|
2918
|
+
content_type?: string | null | undefined;
|
|
2919
|
+
filename?: string | null | undefined;
|
|
2714
2920
|
image_source?: {
|
|
2715
|
-
mime_type?: string | undefined;
|
|
2716
|
-
file?: string | undefined;
|
|
2717
|
-
height?: number | undefined;
|
|
2718
|
-
media?: string | undefined;
|
|
2719
|
-
refresh_url?: string | undefined;
|
|
2720
|
-
url?: string | undefined;
|
|
2721
|
-
width?: number | undefined;
|
|
2722
|
-
} | undefined;
|
|
2723
|
-
image_height?: number | undefined;
|
|
2724
|
-
image_width?: number | undefined;
|
|
2921
|
+
mime_type?: string | null | undefined;
|
|
2922
|
+
file?: string | null | undefined;
|
|
2923
|
+
height?: number | null | undefined;
|
|
2924
|
+
media?: string | null | undefined;
|
|
2925
|
+
refresh_url?: string | null | undefined;
|
|
2926
|
+
url?: string | null | undefined;
|
|
2927
|
+
width?: number | null | undefined;
|
|
2928
|
+
} | null | undefined;
|
|
2929
|
+
image_height?: number | null | undefined;
|
|
2930
|
+
image_width?: number | null | undefined;
|
|
2725
2931
|
media_type?: string | undefined;
|
|
2726
2932
|
variants?: {
|
|
2727
2933
|
id: string;
|
|
2728
2934
|
created_at?: string | undefined;
|
|
2729
2935
|
updated_at?: string | undefined;
|
|
2730
2936
|
file?: string | undefined;
|
|
2731
|
-
height?: number | undefined;
|
|
2732
|
-
url?: string | undefined;
|
|
2733
|
-
width?: number | undefined;
|
|
2734
|
-
content_type?: string | undefined;
|
|
2735
|
-
filename?: string | undefined;
|
|
2937
|
+
height?: number | null | undefined;
|
|
2938
|
+
url?: string | null | undefined;
|
|
2939
|
+
width?: number | null | undefined;
|
|
2940
|
+
content_type?: string | null | undefined;
|
|
2941
|
+
filename?: string | null | undefined;
|
|
2736
2942
|
image_source?: {
|
|
2737
|
-
mime_type?: string | undefined;
|
|
2738
|
-
file?: string | undefined;
|
|
2739
|
-
height?: number | undefined;
|
|
2740
|
-
media?: string | undefined;
|
|
2741
|
-
refresh_url?: string | undefined;
|
|
2742
|
-
url?: string | undefined;
|
|
2743
|
-
width?: number | undefined;
|
|
2744
|
-
} | undefined;
|
|
2943
|
+
mime_type?: string | null | undefined;
|
|
2944
|
+
file?: string | null | undefined;
|
|
2945
|
+
height?: number | null | undefined;
|
|
2946
|
+
media?: string | null | undefined;
|
|
2947
|
+
refresh_url?: string | null | undefined;
|
|
2948
|
+
url?: string | null | undefined;
|
|
2949
|
+
width?: number | null | undefined;
|
|
2950
|
+
} | null | undefined;
|
|
2745
2951
|
variant_key?: string | undefined;
|
|
2746
2952
|
}[] | undefined;
|
|
2747
|
-
version?: number | undefined;
|
|
2953
|
+
version?: number | null | undefined;
|
|
2748
2954
|
}[] | undefined;
|
|
2749
2955
|
visibility?: "default" | "private" | undefined;
|
|
2750
2956
|
actors?: {
|
|
2751
|
-
alias?: string | undefined;
|
|
2752
|
-
name?: string | undefined;
|
|
2753
|
-
id?: string | undefined;
|
|
2957
|
+
alias?: string | null | undefined;
|
|
2958
|
+
name?: string | null | undefined;
|
|
2959
|
+
id?: string | null | undefined;
|
|
2754
2960
|
profile_picture?: {
|
|
2755
|
-
mime_type?: string | undefined;
|
|
2756
|
-
file?: string | undefined;
|
|
2757
|
-
height?: number | undefined;
|
|
2758
|
-
media?: string | undefined;
|
|
2759
|
-
refresh_url?: string | undefined;
|
|
2760
|
-
url?: string | undefined;
|
|
2761
|
-
width?: number | undefined;
|
|
2762
|
-
} | undefined;
|
|
2961
|
+
mime_type?: string | null | undefined;
|
|
2962
|
+
file?: string | null | undefined;
|
|
2963
|
+
height?: number | null | undefined;
|
|
2964
|
+
media?: string | null | undefined;
|
|
2965
|
+
refresh_url?: string | null | undefined;
|
|
2966
|
+
url?: string | null | undefined;
|
|
2967
|
+
width?: number | null | undefined;
|
|
2968
|
+
} | null | undefined;
|
|
2763
2969
|
}[] | undefined;
|
|
2764
|
-
agent_mode?: "cli" | "embedded" | undefined;
|
|
2765
|
-
branched_thread?: string | undefined;
|
|
2970
|
+
agent_mode?: "cli" | "embedded" | null | undefined;
|
|
2971
|
+
branched_thread?: string | null | undefined;
|
|
2766
2972
|
has_replies?: boolean | undefined;
|
|
2767
|
-
idempotency_key?: string | undefined;
|
|
2973
|
+
idempotency_key?: string | null | undefined;
|
|
2768
2974
|
is_deleted?: boolean | undefined;
|
|
2769
|
-
legacy_agent?: string | undefined;
|
|
2975
|
+
legacy_agent?: string | null | undefined;
|
|
2770
2976
|
reactions?: {
|
|
2771
2977
|
type: string;
|
|
2772
2978
|
payload?: Record<string, unknown> | undefined;
|
|
2773
2979
|
user?: string | undefined;
|
|
2774
2980
|
}[] | undefined;
|
|
2775
|
-
rendering_mode?: string | undefined;
|
|
2981
|
+
rendering_mode?: string | null | undefined;
|
|
2776
2982
|
replies?: Record<string, unknown>[] | undefined;
|
|
2777
|
-
replies_after_cursor?: string | undefined;
|
|
2778
|
-
replies_before_cursor?: string | undefined;
|
|
2983
|
+
replies_after_cursor?: string | null | undefined;
|
|
2984
|
+
replies_before_cursor?: string | null | undefined;
|
|
2779
2985
|
reply_count?: number | undefined;
|
|
2780
|
-
reply_to?: Record<string, unknown> | undefined;
|
|
2986
|
+
reply_to?: Record<string, unknown> | null | undefined;
|
|
2781
2987
|
root_message_id?: string | null | undefined;
|
|
2782
|
-
} | undefined;
|
|
2988
|
+
} | null | undefined;
|
|
2783
2989
|
participant?: string[] | undefined;
|
|
2784
2990
|
participating_actor?: string[] | undefined;
|
|
2785
2991
|
participating_agents?: {
|
|
2786
2992
|
id: string;
|
|
2787
|
-
email?: string | undefined;
|
|
2788
|
-
team?: string | undefined;
|
|
2789
|
-
org?: string | undefined;
|
|
2790
|
-
description?: string | undefined;
|
|
2993
|
+
email?: string | null | undefined;
|
|
2994
|
+
team?: string | null | undefined;
|
|
2995
|
+
org?: string | null | undefined;
|
|
2996
|
+
description?: string | null | undefined;
|
|
2791
2997
|
name?: string | undefined;
|
|
2792
2998
|
app?: string | undefined;
|
|
2793
2999
|
created_at?: string | undefined;
|
|
2794
3000
|
updated_at?: string | undefined;
|
|
2795
|
-
user?: string | undefined;
|
|
2796
|
-
sandbox?: string | undefined;
|
|
2797
|
-
lookup_key?: string | undefined;
|
|
3001
|
+
user?: string | null | undefined;
|
|
3002
|
+
sandbox?: string | null | undefined;
|
|
3003
|
+
lookup_key?: string | null | undefined;
|
|
2798
3004
|
metadata?: Record<string, unknown> | undefined;
|
|
2799
|
-
org_name?: string | undefined;
|
|
3005
|
+
org_name?: string | null | undefined;
|
|
2800
3006
|
acl?: {
|
|
2801
3007
|
add?: {
|
|
2802
3008
|
actions: string[];
|
|
@@ -2812,12 +3018,12 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2812
3018
|
principal_type: string;
|
|
2813
3019
|
principal?: string | undefined;
|
|
2814
3020
|
}[] | undefined;
|
|
2815
|
-
} | undefined;
|
|
2816
|
-
default_model?: string | undefined;
|
|
2817
|
-
identity?: string | undefined;
|
|
2818
|
-
last_applied_template_config?: string | undefined;
|
|
2819
|
-
originator?: string | undefined;
|
|
2820
|
-
phone_number?: string | undefined;
|
|
3021
|
+
} | null | undefined;
|
|
3022
|
+
default_model?: string | null | undefined;
|
|
3023
|
+
identity?: string | null | undefined;
|
|
3024
|
+
last_applied_template_config?: string | null | undefined;
|
|
3025
|
+
originator?: string | null | undefined;
|
|
3026
|
+
phone_number?: string | null | undefined;
|
|
2821
3027
|
source_solution?: {
|
|
2822
3028
|
solution: {
|
|
2823
3029
|
kind: string;
|
|
@@ -2825,15 +3031,15 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2825
3031
|
owners: string[];
|
|
2826
3032
|
templates: {
|
|
2827
3033
|
kind: string;
|
|
2828
|
-
description?: string | undefined;
|
|
2829
|
-
name?: string | undefined;
|
|
2830
|
-
id?: string | undefined;
|
|
2831
|
-
lookup_key?: string | undefined;
|
|
2832
|
-
virtual_path?: string | undefined;
|
|
2833
|
-
readme_url?: string | undefined;
|
|
3034
|
+
description?: string | null | undefined;
|
|
3035
|
+
name?: string | null | undefined;
|
|
3036
|
+
id?: string | null | undefined;
|
|
3037
|
+
lookup_key?: string | null | undefined;
|
|
3038
|
+
virtual_path?: string | null | undefined;
|
|
3039
|
+
readme_url?: string | null | undefined;
|
|
2834
3040
|
details?: {
|
|
2835
3041
|
type: "automation";
|
|
2836
|
-
automation_type?: string | undefined;
|
|
3042
|
+
automation_type?: string | null | undefined;
|
|
2837
3043
|
invoke_contract?: {
|
|
2838
3044
|
prefills: {
|
|
2839
3045
|
participants?: Record<string, unknown> | undefined;
|
|
@@ -2843,55 +3049,55 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2843
3049
|
name: string;
|
|
2844
3050
|
required: boolean;
|
|
2845
3051
|
type: string;
|
|
2846
|
-
description?: string | undefined;
|
|
2847
|
-
}[] | undefined;
|
|
2848
|
-
input_schema?: Record<string, unknown> | undefined;
|
|
2849
|
-
} | undefined;
|
|
2850
|
-
} | undefined;
|
|
2851
|
-
display_name?: string | undefined;
|
|
3052
|
+
description?: string | null | undefined;
|
|
3053
|
+
}[] | null | undefined;
|
|
3054
|
+
input_schema?: Record<string, unknown> | null | undefined;
|
|
3055
|
+
} | null | undefined;
|
|
3056
|
+
} | null | undefined;
|
|
3057
|
+
display_name?: string | null | undefined;
|
|
2852
3058
|
}[];
|
|
2853
3059
|
upgrade_available: boolean;
|
|
2854
|
-
org?: string | undefined;
|
|
2855
|
-
description?: string | undefined;
|
|
2856
|
-
name?: string | undefined;
|
|
3060
|
+
org?: string | null | undefined;
|
|
3061
|
+
description?: string | null | undefined;
|
|
3062
|
+
name?: string | null | undefined;
|
|
2857
3063
|
created_at?: string | undefined;
|
|
2858
3064
|
updated_at?: string | undefined;
|
|
2859
|
-
lookup_key?: string | undefined;
|
|
2860
|
-
virtual_path?: string | undefined;
|
|
3065
|
+
lookup_key?: string | null | undefined;
|
|
3066
|
+
virtual_path?: string | null | undefined;
|
|
2861
3067
|
metadata?: Record<string, unknown> | undefined;
|
|
2862
|
-
org_name?: string | undefined;
|
|
3068
|
+
org_name?: string | null | undefined;
|
|
3069
|
+
org_slug?: string | null | undefined;
|
|
2863
3070
|
category_keys?: string[] | undefined;
|
|
2864
3071
|
events?: Record<string, unknown> | undefined;
|
|
2865
|
-
image_url?: string | undefined;
|
|
2866
|
-
latest_solution?: string | undefined;
|
|
2867
|
-
latest_version?: string | undefined;
|
|
3072
|
+
image_url?: string | null | undefined;
|
|
3073
|
+
latest_solution?: string | null | undefined;
|
|
3074
|
+
latest_version?: string | null | undefined;
|
|
2868
3075
|
org_logo?: {
|
|
2869
|
-
mime_type?: string | undefined;
|
|
2870
|
-
file?: string | undefined;
|
|
2871
|
-
height?: number | undefined;
|
|
2872
|
-
media?: string | undefined;
|
|
2873
|
-
refresh_url?: string | undefined;
|
|
2874
|
-
url?: string | undefined;
|
|
2875
|
-
width?: number | undefined;
|
|
2876
|
-
} | undefined;
|
|
2877
|
-
|
|
2878
|
-
readme_url?: string | undefined;
|
|
3076
|
+
mime_type?: string | null | undefined;
|
|
3077
|
+
file?: string | null | undefined;
|
|
3078
|
+
height?: number | null | undefined;
|
|
3079
|
+
media?: string | null | undefined;
|
|
3080
|
+
refresh_url?: string | null | undefined;
|
|
3081
|
+
url?: string | null | undefined;
|
|
3082
|
+
width?: number | null | undefined;
|
|
3083
|
+
} | null | undefined;
|
|
3084
|
+
readme_url?: string | null | undefined;
|
|
2879
3085
|
screenshot_urls?: string[] | undefined;
|
|
2880
|
-
solution_id?: string | undefined;
|
|
2881
|
-
solution_version?: string | undefined;
|
|
3086
|
+
solution_id?: string | null | undefined;
|
|
3087
|
+
solution_version?: string | null | undefined;
|
|
2882
3088
|
tag_keys?: string[] | undefined;
|
|
2883
|
-
template_kind?: string | undefined;
|
|
3089
|
+
template_kind?: string | null | undefined;
|
|
2884
3090
|
};
|
|
2885
3091
|
template: {
|
|
2886
3092
|
kind: string;
|
|
2887
3093
|
id: string;
|
|
2888
|
-
description?: string | undefined;
|
|
2889
|
-
name?: string | undefined;
|
|
3094
|
+
description?: string | null | undefined;
|
|
3095
|
+
name?: string | null | undefined;
|
|
2890
3096
|
created_at?: string | undefined;
|
|
2891
3097
|
updated_at?: string | undefined;
|
|
2892
|
-
lookup_key?: string | undefined;
|
|
2893
|
-
virtual_path?: string | undefined;
|
|
2894
|
-
display_name?: string | undefined;
|
|
3098
|
+
lookup_key?: string | null | undefined;
|
|
3099
|
+
virtual_path?: string | null | undefined;
|
|
3100
|
+
display_name?: string | null | undefined;
|
|
2895
3101
|
};
|
|
2896
3102
|
current_solution?: {
|
|
2897
3103
|
kind: string;
|
|
@@ -2899,15 +3105,15 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2899
3105
|
owners: string[];
|
|
2900
3106
|
templates: {
|
|
2901
3107
|
kind: string;
|
|
2902
|
-
description?: string | undefined;
|
|
2903
|
-
name?: string | undefined;
|
|
2904
|
-
id?: string | undefined;
|
|
2905
|
-
lookup_key?: string | undefined;
|
|
2906
|
-
virtual_path?: string | undefined;
|
|
2907
|
-
readme_url?: string | undefined;
|
|
3108
|
+
description?: string | null | undefined;
|
|
3109
|
+
name?: string | null | undefined;
|
|
3110
|
+
id?: string | null | undefined;
|
|
3111
|
+
lookup_key?: string | null | undefined;
|
|
3112
|
+
virtual_path?: string | null | undefined;
|
|
3113
|
+
readme_url?: string | null | undefined;
|
|
2908
3114
|
details?: {
|
|
2909
3115
|
type: "automation";
|
|
2910
|
-
automation_type?: string | undefined;
|
|
3116
|
+
automation_type?: string | null | undefined;
|
|
2911
3117
|
invoke_contract?: {
|
|
2912
3118
|
prefills: {
|
|
2913
3119
|
participants?: Record<string, unknown> | undefined;
|
|
@@ -2917,55 +3123,55 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2917
3123
|
name: string;
|
|
2918
3124
|
required: boolean;
|
|
2919
3125
|
type: string;
|
|
2920
|
-
description?: string | undefined;
|
|
2921
|
-
}[] | undefined;
|
|
2922
|
-
input_schema?: Record<string, unknown> | undefined;
|
|
2923
|
-
} | undefined;
|
|
2924
|
-
} | undefined;
|
|
2925
|
-
display_name?: string | undefined;
|
|
3126
|
+
description?: string | null | undefined;
|
|
3127
|
+
}[] | null | undefined;
|
|
3128
|
+
input_schema?: Record<string, unknown> | null | undefined;
|
|
3129
|
+
} | null | undefined;
|
|
3130
|
+
} | null | undefined;
|
|
3131
|
+
display_name?: string | null | undefined;
|
|
2926
3132
|
}[];
|
|
2927
3133
|
upgrade_available: boolean;
|
|
2928
|
-
org?: string | undefined;
|
|
2929
|
-
description?: string | undefined;
|
|
2930
|
-
name?: string | undefined;
|
|
3134
|
+
org?: string | null | undefined;
|
|
3135
|
+
description?: string | null | undefined;
|
|
3136
|
+
name?: string | null | undefined;
|
|
2931
3137
|
created_at?: string | undefined;
|
|
2932
3138
|
updated_at?: string | undefined;
|
|
2933
|
-
lookup_key?: string | undefined;
|
|
2934
|
-
virtual_path?: string | undefined;
|
|
3139
|
+
lookup_key?: string | null | undefined;
|
|
3140
|
+
virtual_path?: string | null | undefined;
|
|
2935
3141
|
metadata?: Record<string, unknown> | undefined;
|
|
2936
|
-
org_name?: string | undefined;
|
|
3142
|
+
org_name?: string | null | undefined;
|
|
3143
|
+
org_slug?: string | null | undefined;
|
|
2937
3144
|
category_keys?: string[] | undefined;
|
|
2938
3145
|
events?: Record<string, unknown> | undefined;
|
|
2939
|
-
image_url?: string | undefined;
|
|
2940
|
-
latest_solution?: string | undefined;
|
|
2941
|
-
latest_version?: string | undefined;
|
|
3146
|
+
image_url?: string | null | undefined;
|
|
3147
|
+
latest_solution?: string | null | undefined;
|
|
3148
|
+
latest_version?: string | null | undefined;
|
|
2942
3149
|
org_logo?: {
|
|
2943
|
-
mime_type?: string | undefined;
|
|
2944
|
-
file?: string | undefined;
|
|
2945
|
-
height?: number | undefined;
|
|
2946
|
-
media?: string | undefined;
|
|
2947
|
-
refresh_url?: string | undefined;
|
|
2948
|
-
url?: string | undefined;
|
|
2949
|
-
width?: number | undefined;
|
|
2950
|
-
} | undefined;
|
|
2951
|
-
|
|
2952
|
-
readme_url?: string | undefined;
|
|
3150
|
+
mime_type?: string | null | undefined;
|
|
3151
|
+
file?: string | null | undefined;
|
|
3152
|
+
height?: number | null | undefined;
|
|
3153
|
+
media?: string | null | undefined;
|
|
3154
|
+
refresh_url?: string | null | undefined;
|
|
3155
|
+
url?: string | null | undefined;
|
|
3156
|
+
width?: number | null | undefined;
|
|
3157
|
+
} | null | undefined;
|
|
3158
|
+
readme_url?: string | null | undefined;
|
|
2953
3159
|
screenshot_urls?: string[] | undefined;
|
|
2954
|
-
solution_id?: string | undefined;
|
|
2955
|
-
solution_version?: string | undefined;
|
|
3160
|
+
solution_id?: string | null | undefined;
|
|
3161
|
+
solution_version?: string | null | undefined;
|
|
2956
3162
|
tag_keys?: string[] | undefined;
|
|
2957
|
-
template_kind?: string | undefined;
|
|
3163
|
+
template_kind?: string | null | undefined;
|
|
2958
3164
|
} | undefined;
|
|
2959
|
-
} | undefined;
|
|
2960
|
-
template_upgrade_available?: boolean | undefined;
|
|
2961
|
-
}[] | undefined;
|
|
3165
|
+
} | null | undefined;
|
|
3166
|
+
template_upgrade_available?: boolean | null | undefined;
|
|
3167
|
+
}[] | null | undefined;
|
|
2962
3168
|
settings?: {
|
|
2963
|
-
agent_enabled?: boolean | undefined;
|
|
3169
|
+
agent_enabled?: boolean | null | undefined;
|
|
2964
3170
|
} | undefined;
|
|
2965
|
-
sub_threads?: Record<string, unknown>[] | undefined;
|
|
3171
|
+
sub_threads?: Record<string, unknown>[] | null | undefined;
|
|
2966
3172
|
tags?: string[] | undefined;
|
|
2967
|
-
ttl?:
|
|
2968
|
-
unread_count?: number | undefined;
|
|
3173
|
+
ttl?: string | null | undefined;
|
|
3174
|
+
unread_count?: number | null | undefined;
|
|
2969
3175
|
}>;
|
|
2970
3176
|
/** A single message posted to a thread, as seen from the developer portal. Includes sender information, optional attachments, and scoping identifiers. */
|
|
2971
3177
|
export interface ThreadMessage {
|
|
@@ -3091,218 +3297,218 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3091
3297
|
app: z.ZodOptional<z.ZodString>;
|
|
3092
3298
|
/** Files or media attached to the message. Empty array if no attachments are present. */
|
|
3093
3299
|
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3094
|
-
content_type: z.ZodOptional<z.ZodString
|
|
3095
|
-
description: z.ZodOptional<z.ZodString
|
|
3096
|
-
filename: z.ZodOptional<z.ZodString
|
|
3097
|
-
height: z.ZodOptional<z.ZodNumber
|
|
3300
|
+
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3301
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3302
|
+
filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3303
|
+
height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3098
3304
|
id: z.ZodString;
|
|
3099
|
-
image_height: z.ZodOptional<z.ZodNumber
|
|
3100
|
-
image_source: z.ZodOptional<z.ZodObject<{
|
|
3101
|
-
file: z.ZodOptional<z.ZodString
|
|
3102
|
-
height: z.ZodOptional<z.ZodNumber
|
|
3103
|
-
media: z.ZodOptional<z.ZodString
|
|
3104
|
-
mime_type: z.ZodOptional<z.ZodString
|
|
3105
|
-
refresh_url: z.ZodOptional<z.ZodString
|
|
3106
|
-
url: z.ZodOptional<z.ZodString
|
|
3107
|
-
width: z.ZodOptional<z.ZodNumber
|
|
3305
|
+
image_height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3306
|
+
image_source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3307
|
+
file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3308
|
+
height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3309
|
+
media: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3310
|
+
mime_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3311
|
+
refresh_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3312
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3313
|
+
width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3108
3314
|
}, "strip", z.ZodTypeAny, {
|
|
3109
|
-
mime_type?: string | undefined;
|
|
3110
|
-
file?: string | undefined;
|
|
3111
|
-
height?: number | undefined;
|
|
3112
|
-
media?: string | undefined;
|
|
3113
|
-
refresh_url?: string | undefined;
|
|
3114
|
-
url?: string | undefined;
|
|
3115
|
-
width?: number | undefined;
|
|
3315
|
+
mime_type?: string | null | undefined;
|
|
3316
|
+
file?: string | null | undefined;
|
|
3317
|
+
height?: number | null | undefined;
|
|
3318
|
+
media?: string | null | undefined;
|
|
3319
|
+
refresh_url?: string | null | undefined;
|
|
3320
|
+
url?: string | null | undefined;
|
|
3321
|
+
width?: number | null | undefined;
|
|
3116
3322
|
}, {
|
|
3117
|
-
mime_type?: string | undefined;
|
|
3118
|
-
file?: string | undefined;
|
|
3119
|
-
height?: number | undefined;
|
|
3120
|
-
media?: string | undefined;
|
|
3121
|
-
refresh_url?: string | undefined;
|
|
3122
|
-
url?: string | undefined;
|
|
3123
|
-
width?: number | undefined;
|
|
3124
|
-
}
|
|
3125
|
-
image_url: z.ZodOptional<z.ZodString
|
|
3126
|
-
image_width: z.ZodOptional<z.ZodNumber
|
|
3323
|
+
mime_type?: string | null | undefined;
|
|
3324
|
+
file?: string | null | undefined;
|
|
3325
|
+
height?: number | null | undefined;
|
|
3326
|
+
media?: string | null | undefined;
|
|
3327
|
+
refresh_url?: string | null | undefined;
|
|
3328
|
+
url?: string | null | undefined;
|
|
3329
|
+
width?: number | null | undefined;
|
|
3330
|
+
}>>>;
|
|
3331
|
+
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3332
|
+
image_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3127
3333
|
media_type: z.ZodOptional<z.ZodString>;
|
|
3128
|
-
name: z.ZodOptional<z.ZodString
|
|
3334
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3129
3335
|
object: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3130
|
-
title: z.ZodOptional<z.ZodString
|
|
3336
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3131
3337
|
type: z.ZodString;
|
|
3132
|
-
url: z.ZodOptional<z.ZodString
|
|
3338
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3133
3339
|
variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3134
|
-
content_type: z.ZodOptional<z.ZodString
|
|
3340
|
+
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3135
3341
|
created_at: z.ZodOptional<z.ZodString>;
|
|
3136
3342
|
file: z.ZodOptional<z.ZodString>;
|
|
3137
|
-
filename: z.ZodOptional<z.ZodString
|
|
3138
|
-
height: z.ZodOptional<z.ZodNumber
|
|
3343
|
+
filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3344
|
+
height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3139
3345
|
id: z.ZodString;
|
|
3140
|
-
image_source: z.ZodOptional<z.ZodObject<{
|
|
3141
|
-
file: z.ZodOptional<z.ZodString
|
|
3142
|
-
height: z.ZodOptional<z.ZodNumber
|
|
3143
|
-
media: z.ZodOptional<z.ZodString
|
|
3144
|
-
mime_type: z.ZodOptional<z.ZodString
|
|
3145
|
-
refresh_url: z.ZodOptional<z.ZodString
|
|
3146
|
-
url: z.ZodOptional<z.ZodString
|
|
3147
|
-
width: z.ZodOptional<z.ZodNumber
|
|
3346
|
+
image_source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3347
|
+
file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3348
|
+
height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3349
|
+
media: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3350
|
+
mime_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3351
|
+
refresh_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3352
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3353
|
+
width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3148
3354
|
}, "strip", z.ZodTypeAny, {
|
|
3149
|
-
mime_type?: string | undefined;
|
|
3150
|
-
file?: string | undefined;
|
|
3151
|
-
height?: number | undefined;
|
|
3152
|
-
media?: string | undefined;
|
|
3153
|
-
refresh_url?: string | undefined;
|
|
3154
|
-
url?: string | undefined;
|
|
3155
|
-
width?: number | undefined;
|
|
3355
|
+
mime_type?: string | null | undefined;
|
|
3356
|
+
file?: string | null | undefined;
|
|
3357
|
+
height?: number | null | undefined;
|
|
3358
|
+
media?: string | null | undefined;
|
|
3359
|
+
refresh_url?: string | null | undefined;
|
|
3360
|
+
url?: string | null | undefined;
|
|
3361
|
+
width?: number | null | undefined;
|
|
3156
3362
|
}, {
|
|
3157
|
-
mime_type?: string | undefined;
|
|
3158
|
-
file?: string | undefined;
|
|
3159
|
-
height?: number | undefined;
|
|
3160
|
-
media?: string | undefined;
|
|
3161
|
-
refresh_url?: string | undefined;
|
|
3162
|
-
url?: string | undefined;
|
|
3163
|
-
width?: number | undefined;
|
|
3164
|
-
}
|
|
3363
|
+
mime_type?: string | null | undefined;
|
|
3364
|
+
file?: string | null | undefined;
|
|
3365
|
+
height?: number | null | undefined;
|
|
3366
|
+
media?: string | null | undefined;
|
|
3367
|
+
refresh_url?: string | null | undefined;
|
|
3368
|
+
url?: string | null | undefined;
|
|
3369
|
+
width?: number | null | undefined;
|
|
3370
|
+
}>>>;
|
|
3165
3371
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
3166
|
-
url: z.ZodOptional<z.ZodString
|
|
3372
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3167
3373
|
variant_key: z.ZodOptional<z.ZodString>;
|
|
3168
|
-
width: z.ZodOptional<z.ZodNumber
|
|
3374
|
+
width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3169
3375
|
}, "strip", z.ZodTypeAny, {
|
|
3170
3376
|
id: string;
|
|
3171
3377
|
created_at?: string | undefined;
|
|
3172
3378
|
updated_at?: string | undefined;
|
|
3173
3379
|
file?: string | undefined;
|
|
3174
|
-
height?: number | undefined;
|
|
3175
|
-
url?: string | undefined;
|
|
3176
|
-
width?: number | undefined;
|
|
3177
|
-
content_type?: string | undefined;
|
|
3178
|
-
filename?: string | undefined;
|
|
3380
|
+
height?: number | null | undefined;
|
|
3381
|
+
url?: string | null | undefined;
|
|
3382
|
+
width?: number | null | undefined;
|
|
3383
|
+
content_type?: string | null | undefined;
|
|
3384
|
+
filename?: string | null | undefined;
|
|
3179
3385
|
image_source?: {
|
|
3180
|
-
mime_type?: string | undefined;
|
|
3181
|
-
file?: string | undefined;
|
|
3182
|
-
height?: number | undefined;
|
|
3183
|
-
media?: string | undefined;
|
|
3184
|
-
refresh_url?: string | undefined;
|
|
3185
|
-
url?: string | undefined;
|
|
3186
|
-
width?: number | undefined;
|
|
3187
|
-
} | undefined;
|
|
3386
|
+
mime_type?: string | null | undefined;
|
|
3387
|
+
file?: string | null | undefined;
|
|
3388
|
+
height?: number | null | undefined;
|
|
3389
|
+
media?: string | null | undefined;
|
|
3390
|
+
refresh_url?: string | null | undefined;
|
|
3391
|
+
url?: string | null | undefined;
|
|
3392
|
+
width?: number | null | undefined;
|
|
3393
|
+
} | null | undefined;
|
|
3188
3394
|
variant_key?: string | undefined;
|
|
3189
3395
|
}, {
|
|
3190
3396
|
id: string;
|
|
3191
3397
|
created_at?: string | undefined;
|
|
3192
3398
|
updated_at?: string | undefined;
|
|
3193
3399
|
file?: string | undefined;
|
|
3194
|
-
height?: number | undefined;
|
|
3195
|
-
url?: string | undefined;
|
|
3196
|
-
width?: number | undefined;
|
|
3197
|
-
content_type?: string | undefined;
|
|
3198
|
-
filename?: string | undefined;
|
|
3400
|
+
height?: number | null | undefined;
|
|
3401
|
+
url?: string | null | undefined;
|
|
3402
|
+
width?: number | null | undefined;
|
|
3403
|
+
content_type?: string | null | undefined;
|
|
3404
|
+
filename?: string | null | undefined;
|
|
3199
3405
|
image_source?: {
|
|
3200
|
-
mime_type?: string | undefined;
|
|
3201
|
-
file?: string | undefined;
|
|
3202
|
-
height?: number | undefined;
|
|
3203
|
-
media?: string | undefined;
|
|
3204
|
-
refresh_url?: string | undefined;
|
|
3205
|
-
url?: string | undefined;
|
|
3206
|
-
width?: number | undefined;
|
|
3207
|
-
} | undefined;
|
|
3406
|
+
mime_type?: string | null | undefined;
|
|
3407
|
+
file?: string | null | undefined;
|
|
3408
|
+
height?: number | null | undefined;
|
|
3409
|
+
media?: string | null | undefined;
|
|
3410
|
+
refresh_url?: string | null | undefined;
|
|
3411
|
+
url?: string | null | undefined;
|
|
3412
|
+
width?: number | null | undefined;
|
|
3413
|
+
} | null | undefined;
|
|
3208
3414
|
variant_key?: string | undefined;
|
|
3209
3415
|
}>, "many">>;
|
|
3210
|
-
version: z.ZodOptional<z.ZodNumber
|
|
3211
|
-
width: z.ZodOptional<z.ZodNumber
|
|
3416
|
+
version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3417
|
+
width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3212
3418
|
}, "strip", z.ZodTypeAny, {
|
|
3213
3419
|
type: string;
|
|
3214
3420
|
id: string;
|
|
3215
3421
|
object?: Record<string, unknown> | undefined;
|
|
3216
|
-
description?: string | undefined;
|
|
3217
|
-
name?: string | undefined;
|
|
3218
|
-
height?: number | undefined;
|
|
3219
|
-
url?: string | undefined;
|
|
3220
|
-
width?: number | undefined;
|
|
3221
|
-
image_url?: string | undefined;
|
|
3222
|
-
title?: string | undefined;
|
|
3223
|
-
content_type?: string | undefined;
|
|
3224
|
-
filename?: string | undefined;
|
|
3422
|
+
description?: string | null | undefined;
|
|
3423
|
+
name?: string | null | undefined;
|
|
3424
|
+
height?: number | null | undefined;
|
|
3425
|
+
url?: string | null | undefined;
|
|
3426
|
+
width?: number | null | undefined;
|
|
3427
|
+
image_url?: string | null | undefined;
|
|
3428
|
+
title?: string | null | undefined;
|
|
3429
|
+
content_type?: string | null | undefined;
|
|
3430
|
+
filename?: string | null | undefined;
|
|
3225
3431
|
image_source?: {
|
|
3226
|
-
mime_type?: string | undefined;
|
|
3227
|
-
file?: string | undefined;
|
|
3228
|
-
height?: number | undefined;
|
|
3229
|
-
media?: string | undefined;
|
|
3230
|
-
refresh_url?: string | undefined;
|
|
3231
|
-
url?: string | undefined;
|
|
3232
|
-
width?: number | undefined;
|
|
3233
|
-
} | undefined;
|
|
3234
|
-
image_height?: number | undefined;
|
|
3235
|
-
image_width?: number | undefined;
|
|
3432
|
+
mime_type?: string | null | undefined;
|
|
3433
|
+
file?: string | null | undefined;
|
|
3434
|
+
height?: number | null | undefined;
|
|
3435
|
+
media?: string | null | undefined;
|
|
3436
|
+
refresh_url?: string | null | undefined;
|
|
3437
|
+
url?: string | null | undefined;
|
|
3438
|
+
width?: number | null | undefined;
|
|
3439
|
+
} | null | undefined;
|
|
3440
|
+
image_height?: number | null | undefined;
|
|
3441
|
+
image_width?: number | null | undefined;
|
|
3236
3442
|
media_type?: string | undefined;
|
|
3237
3443
|
variants?: {
|
|
3238
3444
|
id: string;
|
|
3239
3445
|
created_at?: string | undefined;
|
|
3240
3446
|
updated_at?: string | undefined;
|
|
3241
3447
|
file?: string | undefined;
|
|
3242
|
-
height?: number | undefined;
|
|
3243
|
-
url?: string | undefined;
|
|
3244
|
-
width?: number | undefined;
|
|
3245
|
-
content_type?: string | undefined;
|
|
3246
|
-
filename?: string | undefined;
|
|
3448
|
+
height?: number | null | undefined;
|
|
3449
|
+
url?: string | null | undefined;
|
|
3450
|
+
width?: number | null | undefined;
|
|
3451
|
+
content_type?: string | null | undefined;
|
|
3452
|
+
filename?: string | null | undefined;
|
|
3247
3453
|
image_source?: {
|
|
3248
|
-
mime_type?: string | undefined;
|
|
3249
|
-
file?: string | undefined;
|
|
3250
|
-
height?: number | undefined;
|
|
3251
|
-
media?: string | undefined;
|
|
3252
|
-
refresh_url?: string | undefined;
|
|
3253
|
-
url?: string | undefined;
|
|
3254
|
-
width?: number | undefined;
|
|
3255
|
-
} | undefined;
|
|
3454
|
+
mime_type?: string | null | undefined;
|
|
3455
|
+
file?: string | null | undefined;
|
|
3456
|
+
height?: number | null | undefined;
|
|
3457
|
+
media?: string | null | undefined;
|
|
3458
|
+
refresh_url?: string | null | undefined;
|
|
3459
|
+
url?: string | null | undefined;
|
|
3460
|
+
width?: number | null | undefined;
|
|
3461
|
+
} | null | undefined;
|
|
3256
3462
|
variant_key?: string | undefined;
|
|
3257
3463
|
}[] | undefined;
|
|
3258
|
-
version?: number | undefined;
|
|
3464
|
+
version?: number | null | undefined;
|
|
3259
3465
|
}, {
|
|
3260
3466
|
type: string;
|
|
3261
3467
|
id: string;
|
|
3262
3468
|
object?: Record<string, unknown> | undefined;
|
|
3263
|
-
description?: string | undefined;
|
|
3264
|
-
name?: string | undefined;
|
|
3265
|
-
height?: number | undefined;
|
|
3266
|
-
url?: string | undefined;
|
|
3267
|
-
width?: number | undefined;
|
|
3268
|
-
image_url?: string | undefined;
|
|
3269
|
-
title?: string | undefined;
|
|
3270
|
-
content_type?: string | undefined;
|
|
3271
|
-
filename?: string | undefined;
|
|
3469
|
+
description?: string | null | undefined;
|
|
3470
|
+
name?: string | null | undefined;
|
|
3471
|
+
height?: number | null | undefined;
|
|
3472
|
+
url?: string | null | undefined;
|
|
3473
|
+
width?: number | null | undefined;
|
|
3474
|
+
image_url?: string | null | undefined;
|
|
3475
|
+
title?: string | null | undefined;
|
|
3476
|
+
content_type?: string | null | undefined;
|
|
3477
|
+
filename?: string | null | undefined;
|
|
3272
3478
|
image_source?: {
|
|
3273
|
-
mime_type?: string | undefined;
|
|
3274
|
-
file?: string | undefined;
|
|
3275
|
-
height?: number | undefined;
|
|
3276
|
-
media?: string | undefined;
|
|
3277
|
-
refresh_url?: string | undefined;
|
|
3278
|
-
url?: string | undefined;
|
|
3279
|
-
width?: number | undefined;
|
|
3280
|
-
} | undefined;
|
|
3281
|
-
image_height?: number | undefined;
|
|
3282
|
-
image_width?: number | undefined;
|
|
3479
|
+
mime_type?: string | null | undefined;
|
|
3480
|
+
file?: string | null | undefined;
|
|
3481
|
+
height?: number | null | undefined;
|
|
3482
|
+
media?: string | null | undefined;
|
|
3483
|
+
refresh_url?: string | null | undefined;
|
|
3484
|
+
url?: string | null | undefined;
|
|
3485
|
+
width?: number | null | undefined;
|
|
3486
|
+
} | null | undefined;
|
|
3487
|
+
image_height?: number | null | undefined;
|
|
3488
|
+
image_width?: number | null | undefined;
|
|
3283
3489
|
media_type?: string | undefined;
|
|
3284
3490
|
variants?: {
|
|
3285
3491
|
id: string;
|
|
3286
3492
|
created_at?: string | undefined;
|
|
3287
3493
|
updated_at?: string | undefined;
|
|
3288
3494
|
file?: string | undefined;
|
|
3289
|
-
height?: number | undefined;
|
|
3290
|
-
url?: string | undefined;
|
|
3291
|
-
width?: number | undefined;
|
|
3292
|
-
content_type?: string | undefined;
|
|
3293
|
-
filename?: string | undefined;
|
|
3495
|
+
height?: number | null | undefined;
|
|
3496
|
+
url?: string | null | undefined;
|
|
3497
|
+
width?: number | null | undefined;
|
|
3498
|
+
content_type?: string | null | undefined;
|
|
3499
|
+
filename?: string | null | undefined;
|
|
3294
3500
|
image_source?: {
|
|
3295
|
-
mime_type?: string | undefined;
|
|
3296
|
-
file?: string | undefined;
|
|
3297
|
-
height?: number | undefined;
|
|
3298
|
-
media?: string | undefined;
|
|
3299
|
-
refresh_url?: string | undefined;
|
|
3300
|
-
url?: string | undefined;
|
|
3301
|
-
width?: number | undefined;
|
|
3302
|
-
} | undefined;
|
|
3501
|
+
mime_type?: string | null | undefined;
|
|
3502
|
+
file?: string | null | undefined;
|
|
3503
|
+
height?: number | null | undefined;
|
|
3504
|
+
media?: string | null | undefined;
|
|
3505
|
+
refresh_url?: string | null | undefined;
|
|
3506
|
+
url?: string | null | undefined;
|
|
3507
|
+
width?: number | null | undefined;
|
|
3508
|
+
} | null | undefined;
|
|
3303
3509
|
variant_key?: string | undefined;
|
|
3304
3510
|
}[] | undefined;
|
|
3305
|
-
version?: number | undefined;
|
|
3511
|
+
version?: number | null | undefined;
|
|
3306
3512
|
}>, "many">>;
|
|
3307
3513
|
/** Text content of the message. `null` if the message contains only attachments. */
|
|
3308
3514
|
content: z.ZodOptional<z.ZodString>;
|
|
@@ -3364,49 +3570,49 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3364
3570
|
type: string;
|
|
3365
3571
|
id: string;
|
|
3366
3572
|
object?: Record<string, unknown> | undefined;
|
|
3367
|
-
description?: string | undefined;
|
|
3368
|
-
name?: string | undefined;
|
|
3369
|
-
height?: number | undefined;
|
|
3370
|
-
url?: string | undefined;
|
|
3371
|
-
width?: number | undefined;
|
|
3372
|
-
image_url?: string | undefined;
|
|
3373
|
-
title?: string | undefined;
|
|
3374
|
-
content_type?: string | undefined;
|
|
3375
|
-
filename?: string | undefined;
|
|
3573
|
+
description?: string | null | undefined;
|
|
3574
|
+
name?: string | null | undefined;
|
|
3575
|
+
height?: number | null | undefined;
|
|
3576
|
+
url?: string | null | undefined;
|
|
3577
|
+
width?: number | null | undefined;
|
|
3578
|
+
image_url?: string | null | undefined;
|
|
3579
|
+
title?: string | null | undefined;
|
|
3580
|
+
content_type?: string | null | undefined;
|
|
3581
|
+
filename?: string | null | undefined;
|
|
3376
3582
|
image_source?: {
|
|
3377
|
-
mime_type?: string | undefined;
|
|
3378
|
-
file?: string | undefined;
|
|
3379
|
-
height?: number | undefined;
|
|
3380
|
-
media?: string | undefined;
|
|
3381
|
-
refresh_url?: string | undefined;
|
|
3382
|
-
url?: string | undefined;
|
|
3383
|
-
width?: number | undefined;
|
|
3384
|
-
} | undefined;
|
|
3385
|
-
image_height?: number | undefined;
|
|
3386
|
-
image_width?: number | undefined;
|
|
3583
|
+
mime_type?: string | null | undefined;
|
|
3584
|
+
file?: string | null | undefined;
|
|
3585
|
+
height?: number | null | undefined;
|
|
3586
|
+
media?: string | null | undefined;
|
|
3587
|
+
refresh_url?: string | null | undefined;
|
|
3588
|
+
url?: string | null | undefined;
|
|
3589
|
+
width?: number | null | undefined;
|
|
3590
|
+
} | null | undefined;
|
|
3591
|
+
image_height?: number | null | undefined;
|
|
3592
|
+
image_width?: number | null | undefined;
|
|
3387
3593
|
media_type?: string | undefined;
|
|
3388
3594
|
variants?: {
|
|
3389
3595
|
id: string;
|
|
3390
3596
|
created_at?: string | undefined;
|
|
3391
3597
|
updated_at?: string | undefined;
|
|
3392
3598
|
file?: string | undefined;
|
|
3393
|
-
height?: number | undefined;
|
|
3394
|
-
url?: string | undefined;
|
|
3395
|
-
width?: number | undefined;
|
|
3396
|
-
content_type?: string | undefined;
|
|
3397
|
-
filename?: string | undefined;
|
|
3599
|
+
height?: number | null | undefined;
|
|
3600
|
+
url?: string | null | undefined;
|
|
3601
|
+
width?: number | null | undefined;
|
|
3602
|
+
content_type?: string | null | undefined;
|
|
3603
|
+
filename?: string | null | undefined;
|
|
3398
3604
|
image_source?: {
|
|
3399
|
-
mime_type?: string | undefined;
|
|
3400
|
-
file?: string | undefined;
|
|
3401
|
-
height?: number | undefined;
|
|
3402
|
-
media?: string | undefined;
|
|
3403
|
-
refresh_url?: string | undefined;
|
|
3404
|
-
url?: string | undefined;
|
|
3405
|
-
width?: number | undefined;
|
|
3406
|
-
} | undefined;
|
|
3605
|
+
mime_type?: string | null | undefined;
|
|
3606
|
+
file?: string | null | undefined;
|
|
3607
|
+
height?: number | null | undefined;
|
|
3608
|
+
media?: string | null | undefined;
|
|
3609
|
+
refresh_url?: string | null | undefined;
|
|
3610
|
+
url?: string | null | undefined;
|
|
3611
|
+
width?: number | null | undefined;
|
|
3612
|
+
} | null | undefined;
|
|
3407
3613
|
variant_key?: string | undefined;
|
|
3408
3614
|
}[] | undefined;
|
|
3409
|
-
version?: number | undefined;
|
|
3615
|
+
version?: number | null | undefined;
|
|
3410
3616
|
}[] | undefined;
|
|
3411
3617
|
visibility?: "default" | "private" | undefined;
|
|
3412
3618
|
agent_mode?: "cli" | "embedded" | undefined;
|
|
@@ -3447,49 +3653,49 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3447
3653
|
type: string;
|
|
3448
3654
|
id: string;
|
|
3449
3655
|
object?: Record<string, unknown> | undefined;
|
|
3450
|
-
description?: string | undefined;
|
|
3451
|
-
name?: string | undefined;
|
|
3452
|
-
height?: number | undefined;
|
|
3453
|
-
url?: string | undefined;
|
|
3454
|
-
width?: number | undefined;
|
|
3455
|
-
image_url?: string | undefined;
|
|
3456
|
-
title?: string | undefined;
|
|
3457
|
-
content_type?: string | undefined;
|
|
3458
|
-
filename?: string | undefined;
|
|
3656
|
+
description?: string | null | undefined;
|
|
3657
|
+
name?: string | null | undefined;
|
|
3658
|
+
height?: number | null | undefined;
|
|
3659
|
+
url?: string | null | undefined;
|
|
3660
|
+
width?: number | null | undefined;
|
|
3661
|
+
image_url?: string | null | undefined;
|
|
3662
|
+
title?: string | null | undefined;
|
|
3663
|
+
content_type?: string | null | undefined;
|
|
3664
|
+
filename?: string | null | undefined;
|
|
3459
3665
|
image_source?: {
|
|
3460
|
-
mime_type?: string | undefined;
|
|
3461
|
-
file?: string | undefined;
|
|
3462
|
-
height?: number | undefined;
|
|
3463
|
-
media?: string | undefined;
|
|
3464
|
-
refresh_url?: string | undefined;
|
|
3465
|
-
url?: string | undefined;
|
|
3466
|
-
width?: number | undefined;
|
|
3467
|
-
} | undefined;
|
|
3468
|
-
image_height?: number | undefined;
|
|
3469
|
-
image_width?: number | undefined;
|
|
3666
|
+
mime_type?: string | null | undefined;
|
|
3667
|
+
file?: string | null | undefined;
|
|
3668
|
+
height?: number | null | undefined;
|
|
3669
|
+
media?: string | null | undefined;
|
|
3670
|
+
refresh_url?: string | null | undefined;
|
|
3671
|
+
url?: string | null | undefined;
|
|
3672
|
+
width?: number | null | undefined;
|
|
3673
|
+
} | null | undefined;
|
|
3674
|
+
image_height?: number | null | undefined;
|
|
3675
|
+
image_width?: number | null | undefined;
|
|
3470
3676
|
media_type?: string | undefined;
|
|
3471
3677
|
variants?: {
|
|
3472
3678
|
id: string;
|
|
3473
3679
|
created_at?: string | undefined;
|
|
3474
3680
|
updated_at?: string | undefined;
|
|
3475
3681
|
file?: string | undefined;
|
|
3476
|
-
height?: number | undefined;
|
|
3477
|
-
url?: string | undefined;
|
|
3478
|
-
width?: number | undefined;
|
|
3479
|
-
content_type?: string | undefined;
|
|
3480
|
-
filename?: string | undefined;
|
|
3682
|
+
height?: number | null | undefined;
|
|
3683
|
+
url?: string | null | undefined;
|
|
3684
|
+
width?: number | null | undefined;
|
|
3685
|
+
content_type?: string | null | undefined;
|
|
3686
|
+
filename?: string | null | undefined;
|
|
3481
3687
|
image_source?: {
|
|
3482
|
-
mime_type?: string | undefined;
|
|
3483
|
-
file?: string | undefined;
|
|
3484
|
-
height?: number | undefined;
|
|
3485
|
-
media?: string | undefined;
|
|
3486
|
-
refresh_url?: string | undefined;
|
|
3487
|
-
url?: string | undefined;
|
|
3488
|
-
width?: number | undefined;
|
|
3489
|
-
} | undefined;
|
|
3688
|
+
mime_type?: string | null | undefined;
|
|
3689
|
+
file?: string | null | undefined;
|
|
3690
|
+
height?: number | null | undefined;
|
|
3691
|
+
media?: string | null | undefined;
|
|
3692
|
+
refresh_url?: string | null | undefined;
|
|
3693
|
+
url?: string | null | undefined;
|
|
3694
|
+
width?: number | null | undefined;
|
|
3695
|
+
} | null | undefined;
|
|
3490
3696
|
variant_key?: string | undefined;
|
|
3491
3697
|
}[] | undefined;
|
|
3492
|
-
version?: number | undefined;
|
|
3698
|
+
version?: number | null | undefined;
|
|
3493
3699
|
}[] | undefined;
|
|
3494
3700
|
visibility?: "default" | "private" | undefined;
|
|
3495
3701
|
agent_mode?: "cli" | "embedded" | undefined;
|