@marketrix.ai/widget 3.3.237 → 3.3.238
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/sdk/index.d.ts +207 -67
- package/dist/src/sdk/index.d.ts.map +1 -1
- package/dist/src/sdk/routes.d.ts +207 -67
- package/dist/src/sdk/routes.d.ts.map +1 -1
- package/dist/src/sdk/schema.d.ts +175 -56
- package/dist/src/sdk/schema.d.ts.map +1 -1
- package/dist/widget.mjs +66 -66
- package/dist/widget.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../src/sdk/routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAyKxB,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA8EZ,+DAA+D
|
|
1
|
+
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../src/sdk/routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAyKxB,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA8EZ,+DAA+D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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6 +48,31 @@ export declare const QAFlowStatusSchema: z.ZodEnum<{
|
|
|
48
48
|
completed: "completed";
|
|
49
49
|
failed: "failed";
|
|
50
50
|
}>;
|
|
51
|
+
/**
|
|
52
|
+
* Simulation parent status — canonical wire vocabulary matching the
|
|
53
|
+
* `simulation_status` Postgres ENUM. `has_question` is intentionally absent;
|
|
54
|
+
* it's a per-task state surfaced as a derived `has_question` boolean.
|
|
55
|
+
*/
|
|
56
|
+
export declare const SimulationStatusSchema: z.ZodEnum<{
|
|
57
|
+
completed: "completed";
|
|
58
|
+
failed: "failed";
|
|
59
|
+
queued: "queued";
|
|
60
|
+
running: "running";
|
|
61
|
+
creating_knowledge: "creating_knowledge";
|
|
62
|
+
stopped: "stopped";
|
|
63
|
+
}>;
|
|
64
|
+
/**
|
|
65
|
+
* Per-task status within a simulation. Matches the `simulation_task_status`
|
|
66
|
+
* Postgres ENUM and the SimulationTaskStatus proto enum.
|
|
67
|
+
*/
|
|
68
|
+
export declare const SimulationTaskStatusSchema: z.ZodEnum<{
|
|
69
|
+
completed: "completed";
|
|
70
|
+
failed: "failed";
|
|
71
|
+
queued: "queued";
|
|
72
|
+
running: "running";
|
|
73
|
+
stopped: "stopped";
|
|
74
|
+
has_question: "has_question";
|
|
75
|
+
}>;
|
|
51
76
|
export declare const ChatRoleSchema: z.ZodEnum<{
|
|
52
77
|
user: "user";
|
|
53
78
|
agent: "agent";
|
|
@@ -733,11 +758,11 @@ export type QAEvaluation = z.infer<typeof QAEvaluationSchema>;
|
|
|
733
758
|
*/
|
|
734
759
|
export declare const QATaskStatusSchema: z.ZodEnum<{
|
|
735
760
|
failed: "failed";
|
|
736
|
-
passed: "passed";
|
|
737
|
-
needs_healing: "needs_healing";
|
|
738
761
|
queued: "queued";
|
|
739
762
|
running: "running";
|
|
740
763
|
stopped: "stopped";
|
|
764
|
+
passed: "passed";
|
|
765
|
+
needs_healing: "needs_healing";
|
|
741
766
|
}>;
|
|
742
767
|
export type QATaskStatusValue = z.infer<typeof QATaskStatusSchema>;
|
|
743
768
|
/**
|
|
@@ -757,11 +782,11 @@ export declare const QARunTaskEntitySchema: z.ZodObject<{
|
|
|
757
782
|
simulation_task_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
758
783
|
status: z.ZodEnum<{
|
|
759
784
|
failed: "failed";
|
|
760
|
-
passed: "passed";
|
|
761
|
-
needs_healing: "needs_healing";
|
|
762
785
|
queued: "queued";
|
|
763
786
|
running: "running";
|
|
764
787
|
stopped: "stopped";
|
|
788
|
+
passed: "passed";
|
|
789
|
+
needs_healing: "needs_healing";
|
|
765
790
|
}>;
|
|
766
791
|
verdict: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
767
792
|
proposed_steps: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
@@ -1137,8 +1162,8 @@ export declare const SimulationStepSchema: z.ZodObject<{
|
|
|
1137
1162
|
status: z.ZodDefault<z.ZodEnum<{
|
|
1138
1163
|
completed: "completed";
|
|
1139
1164
|
failed: "failed";
|
|
1140
|
-
has_question: "has_question";
|
|
1141
1165
|
running: "running";
|
|
1166
|
+
has_question: "has_question";
|
|
1142
1167
|
}>>;
|
|
1143
1168
|
started_at: z.ZodString;
|
|
1144
1169
|
ended_at: z.ZodString;
|
|
@@ -1161,7 +1186,14 @@ export declare const SimulationStepSummarySchema: z.ZodObject<{
|
|
|
1161
1186
|
* One row in the simulation_progress table.
|
|
1162
1187
|
*/
|
|
1163
1188
|
export declare const SimulationProgressEntrySchema: z.ZodObject<{
|
|
1164
|
-
status: z.
|
|
1189
|
+
status: z.ZodEnum<{
|
|
1190
|
+
completed: "completed";
|
|
1191
|
+
failed: "failed";
|
|
1192
|
+
queued: "queued";
|
|
1193
|
+
running: "running";
|
|
1194
|
+
stopped: "stopped";
|
|
1195
|
+
has_question: "has_question";
|
|
1196
|
+
}>;
|
|
1165
1197
|
status_message: z.ZodNullable<z.ZodString>;
|
|
1166
1198
|
task_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1167
1199
|
created_at: z.ZodCoercedDate<unknown>;
|
|
@@ -1185,10 +1217,10 @@ export declare const SimulationTaskEntrySchema: z.ZodObject<{
|
|
|
1185
1217
|
status: z.ZodEnum<{
|
|
1186
1218
|
pending: "pending";
|
|
1187
1219
|
failed: "failed";
|
|
1188
|
-
has_question: "has_question";
|
|
1189
|
-
passed: "passed";
|
|
1190
1220
|
running: "running";
|
|
1191
1221
|
stopped: "stopped";
|
|
1222
|
+
has_question: "has_question";
|
|
1223
|
+
passed: "passed";
|
|
1192
1224
|
skipped: "skipped";
|
|
1193
1225
|
}>;
|
|
1194
1226
|
error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1213,7 +1245,14 @@ export declare const SimulationEntitySchema: z.ZodObject<{
|
|
|
1213
1245
|
agent_id: z.ZodNumber;
|
|
1214
1246
|
job_id: z.ZodString;
|
|
1215
1247
|
browser_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1216
|
-
status: z.
|
|
1248
|
+
status: z.ZodEnum<{
|
|
1249
|
+
completed: "completed";
|
|
1250
|
+
failed: "failed";
|
|
1251
|
+
queued: "queued";
|
|
1252
|
+
running: "running";
|
|
1253
|
+
creating_knowledge: "creating_knowledge";
|
|
1254
|
+
stopped: "stopped";
|
|
1255
|
+
}>;
|
|
1217
1256
|
status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1218
1257
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1219
1258
|
instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1232,10 +1271,10 @@ export declare const SimulationEntitySchema: z.ZodObject<{
|
|
|
1232
1271
|
status: z.ZodEnum<{
|
|
1233
1272
|
pending: "pending";
|
|
1234
1273
|
failed: "failed";
|
|
1235
|
-
has_question: "has_question";
|
|
1236
|
-
passed: "passed";
|
|
1237
1274
|
running: "running";
|
|
1238
1275
|
stopped: "stopped";
|
|
1276
|
+
has_question: "has_question";
|
|
1277
|
+
passed: "passed";
|
|
1239
1278
|
skipped: "skipped";
|
|
1240
1279
|
}>;
|
|
1241
1280
|
error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1270,12 +1309,20 @@ export declare const SimulationEntitySchema: z.ZodObject<{
|
|
|
1270
1309
|
* (full SimulationTaskEntry array) and `source_metadata` (free-form bag).
|
|
1271
1310
|
*/
|
|
1272
1311
|
export declare const SimulationListEntitySchema: z.ZodObject<{
|
|
1312
|
+
has_question: z.ZodOptional<z.ZodBoolean>;
|
|
1273
1313
|
id: z.ZodOptional<z.ZodNumber>;
|
|
1274
1314
|
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
1275
1315
|
updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
1276
1316
|
application_id: z.ZodNumber;
|
|
1277
1317
|
agent_id: z.ZodNumber;
|
|
1278
|
-
status: z.
|
|
1318
|
+
status: z.ZodEnum<{
|
|
1319
|
+
completed: "completed";
|
|
1320
|
+
failed: "failed";
|
|
1321
|
+
queued: "queued";
|
|
1322
|
+
running: "running";
|
|
1323
|
+
creating_knowledge: "creating_knowledge";
|
|
1324
|
+
stopped: "stopped";
|
|
1325
|
+
}>;
|
|
1279
1326
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1280
1327
|
agent_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1281
1328
|
source: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1288,7 +1335,6 @@ export declare const SimulationListEntitySchema: z.ZodObject<{
|
|
|
1288
1335
|
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1289
1336
|
}, z.core.$strip>>>;
|
|
1290
1337
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
1291
|
-
has_question: z.ZodOptional<z.ZodBoolean>;
|
|
1292
1338
|
status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1293
1339
|
instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1294
1340
|
job_id: z.ZodString;
|
|
@@ -1318,10 +1364,18 @@ export declare const SkillInvocationRequestSchema: z.ZodObject<{
|
|
|
1318
1364
|
}, z.core.$strip>;
|
|
1319
1365
|
export type SkillInvocationRequest = z.infer<typeof SkillInvocationRequestSchema>;
|
|
1320
1366
|
export declare const SimulationCreateSchema: z.ZodObject<{
|
|
1367
|
+
has_question: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1321
1368
|
id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1322
1369
|
created_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
1323
1370
|
updated_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
1324
|
-
status: z.ZodOptional<z.
|
|
1371
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
1372
|
+
completed: "completed";
|
|
1373
|
+
failed: "failed";
|
|
1374
|
+
queued: "queued";
|
|
1375
|
+
running: "running";
|
|
1376
|
+
creating_knowledge: "creating_knowledge";
|
|
1377
|
+
stopped: "stopped";
|
|
1378
|
+
}>>;
|
|
1325
1379
|
path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1326
1380
|
agent_name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1327
1381
|
source: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
@@ -1335,7 +1389,6 @@ export declare const SimulationCreateSchema: z.ZodObject<{
|
|
|
1335
1389
|
}, z.core.$strip>>>>;
|
|
1336
1390
|
pinned: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1337
1391
|
source_metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
1338
|
-
has_question: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1339
1392
|
status_message: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1340
1393
|
job_id: z.ZodOptional<z.ZodString>;
|
|
1341
1394
|
browser_session_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -1359,7 +1412,14 @@ export declare const SimulationCreateSchema: z.ZodObject<{
|
|
|
1359
1412
|
}, z.core.$strip>;
|
|
1360
1413
|
export declare const SimulationUpdateSchema: z.ZodObject<{
|
|
1361
1414
|
job_id: z.ZodOptional<z.ZodString>;
|
|
1362
|
-
status: z.ZodOptional<z.
|
|
1415
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
1416
|
+
completed: "completed";
|
|
1417
|
+
failed: "failed";
|
|
1418
|
+
queued: "queued";
|
|
1419
|
+
running: "running";
|
|
1420
|
+
creating_knowledge: "creating_knowledge";
|
|
1421
|
+
stopped: "stopped";
|
|
1422
|
+
}>>;
|
|
1363
1423
|
status_message: z.ZodOptional<z.ZodString>;
|
|
1364
1424
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
1365
1425
|
graph_index_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1494,7 +1554,14 @@ export declare const SessionUpsertSchema: z.ZodObject<{
|
|
|
1494
1554
|
export declare const SimulationProgressEntitySchema: z.ZodObject<{
|
|
1495
1555
|
id: z.ZodNumber;
|
|
1496
1556
|
simulation_id: z.ZodNumber;
|
|
1497
|
-
status: z.
|
|
1557
|
+
status: z.ZodEnum<{
|
|
1558
|
+
completed: "completed";
|
|
1559
|
+
failed: "failed";
|
|
1560
|
+
queued: "queued";
|
|
1561
|
+
running: "running";
|
|
1562
|
+
stopped: "stopped";
|
|
1563
|
+
has_question: "has_question";
|
|
1564
|
+
}>;
|
|
1498
1565
|
status_message: z.ZodNullable<z.ZodString>;
|
|
1499
1566
|
skill: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1500
1567
|
screenshot_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1683,7 +1750,14 @@ export declare const AgentEntitySchema: z.ZodObject<{
|
|
|
1683
1750
|
agent_id: z.ZodNumber;
|
|
1684
1751
|
job_id: z.ZodString;
|
|
1685
1752
|
browser_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1686
|
-
status: z.
|
|
1753
|
+
status: z.ZodEnum<{
|
|
1754
|
+
completed: "completed";
|
|
1755
|
+
failed: "failed";
|
|
1756
|
+
queued: "queued";
|
|
1757
|
+
running: "running";
|
|
1758
|
+
creating_knowledge: "creating_knowledge";
|
|
1759
|
+
stopped: "stopped";
|
|
1760
|
+
}>;
|
|
1687
1761
|
status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1688
1762
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1689
1763
|
instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1702,10 +1776,10 @@ export declare const AgentEntitySchema: z.ZodObject<{
|
|
|
1702
1776
|
status: z.ZodEnum<{
|
|
1703
1777
|
pending: "pending";
|
|
1704
1778
|
failed: "failed";
|
|
1705
|
-
has_question: "has_question";
|
|
1706
|
-
passed: "passed";
|
|
1707
1779
|
running: "running";
|
|
1708
1780
|
stopped: "stopped";
|
|
1781
|
+
has_question: "has_question";
|
|
1782
|
+
passed: "passed";
|
|
1709
1783
|
skipped: "skipped";
|
|
1710
1784
|
}>;
|
|
1711
1785
|
error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1834,7 +1908,14 @@ export declare const AgentCreateSchema: z.ZodObject<{
|
|
|
1834
1908
|
agent_id: z.ZodNumber;
|
|
1835
1909
|
job_id: z.ZodString;
|
|
1836
1910
|
browser_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1837
|
-
status: z.
|
|
1911
|
+
status: z.ZodEnum<{
|
|
1912
|
+
completed: "completed";
|
|
1913
|
+
failed: "failed";
|
|
1914
|
+
queued: "queued";
|
|
1915
|
+
running: "running";
|
|
1916
|
+
creating_knowledge: "creating_knowledge";
|
|
1917
|
+
stopped: "stopped";
|
|
1918
|
+
}>;
|
|
1838
1919
|
status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1839
1920
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1840
1921
|
instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1853,10 +1934,10 @@ export declare const AgentCreateSchema: z.ZodObject<{
|
|
|
1853
1934
|
status: z.ZodEnum<{
|
|
1854
1935
|
pending: "pending";
|
|
1855
1936
|
failed: "failed";
|
|
1856
|
-
has_question: "has_question";
|
|
1857
|
-
passed: "passed";
|
|
1858
1937
|
running: "running";
|
|
1859
1938
|
stopped: "stopped";
|
|
1939
|
+
has_question: "has_question";
|
|
1940
|
+
passed: "passed";
|
|
1860
1941
|
skipped: "skipped";
|
|
1861
1942
|
}>;
|
|
1862
1943
|
error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2014,7 +2095,14 @@ export declare const AgentUpdateSchema: z.ZodObject<{
|
|
|
2014
2095
|
agent_id: z.ZodNumber;
|
|
2015
2096
|
job_id: z.ZodString;
|
|
2016
2097
|
browser_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2017
|
-
status: z.
|
|
2098
|
+
status: z.ZodEnum<{
|
|
2099
|
+
completed: "completed";
|
|
2100
|
+
failed: "failed";
|
|
2101
|
+
queued: "queued";
|
|
2102
|
+
running: "running";
|
|
2103
|
+
creating_knowledge: "creating_knowledge";
|
|
2104
|
+
stopped: "stopped";
|
|
2105
|
+
}>;
|
|
2018
2106
|
status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2019
2107
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2020
2108
|
instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2033,10 +2121,10 @@ export declare const AgentUpdateSchema: z.ZodObject<{
|
|
|
2033
2121
|
status: z.ZodEnum<{
|
|
2034
2122
|
pending: "pending";
|
|
2035
2123
|
failed: "failed";
|
|
2036
|
-
has_question: "has_question";
|
|
2037
|
-
passed: "passed";
|
|
2038
2124
|
running: "running";
|
|
2039
2125
|
stopped: "stopped";
|
|
2126
|
+
has_question: "has_question";
|
|
2127
|
+
passed: "passed";
|
|
2040
2128
|
skipped: "skipped";
|
|
2041
2129
|
}>;
|
|
2042
2130
|
error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2298,7 +2386,14 @@ export declare const AgentSimulationIndexResponseSchema: z.ZodObject<{
|
|
|
2298
2386
|
agent_id: z.ZodNumber;
|
|
2299
2387
|
job_id: z.ZodString;
|
|
2300
2388
|
browser_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2301
|
-
status: z.
|
|
2389
|
+
status: z.ZodEnum<{
|
|
2390
|
+
completed: "completed";
|
|
2391
|
+
failed: "failed";
|
|
2392
|
+
queued: "queued";
|
|
2393
|
+
running: "running";
|
|
2394
|
+
creating_knowledge: "creating_knowledge";
|
|
2395
|
+
stopped: "stopped";
|
|
2396
|
+
}>;
|
|
2302
2397
|
status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2303
2398
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2304
2399
|
instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2317,10 +2412,10 @@ export declare const AgentSimulationIndexResponseSchema: z.ZodObject<{
|
|
|
2317
2412
|
status: z.ZodEnum<{
|
|
2318
2413
|
pending: "pending";
|
|
2319
2414
|
failed: "failed";
|
|
2320
|
-
has_question: "has_question";
|
|
2321
|
-
passed: "passed";
|
|
2322
2415
|
running: "running";
|
|
2323
2416
|
stopped: "stopped";
|
|
2417
|
+
has_question: "has_question";
|
|
2418
|
+
passed: "passed";
|
|
2324
2419
|
skipped: "skipped";
|
|
2325
2420
|
}>;
|
|
2326
2421
|
error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2779,7 +2874,14 @@ export declare const WidgetInfoSchema: z.ZodObject<{
|
|
|
2779
2874
|
agent_id: z.ZodNumber;
|
|
2780
2875
|
job_id: z.ZodString;
|
|
2781
2876
|
browser_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2782
|
-
status: z.
|
|
2877
|
+
status: z.ZodEnum<{
|
|
2878
|
+
completed: "completed";
|
|
2879
|
+
failed: "failed";
|
|
2880
|
+
queued: "queued";
|
|
2881
|
+
running: "running";
|
|
2882
|
+
creating_knowledge: "creating_knowledge";
|
|
2883
|
+
stopped: "stopped";
|
|
2884
|
+
}>;
|
|
2783
2885
|
status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2784
2886
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2785
2887
|
instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2798,10 +2900,10 @@ export declare const WidgetInfoSchema: z.ZodObject<{
|
|
|
2798
2900
|
status: z.ZodEnum<{
|
|
2799
2901
|
pending: "pending";
|
|
2800
2902
|
failed: "failed";
|
|
2801
|
-
has_question: "has_question";
|
|
2802
|
-
passed: "passed";
|
|
2803
2903
|
running: "running";
|
|
2804
2904
|
stopped: "stopped";
|
|
2905
|
+
has_question: "has_question";
|
|
2906
|
+
passed: "passed";
|
|
2805
2907
|
skipped: "skipped";
|
|
2806
2908
|
}>;
|
|
2807
2909
|
error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3012,7 +3114,14 @@ export declare const WidgetWithAgentSchema: z.ZodObject<{
|
|
|
3012
3114
|
agent_id: z.ZodNumber;
|
|
3013
3115
|
job_id: z.ZodString;
|
|
3014
3116
|
browser_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3015
|
-
status: z.
|
|
3117
|
+
status: z.ZodEnum<{
|
|
3118
|
+
completed: "completed";
|
|
3119
|
+
failed: "failed";
|
|
3120
|
+
queued: "queued";
|
|
3121
|
+
running: "running";
|
|
3122
|
+
creating_knowledge: "creating_knowledge";
|
|
3123
|
+
stopped: "stopped";
|
|
3124
|
+
}>;
|
|
3016
3125
|
status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3017
3126
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3018
3127
|
instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3031,10 +3140,10 @@ export declare const WidgetWithAgentSchema: z.ZodObject<{
|
|
|
3031
3140
|
status: z.ZodEnum<{
|
|
3032
3141
|
pending: "pending";
|
|
3033
3142
|
failed: "failed";
|
|
3034
|
-
has_question: "has_question";
|
|
3035
|
-
passed: "passed";
|
|
3036
3143
|
running: "running";
|
|
3037
3144
|
stopped: "stopped";
|
|
3145
|
+
has_question: "has_question";
|
|
3146
|
+
passed: "passed";
|
|
3038
3147
|
skipped: "skipped";
|
|
3039
3148
|
}>;
|
|
3040
3149
|
error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3260,7 +3369,14 @@ export declare const ApplicationWithWidgetsSchema: z.ZodObject<{
|
|
|
3260
3369
|
agent_id: z.ZodNumber;
|
|
3261
3370
|
job_id: z.ZodString;
|
|
3262
3371
|
browser_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3263
|
-
status: z.
|
|
3372
|
+
status: z.ZodEnum<{
|
|
3373
|
+
completed: "completed";
|
|
3374
|
+
failed: "failed";
|
|
3375
|
+
queued: "queued";
|
|
3376
|
+
running: "running";
|
|
3377
|
+
creating_knowledge: "creating_knowledge";
|
|
3378
|
+
stopped: "stopped";
|
|
3379
|
+
}>;
|
|
3264
3380
|
status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3265
3381
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3266
3382
|
instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3279,10 +3395,10 @@ export declare const ApplicationWithWidgetsSchema: z.ZodObject<{
|
|
|
3279
3395
|
status: z.ZodEnum<{
|
|
3280
3396
|
pending: "pending";
|
|
3281
3397
|
failed: "failed";
|
|
3282
|
-
has_question: "has_question";
|
|
3283
|
-
passed: "passed";
|
|
3284
3398
|
running: "running";
|
|
3285
3399
|
stopped: "stopped";
|
|
3400
|
+
has_question: "has_question";
|
|
3401
|
+
passed: "passed";
|
|
3286
3402
|
skipped: "skipped";
|
|
3287
3403
|
}>;
|
|
3288
3404
|
error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3517,9 +3633,9 @@ export declare const WidgetEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3517
3633
|
status: z.ZodEnum<{
|
|
3518
3634
|
completed: "completed";
|
|
3519
3635
|
failed: "failed";
|
|
3520
|
-
has_question: "has_question";
|
|
3521
3636
|
running: "running";
|
|
3522
3637
|
stopped: "stopped";
|
|
3638
|
+
has_question: "has_question";
|
|
3523
3639
|
}>;
|
|
3524
3640
|
message: z.ZodOptional<z.ZodString>;
|
|
3525
3641
|
task_id: z.ZodOptional<z.ZodString>;
|
|
@@ -3590,20 +3706,8 @@ export declare const AppEventScopeSchema: z.ZodEnum<{
|
|
|
3590
3706
|
automations: "automations";
|
|
3591
3707
|
notifications: "notifications";
|
|
3592
3708
|
}>;
|
|
3593
|
-
/**
|
|
3594
|
-
* Simulation status — the contract value emitted by the API on
|
|
3595
|
-
* `simulation/updated` events and returned in oRPC simulation payloads.
|
|
3596
|
-
* 7-value canonical wire vocabulary matching the SimulationStatus proto enum.
|
|
3597
|
-
*/
|
|
3598
|
-
export declare const SimulationStatusSchema: z.ZodEnum<{
|
|
3599
|
-
completed: "completed";
|
|
3600
|
-
failed: "failed";
|
|
3601
|
-
queued: "queued";
|
|
3602
|
-
running: "running";
|
|
3603
|
-
stopped: "stopped";
|
|
3604
|
-
creating_knowledge: "creating_knowledge";
|
|
3605
|
-
}>;
|
|
3606
3709
|
export type SimulationStatus = z.infer<typeof SimulationStatusSchema>;
|
|
3710
|
+
export type SimulationTaskStatus = z.infer<typeof SimulationTaskStatusSchema>;
|
|
3607
3711
|
/**
|
|
3608
3712
|
* QA run derived status — set by `deriveQARunStats` based on aggregated
|
|
3609
3713
|
* task states. Emitted by the API on `qa-run/updated` events and returned
|
|
@@ -3629,8 +3733,8 @@ export declare const AppEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3629
3733
|
failed: "failed";
|
|
3630
3734
|
queued: "queued";
|
|
3631
3735
|
running: "running";
|
|
3632
|
-
stopped: "stopped";
|
|
3633
3736
|
creating_knowledge: "creating_knowledge";
|
|
3737
|
+
stopped: "stopped";
|
|
3634
3738
|
}>;
|
|
3635
3739
|
has_question: z.ZodOptional<z.ZodBoolean>;
|
|
3636
3740
|
step_label: z.ZodOptional<z.ZodString>;
|
|
@@ -3713,7 +3817,13 @@ export declare const AppEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3713
3817
|
type: z.ZodLiteral<"qa-document/updated">;
|
|
3714
3818
|
document_id: z.ZodNumber;
|
|
3715
3819
|
application_id: z.ZodNumber;
|
|
3716
|
-
status: z.
|
|
3820
|
+
status: z.ZodEnum<{
|
|
3821
|
+
pending: "pending";
|
|
3822
|
+
processing: "processing";
|
|
3823
|
+
waiting_review: "waiting_review";
|
|
3824
|
+
completed: "completed";
|
|
3825
|
+
failed: "failed";
|
|
3826
|
+
}>;
|
|
3717
3827
|
step_label: z.ZodOptional<z.ZodString>;
|
|
3718
3828
|
}, z.core.$strip>, z.ZodObject<{
|
|
3719
3829
|
type: z.ZodLiteral<"qa-run/updated">;
|
|
@@ -3735,7 +3845,11 @@ export declare const AppEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3735
3845
|
run_id: z.ZodNumber;
|
|
3736
3846
|
document_id: z.ZodNumber;
|
|
3737
3847
|
application_id: z.ZodNumber;
|
|
3738
|
-
status: z.
|
|
3848
|
+
status: z.ZodEnum<{
|
|
3849
|
+
failed: "failed";
|
|
3850
|
+
passed: "passed";
|
|
3851
|
+
needs_healing: "needs_healing";
|
|
3852
|
+
}>;
|
|
3739
3853
|
}, z.core.$strip>, z.ZodObject<{
|
|
3740
3854
|
type: z.ZodLiteral<"qa-run/report-ready">;
|
|
3741
3855
|
run_id: z.ZodNumber;
|
|
@@ -3748,7 +3862,12 @@ export declare const AppEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3748
3862
|
type: z.ZodLiteral<"user/updated">;
|
|
3749
3863
|
user_id: z.ZodNumber;
|
|
3750
3864
|
workspace_id: z.ZodNumber;
|
|
3751
|
-
status: z.
|
|
3865
|
+
status: z.ZodEnum<{
|
|
3866
|
+
created: "created";
|
|
3867
|
+
active: "active";
|
|
3868
|
+
suspended: "suspended";
|
|
3869
|
+
pending_approval: "pending_approval";
|
|
3870
|
+
}>;
|
|
3752
3871
|
}, z.core.$strip>, z.ZodObject<{
|
|
3753
3872
|
type: z.ZodLiteral<"job/progress">;
|
|
3754
3873
|
job_id: z.ZodString;
|