@marketrix.ai/widget 3.3.235 → 3.3.237
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 +443 -10
- package/dist/src/sdk/index.d.ts.map +1 -1
- package/dist/src/sdk/routes.d.ts +443 -43
- package/dist/src/sdk/routes.d.ts.map +1 -1
- package/dist/src/sdk/schema.d.ts +616 -231
- package/dist/src/sdk/schema.d.ts.map +1 -1
- package/dist/widget.mjs +67 -67
- package/dist/widget.mjs.map +1 -1
- package/package.json +1 -1
package/dist/src/sdk/schema.d.ts
CHANGED
|
@@ -1,33 +1,4 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Marketrix API Schema Definitions
|
|
3
|
-
*
|
|
4
|
-
* This file defines all Zod schemas for the Marketrix API, organized by functional areas
|
|
5
|
-
* to match the route structure. It provides type-safe validation for requests, responses,
|
|
6
|
-
* and internal data structures.
|
|
7
|
-
*
|
|
8
|
-
* Schema Categories (code name → user-facing name):
|
|
9
|
-
* - Base Types: Core enums and common schemas
|
|
10
|
-
* - Authentication: User auth, OAuth, password management
|
|
11
|
-
* - Workspace: Organization and workspace management
|
|
12
|
-
* - User: User account management
|
|
13
|
-
* - Agent: AI agent creation and management
|
|
14
|
-
* - Application: Application management
|
|
15
|
-
* - Knowledge: Knowledge base and document management
|
|
16
|
-
* - Simulation: Simulation runs and results
|
|
17
|
-
* - QA: QA Flows, runs, and test cases
|
|
18
|
-
* - Widget: Widget configuration
|
|
19
|
-
* - Connector: Connector triggers
|
|
20
|
-
* - Chat: AI-powered chat and conversation management
|
|
21
|
-
* - Guide: Guide system
|
|
22
|
-
* - Activity Log: System activity tracking and auditing
|
|
23
|
-
* - App Config: In-app configuration management
|
|
24
|
-
* - Rule: Business rule management
|
|
25
|
-
* - Migration: Database migration and system updates
|
|
26
|
-
*/
|
|
27
1
|
import { z } from 'zod';
|
|
28
|
-
/**
|
|
29
|
-
* Core system enums for plans and statuses
|
|
30
|
-
*/
|
|
31
2
|
export declare const UserPlanSchema: z.ZodEnum<{
|
|
32
3
|
free: "free";
|
|
33
4
|
startup: "startup";
|
|
@@ -60,7 +31,6 @@ export declare const AgentStatusSchema: z.ZodEnum<{
|
|
|
60
31
|
error: "error";
|
|
61
32
|
}>;
|
|
62
33
|
export declare const LearningProgressSchema: z.ZodObject<{
|
|
63
|
-
vector_index_created: z.ZodNullable<z.ZodBoolean>;
|
|
64
34
|
graph_index_created: z.ZodNullable<z.ZodBoolean>;
|
|
65
35
|
}, z.core.$strip>;
|
|
66
36
|
export declare const KnowledgeTypeSchema: z.ZodEnum<{
|
|
@@ -205,9 +175,6 @@ export declare const listOf: <T extends z.ZodTypeAny>(schema: T) => z.ZodObject<
|
|
|
205
175
|
items: z.ZodArray<T>;
|
|
206
176
|
count: z.ZodNumber;
|
|
207
177
|
}, z.core.$strip>;
|
|
208
|
-
/**
|
|
209
|
-
* Health check response schema
|
|
210
|
-
*/
|
|
211
178
|
export declare const HealthResponseSchema: z.ZodObject<{
|
|
212
179
|
status: z.ZodString;
|
|
213
180
|
timestamp: z.ZodString;
|
|
@@ -215,9 +182,6 @@ export declare const HealthResponseSchema: z.ZodObject<{
|
|
|
215
182
|
version: z.ZodString;
|
|
216
183
|
build: z.ZodString;
|
|
217
184
|
}, z.core.$strip>;
|
|
218
|
-
/**
|
|
219
|
-
* API index response schema
|
|
220
|
-
*/
|
|
221
185
|
export declare const IndexResponseSchema: z.ZodObject<{
|
|
222
186
|
name: z.ZodString;
|
|
223
187
|
version: z.ZodString;
|
|
@@ -262,9 +226,6 @@ export declare const UserEntitySchema: z.ZodObject<{
|
|
|
262
226
|
oauth: "oauth";
|
|
263
227
|
}>>>;
|
|
264
228
|
}, z.core.$strip>;
|
|
265
|
-
/**
|
|
266
|
-
* User creation schema
|
|
267
|
-
*/
|
|
268
229
|
export declare const UserCreateSchema: z.ZodObject<{
|
|
269
230
|
id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
270
231
|
created_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
@@ -289,9 +250,6 @@ export declare const UserCreateSchema: z.ZodObject<{
|
|
|
289
250
|
email: z.ZodString;
|
|
290
251
|
password: z.ZodString;
|
|
291
252
|
}, z.core.$strip>;
|
|
292
|
-
/**
|
|
293
|
-
* User update schema
|
|
294
|
-
*/
|
|
295
253
|
export declare const UserUpdateSchema: z.ZodObject<{
|
|
296
254
|
id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
297
255
|
created_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
@@ -316,9 +274,6 @@ export declare const UserUpdateSchema: z.ZodObject<{
|
|
|
316
274
|
oauth: "oauth";
|
|
317
275
|
}>>>>;
|
|
318
276
|
}, z.core.$strip>;
|
|
319
|
-
/**
|
|
320
|
-
* Batch user creation schema
|
|
321
|
-
*/
|
|
322
277
|
export declare const BatchUserCreateSchema: z.ZodObject<{
|
|
323
278
|
users: z.ZodArray<z.ZodObject<{
|
|
324
279
|
id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -345,9 +300,6 @@ export declare const BatchUserCreateSchema: z.ZodObject<{
|
|
|
345
300
|
password: z.ZodString;
|
|
346
301
|
}, z.core.$strip>>;
|
|
347
302
|
}, z.core.$strip>;
|
|
348
|
-
/**
|
|
349
|
-
* Batch user creation result schema
|
|
350
|
-
*/
|
|
351
303
|
export declare const BatchUserCreateResultSchema: z.ZodObject<{
|
|
352
304
|
users: z.ZodArray<z.ZodObject<{
|
|
353
305
|
id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -374,9 +326,6 @@ export declare const BatchUserCreateResultSchema: z.ZodObject<{
|
|
|
374
326
|
}>>>>;
|
|
375
327
|
}, z.core.$strip>>;
|
|
376
328
|
}, z.core.$strip>;
|
|
377
|
-
/**
|
|
378
|
-
* Login schema with authentication token
|
|
379
|
-
*/
|
|
380
329
|
export declare const TokenSchema: z.ZodObject<{
|
|
381
330
|
token: z.ZodString;
|
|
382
331
|
}, z.core.$strip>;
|
|
@@ -408,9 +357,6 @@ export declare const WorkspaceEntitySchema: z.ZodObject<{
|
|
|
408
357
|
slack_webhook_configured: z.ZodOptional<z.ZodBoolean>;
|
|
409
358
|
notify_all_members_on_question: z.ZodOptional<z.ZodBoolean>;
|
|
410
359
|
}, z.core.$strip>;
|
|
411
|
-
/**
|
|
412
|
-
* Workspace creation schema
|
|
413
|
-
*/
|
|
414
360
|
export declare const WorkspaceCreateSchema: z.ZodObject<{
|
|
415
361
|
id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
416
362
|
created_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
@@ -507,9 +453,6 @@ export declare const WorkspacePlanEntitySchema: z.ZodObject<{
|
|
|
507
453
|
paused: "paused";
|
|
508
454
|
}>>>;
|
|
509
455
|
}, z.core.$strip>;
|
|
510
|
-
/**
|
|
511
|
-
* Workspace plan creation schema
|
|
512
|
-
*/
|
|
513
456
|
export declare const WorkspacePlanCreateSchema: z.ZodObject<{
|
|
514
457
|
id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
515
458
|
created_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
@@ -535,9 +478,6 @@ export declare const WorkspacePlanCreateSchema: z.ZodObject<{
|
|
|
535
478
|
enterprise: "enterprise";
|
|
536
479
|
}>;
|
|
537
480
|
}, z.core.$strip>;
|
|
538
|
-
/**
|
|
539
|
-
* Workspace plan update schema
|
|
540
|
-
*/
|
|
541
481
|
export declare const WorkspacePlanUpdateSchema: z.ZodObject<{
|
|
542
482
|
id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
543
483
|
created_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
@@ -673,9 +613,6 @@ export declare const QAFlowEntitySchema: z.ZodObject<{
|
|
|
673
613
|
persona_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCoercedNumber<unknown>>>>;
|
|
674
614
|
pinned: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
675
615
|
}, z.core.$strip>;
|
|
676
|
-
/**
|
|
677
|
-
* QA document create schema
|
|
678
|
-
*/
|
|
679
616
|
export declare const QAFlowCreateSchema: z.ZodObject<{
|
|
680
617
|
application_id: z.ZodCoercedNumber<unknown>;
|
|
681
618
|
file: z.ZodOptional<z.ZodCustom<File, File>>;
|
|
@@ -684,9 +621,6 @@ export declare const QAFlowCreateSchema: z.ZodObject<{
|
|
|
684
621
|
additional_instructions: z.ZodOptional<z.ZodString>;
|
|
685
622
|
persona_ids: z.ZodOptional<z.ZodArray<z.ZodCoercedNumber<unknown>>>;
|
|
686
623
|
}, z.core.$strip>;
|
|
687
|
-
/**
|
|
688
|
-
* QA run entity schema
|
|
689
|
-
*/
|
|
690
624
|
export declare const QARunEntitySchema: z.ZodObject<{
|
|
691
625
|
id: z.ZodOptional<z.ZodNumber>;
|
|
692
626
|
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
@@ -719,6 +653,7 @@ export declare const QARunEntitySchema: z.ZodObject<{
|
|
|
719
653
|
source_metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
720
654
|
auto_heal: z.ZodDefault<z.ZodBoolean>;
|
|
721
655
|
auto_accept: z.ZodDefault<z.ZodBoolean>;
|
|
656
|
+
report_pdf_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
722
657
|
has_question: z.ZodOptional<z.ZodBoolean>;
|
|
723
658
|
}, z.core.$strip>;
|
|
724
659
|
/**
|
|
@@ -922,9 +857,6 @@ export declare const QATestCaseEntitySchema: z.ZodObject<{
|
|
|
922
857
|
}>>;
|
|
923
858
|
}, z.core.$strip>>>;
|
|
924
859
|
}, z.core.$strip>;
|
|
925
|
-
/**
|
|
926
|
-
* QA test case create schema
|
|
927
|
-
*/
|
|
928
860
|
export declare const QATestCaseCreateSchema: z.ZodObject<{
|
|
929
861
|
qa_flow_id: z.ZodNumber;
|
|
930
862
|
test_title: z.ZodString;
|
|
@@ -937,9 +869,6 @@ export declare const QATestCaseCreateSchema: z.ZodObject<{
|
|
|
937
869
|
High: "High";
|
|
938
870
|
}>>;
|
|
939
871
|
}, z.core.$strip>;
|
|
940
|
-
/**
|
|
941
|
-
* QA document processing response schema
|
|
942
|
-
*/
|
|
943
872
|
export declare const QAFlowProcessingResponseSchema: z.ZodObject<{
|
|
944
873
|
ultimateGoal: z.ZodString;
|
|
945
874
|
document: z.ZodObject<{
|
|
@@ -1126,9 +1055,6 @@ export type QAHealingMetadata = z.infer<typeof QAHealingMetadataSchema>;
|
|
|
1126
1055
|
export type FailureAnalysis = z.infer<typeof FailureAnalysisSchema>;
|
|
1127
1056
|
export type QAVersionHistoryEntry = z.infer<typeof QAVersionHistoryEntrySchema>;
|
|
1128
1057
|
export type QAHealingAttemptEntry = z.infer<typeof QAHealingAttemptEntrySchema>;
|
|
1129
|
-
/**
|
|
1130
|
-
* Simulation action schemas
|
|
1131
|
-
*/
|
|
1132
1058
|
export declare const GoToUrlActionSchema: z.ZodObject<{
|
|
1133
1059
|
go_to_url: z.ZodObject<{
|
|
1134
1060
|
url: z.ZodString;
|
|
@@ -1185,12 +1111,20 @@ export declare const NavigateToUrlActionSchema: z.ZodObject<{
|
|
|
1185
1111
|
url: z.ZodString;
|
|
1186
1112
|
}, z.core.$strip>;
|
|
1187
1113
|
}, z.core.$strip>;
|
|
1114
|
+
/**
|
|
1115
|
+
* One tool_call recorded inside a SimulationStep — the underlying browser_op
|
|
1116
|
+
* invocation that contributed to the step's action.
|
|
1117
|
+
*/
|
|
1188
1118
|
export declare const ToolCallRecordSchema: z.ZodObject<{
|
|
1189
1119
|
name: z.ZodString;
|
|
1190
1120
|
params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1191
1121
|
result: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1192
1122
|
}, z.core.$strip>;
|
|
1193
1123
|
export type ToolCallRecord = z.infer<typeof ToolCallRecordSchema>;
|
|
1124
|
+
/**
|
|
1125
|
+
* Flat step shape written by the BrowserRuntime. UI renders `action_text` as
|
|
1126
|
+
* the headline and `tool_calls[]` as the expandable detail.
|
|
1127
|
+
*/
|
|
1194
1128
|
export declare const SimulationStepSchema: z.ZodObject<{
|
|
1195
1129
|
action_text: z.ZodString;
|
|
1196
1130
|
tool_calls: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -1271,9 +1205,6 @@ export declare const SimulationTaskEntrySchema: z.ZodObject<{
|
|
|
1271
1205
|
}, z.core.$strip>>>;
|
|
1272
1206
|
}, z.core.$strip>;
|
|
1273
1207
|
export type SimulationTaskEntry = z.infer<typeof SimulationTaskEntrySchema>;
|
|
1274
|
-
/**
|
|
1275
|
-
* App simulation schema
|
|
1276
|
-
*/
|
|
1277
1208
|
export declare const SimulationEntitySchema: z.ZodObject<{
|
|
1278
1209
|
id: z.ZodOptional<z.ZodNumber>;
|
|
1279
1210
|
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
@@ -1330,6 +1261,7 @@ export declare const SimulationEntitySchema: z.ZodObject<{
|
|
|
1330
1261
|
mindmap_steps_total: z.ZodOptional<z.ZodNumber>;
|
|
1331
1262
|
mindmap_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1332
1263
|
created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1264
|
+
persona_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1333
1265
|
has_question: z.ZodOptional<z.ZodBoolean>;
|
|
1334
1266
|
}, z.core.$strip>;
|
|
1335
1267
|
/**
|
|
@@ -1367,6 +1299,7 @@ export declare const SimulationListEntitySchema: z.ZodObject<{
|
|
|
1367
1299
|
mindmap_steps_total: z.ZodOptional<z.ZodNumber>;
|
|
1368
1300
|
mindmap_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1369
1301
|
created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1302
|
+
persona_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1370
1303
|
}, z.core.$strip>;
|
|
1371
1304
|
export type SimulationListData = z.infer<typeof SimulationListEntitySchema>;
|
|
1372
1305
|
/**
|
|
@@ -1379,9 +1312,11 @@ export declare const SimulationLoggingUserSchema: z.ZodObject<{
|
|
|
1379
1312
|
last_name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1380
1313
|
last_simulation_at: z.ZodOptional<z.ZodString>;
|
|
1381
1314
|
}, z.core.$strip>;
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1315
|
+
export declare const SkillInvocationRequestSchema: z.ZodObject<{
|
|
1316
|
+
skill_id: z.ZodNumber;
|
|
1317
|
+
params: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1318
|
+
}, z.core.$strip>;
|
|
1319
|
+
export type SkillInvocationRequest = z.infer<typeof SkillInvocationRequestSchema>;
|
|
1385
1320
|
export declare const SimulationCreateSchema: z.ZodObject<{
|
|
1386
1321
|
id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1387
1322
|
created_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
@@ -1410,15 +1345,18 @@ export declare const SimulationCreateSchema: z.ZodObject<{
|
|
|
1410
1345
|
mindmap_steps_total: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1411
1346
|
mindmap_error: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1412
1347
|
created_by_user_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
1348
|
+
persona_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
1413
1349
|
application_id: z.ZodNumber;
|
|
1414
1350
|
agent_id: z.ZodNumber;
|
|
1415
1351
|
instructions: z.ZodString;
|
|
1416
1352
|
max_steps: z.ZodOptional<z.ZodNumber>;
|
|
1417
1353
|
timeout: z.ZodOptional<z.ZodNumber>;
|
|
1354
|
+
experience_level: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1355
|
+
skill_invocation: z.ZodOptional<z.ZodObject<{
|
|
1356
|
+
skill_id: z.ZodNumber;
|
|
1357
|
+
params: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1358
|
+
}, z.core.$strip>>;
|
|
1418
1359
|
}, z.core.$strip>;
|
|
1419
|
-
/**
|
|
1420
|
-
* Simulation update schema
|
|
1421
|
-
*/
|
|
1422
1360
|
export declare const SimulationUpdateSchema: z.ZodObject<{
|
|
1423
1361
|
job_id: z.ZodOptional<z.ZodString>;
|
|
1424
1362
|
status: z.ZodOptional<z.ZodString>;
|
|
@@ -1426,12 +1364,79 @@ export declare const SimulationUpdateSchema: z.ZodObject<{
|
|
|
1426
1364
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
1427
1365
|
graph_index_id: z.ZodOptional<z.ZodString>;
|
|
1428
1366
|
}, z.core.$strip>;
|
|
1429
|
-
/**
|
|
1430
|
-
* Simulation answer submission schema
|
|
1431
|
-
*/
|
|
1432
1367
|
export declare const SimulationAnswerSchema: z.ZodObject<{
|
|
1433
1368
|
answer: z.ZodString;
|
|
1434
1369
|
}, z.core.$strip>;
|
|
1370
|
+
export declare const SkillRunKindSchema: z.ZodEnum<{
|
|
1371
|
+
qa: "qa";
|
|
1372
|
+
simulation: "simulation";
|
|
1373
|
+
reaction: "reaction";
|
|
1374
|
+
}>;
|
|
1375
|
+
export type SkillRunKind = z.infer<typeof SkillRunKindSchema>;
|
|
1376
|
+
export declare const SkillEntitySchema: z.ZodObject<{
|
|
1377
|
+
id: z.ZodNumber;
|
|
1378
|
+
workspace_id: z.ZodNullable<z.ZodNumber>;
|
|
1379
|
+
application_id: z.ZodNullable<z.ZodNumber>;
|
|
1380
|
+
name: z.ZodString;
|
|
1381
|
+
version: z.ZodNumber;
|
|
1382
|
+
description: z.ZodString;
|
|
1383
|
+
script: z.ZodNullable<z.ZodString>;
|
|
1384
|
+
deprecated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1385
|
+
created_at: z.ZodCoercedDate<unknown>;
|
|
1386
|
+
}, z.core.$strip>;
|
|
1387
|
+
export type SkillData = z.infer<typeof SkillEntitySchema>;
|
|
1388
|
+
export declare const SkillListRowSchema: z.ZodObject<{
|
|
1389
|
+
id: z.ZodNumber;
|
|
1390
|
+
created_at: z.ZodCoercedDate<unknown>;
|
|
1391
|
+
application_id: z.ZodNullable<z.ZodNumber>;
|
|
1392
|
+
workspace_id: z.ZodNullable<z.ZodNumber>;
|
|
1393
|
+
version: z.ZodNumber;
|
|
1394
|
+
name: z.ZodString;
|
|
1395
|
+
description: z.ZodString;
|
|
1396
|
+
deprecated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1397
|
+
}, z.core.$strip>;
|
|
1398
|
+
export type SkillListRow = z.infer<typeof SkillListRowSchema>;
|
|
1399
|
+
export declare const SkillDetailSchema: z.ZodObject<{
|
|
1400
|
+
skill: z.ZodObject<{
|
|
1401
|
+
id: z.ZodNumber;
|
|
1402
|
+
workspace_id: z.ZodNullable<z.ZodNumber>;
|
|
1403
|
+
application_id: z.ZodNullable<z.ZodNumber>;
|
|
1404
|
+
name: z.ZodString;
|
|
1405
|
+
version: z.ZodNumber;
|
|
1406
|
+
description: z.ZodString;
|
|
1407
|
+
script: z.ZodNullable<z.ZodString>;
|
|
1408
|
+
deprecated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1409
|
+
created_at: z.ZodCoercedDate<unknown>;
|
|
1410
|
+
}, z.core.$strip>;
|
|
1411
|
+
lineage: z.ZodArray<z.ZodObject<{
|
|
1412
|
+
id: z.ZodNumber;
|
|
1413
|
+
workspace_id: z.ZodNullable<z.ZodNumber>;
|
|
1414
|
+
application_id: z.ZodNullable<z.ZodNumber>;
|
|
1415
|
+
name: z.ZodString;
|
|
1416
|
+
version: z.ZodNumber;
|
|
1417
|
+
description: z.ZodString;
|
|
1418
|
+
script: z.ZodNullable<z.ZodString>;
|
|
1419
|
+
deprecated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1420
|
+
created_at: z.ZodCoercedDate<unknown>;
|
|
1421
|
+
}, z.core.$strip>>;
|
|
1422
|
+
}, z.core.$strip>;
|
|
1423
|
+
export type SkillDetail = z.infer<typeof SkillDetailSchema>;
|
|
1424
|
+
export declare const SkillCandidateSchema: z.ZodObject<{
|
|
1425
|
+
name: z.ZodString;
|
|
1426
|
+
description: z.ZodString;
|
|
1427
|
+
script: z.ZodString;
|
|
1428
|
+
}, z.core.$strip>;
|
|
1429
|
+
export type SkillCandidate = z.infer<typeof SkillCandidateSchema>;
|
|
1430
|
+
export declare const SubmitSkillCandidatesPayloadSchema: z.ZodObject<{
|
|
1431
|
+
workspace_id: z.ZodNumber;
|
|
1432
|
+
application_id: z.ZodNumber;
|
|
1433
|
+
candidates: z.ZodArray<z.ZodObject<{
|
|
1434
|
+
name: z.ZodString;
|
|
1435
|
+
description: z.ZodString;
|
|
1436
|
+
script: z.ZodString;
|
|
1437
|
+
}, z.core.$strip>>;
|
|
1438
|
+
}, z.core.$strip>;
|
|
1439
|
+
export type SubmitSkillCandidatesPayload = z.infer<typeof SubmitSkillCandidatesPayloadSchema>;
|
|
1435
1440
|
/**
|
|
1436
1441
|
* Complete RRWeb session entity schema
|
|
1437
1442
|
*/
|
|
@@ -1491,6 +1496,13 @@ export declare const SimulationProgressEntitySchema: z.ZodObject<{
|
|
|
1491
1496
|
simulation_id: z.ZodNumber;
|
|
1492
1497
|
status: z.ZodString;
|
|
1493
1498
|
status_message: z.ZodNullable<z.ZodString>;
|
|
1499
|
+
skill: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1500
|
+
screenshot_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1501
|
+
tool_calls: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1502
|
+
name: z.ZodString;
|
|
1503
|
+
params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1504
|
+
result: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1505
|
+
}, z.core.$strip>>>;
|
|
1494
1506
|
created_at: z.ZodCoercedDate<unknown>;
|
|
1495
1507
|
}, z.core.$strip>;
|
|
1496
1508
|
/**
|
|
@@ -1516,8 +1528,7 @@ export declare const MindMapSectionSchema: z.ZodObject<{
|
|
|
1516
1528
|
/**
|
|
1517
1529
|
* Mindmap node schema - unique page state observed during simulation.
|
|
1518
1530
|
* Matches agent's PageNode model (perception/graph.py).
|
|
1519
|
-
* Uses passthrough() because
|
|
1520
|
-
* model may evolve faster than the schema.
|
|
1531
|
+
* Uses passthrough() because the agent model may evolve faster than the schema.
|
|
1521
1532
|
*/
|
|
1522
1533
|
export declare const MindMapNodeSchema: z.ZodObject<{
|
|
1523
1534
|
id: z.ZodString;
|
|
@@ -1537,9 +1548,6 @@ export declare const MindMapNodeSchema: z.ZodObject<{
|
|
|
1537
1548
|
sequence_ids: z.ZodDefault<z.ZodArray<z.ZodNumber>>;
|
|
1538
1549
|
embedding: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
1539
1550
|
}, z.core.$loose>;
|
|
1540
|
-
/**
|
|
1541
|
-
* Mindmap schema - knowledge graph showing nodes and edges from simulation
|
|
1542
|
-
*/
|
|
1543
1551
|
export declare const MindMapSchema: z.ZodObject<{
|
|
1544
1552
|
nodes: z.ZodArray<z.ZodObject<{
|
|
1545
1553
|
id: z.ZodString;
|
|
@@ -1565,9 +1573,6 @@ export declare const MindMapSchema: z.ZodObject<{
|
|
|
1565
1573
|
action: z.ZodString;
|
|
1566
1574
|
}, z.core.$loose>>;
|
|
1567
1575
|
}, z.core.$strip>;
|
|
1568
|
-
/**
|
|
1569
|
-
* Complete agent entity schema
|
|
1570
|
-
*/
|
|
1571
1576
|
export declare const AgentEntitySchema: z.ZodObject<{
|
|
1572
1577
|
id: z.ZodOptional<z.ZodNumber>;
|
|
1573
1578
|
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
@@ -1596,7 +1601,6 @@ export declare const AgentEntitySchema: z.ZodObject<{
|
|
|
1596
1601
|
}>;
|
|
1597
1602
|
status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1598
1603
|
learning_progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1599
|
-
vector_index_created: z.ZodNullable<z.ZodBoolean>;
|
|
1600
1604
|
graph_index_created: z.ZodNullable<z.ZodBoolean>;
|
|
1601
1605
|
}, z.core.$strip>>>;
|
|
1602
1606
|
learning_started_at: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
@@ -1727,14 +1731,12 @@ export declare const AgentEntitySchema: z.ZodObject<{
|
|
|
1727
1731
|
mindmap_steps_total: z.ZodOptional<z.ZodNumber>;
|
|
1728
1732
|
mindmap_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1729
1733
|
created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1734
|
+
persona_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1730
1735
|
has_question: z.ZodOptional<z.ZodBoolean>;
|
|
1731
1736
|
}, z.core.$strip>>>;
|
|
1732
1737
|
simulation_count: z.ZodOptional<z.ZodNumber>;
|
|
1733
1738
|
knowledge_count: z.ZodOptional<z.ZodNumber>;
|
|
1734
1739
|
}, z.core.$strip>;
|
|
1735
|
-
/**
|
|
1736
|
-
* Agent creation schema
|
|
1737
|
-
*/
|
|
1738
1740
|
export declare const AgentCreateSchema: z.ZodObject<{
|
|
1739
1741
|
id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1740
1742
|
created_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
@@ -1750,7 +1752,6 @@ export declare const AgentCreateSchema: z.ZodObject<{
|
|
|
1750
1752
|
}>>;
|
|
1751
1753
|
status_message: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1752
1754
|
learning_progress: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1753
|
-
vector_index_created: z.ZodNullable<z.ZodBoolean>;
|
|
1754
1755
|
graph_index_created: z.ZodNullable<z.ZodBoolean>;
|
|
1755
1756
|
}, z.core.$strip>>>>;
|
|
1756
1757
|
learning_started_at: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>>;
|
|
@@ -1881,6 +1882,7 @@ export declare const AgentCreateSchema: z.ZodObject<{
|
|
|
1881
1882
|
mindmap_steps_total: z.ZodOptional<z.ZodNumber>;
|
|
1882
1883
|
mindmap_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1883
1884
|
created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1885
|
+
persona_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1884
1886
|
has_question: z.ZodOptional<z.ZodBoolean>;
|
|
1885
1887
|
}, z.core.$strip>>>>;
|
|
1886
1888
|
simulation_count: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -1902,9 +1904,6 @@ export declare const AgentCreateSchema: z.ZodObject<{
|
|
|
1902
1904
|
knowledge_ids: z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodNumber>, z.ZodString]>, z.ZodTransform<number[], string | number[]>>;
|
|
1903
1905
|
simulation_ids: z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodNumber>, z.ZodString]>, z.ZodTransform<number[], string | number[]>>;
|
|
1904
1906
|
}, z.core.$strip>;
|
|
1905
|
-
/**
|
|
1906
|
-
* Agent update schema
|
|
1907
|
-
*/
|
|
1908
1907
|
export declare const AgentUpdateSchema: z.ZodObject<{
|
|
1909
1908
|
id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1910
1909
|
created_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
@@ -1933,7 +1932,6 @@ export declare const AgentUpdateSchema: z.ZodObject<{
|
|
|
1933
1932
|
}>>;
|
|
1934
1933
|
status_message: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1935
1934
|
learning_progress: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1936
|
-
vector_index_created: z.ZodNullable<z.ZodBoolean>;
|
|
1937
1935
|
graph_index_created: z.ZodNullable<z.ZodBoolean>;
|
|
1938
1936
|
}, z.core.$strip>>>>;
|
|
1939
1937
|
learning_started_at: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>>;
|
|
@@ -2064,6 +2062,7 @@ export declare const AgentUpdateSchema: z.ZodObject<{
|
|
|
2064
2062
|
mindmap_steps_total: z.ZodOptional<z.ZodNumber>;
|
|
2065
2063
|
mindmap_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2066
2064
|
created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2065
|
+
persona_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2067
2066
|
has_question: z.ZodOptional<z.ZodBoolean>;
|
|
2068
2067
|
}, z.core.$strip>>>>;
|
|
2069
2068
|
simulation_count: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -2123,9 +2122,6 @@ export declare const BrowserSessionResponseSchema: z.ZodObject<{
|
|
|
2123
2122
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2124
2123
|
success: z.ZodOptional<z.ZodBoolean>;
|
|
2125
2124
|
}, z.core.$strip>;
|
|
2126
|
-
/**
|
|
2127
|
-
* Agent knowledge search configuration schema
|
|
2128
|
-
*/
|
|
2129
2125
|
export declare const AgentSearchConfigSchema: z.ZodObject<{
|
|
2130
2126
|
contentType: z.ZodOptional<z.ZodEnum<{
|
|
2131
2127
|
document: "document";
|
|
@@ -2188,15 +2184,9 @@ export declare const SearchResultSchema: z.ZodObject<{
|
|
|
2188
2184
|
score: z.ZodNumber;
|
|
2189
2185
|
highlights: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
2190
2186
|
}, z.core.$strip>;
|
|
2191
|
-
/**
|
|
2192
|
-
* Agent simulation index request schema
|
|
2193
|
-
*/
|
|
2194
2187
|
export declare const AgentSimulationIndexRequestSchema: z.ZodObject<{
|
|
2195
2188
|
simulation_id: z.ZodCoercedNumber<unknown>;
|
|
2196
2189
|
}, z.core.$strip>;
|
|
2197
|
-
/**
|
|
2198
|
-
* Agent simulation index response schema
|
|
2199
|
-
*/
|
|
2200
2190
|
export declare const AgentSimulationIndexResponseSchema: z.ZodObject<{
|
|
2201
2191
|
agent: z.ZodObject<{
|
|
2202
2192
|
id: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2226,7 +2216,6 @@ export declare const AgentSimulationIndexResponseSchema: z.ZodObject<{
|
|
|
2226
2216
|
}>;
|
|
2227
2217
|
status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2228
2218
|
learning_progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2229
|
-
vector_index_created: z.ZodNullable<z.ZodBoolean>;
|
|
2230
2219
|
graph_index_created: z.ZodNullable<z.ZodBoolean>;
|
|
2231
2220
|
}, z.core.$strip>>>;
|
|
2232
2221
|
learning_started_at: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
@@ -2357,6 +2346,7 @@ export declare const AgentSimulationIndexResponseSchema: z.ZodObject<{
|
|
|
2357
2346
|
mindmap_steps_total: z.ZodOptional<z.ZodNumber>;
|
|
2358
2347
|
mindmap_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2359
2348
|
created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2349
|
+
persona_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2360
2350
|
has_question: z.ZodOptional<z.ZodBoolean>;
|
|
2361
2351
|
}, z.core.$strip>>>;
|
|
2362
2352
|
simulation_count: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2366,9 +2356,6 @@ export declare const AgentSimulationIndexResponseSchema: z.ZodObject<{
|
|
|
2366
2356
|
knowledge_id: z.ZodNumber;
|
|
2367
2357
|
message: z.ZodString;
|
|
2368
2358
|
}, z.core.$strip>;
|
|
2369
|
-
/**
|
|
2370
|
-
* Application entity schema
|
|
2371
|
-
*/
|
|
2372
2359
|
export declare const ApplicationEntitySchema: z.ZodObject<{
|
|
2373
2360
|
id: z.ZodOptional<z.ZodNumber>;
|
|
2374
2361
|
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
@@ -2404,9 +2391,6 @@ export declare const ApplicationReadSchema: z.ZodObject<{
|
|
|
2404
2391
|
username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2405
2392
|
allowed_domains: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>;
|
|
2406
2393
|
}, z.core.$strip>;
|
|
2407
|
-
/**
|
|
2408
|
-
* Application creation schema
|
|
2409
|
-
*/
|
|
2410
2394
|
export declare const ApplicationCreateSchema: z.ZodObject<{
|
|
2411
2395
|
id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2412
2396
|
created_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
@@ -2423,9 +2407,6 @@ export declare const ApplicationCreateSchema: z.ZodObject<{
|
|
|
2423
2407
|
url: z.ZodString;
|
|
2424
2408
|
allowed_domains: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
2425
2409
|
}, z.core.$strip>;
|
|
2426
|
-
/**
|
|
2427
|
-
* Application update schema
|
|
2428
|
-
*/
|
|
2429
2410
|
export declare const ApplicationUpdateSchema: z.ZodObject<{
|
|
2430
2411
|
id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2431
2412
|
created_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
@@ -2440,9 +2421,6 @@ export declare const ApplicationUpdateSchema: z.ZodObject<{
|
|
|
2440
2421
|
username: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
2441
2422
|
allowed_domains: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
|
|
2442
2423
|
}, z.core.$strip>;
|
|
2443
|
-
/**
|
|
2444
|
-
* Zod schema for widget chips
|
|
2445
|
-
*/
|
|
2446
2424
|
export declare const WidgetChipSchema: z.ZodObject<{
|
|
2447
2425
|
chip_mode: z.ZodEnum<{
|
|
2448
2426
|
tell: "tell";
|
|
@@ -2451,9 +2429,6 @@ export declare const WidgetChipSchema: z.ZodObject<{
|
|
|
2451
2429
|
}>;
|
|
2452
2430
|
chip_text: z.ZodString;
|
|
2453
2431
|
}, z.core.$strip>;
|
|
2454
|
-
/**
|
|
2455
|
-
* Zod schema for widget settings
|
|
2456
|
-
*/
|
|
2457
2432
|
export declare const WidgetSettingsDataSchema: z.ZodObject<{
|
|
2458
2433
|
widget_enabled: z.ZodBoolean;
|
|
2459
2434
|
widget_appearance: z.ZodEnum<{
|
|
@@ -2501,9 +2476,6 @@ export declare const WidgetSettingsDataSchema: z.ZodObject<{
|
|
|
2501
2476
|
chip_text: z.ZodString;
|
|
2502
2477
|
}, z.core.$strip>>;
|
|
2503
2478
|
}, z.core.$strip>;
|
|
2504
|
-
/**
|
|
2505
|
-
* Widget entity schema
|
|
2506
|
-
*/
|
|
2507
2479
|
export declare const WidgetEntitySchema: z.ZodObject<{
|
|
2508
2480
|
id: z.ZodOptional<z.ZodNumber>;
|
|
2509
2481
|
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
@@ -2570,9 +2542,6 @@ export declare const WidgetEntitySchema: z.ZodObject<{
|
|
|
2570
2542
|
marketrix_key: z.ZodString;
|
|
2571
2543
|
snippet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2572
2544
|
}, z.core.$strip>;
|
|
2573
|
-
/**
|
|
2574
|
-
* Widget information schema
|
|
2575
|
-
*/
|
|
2576
2545
|
export declare const WidgetInfoSchema: z.ZodObject<{
|
|
2577
2546
|
id: z.ZodOptional<z.ZodNumber>;
|
|
2578
2547
|
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
@@ -2728,7 +2697,6 @@ export declare const WidgetInfoSchema: z.ZodObject<{
|
|
|
2728
2697
|
}>>;
|
|
2729
2698
|
status_message: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
2730
2699
|
learning_progress: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2731
|
-
vector_index_created: z.ZodNullable<z.ZodBoolean>;
|
|
2732
2700
|
graph_index_created: z.ZodNullable<z.ZodBoolean>;
|
|
2733
2701
|
}, z.core.$strip>>>>;
|
|
2734
2702
|
learning_started_at: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>>;
|
|
@@ -2859,6 +2827,7 @@ export declare const WidgetInfoSchema: z.ZodObject<{
|
|
|
2859
2827
|
mindmap_steps_total: z.ZodOptional<z.ZodNumber>;
|
|
2860
2828
|
mindmap_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2861
2829
|
created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2830
|
+
persona_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2862
2831
|
has_question: z.ZodOptional<z.ZodBoolean>;
|
|
2863
2832
|
}, z.core.$strip>>>>;
|
|
2864
2833
|
simulation_count: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -2961,7 +2930,6 @@ export declare const WidgetWithAgentSchema: z.ZodObject<{
|
|
|
2961
2930
|
}>>;
|
|
2962
2931
|
status_message: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
2963
2932
|
learning_progress: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2964
|
-
vector_index_created: z.ZodNullable<z.ZodBoolean>;
|
|
2965
2933
|
graph_index_created: z.ZodNullable<z.ZodBoolean>;
|
|
2966
2934
|
}, z.core.$strip>>>>;
|
|
2967
2935
|
learning_started_at: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>>;
|
|
@@ -3092,6 +3060,7 @@ export declare const WidgetWithAgentSchema: z.ZodObject<{
|
|
|
3092
3060
|
mindmap_steps_total: z.ZodOptional<z.ZodNumber>;
|
|
3093
3061
|
mindmap_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3094
3062
|
created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3063
|
+
persona_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3095
3064
|
has_question: z.ZodOptional<z.ZodBoolean>;
|
|
3096
3065
|
}, z.core.$strip>>>>;
|
|
3097
3066
|
simulation_count: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -3209,7 +3178,6 @@ export declare const ApplicationWithWidgetsSchema: z.ZodObject<{
|
|
|
3209
3178
|
}>;
|
|
3210
3179
|
status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3211
3180
|
learning_progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3212
|
-
vector_index_created: z.ZodNullable<z.ZodBoolean>;
|
|
3213
3181
|
graph_index_created: z.ZodNullable<z.ZodBoolean>;
|
|
3214
3182
|
}, z.core.$strip>>>;
|
|
3215
3183
|
learning_started_at: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
@@ -3340,15 +3308,13 @@ export declare const ApplicationWithWidgetsSchema: z.ZodObject<{
|
|
|
3340
3308
|
mindmap_steps_total: z.ZodOptional<z.ZodNumber>;
|
|
3341
3309
|
mindmap_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3342
3310
|
created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3311
|
+
persona_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3343
3312
|
has_question: z.ZodOptional<z.ZodBoolean>;
|
|
3344
3313
|
}, z.core.$strip>>>;
|
|
3345
3314
|
simulation_count: z.ZodOptional<z.ZodNumber>;
|
|
3346
3315
|
knowledge_count: z.ZodOptional<z.ZodNumber>;
|
|
3347
3316
|
}, z.core.$strip>>>;
|
|
3348
3317
|
}, z.core.$strip>;
|
|
3349
|
-
/**
|
|
3350
|
-
* Widget creation schema
|
|
3351
|
-
*/
|
|
3352
3318
|
export declare const WidgetCreateSchema: z.ZodObject<{
|
|
3353
3319
|
id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
3354
3320
|
created_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
@@ -3415,9 +3381,6 @@ export declare const WidgetCreateSchema: z.ZodObject<{
|
|
|
3415
3381
|
}, z.core.$strip>>;
|
|
3416
3382
|
}, z.core.$strip>>;
|
|
3417
3383
|
}, z.core.$strip>;
|
|
3418
|
-
/**
|
|
3419
|
-
* Widget update schema
|
|
3420
|
-
*/
|
|
3421
3384
|
export declare const WidgetUpdateSchema: z.ZodObject<{
|
|
3422
3385
|
id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
3423
3386
|
created_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
@@ -3497,9 +3460,6 @@ export declare const StateTriggerEntitySchema: z.ZodObject<{
|
|
|
3497
3460
|
message: z.ZodArray<z.ZodString>;
|
|
3498
3461
|
description: z.ZodOptional<z.ZodString>;
|
|
3499
3462
|
}, z.core.$strip>;
|
|
3500
|
-
/**
|
|
3501
|
-
* State Trigger creation schema
|
|
3502
|
-
*/
|
|
3503
3463
|
export declare const StateTriggerCreateSchema: z.ZodObject<{
|
|
3504
3464
|
id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
3505
3465
|
created_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
@@ -3509,9 +3469,6 @@ export declare const StateTriggerCreateSchema: z.ZodObject<{
|
|
|
3509
3469
|
url_pattern: z.ZodString;
|
|
3510
3470
|
message: z.ZodArray<z.ZodString>;
|
|
3511
3471
|
}, z.core.$strip>;
|
|
3512
|
-
/**
|
|
3513
|
-
* State Trigger update schema
|
|
3514
|
-
*/
|
|
3515
3472
|
export declare const StateTriggerUpdateSchema: z.ZodObject<{
|
|
3516
3473
|
id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
3517
3474
|
created_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
@@ -3533,9 +3490,6 @@ export declare const ChatRequestSchema: z.ZodObject<{
|
|
|
3533
3490
|
chat_id: z.ZodOptional<z.ZodString>;
|
|
3534
3491
|
content: z.ZodString;
|
|
3535
3492
|
}, z.core.$strip>;
|
|
3536
|
-
/**
|
|
3537
|
-
* Chat response entity schema
|
|
3538
|
-
*/
|
|
3539
3493
|
export declare const ChatResponseSchema: z.ZodObject<{
|
|
3540
3494
|
text: z.ZodString;
|
|
3541
3495
|
task_id: z.ZodOptional<z.ZodString>;
|
|
@@ -3682,6 +3636,11 @@ export declare const AppEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3682
3636
|
step_label: z.ZodOptional<z.ZodString>;
|
|
3683
3637
|
step_pending: z.ZodOptional<z.ZodBoolean>;
|
|
3684
3638
|
task_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3639
|
+
tool_calls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3640
|
+
name: z.ZodString;
|
|
3641
|
+
params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3642
|
+
result: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3643
|
+
}, z.core.$strip>>>;
|
|
3685
3644
|
}, z.core.$strip>, z.ZodObject<{
|
|
3686
3645
|
type: z.ZodLiteral<"simulation/created">;
|
|
3687
3646
|
simulation_id: z.ZodNumber;
|
|
@@ -3777,6 +3736,14 @@ export declare const AppEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3777
3736
|
document_id: z.ZodNumber;
|
|
3778
3737
|
application_id: z.ZodNumber;
|
|
3779
3738
|
status: z.ZodString;
|
|
3739
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3740
|
+
type: z.ZodLiteral<"qa-run/report-ready">;
|
|
3741
|
+
run_id: z.ZodNumber;
|
|
3742
|
+
url: z.ZodString;
|
|
3743
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3744
|
+
type: z.ZodLiteral<"qa-run/report-failed">;
|
|
3745
|
+
run_id: z.ZodNumber;
|
|
3746
|
+
error: z.ZodString;
|
|
3780
3747
|
}, z.core.$strip>, z.ZodObject<{
|
|
3781
3748
|
type: z.ZodLiteral<"user/updated">;
|
|
3782
3749
|
user_id: z.ZodNumber;
|
|
@@ -3950,9 +3917,6 @@ export declare const ActionLogMetadataSchema: z.ZodObject<{
|
|
|
3950
3917
|
widget_type: z.ZodOptional<z.ZodString>;
|
|
3951
3918
|
created_by: z.ZodOptional<z.ZodNumber>;
|
|
3952
3919
|
}, z.core.$loose>;
|
|
3953
|
-
/**
|
|
3954
|
-
* Action log entity schema
|
|
3955
|
-
*/
|
|
3956
3920
|
export declare const ActionLogEntitySchema: z.ZodObject<{
|
|
3957
3921
|
id: z.ZodOptional<z.ZodNumber>;
|
|
3958
3922
|
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
@@ -4009,9 +3973,6 @@ export declare const ActionLogEntitySchema: z.ZodObject<{
|
|
|
4009
3973
|
created_by: z.ZodOptional<z.ZodNumber>;
|
|
4010
3974
|
}, z.core.$loose>>;
|
|
4011
3975
|
}, z.core.$strip>;
|
|
4012
|
-
/**
|
|
4013
|
-
* Action log creation schema
|
|
4014
|
-
*/
|
|
4015
3976
|
export declare const ActionLogCreateSchema: z.ZodObject<{
|
|
4016
3977
|
id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
4017
3978
|
created_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
@@ -4146,9 +4107,6 @@ export declare const ConnectorEntitySchema: z.ZodObject<{
|
|
|
4146
4107
|
pending_approval: "pending_approval";
|
|
4147
4108
|
}>>;
|
|
4148
4109
|
}, z.core.$strip>;
|
|
4149
|
-
/**
|
|
4150
|
-
* Upsert payload for connector
|
|
4151
|
-
*/
|
|
4152
4110
|
export declare const ConnectorUpsertSchema: z.ZodObject<{
|
|
4153
4111
|
id: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4154
4112
|
application_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -4173,9 +4131,6 @@ export declare const ConnectorUpsertSchema: z.ZodObject<{
|
|
|
4173
4131
|
pending_approval: "pending_approval";
|
|
4174
4132
|
}>>;
|
|
4175
4133
|
}, z.core.$strip>;
|
|
4176
|
-
/**
|
|
4177
|
-
* Search payload for connectors
|
|
4178
|
-
*/
|
|
4179
4134
|
export declare const ConnectorSearchSchema: z.ZodObject<{
|
|
4180
4135
|
application_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4181
4136
|
provider: z.ZodOptional<z.ZodEnum<{
|
|
@@ -4592,22 +4547,13 @@ export declare const GithubCheckRunInputSchema: z.ZodObject<{
|
|
|
4592
4547
|
text: z.ZodOptional<z.ZodString>;
|
|
4593
4548
|
}, z.core.$strip>>;
|
|
4594
4549
|
}, z.core.$strip>;
|
|
4595
|
-
/**
|
|
4596
|
-
* File upload response schema
|
|
4597
|
-
*/
|
|
4598
4550
|
export declare const FileUploadResponseSchema: z.ZodObject<{
|
|
4599
4551
|
url: z.ZodString;
|
|
4600
4552
|
}, z.core.$strip>;
|
|
4601
|
-
/**
|
|
4602
|
-
* Upload user logo data schema
|
|
4603
|
-
*/
|
|
4604
4553
|
export declare const UploadUserLogoDataSchema: z.ZodObject<{
|
|
4605
4554
|
user_id: z.ZodNumber;
|
|
4606
4555
|
file: z.ZodCustom<File, File>;
|
|
4607
4556
|
}, z.core.$strip>;
|
|
4608
|
-
/**
|
|
4609
|
-
* User prompt data schema for chat/playground prompts
|
|
4610
|
-
*/
|
|
4611
4557
|
export declare const UserPromptDataSchema: z.ZodObject<{
|
|
4612
4558
|
user_id: z.ZodNumber;
|
|
4613
4559
|
application_id: z.ZodNumber;
|
|
@@ -4618,18 +4564,12 @@ export declare const UserPromptDataSchema: z.ZodObject<{
|
|
|
4618
4564
|
prompt: z.ZodString;
|
|
4619
4565
|
status: z.ZodString;
|
|
4620
4566
|
}, z.core.$strip>;
|
|
4621
|
-
/**
|
|
4622
|
-
* User quota response schema (for SDK chat endpoints)
|
|
4623
|
-
*/
|
|
4624
4567
|
export declare const UserQuotaSchema: z.ZodObject<{
|
|
4625
4568
|
user_id: z.ZodNumber;
|
|
4626
4569
|
limit: z.ZodNumber;
|
|
4627
4570
|
used: z.ZodNumber;
|
|
4628
4571
|
remaining: z.ZodNumber;
|
|
4629
4572
|
}, z.core.$strip>;
|
|
4630
|
-
/**
|
|
4631
|
-
* Update chat count data schema
|
|
4632
|
-
*/
|
|
4633
4573
|
export declare const UpdateChatCountDataSchema: z.ZodObject<{
|
|
4634
4574
|
user_id: z.ZodNumber;
|
|
4635
4575
|
workspace_id: z.ZodNumber;
|
|
@@ -4640,9 +4580,6 @@ export declare const UpdateChatCountDataSchema: z.ZodObject<{
|
|
|
4640
4580
|
/**
|
|
4641
4581
|
* AI agent status email data schema
|
|
4642
4582
|
*/
|
|
4643
|
-
/**
|
|
4644
|
-
* Mail options data schema
|
|
4645
|
-
*/
|
|
4646
4583
|
export declare const MailOptionsDataSchema: z.ZodObject<{
|
|
4647
4584
|
to: z.ZodString;
|
|
4648
4585
|
subject: z.ZodString;
|
|
@@ -4674,23 +4611,14 @@ export declare const StripeWebhookEventSchema: z.ZodObject<{
|
|
|
4674
4611
|
}, z.core.$strip>>>;
|
|
4675
4612
|
type: z.ZodString;
|
|
4676
4613
|
}, z.core.$strip>;
|
|
4677
|
-
/**
|
|
4678
|
-
* Stripe checkout session creation request schema
|
|
4679
|
-
*/
|
|
4680
4614
|
export declare const StripeCheckoutSchema: z.ZodObject<{
|
|
4681
4615
|
priceId: z.ZodString;
|
|
4682
4616
|
successUrl: z.ZodString;
|
|
4683
4617
|
cancelUrl: z.ZodString;
|
|
4684
4618
|
}, z.core.$strip>;
|
|
4685
|
-
/**
|
|
4686
|
-
* Stripe customer portal session creation request schema
|
|
4687
|
-
*/
|
|
4688
4619
|
export declare const StripePortalSchema: z.ZodObject<{
|
|
4689
4620
|
returnUrl: z.ZodString;
|
|
4690
4621
|
}, z.core.$strip>;
|
|
4691
|
-
/**
|
|
4692
|
-
* Stripe trial subscription creation request schema
|
|
4693
|
-
*/
|
|
4694
4622
|
export declare const StripeTrialSchema: z.ZodObject<{
|
|
4695
4623
|
plan: z.ZodDefault<z.ZodEnum<{
|
|
4696
4624
|
startup: "startup";
|
|
@@ -4701,23 +4629,14 @@ export declare const StripeTrialSchema: z.ZodObject<{
|
|
|
4701
4629
|
year: "year";
|
|
4702
4630
|
}>>;
|
|
4703
4631
|
}, z.core.$strip>;
|
|
4704
|
-
/**
|
|
4705
|
-
* Stripe downgrade confirmation request schema
|
|
4706
|
-
*/
|
|
4707
4632
|
export declare const StripeDowngradeSchema: z.ZodObject<{
|
|
4708
4633
|
subscriptionId: z.ZodString;
|
|
4709
4634
|
priceId: z.ZodString;
|
|
4710
4635
|
}, z.core.$strip>;
|
|
4711
|
-
/**
|
|
4712
|
-
* Stripe downgrade response schema
|
|
4713
|
-
*/
|
|
4714
4636
|
export declare const StripeDowngradeResponseSchema: z.ZodObject<{
|
|
4715
4637
|
success: z.ZodBoolean;
|
|
4716
4638
|
message: z.ZodString;
|
|
4717
4639
|
}, z.core.$strip>;
|
|
4718
|
-
/**
|
|
4719
|
-
* Plan information response schema
|
|
4720
|
-
*/
|
|
4721
4640
|
export declare const PlanInfoSchema: z.ZodObject<{
|
|
4722
4641
|
subscriptionId: z.ZodNullable<z.ZodString>;
|
|
4723
4642
|
customerId: z.ZodNullable<z.ZodString>;
|
|
@@ -4750,22 +4669,13 @@ export declare const PlanInfoSchema: z.ZodObject<{
|
|
|
4750
4669
|
daysRemainingInTrial: z.ZodNullable<z.ZodNumber>;
|
|
4751
4670
|
trial_provisioned: z.ZodBoolean;
|
|
4752
4671
|
}, z.core.$strip>;
|
|
4753
|
-
/**
|
|
4754
|
-
* Checkout session response schema
|
|
4755
|
-
*/
|
|
4756
4672
|
export declare const CheckoutSessionSchema: z.ZodObject<{
|
|
4757
4673
|
sessionId: z.ZodString;
|
|
4758
4674
|
url: z.ZodString;
|
|
4759
4675
|
}, z.core.$strip>;
|
|
4760
|
-
/**
|
|
4761
|
-
* Portal session response schema
|
|
4762
|
-
*/
|
|
4763
4676
|
export declare const PortalSessionSchema: z.ZodObject<{
|
|
4764
4677
|
url: z.ZodString;
|
|
4765
4678
|
}, z.core.$strip>;
|
|
4766
|
-
/**
|
|
4767
|
-
* Trial subscription response schema
|
|
4768
|
-
*/
|
|
4769
4679
|
export declare const TrialSubscriptionSchema: z.ZodObject<{
|
|
4770
4680
|
subscriptionId: z.ZodString;
|
|
4771
4681
|
customerId: z.ZodString;
|
|
@@ -4778,9 +4688,6 @@ export declare const TrialSubscriptionSchema: z.ZodObject<{
|
|
|
4778
4688
|
}>;
|
|
4779
4689
|
daysRemainingInTrial: z.ZodNumber;
|
|
4780
4690
|
}, z.core.$strip>;
|
|
4781
|
-
/**
|
|
4782
|
-
* Usage metric schema for individual resource
|
|
4783
|
-
*/
|
|
4784
4691
|
export declare const UsageMetricSchema: z.ZodObject<{
|
|
4785
4692
|
used: z.ZodNumber;
|
|
4786
4693
|
limit: z.ZodNumber;
|
|
@@ -4803,17 +4710,11 @@ export declare const SubscriptionUsageSchema: z.ZodObject<{
|
|
|
4803
4710
|
limit: z.ZodNumber;
|
|
4804
4711
|
}, z.core.$strip>;
|
|
4805
4712
|
}, z.core.$strip>;
|
|
4806
|
-
/**
|
|
4807
|
-
* Price amount schema for individual pricing
|
|
4808
|
-
*/
|
|
4809
4713
|
export declare const PriceAmountSchema: z.ZodObject<{
|
|
4810
4714
|
amount: z.ZodNumber;
|
|
4811
4715
|
currency: z.ZodDefault<z.ZodString>;
|
|
4812
4716
|
formatted: z.ZodString;
|
|
4813
4717
|
}, z.core.$strip>;
|
|
4814
|
-
/**
|
|
4815
|
-
* Plan pricing schema for a specific plan tier
|
|
4816
|
-
*/
|
|
4817
4718
|
export declare const PlanPricingSchema: z.ZodObject<{
|
|
4818
4719
|
planId: z.ZodEnum<{
|
|
4819
4720
|
free: "free";
|
|
@@ -4836,9 +4737,6 @@ export declare const PlanPricingSchema: z.ZodObject<{
|
|
|
4836
4737
|
annual: z.ZodNullable<z.ZodString>;
|
|
4837
4738
|
}, z.core.$strip>;
|
|
4838
4739
|
}, z.core.$strip>;
|
|
4839
|
-
/**
|
|
4840
|
-
* Stripe pricing response schema
|
|
4841
|
-
*/
|
|
4842
4740
|
export declare const StripePricingSchema: z.ZodObject<{
|
|
4843
4741
|
plans: z.ZodArray<z.ZodObject<{
|
|
4844
4742
|
planId: z.ZodEnum<{
|
|
@@ -4864,9 +4762,6 @@ export declare const StripePricingSchema: z.ZodObject<{
|
|
|
4864
4762
|
}, z.core.$strip>>;
|
|
4865
4763
|
lastUpdated: z.ZodString;
|
|
4866
4764
|
}, z.core.$strip>;
|
|
4867
|
-
/**
|
|
4868
|
-
* Plan catalog entry schema (metadata for display)
|
|
4869
|
-
*/
|
|
4870
4765
|
export declare const PlanCatalogEntrySchema: z.ZodObject<{
|
|
4871
4766
|
id: z.ZodEnum<{
|
|
4872
4767
|
free: "free";
|
|
@@ -4889,9 +4784,6 @@ export declare const PlanCatalogEntrySchema: z.ZodObject<{
|
|
|
4889
4784
|
/** Inferred type for a single plan catalog entry — mirrored to the app SDK so
|
|
4890
4785
|
* consumers don't need to redeclare the shape locally. */
|
|
4891
4786
|
export type PlanCatalogEntry = z.infer<typeof PlanCatalogEntrySchema>;
|
|
4892
|
-
/**
|
|
4893
|
-
* Plan catalog response schema (GET /stripe/plans)
|
|
4894
|
-
*/
|
|
4895
4787
|
export declare const PlanCatalogSchema: z.ZodObject<{
|
|
4896
4788
|
plans: z.ZodArray<z.ZodObject<{
|
|
4897
4789
|
id: z.ZodEnum<{
|
|
@@ -4915,9 +4807,6 @@ export declare const PlanCatalogSchema: z.ZodObject<{
|
|
|
4915
4807
|
}, z.core.$strip>;
|
|
4916
4808
|
/** Inferred type for the plan catalog response. */
|
|
4917
4809
|
export type PlanCatalog = z.infer<typeof PlanCatalogSchema>;
|
|
4918
|
-
/**
|
|
4919
|
-
* Stripe configuration schema for frontend
|
|
4920
|
-
*/
|
|
4921
4810
|
export declare const StripeConfigSchema: z.ZodObject<{
|
|
4922
4811
|
publishableKey: z.ZodString;
|
|
4923
4812
|
priceIds: z.ZodObject<{
|
|
@@ -5085,6 +4974,7 @@ export type QAFlowListItemData = QAFlowData & {
|
|
|
5085
4974
|
display_title: string;
|
|
5086
4975
|
total_failed: number;
|
|
5087
4976
|
pass_rate: number | null;
|
|
4977
|
+
test_case_count: number;
|
|
5088
4978
|
last_run: QAFlowLastRunData | null;
|
|
5089
4979
|
};
|
|
5090
4980
|
export type QARunData = z.infer<typeof QARunEntitySchema>;
|
|
@@ -5329,6 +5219,7 @@ export declare const InsightPersonaEntitySchema: z.ZodObject<{
|
|
|
5329
5219
|
segment_name: z.ZodOptional<z.ZodString>;
|
|
5330
5220
|
is_selected: z.ZodDefault<z.ZodBoolean>;
|
|
5331
5221
|
is_top: z.ZodDefault<z.ZodBoolean>;
|
|
5222
|
+
is_pinned: z.ZodDefault<z.ZodBoolean>;
|
|
5332
5223
|
name: z.ZodString;
|
|
5333
5224
|
initials: z.ZodString;
|
|
5334
5225
|
description: z.ZodString;
|
|
@@ -5388,6 +5279,7 @@ export declare const InsightPersonasResponseSchema: z.ZodObject<{
|
|
|
5388
5279
|
segment_name: z.ZodOptional<z.ZodString>;
|
|
5389
5280
|
is_selected: z.ZodDefault<z.ZodBoolean>;
|
|
5390
5281
|
is_top: z.ZodDefault<z.ZodBoolean>;
|
|
5282
|
+
is_pinned: z.ZodDefault<z.ZodBoolean>;
|
|
5391
5283
|
name: z.ZodString;
|
|
5392
5284
|
initials: z.ZodString;
|
|
5393
5285
|
description: z.ZodString;
|
|
@@ -5463,6 +5355,499 @@ export declare const DomainPersonaSuggestResponseSchema: z.ZodNullable<z.ZodObje
|
|
|
5463
5355
|
is_top: z.ZodDefault<z.ZodBoolean>;
|
|
5464
5356
|
}, z.core.$strip>>;
|
|
5465
5357
|
}, z.core.$strip>>;
|
|
5358
|
+
export declare const InsightFindingSeveritySchema: z.ZodEnum<{
|
|
5359
|
+
critical: "critical";
|
|
5360
|
+
high: "high";
|
|
5361
|
+
medium: "medium";
|
|
5362
|
+
low: "low";
|
|
5363
|
+
}>;
|
|
5364
|
+
export declare const InsightFindingStatusSchema: z.ZodEnum<{
|
|
5365
|
+
dismissed: "dismissed";
|
|
5366
|
+
open: "open";
|
|
5367
|
+
triaged: "triaged";
|
|
5368
|
+
fixed: "fixed";
|
|
5369
|
+
}>;
|
|
5370
|
+
export declare const InsightFindingEntitySchema: z.ZodObject<{
|
|
5371
|
+
id: z.ZodNumber;
|
|
5372
|
+
application_id: z.ZodNumber;
|
|
5373
|
+
persona_id: z.ZodNumber;
|
|
5374
|
+
simulation_id: z.ZodNullable<z.ZodNumber>;
|
|
5375
|
+
title: z.ZodString;
|
|
5376
|
+
severity: z.ZodEnum<{
|
|
5377
|
+
critical: "critical";
|
|
5378
|
+
high: "high";
|
|
5379
|
+
medium: "medium";
|
|
5380
|
+
low: "low";
|
|
5381
|
+
}>;
|
|
5382
|
+
status: z.ZodEnum<{
|
|
5383
|
+
dismissed: "dismissed";
|
|
5384
|
+
open: "open";
|
|
5385
|
+
triaged: "triaged";
|
|
5386
|
+
fixed: "fixed";
|
|
5387
|
+
}>;
|
|
5388
|
+
page_or_flow: z.ZodNullable<z.ZodString>;
|
|
5389
|
+
description: z.ZodNullable<z.ZodString>;
|
|
5390
|
+
fingerprint: z.ZodNullable<z.ZodString>;
|
|
5391
|
+
first_seen_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
5392
|
+
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
5393
|
+
updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
5394
|
+
}, z.core.$strip>;
|
|
5395
|
+
export declare const InsightFindingSeverityBreakdownSchema: z.ZodObject<{
|
|
5396
|
+
critical: z.ZodNumber;
|
|
5397
|
+
high: z.ZodNumber;
|
|
5398
|
+
medium: z.ZodNumber;
|
|
5399
|
+
low: z.ZodNumber;
|
|
5400
|
+
}, z.core.$strip>;
|
|
5401
|
+
export declare const InsightFindingStatusBreakdownSchema: z.ZodObject<{
|
|
5402
|
+
open: z.ZodNumber;
|
|
5403
|
+
triaged: z.ZodNumber;
|
|
5404
|
+
fixed: z.ZodNumber;
|
|
5405
|
+
dismissed: z.ZodNumber;
|
|
5406
|
+
}, z.core.$strip>;
|
|
5407
|
+
export declare const InsightPersonaTopFindingSchema: z.ZodObject<{
|
|
5408
|
+
id: z.ZodNumber;
|
|
5409
|
+
title: z.ZodString;
|
|
5410
|
+
severity: z.ZodEnum<{
|
|
5411
|
+
critical: "critical";
|
|
5412
|
+
high: "high";
|
|
5413
|
+
medium: "medium";
|
|
5414
|
+
low: "low";
|
|
5415
|
+
}>;
|
|
5416
|
+
page_or_flow: z.ZodNullable<z.ZodString>;
|
|
5417
|
+
}, z.core.$strip>;
|
|
5418
|
+
export declare const InsightPersonaTrendPointSchema: z.ZodObject<{
|
|
5419
|
+
sim_id: z.ZodNullable<z.ZodNumber>;
|
|
5420
|
+
issues: z.ZodNumber;
|
|
5421
|
+
at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
5422
|
+
}, z.core.$strip>;
|
|
5423
|
+
export declare const InsightPersonaTopPageSchema: z.ZodObject<{
|
|
5424
|
+
page: z.ZodString;
|
|
5425
|
+
count: z.ZodNumber;
|
|
5426
|
+
}, z.core.$strip>;
|
|
5427
|
+
export declare const InsightPersonaSimulationsBreakdownSchema: z.ZodObject<{
|
|
5428
|
+
completed: z.ZodNumber;
|
|
5429
|
+
failed: z.ZodNumber;
|
|
5430
|
+
running: z.ZodNumber;
|
|
5431
|
+
}, z.core.$strip>;
|
|
5432
|
+
export declare const InsightPersonaStatsSchema: z.ZodObject<{
|
|
5433
|
+
persona_id: z.ZodNumber;
|
|
5434
|
+
simulations_count: z.ZodNumber;
|
|
5435
|
+
issues_count: z.ZodNumber;
|
|
5436
|
+
severity_breakdown: z.ZodObject<{
|
|
5437
|
+
critical: z.ZodNumber;
|
|
5438
|
+
high: z.ZodNumber;
|
|
5439
|
+
medium: z.ZodNumber;
|
|
5440
|
+
low: z.ZodNumber;
|
|
5441
|
+
}, z.core.$strip>;
|
|
5442
|
+
status_breakdown: z.ZodObject<{
|
|
5443
|
+
open: z.ZodNumber;
|
|
5444
|
+
triaged: z.ZodNumber;
|
|
5445
|
+
fixed: z.ZodNumber;
|
|
5446
|
+
dismissed: z.ZodNumber;
|
|
5447
|
+
}, z.core.$strip>;
|
|
5448
|
+
last_run_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
5449
|
+
velocity_7d: z.ZodDefault<z.ZodNumber>;
|
|
5450
|
+
velocity_delta: z.ZodDefault<z.ZodNumber>;
|
|
5451
|
+
trend: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5452
|
+
sim_id: z.ZodNullable<z.ZodNumber>;
|
|
5453
|
+
issues: z.ZodNumber;
|
|
5454
|
+
at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
5455
|
+
}, z.core.$strip>>>;
|
|
5456
|
+
top_finding: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
5457
|
+
id: z.ZodNumber;
|
|
5458
|
+
title: z.ZodString;
|
|
5459
|
+
severity: z.ZodEnum<{
|
|
5460
|
+
critical: "critical";
|
|
5461
|
+
high: "high";
|
|
5462
|
+
medium: "medium";
|
|
5463
|
+
low: "low";
|
|
5464
|
+
}>;
|
|
5465
|
+
page_or_flow: z.ZodNullable<z.ZodString>;
|
|
5466
|
+
}, z.core.$strip>>>;
|
|
5467
|
+
top_pages: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5468
|
+
page: z.ZodString;
|
|
5469
|
+
count: z.ZodNumber;
|
|
5470
|
+
}, z.core.$strip>>>;
|
|
5471
|
+
simulations_breakdown: z.ZodDefault<z.ZodObject<{
|
|
5472
|
+
completed: z.ZodNumber;
|
|
5473
|
+
failed: z.ZodNumber;
|
|
5474
|
+
running: z.ZodNumber;
|
|
5475
|
+
}, z.core.$strip>>;
|
|
5476
|
+
}, z.core.$strip>;
|
|
5477
|
+
export declare const InsightPersonaPinInputSchema: z.ZodObject<{
|
|
5478
|
+
id: z.ZodCoercedNumber<unknown>;
|
|
5479
|
+
is_pinned: z.ZodBoolean;
|
|
5480
|
+
}, z.core.$strip>;
|
|
5481
|
+
export declare const InsightPersonasOverviewSchema: z.ZodObject<{
|
|
5482
|
+
personas_count: z.ZodNumber;
|
|
5483
|
+
simulations_total: z.ZodNumber;
|
|
5484
|
+
issues_total: z.ZodNumber;
|
|
5485
|
+
uncovered_traffic_pct: z.ZodNumber;
|
|
5486
|
+
audience: z.ZodObject<{
|
|
5487
|
+
segments_count: z.ZodNumber;
|
|
5488
|
+
traits_count: z.ZodNumber;
|
|
5489
|
+
gaps_count: z.ZodNumber;
|
|
5490
|
+
}, z.core.$strip>;
|
|
5491
|
+
}, z.core.$strip>;
|
|
5492
|
+
export declare const InsightFindingsListInputSchema: z.ZodObject<{
|
|
5493
|
+
persona_id: z.ZodCoercedNumber<unknown>;
|
|
5494
|
+
}, z.core.$strip>;
|
|
5495
|
+
export declare const InsightPersonaLinkedSimulationSchema: z.ZodObject<{
|
|
5496
|
+
simulation_id: z.ZodNumber;
|
|
5497
|
+
ran_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
5498
|
+
}, z.core.$strip>;
|
|
5499
|
+
export declare const InsightFindingsListResponseSchema: z.ZodObject<{
|
|
5500
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
5501
|
+
id: z.ZodNumber;
|
|
5502
|
+
application_id: z.ZodNumber;
|
|
5503
|
+
persona_id: z.ZodNumber;
|
|
5504
|
+
simulation_id: z.ZodNullable<z.ZodNumber>;
|
|
5505
|
+
title: z.ZodString;
|
|
5506
|
+
severity: z.ZodEnum<{
|
|
5507
|
+
critical: "critical";
|
|
5508
|
+
high: "high";
|
|
5509
|
+
medium: "medium";
|
|
5510
|
+
low: "low";
|
|
5511
|
+
}>;
|
|
5512
|
+
status: z.ZodEnum<{
|
|
5513
|
+
dismissed: "dismissed";
|
|
5514
|
+
open: "open";
|
|
5515
|
+
triaged: "triaged";
|
|
5516
|
+
fixed: "fixed";
|
|
5517
|
+
}>;
|
|
5518
|
+
page_or_flow: z.ZodNullable<z.ZodString>;
|
|
5519
|
+
description: z.ZodNullable<z.ZodString>;
|
|
5520
|
+
fingerprint: z.ZodNullable<z.ZodString>;
|
|
5521
|
+
first_seen_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
5522
|
+
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
5523
|
+
updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
5524
|
+
}, z.core.$strip>>;
|
|
5525
|
+
severity_breakdown: z.ZodObject<{
|
|
5526
|
+
critical: z.ZodNumber;
|
|
5527
|
+
high: z.ZodNumber;
|
|
5528
|
+
medium: z.ZodNumber;
|
|
5529
|
+
low: z.ZodNumber;
|
|
5530
|
+
}, z.core.$strip>;
|
|
5531
|
+
status_breakdown: z.ZodObject<{
|
|
5532
|
+
open: z.ZodNumber;
|
|
5533
|
+
triaged: z.ZodNumber;
|
|
5534
|
+
fixed: z.ZodNumber;
|
|
5535
|
+
dismissed: z.ZodNumber;
|
|
5536
|
+
}, z.core.$strip>;
|
|
5537
|
+
simulations_count: z.ZodNumber;
|
|
5538
|
+
simulations_breakdown: z.ZodDefault<z.ZodObject<{
|
|
5539
|
+
completed: z.ZodNumber;
|
|
5540
|
+
failed: z.ZodNumber;
|
|
5541
|
+
running: z.ZodNumber;
|
|
5542
|
+
}, z.core.$strip>>;
|
|
5543
|
+
linked_simulations: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5544
|
+
simulation_id: z.ZodNumber;
|
|
5545
|
+
ran_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
5546
|
+
}, z.core.$strip>>>;
|
|
5547
|
+
}, z.core.$strip>;
|
|
5548
|
+
export declare const InsightSimulationTopPagesInputSchema: z.ZodObject<{
|
|
5549
|
+
simulation_id: z.ZodCoercedNumber<unknown>;
|
|
5550
|
+
}, z.core.$strip>;
|
|
5551
|
+
export declare const InsightSimulationTopPagesResponseSchema: z.ZodObject<{
|
|
5552
|
+
top_pages: z.ZodArray<z.ZodObject<{
|
|
5553
|
+
page: z.ZodString;
|
|
5554
|
+
count: z.ZodNumber;
|
|
5555
|
+
}, z.core.$strip>>;
|
|
5556
|
+
total_findings: z.ZodNumber;
|
|
5557
|
+
}, z.core.$strip>;
|
|
5558
|
+
export declare const InsightFindingUpdateStatusInputSchema: z.ZodObject<{
|
|
5559
|
+
id: z.ZodCoercedNumber<unknown>;
|
|
5560
|
+
status: z.ZodEnum<{
|
|
5561
|
+
dismissed: "dismissed";
|
|
5562
|
+
open: "open";
|
|
5563
|
+
triaged: "triaged";
|
|
5564
|
+
fixed: "fixed";
|
|
5565
|
+
}>;
|
|
5566
|
+
}, z.core.$strip>;
|
|
5567
|
+
export declare const InsightFindingCreateInputSchema: z.ZodObject<{
|
|
5568
|
+
persona_id: z.ZodNumber;
|
|
5569
|
+
simulation_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5570
|
+
title: z.ZodString;
|
|
5571
|
+
severity: z.ZodEnum<{
|
|
5572
|
+
critical: "critical";
|
|
5573
|
+
high: "high";
|
|
5574
|
+
medium: "medium";
|
|
5575
|
+
low: "low";
|
|
5576
|
+
}>;
|
|
5577
|
+
status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
5578
|
+
dismissed: "dismissed";
|
|
5579
|
+
open: "open";
|
|
5580
|
+
triaged: "triaged";
|
|
5581
|
+
fixed: "fixed";
|
|
5582
|
+
}>>>;
|
|
5583
|
+
page_or_flow: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5584
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5585
|
+
}, z.core.$strip>;
|
|
5586
|
+
export declare const InsightFindingSummarizeInputSchema: z.ZodObject<{
|
|
5587
|
+
persona_id: z.ZodCoercedNumber<unknown>;
|
|
5588
|
+
}, z.core.$strip>;
|
|
5589
|
+
export declare const InsightFindingSummarizeResponseSchema: z.ZodObject<{
|
|
5590
|
+
summary: z.ZodString;
|
|
5591
|
+
}, z.core.$strip>;
|
|
5592
|
+
export declare const InsightPersonaCompareCardSchema: z.ZodObject<{
|
|
5593
|
+
persona: z.ZodObject<{
|
|
5594
|
+
id: z.ZodNumber;
|
|
5595
|
+
application_id: z.ZodNumber;
|
|
5596
|
+
segment_id: z.ZodNullable<z.ZodNumber>;
|
|
5597
|
+
segment_name: z.ZodOptional<z.ZodString>;
|
|
5598
|
+
is_selected: z.ZodDefault<z.ZodBoolean>;
|
|
5599
|
+
is_top: z.ZodDefault<z.ZodBoolean>;
|
|
5600
|
+
is_pinned: z.ZodDefault<z.ZodBoolean>;
|
|
5601
|
+
name: z.ZodString;
|
|
5602
|
+
initials: z.ZodString;
|
|
5603
|
+
description: z.ZodString;
|
|
5604
|
+
traits: z.ZodArray<z.ZodString>;
|
|
5605
|
+
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
5606
|
+
source: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
5607
|
+
manual: "manual";
|
|
5608
|
+
generated: "generated";
|
|
5609
|
+
domain: "domain";
|
|
5610
|
+
}>>>;
|
|
5611
|
+
age_range: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
5612
|
+
goals: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
5613
|
+
behavior: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
5614
|
+
pain_points: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
5615
|
+
triggers: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
5616
|
+
openness: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5617
|
+
conscientiousness: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5618
|
+
extraversion: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5619
|
+
agreeableness: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5620
|
+
neuroticism: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5621
|
+
mbti_type: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
5622
|
+
mbti_rationale: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
5623
|
+
key_features: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
5624
|
+
bhvr_proficiency: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5625
|
+
bhvr_preciseness: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5626
|
+
bhvr_sensitivity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5627
|
+
bhvr_efficiency: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5628
|
+
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
5629
|
+
updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
5630
|
+
}, z.core.$strip>;
|
|
5631
|
+
stats: z.ZodObject<{
|
|
5632
|
+
persona_id: z.ZodNumber;
|
|
5633
|
+
simulations_count: z.ZodNumber;
|
|
5634
|
+
issues_count: z.ZodNumber;
|
|
5635
|
+
severity_breakdown: z.ZodObject<{
|
|
5636
|
+
critical: z.ZodNumber;
|
|
5637
|
+
high: z.ZodNumber;
|
|
5638
|
+
medium: z.ZodNumber;
|
|
5639
|
+
low: z.ZodNumber;
|
|
5640
|
+
}, z.core.$strip>;
|
|
5641
|
+
status_breakdown: z.ZodObject<{
|
|
5642
|
+
open: z.ZodNumber;
|
|
5643
|
+
triaged: z.ZodNumber;
|
|
5644
|
+
fixed: z.ZodNumber;
|
|
5645
|
+
dismissed: z.ZodNumber;
|
|
5646
|
+
}, z.core.$strip>;
|
|
5647
|
+
last_run_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
5648
|
+
velocity_7d: z.ZodDefault<z.ZodNumber>;
|
|
5649
|
+
velocity_delta: z.ZodDefault<z.ZodNumber>;
|
|
5650
|
+
trend: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5651
|
+
sim_id: z.ZodNullable<z.ZodNumber>;
|
|
5652
|
+
issues: z.ZodNumber;
|
|
5653
|
+
at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
5654
|
+
}, z.core.$strip>>>;
|
|
5655
|
+
top_finding: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
5656
|
+
id: z.ZodNumber;
|
|
5657
|
+
title: z.ZodString;
|
|
5658
|
+
severity: z.ZodEnum<{
|
|
5659
|
+
critical: "critical";
|
|
5660
|
+
high: "high";
|
|
5661
|
+
medium: "medium";
|
|
5662
|
+
low: "low";
|
|
5663
|
+
}>;
|
|
5664
|
+
page_or_flow: z.ZodNullable<z.ZodString>;
|
|
5665
|
+
}, z.core.$strip>>>;
|
|
5666
|
+
top_pages: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5667
|
+
page: z.ZodString;
|
|
5668
|
+
count: z.ZodNumber;
|
|
5669
|
+
}, z.core.$strip>>>;
|
|
5670
|
+
simulations_breakdown: z.ZodDefault<z.ZodObject<{
|
|
5671
|
+
completed: z.ZodNumber;
|
|
5672
|
+
failed: z.ZodNumber;
|
|
5673
|
+
running: z.ZodNumber;
|
|
5674
|
+
}, z.core.$strip>>;
|
|
5675
|
+
}, z.core.$strip>;
|
|
5676
|
+
top_pages: z.ZodArray<z.ZodObject<{
|
|
5677
|
+
page: z.ZodString;
|
|
5678
|
+
count: z.ZodNumber;
|
|
5679
|
+
}, z.core.$strip>>;
|
|
5680
|
+
signature_finding: z.ZodNullable<z.ZodObject<{
|
|
5681
|
+
id: z.ZodNumber;
|
|
5682
|
+
application_id: z.ZodNumber;
|
|
5683
|
+
persona_id: z.ZodNumber;
|
|
5684
|
+
simulation_id: z.ZodNullable<z.ZodNumber>;
|
|
5685
|
+
title: z.ZodString;
|
|
5686
|
+
severity: z.ZodEnum<{
|
|
5687
|
+
critical: "critical";
|
|
5688
|
+
high: "high";
|
|
5689
|
+
medium: "medium";
|
|
5690
|
+
low: "low";
|
|
5691
|
+
}>;
|
|
5692
|
+
status: z.ZodEnum<{
|
|
5693
|
+
dismissed: "dismissed";
|
|
5694
|
+
open: "open";
|
|
5695
|
+
triaged: "triaged";
|
|
5696
|
+
fixed: "fixed";
|
|
5697
|
+
}>;
|
|
5698
|
+
page_or_flow: z.ZodNullable<z.ZodString>;
|
|
5699
|
+
description: z.ZodNullable<z.ZodString>;
|
|
5700
|
+
fingerprint: z.ZodNullable<z.ZodString>;
|
|
5701
|
+
first_seen_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
5702
|
+
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
5703
|
+
updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
5704
|
+
}, z.core.$strip>>;
|
|
5705
|
+
}, z.core.$strip>;
|
|
5706
|
+
export declare const InsightPersonaCompareInputSchema: z.ZodObject<{
|
|
5707
|
+
persona_ids: z.ZodArray<z.ZodCoercedNumber<unknown>>;
|
|
5708
|
+
}, z.core.$strip>;
|
|
5709
|
+
export declare const InsightPersonaCompareResponseSchema: z.ZodObject<{
|
|
5710
|
+
cards: z.ZodArray<z.ZodObject<{
|
|
5711
|
+
persona: z.ZodObject<{
|
|
5712
|
+
id: z.ZodNumber;
|
|
5713
|
+
application_id: z.ZodNumber;
|
|
5714
|
+
segment_id: z.ZodNullable<z.ZodNumber>;
|
|
5715
|
+
segment_name: z.ZodOptional<z.ZodString>;
|
|
5716
|
+
is_selected: z.ZodDefault<z.ZodBoolean>;
|
|
5717
|
+
is_top: z.ZodDefault<z.ZodBoolean>;
|
|
5718
|
+
is_pinned: z.ZodDefault<z.ZodBoolean>;
|
|
5719
|
+
name: z.ZodString;
|
|
5720
|
+
initials: z.ZodString;
|
|
5721
|
+
description: z.ZodString;
|
|
5722
|
+
traits: z.ZodArray<z.ZodString>;
|
|
5723
|
+
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
5724
|
+
source: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
5725
|
+
manual: "manual";
|
|
5726
|
+
generated: "generated";
|
|
5727
|
+
domain: "domain";
|
|
5728
|
+
}>>>;
|
|
5729
|
+
age_range: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
5730
|
+
goals: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
5731
|
+
behavior: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
5732
|
+
pain_points: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
5733
|
+
triggers: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
5734
|
+
openness: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5735
|
+
conscientiousness: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5736
|
+
extraversion: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5737
|
+
agreeableness: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5738
|
+
neuroticism: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5739
|
+
mbti_type: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
5740
|
+
mbti_rationale: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
5741
|
+
key_features: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
5742
|
+
bhvr_proficiency: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5743
|
+
bhvr_preciseness: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5744
|
+
bhvr_sensitivity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5745
|
+
bhvr_efficiency: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5746
|
+
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
5747
|
+
updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
5748
|
+
}, z.core.$strip>;
|
|
5749
|
+
stats: z.ZodObject<{
|
|
5750
|
+
persona_id: z.ZodNumber;
|
|
5751
|
+
simulations_count: z.ZodNumber;
|
|
5752
|
+
issues_count: z.ZodNumber;
|
|
5753
|
+
severity_breakdown: z.ZodObject<{
|
|
5754
|
+
critical: z.ZodNumber;
|
|
5755
|
+
high: z.ZodNumber;
|
|
5756
|
+
medium: z.ZodNumber;
|
|
5757
|
+
low: z.ZodNumber;
|
|
5758
|
+
}, z.core.$strip>;
|
|
5759
|
+
status_breakdown: z.ZodObject<{
|
|
5760
|
+
open: z.ZodNumber;
|
|
5761
|
+
triaged: z.ZodNumber;
|
|
5762
|
+
fixed: z.ZodNumber;
|
|
5763
|
+
dismissed: z.ZodNumber;
|
|
5764
|
+
}, z.core.$strip>;
|
|
5765
|
+
last_run_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
5766
|
+
velocity_7d: z.ZodDefault<z.ZodNumber>;
|
|
5767
|
+
velocity_delta: z.ZodDefault<z.ZodNumber>;
|
|
5768
|
+
trend: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5769
|
+
sim_id: z.ZodNullable<z.ZodNumber>;
|
|
5770
|
+
issues: z.ZodNumber;
|
|
5771
|
+
at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
5772
|
+
}, z.core.$strip>>>;
|
|
5773
|
+
top_finding: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
5774
|
+
id: z.ZodNumber;
|
|
5775
|
+
title: z.ZodString;
|
|
5776
|
+
severity: z.ZodEnum<{
|
|
5777
|
+
critical: "critical";
|
|
5778
|
+
high: "high";
|
|
5779
|
+
medium: "medium";
|
|
5780
|
+
low: "low";
|
|
5781
|
+
}>;
|
|
5782
|
+
page_or_flow: z.ZodNullable<z.ZodString>;
|
|
5783
|
+
}, z.core.$strip>>>;
|
|
5784
|
+
top_pages: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5785
|
+
page: z.ZodString;
|
|
5786
|
+
count: z.ZodNumber;
|
|
5787
|
+
}, z.core.$strip>>>;
|
|
5788
|
+
simulations_breakdown: z.ZodDefault<z.ZodObject<{
|
|
5789
|
+
completed: z.ZodNumber;
|
|
5790
|
+
failed: z.ZodNumber;
|
|
5791
|
+
running: z.ZodNumber;
|
|
5792
|
+
}, z.core.$strip>>;
|
|
5793
|
+
}, z.core.$strip>;
|
|
5794
|
+
top_pages: z.ZodArray<z.ZodObject<{
|
|
5795
|
+
page: z.ZodString;
|
|
5796
|
+
count: z.ZodNumber;
|
|
5797
|
+
}, z.core.$strip>>;
|
|
5798
|
+
signature_finding: z.ZodNullable<z.ZodObject<{
|
|
5799
|
+
id: z.ZodNumber;
|
|
5800
|
+
application_id: z.ZodNumber;
|
|
5801
|
+
persona_id: z.ZodNumber;
|
|
5802
|
+
simulation_id: z.ZodNullable<z.ZodNumber>;
|
|
5803
|
+
title: z.ZodString;
|
|
5804
|
+
severity: z.ZodEnum<{
|
|
5805
|
+
critical: "critical";
|
|
5806
|
+
high: "high";
|
|
5807
|
+
medium: "medium";
|
|
5808
|
+
low: "low";
|
|
5809
|
+
}>;
|
|
5810
|
+
status: z.ZodEnum<{
|
|
5811
|
+
dismissed: "dismissed";
|
|
5812
|
+
open: "open";
|
|
5813
|
+
triaged: "triaged";
|
|
5814
|
+
fixed: "fixed";
|
|
5815
|
+
}>;
|
|
5816
|
+
page_or_flow: z.ZodNullable<z.ZodString>;
|
|
5817
|
+
description: z.ZodNullable<z.ZodString>;
|
|
5818
|
+
fingerprint: z.ZodNullable<z.ZodString>;
|
|
5819
|
+
first_seen_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
5820
|
+
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
5821
|
+
updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
5822
|
+
}, z.core.$strip>>;
|
|
5823
|
+
}, z.core.$strip>>;
|
|
5824
|
+
shared_findings: z.ZodArray<z.ZodObject<{
|
|
5825
|
+
title: z.ZodString;
|
|
5826
|
+
page_or_flow: z.ZodNullable<z.ZodString>;
|
|
5827
|
+
persona_ids: z.ZodArray<z.ZodNumber>;
|
|
5828
|
+
}, z.core.$strip>>;
|
|
5829
|
+
synthesis: z.ZodString;
|
|
5830
|
+
}, z.core.$strip>;
|
|
5831
|
+
export declare const InsightPersonaDuplicateGroupSchema: z.ZodObject<{
|
|
5832
|
+
reason: z.ZodString;
|
|
5833
|
+
persona_ids: z.ZodArray<z.ZodNumber>;
|
|
5834
|
+
}, z.core.$strip>;
|
|
5835
|
+
export declare const InsightAudienceGapSchema: z.ZodObject<{
|
|
5836
|
+
label: z.ZodString;
|
|
5837
|
+
description: z.ZodString;
|
|
5838
|
+
}, z.core.$strip>;
|
|
5839
|
+
export declare const InsightAudienceCoverageSchema: z.ZodObject<{
|
|
5840
|
+
segments_count: z.ZodNumber;
|
|
5841
|
+
traits_count: z.ZodNumber;
|
|
5842
|
+
duplicates: z.ZodArray<z.ZodObject<{
|
|
5843
|
+
reason: z.ZodString;
|
|
5844
|
+
persona_ids: z.ZodArray<z.ZodNumber>;
|
|
5845
|
+
}, z.core.$strip>>;
|
|
5846
|
+
gaps: z.ZodArray<z.ZodObject<{
|
|
5847
|
+
label: z.ZodString;
|
|
5848
|
+
description: z.ZodString;
|
|
5849
|
+
}, z.core.$strip>>;
|
|
5850
|
+
}, z.core.$strip>;
|
|
5466
5851
|
export declare const HeatmapTypeSchema: z.ZodEnum<{
|
|
5467
5852
|
clicks: "clicks";
|
|
5468
5853
|
scroll: "scroll";
|