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