@marketrix.ai/widget 3.2.247 → 3.2.249
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 +421 -11
- package/dist/src/sdk/index.d.ts.map +1 -1
- package/dist/src/sdk/routes.d.ts +421 -11
- package/dist/src/sdk/routes.d.ts.map +1 -1
- package/dist/src/sdk/schema.d.ts +493 -6
- package/dist/src/sdk/schema.d.ts.map +1 -1
- package/dist/widget.mjs +62 -62
- package/dist/widget.mjs.map +1 -1
- package/package.json +1 -1
package/dist/src/sdk/schema.d.ts
CHANGED
|
@@ -705,6 +705,7 @@ export declare const QARunEntitySchema: z.ZodObject<{
|
|
|
705
705
|
total_tests: z.ZodNumber;
|
|
706
706
|
passed_tests: z.ZodNumber;
|
|
707
707
|
failed_tests: z.ZodNumber;
|
|
708
|
+
simulation_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
708
709
|
started_at: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
709
710
|
completed_at: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
710
711
|
}, z.core.$strip>;
|
|
@@ -725,6 +726,7 @@ export declare const QAExecutionEntrySchema: z.ZodObject<{
|
|
|
725
726
|
run_id: z.ZodNumber;
|
|
726
727
|
status: z.ZodEnum<{
|
|
727
728
|
pending: "pending";
|
|
729
|
+
completed: "completed";
|
|
728
730
|
failed: "failed";
|
|
729
731
|
running: "running";
|
|
730
732
|
passed: "passed";
|
|
@@ -845,6 +847,7 @@ export declare const QATestCaseEntitySchema: z.ZodObject<{
|
|
|
845
847
|
run_id: z.ZodNumber;
|
|
846
848
|
status: z.ZodEnum<{
|
|
847
849
|
pending: "pending";
|
|
850
|
+
completed: "completed";
|
|
848
851
|
failed: "failed";
|
|
849
852
|
running: "running";
|
|
850
853
|
passed: "passed";
|
|
@@ -1420,6 +1423,27 @@ export declare const SimulationProgressEntrySchema: z.ZodObject<{
|
|
|
1420
1423
|
created_at: z.ZodCoercedDate<unknown>;
|
|
1421
1424
|
}, z.core.$strip>;
|
|
1422
1425
|
export type SimulationProgressEntry = z.infer<typeof SimulationProgressEntrySchema>;
|
|
1426
|
+
/**
|
|
1427
|
+
* A single task within a simulation. Direct simulations have 1 task (the prompt).
|
|
1428
|
+
* QA simulations have N tasks (one per test case).
|
|
1429
|
+
*/
|
|
1430
|
+
export declare const SimulationTaskEntrySchema: z.ZodObject<{
|
|
1431
|
+
task_id: z.ZodString;
|
|
1432
|
+
title: z.ZodString;
|
|
1433
|
+
instructions: z.ZodString;
|
|
1434
|
+
status: z.ZodEnum<{
|
|
1435
|
+
pending: "pending";
|
|
1436
|
+
failed: "failed";
|
|
1437
|
+
running: "running";
|
|
1438
|
+
passed: "passed";
|
|
1439
|
+
skipped: "skipped";
|
|
1440
|
+
}>;
|
|
1441
|
+
error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1442
|
+
started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1443
|
+
completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1444
|
+
order_index: z.ZodDefault<z.ZodNumber>;
|
|
1445
|
+
}, z.core.$strip>;
|
|
1446
|
+
export type SimulationTaskEntry = z.infer<typeof SimulationTaskEntrySchema>;
|
|
1423
1447
|
/**
|
|
1424
1448
|
* App simulation schema
|
|
1425
1449
|
*/
|
|
@@ -1449,6 +1473,22 @@ export declare const SimulationEntitySchema: z.ZodObject<{
|
|
|
1449
1473
|
num_steps: z.ZodNullable<z.ZodNumber>;
|
|
1450
1474
|
created_at: z.ZodCoercedDate<unknown>;
|
|
1451
1475
|
}, z.core.$strip>>>;
|
|
1476
|
+
tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1477
|
+
task_id: z.ZodString;
|
|
1478
|
+
title: z.ZodString;
|
|
1479
|
+
instructions: z.ZodString;
|
|
1480
|
+
status: z.ZodEnum<{
|
|
1481
|
+
pending: "pending";
|
|
1482
|
+
failed: "failed";
|
|
1483
|
+
running: "running";
|
|
1484
|
+
passed: "passed";
|
|
1485
|
+
skipped: "skipped";
|
|
1486
|
+
}>;
|
|
1487
|
+
error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1488
|
+
started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1489
|
+
completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1490
|
+
order_index: z.ZodDefault<z.ZodNumber>;
|
|
1491
|
+
}, z.core.$strip>>>;
|
|
1452
1492
|
agents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1453
1493
|
id: z.ZodNumber;
|
|
1454
1494
|
agent_name: z.ZodString;
|
|
@@ -1491,6 +1531,22 @@ export declare const SimulationCreateSchema: z.ZodObject<{
|
|
|
1491
1531
|
num_steps: z.ZodNullable<z.ZodNumber>;
|
|
1492
1532
|
created_at: z.ZodCoercedDate<unknown>;
|
|
1493
1533
|
}, z.core.$strip>>>>;
|
|
1534
|
+
tasks: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1535
|
+
task_id: z.ZodString;
|
|
1536
|
+
title: z.ZodString;
|
|
1537
|
+
instructions: z.ZodString;
|
|
1538
|
+
status: z.ZodEnum<{
|
|
1539
|
+
pending: "pending";
|
|
1540
|
+
failed: "failed";
|
|
1541
|
+
running: "running";
|
|
1542
|
+
passed: "passed";
|
|
1543
|
+
skipped: "skipped";
|
|
1544
|
+
}>;
|
|
1545
|
+
error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1546
|
+
started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1547
|
+
completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1548
|
+
order_index: z.ZodDefault<z.ZodNumber>;
|
|
1549
|
+
}, z.core.$strip>>>>;
|
|
1494
1550
|
agents: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1495
1551
|
id: z.ZodNumber;
|
|
1496
1552
|
agent_name: z.ZodString;
|
|
@@ -1738,6 +1794,22 @@ export declare const AgentEntitySchema: z.ZodObject<{
|
|
|
1738
1794
|
num_steps: z.ZodNullable<z.ZodNumber>;
|
|
1739
1795
|
created_at: z.ZodCoercedDate<unknown>;
|
|
1740
1796
|
}, z.core.$strip>>>;
|
|
1797
|
+
tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1798
|
+
task_id: z.ZodString;
|
|
1799
|
+
title: z.ZodString;
|
|
1800
|
+
instructions: z.ZodString;
|
|
1801
|
+
status: z.ZodEnum<{
|
|
1802
|
+
pending: "pending";
|
|
1803
|
+
failed: "failed";
|
|
1804
|
+
running: "running";
|
|
1805
|
+
passed: "passed";
|
|
1806
|
+
skipped: "skipped";
|
|
1807
|
+
}>;
|
|
1808
|
+
error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1809
|
+
started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1810
|
+
completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1811
|
+
order_index: z.ZodDefault<z.ZodNumber>;
|
|
1812
|
+
}, z.core.$strip>>>;
|
|
1741
1813
|
agents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1742
1814
|
id: z.ZodNumber;
|
|
1743
1815
|
agent_name: z.ZodString;
|
|
@@ -1860,6 +1932,22 @@ export declare const AgentCreateSchema: z.ZodObject<{
|
|
|
1860
1932
|
num_steps: z.ZodNullable<z.ZodNumber>;
|
|
1861
1933
|
created_at: z.ZodCoercedDate<unknown>;
|
|
1862
1934
|
}, z.core.$strip>>>;
|
|
1935
|
+
tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1936
|
+
task_id: z.ZodString;
|
|
1937
|
+
title: z.ZodString;
|
|
1938
|
+
instructions: z.ZodString;
|
|
1939
|
+
status: z.ZodEnum<{
|
|
1940
|
+
pending: "pending";
|
|
1941
|
+
failed: "failed";
|
|
1942
|
+
running: "running";
|
|
1943
|
+
passed: "passed";
|
|
1944
|
+
skipped: "skipped";
|
|
1945
|
+
}>;
|
|
1946
|
+
error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1947
|
+
started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1948
|
+
completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1949
|
+
order_index: z.ZodDefault<z.ZodNumber>;
|
|
1950
|
+
}, z.core.$strip>>>;
|
|
1863
1951
|
agents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1864
1952
|
id: z.ZodNumber;
|
|
1865
1953
|
agent_name: z.ZodString;
|
|
@@ -2011,6 +2099,22 @@ export declare const AgentUpdateSchema: z.ZodObject<{
|
|
|
2011
2099
|
num_steps: z.ZodNullable<z.ZodNumber>;
|
|
2012
2100
|
created_at: z.ZodCoercedDate<unknown>;
|
|
2013
2101
|
}, z.core.$strip>>>;
|
|
2102
|
+
tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2103
|
+
task_id: z.ZodString;
|
|
2104
|
+
title: z.ZodString;
|
|
2105
|
+
instructions: z.ZodString;
|
|
2106
|
+
status: z.ZodEnum<{
|
|
2107
|
+
pending: "pending";
|
|
2108
|
+
failed: "failed";
|
|
2109
|
+
running: "running";
|
|
2110
|
+
passed: "passed";
|
|
2111
|
+
skipped: "skipped";
|
|
2112
|
+
}>;
|
|
2113
|
+
error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2114
|
+
started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2115
|
+
completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2116
|
+
order_index: z.ZodDefault<z.ZodNumber>;
|
|
2117
|
+
}, z.core.$strip>>>;
|
|
2014
2118
|
agents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2015
2119
|
id: z.ZodNumber;
|
|
2016
2120
|
agent_name: z.ZodString;
|
|
@@ -2285,6 +2389,22 @@ export declare const AgentSimulationIndexResponseSchema: z.ZodObject<{
|
|
|
2285
2389
|
num_steps: z.ZodNullable<z.ZodNumber>;
|
|
2286
2390
|
created_at: z.ZodCoercedDate<unknown>;
|
|
2287
2391
|
}, z.core.$strip>>>;
|
|
2392
|
+
tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2393
|
+
task_id: z.ZodString;
|
|
2394
|
+
title: z.ZodString;
|
|
2395
|
+
instructions: z.ZodString;
|
|
2396
|
+
status: z.ZodEnum<{
|
|
2397
|
+
pending: "pending";
|
|
2398
|
+
failed: "failed";
|
|
2399
|
+
running: "running";
|
|
2400
|
+
passed: "passed";
|
|
2401
|
+
skipped: "skipped";
|
|
2402
|
+
}>;
|
|
2403
|
+
error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2404
|
+
started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2405
|
+
completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2406
|
+
order_index: z.ZodDefault<z.ZodNumber>;
|
|
2407
|
+
}, z.core.$strip>>>;
|
|
2288
2408
|
agents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2289
2409
|
id: z.ZodNumber;
|
|
2290
2410
|
agent_name: z.ZodString;
|
|
@@ -2751,6 +2871,22 @@ export declare const WidgetInfoSchema: z.ZodObject<{
|
|
|
2751
2871
|
num_steps: z.ZodNullable<z.ZodNumber>;
|
|
2752
2872
|
created_at: z.ZodCoercedDate<unknown>;
|
|
2753
2873
|
}, z.core.$strip>>>;
|
|
2874
|
+
tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2875
|
+
task_id: z.ZodString;
|
|
2876
|
+
title: z.ZodString;
|
|
2877
|
+
instructions: z.ZodString;
|
|
2878
|
+
status: z.ZodEnum<{
|
|
2879
|
+
pending: "pending";
|
|
2880
|
+
failed: "failed";
|
|
2881
|
+
running: "running";
|
|
2882
|
+
passed: "passed";
|
|
2883
|
+
skipped: "skipped";
|
|
2884
|
+
}>;
|
|
2885
|
+
error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2886
|
+
started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2887
|
+
completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2888
|
+
order_index: z.ZodDefault<z.ZodNumber>;
|
|
2889
|
+
}, z.core.$strip>>>;
|
|
2754
2890
|
agents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2755
2891
|
id: z.ZodNumber;
|
|
2756
2892
|
agent_name: z.ZodString;
|
|
@@ -2957,6 +3093,22 @@ export declare const WidgetWithAgentSchema: z.ZodObject<{
|
|
|
2957
3093
|
num_steps: z.ZodNullable<z.ZodNumber>;
|
|
2958
3094
|
created_at: z.ZodCoercedDate<unknown>;
|
|
2959
3095
|
}, z.core.$strip>>>;
|
|
3096
|
+
tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3097
|
+
task_id: z.ZodString;
|
|
3098
|
+
title: z.ZodString;
|
|
3099
|
+
instructions: z.ZodString;
|
|
3100
|
+
status: z.ZodEnum<{
|
|
3101
|
+
pending: "pending";
|
|
3102
|
+
failed: "failed";
|
|
3103
|
+
running: "running";
|
|
3104
|
+
passed: "passed";
|
|
3105
|
+
skipped: "skipped";
|
|
3106
|
+
}>;
|
|
3107
|
+
error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3108
|
+
started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3109
|
+
completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3110
|
+
order_index: z.ZodDefault<z.ZodNumber>;
|
|
3111
|
+
}, z.core.$strip>>>;
|
|
2960
3112
|
agents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2961
3113
|
id: z.ZodNumber;
|
|
2962
3114
|
agent_name: z.ZodString;
|
|
@@ -3178,6 +3330,22 @@ export declare const ApplicationWithWidgetsSchema: z.ZodObject<{
|
|
|
3178
3330
|
num_steps: z.ZodNullable<z.ZodNumber>;
|
|
3179
3331
|
created_at: z.ZodCoercedDate<unknown>;
|
|
3180
3332
|
}, z.core.$strip>>>;
|
|
3333
|
+
tasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3334
|
+
task_id: z.ZodString;
|
|
3335
|
+
title: z.ZodString;
|
|
3336
|
+
instructions: z.ZodString;
|
|
3337
|
+
status: z.ZodEnum<{
|
|
3338
|
+
pending: "pending";
|
|
3339
|
+
failed: "failed";
|
|
3340
|
+
running: "running";
|
|
3341
|
+
passed: "passed";
|
|
3342
|
+
skipped: "skipped";
|
|
3343
|
+
}>;
|
|
3344
|
+
error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3345
|
+
started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3346
|
+
completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3347
|
+
order_index: z.ZodDefault<z.ZodNumber>;
|
|
3348
|
+
}, z.core.$strip>>>;
|
|
3181
3349
|
agents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3182
3350
|
id: z.ZodNumber;
|
|
3183
3351
|
agent_name: z.ZodString;
|
|
@@ -3515,6 +3683,7 @@ export declare const AppEventScopeSchema: z.ZodEnum<{
|
|
|
3515
3683
|
qa: "qa";
|
|
3516
3684
|
simulations: "simulations";
|
|
3517
3685
|
jobs: "jobs";
|
|
3686
|
+
triggers: "triggers";
|
|
3518
3687
|
}>;
|
|
3519
3688
|
export declare const AppEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3520
3689
|
type: z.ZodLiteral<"simulation/updated">;
|
|
@@ -3532,10 +3701,49 @@ export declare const AppEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3532
3701
|
type: z.ZodLiteral<"simulation/deleted">;
|
|
3533
3702
|
simulation_id: z.ZodNumber;
|
|
3534
3703
|
application_id: z.ZodNumber;
|
|
3704
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3705
|
+
type: z.ZodLiteral<"simulation/queued">;
|
|
3706
|
+
simulation_id: z.ZodNumber;
|
|
3707
|
+
job_id: z.ZodString;
|
|
3708
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3709
|
+
type: z.ZodLiteral<"simulation/started">;
|
|
3710
|
+
simulation_id: z.ZodNumber;
|
|
3711
|
+
job_id: z.ZodString;
|
|
3712
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3713
|
+
type: z.ZodLiteral<"simulation/step">;
|
|
3714
|
+
simulation_id: z.ZodNumber;
|
|
3715
|
+
job_id: z.ZodString;
|
|
3716
|
+
step_count: z.ZodOptional<z.ZodNumber>;
|
|
3717
|
+
message: z.ZodOptional<z.ZodString>;
|
|
3718
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3719
|
+
type: z.ZodLiteral<"simulation/question">;
|
|
3720
|
+
simulation_id: z.ZodNumber;
|
|
3721
|
+
job_id: z.ZodString;
|
|
3722
|
+
question: z.ZodOptional<z.ZodString>;
|
|
3723
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3724
|
+
type: z.ZodLiteral<"simulation/completed">;
|
|
3725
|
+
simulation_id: z.ZodNumber;
|
|
3726
|
+
job_id: z.ZodString;
|
|
3727
|
+
step_count: z.ZodOptional<z.ZodNumber>;
|
|
3728
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3729
|
+
type: z.ZodLiteral<"simulation/failed">;
|
|
3730
|
+
simulation_id: z.ZodNumber;
|
|
3731
|
+
job_id: z.ZodString;
|
|
3732
|
+
error: z.ZodOptional<z.ZodString>;
|
|
3733
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3734
|
+
type: z.ZodLiteral<"simulation/stopped">;
|
|
3735
|
+
simulation_id: z.ZodNumber;
|
|
3736
|
+
job_id: z.ZodString;
|
|
3737
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3738
|
+
type: z.ZodLiteral<"qa-run/completed">;
|
|
3739
|
+
run_id: z.ZodNumber;
|
|
3740
|
+
status: z.ZodString;
|
|
3535
3741
|
}, z.core.$strip>, z.ZodObject<{
|
|
3536
3742
|
type: z.ZodLiteral<"agent/updated">;
|
|
3537
|
-
agent_id: z.ZodNumber
|
|
3538
|
-
|
|
3743
|
+
agent_id: z.ZodOptional<z.ZodNumber>;
|
|
3744
|
+
chat_id: z.ZodOptional<z.ZodString>;
|
|
3745
|
+
task_id: z.ZodOptional<z.ZodString>;
|
|
3746
|
+
application_id: z.ZodOptional<z.ZodNumber>;
|
|
3539
3747
|
status: z.ZodString;
|
|
3540
3748
|
}, z.core.$strip>, z.ZodObject<{
|
|
3541
3749
|
type: z.ZodLiteral<"agent/created">;
|
|
@@ -3557,6 +3765,7 @@ export declare const AppEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3557
3765
|
document_id: z.ZodNumber;
|
|
3558
3766
|
application_id: z.ZodNumber;
|
|
3559
3767
|
status: z.ZodString;
|
|
3768
|
+
simulation_id: z.ZodOptional<z.ZodNumber>;
|
|
3560
3769
|
}, z.core.$strip>, z.ZodObject<{
|
|
3561
3770
|
type: z.ZodLiteral<"qa-test/updated">;
|
|
3562
3771
|
test_id: z.ZodNumber;
|
|
@@ -3585,6 +3794,14 @@ export declare const AppEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3585
3794
|
job_id: z.ZodString;
|
|
3586
3795
|
application_id: z.ZodNumber;
|
|
3587
3796
|
error: z.ZodString;
|
|
3797
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3798
|
+
type: z.ZodLiteral<"trigger/fired">;
|
|
3799
|
+
trigger_id: z.ZodNumber;
|
|
3800
|
+
workspace_id: z.ZodNumber;
|
|
3801
|
+
provider: z.ZodString;
|
|
3802
|
+
name: z.ZodString;
|
|
3803
|
+
payload: z.ZodOptional<z.ZodUnknown>;
|
|
3804
|
+
timestamp: z.ZodString;
|
|
3588
3805
|
}, z.core.$strip>], "type">;
|
|
3589
3806
|
export type AppEvent = z.infer<typeof AppEventSchema>;
|
|
3590
3807
|
export type AppEventScope = z.infer<typeof AppEventScopeSchema>;
|
|
@@ -4568,7 +4785,6 @@ export type SimulationHistoryData = z.infer<typeof SimulationHistorySchema>;
|
|
|
4568
4785
|
export type SimulationModelOutputData = z.infer<typeof SimulationModelOutputSchema>;
|
|
4569
4786
|
export type SimulationResultData = z.infer<typeof SimulationResultSchema>;
|
|
4570
4787
|
export type SimulationStateData = z.infer<typeof SimulationStateSchema>;
|
|
4571
|
-
export type SimulationStepMetadataData = z.infer<typeof SimulationStepMetadataSchema>;
|
|
4572
4788
|
export type SimulationActionData = z.infer<typeof SimulationActionSchema>;
|
|
4573
4789
|
export type BrowserTabData = z.infer<typeof BrowserTabSchema>;
|
|
4574
4790
|
export type InteractedElementData = z.infer<typeof InteractedElementSchema>;
|
|
@@ -4745,6 +4961,7 @@ export declare const ConnectionEntitySchema: z.ZodObject<{
|
|
|
4745
4961
|
connected: "connected";
|
|
4746
4962
|
disconnected: "disconnected";
|
|
4747
4963
|
}>>;
|
|
4964
|
+
credentials: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
4748
4965
|
provider_data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
4749
4966
|
connected_at: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
4750
4967
|
}, z.core.$strip>;
|
|
@@ -4753,8 +4970,8 @@ export declare const TriggerEntitySchema: z.ZodObject<{
|
|
|
4753
4970
|
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
4754
4971
|
updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
4755
4972
|
workspace_id: z.ZodNumber;
|
|
4756
|
-
connector_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4757
4973
|
connection_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4974
|
+
connector_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4758
4975
|
provider: z.ZodEnum<{
|
|
4759
4976
|
timer: "timer";
|
|
4760
4977
|
github: "github";
|
|
@@ -4771,8 +4988,8 @@ export declare const TriggerEntitySchema: z.ZodObject<{
|
|
|
4771
4988
|
last_triggered_at: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
4772
4989
|
}, z.core.$strip>;
|
|
4773
4990
|
export declare const TriggerCreateSchema: z.ZodObject<{
|
|
4774
|
-
connector_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4775
4991
|
connection_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4992
|
+
connector_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4776
4993
|
provider: z.ZodEnum<{
|
|
4777
4994
|
timer: "timer";
|
|
4778
4995
|
github: "github";
|
|
@@ -4799,8 +5016,8 @@ export declare const TriggerSearchSchema: z.ZodObject<{
|
|
|
4799
5016
|
jira: "jira";
|
|
4800
5017
|
mcp: "mcp";
|
|
4801
5018
|
}>>;
|
|
4802
|
-
connector_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4803
5019
|
connection_id: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5020
|
+
connector_id: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4804
5021
|
limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
4805
5022
|
offset: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
4806
5023
|
}, z.core.$strip>;
|
|
@@ -4855,6 +5072,276 @@ export declare const ActionSearchSchema: z.ZodObject<{
|
|
|
4855
5072
|
limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
4856
5073
|
offset: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
4857
5074
|
}, z.core.$strip>;
|
|
5075
|
+
export declare const InsightConnectorStatusSchema: z.ZodEnum<{
|
|
5076
|
+
connected: "connected";
|
|
5077
|
+
not_connected: "not_connected";
|
|
5078
|
+
}>;
|
|
5079
|
+
export declare const InsightConnectorSchema: z.ZodObject<{
|
|
5080
|
+
key: z.ZodString;
|
|
5081
|
+
label: z.ZodString;
|
|
5082
|
+
color: z.ZodString;
|
|
5083
|
+
status: z.ZodEnum<{
|
|
5084
|
+
connected: "connected";
|
|
5085
|
+
not_connected: "not_connected";
|
|
5086
|
+
}>;
|
|
5087
|
+
session_count: z.ZodNullable<z.ZodNumber>;
|
|
5088
|
+
}, z.core.$strip>;
|
|
5089
|
+
export declare const InsightSegmentEntitySchema: z.ZodObject<{
|
|
5090
|
+
id: z.ZodNumber;
|
|
5091
|
+
application_id: z.ZodNumber;
|
|
5092
|
+
name: z.ZodString;
|
|
5093
|
+
percentage: z.ZodNumber;
|
|
5094
|
+
description: z.ZodString;
|
|
5095
|
+
avg_sessions_per_week: z.ZodNumber;
|
|
5096
|
+
mobile_percentage: z.ZodNumber;
|
|
5097
|
+
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
5098
|
+
updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
5099
|
+
}, z.core.$strip>;
|
|
5100
|
+
export declare const InsightPersonaEntitySchema: z.ZodObject<{
|
|
5101
|
+
id: z.ZodNumber;
|
|
5102
|
+
application_id: z.ZodNumber;
|
|
5103
|
+
segment_id: z.ZodNullable<z.ZodNumber>;
|
|
5104
|
+
segment_name: z.ZodOptional<z.ZodString>;
|
|
5105
|
+
name: z.ZodString;
|
|
5106
|
+
initials: z.ZodString;
|
|
5107
|
+
description: z.ZodString;
|
|
5108
|
+
traits: z.ZodArray<z.ZodString>;
|
|
5109
|
+
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
5110
|
+
updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
5111
|
+
}, z.core.$strip>;
|
|
5112
|
+
export declare const InsightPersonasResponseSchema: z.ZodObject<{
|
|
5113
|
+
connectors: z.ZodArray<z.ZodObject<{
|
|
5114
|
+
key: z.ZodString;
|
|
5115
|
+
label: z.ZodString;
|
|
5116
|
+
color: z.ZodString;
|
|
5117
|
+
status: z.ZodEnum<{
|
|
5118
|
+
connected: "connected";
|
|
5119
|
+
not_connected: "not_connected";
|
|
5120
|
+
}>;
|
|
5121
|
+
session_count: z.ZodNullable<z.ZodNumber>;
|
|
5122
|
+
}, z.core.$strip>>;
|
|
5123
|
+
segments: z.ZodArray<z.ZodObject<{
|
|
5124
|
+
id: z.ZodNumber;
|
|
5125
|
+
application_id: z.ZodNumber;
|
|
5126
|
+
name: z.ZodString;
|
|
5127
|
+
percentage: z.ZodNumber;
|
|
5128
|
+
description: z.ZodString;
|
|
5129
|
+
avg_sessions_per_week: z.ZodNumber;
|
|
5130
|
+
mobile_percentage: z.ZodNumber;
|
|
5131
|
+
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
5132
|
+
updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
5133
|
+
}, z.core.$strip>>;
|
|
5134
|
+
personas: z.ZodArray<z.ZodObject<{
|
|
5135
|
+
id: z.ZodNumber;
|
|
5136
|
+
application_id: z.ZodNumber;
|
|
5137
|
+
segment_id: z.ZodNullable<z.ZodNumber>;
|
|
5138
|
+
segment_name: z.ZodOptional<z.ZodString>;
|
|
5139
|
+
name: z.ZodString;
|
|
5140
|
+
initials: z.ZodString;
|
|
5141
|
+
description: z.ZodString;
|
|
5142
|
+
traits: z.ZodArray<z.ZodString>;
|
|
5143
|
+
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
5144
|
+
updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
5145
|
+
}, z.core.$strip>>;
|
|
5146
|
+
}, z.core.$strip>;
|
|
5147
|
+
export declare const HeatmapTypeSchema: z.ZodEnum<{
|
|
5148
|
+
clicks: "clicks";
|
|
5149
|
+
scroll: "scroll";
|
|
5150
|
+
attention: "attention";
|
|
5151
|
+
}>;
|
|
5152
|
+
export declare const HeatmapVariationSchema: z.ZodEnum<{
|
|
5153
|
+
desktop: "desktop";
|
|
5154
|
+
mobile: "mobile";
|
|
5155
|
+
tablet: "tablet";
|
|
5156
|
+
}>;
|
|
5157
|
+
export declare const HeatSpotSchema: z.ZodObject<{
|
|
5158
|
+
x: z.ZodNumber;
|
|
5159
|
+
y: z.ZodNumber;
|
|
5160
|
+
radius: z.ZodNumber;
|
|
5161
|
+
intensity: z.ZodNumber;
|
|
5162
|
+
}, z.core.$strip>;
|
|
5163
|
+
export declare const HeatmapStatsSchema: z.ZodObject<{
|
|
5164
|
+
total_interactions: z.ZodNumber;
|
|
5165
|
+
unique_users: z.ZodNumber;
|
|
5166
|
+
hottest_zone: z.ZodString;
|
|
5167
|
+
dead_zones: z.ZodNumber;
|
|
5168
|
+
}, z.core.$strip>;
|
|
5169
|
+
export declare const HeatmapPageEntitySchema: z.ZodObject<{
|
|
5170
|
+
id: z.ZodNumber;
|
|
5171
|
+
application_id: z.ZodNumber;
|
|
5172
|
+
path: z.ZodString;
|
|
5173
|
+
session_count: z.ZodNumber;
|
|
5174
|
+
variation_count: z.ZodNumber;
|
|
5175
|
+
}, z.core.$strip>;
|
|
5176
|
+
export declare const HeatmapSnapshotEntitySchema: z.ZodObject<{
|
|
5177
|
+
id: z.ZodNumber;
|
|
5178
|
+
heatmap_page_id: z.ZodNumber;
|
|
5179
|
+
variation: z.ZodEnum<{
|
|
5180
|
+
desktop: "desktop";
|
|
5181
|
+
mobile: "mobile";
|
|
5182
|
+
tablet: "tablet";
|
|
5183
|
+
}>;
|
|
5184
|
+
type: z.ZodEnum<{
|
|
5185
|
+
clicks: "clicks";
|
|
5186
|
+
scroll: "scroll";
|
|
5187
|
+
attention: "attention";
|
|
5188
|
+
}>;
|
|
5189
|
+
spots: z.ZodArray<z.ZodObject<{
|
|
5190
|
+
x: z.ZodNumber;
|
|
5191
|
+
y: z.ZodNumber;
|
|
5192
|
+
radius: z.ZodNumber;
|
|
5193
|
+
intensity: z.ZodNumber;
|
|
5194
|
+
}, z.core.$strip>>;
|
|
5195
|
+
stats: z.ZodObject<{
|
|
5196
|
+
total_interactions: z.ZodNumber;
|
|
5197
|
+
unique_users: z.ZodNumber;
|
|
5198
|
+
hottest_zone: z.ZodString;
|
|
5199
|
+
dead_zones: z.ZodNumber;
|
|
5200
|
+
}, z.core.$strip>;
|
|
5201
|
+
}, z.core.$strip>;
|
|
5202
|
+
export declare const ReactionScoreSchema: z.ZodObject<{
|
|
5203
|
+
score: z.ZodNumber;
|
|
5204
|
+
justification: z.ZodString;
|
|
5205
|
+
}, z.core.$strip>;
|
|
5206
|
+
export declare const ReactionResultEntitySchema: z.ZodObject<{
|
|
5207
|
+
id: z.ZodNumber;
|
|
5208
|
+
run_id: z.ZodNumber;
|
|
5209
|
+
persona_id: z.ZodNullable<z.ZodNumber>;
|
|
5210
|
+
persona_name: z.ZodOptional<z.ZodString>;
|
|
5211
|
+
persona_initials: z.ZodOptional<z.ZodString>;
|
|
5212
|
+
ad_hoc_persona: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5213
|
+
name: z.ZodString;
|
|
5214
|
+
description: z.ZodString;
|
|
5215
|
+
traits: z.ZodArray<z.ZodString>;
|
|
5216
|
+
}, z.core.$strip>>>;
|
|
5217
|
+
overall_reactions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5218
|
+
score: z.ZodNumber;
|
|
5219
|
+
justification: z.ZodString;
|
|
5220
|
+
}, z.core.$strip>>;
|
|
5221
|
+
dimension_scores: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5222
|
+
score: z.ZodNumber;
|
|
5223
|
+
justification: z.ZodString;
|
|
5224
|
+
}, z.core.$strip>>;
|
|
5225
|
+
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
5226
|
+
}, z.core.$strip>;
|
|
5227
|
+
export declare const ContextRefSchema: z.ZodObject<{
|
|
5228
|
+
type: z.ZodEnum<{
|
|
5229
|
+
doc: "doc";
|
|
5230
|
+
sim: "sim";
|
|
5231
|
+
session: "session";
|
|
5232
|
+
}>;
|
|
5233
|
+
id: z.ZodString;
|
|
5234
|
+
label: z.ZodString;
|
|
5235
|
+
}, z.core.$strip>;
|
|
5236
|
+
export declare const SuggestedSimulationSchema: z.ZodObject<{
|
|
5237
|
+
description: z.ZodString;
|
|
5238
|
+
selected: z.ZodBoolean;
|
|
5239
|
+
}, z.core.$strip>;
|
|
5240
|
+
export declare const ReactionRunEntitySchema: z.ZodObject<{
|
|
5241
|
+
id: z.ZodNumber;
|
|
5242
|
+
reaction_id: z.ZodNumber;
|
|
5243
|
+
run_number: z.ZodOptional<z.ZodNumber>;
|
|
5244
|
+
context_refs: z.ZodArray<z.ZodObject<{
|
|
5245
|
+
type: z.ZodEnum<{
|
|
5246
|
+
doc: "doc";
|
|
5247
|
+
sim: "sim";
|
|
5248
|
+
session: "session";
|
|
5249
|
+
}>;
|
|
5250
|
+
id: z.ZodString;
|
|
5251
|
+
label: z.ZodString;
|
|
5252
|
+
}, z.core.$strip>>;
|
|
5253
|
+
simulations: z.ZodArray<z.ZodObject<{
|
|
5254
|
+
description: z.ZodString;
|
|
5255
|
+
selected: z.ZodBoolean;
|
|
5256
|
+
}, z.core.$strip>>;
|
|
5257
|
+
persona_ids: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
5258
|
+
results: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5259
|
+
id: z.ZodNumber;
|
|
5260
|
+
run_id: z.ZodNumber;
|
|
5261
|
+
persona_id: z.ZodNullable<z.ZodNumber>;
|
|
5262
|
+
persona_name: z.ZodOptional<z.ZodString>;
|
|
5263
|
+
persona_initials: z.ZodOptional<z.ZodString>;
|
|
5264
|
+
ad_hoc_persona: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5265
|
+
name: z.ZodString;
|
|
5266
|
+
description: z.ZodString;
|
|
5267
|
+
traits: z.ZodArray<z.ZodString>;
|
|
5268
|
+
}, z.core.$strip>>>;
|
|
5269
|
+
overall_reactions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5270
|
+
score: z.ZodNumber;
|
|
5271
|
+
justification: z.ZodString;
|
|
5272
|
+
}, z.core.$strip>>;
|
|
5273
|
+
dimension_scores: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5274
|
+
score: z.ZodNumber;
|
|
5275
|
+
justification: z.ZodString;
|
|
5276
|
+
}, z.core.$strip>>;
|
|
5277
|
+
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
5278
|
+
}, z.core.$strip>>>;
|
|
5279
|
+
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
5280
|
+
}, z.core.$strip>;
|
|
5281
|
+
export declare const ReactionEntitySchema: z.ZodObject<{
|
|
5282
|
+
id: z.ZodNumber;
|
|
5283
|
+
application_id: z.ZodNumber;
|
|
5284
|
+
question: z.ZodString;
|
|
5285
|
+
run_count: z.ZodOptional<z.ZodNumber>;
|
|
5286
|
+
last_run_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
5287
|
+
runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5288
|
+
id: z.ZodNumber;
|
|
5289
|
+
reaction_id: z.ZodNumber;
|
|
5290
|
+
run_number: z.ZodOptional<z.ZodNumber>;
|
|
5291
|
+
context_refs: z.ZodArray<z.ZodObject<{
|
|
5292
|
+
type: z.ZodEnum<{
|
|
5293
|
+
doc: "doc";
|
|
5294
|
+
sim: "sim";
|
|
5295
|
+
session: "session";
|
|
5296
|
+
}>;
|
|
5297
|
+
id: z.ZodString;
|
|
5298
|
+
label: z.ZodString;
|
|
5299
|
+
}, z.core.$strip>>;
|
|
5300
|
+
simulations: z.ZodArray<z.ZodObject<{
|
|
5301
|
+
description: z.ZodString;
|
|
5302
|
+
selected: z.ZodBoolean;
|
|
5303
|
+
}, z.core.$strip>>;
|
|
5304
|
+
persona_ids: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
5305
|
+
results: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5306
|
+
id: z.ZodNumber;
|
|
5307
|
+
run_id: z.ZodNumber;
|
|
5308
|
+
persona_id: z.ZodNullable<z.ZodNumber>;
|
|
5309
|
+
persona_name: z.ZodOptional<z.ZodString>;
|
|
5310
|
+
persona_initials: z.ZodOptional<z.ZodString>;
|
|
5311
|
+
ad_hoc_persona: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5312
|
+
name: z.ZodString;
|
|
5313
|
+
description: z.ZodString;
|
|
5314
|
+
traits: z.ZodArray<z.ZodString>;
|
|
5315
|
+
}, z.core.$strip>>>;
|
|
5316
|
+
overall_reactions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5317
|
+
score: z.ZodNumber;
|
|
5318
|
+
justification: z.ZodString;
|
|
5319
|
+
}, z.core.$strip>>;
|
|
5320
|
+
dimension_scores: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5321
|
+
score: z.ZodNumber;
|
|
5322
|
+
justification: z.ZodString;
|
|
5323
|
+
}, z.core.$strip>>;
|
|
5324
|
+
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
5325
|
+
}, z.core.$strip>>>;
|
|
5326
|
+
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
5327
|
+
}, z.core.$strip>>>;
|
|
5328
|
+
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
5329
|
+
}, z.core.$strip>;
|
|
5330
|
+
export declare const ChatContextResponseSchema: z.ZodObject<{
|
|
5331
|
+
contextRefs: z.ZodArray<z.ZodObject<{
|
|
5332
|
+
type: z.ZodEnum<{
|
|
5333
|
+
doc: "doc";
|
|
5334
|
+
sim: "sim";
|
|
5335
|
+
session: "session";
|
|
5336
|
+
}>;
|
|
5337
|
+
id: z.ZodString;
|
|
5338
|
+
label: z.ZodString;
|
|
5339
|
+
}, z.core.$strip>>;
|
|
5340
|
+
suggestedSimulations: z.ZodArray<z.ZodObject<{
|
|
5341
|
+
description: z.ZodString;
|
|
5342
|
+
selected: z.ZodBoolean;
|
|
5343
|
+
}, z.core.$strip>>;
|
|
5344
|
+
}, z.core.$strip>;
|
|
4858
5345
|
export type ConnectionData = z.infer<typeof ConnectionEntitySchema>;
|
|
4859
5346
|
export type TriggerData = z.infer<typeof TriggerEntitySchema>;
|
|
4860
5347
|
export type ActionData = z.infer<typeof ActionEntitySchema>;
|