@marketrix.ai/widget 3.8.2 → 3.8.9
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/src/context/ChatContext.d.ts.map +1 -1
- package/dist/src/context/TaskContext.d.ts +3 -1
- package/dist/src/context/TaskContext.d.ts.map +1 -1
- package/dist/src/context/UIStateContext.d.ts.map +1 -1
- package/dist/src/context/WidgetProviders.d.ts +4 -2
- package/dist/src/context/WidgetProviders.d.ts.map +1 -1
- package/dist/src/context/sseReducer.d.ts +53 -0
- package/dist/src/context/sseReducer.d.ts.map +1 -0
- package/dist/src/sdk/contract.d.ts +806 -0
- package/dist/src/sdk/contract.d.ts.map +1 -0
- package/dist/src/sdk/contracts/activityLog.d.ts +420 -0
- package/dist/src/sdk/contracts/activityLog.d.ts.map +1 -0
- package/dist/src/sdk/contracts/agent.d.ts +3243 -0
- package/dist/src/sdk/contracts/agent.d.ts.map +1 -0
- package/dist/src/sdk/contracts/application.d.ts +525 -0
- package/dist/src/sdk/contracts/application.d.ts.map +1 -0
- package/dist/src/sdk/contracts/chat.d.ts +6 -0
- package/dist/src/sdk/contracts/chat.d.ts.map +1 -0
- package/dist/src/sdk/contracts/common.d.ts +168 -0
- package/dist/src/sdk/contracts/common.d.ts.map +1 -0
- package/dist/src/sdk/contracts/entities.d.ts +935 -0
- package/dist/src/sdk/contracts/entities.d.ts.map +1 -0
- package/dist/src/sdk/contracts/widget.d.ts +2426 -0
- package/dist/src/sdk/contracts/widget.d.ts.map +1 -0
- package/dist/src/sdk/index.d.ts +411 -7498
- package/dist/src/sdk/index.d.ts.map +1 -1
- package/dist/src/services/ApiService.d.ts.map +1 -1
- package/dist/src/services/ChatService.d.ts +26 -27
- package/dist/src/services/ChatService.d.ts.map +1 -1
- package/dist/src/services/StreamClient.d.ts +1 -1
- package/dist/src/services/StreamClient.d.ts.map +1 -1
- package/dist/src/services/ToolService.d.ts.map +1 -1
- package/dist/src/utils/chat.d.ts +12 -0
- package/dist/src/utils/chat.d.ts.map +1 -1
- package/dist/widget.mjs +65 -65
- package/dist/widget.mjs.map +1 -1
- package/package.json +2 -1
- package/dist/src/sdk/routes.d.ts +0 -7901
- package/dist/src/sdk/routes.d.ts.map +0 -1
- package/dist/src/sdk/schema.d.ts +0 -6584
- package/dist/src/sdk/schema.d.ts.map +0 -1
|
@@ -0,0 +1,806 @@
|
|
|
1
|
+
export declare const widgetContract: {
|
|
2
|
+
activityLogCreate: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
3
|
+
id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
4
|
+
created_at: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>>;
|
|
5
|
+
updated_at: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>>;
|
|
6
|
+
workspace_id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
7
|
+
user_id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
8
|
+
metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodObject<{
|
|
9
|
+
details: import("zod").ZodOptional<import("zod").ZodString>;
|
|
10
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
11
|
+
type: import("zod").ZodOptional<import("zod").ZodString>;
|
|
12
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
13
|
+
target_user_id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
14
|
+
target_user_email: import("zod").ZodOptional<import("zod").ZodString>;
|
|
15
|
+
reason: import("zod").ZodOptional<import("zod").ZodString>;
|
|
16
|
+
assigned_role: import("zod").ZodOptional<import("zod").ZodString>;
|
|
17
|
+
new_role: import("zod").ZodOptional<import("zod").ZodString>;
|
|
18
|
+
previous_role: import("zod").ZodOptional<import("zod").ZodString>;
|
|
19
|
+
workspace_name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
20
|
+
workspace_slug: import("zod").ZodOptional<import("zod").ZodString>;
|
|
21
|
+
ip_address: import("zod").ZodOptional<import("zod").ZodString>;
|
|
22
|
+
user_agent: import("zod").ZodOptional<import("zod").ZodString>;
|
|
23
|
+
widget_type: import("zod").ZodOptional<import("zod").ZodString>;
|
|
24
|
+
created_by: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
25
|
+
}, import("zod/v4/core").$loose>>>;
|
|
26
|
+
type: import("zod").ZodEnum<{
|
|
27
|
+
user_login: "user_login";
|
|
28
|
+
url_visit: "url_visit";
|
|
29
|
+
update_workspace: "update_workspace";
|
|
30
|
+
create_user: "create_user";
|
|
31
|
+
update_user: "update_user";
|
|
32
|
+
delete_user: "delete_user";
|
|
33
|
+
create_agent: "create_agent";
|
|
34
|
+
update_agent: "update_agent";
|
|
35
|
+
delete_agent: "delete_agent";
|
|
36
|
+
create_application: "create_application";
|
|
37
|
+
update_application: "update_application";
|
|
38
|
+
delete_application: "delete_application";
|
|
39
|
+
create_widget: "create_widget";
|
|
40
|
+
update_widget: "update_widget";
|
|
41
|
+
delete_widget: "delete_widget";
|
|
42
|
+
create_knowledge: "create_knowledge";
|
|
43
|
+
update_knowledge: "update_knowledge";
|
|
44
|
+
delete_knowledge: "delete_knowledge";
|
|
45
|
+
approve_user: "approve_user";
|
|
46
|
+
deny_user: "deny_user";
|
|
47
|
+
request_workspace: "request_workspace";
|
|
48
|
+
widget_question: "widget_question";
|
|
49
|
+
qa_run_started: "qa_run_started";
|
|
50
|
+
start_simulation: "start_simulation";
|
|
51
|
+
create_automation: "create_automation";
|
|
52
|
+
update_automation: "update_automation";
|
|
53
|
+
delete_automation: "delete_automation";
|
|
54
|
+
toggle_automation: "toggle_automation";
|
|
55
|
+
slack_command: "slack_command";
|
|
56
|
+
}>;
|
|
57
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
58
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
59
|
+
created_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
|
|
60
|
+
updated_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
|
|
61
|
+
workspace_id: import("zod").ZodNumber;
|
|
62
|
+
user_id: import("zod").ZodNumber;
|
|
63
|
+
type: import("zod").ZodEnum<{
|
|
64
|
+
user_login: "user_login";
|
|
65
|
+
url_visit: "url_visit";
|
|
66
|
+
update_workspace: "update_workspace";
|
|
67
|
+
create_user: "create_user";
|
|
68
|
+
update_user: "update_user";
|
|
69
|
+
delete_user: "delete_user";
|
|
70
|
+
create_agent: "create_agent";
|
|
71
|
+
update_agent: "update_agent";
|
|
72
|
+
delete_agent: "delete_agent";
|
|
73
|
+
create_application: "create_application";
|
|
74
|
+
update_application: "update_application";
|
|
75
|
+
delete_application: "delete_application";
|
|
76
|
+
create_widget: "create_widget";
|
|
77
|
+
update_widget: "update_widget";
|
|
78
|
+
delete_widget: "delete_widget";
|
|
79
|
+
create_knowledge: "create_knowledge";
|
|
80
|
+
update_knowledge: "update_knowledge";
|
|
81
|
+
delete_knowledge: "delete_knowledge";
|
|
82
|
+
approve_user: "approve_user";
|
|
83
|
+
deny_user: "deny_user";
|
|
84
|
+
request_workspace: "request_workspace";
|
|
85
|
+
widget_question: "widget_question";
|
|
86
|
+
qa_run_started: "qa_run_started";
|
|
87
|
+
start_simulation: "start_simulation";
|
|
88
|
+
create_automation: "create_automation";
|
|
89
|
+
update_automation: "update_automation";
|
|
90
|
+
delete_automation: "delete_automation";
|
|
91
|
+
toggle_automation: "toggle_automation";
|
|
92
|
+
slack_command: "slack_command";
|
|
93
|
+
}>;
|
|
94
|
+
metadata: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
95
|
+
details: import("zod").ZodOptional<import("zod").ZodString>;
|
|
96
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
97
|
+
type: import("zod").ZodOptional<import("zod").ZodString>;
|
|
98
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
99
|
+
target_user_id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
100
|
+
target_user_email: import("zod").ZodOptional<import("zod").ZodString>;
|
|
101
|
+
reason: import("zod").ZodOptional<import("zod").ZodString>;
|
|
102
|
+
assigned_role: import("zod").ZodOptional<import("zod").ZodString>;
|
|
103
|
+
new_role: import("zod").ZodOptional<import("zod").ZodString>;
|
|
104
|
+
previous_role: import("zod").ZodOptional<import("zod").ZodString>;
|
|
105
|
+
workspace_name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
106
|
+
workspace_slug: import("zod").ZodOptional<import("zod").ZodString>;
|
|
107
|
+
ip_address: import("zod").ZodOptional<import("zod").ZodString>;
|
|
108
|
+
user_agent: import("zod").ZodOptional<import("zod").ZodString>;
|
|
109
|
+
widget_type: import("zod").ZodOptional<import("zod").ZodString>;
|
|
110
|
+
created_by: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
111
|
+
}, import("zod/v4/core").$loose>>;
|
|
112
|
+
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
113
|
+
agentGet: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
114
|
+
agent_id: import("zod").ZodCoercedNumber<unknown>;
|
|
115
|
+
include: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<{
|
|
116
|
+
knowledge: "knowledge";
|
|
117
|
+
simulations: "simulations";
|
|
118
|
+
}>>>;
|
|
119
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
120
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
121
|
+
created_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
|
|
122
|
+
updated_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
|
|
123
|
+
workspace_id: import("zod").ZodNumber;
|
|
124
|
+
user_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
125
|
+
application_id: import("zod").ZodNumber;
|
|
126
|
+
agent_name: import("zod").ZodString;
|
|
127
|
+
agent_type: import("zod").ZodEnum<{
|
|
128
|
+
human: "human";
|
|
129
|
+
ai: "ai";
|
|
130
|
+
}>;
|
|
131
|
+
agent_voice: import("zod").ZodEnum<{
|
|
132
|
+
male: "male";
|
|
133
|
+
female: "female";
|
|
134
|
+
}>;
|
|
135
|
+
agent_description: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
136
|
+
instructions: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
137
|
+
image_url: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
138
|
+
graph_index_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
139
|
+
status: import("zod").ZodEnum<{
|
|
140
|
+
active: "active";
|
|
141
|
+
error: "error";
|
|
142
|
+
learning: "learning";
|
|
143
|
+
}>;
|
|
144
|
+
status_message: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
145
|
+
learning_progress: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
|
|
146
|
+
graph_index_created: import("zod").ZodNullable<import("zod").ZodBoolean>;
|
|
147
|
+
}, import("zod/v4/core").$strip>>>;
|
|
148
|
+
learning_started_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>>;
|
|
149
|
+
workspace: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
150
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
151
|
+
created_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
|
|
152
|
+
updated_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
|
|
153
|
+
name: import("zod").ZodString;
|
|
154
|
+
slug: import("zod").ZodString;
|
|
155
|
+
status: import("zod").ZodEnum<{
|
|
156
|
+
created: "created";
|
|
157
|
+
active: "active";
|
|
158
|
+
suspended: "suspended";
|
|
159
|
+
pending_approval: "pending_approval";
|
|
160
|
+
}>;
|
|
161
|
+
package: import("zod").ZodEnum<{
|
|
162
|
+
free: "free";
|
|
163
|
+
startup: "startup";
|
|
164
|
+
growth: "growth";
|
|
165
|
+
enterprise: "enterprise";
|
|
166
|
+
}>;
|
|
167
|
+
ending_date: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>>;
|
|
168
|
+
external_workspace_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
169
|
+
slack_webhook_configured: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
170
|
+
notify_all_members_on_question: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
171
|
+
}, import("zod/v4/core").$strip>>;
|
|
172
|
+
user: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
173
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
174
|
+
created_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
|
|
175
|
+
updated_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
|
|
176
|
+
is_super: import("zod").ZodBoolean;
|
|
177
|
+
status: import("zod").ZodEnum<{
|
|
178
|
+
created: "created";
|
|
179
|
+
active: "active";
|
|
180
|
+
suspended: "suspended";
|
|
181
|
+
pending_approval: "pending_approval";
|
|
182
|
+
}>;
|
|
183
|
+
email: import("zod").ZodString;
|
|
184
|
+
external_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
185
|
+
first_name: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
186
|
+
last_name: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
187
|
+
password: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
188
|
+
image_url: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
189
|
+
prompt_limit: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
190
|
+
last_login_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>>;
|
|
191
|
+
auth_method: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
192
|
+
password: "password";
|
|
193
|
+
oauth: "oauth";
|
|
194
|
+
}>>>;
|
|
195
|
+
}, import("zod/v4/core").$strip>>;
|
|
196
|
+
knowledge: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
197
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
198
|
+
created_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
|
|
199
|
+
updated_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
|
|
200
|
+
workspace_id: import("zod").ZodNumber;
|
|
201
|
+
application_id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
202
|
+
file_name: import("zod").ZodString;
|
|
203
|
+
file_size: import("zod").ZodCoercedNumber<unknown>;
|
|
204
|
+
file_type: import("zod").ZodEnum<{
|
|
205
|
+
document: "document";
|
|
206
|
+
video: "video";
|
|
207
|
+
}>;
|
|
208
|
+
file_url: import("zod").ZodString;
|
|
209
|
+
source_url: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
210
|
+
source: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
211
|
+
user: "user";
|
|
212
|
+
research: "research";
|
|
213
|
+
}>>>;
|
|
214
|
+
agents: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
215
|
+
id: import("zod").ZodNumber;
|
|
216
|
+
agent_name: import("zod").ZodString;
|
|
217
|
+
image_url: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
218
|
+
}, import("zod/v4/core").$strip>>>;
|
|
219
|
+
}, import("zod/v4/core").$strip>>>;
|
|
220
|
+
simulations: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
221
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
222
|
+
created_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
|
|
223
|
+
updated_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
|
|
224
|
+
application_id: import("zod").ZodNumber;
|
|
225
|
+
agent_id: import("zod").ZodNumber;
|
|
226
|
+
job_id: import("zod").ZodString;
|
|
227
|
+
browser_session_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
228
|
+
status: import("zod").ZodEnum<{
|
|
229
|
+
completed: "completed";
|
|
230
|
+
failed: "failed";
|
|
231
|
+
queued: "queued";
|
|
232
|
+
running: "running";
|
|
233
|
+
creating_knowledge: "creating_knowledge";
|
|
234
|
+
has_question: "has_question";
|
|
235
|
+
stopped: "stopped";
|
|
236
|
+
}>;
|
|
237
|
+
status_message: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
238
|
+
path: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
239
|
+
instructions: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
240
|
+
pinned: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
241
|
+
source: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
242
|
+
direct: "direct";
|
|
243
|
+
qa: "qa";
|
|
244
|
+
}>>;
|
|
245
|
+
agent_name: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
246
|
+
graph_index_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
247
|
+
source_metadata: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
248
|
+
tasks: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
249
|
+
task_id: import("zod").ZodString;
|
|
250
|
+
title: import("zod").ZodString;
|
|
251
|
+
instructions: import("zod").ZodString;
|
|
252
|
+
status: import("zod").ZodEnum<{
|
|
253
|
+
pending: "pending";
|
|
254
|
+
failed: "failed";
|
|
255
|
+
running: "running";
|
|
256
|
+
has_question: "has_question";
|
|
257
|
+
stopped: "stopped";
|
|
258
|
+
passed: "passed";
|
|
259
|
+
skipped: "skipped";
|
|
260
|
+
}>;
|
|
261
|
+
error_message: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
262
|
+
started_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
263
|
+
completed_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
264
|
+
order_index: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
265
|
+
tab_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
266
|
+
step_count: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
267
|
+
blocked_by: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
|
|
268
|
+
task_id: import("zod").ZodString;
|
|
269
|
+
condition: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
270
|
+
pass: "pass";
|
|
271
|
+
}>>;
|
|
272
|
+
}, import("zod/v4/core").$strip>>>;
|
|
273
|
+
}, import("zod/v4/core").$strip>>>;
|
|
274
|
+
agents: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
275
|
+
id: import("zod").ZodNumber;
|
|
276
|
+
agent_name: import("zod").ZodString;
|
|
277
|
+
image_url: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
278
|
+
}, import("zod/v4/core").$strip>>>;
|
|
279
|
+
mindmap_status: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
280
|
+
pending: "pending";
|
|
281
|
+
completed: "completed";
|
|
282
|
+
failed: "failed";
|
|
283
|
+
generating: "generating";
|
|
284
|
+
}>>;
|
|
285
|
+
mindmap_steps_processed: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
286
|
+
mindmap_steps_total: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
287
|
+
mindmap_error: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
288
|
+
created_by_user_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
289
|
+
persona_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
290
|
+
has_question: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
291
|
+
}, import("zod/v4/core").$strip>>>;
|
|
292
|
+
simulation_count: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
293
|
+
knowledge_count: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
294
|
+
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
295
|
+
applicationGet: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
296
|
+
application_id: import("zod").ZodCoercedNumber<unknown>;
|
|
297
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
298
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
299
|
+
created_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
|
|
300
|
+
updated_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
|
|
301
|
+
slug: import("zod").ZodString;
|
|
302
|
+
type: import("zod").ZodEnum<{
|
|
303
|
+
app: "app";
|
|
304
|
+
website: "website";
|
|
305
|
+
}>;
|
|
306
|
+
name: import("zod").ZodString;
|
|
307
|
+
url: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
308
|
+
workspace_id: import("zod").ZodNumber;
|
|
309
|
+
username: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
310
|
+
allowed_domains: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodString>>>>;
|
|
311
|
+
widgets: import("zod").ZodArray<import("zod").ZodObject<{
|
|
312
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
313
|
+
created_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
|
|
314
|
+
updated_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
|
|
315
|
+
application_id: import("zod").ZodNumber;
|
|
316
|
+
agent_id: import("zod").ZodNumber;
|
|
317
|
+
type: import("zod").ZodEnum<{
|
|
318
|
+
widget: "widget";
|
|
319
|
+
}>;
|
|
320
|
+
settings: import("zod").ZodObject<{
|
|
321
|
+
widget_enabled: import("zod").ZodBoolean;
|
|
322
|
+
widget_appearance: import("zod").ZodEnum<{
|
|
323
|
+
default: "default";
|
|
324
|
+
compact: "compact";
|
|
325
|
+
full: "full";
|
|
326
|
+
}>;
|
|
327
|
+
widget_position: import("zod").ZodEnum<{
|
|
328
|
+
bottom_left: "bottom_left";
|
|
329
|
+
bottom_right: "bottom_right";
|
|
330
|
+
top_left: "top_left";
|
|
331
|
+
top_right: "top_right";
|
|
332
|
+
}>;
|
|
333
|
+
widget_device: import("zod").ZodEnum<{
|
|
334
|
+
desktop: "desktop";
|
|
335
|
+
mobile: "mobile";
|
|
336
|
+
desktop_mobile: "desktop_mobile";
|
|
337
|
+
}>;
|
|
338
|
+
widget_header: import("zod").ZodString;
|
|
339
|
+
widget_body: import("zod").ZodString;
|
|
340
|
+
widget_greeting: import("zod").ZodString;
|
|
341
|
+
widget_feature_tell: import("zod").ZodBoolean;
|
|
342
|
+
widget_feature_show: import("zod").ZodBoolean;
|
|
343
|
+
widget_feature_do: import("zod").ZodBoolean;
|
|
344
|
+
widget_feature_human: import("zod").ZodBoolean;
|
|
345
|
+
widget_background_color: import("zod").ZodString;
|
|
346
|
+
widget_text_color: import("zod").ZodString;
|
|
347
|
+
widget_border_color: import("zod").ZodString;
|
|
348
|
+
widget_accent_color: import("zod").ZodString;
|
|
349
|
+
widget_secondary_color: import("zod").ZodString;
|
|
350
|
+
widget_border_radius: import("zod").ZodString;
|
|
351
|
+
widget_font_size: import("zod").ZodString;
|
|
352
|
+
widget_width: import("zod").ZodString;
|
|
353
|
+
widget_height: import("zod").ZodString;
|
|
354
|
+
widget_shadow: import("zod").ZodString;
|
|
355
|
+
widget_animation_duration: import("zod").ZodString;
|
|
356
|
+
widget_fade_duration: import("zod").ZodString;
|
|
357
|
+
widget_bounce_effect: import("zod").ZodBoolean;
|
|
358
|
+
widget_chips: import("zod").ZodArray<import("zod").ZodObject<{
|
|
359
|
+
chip_mode: import("zod").ZodEnum<{
|
|
360
|
+
tell: "tell";
|
|
361
|
+
show: "show";
|
|
362
|
+
do: "do";
|
|
363
|
+
}>;
|
|
364
|
+
chip_text: import("zod").ZodString;
|
|
365
|
+
}, import("zod/v4/core").$strip>>;
|
|
366
|
+
}, import("zod/v4/core").$strip>;
|
|
367
|
+
status: import("zod").ZodEnum<{
|
|
368
|
+
created: "created";
|
|
369
|
+
active: "active";
|
|
370
|
+
suspended: "suspended";
|
|
371
|
+
pending_approval: "pending_approval";
|
|
372
|
+
}>;
|
|
373
|
+
marketrix_id: import("zod").ZodString;
|
|
374
|
+
marketrix_key: import("zod").ZodString;
|
|
375
|
+
snippet: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
376
|
+
}, import("zod/v4/core").$strip>>;
|
|
377
|
+
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
378
|
+
chatCreate: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, import("zod").ZodString, Record<never, never>, Record<never, never>>;
|
|
379
|
+
widgetGetDefaults: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
380
|
+
type: import("zod").ZodEnum<{
|
|
381
|
+
widget: "widget";
|
|
382
|
+
}>;
|
|
383
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
384
|
+
widget_enabled: import("zod").ZodBoolean;
|
|
385
|
+
widget_appearance: import("zod").ZodEnum<{
|
|
386
|
+
default: "default";
|
|
387
|
+
compact: "compact";
|
|
388
|
+
full: "full";
|
|
389
|
+
}>;
|
|
390
|
+
widget_position: import("zod").ZodEnum<{
|
|
391
|
+
bottom_left: "bottom_left";
|
|
392
|
+
bottom_right: "bottom_right";
|
|
393
|
+
top_left: "top_left";
|
|
394
|
+
top_right: "top_right";
|
|
395
|
+
}>;
|
|
396
|
+
widget_device: import("zod").ZodEnum<{
|
|
397
|
+
desktop: "desktop";
|
|
398
|
+
mobile: "mobile";
|
|
399
|
+
desktop_mobile: "desktop_mobile";
|
|
400
|
+
}>;
|
|
401
|
+
widget_header: import("zod").ZodString;
|
|
402
|
+
widget_body: import("zod").ZodString;
|
|
403
|
+
widget_greeting: import("zod").ZodString;
|
|
404
|
+
widget_feature_tell: import("zod").ZodBoolean;
|
|
405
|
+
widget_feature_show: import("zod").ZodBoolean;
|
|
406
|
+
widget_feature_do: import("zod").ZodBoolean;
|
|
407
|
+
widget_feature_human: import("zod").ZodBoolean;
|
|
408
|
+
widget_background_color: import("zod").ZodString;
|
|
409
|
+
widget_text_color: import("zod").ZodString;
|
|
410
|
+
widget_border_color: import("zod").ZodString;
|
|
411
|
+
widget_accent_color: import("zod").ZodString;
|
|
412
|
+
widget_secondary_color: import("zod").ZodString;
|
|
413
|
+
widget_border_radius: import("zod").ZodString;
|
|
414
|
+
widget_font_size: import("zod").ZodString;
|
|
415
|
+
widget_width: import("zod").ZodString;
|
|
416
|
+
widget_height: import("zod").ZodString;
|
|
417
|
+
widget_shadow: import("zod").ZodString;
|
|
418
|
+
widget_animation_duration: import("zod").ZodString;
|
|
419
|
+
widget_fade_duration: import("zod").ZodString;
|
|
420
|
+
widget_bounce_effect: import("zod").ZodBoolean;
|
|
421
|
+
widget_chips: import("zod").ZodArray<import("zod").ZodObject<{
|
|
422
|
+
chip_mode: import("zod").ZodEnum<{
|
|
423
|
+
tell: "tell";
|
|
424
|
+
show: "show";
|
|
425
|
+
do: "do";
|
|
426
|
+
}>;
|
|
427
|
+
chip_text: import("zod").ZodString;
|
|
428
|
+
}, import("zod/v4/core").$strip>>;
|
|
429
|
+
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
430
|
+
widgetSearch: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
431
|
+
type: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
432
|
+
widget: "widget";
|
|
433
|
+
}>>;
|
|
434
|
+
application_id: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
|
|
435
|
+
marketrix_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
436
|
+
marketrix_key: import("zod").ZodOptional<import("zod").ZodString>;
|
|
437
|
+
include: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<{
|
|
438
|
+
agent: "agent";
|
|
439
|
+
}>>>;
|
|
440
|
+
limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
|
|
441
|
+
offset: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
|
|
442
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
443
|
+
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
444
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
445
|
+
created_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
|
|
446
|
+
updated_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
|
|
447
|
+
application_id: import("zod").ZodNumber;
|
|
448
|
+
agent_id: import("zod").ZodNumber;
|
|
449
|
+
type: import("zod").ZodEnum<{
|
|
450
|
+
widget: "widget";
|
|
451
|
+
}>;
|
|
452
|
+
settings: import("zod").ZodObject<{
|
|
453
|
+
widget_enabled: import("zod").ZodBoolean;
|
|
454
|
+
widget_appearance: import("zod").ZodEnum<{
|
|
455
|
+
default: "default";
|
|
456
|
+
compact: "compact";
|
|
457
|
+
full: "full";
|
|
458
|
+
}>;
|
|
459
|
+
widget_position: import("zod").ZodEnum<{
|
|
460
|
+
bottom_left: "bottom_left";
|
|
461
|
+
bottom_right: "bottom_right";
|
|
462
|
+
top_left: "top_left";
|
|
463
|
+
top_right: "top_right";
|
|
464
|
+
}>;
|
|
465
|
+
widget_device: import("zod").ZodEnum<{
|
|
466
|
+
desktop: "desktop";
|
|
467
|
+
mobile: "mobile";
|
|
468
|
+
desktop_mobile: "desktop_mobile";
|
|
469
|
+
}>;
|
|
470
|
+
widget_header: import("zod").ZodString;
|
|
471
|
+
widget_body: import("zod").ZodString;
|
|
472
|
+
widget_greeting: import("zod").ZodString;
|
|
473
|
+
widget_feature_tell: import("zod").ZodBoolean;
|
|
474
|
+
widget_feature_show: import("zod").ZodBoolean;
|
|
475
|
+
widget_feature_do: import("zod").ZodBoolean;
|
|
476
|
+
widget_feature_human: import("zod").ZodBoolean;
|
|
477
|
+
widget_background_color: import("zod").ZodString;
|
|
478
|
+
widget_text_color: import("zod").ZodString;
|
|
479
|
+
widget_border_color: import("zod").ZodString;
|
|
480
|
+
widget_accent_color: import("zod").ZodString;
|
|
481
|
+
widget_secondary_color: import("zod").ZodString;
|
|
482
|
+
widget_border_radius: import("zod").ZodString;
|
|
483
|
+
widget_font_size: import("zod").ZodString;
|
|
484
|
+
widget_width: import("zod").ZodString;
|
|
485
|
+
widget_height: import("zod").ZodString;
|
|
486
|
+
widget_shadow: import("zod").ZodString;
|
|
487
|
+
widget_animation_duration: import("zod").ZodString;
|
|
488
|
+
widget_fade_duration: import("zod").ZodString;
|
|
489
|
+
widget_bounce_effect: import("zod").ZodBoolean;
|
|
490
|
+
widget_chips: import("zod").ZodArray<import("zod").ZodObject<{
|
|
491
|
+
chip_mode: import("zod").ZodEnum<{
|
|
492
|
+
tell: "tell";
|
|
493
|
+
show: "show";
|
|
494
|
+
do: "do";
|
|
495
|
+
}>;
|
|
496
|
+
chip_text: import("zod").ZodString;
|
|
497
|
+
}, import("zod/v4/core").$strip>>;
|
|
498
|
+
}, import("zod/v4/core").$strip>;
|
|
499
|
+
status: import("zod").ZodEnum<{
|
|
500
|
+
created: "created";
|
|
501
|
+
active: "active";
|
|
502
|
+
suspended: "suspended";
|
|
503
|
+
pending_approval: "pending_approval";
|
|
504
|
+
}>;
|
|
505
|
+
marketrix_id: import("zod").ZodString;
|
|
506
|
+
marketrix_key: import("zod").ZodString;
|
|
507
|
+
snippet: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
508
|
+
agent: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
509
|
+
id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
510
|
+
created_at: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>>;
|
|
511
|
+
updated_at: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>>;
|
|
512
|
+
workspace_id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
513
|
+
user_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>>;
|
|
514
|
+
application_id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
515
|
+
agent_name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
516
|
+
agent_type: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
517
|
+
human: "human";
|
|
518
|
+
ai: "ai";
|
|
519
|
+
}>>;
|
|
520
|
+
agent_voice: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
521
|
+
male: "male";
|
|
522
|
+
female: "female";
|
|
523
|
+
}>>;
|
|
524
|
+
agent_description: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
|
|
525
|
+
instructions: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
|
|
526
|
+
image_url: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
|
|
527
|
+
graph_index_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
|
|
528
|
+
status: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
529
|
+
active: "active";
|
|
530
|
+
error: "error";
|
|
531
|
+
learning: "learning";
|
|
532
|
+
}>>;
|
|
533
|
+
status_message: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>>;
|
|
534
|
+
learning_progress: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
|
|
535
|
+
graph_index_created: import("zod").ZodNullable<import("zod").ZodBoolean>;
|
|
536
|
+
}, import("zod/v4/core").$strip>>>>;
|
|
537
|
+
learning_started_at: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>>>;
|
|
538
|
+
workspace: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodObject<{
|
|
539
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
540
|
+
created_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
|
|
541
|
+
updated_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
|
|
542
|
+
name: import("zod").ZodString;
|
|
543
|
+
slug: import("zod").ZodString;
|
|
544
|
+
status: import("zod").ZodEnum<{
|
|
545
|
+
created: "created";
|
|
546
|
+
active: "active";
|
|
547
|
+
suspended: "suspended";
|
|
548
|
+
pending_approval: "pending_approval";
|
|
549
|
+
}>;
|
|
550
|
+
package: import("zod").ZodEnum<{
|
|
551
|
+
free: "free";
|
|
552
|
+
startup: "startup";
|
|
553
|
+
growth: "growth";
|
|
554
|
+
enterprise: "enterprise";
|
|
555
|
+
}>;
|
|
556
|
+
ending_date: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>>;
|
|
557
|
+
external_workspace_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
558
|
+
slack_webhook_configured: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
559
|
+
notify_all_members_on_question: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
560
|
+
}, import("zod/v4/core").$strip>>>;
|
|
561
|
+
user: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodObject<{
|
|
562
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
563
|
+
created_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
|
|
564
|
+
updated_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
|
|
565
|
+
is_super: import("zod").ZodBoolean;
|
|
566
|
+
status: import("zod").ZodEnum<{
|
|
567
|
+
created: "created";
|
|
568
|
+
active: "active";
|
|
569
|
+
suspended: "suspended";
|
|
570
|
+
pending_approval: "pending_approval";
|
|
571
|
+
}>;
|
|
572
|
+
email: import("zod").ZodString;
|
|
573
|
+
external_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
574
|
+
first_name: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
575
|
+
last_name: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
576
|
+
password: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
577
|
+
image_url: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
578
|
+
prompt_limit: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
579
|
+
last_login_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>>;
|
|
580
|
+
auth_method: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
581
|
+
password: "password";
|
|
582
|
+
oauth: "oauth";
|
|
583
|
+
}>>>;
|
|
584
|
+
}, import("zod/v4/core").$strip>>>;
|
|
585
|
+
knowledge: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
586
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
587
|
+
created_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
|
|
588
|
+
updated_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
|
|
589
|
+
workspace_id: import("zod").ZodNumber;
|
|
590
|
+
application_id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
591
|
+
file_name: import("zod").ZodString;
|
|
592
|
+
file_size: import("zod").ZodCoercedNumber<unknown>;
|
|
593
|
+
file_type: import("zod").ZodEnum<{
|
|
594
|
+
document: "document";
|
|
595
|
+
video: "video";
|
|
596
|
+
}>;
|
|
597
|
+
file_url: import("zod").ZodString;
|
|
598
|
+
source_url: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
599
|
+
source: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
600
|
+
user: "user";
|
|
601
|
+
research: "research";
|
|
602
|
+
}>>>;
|
|
603
|
+
agents: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
604
|
+
id: import("zod").ZodNumber;
|
|
605
|
+
agent_name: import("zod").ZodString;
|
|
606
|
+
image_url: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
607
|
+
}, import("zod/v4/core").$strip>>>;
|
|
608
|
+
}, import("zod/v4/core").$strip>>>>;
|
|
609
|
+
simulations: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
610
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
611
|
+
created_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
|
|
612
|
+
updated_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
|
|
613
|
+
application_id: import("zod").ZodNumber;
|
|
614
|
+
agent_id: import("zod").ZodNumber;
|
|
615
|
+
job_id: import("zod").ZodString;
|
|
616
|
+
browser_session_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
617
|
+
status: import("zod").ZodEnum<{
|
|
618
|
+
completed: "completed";
|
|
619
|
+
failed: "failed";
|
|
620
|
+
queued: "queued";
|
|
621
|
+
running: "running";
|
|
622
|
+
creating_knowledge: "creating_knowledge";
|
|
623
|
+
has_question: "has_question";
|
|
624
|
+
stopped: "stopped";
|
|
625
|
+
}>;
|
|
626
|
+
status_message: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
627
|
+
path: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
628
|
+
instructions: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
629
|
+
pinned: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
630
|
+
source: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
631
|
+
direct: "direct";
|
|
632
|
+
qa: "qa";
|
|
633
|
+
}>>;
|
|
634
|
+
agent_name: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
635
|
+
graph_index_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
636
|
+
source_metadata: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
637
|
+
tasks: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
638
|
+
task_id: import("zod").ZodString;
|
|
639
|
+
title: import("zod").ZodString;
|
|
640
|
+
instructions: import("zod").ZodString;
|
|
641
|
+
status: import("zod").ZodEnum<{
|
|
642
|
+
pending: "pending";
|
|
643
|
+
failed: "failed";
|
|
644
|
+
running: "running";
|
|
645
|
+
has_question: "has_question";
|
|
646
|
+
stopped: "stopped";
|
|
647
|
+
passed: "passed";
|
|
648
|
+
skipped: "skipped";
|
|
649
|
+
}>;
|
|
650
|
+
error_message: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
651
|
+
started_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
652
|
+
completed_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
653
|
+
order_index: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
654
|
+
tab_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
655
|
+
step_count: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
656
|
+
blocked_by: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
|
|
657
|
+
task_id: import("zod").ZodString;
|
|
658
|
+
condition: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
659
|
+
pass: "pass";
|
|
660
|
+
}>>;
|
|
661
|
+
}, import("zod/v4/core").$strip>>>;
|
|
662
|
+
}, import("zod/v4/core").$strip>>>;
|
|
663
|
+
agents: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
664
|
+
id: import("zod").ZodNumber;
|
|
665
|
+
agent_name: import("zod").ZodString;
|
|
666
|
+
image_url: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
667
|
+
}, import("zod/v4/core").$strip>>>;
|
|
668
|
+
mindmap_status: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
669
|
+
pending: "pending";
|
|
670
|
+
completed: "completed";
|
|
671
|
+
failed: "failed";
|
|
672
|
+
generating: "generating";
|
|
673
|
+
}>>;
|
|
674
|
+
mindmap_steps_processed: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
675
|
+
mindmap_steps_total: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
676
|
+
mindmap_error: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
677
|
+
created_by_user_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
678
|
+
persona_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
679
|
+
has_question: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
680
|
+
}, import("zod/v4/core").$strip>>>>;
|
|
681
|
+
simulation_count: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
682
|
+
knowledge_count: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
683
|
+
}, import("zod/v4/core").$strip>>;
|
|
684
|
+
}, import("zod/v4/core").$strip>>;
|
|
685
|
+
total: import("zod").ZodNumber;
|
|
686
|
+
limit: import("zod").ZodNumber;
|
|
687
|
+
offset: import("zod").ZodNumber;
|
|
688
|
+
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
689
|
+
widgetMessage: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
690
|
+
chat_id: import("zod").ZodString;
|
|
691
|
+
command: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
692
|
+
type: import("zod").ZodLiteral<"chat/tell">;
|
|
693
|
+
request_id: import("zod").ZodString;
|
|
694
|
+
content: import("zod").ZodString;
|
|
695
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
696
|
+
type: import("zod").ZodLiteral<"chat/show">;
|
|
697
|
+
request_id: import("zod").ZodString;
|
|
698
|
+
content: import("zod").ZodString;
|
|
699
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
700
|
+
type: import("zod").ZodLiteral<"chat/do">;
|
|
701
|
+
request_id: import("zod").ZodString;
|
|
702
|
+
content: import("zod").ZodString;
|
|
703
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
704
|
+
type: import("zod").ZodLiteral<"chat/stop">;
|
|
705
|
+
task_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
706
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
707
|
+
type: import("zod").ZodLiteral<"tool/response">;
|
|
708
|
+
call_id: import("zod").ZodString;
|
|
709
|
+
success: import("zod").ZodBoolean;
|
|
710
|
+
data: import("zod").ZodOptional<import("zod").ZodString>;
|
|
711
|
+
error: import("zod").ZodOptional<import("zod").ZodString>;
|
|
712
|
+
state_version: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
713
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
714
|
+
type: import("zod").ZodLiteral<"ping">;
|
|
715
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
716
|
+
type: import("zod").ZodLiteral<"rrweb/metadata">;
|
|
717
|
+
session_id: import("zod").ZodString;
|
|
718
|
+
chat_id: import("zod").ZodString;
|
|
719
|
+
application_id: import("zod").ZodNumber;
|
|
720
|
+
url: import("zod").ZodOptional<import("zod").ZodString>;
|
|
721
|
+
user_agent: import("zod").ZodOptional<import("zod").ZodString>;
|
|
722
|
+
timestamp: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
723
|
+
viewport: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
724
|
+
width: import("zod").ZodNumber;
|
|
725
|
+
height: import("zod").ZodNumber;
|
|
726
|
+
}, import("zod/v4/core").$strip>>;
|
|
727
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
728
|
+
type: import("zod").ZodLiteral<"rrweb/events">;
|
|
729
|
+
session_id: import("zod").ZodString;
|
|
730
|
+
events: import("zod").ZodArray<import("zod").ZodUnknown>;
|
|
731
|
+
}, import("zod/v4/core").$strip>], "type">;
|
|
732
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
733
|
+
ok: import("zod").ZodBoolean;
|
|
734
|
+
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
735
|
+
widgetStream: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
736
|
+
chat_id: import("zod").ZodString;
|
|
737
|
+
tab_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
738
|
+
marketrix_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
739
|
+
marketrix_key: import("zod").ZodOptional<import("zod").ZodString>;
|
|
740
|
+
agent_id: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
|
|
741
|
+
application_id: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
|
|
742
|
+
}, import("zod/v4/core").$strip>, import("@orpc/contract").Schema<AsyncIteratorObject<{
|
|
743
|
+
type: "registered";
|
|
744
|
+
chat_id: string;
|
|
745
|
+
application_id?: number | undefined;
|
|
746
|
+
} | {
|
|
747
|
+
type: "pong";
|
|
748
|
+
} | {
|
|
749
|
+
type: "heartbeat";
|
|
750
|
+
} | {
|
|
751
|
+
type: "chat/response";
|
|
752
|
+
request_id: string;
|
|
753
|
+
text: string;
|
|
754
|
+
task_id?: string | undefined;
|
|
755
|
+
} | {
|
|
756
|
+
type: "chat/error";
|
|
757
|
+
request_id: string;
|
|
758
|
+
error: string;
|
|
759
|
+
} | {
|
|
760
|
+
type: "task/status";
|
|
761
|
+
status: "completed" | "failed" | "running" | "has_question" | "stopped";
|
|
762
|
+
message?: string | undefined;
|
|
763
|
+
task_id?: string | undefined;
|
|
764
|
+
timestamp?: number | undefined;
|
|
765
|
+
} | {
|
|
766
|
+
type: "tool/call";
|
|
767
|
+
call_id: string;
|
|
768
|
+
tool: string;
|
|
769
|
+
args: Record<string, unknown>;
|
|
770
|
+
mode?: "show" | "do" | undefined;
|
|
771
|
+
explanation?: string | undefined;
|
|
772
|
+
state_version?: number | undefined;
|
|
773
|
+
}, unknown, void>, import("@orpc/shared").AsyncIteratorClass<{
|
|
774
|
+
type: "registered";
|
|
775
|
+
chat_id: string;
|
|
776
|
+
application_id?: number | undefined;
|
|
777
|
+
} | {
|
|
778
|
+
type: "pong";
|
|
779
|
+
} | {
|
|
780
|
+
type: "heartbeat";
|
|
781
|
+
} | {
|
|
782
|
+
type: "chat/response";
|
|
783
|
+
request_id: string;
|
|
784
|
+
text: string;
|
|
785
|
+
task_id?: string | undefined;
|
|
786
|
+
} | {
|
|
787
|
+
type: "chat/error";
|
|
788
|
+
request_id: string;
|
|
789
|
+
error: string;
|
|
790
|
+
} | {
|
|
791
|
+
type: "task/status";
|
|
792
|
+
status: "completed" | "failed" | "running" | "has_question" | "stopped";
|
|
793
|
+
message?: string | undefined;
|
|
794
|
+
task_id?: string | undefined;
|
|
795
|
+
timestamp?: number | undefined;
|
|
796
|
+
} | {
|
|
797
|
+
type: "tool/call";
|
|
798
|
+
call_id: string;
|
|
799
|
+
tool: string;
|
|
800
|
+
args: Record<string, unknown>;
|
|
801
|
+
mode?: "show" | "do" | undefined;
|
|
802
|
+
explanation?: string | undefined;
|
|
803
|
+
state_version?: number | undefined;
|
|
804
|
+
}, unknown, void>>, Record<never, never>, Record<never, never>>;
|
|
805
|
+
};
|
|
806
|
+
//# sourceMappingURL=contract.d.ts.map
|