@marketrix.ai/widget 3.3.160 → 3.3.169
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/TaskContext.d.ts.map +1 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/sdk/index.d.ts +41 -79
- package/dist/src/sdk/index.d.ts.map +1 -1
- package/dist/src/sdk/routes.d.ts +42 -80
- package/dist/src/sdk/routes.d.ts.map +1 -1
- package/dist/src/sdk/schema.d.ts +40 -160
- package/dist/src/sdk/schema.d.ts.map +1 -1
- package/dist/src/services/StorageService.d.ts +1 -1
- package/dist/src/utils/chat.d.ts.map +1 -1
- package/dist/widget.mjs +3 -3
- package/dist/widget.mjs.map +1 -1
- package/package.json +1 -1
package/dist/src/sdk/schema.d.ts
CHANGED
|
@@ -78,19 +78,6 @@ export declare const QAFlowStatusSchema: z.ZodEnum<{
|
|
|
78
78
|
completed: "completed";
|
|
79
79
|
failed: "failed";
|
|
80
80
|
}>;
|
|
81
|
-
export declare const QATestStatusSchema: z.ZodEnum<{
|
|
82
|
-
pending: "pending";
|
|
83
|
-
completed: "completed";
|
|
84
|
-
failed: "failed";
|
|
85
|
-
in_progress: "in_progress";
|
|
86
|
-
}>;
|
|
87
|
-
export declare const QARunStatusSchema: z.ZodEnum<{
|
|
88
|
-
pending: "pending";
|
|
89
|
-
completed: "completed";
|
|
90
|
-
failed: "failed";
|
|
91
|
-
in_progress: "in_progress";
|
|
92
|
-
stopped: "stopped";
|
|
93
|
-
}>;
|
|
94
81
|
export declare const ChatRoleSchema: z.ZodEnum<{
|
|
95
82
|
user: "user";
|
|
96
83
|
agent: "agent";
|
|
@@ -790,24 +777,25 @@ export declare const QAEvaluationSchema: z.ZodObject<{
|
|
|
790
777
|
}, z.core.$strip>;
|
|
791
778
|
export type QAEvaluation = z.infer<typeof QAEvaluationSchema>;
|
|
792
779
|
/**
|
|
793
|
-
* QA task status
|
|
780
|
+
* QA task status — first-class outcome of a QA run task.
|
|
794
781
|
* Mirrors the `qa_task_status` Postgres ENUM and proto QATaskStatus.
|
|
795
782
|
*/
|
|
796
783
|
export declare const QATaskStatusSchema: z.ZodEnum<{
|
|
797
784
|
failed: "failed";
|
|
798
|
-
stopped: "stopped";
|
|
799
785
|
passed: "passed";
|
|
800
786
|
needs_healing: "needs_healing";
|
|
801
787
|
queued: "queued";
|
|
802
788
|
running: "running";
|
|
789
|
+
stopped: "stopped";
|
|
803
790
|
}>;
|
|
804
791
|
export type QATaskStatusValue = z.infer<typeof QATaskStatusSchema>;
|
|
805
792
|
/**
|
|
806
|
-
* QA run task entity schema
|
|
793
|
+
* QA run task entity schema.
|
|
807
794
|
*
|
|
808
|
-
* Composite PK (qa_run_id, qa_test_case_id) — no surrogate `id`. The
|
|
809
|
-
*
|
|
810
|
-
* is
|
|
795
|
+
* Composite PK (qa_run_id, qa_test_case_id) — no surrogate `id`. The
|
|
796
|
+
* pass/fail/needs_healing outcome lives on the typed `status` enum;
|
|
797
|
+
* `verdict` is a nullable human-readable summary set by the post-run
|
|
798
|
+
* evaluator.
|
|
811
799
|
*
|
|
812
800
|
* `created_at` / `updated_at` are populated by Sequelize, so they are
|
|
813
801
|
* optional on the input shape (a fresh upsert payload can omit them).
|
|
@@ -818,11 +806,11 @@ export declare const QARunTaskEntitySchema: z.ZodObject<{
|
|
|
818
806
|
simulation_task_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
819
807
|
status: z.ZodEnum<{
|
|
820
808
|
failed: "failed";
|
|
821
|
-
stopped: "stopped";
|
|
822
809
|
passed: "passed";
|
|
823
810
|
needs_healing: "needs_healing";
|
|
824
811
|
queued: "queued";
|
|
825
812
|
running: "running";
|
|
813
|
+
stopped: "stopped";
|
|
826
814
|
}>;
|
|
827
815
|
verdict: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
828
816
|
proposed_steps: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
@@ -1353,73 +1341,6 @@ export declare const SimulationStepSchema: z.ZodObject<{
|
|
|
1353
1341
|
}, z.core.$loose>>;
|
|
1354
1342
|
state_message: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1355
1343
|
}, z.core.$loose>;
|
|
1356
|
-
/**
|
|
1357
|
-
* Complete simulation history schema
|
|
1358
|
-
*/
|
|
1359
|
-
export declare const SimulationHistorySchema: z.ZodObject<{
|
|
1360
|
-
history: z.ZodArray<z.ZodObject<{
|
|
1361
|
-
model_output: z.ZodNullable<z.ZodObject<{
|
|
1362
|
-
evaluation_previous_goal: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1363
|
-
memory: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1364
|
-
next_goal: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1365
|
-
action: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
1366
|
-
thinking: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1367
|
-
}, z.core.$loose>>;
|
|
1368
|
-
result: z.ZodArray<z.ZodObject<{
|
|
1369
|
-
is_done: z.ZodBoolean;
|
|
1370
|
-
success: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
1371
|
-
long_term_memory: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1372
|
-
extracted_content: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1373
|
-
include_extracted_content_only_once: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
1374
|
-
include_in_memory: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
1375
|
-
error: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1376
|
-
metadata: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1377
|
-
click_x: z.ZodOptional<z.ZodNumber>;
|
|
1378
|
-
click_y: z.ZodOptional<z.ZodNumber>;
|
|
1379
|
-
new_tab_opened: z.ZodOptional<z.ZodBoolean>;
|
|
1380
|
-
input_x: z.ZodOptional<z.ZodNumber>;
|
|
1381
|
-
input_y: z.ZodOptional<z.ZodNumber>;
|
|
1382
|
-
}, z.core.$loose>>>;
|
|
1383
|
-
}, z.core.$loose>>;
|
|
1384
|
-
state: z.ZodObject<{
|
|
1385
|
-
tabs: z.ZodArray<z.ZodObject<{
|
|
1386
|
-
url: z.ZodString;
|
|
1387
|
-
title: z.ZodString;
|
|
1388
|
-
tab_id: z.ZodOptional<z.ZodString>;
|
|
1389
|
-
parent_tab_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1390
|
-
}, z.core.$loose>>;
|
|
1391
|
-
screenshot_path: z.ZodNullable<z.ZodString>;
|
|
1392
|
-
interacted_element: z.ZodArray<z.ZodNullable<z.ZodObject<{
|
|
1393
|
-
node_id: z.ZodOptional<z.ZodNumber>;
|
|
1394
|
-
backend_node_id: z.ZodOptional<z.ZodNumber>;
|
|
1395
|
-
frame_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1396
|
-
node_type: z.ZodOptional<z.ZodNumber>;
|
|
1397
|
-
node_value: z.ZodOptional<z.ZodString>;
|
|
1398
|
-
node_name: z.ZodOptional<z.ZodString>;
|
|
1399
|
-
attributes: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
1400
|
-
x_path: z.ZodOptional<z.ZodString>;
|
|
1401
|
-
element_hash: z.ZodOptional<z.ZodNumber>;
|
|
1402
|
-
bounds: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1403
|
-
x: z.ZodNumber;
|
|
1404
|
-
y: z.ZodNumber;
|
|
1405
|
-
width: z.ZodNumber;
|
|
1406
|
-
height: z.ZodNumber;
|
|
1407
|
-
}, z.core.$loose>>>;
|
|
1408
|
-
stable_hash: z.ZodOptional<z.ZodNumber>;
|
|
1409
|
-
ax_name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1410
|
-
}, z.core.$loose>>>;
|
|
1411
|
-
url: z.ZodString;
|
|
1412
|
-
title: z.ZodString;
|
|
1413
|
-
}, z.core.$loose>;
|
|
1414
|
-
metadata: z.ZodNullable<z.ZodObject<{
|
|
1415
|
-
step_start_time: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1416
|
-
step_end_time: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1417
|
-
step_number: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1418
|
-
step_interval: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1419
|
-
}, z.core.$loose>>;
|
|
1420
|
-
state_message: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1421
|
-
}, z.core.$loose>>;
|
|
1422
|
-
}, z.core.$strip>;
|
|
1423
1344
|
/**
|
|
1424
1345
|
* Summary of one simulation step for JSON listing (topic + screenshot link)
|
|
1425
1346
|
*/
|
|
@@ -1458,10 +1379,9 @@ export declare const SimulationTaskEntrySchema: z.ZodObject<{
|
|
|
1458
1379
|
status: z.ZodEnum<{
|
|
1459
1380
|
pending: "pending";
|
|
1460
1381
|
failed: "failed";
|
|
1461
|
-
in_progress: "in_progress";
|
|
1462
|
-
stopped: "stopped";
|
|
1463
1382
|
passed: "passed";
|
|
1464
1383
|
running: "running";
|
|
1384
|
+
stopped: "stopped";
|
|
1465
1385
|
has_question: "has_question";
|
|
1466
1386
|
skipped: "skipped";
|
|
1467
1387
|
}>;
|
|
@@ -1509,10 +1429,9 @@ export declare const SimulationEntitySchema: z.ZodObject<{
|
|
|
1509
1429
|
status: z.ZodEnum<{
|
|
1510
1430
|
pending: "pending";
|
|
1511
1431
|
failed: "failed";
|
|
1512
|
-
in_progress: "in_progress";
|
|
1513
|
-
stopped: "stopped";
|
|
1514
1432
|
passed: "passed";
|
|
1515
1433
|
running: "running";
|
|
1434
|
+
stopped: "stopped";
|
|
1516
1435
|
has_question: "has_question";
|
|
1517
1436
|
skipped: "skipped";
|
|
1518
1437
|
}>;
|
|
@@ -1901,10 +1820,9 @@ export declare const AgentEntitySchema: z.ZodObject<{
|
|
|
1901
1820
|
status: z.ZodEnum<{
|
|
1902
1821
|
pending: "pending";
|
|
1903
1822
|
failed: "failed";
|
|
1904
|
-
in_progress: "in_progress";
|
|
1905
|
-
stopped: "stopped";
|
|
1906
1823
|
passed: "passed";
|
|
1907
1824
|
running: "running";
|
|
1825
|
+
stopped: "stopped";
|
|
1908
1826
|
has_question: "has_question";
|
|
1909
1827
|
skipped: "skipped";
|
|
1910
1828
|
}>;
|
|
@@ -2052,10 +1970,9 @@ export declare const AgentCreateSchema: z.ZodObject<{
|
|
|
2052
1970
|
status: z.ZodEnum<{
|
|
2053
1971
|
pending: "pending";
|
|
2054
1972
|
failed: "failed";
|
|
2055
|
-
in_progress: "in_progress";
|
|
2056
|
-
stopped: "stopped";
|
|
2057
1973
|
passed: "passed";
|
|
2058
1974
|
running: "running";
|
|
1975
|
+
stopped: "stopped";
|
|
2059
1976
|
has_question: "has_question";
|
|
2060
1977
|
skipped: "skipped";
|
|
2061
1978
|
}>;
|
|
@@ -2232,10 +2149,9 @@ export declare const AgentUpdateSchema: z.ZodObject<{
|
|
|
2232
2149
|
status: z.ZodEnum<{
|
|
2233
2150
|
pending: "pending";
|
|
2234
2151
|
failed: "failed";
|
|
2235
|
-
in_progress: "in_progress";
|
|
2236
|
-
stopped: "stopped";
|
|
2237
2152
|
passed: "passed";
|
|
2238
2153
|
running: "running";
|
|
2154
|
+
stopped: "stopped";
|
|
2239
2155
|
has_question: "has_question";
|
|
2240
2156
|
skipped: "skipped";
|
|
2241
2157
|
}>;
|
|
@@ -2319,18 +2235,6 @@ export declare const BrowserSessionResponseSchema: z.ZodObject<{
|
|
|
2319
2235
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2320
2236
|
success: z.ZodOptional<z.ZodBoolean>;
|
|
2321
2237
|
}, z.core.$strip>;
|
|
2322
|
-
/**
|
|
2323
|
-
* Task status enum schema
|
|
2324
|
-
* Common status values for tasks and simulations
|
|
2325
|
-
*/
|
|
2326
|
-
export declare const TaskStatusSchema: z.ZodEnum<{
|
|
2327
|
-
pending: "pending";
|
|
2328
|
-
completed: "completed";
|
|
2329
|
-
failed: "failed";
|
|
2330
|
-
in_progress: "in_progress";
|
|
2331
|
-
stopped: "stopped";
|
|
2332
|
-
has_question: "has_question";
|
|
2333
|
-
}>;
|
|
2334
2238
|
/**
|
|
2335
2239
|
* Agent knowledge search configuration schema
|
|
2336
2240
|
*/
|
|
@@ -2534,10 +2438,9 @@ export declare const AgentSimulationIndexResponseSchema: z.ZodObject<{
|
|
|
2534
2438
|
status: z.ZodEnum<{
|
|
2535
2439
|
pending: "pending";
|
|
2536
2440
|
failed: "failed";
|
|
2537
|
-
in_progress: "in_progress";
|
|
2538
|
-
stopped: "stopped";
|
|
2539
2441
|
passed: "passed";
|
|
2540
2442
|
running: "running";
|
|
2443
|
+
stopped: "stopped";
|
|
2541
2444
|
has_question: "has_question";
|
|
2542
2445
|
skipped: "skipped";
|
|
2543
2446
|
}>;
|
|
@@ -3029,10 +2932,9 @@ export declare const WidgetInfoSchema: z.ZodObject<{
|
|
|
3029
2932
|
status: z.ZodEnum<{
|
|
3030
2933
|
pending: "pending";
|
|
3031
2934
|
failed: "failed";
|
|
3032
|
-
in_progress: "in_progress";
|
|
3033
|
-
stopped: "stopped";
|
|
3034
2935
|
passed: "passed";
|
|
3035
2936
|
running: "running";
|
|
2937
|
+
stopped: "stopped";
|
|
3036
2938
|
has_question: "has_question";
|
|
3037
2939
|
skipped: "skipped";
|
|
3038
2940
|
}>;
|
|
@@ -3264,10 +3166,9 @@ export declare const WidgetWithAgentSchema: z.ZodObject<{
|
|
|
3264
3166
|
status: z.ZodEnum<{
|
|
3265
3167
|
pending: "pending";
|
|
3266
3168
|
failed: "failed";
|
|
3267
|
-
in_progress: "in_progress";
|
|
3268
|
-
stopped: "stopped";
|
|
3269
3169
|
passed: "passed";
|
|
3270
3170
|
running: "running";
|
|
3171
|
+
stopped: "stopped";
|
|
3271
3172
|
has_question: "has_question";
|
|
3272
3173
|
skipped: "skipped";
|
|
3273
3174
|
}>;
|
|
@@ -3514,10 +3415,9 @@ export declare const ApplicationWithWidgetsSchema: z.ZodObject<{
|
|
|
3514
3415
|
status: z.ZodEnum<{
|
|
3515
3416
|
pending: "pending";
|
|
3516
3417
|
failed: "failed";
|
|
3517
|
-
in_progress: "in_progress";
|
|
3518
|
-
stopped: "stopped";
|
|
3519
3418
|
passed: "passed";
|
|
3520
3419
|
running: "running";
|
|
3420
|
+
stopped: "stopped";
|
|
3521
3421
|
has_question: "has_question";
|
|
3522
3422
|
skipped: "skipped";
|
|
3523
3423
|
}>;
|
|
@@ -3775,8 +3675,8 @@ export declare const WidgetEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3775
3675
|
status: z.ZodEnum<{
|
|
3776
3676
|
completed: "completed";
|
|
3777
3677
|
failed: "failed";
|
|
3778
|
-
stopped: "stopped";
|
|
3779
3678
|
running: "running";
|
|
3679
|
+
stopped: "stopped";
|
|
3780
3680
|
has_question: "has_question";
|
|
3781
3681
|
}>;
|
|
3782
3682
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -3851,23 +3751,17 @@ export declare const AppEventScopeSchema: z.ZodEnum<{
|
|
|
3851
3751
|
* Simulation status — the contract value emitted by the API on
|
|
3852
3752
|
* `simulation/updated` events and returned in oRPC simulation payloads.
|
|
3853
3753
|
*
|
|
3854
|
-
*
|
|
3855
|
-
*
|
|
3856
|
-
* `'
|
|
3857
|
-
*
|
|
3858
|
-
* so they no longer appear on the wire and have been removed from this
|
|
3859
|
-
* union.
|
|
3860
|
-
*
|
|
3861
|
-
* The two new first-class states (`'creating_knowledge'`, `'has_question'`)
|
|
3862
|
-
* carry through to consumers — the app accepts them in `SimulationStatusSchema`
|
|
3863
|
-
* mirrors.
|
|
3754
|
+
* 7-value canonical wire vocabulary matching the SimulationStatus proto
|
|
3755
|
+
* enum. Legacy strings (`'pending'`, `'dispatched'`, `'in_progress'`,
|
|
3756
|
+
* `'task_stopped'`) were migrated to canonical values by db-V37 and no
|
|
3757
|
+
* longer appear on the wire.
|
|
3864
3758
|
*/
|
|
3865
3759
|
export declare const SimulationStatusSchema: z.ZodEnum<{
|
|
3866
3760
|
completed: "completed";
|
|
3867
3761
|
failed: "failed";
|
|
3868
|
-
stopped: "stopped";
|
|
3869
3762
|
queued: "queued";
|
|
3870
3763
|
running: "running";
|
|
3764
|
+
stopped: "stopped";
|
|
3871
3765
|
has_question: "has_question";
|
|
3872
3766
|
creating_knowledge: "creating_knowledge";
|
|
3873
3767
|
}>;
|
|
@@ -3877,16 +3771,15 @@ export type SimulationStatus = z.infer<typeof SimulationStatusSchema>;
|
|
|
3877
3771
|
* task states. Emitted by the API on `qa-run/updated` events and returned
|
|
3878
3772
|
* in QA run oRPC payloads.
|
|
3879
3773
|
*
|
|
3880
|
-
*
|
|
3881
|
-
*
|
|
3882
|
-
* as the empty-task initial state.
|
|
3774
|
+
* Canonical wire vocabulary; `deriveQARunStats` returns `'running'` directly.
|
|
3775
|
+
* `'pending'` is the empty-task initial state.
|
|
3883
3776
|
*/
|
|
3884
3777
|
export declare const QARunDerivedStatusSchema: z.ZodEnum<{
|
|
3885
3778
|
pending: "pending";
|
|
3886
3779
|
completed: "completed";
|
|
3887
3780
|
failed: "failed";
|
|
3888
|
-
stopped: "stopped";
|
|
3889
3781
|
running: "running";
|
|
3782
|
+
stopped: "stopped";
|
|
3890
3783
|
}>;
|
|
3891
3784
|
export type QARunDerivedStatus = z.infer<typeof QARunDerivedStatusSchema>;
|
|
3892
3785
|
export declare const AppEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -3896,9 +3789,9 @@ export declare const AppEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3896
3789
|
status: z.ZodEnum<{
|
|
3897
3790
|
completed: "completed";
|
|
3898
3791
|
failed: "failed";
|
|
3899
|
-
stopped: "stopped";
|
|
3900
3792
|
queued: "queued";
|
|
3901
3793
|
running: "running";
|
|
3794
|
+
stopped: "stopped";
|
|
3902
3795
|
has_question: "has_question";
|
|
3903
3796
|
creating_knowledge: "creating_knowledge";
|
|
3904
3797
|
}>;
|
|
@@ -3987,8 +3880,8 @@ export declare const AppEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3987
3880
|
pending: "pending";
|
|
3988
3881
|
completed: "completed";
|
|
3989
3882
|
failed: "failed";
|
|
3990
|
-
stopped: "stopped";
|
|
3991
3883
|
running: "running";
|
|
3884
|
+
stopped: "stopped";
|
|
3992
3885
|
}>;
|
|
3993
3886
|
simulation_id: z.ZodOptional<z.ZodNumber>;
|
|
3994
3887
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -4380,8 +4273,8 @@ export declare const AutomationRunStatusSchema: z.ZodEnum<{
|
|
|
4380
4273
|
pending: "pending";
|
|
4381
4274
|
completed: "completed";
|
|
4382
4275
|
failed: "failed";
|
|
4383
|
-
stopped: "stopped";
|
|
4384
4276
|
running: "running";
|
|
4277
|
+
stopped: "stopped";
|
|
4385
4278
|
}>;
|
|
4386
4279
|
export declare const AutomationNodeKindSchema: z.ZodEnum<{
|
|
4387
4280
|
condition: "condition";
|
|
@@ -4391,7 +4284,6 @@ export declare const AutomationNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
4391
4284
|
kind: z.ZodLiteral<"connector">;
|
|
4392
4285
|
connector_type: z.ZodString;
|
|
4393
4286
|
connector_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4394
|
-
connection_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4395
4287
|
trigger_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4396
4288
|
action_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4397
4289
|
capability: z.ZodString;
|
|
@@ -4427,7 +4319,6 @@ export declare const AutomationGraphSchema: z.ZodObject<{
|
|
|
4427
4319
|
kind: z.ZodLiteral<"connector">;
|
|
4428
4320
|
connector_type: z.ZodString;
|
|
4429
4321
|
connector_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4430
|
-
connection_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4431
4322
|
trigger_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4432
4323
|
action_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4433
4324
|
capability: z.ZodString;
|
|
@@ -4476,7 +4367,6 @@ export declare const AutomationEntitySchema: z.ZodObject<{
|
|
|
4476
4367
|
kind: z.ZodLiteral<"connector">;
|
|
4477
4368
|
connector_type: z.ZodString;
|
|
4478
4369
|
connector_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4479
|
-
connection_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4480
4370
|
trigger_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4481
4371
|
action_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4482
4372
|
capability: z.ZodString;
|
|
@@ -4524,7 +4414,6 @@ export declare const AutomationCreateSchema: z.ZodObject<{
|
|
|
4524
4414
|
kind: z.ZodLiteral<"connector">;
|
|
4525
4415
|
connector_type: z.ZodString;
|
|
4526
4416
|
connector_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4527
|
-
connection_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4528
4417
|
trigger_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4529
4418
|
action_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4530
4419
|
capability: z.ZodString;
|
|
@@ -4571,7 +4460,6 @@ export declare const AutomationUpdateSchema: z.ZodObject<{
|
|
|
4571
4460
|
kind: z.ZodLiteral<"connector">;
|
|
4572
4461
|
connector_type: z.ZodString;
|
|
4573
4462
|
connector_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4574
|
-
connection_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4575
4463
|
trigger_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4576
4464
|
action_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4577
4465
|
capability: z.ZodString;
|
|
@@ -4614,9 +4502,9 @@ export declare const AutomationNodeResultSchema: z.ZodObject<{
|
|
|
4614
4502
|
status: z.ZodEnum<{
|
|
4615
4503
|
completed: "completed";
|
|
4616
4504
|
failed: "failed";
|
|
4617
|
-
in_progress: "in_progress";
|
|
4618
4505
|
stopped: "stopped";
|
|
4619
4506
|
skipped: "skipped";
|
|
4507
|
+
in_progress: "in_progress";
|
|
4620
4508
|
}>;
|
|
4621
4509
|
output: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
4622
4510
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4629,8 +4517,8 @@ export declare const AutomationRunEntitySchema: z.ZodObject<{
|
|
|
4629
4517
|
pending: "pending";
|
|
4630
4518
|
completed: "completed";
|
|
4631
4519
|
failed: "failed";
|
|
4632
|
-
stopped: "stopped";
|
|
4633
4520
|
running: "running";
|
|
4521
|
+
stopped: "stopped";
|
|
4634
4522
|
}>;
|
|
4635
4523
|
trigger_node_id: z.ZodString;
|
|
4636
4524
|
trigger_data: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -4638,9 +4526,9 @@ export declare const AutomationRunEntitySchema: z.ZodObject<{
|
|
|
4638
4526
|
status: z.ZodEnum<{
|
|
4639
4527
|
completed: "completed";
|
|
4640
4528
|
failed: "failed";
|
|
4641
|
-
in_progress: "in_progress";
|
|
4642
4529
|
stopped: "stopped";
|
|
4643
4530
|
skipped: "skipped";
|
|
4531
|
+
in_progress: "in_progress";
|
|
4644
4532
|
}>;
|
|
4645
4533
|
output: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
4646
4534
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4654,8 +4542,8 @@ export declare const AutomationRunSearchSchema: z.ZodObject<{
|
|
|
4654
4542
|
pending: "pending";
|
|
4655
4543
|
completed: "completed";
|
|
4656
4544
|
failed: "failed";
|
|
4657
|
-
stopped: "stopped";
|
|
4658
4545
|
running: "running";
|
|
4546
|
+
stopped: "stopped";
|
|
4659
4547
|
}>>;
|
|
4660
4548
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4661
4549
|
offset: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
@@ -4719,8 +4607,8 @@ export declare const GithubCheckRunInputSchema: z.ZodObject<{
|
|
|
4719
4607
|
head_sha: z.ZodString;
|
|
4720
4608
|
status: z.ZodOptional<z.ZodEnum<{
|
|
4721
4609
|
completed: "completed";
|
|
4722
|
-
in_progress: "in_progress";
|
|
4723
4610
|
queued: "queued";
|
|
4611
|
+
in_progress: "in_progress";
|
|
4724
4612
|
}>>;
|
|
4725
4613
|
conclusion: z.ZodOptional<z.ZodEnum<{
|
|
4726
4614
|
success: "success";
|
|
@@ -5147,7 +5035,6 @@ export type AgentTaskStopResponseData = z.infer<typeof AgentTaskStopResponseSche
|
|
|
5147
5035
|
export type AgentTaskStatusResponseData = z.infer<typeof AgentTaskStatusResponseSchema>;
|
|
5148
5036
|
export type SimulationStatusResponseData = z.infer<typeof SimulationStatusResponseSchema>;
|
|
5149
5037
|
export type BrowserSessionResponseData = z.infer<typeof BrowserSessionResponseSchema>;
|
|
5150
|
-
export type TaskStatus = z.infer<typeof TaskStatusSchema>;
|
|
5151
5038
|
export type FileUploadResponse = z.infer<typeof FileUploadResponseSchema>;
|
|
5152
5039
|
export type ChatRequest = z.infer<typeof ChatRequestSchema>;
|
|
5153
5040
|
export type ChatResponseData = z.infer<typeof ChatResponseSchema>;
|
|
@@ -5180,7 +5067,6 @@ export type SimulationData = z.infer<typeof SimulationEntitySchema>;
|
|
|
5180
5067
|
export type SimulationLoggingUserData = z.infer<typeof SimulationLoggingUserSchema>;
|
|
5181
5068
|
export type SimulationStepData = z.infer<typeof SimulationStepSchema>;
|
|
5182
5069
|
export type SimulationStepSummaryData = z.infer<typeof SimulationStepSummarySchema>;
|
|
5183
|
-
export type SimulationHistoryData = z.infer<typeof SimulationHistorySchema>;
|
|
5184
5070
|
export type SimulationModelOutputData = z.infer<typeof SimulationModelOutputSchema>;
|
|
5185
5071
|
export type SimulationResultData = z.infer<typeof SimulationResultSchema>;
|
|
5186
5072
|
export type SimulationStateData = z.infer<typeof SimulationStateSchema>;
|
|
@@ -5322,7 +5208,7 @@ export type PreviewVideoChatMessageData = z.infer<typeof PreviewVideoChatMessage
|
|
|
5322
5208
|
export type PreviewVideoChatData = z.infer<typeof PreviewVideoChatEntitySchema>;
|
|
5323
5209
|
export type PreviewVideoChatUpsertData = z.infer<typeof PreviewVideoChatUpsertSchema>;
|
|
5324
5210
|
export type PreviewVideoChatSearchData = z.infer<typeof PreviewVideoChatSearchSchema>;
|
|
5325
|
-
export declare const
|
|
5211
|
+
export declare const ProviderNameSchema: z.ZodEnum<{
|
|
5326
5212
|
github: "github";
|
|
5327
5213
|
slack: "slack";
|
|
5328
5214
|
teams: "teams";
|
|
@@ -5343,14 +5229,11 @@ export declare const ActionProviderSchema: z.ZodEnum<{
|
|
|
5343
5229
|
jira: "jira";
|
|
5344
5230
|
internal: "internal";
|
|
5345
5231
|
}>;
|
|
5346
|
-
export declare const
|
|
5232
|
+
export declare const ProviderStatusSchema: z.ZodEnum<{
|
|
5347
5233
|
connected: "connected";
|
|
5348
5234
|
disconnected: "disconnected";
|
|
5349
5235
|
}>;
|
|
5350
|
-
export declare const
|
|
5351
|
-
id: z.ZodOptional<z.ZodNumber>;
|
|
5352
|
-
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
5353
|
-
updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
5236
|
+
export declare const ProviderEntitySchema: z.ZodObject<{
|
|
5354
5237
|
workspace_id: z.ZodNumber;
|
|
5355
5238
|
provider: z.ZodEnum<{
|
|
5356
5239
|
github: "github";
|
|
@@ -5365,13 +5248,14 @@ export declare const ConnectionEntitySchema: z.ZodObject<{
|
|
|
5365
5248
|
credentials: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
5366
5249
|
provider_data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
5367
5250
|
connected_at: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
5251
|
+
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
5252
|
+
updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
5368
5253
|
}, z.core.$strip>;
|
|
5369
5254
|
export declare const TriggerEntitySchema: z.ZodObject<{
|
|
5370
5255
|
id: z.ZodOptional<z.ZodNumber>;
|
|
5371
5256
|
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
5372
5257
|
updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
5373
5258
|
workspace_id: z.ZodNumber;
|
|
5374
|
-
connection_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5375
5259
|
connector_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5376
5260
|
provider: z.ZodEnum<{
|
|
5377
5261
|
timer: "timer";
|
|
@@ -5389,7 +5273,6 @@ export declare const TriggerEntitySchema: z.ZodObject<{
|
|
|
5389
5273
|
last_triggered_at: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
5390
5274
|
}, z.core.$strip>;
|
|
5391
5275
|
export declare const TriggerCreateSchema: z.ZodObject<{
|
|
5392
|
-
connection_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5393
5276
|
connector_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5394
5277
|
provider: z.ZodEnum<{
|
|
5395
5278
|
timer: "timer";
|
|
@@ -5417,7 +5300,6 @@ export declare const TriggerSearchSchema: z.ZodObject<{
|
|
|
5417
5300
|
jira: "jira";
|
|
5418
5301
|
mcp: "mcp";
|
|
5419
5302
|
}>>;
|
|
5420
|
-
connection_id: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5421
5303
|
connector_id: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5422
5304
|
limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
5423
5305
|
offset: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
@@ -5427,7 +5309,6 @@ export declare const ActionEntitySchema: z.ZodObject<{
|
|
|
5427
5309
|
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
5428
5310
|
updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
5429
5311
|
workspace_id: z.ZodNumber;
|
|
5430
|
-
connection_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5431
5312
|
provider: z.ZodEnum<{
|
|
5432
5313
|
github: "github";
|
|
5433
5314
|
slack: "slack";
|
|
@@ -5443,7 +5324,6 @@ export declare const ActionEntitySchema: z.ZodObject<{
|
|
|
5443
5324
|
last_executed_at: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
5444
5325
|
}, z.core.$strip>;
|
|
5445
5326
|
export declare const ActionCreateSchema: z.ZodObject<{
|
|
5446
|
-
connection_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5447
5327
|
provider: z.ZodEnum<{
|
|
5448
5328
|
github: "github";
|
|
5449
5329
|
slack: "slack";
|
|
@@ -6096,7 +5976,7 @@ export declare const SlackCapabilitySchema: z.ZodObject<{
|
|
|
6096
5976
|
execution_count: z.ZodNumber;
|
|
6097
5977
|
last_used: z.ZodNullable<z.ZodString>;
|
|
6098
5978
|
}, z.core.$strip>;
|
|
6099
|
-
export type
|
|
5979
|
+
export type ProviderData = z.infer<typeof ProviderEntitySchema>;
|
|
6100
5980
|
export type TriggerData = z.infer<typeof TriggerEntitySchema>;
|
|
6101
5981
|
export type ActionData = z.infer<typeof ActionEntitySchema>;
|
|
6102
5982
|
export type SlackCommandLogData = z.infer<typeof SlackCommandLogEntitySchema>;
|