@marketrix.ai/widget 3.3.235 → 3.3.236
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 -1
- package/dist/src/sdk/index.d.ts.map +1 -1
- package/dist/src/sdk/routes.d.ts +443 -34
- package/dist/src/sdk/routes.d.ts.map +1 -1
- package/dist/src/sdk/schema.d.ts +616 -223
- 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";
|
|
@@ -205,9 +176,6 @@ export declare const listOf: <T extends z.ZodTypeAny>(schema: T) => z.ZodObject<
|
|
|
205
176
|
items: z.ZodArray<T>;
|
|
206
177
|
count: z.ZodNumber;
|
|
207
178
|
}, z.core.$strip>;
|
|
208
|
-
/**
|
|
209
|
-
* Health check response schema
|
|
210
|
-
*/
|
|
211
179
|
export declare const HealthResponseSchema: z.ZodObject<{
|
|
212
180
|
status: z.ZodString;
|
|
213
181
|
timestamp: z.ZodString;
|
|
@@ -215,9 +183,6 @@ export declare const HealthResponseSchema: z.ZodObject<{
|
|
|
215
183
|
version: z.ZodString;
|
|
216
184
|
build: z.ZodString;
|
|
217
185
|
}, z.core.$strip>;
|
|
218
|
-
/**
|
|
219
|
-
* API index response schema
|
|
220
|
-
*/
|
|
221
186
|
export declare const IndexResponseSchema: z.ZodObject<{
|
|
222
187
|
name: z.ZodString;
|
|
223
188
|
version: z.ZodString;
|
|
@@ -262,9 +227,6 @@ export declare const UserEntitySchema: z.ZodObject<{
|
|
|
262
227
|
oauth: "oauth";
|
|
263
228
|
}>>>;
|
|
264
229
|
}, z.core.$strip>;
|
|
265
|
-
/**
|
|
266
|
-
* User creation schema
|
|
267
|
-
*/
|
|
268
230
|
export declare const UserCreateSchema: z.ZodObject<{
|
|
269
231
|
id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
270
232
|
created_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
@@ -289,9 +251,6 @@ export declare const UserCreateSchema: z.ZodObject<{
|
|
|
289
251
|
email: z.ZodString;
|
|
290
252
|
password: z.ZodString;
|
|
291
253
|
}, z.core.$strip>;
|
|
292
|
-
/**
|
|
293
|
-
* User update schema
|
|
294
|
-
*/
|
|
295
254
|
export declare const UserUpdateSchema: z.ZodObject<{
|
|
296
255
|
id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
297
256
|
created_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
@@ -316,9 +275,6 @@ export declare const UserUpdateSchema: z.ZodObject<{
|
|
|
316
275
|
oauth: "oauth";
|
|
317
276
|
}>>>>;
|
|
318
277
|
}, z.core.$strip>;
|
|
319
|
-
/**
|
|
320
|
-
* Batch user creation schema
|
|
321
|
-
*/
|
|
322
278
|
export declare const BatchUserCreateSchema: z.ZodObject<{
|
|
323
279
|
users: z.ZodArray<z.ZodObject<{
|
|
324
280
|
id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -345,9 +301,6 @@ export declare const BatchUserCreateSchema: z.ZodObject<{
|
|
|
345
301
|
password: z.ZodString;
|
|
346
302
|
}, z.core.$strip>>;
|
|
347
303
|
}, z.core.$strip>;
|
|
348
|
-
/**
|
|
349
|
-
* Batch user creation result schema
|
|
350
|
-
*/
|
|
351
304
|
export declare const BatchUserCreateResultSchema: z.ZodObject<{
|
|
352
305
|
users: z.ZodArray<z.ZodObject<{
|
|
353
306
|
id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -374,9 +327,6 @@ export declare const BatchUserCreateResultSchema: z.ZodObject<{
|
|
|
374
327
|
}>>>>;
|
|
375
328
|
}, z.core.$strip>>;
|
|
376
329
|
}, z.core.$strip>;
|
|
377
|
-
/**
|
|
378
|
-
* Login schema with authentication token
|
|
379
|
-
*/
|
|
380
330
|
export declare const TokenSchema: z.ZodObject<{
|
|
381
331
|
token: z.ZodString;
|
|
382
332
|
}, z.core.$strip>;
|
|
@@ -408,9 +358,6 @@ export declare const WorkspaceEntitySchema: z.ZodObject<{
|
|
|
408
358
|
slack_webhook_configured: z.ZodOptional<z.ZodBoolean>;
|
|
409
359
|
notify_all_members_on_question: z.ZodOptional<z.ZodBoolean>;
|
|
410
360
|
}, z.core.$strip>;
|
|
411
|
-
/**
|
|
412
|
-
* Workspace creation schema
|
|
413
|
-
*/
|
|
414
361
|
export declare const WorkspaceCreateSchema: z.ZodObject<{
|
|
415
362
|
id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
416
363
|
created_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
@@ -507,9 +454,6 @@ export declare const WorkspacePlanEntitySchema: z.ZodObject<{
|
|
|
507
454
|
paused: "paused";
|
|
508
455
|
}>>>;
|
|
509
456
|
}, z.core.$strip>;
|
|
510
|
-
/**
|
|
511
|
-
* Workspace plan creation schema
|
|
512
|
-
*/
|
|
513
457
|
export declare const WorkspacePlanCreateSchema: z.ZodObject<{
|
|
514
458
|
id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
515
459
|
created_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
@@ -535,9 +479,6 @@ export declare const WorkspacePlanCreateSchema: z.ZodObject<{
|
|
|
535
479
|
enterprise: "enterprise";
|
|
536
480
|
}>;
|
|
537
481
|
}, z.core.$strip>;
|
|
538
|
-
/**
|
|
539
|
-
* Workspace plan update schema
|
|
540
|
-
*/
|
|
541
482
|
export declare const WorkspacePlanUpdateSchema: z.ZodObject<{
|
|
542
483
|
id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
543
484
|
created_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
@@ -673,9 +614,6 @@ export declare const QAFlowEntitySchema: z.ZodObject<{
|
|
|
673
614
|
persona_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodCoercedNumber<unknown>>>>;
|
|
674
615
|
pinned: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
675
616
|
}, z.core.$strip>;
|
|
676
|
-
/**
|
|
677
|
-
* QA document create schema
|
|
678
|
-
*/
|
|
679
617
|
export declare const QAFlowCreateSchema: z.ZodObject<{
|
|
680
618
|
application_id: z.ZodCoercedNumber<unknown>;
|
|
681
619
|
file: z.ZodOptional<z.ZodCustom<File, File>>;
|
|
@@ -684,9 +622,6 @@ export declare const QAFlowCreateSchema: z.ZodObject<{
|
|
|
684
622
|
additional_instructions: z.ZodOptional<z.ZodString>;
|
|
685
623
|
persona_ids: z.ZodOptional<z.ZodArray<z.ZodCoercedNumber<unknown>>>;
|
|
686
624
|
}, z.core.$strip>;
|
|
687
|
-
/**
|
|
688
|
-
* QA run entity schema
|
|
689
|
-
*/
|
|
690
625
|
export declare const QARunEntitySchema: z.ZodObject<{
|
|
691
626
|
id: z.ZodOptional<z.ZodNumber>;
|
|
692
627
|
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
@@ -719,6 +654,7 @@ export declare const QARunEntitySchema: z.ZodObject<{
|
|
|
719
654
|
source_metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
720
655
|
auto_heal: z.ZodDefault<z.ZodBoolean>;
|
|
721
656
|
auto_accept: z.ZodDefault<z.ZodBoolean>;
|
|
657
|
+
report_pdf_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
722
658
|
has_question: z.ZodOptional<z.ZodBoolean>;
|
|
723
659
|
}, z.core.$strip>;
|
|
724
660
|
/**
|
|
@@ -922,9 +858,6 @@ export declare const QATestCaseEntitySchema: z.ZodObject<{
|
|
|
922
858
|
}>>;
|
|
923
859
|
}, z.core.$strip>>>;
|
|
924
860
|
}, z.core.$strip>;
|
|
925
|
-
/**
|
|
926
|
-
* QA test case create schema
|
|
927
|
-
*/
|
|
928
861
|
export declare const QATestCaseCreateSchema: z.ZodObject<{
|
|
929
862
|
qa_flow_id: z.ZodNumber;
|
|
930
863
|
test_title: z.ZodString;
|
|
@@ -937,9 +870,6 @@ export declare const QATestCaseCreateSchema: z.ZodObject<{
|
|
|
937
870
|
High: "High";
|
|
938
871
|
}>>;
|
|
939
872
|
}, z.core.$strip>;
|
|
940
|
-
/**
|
|
941
|
-
* QA document processing response schema
|
|
942
|
-
*/
|
|
943
873
|
export declare const QAFlowProcessingResponseSchema: z.ZodObject<{
|
|
944
874
|
ultimateGoal: z.ZodString;
|
|
945
875
|
document: z.ZodObject<{
|
|
@@ -1126,9 +1056,6 @@ export type QAHealingMetadata = z.infer<typeof QAHealingMetadataSchema>;
|
|
|
1126
1056
|
export type FailureAnalysis = z.infer<typeof FailureAnalysisSchema>;
|
|
1127
1057
|
export type QAVersionHistoryEntry = z.infer<typeof QAVersionHistoryEntrySchema>;
|
|
1128
1058
|
export type QAHealingAttemptEntry = z.infer<typeof QAHealingAttemptEntrySchema>;
|
|
1129
|
-
/**
|
|
1130
|
-
* Simulation action schemas
|
|
1131
|
-
*/
|
|
1132
1059
|
export declare const GoToUrlActionSchema: z.ZodObject<{
|
|
1133
1060
|
go_to_url: z.ZodObject<{
|
|
1134
1061
|
url: z.ZodString;
|
|
@@ -1185,12 +1112,20 @@ export declare const NavigateToUrlActionSchema: z.ZodObject<{
|
|
|
1185
1112
|
url: z.ZodString;
|
|
1186
1113
|
}, z.core.$strip>;
|
|
1187
1114
|
}, z.core.$strip>;
|
|
1115
|
+
/**
|
|
1116
|
+
* One tool_call recorded inside a SimulationStep — the underlying browser_op
|
|
1117
|
+
* invocation that contributed to the step's action.
|
|
1118
|
+
*/
|
|
1188
1119
|
export declare const ToolCallRecordSchema: z.ZodObject<{
|
|
1189
1120
|
name: z.ZodString;
|
|
1190
1121
|
params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1191
1122
|
result: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1192
1123
|
}, z.core.$strip>;
|
|
1193
1124
|
export type ToolCallRecord = z.infer<typeof ToolCallRecordSchema>;
|
|
1125
|
+
/**
|
|
1126
|
+
* Flat step shape written by the BrowserRuntime. UI renders `action_text` as
|
|
1127
|
+
* the headline and `tool_calls[]` as the expandable detail.
|
|
1128
|
+
*/
|
|
1194
1129
|
export declare const SimulationStepSchema: z.ZodObject<{
|
|
1195
1130
|
action_text: z.ZodString;
|
|
1196
1131
|
tool_calls: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -1271,9 +1206,6 @@ export declare const SimulationTaskEntrySchema: z.ZodObject<{
|
|
|
1271
1206
|
}, z.core.$strip>>>;
|
|
1272
1207
|
}, z.core.$strip>;
|
|
1273
1208
|
export type SimulationTaskEntry = z.infer<typeof SimulationTaskEntrySchema>;
|
|
1274
|
-
/**
|
|
1275
|
-
* App simulation schema
|
|
1276
|
-
*/
|
|
1277
1209
|
export declare const SimulationEntitySchema: z.ZodObject<{
|
|
1278
1210
|
id: z.ZodOptional<z.ZodNumber>;
|
|
1279
1211
|
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
@@ -1330,6 +1262,7 @@ export declare const SimulationEntitySchema: z.ZodObject<{
|
|
|
1330
1262
|
mindmap_steps_total: z.ZodOptional<z.ZodNumber>;
|
|
1331
1263
|
mindmap_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1332
1264
|
created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1265
|
+
persona_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1333
1266
|
has_question: z.ZodOptional<z.ZodBoolean>;
|
|
1334
1267
|
}, z.core.$strip>;
|
|
1335
1268
|
/**
|
|
@@ -1367,6 +1300,7 @@ export declare const SimulationListEntitySchema: z.ZodObject<{
|
|
|
1367
1300
|
mindmap_steps_total: z.ZodOptional<z.ZodNumber>;
|
|
1368
1301
|
mindmap_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1369
1302
|
created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1303
|
+
persona_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1370
1304
|
}, z.core.$strip>;
|
|
1371
1305
|
export type SimulationListData = z.infer<typeof SimulationListEntitySchema>;
|
|
1372
1306
|
/**
|
|
@@ -1379,9 +1313,11 @@ export declare const SimulationLoggingUserSchema: z.ZodObject<{
|
|
|
1379
1313
|
last_name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1380
1314
|
last_simulation_at: z.ZodOptional<z.ZodString>;
|
|
1381
1315
|
}, z.core.$strip>;
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1316
|
+
export declare const SkillInvocationRequestSchema: z.ZodObject<{
|
|
1317
|
+
skill_id: z.ZodNumber;
|
|
1318
|
+
params: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1319
|
+
}, z.core.$strip>;
|
|
1320
|
+
export type SkillInvocationRequest = z.infer<typeof SkillInvocationRequestSchema>;
|
|
1385
1321
|
export declare const SimulationCreateSchema: z.ZodObject<{
|
|
1386
1322
|
id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1387
1323
|
created_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
@@ -1410,15 +1346,18 @@ export declare const SimulationCreateSchema: z.ZodObject<{
|
|
|
1410
1346
|
mindmap_steps_total: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1411
1347
|
mindmap_error: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1412
1348
|
created_by_user_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
1349
|
+
persona_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
1413
1350
|
application_id: z.ZodNumber;
|
|
1414
1351
|
agent_id: z.ZodNumber;
|
|
1415
1352
|
instructions: z.ZodString;
|
|
1416
1353
|
max_steps: z.ZodOptional<z.ZodNumber>;
|
|
1417
1354
|
timeout: z.ZodOptional<z.ZodNumber>;
|
|
1355
|
+
experience_level: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1356
|
+
skill_invocation: z.ZodOptional<z.ZodObject<{
|
|
1357
|
+
skill_id: z.ZodNumber;
|
|
1358
|
+
params: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1359
|
+
}, z.core.$strip>>;
|
|
1418
1360
|
}, z.core.$strip>;
|
|
1419
|
-
/**
|
|
1420
|
-
* Simulation update schema
|
|
1421
|
-
*/
|
|
1422
1361
|
export declare const SimulationUpdateSchema: z.ZodObject<{
|
|
1423
1362
|
job_id: z.ZodOptional<z.ZodString>;
|
|
1424
1363
|
status: z.ZodOptional<z.ZodString>;
|
|
@@ -1426,12 +1365,79 @@ export declare const SimulationUpdateSchema: z.ZodObject<{
|
|
|
1426
1365
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
1427
1366
|
graph_index_id: z.ZodOptional<z.ZodString>;
|
|
1428
1367
|
}, z.core.$strip>;
|
|
1429
|
-
/**
|
|
1430
|
-
* Simulation answer submission schema
|
|
1431
|
-
*/
|
|
1432
1368
|
export declare const SimulationAnswerSchema: z.ZodObject<{
|
|
1433
1369
|
answer: z.ZodString;
|
|
1434
1370
|
}, z.core.$strip>;
|
|
1371
|
+
export declare const SkillRunKindSchema: z.ZodEnum<{
|
|
1372
|
+
qa: "qa";
|
|
1373
|
+
simulation: "simulation";
|
|
1374
|
+
reaction: "reaction";
|
|
1375
|
+
}>;
|
|
1376
|
+
export type SkillRunKind = z.infer<typeof SkillRunKindSchema>;
|
|
1377
|
+
export declare const SkillEntitySchema: z.ZodObject<{
|
|
1378
|
+
id: z.ZodNumber;
|
|
1379
|
+
workspace_id: z.ZodNullable<z.ZodNumber>;
|
|
1380
|
+
application_id: z.ZodNullable<z.ZodNumber>;
|
|
1381
|
+
name: z.ZodString;
|
|
1382
|
+
version: z.ZodNumber;
|
|
1383
|
+
description: z.ZodString;
|
|
1384
|
+
script: z.ZodNullable<z.ZodString>;
|
|
1385
|
+
deprecated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1386
|
+
created_at: z.ZodCoercedDate<unknown>;
|
|
1387
|
+
}, z.core.$strip>;
|
|
1388
|
+
export type SkillData = z.infer<typeof SkillEntitySchema>;
|
|
1389
|
+
export declare const SkillListRowSchema: z.ZodObject<{
|
|
1390
|
+
id: z.ZodNumber;
|
|
1391
|
+
created_at: z.ZodCoercedDate<unknown>;
|
|
1392
|
+
application_id: z.ZodNullable<z.ZodNumber>;
|
|
1393
|
+
workspace_id: z.ZodNullable<z.ZodNumber>;
|
|
1394
|
+
version: z.ZodNumber;
|
|
1395
|
+
name: z.ZodString;
|
|
1396
|
+
description: z.ZodString;
|
|
1397
|
+
deprecated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1398
|
+
}, z.core.$strip>;
|
|
1399
|
+
export type SkillListRow = z.infer<typeof SkillListRowSchema>;
|
|
1400
|
+
export declare const SkillDetailSchema: z.ZodObject<{
|
|
1401
|
+
skill: z.ZodObject<{
|
|
1402
|
+
id: z.ZodNumber;
|
|
1403
|
+
workspace_id: z.ZodNullable<z.ZodNumber>;
|
|
1404
|
+
application_id: z.ZodNullable<z.ZodNumber>;
|
|
1405
|
+
name: z.ZodString;
|
|
1406
|
+
version: z.ZodNumber;
|
|
1407
|
+
description: z.ZodString;
|
|
1408
|
+
script: z.ZodNullable<z.ZodString>;
|
|
1409
|
+
deprecated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1410
|
+
created_at: z.ZodCoercedDate<unknown>;
|
|
1411
|
+
}, z.core.$strip>;
|
|
1412
|
+
lineage: z.ZodArray<z.ZodObject<{
|
|
1413
|
+
id: z.ZodNumber;
|
|
1414
|
+
workspace_id: z.ZodNullable<z.ZodNumber>;
|
|
1415
|
+
application_id: z.ZodNullable<z.ZodNumber>;
|
|
1416
|
+
name: z.ZodString;
|
|
1417
|
+
version: z.ZodNumber;
|
|
1418
|
+
description: z.ZodString;
|
|
1419
|
+
script: z.ZodNullable<z.ZodString>;
|
|
1420
|
+
deprecated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
1421
|
+
created_at: z.ZodCoercedDate<unknown>;
|
|
1422
|
+
}, z.core.$strip>>;
|
|
1423
|
+
}, z.core.$strip>;
|
|
1424
|
+
export type SkillDetail = z.infer<typeof SkillDetailSchema>;
|
|
1425
|
+
export declare const SkillCandidateSchema: z.ZodObject<{
|
|
1426
|
+
name: z.ZodString;
|
|
1427
|
+
description: z.ZodString;
|
|
1428
|
+
script: z.ZodString;
|
|
1429
|
+
}, z.core.$strip>;
|
|
1430
|
+
export type SkillCandidate = z.infer<typeof SkillCandidateSchema>;
|
|
1431
|
+
export declare const SubmitSkillCandidatesPayloadSchema: z.ZodObject<{
|
|
1432
|
+
workspace_id: z.ZodNumber;
|
|
1433
|
+
application_id: z.ZodNumber;
|
|
1434
|
+
candidates: z.ZodArray<z.ZodObject<{
|
|
1435
|
+
name: z.ZodString;
|
|
1436
|
+
description: z.ZodString;
|
|
1437
|
+
script: z.ZodString;
|
|
1438
|
+
}, z.core.$strip>>;
|
|
1439
|
+
}, z.core.$strip>;
|
|
1440
|
+
export type SubmitSkillCandidatesPayload = z.infer<typeof SubmitSkillCandidatesPayloadSchema>;
|
|
1435
1441
|
/**
|
|
1436
1442
|
* Complete RRWeb session entity schema
|
|
1437
1443
|
*/
|
|
@@ -1491,6 +1497,13 @@ export declare const SimulationProgressEntitySchema: z.ZodObject<{
|
|
|
1491
1497
|
simulation_id: z.ZodNumber;
|
|
1492
1498
|
status: z.ZodString;
|
|
1493
1499
|
status_message: z.ZodNullable<z.ZodString>;
|
|
1500
|
+
skill: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1501
|
+
screenshot_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1502
|
+
tool_calls: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1503
|
+
name: z.ZodString;
|
|
1504
|
+
params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1505
|
+
result: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1506
|
+
}, z.core.$strip>>>;
|
|
1494
1507
|
created_at: z.ZodCoercedDate<unknown>;
|
|
1495
1508
|
}, z.core.$strip>;
|
|
1496
1509
|
/**
|
|
@@ -1516,8 +1529,7 @@ export declare const MindMapSectionSchema: z.ZodObject<{
|
|
|
1516
1529
|
/**
|
|
1517
1530
|
* Mindmap node schema - unique page state observed during simulation.
|
|
1518
1531
|
* Matches agent's PageNode model (perception/graph.py).
|
|
1519
|
-
* Uses passthrough() because
|
|
1520
|
-
* model may evolve faster than the schema.
|
|
1532
|
+
* Uses passthrough() because the agent model may evolve faster than the schema.
|
|
1521
1533
|
*/
|
|
1522
1534
|
export declare const MindMapNodeSchema: z.ZodObject<{
|
|
1523
1535
|
id: z.ZodString;
|
|
@@ -1537,9 +1549,6 @@ export declare const MindMapNodeSchema: z.ZodObject<{
|
|
|
1537
1549
|
sequence_ids: z.ZodDefault<z.ZodArray<z.ZodNumber>>;
|
|
1538
1550
|
embedding: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
1539
1551
|
}, z.core.$loose>;
|
|
1540
|
-
/**
|
|
1541
|
-
* Mindmap schema - knowledge graph showing nodes and edges from simulation
|
|
1542
|
-
*/
|
|
1543
1552
|
export declare const MindMapSchema: z.ZodObject<{
|
|
1544
1553
|
nodes: z.ZodArray<z.ZodObject<{
|
|
1545
1554
|
id: z.ZodString;
|
|
@@ -1565,9 +1574,6 @@ export declare const MindMapSchema: z.ZodObject<{
|
|
|
1565
1574
|
action: z.ZodString;
|
|
1566
1575
|
}, z.core.$loose>>;
|
|
1567
1576
|
}, z.core.$strip>;
|
|
1568
|
-
/**
|
|
1569
|
-
* Complete agent entity schema
|
|
1570
|
-
*/
|
|
1571
1577
|
export declare const AgentEntitySchema: z.ZodObject<{
|
|
1572
1578
|
id: z.ZodOptional<z.ZodNumber>;
|
|
1573
1579
|
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
@@ -1727,14 +1733,12 @@ export declare const AgentEntitySchema: z.ZodObject<{
|
|
|
1727
1733
|
mindmap_steps_total: z.ZodOptional<z.ZodNumber>;
|
|
1728
1734
|
mindmap_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1729
1735
|
created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1736
|
+
persona_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1730
1737
|
has_question: z.ZodOptional<z.ZodBoolean>;
|
|
1731
1738
|
}, z.core.$strip>>>;
|
|
1732
1739
|
simulation_count: z.ZodOptional<z.ZodNumber>;
|
|
1733
1740
|
knowledge_count: z.ZodOptional<z.ZodNumber>;
|
|
1734
1741
|
}, z.core.$strip>;
|
|
1735
|
-
/**
|
|
1736
|
-
* Agent creation schema
|
|
1737
|
-
*/
|
|
1738
1742
|
export declare const AgentCreateSchema: z.ZodObject<{
|
|
1739
1743
|
id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1740
1744
|
created_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
@@ -1881,6 +1885,7 @@ export declare const AgentCreateSchema: z.ZodObject<{
|
|
|
1881
1885
|
mindmap_steps_total: z.ZodOptional<z.ZodNumber>;
|
|
1882
1886
|
mindmap_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1883
1887
|
created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1888
|
+
persona_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1884
1889
|
has_question: z.ZodOptional<z.ZodBoolean>;
|
|
1885
1890
|
}, z.core.$strip>>>>;
|
|
1886
1891
|
simulation_count: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -1902,9 +1907,6 @@ export declare const AgentCreateSchema: z.ZodObject<{
|
|
|
1902
1907
|
knowledge_ids: z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodNumber>, z.ZodString]>, z.ZodTransform<number[], string | number[]>>;
|
|
1903
1908
|
simulation_ids: z.ZodPipe<z.ZodUnion<readonly [z.ZodArray<z.ZodNumber>, z.ZodString]>, z.ZodTransform<number[], string | number[]>>;
|
|
1904
1909
|
}, z.core.$strip>;
|
|
1905
|
-
/**
|
|
1906
|
-
* Agent update schema
|
|
1907
|
-
*/
|
|
1908
1910
|
export declare const AgentUpdateSchema: z.ZodObject<{
|
|
1909
1911
|
id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1910
1912
|
created_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
@@ -2064,6 +2066,7 @@ export declare const AgentUpdateSchema: z.ZodObject<{
|
|
|
2064
2066
|
mindmap_steps_total: z.ZodOptional<z.ZodNumber>;
|
|
2065
2067
|
mindmap_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2066
2068
|
created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2069
|
+
persona_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2067
2070
|
has_question: z.ZodOptional<z.ZodBoolean>;
|
|
2068
2071
|
}, z.core.$strip>>>>;
|
|
2069
2072
|
simulation_count: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -2123,9 +2126,6 @@ export declare const BrowserSessionResponseSchema: z.ZodObject<{
|
|
|
2123
2126
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2124
2127
|
success: z.ZodOptional<z.ZodBoolean>;
|
|
2125
2128
|
}, z.core.$strip>;
|
|
2126
|
-
/**
|
|
2127
|
-
* Agent knowledge search configuration schema
|
|
2128
|
-
*/
|
|
2129
2129
|
export declare const AgentSearchConfigSchema: z.ZodObject<{
|
|
2130
2130
|
contentType: z.ZodOptional<z.ZodEnum<{
|
|
2131
2131
|
document: "document";
|
|
@@ -2188,15 +2188,9 @@ export declare const SearchResultSchema: z.ZodObject<{
|
|
|
2188
2188
|
score: z.ZodNumber;
|
|
2189
2189
|
highlights: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
2190
2190
|
}, z.core.$strip>;
|
|
2191
|
-
/**
|
|
2192
|
-
* Agent simulation index request schema
|
|
2193
|
-
*/
|
|
2194
2191
|
export declare const AgentSimulationIndexRequestSchema: z.ZodObject<{
|
|
2195
2192
|
simulation_id: z.ZodCoercedNumber<unknown>;
|
|
2196
2193
|
}, z.core.$strip>;
|
|
2197
|
-
/**
|
|
2198
|
-
* Agent simulation index response schema
|
|
2199
|
-
*/
|
|
2200
2194
|
export declare const AgentSimulationIndexResponseSchema: z.ZodObject<{
|
|
2201
2195
|
agent: z.ZodObject<{
|
|
2202
2196
|
id: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2357,6 +2351,7 @@ export declare const AgentSimulationIndexResponseSchema: z.ZodObject<{
|
|
|
2357
2351
|
mindmap_steps_total: z.ZodOptional<z.ZodNumber>;
|
|
2358
2352
|
mindmap_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2359
2353
|
created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2354
|
+
persona_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2360
2355
|
has_question: z.ZodOptional<z.ZodBoolean>;
|
|
2361
2356
|
}, z.core.$strip>>>;
|
|
2362
2357
|
simulation_count: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2366,9 +2361,6 @@ export declare const AgentSimulationIndexResponseSchema: z.ZodObject<{
|
|
|
2366
2361
|
knowledge_id: z.ZodNumber;
|
|
2367
2362
|
message: z.ZodString;
|
|
2368
2363
|
}, z.core.$strip>;
|
|
2369
|
-
/**
|
|
2370
|
-
* Application entity schema
|
|
2371
|
-
*/
|
|
2372
2364
|
export declare const ApplicationEntitySchema: z.ZodObject<{
|
|
2373
2365
|
id: z.ZodOptional<z.ZodNumber>;
|
|
2374
2366
|
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
@@ -2404,9 +2396,6 @@ export declare const ApplicationReadSchema: z.ZodObject<{
|
|
|
2404
2396
|
username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2405
2397
|
allowed_domains: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>;
|
|
2406
2398
|
}, z.core.$strip>;
|
|
2407
|
-
/**
|
|
2408
|
-
* Application creation schema
|
|
2409
|
-
*/
|
|
2410
2399
|
export declare const ApplicationCreateSchema: z.ZodObject<{
|
|
2411
2400
|
id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2412
2401
|
created_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
@@ -2423,9 +2412,6 @@ export declare const ApplicationCreateSchema: z.ZodObject<{
|
|
|
2423
2412
|
url: z.ZodString;
|
|
2424
2413
|
allowed_domains: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
2425
2414
|
}, z.core.$strip>;
|
|
2426
|
-
/**
|
|
2427
|
-
* Application update schema
|
|
2428
|
-
*/
|
|
2429
2415
|
export declare const ApplicationUpdateSchema: z.ZodObject<{
|
|
2430
2416
|
id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2431
2417
|
created_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
@@ -2440,9 +2426,6 @@ export declare const ApplicationUpdateSchema: z.ZodObject<{
|
|
|
2440
2426
|
username: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
2441
2427
|
allowed_domains: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
|
|
2442
2428
|
}, z.core.$strip>;
|
|
2443
|
-
/**
|
|
2444
|
-
* Zod schema for widget chips
|
|
2445
|
-
*/
|
|
2446
2429
|
export declare const WidgetChipSchema: z.ZodObject<{
|
|
2447
2430
|
chip_mode: z.ZodEnum<{
|
|
2448
2431
|
tell: "tell";
|
|
@@ -2451,9 +2434,6 @@ export declare const WidgetChipSchema: z.ZodObject<{
|
|
|
2451
2434
|
}>;
|
|
2452
2435
|
chip_text: z.ZodString;
|
|
2453
2436
|
}, z.core.$strip>;
|
|
2454
|
-
/**
|
|
2455
|
-
* Zod schema for widget settings
|
|
2456
|
-
*/
|
|
2457
2437
|
export declare const WidgetSettingsDataSchema: z.ZodObject<{
|
|
2458
2438
|
widget_enabled: z.ZodBoolean;
|
|
2459
2439
|
widget_appearance: z.ZodEnum<{
|
|
@@ -2501,9 +2481,6 @@ export declare const WidgetSettingsDataSchema: z.ZodObject<{
|
|
|
2501
2481
|
chip_text: z.ZodString;
|
|
2502
2482
|
}, z.core.$strip>>;
|
|
2503
2483
|
}, z.core.$strip>;
|
|
2504
|
-
/**
|
|
2505
|
-
* Widget entity schema
|
|
2506
|
-
*/
|
|
2507
2484
|
export declare const WidgetEntitySchema: z.ZodObject<{
|
|
2508
2485
|
id: z.ZodOptional<z.ZodNumber>;
|
|
2509
2486
|
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
@@ -2570,9 +2547,6 @@ export declare const WidgetEntitySchema: z.ZodObject<{
|
|
|
2570
2547
|
marketrix_key: z.ZodString;
|
|
2571
2548
|
snippet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2572
2549
|
}, z.core.$strip>;
|
|
2573
|
-
/**
|
|
2574
|
-
* Widget information schema
|
|
2575
|
-
*/
|
|
2576
2550
|
export declare const WidgetInfoSchema: z.ZodObject<{
|
|
2577
2551
|
id: z.ZodOptional<z.ZodNumber>;
|
|
2578
2552
|
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
@@ -2859,6 +2833,7 @@ export declare const WidgetInfoSchema: z.ZodObject<{
|
|
|
2859
2833
|
mindmap_steps_total: z.ZodOptional<z.ZodNumber>;
|
|
2860
2834
|
mindmap_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2861
2835
|
created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2836
|
+
persona_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2862
2837
|
has_question: z.ZodOptional<z.ZodBoolean>;
|
|
2863
2838
|
}, z.core.$strip>>>>;
|
|
2864
2839
|
simulation_count: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -3092,6 +3067,7 @@ export declare const WidgetWithAgentSchema: z.ZodObject<{
|
|
|
3092
3067
|
mindmap_steps_total: z.ZodOptional<z.ZodNumber>;
|
|
3093
3068
|
mindmap_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3094
3069
|
created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3070
|
+
persona_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3095
3071
|
has_question: z.ZodOptional<z.ZodBoolean>;
|
|
3096
3072
|
}, z.core.$strip>>>>;
|
|
3097
3073
|
simulation_count: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -3340,15 +3316,13 @@ export declare const ApplicationWithWidgetsSchema: z.ZodObject<{
|
|
|
3340
3316
|
mindmap_steps_total: z.ZodOptional<z.ZodNumber>;
|
|
3341
3317
|
mindmap_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3342
3318
|
created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3319
|
+
persona_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3343
3320
|
has_question: z.ZodOptional<z.ZodBoolean>;
|
|
3344
3321
|
}, z.core.$strip>>>;
|
|
3345
3322
|
simulation_count: z.ZodOptional<z.ZodNumber>;
|
|
3346
3323
|
knowledge_count: z.ZodOptional<z.ZodNumber>;
|
|
3347
3324
|
}, z.core.$strip>>>;
|
|
3348
3325
|
}, z.core.$strip>;
|
|
3349
|
-
/**
|
|
3350
|
-
* Widget creation schema
|
|
3351
|
-
*/
|
|
3352
3326
|
export declare const WidgetCreateSchema: z.ZodObject<{
|
|
3353
3327
|
id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
3354
3328
|
created_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
@@ -3415,9 +3389,6 @@ export declare const WidgetCreateSchema: z.ZodObject<{
|
|
|
3415
3389
|
}, z.core.$strip>>;
|
|
3416
3390
|
}, z.core.$strip>>;
|
|
3417
3391
|
}, z.core.$strip>;
|
|
3418
|
-
/**
|
|
3419
|
-
* Widget update schema
|
|
3420
|
-
*/
|
|
3421
3392
|
export declare const WidgetUpdateSchema: z.ZodObject<{
|
|
3422
3393
|
id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
3423
3394
|
created_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
@@ -3497,9 +3468,6 @@ export declare const StateTriggerEntitySchema: z.ZodObject<{
|
|
|
3497
3468
|
message: z.ZodArray<z.ZodString>;
|
|
3498
3469
|
description: z.ZodOptional<z.ZodString>;
|
|
3499
3470
|
}, z.core.$strip>;
|
|
3500
|
-
/**
|
|
3501
|
-
* State Trigger creation schema
|
|
3502
|
-
*/
|
|
3503
3471
|
export declare const StateTriggerCreateSchema: z.ZodObject<{
|
|
3504
3472
|
id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
3505
3473
|
created_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
@@ -3509,9 +3477,6 @@ export declare const StateTriggerCreateSchema: z.ZodObject<{
|
|
|
3509
3477
|
url_pattern: z.ZodString;
|
|
3510
3478
|
message: z.ZodArray<z.ZodString>;
|
|
3511
3479
|
}, z.core.$strip>;
|
|
3512
|
-
/**
|
|
3513
|
-
* State Trigger update schema
|
|
3514
|
-
*/
|
|
3515
3480
|
export declare const StateTriggerUpdateSchema: z.ZodObject<{
|
|
3516
3481
|
id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
3517
3482
|
created_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
@@ -3533,9 +3498,6 @@ export declare const ChatRequestSchema: z.ZodObject<{
|
|
|
3533
3498
|
chat_id: z.ZodOptional<z.ZodString>;
|
|
3534
3499
|
content: z.ZodString;
|
|
3535
3500
|
}, z.core.$strip>;
|
|
3536
|
-
/**
|
|
3537
|
-
* Chat response entity schema
|
|
3538
|
-
*/
|
|
3539
3501
|
export declare const ChatResponseSchema: z.ZodObject<{
|
|
3540
3502
|
text: z.ZodString;
|
|
3541
3503
|
task_id: z.ZodOptional<z.ZodString>;
|
|
@@ -3682,6 +3644,11 @@ export declare const AppEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3682
3644
|
step_label: z.ZodOptional<z.ZodString>;
|
|
3683
3645
|
step_pending: z.ZodOptional<z.ZodBoolean>;
|
|
3684
3646
|
task_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3647
|
+
tool_calls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3648
|
+
name: z.ZodString;
|
|
3649
|
+
params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3650
|
+
result: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3651
|
+
}, z.core.$strip>>>;
|
|
3685
3652
|
}, z.core.$strip>, z.ZodObject<{
|
|
3686
3653
|
type: z.ZodLiteral<"simulation/created">;
|
|
3687
3654
|
simulation_id: z.ZodNumber;
|
|
@@ -3777,6 +3744,14 @@ export declare const AppEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3777
3744
|
document_id: z.ZodNumber;
|
|
3778
3745
|
application_id: z.ZodNumber;
|
|
3779
3746
|
status: z.ZodString;
|
|
3747
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3748
|
+
type: z.ZodLiteral<"qa-run/report-ready">;
|
|
3749
|
+
run_id: z.ZodNumber;
|
|
3750
|
+
url: z.ZodString;
|
|
3751
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3752
|
+
type: z.ZodLiteral<"qa-run/report-failed">;
|
|
3753
|
+
run_id: z.ZodNumber;
|
|
3754
|
+
error: z.ZodString;
|
|
3780
3755
|
}, z.core.$strip>, z.ZodObject<{
|
|
3781
3756
|
type: z.ZodLiteral<"user/updated">;
|
|
3782
3757
|
user_id: z.ZodNumber;
|
|
@@ -3950,9 +3925,6 @@ export declare const ActionLogMetadataSchema: z.ZodObject<{
|
|
|
3950
3925
|
widget_type: z.ZodOptional<z.ZodString>;
|
|
3951
3926
|
created_by: z.ZodOptional<z.ZodNumber>;
|
|
3952
3927
|
}, z.core.$loose>;
|
|
3953
|
-
/**
|
|
3954
|
-
* Action log entity schema
|
|
3955
|
-
*/
|
|
3956
3928
|
export declare const ActionLogEntitySchema: z.ZodObject<{
|
|
3957
3929
|
id: z.ZodOptional<z.ZodNumber>;
|
|
3958
3930
|
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
@@ -4009,9 +3981,6 @@ export declare const ActionLogEntitySchema: z.ZodObject<{
|
|
|
4009
3981
|
created_by: z.ZodOptional<z.ZodNumber>;
|
|
4010
3982
|
}, z.core.$loose>>;
|
|
4011
3983
|
}, z.core.$strip>;
|
|
4012
|
-
/**
|
|
4013
|
-
* Action log creation schema
|
|
4014
|
-
*/
|
|
4015
3984
|
export declare const ActionLogCreateSchema: z.ZodObject<{
|
|
4016
3985
|
id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
4017
3986
|
created_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
@@ -4146,9 +4115,6 @@ export declare const ConnectorEntitySchema: z.ZodObject<{
|
|
|
4146
4115
|
pending_approval: "pending_approval";
|
|
4147
4116
|
}>>;
|
|
4148
4117
|
}, z.core.$strip>;
|
|
4149
|
-
/**
|
|
4150
|
-
* Upsert payload for connector
|
|
4151
|
-
*/
|
|
4152
4118
|
export declare const ConnectorUpsertSchema: z.ZodObject<{
|
|
4153
4119
|
id: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4154
4120
|
application_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -4173,9 +4139,6 @@ export declare const ConnectorUpsertSchema: z.ZodObject<{
|
|
|
4173
4139
|
pending_approval: "pending_approval";
|
|
4174
4140
|
}>>;
|
|
4175
4141
|
}, z.core.$strip>;
|
|
4176
|
-
/**
|
|
4177
|
-
* Search payload for connectors
|
|
4178
|
-
*/
|
|
4179
4142
|
export declare const ConnectorSearchSchema: z.ZodObject<{
|
|
4180
4143
|
application_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4181
4144
|
provider: z.ZodOptional<z.ZodEnum<{
|
|
@@ -4592,22 +4555,13 @@ export declare const GithubCheckRunInputSchema: z.ZodObject<{
|
|
|
4592
4555
|
text: z.ZodOptional<z.ZodString>;
|
|
4593
4556
|
}, z.core.$strip>>;
|
|
4594
4557
|
}, z.core.$strip>;
|
|
4595
|
-
/**
|
|
4596
|
-
* File upload response schema
|
|
4597
|
-
*/
|
|
4598
4558
|
export declare const FileUploadResponseSchema: z.ZodObject<{
|
|
4599
4559
|
url: z.ZodString;
|
|
4600
4560
|
}, z.core.$strip>;
|
|
4601
|
-
/**
|
|
4602
|
-
* Upload user logo data schema
|
|
4603
|
-
*/
|
|
4604
4561
|
export declare const UploadUserLogoDataSchema: z.ZodObject<{
|
|
4605
4562
|
user_id: z.ZodNumber;
|
|
4606
4563
|
file: z.ZodCustom<File, File>;
|
|
4607
4564
|
}, z.core.$strip>;
|
|
4608
|
-
/**
|
|
4609
|
-
* User prompt data schema for chat/playground prompts
|
|
4610
|
-
*/
|
|
4611
4565
|
export declare const UserPromptDataSchema: z.ZodObject<{
|
|
4612
4566
|
user_id: z.ZodNumber;
|
|
4613
4567
|
application_id: z.ZodNumber;
|
|
@@ -4618,18 +4572,12 @@ export declare const UserPromptDataSchema: z.ZodObject<{
|
|
|
4618
4572
|
prompt: z.ZodString;
|
|
4619
4573
|
status: z.ZodString;
|
|
4620
4574
|
}, z.core.$strip>;
|
|
4621
|
-
/**
|
|
4622
|
-
* User quota response schema (for SDK chat endpoints)
|
|
4623
|
-
*/
|
|
4624
4575
|
export declare const UserQuotaSchema: z.ZodObject<{
|
|
4625
4576
|
user_id: z.ZodNumber;
|
|
4626
4577
|
limit: z.ZodNumber;
|
|
4627
4578
|
used: z.ZodNumber;
|
|
4628
4579
|
remaining: z.ZodNumber;
|
|
4629
4580
|
}, z.core.$strip>;
|
|
4630
|
-
/**
|
|
4631
|
-
* Update chat count data schema
|
|
4632
|
-
*/
|
|
4633
4581
|
export declare const UpdateChatCountDataSchema: z.ZodObject<{
|
|
4634
4582
|
user_id: z.ZodNumber;
|
|
4635
4583
|
workspace_id: z.ZodNumber;
|
|
@@ -4640,9 +4588,6 @@ export declare const UpdateChatCountDataSchema: z.ZodObject<{
|
|
|
4640
4588
|
/**
|
|
4641
4589
|
* AI agent status email data schema
|
|
4642
4590
|
*/
|
|
4643
|
-
/**
|
|
4644
|
-
* Mail options data schema
|
|
4645
|
-
*/
|
|
4646
4591
|
export declare const MailOptionsDataSchema: z.ZodObject<{
|
|
4647
4592
|
to: z.ZodString;
|
|
4648
4593
|
subject: z.ZodString;
|
|
@@ -4674,23 +4619,14 @@ export declare const StripeWebhookEventSchema: z.ZodObject<{
|
|
|
4674
4619
|
}, z.core.$strip>>>;
|
|
4675
4620
|
type: z.ZodString;
|
|
4676
4621
|
}, z.core.$strip>;
|
|
4677
|
-
/**
|
|
4678
|
-
* Stripe checkout session creation request schema
|
|
4679
|
-
*/
|
|
4680
4622
|
export declare const StripeCheckoutSchema: z.ZodObject<{
|
|
4681
4623
|
priceId: z.ZodString;
|
|
4682
4624
|
successUrl: z.ZodString;
|
|
4683
4625
|
cancelUrl: z.ZodString;
|
|
4684
4626
|
}, z.core.$strip>;
|
|
4685
|
-
/**
|
|
4686
|
-
* Stripe customer portal session creation request schema
|
|
4687
|
-
*/
|
|
4688
4627
|
export declare const StripePortalSchema: z.ZodObject<{
|
|
4689
4628
|
returnUrl: z.ZodString;
|
|
4690
4629
|
}, z.core.$strip>;
|
|
4691
|
-
/**
|
|
4692
|
-
* Stripe trial subscription creation request schema
|
|
4693
|
-
*/
|
|
4694
4630
|
export declare const StripeTrialSchema: z.ZodObject<{
|
|
4695
4631
|
plan: z.ZodDefault<z.ZodEnum<{
|
|
4696
4632
|
startup: "startup";
|
|
@@ -4701,23 +4637,14 @@ export declare const StripeTrialSchema: z.ZodObject<{
|
|
|
4701
4637
|
year: "year";
|
|
4702
4638
|
}>>;
|
|
4703
4639
|
}, z.core.$strip>;
|
|
4704
|
-
/**
|
|
4705
|
-
* Stripe downgrade confirmation request schema
|
|
4706
|
-
*/
|
|
4707
4640
|
export declare const StripeDowngradeSchema: z.ZodObject<{
|
|
4708
4641
|
subscriptionId: z.ZodString;
|
|
4709
4642
|
priceId: z.ZodString;
|
|
4710
4643
|
}, z.core.$strip>;
|
|
4711
|
-
/**
|
|
4712
|
-
* Stripe downgrade response schema
|
|
4713
|
-
*/
|
|
4714
4644
|
export declare const StripeDowngradeResponseSchema: z.ZodObject<{
|
|
4715
4645
|
success: z.ZodBoolean;
|
|
4716
4646
|
message: z.ZodString;
|
|
4717
4647
|
}, z.core.$strip>;
|
|
4718
|
-
/**
|
|
4719
|
-
* Plan information response schema
|
|
4720
|
-
*/
|
|
4721
4648
|
export declare const PlanInfoSchema: z.ZodObject<{
|
|
4722
4649
|
subscriptionId: z.ZodNullable<z.ZodString>;
|
|
4723
4650
|
customerId: z.ZodNullable<z.ZodString>;
|
|
@@ -4750,22 +4677,13 @@ export declare const PlanInfoSchema: z.ZodObject<{
|
|
|
4750
4677
|
daysRemainingInTrial: z.ZodNullable<z.ZodNumber>;
|
|
4751
4678
|
trial_provisioned: z.ZodBoolean;
|
|
4752
4679
|
}, z.core.$strip>;
|
|
4753
|
-
/**
|
|
4754
|
-
* Checkout session response schema
|
|
4755
|
-
*/
|
|
4756
4680
|
export declare const CheckoutSessionSchema: z.ZodObject<{
|
|
4757
4681
|
sessionId: z.ZodString;
|
|
4758
4682
|
url: z.ZodString;
|
|
4759
4683
|
}, z.core.$strip>;
|
|
4760
|
-
/**
|
|
4761
|
-
* Portal session response schema
|
|
4762
|
-
*/
|
|
4763
4684
|
export declare const PortalSessionSchema: z.ZodObject<{
|
|
4764
4685
|
url: z.ZodString;
|
|
4765
4686
|
}, z.core.$strip>;
|
|
4766
|
-
/**
|
|
4767
|
-
* Trial subscription response schema
|
|
4768
|
-
*/
|
|
4769
4687
|
export declare const TrialSubscriptionSchema: z.ZodObject<{
|
|
4770
4688
|
subscriptionId: z.ZodString;
|
|
4771
4689
|
customerId: z.ZodString;
|
|
@@ -4778,9 +4696,6 @@ export declare const TrialSubscriptionSchema: z.ZodObject<{
|
|
|
4778
4696
|
}>;
|
|
4779
4697
|
daysRemainingInTrial: z.ZodNumber;
|
|
4780
4698
|
}, z.core.$strip>;
|
|
4781
|
-
/**
|
|
4782
|
-
* Usage metric schema for individual resource
|
|
4783
|
-
*/
|
|
4784
4699
|
export declare const UsageMetricSchema: z.ZodObject<{
|
|
4785
4700
|
used: z.ZodNumber;
|
|
4786
4701
|
limit: z.ZodNumber;
|
|
@@ -4803,17 +4718,11 @@ export declare const SubscriptionUsageSchema: z.ZodObject<{
|
|
|
4803
4718
|
limit: z.ZodNumber;
|
|
4804
4719
|
}, z.core.$strip>;
|
|
4805
4720
|
}, z.core.$strip>;
|
|
4806
|
-
/**
|
|
4807
|
-
* Price amount schema for individual pricing
|
|
4808
|
-
*/
|
|
4809
4721
|
export declare const PriceAmountSchema: z.ZodObject<{
|
|
4810
4722
|
amount: z.ZodNumber;
|
|
4811
4723
|
currency: z.ZodDefault<z.ZodString>;
|
|
4812
4724
|
formatted: z.ZodString;
|
|
4813
4725
|
}, z.core.$strip>;
|
|
4814
|
-
/**
|
|
4815
|
-
* Plan pricing schema for a specific plan tier
|
|
4816
|
-
*/
|
|
4817
4726
|
export declare const PlanPricingSchema: z.ZodObject<{
|
|
4818
4727
|
planId: z.ZodEnum<{
|
|
4819
4728
|
free: "free";
|
|
@@ -4836,9 +4745,6 @@ export declare const PlanPricingSchema: z.ZodObject<{
|
|
|
4836
4745
|
annual: z.ZodNullable<z.ZodString>;
|
|
4837
4746
|
}, z.core.$strip>;
|
|
4838
4747
|
}, z.core.$strip>;
|
|
4839
|
-
/**
|
|
4840
|
-
* Stripe pricing response schema
|
|
4841
|
-
*/
|
|
4842
4748
|
export declare const StripePricingSchema: z.ZodObject<{
|
|
4843
4749
|
plans: z.ZodArray<z.ZodObject<{
|
|
4844
4750
|
planId: z.ZodEnum<{
|
|
@@ -4864,9 +4770,6 @@ export declare const StripePricingSchema: z.ZodObject<{
|
|
|
4864
4770
|
}, z.core.$strip>>;
|
|
4865
4771
|
lastUpdated: z.ZodString;
|
|
4866
4772
|
}, z.core.$strip>;
|
|
4867
|
-
/**
|
|
4868
|
-
* Plan catalog entry schema (metadata for display)
|
|
4869
|
-
*/
|
|
4870
4773
|
export declare const PlanCatalogEntrySchema: z.ZodObject<{
|
|
4871
4774
|
id: z.ZodEnum<{
|
|
4872
4775
|
free: "free";
|
|
@@ -4889,9 +4792,6 @@ export declare const PlanCatalogEntrySchema: z.ZodObject<{
|
|
|
4889
4792
|
/** Inferred type for a single plan catalog entry — mirrored to the app SDK so
|
|
4890
4793
|
* consumers don't need to redeclare the shape locally. */
|
|
4891
4794
|
export type PlanCatalogEntry = z.infer<typeof PlanCatalogEntrySchema>;
|
|
4892
|
-
/**
|
|
4893
|
-
* Plan catalog response schema (GET /stripe/plans)
|
|
4894
|
-
*/
|
|
4895
4795
|
export declare const PlanCatalogSchema: z.ZodObject<{
|
|
4896
4796
|
plans: z.ZodArray<z.ZodObject<{
|
|
4897
4797
|
id: z.ZodEnum<{
|
|
@@ -4915,9 +4815,6 @@ export declare const PlanCatalogSchema: z.ZodObject<{
|
|
|
4915
4815
|
}, z.core.$strip>;
|
|
4916
4816
|
/** Inferred type for the plan catalog response. */
|
|
4917
4817
|
export type PlanCatalog = z.infer<typeof PlanCatalogSchema>;
|
|
4918
|
-
/**
|
|
4919
|
-
* Stripe configuration schema for frontend
|
|
4920
|
-
*/
|
|
4921
4818
|
export declare const StripeConfigSchema: z.ZodObject<{
|
|
4922
4819
|
publishableKey: z.ZodString;
|
|
4923
4820
|
priceIds: z.ZodObject<{
|
|
@@ -5085,6 +4982,7 @@ export type QAFlowListItemData = QAFlowData & {
|
|
|
5085
4982
|
display_title: string;
|
|
5086
4983
|
total_failed: number;
|
|
5087
4984
|
pass_rate: number | null;
|
|
4985
|
+
test_case_count: number;
|
|
5088
4986
|
last_run: QAFlowLastRunData | null;
|
|
5089
4987
|
};
|
|
5090
4988
|
export type QARunData = z.infer<typeof QARunEntitySchema>;
|
|
@@ -5329,6 +5227,7 @@ export declare const InsightPersonaEntitySchema: z.ZodObject<{
|
|
|
5329
5227
|
segment_name: z.ZodOptional<z.ZodString>;
|
|
5330
5228
|
is_selected: z.ZodDefault<z.ZodBoolean>;
|
|
5331
5229
|
is_top: z.ZodDefault<z.ZodBoolean>;
|
|
5230
|
+
is_pinned: z.ZodDefault<z.ZodBoolean>;
|
|
5332
5231
|
name: z.ZodString;
|
|
5333
5232
|
initials: z.ZodString;
|
|
5334
5233
|
description: z.ZodString;
|
|
@@ -5388,6 +5287,7 @@ export declare const InsightPersonasResponseSchema: z.ZodObject<{
|
|
|
5388
5287
|
segment_name: z.ZodOptional<z.ZodString>;
|
|
5389
5288
|
is_selected: z.ZodDefault<z.ZodBoolean>;
|
|
5390
5289
|
is_top: z.ZodDefault<z.ZodBoolean>;
|
|
5290
|
+
is_pinned: z.ZodDefault<z.ZodBoolean>;
|
|
5391
5291
|
name: z.ZodString;
|
|
5392
5292
|
initials: z.ZodString;
|
|
5393
5293
|
description: z.ZodString;
|
|
@@ -5463,6 +5363,499 @@ export declare const DomainPersonaSuggestResponseSchema: z.ZodNullable<z.ZodObje
|
|
|
5463
5363
|
is_top: z.ZodDefault<z.ZodBoolean>;
|
|
5464
5364
|
}, z.core.$strip>>;
|
|
5465
5365
|
}, z.core.$strip>>;
|
|
5366
|
+
export declare const InsightFindingSeveritySchema: z.ZodEnum<{
|
|
5367
|
+
critical: "critical";
|
|
5368
|
+
high: "high";
|
|
5369
|
+
medium: "medium";
|
|
5370
|
+
low: "low";
|
|
5371
|
+
}>;
|
|
5372
|
+
export declare const InsightFindingStatusSchema: z.ZodEnum<{
|
|
5373
|
+
dismissed: "dismissed";
|
|
5374
|
+
open: "open";
|
|
5375
|
+
triaged: "triaged";
|
|
5376
|
+
fixed: "fixed";
|
|
5377
|
+
}>;
|
|
5378
|
+
export declare const InsightFindingEntitySchema: z.ZodObject<{
|
|
5379
|
+
id: z.ZodNumber;
|
|
5380
|
+
application_id: z.ZodNumber;
|
|
5381
|
+
persona_id: z.ZodNumber;
|
|
5382
|
+
simulation_id: z.ZodNullable<z.ZodNumber>;
|
|
5383
|
+
title: z.ZodString;
|
|
5384
|
+
severity: z.ZodEnum<{
|
|
5385
|
+
critical: "critical";
|
|
5386
|
+
high: "high";
|
|
5387
|
+
medium: "medium";
|
|
5388
|
+
low: "low";
|
|
5389
|
+
}>;
|
|
5390
|
+
status: z.ZodEnum<{
|
|
5391
|
+
dismissed: "dismissed";
|
|
5392
|
+
open: "open";
|
|
5393
|
+
triaged: "triaged";
|
|
5394
|
+
fixed: "fixed";
|
|
5395
|
+
}>;
|
|
5396
|
+
page_or_flow: z.ZodNullable<z.ZodString>;
|
|
5397
|
+
description: z.ZodNullable<z.ZodString>;
|
|
5398
|
+
fingerprint: z.ZodNullable<z.ZodString>;
|
|
5399
|
+
first_seen_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
5400
|
+
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
5401
|
+
updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
5402
|
+
}, z.core.$strip>;
|
|
5403
|
+
export declare const InsightFindingSeverityBreakdownSchema: z.ZodObject<{
|
|
5404
|
+
critical: z.ZodNumber;
|
|
5405
|
+
high: z.ZodNumber;
|
|
5406
|
+
medium: z.ZodNumber;
|
|
5407
|
+
low: z.ZodNumber;
|
|
5408
|
+
}, z.core.$strip>;
|
|
5409
|
+
export declare const InsightFindingStatusBreakdownSchema: z.ZodObject<{
|
|
5410
|
+
open: z.ZodNumber;
|
|
5411
|
+
triaged: z.ZodNumber;
|
|
5412
|
+
fixed: z.ZodNumber;
|
|
5413
|
+
dismissed: z.ZodNumber;
|
|
5414
|
+
}, z.core.$strip>;
|
|
5415
|
+
export declare const InsightPersonaTopFindingSchema: z.ZodObject<{
|
|
5416
|
+
id: z.ZodNumber;
|
|
5417
|
+
title: z.ZodString;
|
|
5418
|
+
severity: z.ZodEnum<{
|
|
5419
|
+
critical: "critical";
|
|
5420
|
+
high: "high";
|
|
5421
|
+
medium: "medium";
|
|
5422
|
+
low: "low";
|
|
5423
|
+
}>;
|
|
5424
|
+
page_or_flow: z.ZodNullable<z.ZodString>;
|
|
5425
|
+
}, z.core.$strip>;
|
|
5426
|
+
export declare const InsightPersonaTrendPointSchema: z.ZodObject<{
|
|
5427
|
+
sim_id: z.ZodNullable<z.ZodNumber>;
|
|
5428
|
+
issues: z.ZodNumber;
|
|
5429
|
+
at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
5430
|
+
}, z.core.$strip>;
|
|
5431
|
+
export declare const InsightPersonaTopPageSchema: z.ZodObject<{
|
|
5432
|
+
page: z.ZodString;
|
|
5433
|
+
count: z.ZodNumber;
|
|
5434
|
+
}, z.core.$strip>;
|
|
5435
|
+
export declare const InsightPersonaSimulationsBreakdownSchema: z.ZodObject<{
|
|
5436
|
+
completed: z.ZodNumber;
|
|
5437
|
+
failed: z.ZodNumber;
|
|
5438
|
+
running: z.ZodNumber;
|
|
5439
|
+
}, z.core.$strip>;
|
|
5440
|
+
export declare const InsightPersonaStatsSchema: z.ZodObject<{
|
|
5441
|
+
persona_id: z.ZodNumber;
|
|
5442
|
+
simulations_count: z.ZodNumber;
|
|
5443
|
+
issues_count: z.ZodNumber;
|
|
5444
|
+
severity_breakdown: z.ZodObject<{
|
|
5445
|
+
critical: z.ZodNumber;
|
|
5446
|
+
high: z.ZodNumber;
|
|
5447
|
+
medium: z.ZodNumber;
|
|
5448
|
+
low: z.ZodNumber;
|
|
5449
|
+
}, z.core.$strip>;
|
|
5450
|
+
status_breakdown: z.ZodObject<{
|
|
5451
|
+
open: z.ZodNumber;
|
|
5452
|
+
triaged: z.ZodNumber;
|
|
5453
|
+
fixed: z.ZodNumber;
|
|
5454
|
+
dismissed: z.ZodNumber;
|
|
5455
|
+
}, z.core.$strip>;
|
|
5456
|
+
last_run_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
5457
|
+
velocity_7d: z.ZodDefault<z.ZodNumber>;
|
|
5458
|
+
velocity_delta: z.ZodDefault<z.ZodNumber>;
|
|
5459
|
+
trend: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5460
|
+
sim_id: z.ZodNullable<z.ZodNumber>;
|
|
5461
|
+
issues: z.ZodNumber;
|
|
5462
|
+
at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
5463
|
+
}, z.core.$strip>>>;
|
|
5464
|
+
top_finding: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
5465
|
+
id: z.ZodNumber;
|
|
5466
|
+
title: z.ZodString;
|
|
5467
|
+
severity: z.ZodEnum<{
|
|
5468
|
+
critical: "critical";
|
|
5469
|
+
high: "high";
|
|
5470
|
+
medium: "medium";
|
|
5471
|
+
low: "low";
|
|
5472
|
+
}>;
|
|
5473
|
+
page_or_flow: z.ZodNullable<z.ZodString>;
|
|
5474
|
+
}, z.core.$strip>>>;
|
|
5475
|
+
top_pages: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5476
|
+
page: z.ZodString;
|
|
5477
|
+
count: z.ZodNumber;
|
|
5478
|
+
}, z.core.$strip>>>;
|
|
5479
|
+
simulations_breakdown: z.ZodDefault<z.ZodObject<{
|
|
5480
|
+
completed: z.ZodNumber;
|
|
5481
|
+
failed: z.ZodNumber;
|
|
5482
|
+
running: z.ZodNumber;
|
|
5483
|
+
}, z.core.$strip>>;
|
|
5484
|
+
}, z.core.$strip>;
|
|
5485
|
+
export declare const InsightPersonaPinInputSchema: z.ZodObject<{
|
|
5486
|
+
id: z.ZodCoercedNumber<unknown>;
|
|
5487
|
+
is_pinned: z.ZodBoolean;
|
|
5488
|
+
}, z.core.$strip>;
|
|
5489
|
+
export declare const InsightPersonasOverviewSchema: z.ZodObject<{
|
|
5490
|
+
personas_count: z.ZodNumber;
|
|
5491
|
+
simulations_total: z.ZodNumber;
|
|
5492
|
+
issues_total: z.ZodNumber;
|
|
5493
|
+
uncovered_traffic_pct: z.ZodNumber;
|
|
5494
|
+
audience: z.ZodObject<{
|
|
5495
|
+
segments_count: z.ZodNumber;
|
|
5496
|
+
traits_count: z.ZodNumber;
|
|
5497
|
+
gaps_count: z.ZodNumber;
|
|
5498
|
+
}, z.core.$strip>;
|
|
5499
|
+
}, z.core.$strip>;
|
|
5500
|
+
export declare const InsightFindingsListInputSchema: z.ZodObject<{
|
|
5501
|
+
persona_id: z.ZodCoercedNumber<unknown>;
|
|
5502
|
+
}, z.core.$strip>;
|
|
5503
|
+
export declare const InsightPersonaLinkedSimulationSchema: z.ZodObject<{
|
|
5504
|
+
simulation_id: z.ZodNumber;
|
|
5505
|
+
ran_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
5506
|
+
}, z.core.$strip>;
|
|
5507
|
+
export declare const InsightFindingsListResponseSchema: z.ZodObject<{
|
|
5508
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
5509
|
+
id: z.ZodNumber;
|
|
5510
|
+
application_id: z.ZodNumber;
|
|
5511
|
+
persona_id: z.ZodNumber;
|
|
5512
|
+
simulation_id: z.ZodNullable<z.ZodNumber>;
|
|
5513
|
+
title: z.ZodString;
|
|
5514
|
+
severity: z.ZodEnum<{
|
|
5515
|
+
critical: "critical";
|
|
5516
|
+
high: "high";
|
|
5517
|
+
medium: "medium";
|
|
5518
|
+
low: "low";
|
|
5519
|
+
}>;
|
|
5520
|
+
status: z.ZodEnum<{
|
|
5521
|
+
dismissed: "dismissed";
|
|
5522
|
+
open: "open";
|
|
5523
|
+
triaged: "triaged";
|
|
5524
|
+
fixed: "fixed";
|
|
5525
|
+
}>;
|
|
5526
|
+
page_or_flow: z.ZodNullable<z.ZodString>;
|
|
5527
|
+
description: z.ZodNullable<z.ZodString>;
|
|
5528
|
+
fingerprint: z.ZodNullable<z.ZodString>;
|
|
5529
|
+
first_seen_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
5530
|
+
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
5531
|
+
updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
5532
|
+
}, z.core.$strip>>;
|
|
5533
|
+
severity_breakdown: z.ZodObject<{
|
|
5534
|
+
critical: z.ZodNumber;
|
|
5535
|
+
high: z.ZodNumber;
|
|
5536
|
+
medium: z.ZodNumber;
|
|
5537
|
+
low: z.ZodNumber;
|
|
5538
|
+
}, z.core.$strip>;
|
|
5539
|
+
status_breakdown: z.ZodObject<{
|
|
5540
|
+
open: z.ZodNumber;
|
|
5541
|
+
triaged: z.ZodNumber;
|
|
5542
|
+
fixed: z.ZodNumber;
|
|
5543
|
+
dismissed: z.ZodNumber;
|
|
5544
|
+
}, z.core.$strip>;
|
|
5545
|
+
simulations_count: z.ZodNumber;
|
|
5546
|
+
simulations_breakdown: z.ZodDefault<z.ZodObject<{
|
|
5547
|
+
completed: z.ZodNumber;
|
|
5548
|
+
failed: z.ZodNumber;
|
|
5549
|
+
running: z.ZodNumber;
|
|
5550
|
+
}, z.core.$strip>>;
|
|
5551
|
+
linked_simulations: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5552
|
+
simulation_id: z.ZodNumber;
|
|
5553
|
+
ran_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
5554
|
+
}, z.core.$strip>>>;
|
|
5555
|
+
}, z.core.$strip>;
|
|
5556
|
+
export declare const InsightSimulationTopPagesInputSchema: z.ZodObject<{
|
|
5557
|
+
simulation_id: z.ZodCoercedNumber<unknown>;
|
|
5558
|
+
}, z.core.$strip>;
|
|
5559
|
+
export declare const InsightSimulationTopPagesResponseSchema: z.ZodObject<{
|
|
5560
|
+
top_pages: z.ZodArray<z.ZodObject<{
|
|
5561
|
+
page: z.ZodString;
|
|
5562
|
+
count: z.ZodNumber;
|
|
5563
|
+
}, z.core.$strip>>;
|
|
5564
|
+
total_findings: z.ZodNumber;
|
|
5565
|
+
}, z.core.$strip>;
|
|
5566
|
+
export declare const InsightFindingUpdateStatusInputSchema: z.ZodObject<{
|
|
5567
|
+
id: z.ZodCoercedNumber<unknown>;
|
|
5568
|
+
status: z.ZodEnum<{
|
|
5569
|
+
dismissed: "dismissed";
|
|
5570
|
+
open: "open";
|
|
5571
|
+
triaged: "triaged";
|
|
5572
|
+
fixed: "fixed";
|
|
5573
|
+
}>;
|
|
5574
|
+
}, z.core.$strip>;
|
|
5575
|
+
export declare const InsightFindingCreateInputSchema: z.ZodObject<{
|
|
5576
|
+
persona_id: z.ZodNumber;
|
|
5577
|
+
simulation_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5578
|
+
title: z.ZodString;
|
|
5579
|
+
severity: z.ZodEnum<{
|
|
5580
|
+
critical: "critical";
|
|
5581
|
+
high: "high";
|
|
5582
|
+
medium: "medium";
|
|
5583
|
+
low: "low";
|
|
5584
|
+
}>;
|
|
5585
|
+
status: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
5586
|
+
dismissed: "dismissed";
|
|
5587
|
+
open: "open";
|
|
5588
|
+
triaged: "triaged";
|
|
5589
|
+
fixed: "fixed";
|
|
5590
|
+
}>>>;
|
|
5591
|
+
page_or_flow: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5592
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5593
|
+
}, z.core.$strip>;
|
|
5594
|
+
export declare const InsightFindingSummarizeInputSchema: z.ZodObject<{
|
|
5595
|
+
persona_id: z.ZodCoercedNumber<unknown>;
|
|
5596
|
+
}, z.core.$strip>;
|
|
5597
|
+
export declare const InsightFindingSummarizeResponseSchema: z.ZodObject<{
|
|
5598
|
+
summary: z.ZodString;
|
|
5599
|
+
}, z.core.$strip>;
|
|
5600
|
+
export declare const InsightPersonaCompareCardSchema: z.ZodObject<{
|
|
5601
|
+
persona: z.ZodObject<{
|
|
5602
|
+
id: z.ZodNumber;
|
|
5603
|
+
application_id: z.ZodNumber;
|
|
5604
|
+
segment_id: z.ZodNullable<z.ZodNumber>;
|
|
5605
|
+
segment_name: z.ZodOptional<z.ZodString>;
|
|
5606
|
+
is_selected: z.ZodDefault<z.ZodBoolean>;
|
|
5607
|
+
is_top: z.ZodDefault<z.ZodBoolean>;
|
|
5608
|
+
is_pinned: z.ZodDefault<z.ZodBoolean>;
|
|
5609
|
+
name: z.ZodString;
|
|
5610
|
+
initials: z.ZodString;
|
|
5611
|
+
description: z.ZodString;
|
|
5612
|
+
traits: z.ZodArray<z.ZodString>;
|
|
5613
|
+
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
5614
|
+
source: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
5615
|
+
manual: "manual";
|
|
5616
|
+
generated: "generated";
|
|
5617
|
+
domain: "domain";
|
|
5618
|
+
}>>>;
|
|
5619
|
+
age_range: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
5620
|
+
goals: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
5621
|
+
behavior: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
5622
|
+
pain_points: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
5623
|
+
triggers: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
5624
|
+
openness: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5625
|
+
conscientiousness: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5626
|
+
extraversion: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5627
|
+
agreeableness: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5628
|
+
neuroticism: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5629
|
+
mbti_type: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
5630
|
+
mbti_rationale: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
5631
|
+
key_features: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
5632
|
+
bhvr_proficiency: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5633
|
+
bhvr_preciseness: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5634
|
+
bhvr_sensitivity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5635
|
+
bhvr_efficiency: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5636
|
+
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
5637
|
+
updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
5638
|
+
}, z.core.$strip>;
|
|
5639
|
+
stats: z.ZodObject<{
|
|
5640
|
+
persona_id: z.ZodNumber;
|
|
5641
|
+
simulations_count: z.ZodNumber;
|
|
5642
|
+
issues_count: z.ZodNumber;
|
|
5643
|
+
severity_breakdown: z.ZodObject<{
|
|
5644
|
+
critical: z.ZodNumber;
|
|
5645
|
+
high: z.ZodNumber;
|
|
5646
|
+
medium: z.ZodNumber;
|
|
5647
|
+
low: z.ZodNumber;
|
|
5648
|
+
}, z.core.$strip>;
|
|
5649
|
+
status_breakdown: z.ZodObject<{
|
|
5650
|
+
open: z.ZodNumber;
|
|
5651
|
+
triaged: z.ZodNumber;
|
|
5652
|
+
fixed: z.ZodNumber;
|
|
5653
|
+
dismissed: z.ZodNumber;
|
|
5654
|
+
}, z.core.$strip>;
|
|
5655
|
+
last_run_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
5656
|
+
velocity_7d: z.ZodDefault<z.ZodNumber>;
|
|
5657
|
+
velocity_delta: z.ZodDefault<z.ZodNumber>;
|
|
5658
|
+
trend: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5659
|
+
sim_id: z.ZodNullable<z.ZodNumber>;
|
|
5660
|
+
issues: z.ZodNumber;
|
|
5661
|
+
at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
5662
|
+
}, z.core.$strip>>>;
|
|
5663
|
+
top_finding: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
5664
|
+
id: z.ZodNumber;
|
|
5665
|
+
title: z.ZodString;
|
|
5666
|
+
severity: z.ZodEnum<{
|
|
5667
|
+
critical: "critical";
|
|
5668
|
+
high: "high";
|
|
5669
|
+
medium: "medium";
|
|
5670
|
+
low: "low";
|
|
5671
|
+
}>;
|
|
5672
|
+
page_or_flow: z.ZodNullable<z.ZodString>;
|
|
5673
|
+
}, z.core.$strip>>>;
|
|
5674
|
+
top_pages: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5675
|
+
page: z.ZodString;
|
|
5676
|
+
count: z.ZodNumber;
|
|
5677
|
+
}, z.core.$strip>>>;
|
|
5678
|
+
simulations_breakdown: z.ZodDefault<z.ZodObject<{
|
|
5679
|
+
completed: z.ZodNumber;
|
|
5680
|
+
failed: z.ZodNumber;
|
|
5681
|
+
running: z.ZodNumber;
|
|
5682
|
+
}, z.core.$strip>>;
|
|
5683
|
+
}, z.core.$strip>;
|
|
5684
|
+
top_pages: z.ZodArray<z.ZodObject<{
|
|
5685
|
+
page: z.ZodString;
|
|
5686
|
+
count: z.ZodNumber;
|
|
5687
|
+
}, z.core.$strip>>;
|
|
5688
|
+
signature_finding: z.ZodNullable<z.ZodObject<{
|
|
5689
|
+
id: z.ZodNumber;
|
|
5690
|
+
application_id: z.ZodNumber;
|
|
5691
|
+
persona_id: z.ZodNumber;
|
|
5692
|
+
simulation_id: z.ZodNullable<z.ZodNumber>;
|
|
5693
|
+
title: z.ZodString;
|
|
5694
|
+
severity: z.ZodEnum<{
|
|
5695
|
+
critical: "critical";
|
|
5696
|
+
high: "high";
|
|
5697
|
+
medium: "medium";
|
|
5698
|
+
low: "low";
|
|
5699
|
+
}>;
|
|
5700
|
+
status: z.ZodEnum<{
|
|
5701
|
+
dismissed: "dismissed";
|
|
5702
|
+
open: "open";
|
|
5703
|
+
triaged: "triaged";
|
|
5704
|
+
fixed: "fixed";
|
|
5705
|
+
}>;
|
|
5706
|
+
page_or_flow: z.ZodNullable<z.ZodString>;
|
|
5707
|
+
description: z.ZodNullable<z.ZodString>;
|
|
5708
|
+
fingerprint: z.ZodNullable<z.ZodString>;
|
|
5709
|
+
first_seen_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
5710
|
+
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
5711
|
+
updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
5712
|
+
}, z.core.$strip>>;
|
|
5713
|
+
}, z.core.$strip>;
|
|
5714
|
+
export declare const InsightPersonaCompareInputSchema: z.ZodObject<{
|
|
5715
|
+
persona_ids: z.ZodArray<z.ZodCoercedNumber<unknown>>;
|
|
5716
|
+
}, z.core.$strip>;
|
|
5717
|
+
export declare const InsightPersonaCompareResponseSchema: z.ZodObject<{
|
|
5718
|
+
cards: z.ZodArray<z.ZodObject<{
|
|
5719
|
+
persona: z.ZodObject<{
|
|
5720
|
+
id: z.ZodNumber;
|
|
5721
|
+
application_id: z.ZodNumber;
|
|
5722
|
+
segment_id: z.ZodNullable<z.ZodNumber>;
|
|
5723
|
+
segment_name: z.ZodOptional<z.ZodString>;
|
|
5724
|
+
is_selected: z.ZodDefault<z.ZodBoolean>;
|
|
5725
|
+
is_top: z.ZodDefault<z.ZodBoolean>;
|
|
5726
|
+
is_pinned: z.ZodDefault<z.ZodBoolean>;
|
|
5727
|
+
name: z.ZodString;
|
|
5728
|
+
initials: z.ZodString;
|
|
5729
|
+
description: z.ZodString;
|
|
5730
|
+
traits: z.ZodArray<z.ZodString>;
|
|
5731
|
+
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
5732
|
+
source: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
5733
|
+
manual: "manual";
|
|
5734
|
+
generated: "generated";
|
|
5735
|
+
domain: "domain";
|
|
5736
|
+
}>>>;
|
|
5737
|
+
age_range: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
5738
|
+
goals: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
5739
|
+
behavior: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
5740
|
+
pain_points: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
5741
|
+
triggers: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
5742
|
+
openness: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5743
|
+
conscientiousness: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5744
|
+
extraversion: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5745
|
+
agreeableness: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5746
|
+
neuroticism: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5747
|
+
mbti_type: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
5748
|
+
mbti_rationale: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
5749
|
+
key_features: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
5750
|
+
bhvr_proficiency: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5751
|
+
bhvr_preciseness: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5752
|
+
bhvr_sensitivity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5753
|
+
bhvr_efficiency: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5754
|
+
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
5755
|
+
updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
5756
|
+
}, z.core.$strip>;
|
|
5757
|
+
stats: z.ZodObject<{
|
|
5758
|
+
persona_id: z.ZodNumber;
|
|
5759
|
+
simulations_count: z.ZodNumber;
|
|
5760
|
+
issues_count: z.ZodNumber;
|
|
5761
|
+
severity_breakdown: z.ZodObject<{
|
|
5762
|
+
critical: z.ZodNumber;
|
|
5763
|
+
high: z.ZodNumber;
|
|
5764
|
+
medium: z.ZodNumber;
|
|
5765
|
+
low: z.ZodNumber;
|
|
5766
|
+
}, z.core.$strip>;
|
|
5767
|
+
status_breakdown: z.ZodObject<{
|
|
5768
|
+
open: z.ZodNumber;
|
|
5769
|
+
triaged: z.ZodNumber;
|
|
5770
|
+
fixed: z.ZodNumber;
|
|
5771
|
+
dismissed: z.ZodNumber;
|
|
5772
|
+
}, z.core.$strip>;
|
|
5773
|
+
last_run_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
5774
|
+
velocity_7d: z.ZodDefault<z.ZodNumber>;
|
|
5775
|
+
velocity_delta: z.ZodDefault<z.ZodNumber>;
|
|
5776
|
+
trend: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5777
|
+
sim_id: z.ZodNullable<z.ZodNumber>;
|
|
5778
|
+
issues: z.ZodNumber;
|
|
5779
|
+
at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
5780
|
+
}, z.core.$strip>>>;
|
|
5781
|
+
top_finding: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
5782
|
+
id: z.ZodNumber;
|
|
5783
|
+
title: z.ZodString;
|
|
5784
|
+
severity: z.ZodEnum<{
|
|
5785
|
+
critical: "critical";
|
|
5786
|
+
high: "high";
|
|
5787
|
+
medium: "medium";
|
|
5788
|
+
low: "low";
|
|
5789
|
+
}>;
|
|
5790
|
+
page_or_flow: z.ZodNullable<z.ZodString>;
|
|
5791
|
+
}, z.core.$strip>>>;
|
|
5792
|
+
top_pages: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5793
|
+
page: z.ZodString;
|
|
5794
|
+
count: z.ZodNumber;
|
|
5795
|
+
}, z.core.$strip>>>;
|
|
5796
|
+
simulations_breakdown: z.ZodDefault<z.ZodObject<{
|
|
5797
|
+
completed: z.ZodNumber;
|
|
5798
|
+
failed: z.ZodNumber;
|
|
5799
|
+
running: z.ZodNumber;
|
|
5800
|
+
}, z.core.$strip>>;
|
|
5801
|
+
}, z.core.$strip>;
|
|
5802
|
+
top_pages: z.ZodArray<z.ZodObject<{
|
|
5803
|
+
page: z.ZodString;
|
|
5804
|
+
count: z.ZodNumber;
|
|
5805
|
+
}, z.core.$strip>>;
|
|
5806
|
+
signature_finding: z.ZodNullable<z.ZodObject<{
|
|
5807
|
+
id: z.ZodNumber;
|
|
5808
|
+
application_id: z.ZodNumber;
|
|
5809
|
+
persona_id: z.ZodNumber;
|
|
5810
|
+
simulation_id: z.ZodNullable<z.ZodNumber>;
|
|
5811
|
+
title: z.ZodString;
|
|
5812
|
+
severity: z.ZodEnum<{
|
|
5813
|
+
critical: "critical";
|
|
5814
|
+
high: "high";
|
|
5815
|
+
medium: "medium";
|
|
5816
|
+
low: "low";
|
|
5817
|
+
}>;
|
|
5818
|
+
status: z.ZodEnum<{
|
|
5819
|
+
dismissed: "dismissed";
|
|
5820
|
+
open: "open";
|
|
5821
|
+
triaged: "triaged";
|
|
5822
|
+
fixed: "fixed";
|
|
5823
|
+
}>;
|
|
5824
|
+
page_or_flow: z.ZodNullable<z.ZodString>;
|
|
5825
|
+
description: z.ZodNullable<z.ZodString>;
|
|
5826
|
+
fingerprint: z.ZodNullable<z.ZodString>;
|
|
5827
|
+
first_seen_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
5828
|
+
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
5829
|
+
updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
5830
|
+
}, z.core.$strip>>;
|
|
5831
|
+
}, z.core.$strip>>;
|
|
5832
|
+
shared_findings: z.ZodArray<z.ZodObject<{
|
|
5833
|
+
title: z.ZodString;
|
|
5834
|
+
page_or_flow: z.ZodNullable<z.ZodString>;
|
|
5835
|
+
persona_ids: z.ZodArray<z.ZodNumber>;
|
|
5836
|
+
}, z.core.$strip>>;
|
|
5837
|
+
synthesis: z.ZodString;
|
|
5838
|
+
}, z.core.$strip>;
|
|
5839
|
+
export declare const InsightPersonaDuplicateGroupSchema: z.ZodObject<{
|
|
5840
|
+
reason: z.ZodString;
|
|
5841
|
+
persona_ids: z.ZodArray<z.ZodNumber>;
|
|
5842
|
+
}, z.core.$strip>;
|
|
5843
|
+
export declare const InsightAudienceGapSchema: z.ZodObject<{
|
|
5844
|
+
label: z.ZodString;
|
|
5845
|
+
description: z.ZodString;
|
|
5846
|
+
}, z.core.$strip>;
|
|
5847
|
+
export declare const InsightAudienceCoverageSchema: z.ZodObject<{
|
|
5848
|
+
segments_count: z.ZodNumber;
|
|
5849
|
+
traits_count: z.ZodNumber;
|
|
5850
|
+
duplicates: z.ZodArray<z.ZodObject<{
|
|
5851
|
+
reason: z.ZodString;
|
|
5852
|
+
persona_ids: z.ZodArray<z.ZodNumber>;
|
|
5853
|
+
}, z.core.$strip>>;
|
|
5854
|
+
gaps: z.ZodArray<z.ZodObject<{
|
|
5855
|
+
label: z.ZodString;
|
|
5856
|
+
description: z.ZodString;
|
|
5857
|
+
}, z.core.$strip>>;
|
|
5858
|
+
}, z.core.$strip>;
|
|
5466
5859
|
export declare const HeatmapTypeSchema: z.ZodEnum<{
|
|
5467
5860
|
clicks: "clicks";
|
|
5468
5861
|
scroll: "scroll";
|