@vcp-dev/contracts 0.6.11 → 0.7.1
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/README.md +5 -4
- package/dist/business-facts.d.ts +23 -0
- package/dist/cms-page-directory.d.ts +40 -4
- package/dist/colorway-distinctness.js +1 -1
- package/dist/connect-dynamic-collection.d.ts +6 -6
- package/dist/connect-form.d.ts +6 -6
- package/dist/conversion-hints.d.ts +38 -0
- package/dist/crawler-task-service.d.ts +244 -2
- package/dist/custom-domain.d.ts +119 -239
- package/dist/customer-materials.d.ts +5 -5
- package/dist/deployment-lifecycle.d.ts +45 -0
- package/dist/design-tokens.d.ts +1 -0
- package/dist/design-tokens.js +1 -1
- package/dist/e2b-preview-proxy.d.ts +5 -0
- package/dist/external-site-edit.d.ts +9 -0
- package/dist/firecrawl-internal.d.ts +19 -0
- package/dist/font-catalog.d.ts +5 -2
- package/dist/form-design.d.ts +54 -12
- package/dist/google-search-console.d.ts +1 -0
- package/dist/index.d.ts +3129 -818
- package/dist/index.js +1 -1
- package/dist/industry-classification.d.ts +43 -0
- package/dist/input-context-bundle.d.ts +10 -0
- package/dist/internal-entity-id.d.ts +1 -0
- package/dist/knowledge-category.d.ts +20 -0
- package/dist/knowledge-source-readiness.d.ts +94 -0
- package/dist/launcher-prompt-templates.d.ts +117 -14
- package/dist/migration-products.d.ts +45 -0
- package/dist/page-slug.d.ts +2 -0
- package/dist/page-template.d.ts +95 -0
- package/dist/site-build.d.ts +564 -0
- package/dist/site-design-presets.d.ts +20 -0
- package/dist/site-edit-capability.d.ts +13 -1
- package/dist/site-edit-class-name-source.d.ts +40 -8
- package/dist/site-edit-command-result.d.ts +15 -4
- package/dist/site-edit-composition.d.ts +13 -0
- package/dist/site-edit-event.d.ts +68 -14
- package/dist/site-edit-history-status.d.ts +193 -0
- package/dist/site-edit-operation.d.ts +152 -51
- package/dist/site-edit-page-composition.d.ts +101 -22
- package/dist/site-edit-patch-plan.d.ts +49 -3
- package/dist/site-edit-render-document.d.ts +54 -8
- package/dist/site-edit-session.d.ts +5 -2
- package/dist/site-edit-source.d.ts +60 -11
- package/dist/site-edit-version.d.ts +1 -1
- package/dist/site-extra-requirement.d.ts +39 -0
- package/dist/site-locale.d.ts +20 -0
- package/dist/site-localization-fields.d.ts +196 -0
- package/dist/site-localization-scope.d.ts +95 -0
- package/dist/site-preview.d.ts +15 -0
- package/dist/site-publish-domain.d.ts +680 -0
- package/dist/site-publish-workflow.d.ts +612 -0
- package/dist/site-workflow-completions.d.ts +163 -0
- package/dist/site-workflow.d.ts +231 -211
- package/dist/sitemap-navigation.d.ts +4 -1
- package/dist/step2-page-selection.d.ts +88 -0
- package/dist/step2-site-initialization.d.ts +321 -30
- package/dist/step3-digital-employee-analysis.d.ts +177 -211
- package/dist/step4-diagnosis.d.ts +72 -4
- package/dist/step5-strategy.d.ts +5901 -172
- package/dist/step6-design.d.ts +779 -464
- package/dist/subsite-localization-input.d.ts +121 -0
- package/dist/subsite-mount-path.d.ts +23 -0
- package/dist/subsite-sync-diff.d.ts +76 -0
- package/dist/subsite-visible-text-export.d.ts +34 -0
- package/dist/template-upgrade-observability.d.ts +2 -2
- package/dist/theme-presets.d.ts +56 -1
- package/dist/workspace-design-apply.d.ts +5 -0
- package/dist/workspace-resource-operation.d.ts +58 -24
- package/package.json +1 -1
- package/dist/publish-quality.d.ts +0 -92
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const Step3AnalysisStartRequestSchema: z.ZodObject<{
|
|
3
3
|
force_refresh: z.ZodOptional<z.ZodBoolean>;
|
|
4
|
-
output_locale: z.ZodOptional<z.ZodString>;
|
|
5
4
|
}, z.core.$strip>;
|
|
6
5
|
export type Step3AnalysisStartRequest = z.infer<typeof Step3AnalysisStartRequestSchema>;
|
|
7
6
|
export declare const Step3AnalysisJobStatusSchema: z.ZodEnum<{
|
|
@@ -335,219 +334,117 @@ export declare const Step3AnalysisJobResponseSchema: z.ZodObject<{
|
|
|
335
334
|
}, z.core.$strip>;
|
|
336
335
|
message: z.ZodString;
|
|
337
336
|
}, z.core.$strip>;
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
}, z.core.$strip>;
|
|
347
|
-
/** site-audit-crew `/baseline` 的最小 profile 字段;zod 默认剥离其余基线数据。 */
|
|
348
|
-
export declare const UpstreamStep3AnalysisScheduleSchema: z.ZodObject<{
|
|
349
|
-
site_mode: z.ZodEnum<{
|
|
350
|
-
existing_site: "existing_site";
|
|
351
|
-
new_site: "new_site";
|
|
352
|
-
}>;
|
|
353
|
-
scan_required: z.ZodBoolean;
|
|
354
|
-
scheduled_agent_ids: z.ZodArray<z.ZodString>;
|
|
355
|
-
omitted_agent_ids: z.ZodArray<z.ZodString>;
|
|
356
|
-
next_stage: z.ZodEnum<{
|
|
357
|
-
strategy: "strategy";
|
|
358
|
-
diagnostic_report: "diagnostic_report";
|
|
359
|
-
}>;
|
|
360
|
-
}, z.core.$strip>;
|
|
361
|
-
export declare const UpstreamStep3AgentAnalysisSchema: z.ZodObject<{
|
|
362
|
-
agent_id: z.ZodString;
|
|
363
|
-
name: z.ZodString;
|
|
364
|
-
icon: z.ZodString;
|
|
365
|
-
status: z.ZodEnum<{
|
|
366
|
-
failed: "failed";
|
|
367
|
-
ok: "ok";
|
|
368
|
-
insufficient_data: "insufficient_data";
|
|
369
|
-
}>;
|
|
370
|
-
topics: z.ZodArray<z.ZodObject<{
|
|
371
|
-
topic_id: z.ZodString;
|
|
372
|
-
status: z.ZodEnum<{
|
|
373
|
-
failed: "failed";
|
|
374
|
-
complete: "complete";
|
|
375
|
-
partial: "partial";
|
|
376
|
-
insufficient_data: "insufficient_data";
|
|
377
|
-
}>;
|
|
378
|
-
evidence_refs: z.ZodArray<z.ZodString>;
|
|
379
|
-
}, z.core.$strip>>;
|
|
380
|
-
findings: z.ZodArray<z.ZodObject<{
|
|
381
|
-
t: z.ZodString;
|
|
382
|
-
d: z.ZodString;
|
|
383
|
-
evidence: z.ZodObject<{
|
|
384
|
-
from: z.ZodString;
|
|
385
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
386
|
-
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
387
|
-
}, z.core.$strip>;
|
|
388
|
-
}, z.core.$strip>>;
|
|
389
|
-
elapsed_ms: z.ZodNumber;
|
|
390
|
-
note: z.ZodOptional<z.ZodString>;
|
|
391
|
-
error: z.ZodOptional<z.ZodString>;
|
|
392
|
-
}, z.core.$strip>;
|
|
393
|
-
export type UpstreamStep3AgentAnalysis = z.infer<typeof UpstreamStep3AgentAnalysisSchema>;
|
|
394
|
-
export declare const UpstreamStep3AnalysisSummarySchema: z.ZodObject<{
|
|
395
|
-
total: z.ZodNumber;
|
|
396
|
-
ok: z.ZodNumber;
|
|
397
|
-
degraded: z.ZodNumber;
|
|
398
|
-
total_findings: z.ZodNumber;
|
|
399
|
-
elapsed_ms: z.ZodNumber;
|
|
400
|
-
site_mode: z.ZodOptional<z.ZodEnum<{
|
|
401
|
-
existing_site: "existing_site";
|
|
402
|
-
new_site: "new_site";
|
|
403
|
-
}>>;
|
|
404
|
-
scheduled_agent_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
405
|
-
omitted_agent_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
406
|
-
scheduled: z.ZodOptional<z.ZodNumber>;
|
|
407
|
-
complete: z.ZodOptional<z.ZodNumber>;
|
|
408
|
-
partial: z.ZodOptional<z.ZodNumber>;
|
|
409
|
-
insufficient: z.ZodOptional<z.ZodNumber>;
|
|
410
|
-
failed: z.ZodOptional<z.ZodNumber>;
|
|
411
|
-
next_stage: z.ZodOptional<z.ZodEnum<{
|
|
412
|
-
strategy: "strategy";
|
|
413
|
-
diagnostic_report: "diagnostic_report";
|
|
414
|
-
}>>;
|
|
415
|
-
}, z.core.$strip>;
|
|
416
|
-
export declare const UpstreamStep3AnalysisResultSchema: z.ZodObject<{
|
|
417
|
-
agents_done: z.ZodBoolean;
|
|
418
|
-
analysis: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
419
|
-
agent_id: z.ZodString;
|
|
420
|
-
name: z.ZodString;
|
|
421
|
-
icon: z.ZodString;
|
|
337
|
+
export declare const Step3AnalysisLatestResponseSchema: z.ZodObject<{
|
|
338
|
+
code: z.ZodNumber;
|
|
339
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
340
|
+
job_id: z.ZodString;
|
|
341
|
+
site_id: z.ZodString;
|
|
342
|
+
model_version: z.ZodString;
|
|
343
|
+
output_locale: z.ZodString;
|
|
344
|
+
cached: z.ZodOptional<z.ZodBoolean>;
|
|
422
345
|
status: z.ZodEnum<{
|
|
423
346
|
failed: "failed";
|
|
424
|
-
|
|
425
|
-
|
|
347
|
+
succeeded: "succeeded";
|
|
348
|
+
running: "running";
|
|
426
349
|
}>;
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
insufficient_data: "insufficient_data";
|
|
434
|
-
}>;
|
|
435
|
-
evidence_refs: z.ZodArray<z.ZodString>;
|
|
436
|
-
}, z.core.$strip>>;
|
|
437
|
-
findings: z.ZodArray<z.ZodObject<{
|
|
438
|
-
t: z.ZodString;
|
|
439
|
-
d: z.ZodString;
|
|
440
|
-
evidence: z.ZodObject<{
|
|
441
|
-
from: z.ZodString;
|
|
442
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
443
|
-
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
444
|
-
}, z.core.$strip>;
|
|
445
|
-
}, z.core.$strip>>;
|
|
446
|
-
elapsed_ms: z.ZodNumber;
|
|
447
|
-
note: z.ZodOptional<z.ZodString>;
|
|
448
|
-
error: z.ZodOptional<z.ZodString>;
|
|
449
|
-
}, z.core.$strip>>;
|
|
450
|
-
step4_scoring_input: z.ZodOptional<z.ZodUnknown>;
|
|
451
|
-
summary: z.ZodObject<{
|
|
452
|
-
total: z.ZodNumber;
|
|
453
|
-
ok: z.ZodNumber;
|
|
454
|
-
degraded: z.ZodNumber;
|
|
455
|
-
total_findings: z.ZodNumber;
|
|
456
|
-
elapsed_ms: z.ZodNumber;
|
|
457
|
-
site_mode: z.ZodOptional<z.ZodEnum<{
|
|
458
|
-
existing_site: "existing_site";
|
|
459
|
-
new_site: "new_site";
|
|
460
|
-
}>>;
|
|
461
|
-
scheduled_agent_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
462
|
-
omitted_agent_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
463
|
-
scheduled: z.ZodOptional<z.ZodNumber>;
|
|
464
|
-
complete: z.ZodOptional<z.ZodNumber>;
|
|
465
|
-
partial: z.ZodOptional<z.ZodNumber>;
|
|
466
|
-
insufficient: z.ZodOptional<z.ZodNumber>;
|
|
467
|
-
failed: z.ZodOptional<z.ZodNumber>;
|
|
468
|
-
next_stage: z.ZodOptional<z.ZodEnum<{
|
|
469
|
-
strategy: "strategy";
|
|
470
|
-
diagnostic_report: "diagnostic_report";
|
|
471
|
-
}>>;
|
|
472
|
-
}, z.core.$strip>;
|
|
473
|
-
}, z.core.$strip>;
|
|
474
|
-
/** 可信 scope 字段必须保留给 VCP facade 做上游响应归属校验。 */
|
|
475
|
-
export declare const UpstreamStep3AnalysisJobSchema: z.ZodObject<{
|
|
476
|
-
job_id: z.ZodString;
|
|
477
|
-
tenant_id: z.ZodString;
|
|
478
|
-
site_id: z.ZodString;
|
|
479
|
-
session_id: z.ZodString;
|
|
480
|
-
model_version: z.ZodString;
|
|
481
|
-
output_locale: z.ZodOptional<z.ZodString>;
|
|
482
|
-
cached: z.ZodOptional<z.ZodBoolean>;
|
|
483
|
-
status: z.ZodEnum<{
|
|
484
|
-
failed: "failed";
|
|
485
|
-
succeeded: "succeeded";
|
|
486
|
-
running: "running";
|
|
487
|
-
}>;
|
|
488
|
-
result: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
489
|
-
agents_done: z.ZodBoolean;
|
|
490
|
-
analysis: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
491
|
-
agent_id: z.ZodString;
|
|
492
|
-
name: z.ZodString;
|
|
493
|
-
icon: z.ZodString;
|
|
494
|
-
status: z.ZodEnum<{
|
|
495
|
-
failed: "failed";
|
|
496
|
-
ok: "ok";
|
|
497
|
-
insufficient_data: "insufficient_data";
|
|
498
|
-
}>;
|
|
499
|
-
topics: z.ZodArray<z.ZodObject<{
|
|
500
|
-
topic_id: z.ZodString;
|
|
350
|
+
result: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
351
|
+
agents_done: z.ZodBoolean;
|
|
352
|
+
analysis: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
353
|
+
agent_id: z.ZodString;
|
|
354
|
+
name: z.ZodString;
|
|
355
|
+
icon: z.ZodString;
|
|
501
356
|
status: z.ZodEnum<{
|
|
502
357
|
failed: "failed";
|
|
503
|
-
|
|
504
|
-
partial: "partial";
|
|
358
|
+
ok: "ok";
|
|
505
359
|
insufficient_data: "insufficient_data";
|
|
506
360
|
}>;
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
}, z.core.$strip
|
|
361
|
+
topics: z.ZodArray<z.ZodObject<{
|
|
362
|
+
topic_id: z.ZodString;
|
|
363
|
+
status: z.ZodEnum<{
|
|
364
|
+
failed: "failed";
|
|
365
|
+
complete: "complete";
|
|
366
|
+
partial: "partial";
|
|
367
|
+
insufficient_data: "insufficient_data";
|
|
368
|
+
}>;
|
|
369
|
+
evidence_refs: z.ZodArray<z.ZodString>;
|
|
370
|
+
}, z.core.$strip>>;
|
|
371
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
372
|
+
t: z.ZodString;
|
|
373
|
+
d: z.ZodString;
|
|
374
|
+
evidence: z.ZodObject<{
|
|
375
|
+
from: z.ZodString;
|
|
376
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
377
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
378
|
+
}, z.core.$strip>;
|
|
379
|
+
}, z.core.$strip>>;
|
|
380
|
+
elapsed_ms: z.ZodNumber;
|
|
381
|
+
note: z.ZodOptional<z.ZodString>;
|
|
382
|
+
error: z.ZodOptional<z.ZodString>;
|
|
517
383
|
}, z.core.$strip>>;
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
}, z.core.$strip>>>;
|
|
546
|
-
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
384
|
+
step4_scoring_input: z.ZodOptional<z.ZodUnknown>;
|
|
385
|
+
summary: z.ZodObject<{
|
|
386
|
+
total: z.ZodNumber;
|
|
387
|
+
ok: z.ZodNumber;
|
|
388
|
+
degraded: z.ZodNumber;
|
|
389
|
+
total_findings: z.ZodNumber;
|
|
390
|
+
elapsed_ms: z.ZodNumber;
|
|
391
|
+
site_mode: z.ZodOptional<z.ZodEnum<{
|
|
392
|
+
existing_site: "existing_site";
|
|
393
|
+
new_site: "new_site";
|
|
394
|
+
}>>;
|
|
395
|
+
scheduled_agent_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
396
|
+
omitted_agent_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
397
|
+
scheduled: z.ZodOptional<z.ZodNumber>;
|
|
398
|
+
complete: z.ZodOptional<z.ZodNumber>;
|
|
399
|
+
partial: z.ZodOptional<z.ZodNumber>;
|
|
400
|
+
insufficient: z.ZodOptional<z.ZodNumber>;
|
|
401
|
+
failed: z.ZodOptional<z.ZodNumber>;
|
|
402
|
+
next_stage: z.ZodOptional<z.ZodEnum<{
|
|
403
|
+
strategy: "strategy";
|
|
404
|
+
diagnostic_report: "diagnostic_report";
|
|
405
|
+
}>>;
|
|
406
|
+
}, z.core.$strip>;
|
|
407
|
+
}, z.core.$strip>>>;
|
|
408
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
409
|
+
}, z.core.$strip>>;
|
|
410
|
+
message: z.ZodString;
|
|
547
411
|
}, z.core.$strip>;
|
|
548
|
-
export
|
|
412
|
+
export declare const Step3AnalysisProgressSchema: z.ZodObject<{
|
|
413
|
+
percent: z.ZodNumber;
|
|
414
|
+
phase: z.ZodEnum<{
|
|
415
|
+
failed: "failed";
|
|
416
|
+
completed: "completed";
|
|
417
|
+
preparing: "preparing";
|
|
418
|
+
analyzing: "analyzing";
|
|
419
|
+
finalizing: "finalizing";
|
|
420
|
+
}>;
|
|
421
|
+
stage: z.ZodEnum<{
|
|
422
|
+
failed: "failed";
|
|
423
|
+
queued: "queued";
|
|
424
|
+
completed: "completed";
|
|
425
|
+
baseline_ready: "baseline_ready";
|
|
426
|
+
source_pages_ready: "source_pages_ready";
|
|
427
|
+
external_evidence_ready: "external_evidence_ready";
|
|
428
|
+
knowledge_evidence_ready: "knowledge_evidence_ready";
|
|
429
|
+
page_evidence_ready: "page_evidence_ready";
|
|
430
|
+
analysis_context_ready: "analysis_context_ready";
|
|
431
|
+
preparation_saved: "preparation_saved";
|
|
432
|
+
workflow_ready: "workflow_ready";
|
|
433
|
+
agent_started: "agent_started";
|
|
434
|
+
agent_completed: "agent_completed";
|
|
435
|
+
workflow_completed: "workflow_completed";
|
|
436
|
+
scoring_input_ready: "scoring_input_ready";
|
|
437
|
+
red_texts_ready: "red_texts_ready";
|
|
438
|
+
result_ready: "result_ready";
|
|
439
|
+
result_persisted: "result_persisted";
|
|
440
|
+
}>;
|
|
441
|
+
agents_done: z.ZodNumber;
|
|
442
|
+
agents_total: z.ZodNumber;
|
|
443
|
+
agent_id: z.ZodOptional<z.ZodString>;
|
|
444
|
+
}, z.core.$strip>;
|
|
445
|
+
export type Step3AnalysisProgress = z.infer<typeof Step3AnalysisProgressSchema>;
|
|
549
446
|
export declare const Step3AnalysisSseFrameSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
550
|
-
id: z.ZodNumber
|
|
447
|
+
id: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>, z.ZodNumber>;
|
|
551
448
|
event: z.ZodLiteral<"snapshot">;
|
|
552
449
|
data: z.ZodObject<{
|
|
553
450
|
job_id: z.ZodString;
|
|
@@ -590,15 +487,84 @@ export declare const Step3AnalysisSseFrameSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
590
487
|
note: z.ZodOptional<z.ZodString>;
|
|
591
488
|
error: z.ZodOptional<z.ZodString>;
|
|
592
489
|
}, z.core.$strip>>;
|
|
490
|
+
progress: z.ZodOptional<z.ZodObject<{
|
|
491
|
+
percent: z.ZodNumber;
|
|
492
|
+
phase: z.ZodEnum<{
|
|
493
|
+
failed: "failed";
|
|
494
|
+
completed: "completed";
|
|
495
|
+
preparing: "preparing";
|
|
496
|
+
analyzing: "analyzing";
|
|
497
|
+
finalizing: "finalizing";
|
|
498
|
+
}>;
|
|
499
|
+
stage: z.ZodEnum<{
|
|
500
|
+
failed: "failed";
|
|
501
|
+
queued: "queued";
|
|
502
|
+
completed: "completed";
|
|
503
|
+
baseline_ready: "baseline_ready";
|
|
504
|
+
source_pages_ready: "source_pages_ready";
|
|
505
|
+
external_evidence_ready: "external_evidence_ready";
|
|
506
|
+
knowledge_evidence_ready: "knowledge_evidence_ready";
|
|
507
|
+
page_evidence_ready: "page_evidence_ready";
|
|
508
|
+
analysis_context_ready: "analysis_context_ready";
|
|
509
|
+
preparation_saved: "preparation_saved";
|
|
510
|
+
workflow_ready: "workflow_ready";
|
|
511
|
+
agent_started: "agent_started";
|
|
512
|
+
agent_completed: "agent_completed";
|
|
513
|
+
workflow_completed: "workflow_completed";
|
|
514
|
+
scoring_input_ready: "scoring_input_ready";
|
|
515
|
+
red_texts_ready: "red_texts_ready";
|
|
516
|
+
result_ready: "result_ready";
|
|
517
|
+
result_persisted: "result_persisted";
|
|
518
|
+
}>;
|
|
519
|
+
agents_done: z.ZodNumber;
|
|
520
|
+
agents_total: z.ZodNumber;
|
|
521
|
+
agent_id: z.ZodOptional<z.ZodString>;
|
|
522
|
+
}, z.core.$strip>>;
|
|
523
|
+
}, z.core.$strip>;
|
|
524
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
525
|
+
id: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>, z.ZodNumber>;
|
|
526
|
+
event: z.ZodLiteral<"progress">;
|
|
527
|
+
data: z.ZodObject<{
|
|
528
|
+
percent: z.ZodNumber;
|
|
529
|
+
phase: z.ZodEnum<{
|
|
530
|
+
failed: "failed";
|
|
531
|
+
completed: "completed";
|
|
532
|
+
preparing: "preparing";
|
|
533
|
+
analyzing: "analyzing";
|
|
534
|
+
finalizing: "finalizing";
|
|
535
|
+
}>;
|
|
536
|
+
stage: z.ZodEnum<{
|
|
537
|
+
failed: "failed";
|
|
538
|
+
queued: "queued";
|
|
539
|
+
completed: "completed";
|
|
540
|
+
baseline_ready: "baseline_ready";
|
|
541
|
+
source_pages_ready: "source_pages_ready";
|
|
542
|
+
external_evidence_ready: "external_evidence_ready";
|
|
543
|
+
knowledge_evidence_ready: "knowledge_evidence_ready";
|
|
544
|
+
page_evidence_ready: "page_evidence_ready";
|
|
545
|
+
analysis_context_ready: "analysis_context_ready";
|
|
546
|
+
preparation_saved: "preparation_saved";
|
|
547
|
+
workflow_ready: "workflow_ready";
|
|
548
|
+
agent_started: "agent_started";
|
|
549
|
+
agent_completed: "agent_completed";
|
|
550
|
+
workflow_completed: "workflow_completed";
|
|
551
|
+
scoring_input_ready: "scoring_input_ready";
|
|
552
|
+
red_texts_ready: "red_texts_ready";
|
|
553
|
+
result_ready: "result_ready";
|
|
554
|
+
result_persisted: "result_persisted";
|
|
555
|
+
}>;
|
|
556
|
+
agents_done: z.ZodNumber;
|
|
557
|
+
agents_total: z.ZodNumber;
|
|
558
|
+
agent_id: z.ZodOptional<z.ZodString>;
|
|
593
559
|
}, z.core.$strip>;
|
|
594
560
|
}, z.core.$strip>, z.ZodObject<{
|
|
595
|
-
id: z.ZodNumber
|
|
561
|
+
id: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>, z.ZodNumber>;
|
|
596
562
|
event: z.ZodLiteral<"preparing_started">;
|
|
597
563
|
data: z.ZodObject<{
|
|
598
564
|
stage: z.ZodLiteral<"baseline">;
|
|
599
565
|
}, z.core.$strip>;
|
|
600
566
|
}, z.core.$strip>, z.ZodObject<{
|
|
601
|
-
id: z.ZodNumber
|
|
567
|
+
id: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>, z.ZodNumber>;
|
|
602
568
|
event: z.ZodLiteral<"preparing_progress">;
|
|
603
569
|
data: z.ZodObject<{
|
|
604
570
|
stage: z.ZodEnum<{
|
|
@@ -607,7 +573,7 @@ export declare const Step3AnalysisSseFrameSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
607
573
|
}>;
|
|
608
574
|
}, z.core.$strip>;
|
|
609
575
|
}, z.core.$strip>, z.ZodObject<{
|
|
610
|
-
id: z.ZodNumber
|
|
576
|
+
id: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>, z.ZodNumber>;
|
|
611
577
|
event: z.ZodLiteral<"preparing_done">;
|
|
612
578
|
data: z.ZodObject<{
|
|
613
579
|
evidence_count: z.ZodNumber;
|
|
@@ -615,7 +581,7 @@ export declare const Step3AnalysisSseFrameSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
615
581
|
degraded_capabilities: z.ZodArray<z.ZodString>;
|
|
616
582
|
}, z.core.$strip>;
|
|
617
583
|
}, z.core.$strip>, z.ZodObject<{
|
|
618
|
-
id: z.ZodNumber
|
|
584
|
+
id: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>, z.ZodNumber>;
|
|
619
585
|
event: z.ZodLiteral<"agent_start">;
|
|
620
586
|
data: z.ZodObject<{
|
|
621
587
|
agent_id: z.ZodString;
|
|
@@ -623,7 +589,7 @@ export declare const Step3AnalysisSseFrameSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
623
589
|
icon: z.ZodString;
|
|
624
590
|
}, z.core.$strip>;
|
|
625
591
|
}, z.core.$strip>, z.ZodObject<{
|
|
626
|
-
id: z.ZodNumber
|
|
592
|
+
id: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>, z.ZodNumber>;
|
|
627
593
|
event: z.ZodLiteral<"agent_done">;
|
|
628
594
|
data: z.ZodObject<{
|
|
629
595
|
agent_id: z.ZodString;
|
|
@@ -658,7 +624,7 @@ export declare const Step3AnalysisSseFrameSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
658
624
|
error: z.ZodOptional<z.ZodString>;
|
|
659
625
|
}, z.core.$strip>;
|
|
660
626
|
}, z.core.$strip>, z.ZodObject<{
|
|
661
|
-
id: z.ZodNumber
|
|
627
|
+
id: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>, z.ZodNumber>;
|
|
662
628
|
event: z.ZodLiteral<"done">;
|
|
663
629
|
data: z.ZodObject<{
|
|
664
630
|
agents_done: z.ZodLiteral<true>;
|
|
@@ -686,7 +652,7 @@ export declare const Step3AnalysisSseFrameSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
686
652
|
}, z.core.$strip>;
|
|
687
653
|
}, z.core.$strip>;
|
|
688
654
|
}, z.core.$strip>, z.ZodObject<{
|
|
689
|
-
id: z.ZodNumber
|
|
655
|
+
id: z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>, z.ZodNumber>;
|
|
690
656
|
event: z.ZodLiteral<"failed">;
|
|
691
657
|
data: z.ZodObject<{
|
|
692
658
|
message: z.ZodString;
|
|
@@ -6,6 +6,28 @@ export declare const RuleScoreDimensionKeySchema: z.ZodEnum<{
|
|
|
6
6
|
safe: "safe";
|
|
7
7
|
}>;
|
|
8
8
|
export type RuleScoreDimensionKey = z.infer<typeof RuleScoreDimensionKeySchema>;
|
|
9
|
+
export declare const RuleEngineInputSchema: z.ZodRecord<z.ZodEnum<{
|
|
10
|
+
trust: "trust";
|
|
11
|
+
reach: "reach";
|
|
12
|
+
convert: "convert";
|
|
13
|
+
safe: "safe";
|
|
14
|
+
}>, z.ZodObject<{
|
|
15
|
+
competitor_avg: z.ZodNumber;
|
|
16
|
+
score_items: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber, z.ZodEnum<{
|
|
17
|
+
failed: "failed";
|
|
18
|
+
partial: "partial";
|
|
19
|
+
passed: "passed";
|
|
20
|
+
}>, z.ZodObject<{
|
|
21
|
+
landing_page_mode: z.ZodEnum<{
|
|
22
|
+
none: "none";
|
|
23
|
+
intent_dynamic: "intent_dynamic";
|
|
24
|
+
static: "static";
|
|
25
|
+
}>;
|
|
26
|
+
ab_test_enabled: z.ZodBoolean;
|
|
27
|
+
}, z.core.$strict>]>>>;
|
|
28
|
+
penalty_items: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber]>>>;
|
|
29
|
+
red_texts: z.ZodArray<z.ZodString>;
|
|
30
|
+
}, z.core.$strict>>;
|
|
9
31
|
export declare const RuleScoreDimensionSchema: z.ZodObject<{
|
|
10
32
|
key: z.ZodEnum<{
|
|
11
33
|
trust: "trust";
|
|
@@ -48,7 +70,30 @@ export type RuleScoreDimension = z.infer<typeof RuleScoreDimensionSchema>;
|
|
|
48
70
|
export declare const RuleEngineScoreRecordSchema: z.ZodObject<{
|
|
49
71
|
id: z.ZodNumber;
|
|
50
72
|
task_code: z.ZodString;
|
|
51
|
-
|
|
73
|
+
is_sync: z.ZodLiteral<0>;
|
|
74
|
+
status: z.ZodLiteral<"succeeded">;
|
|
75
|
+
rules: z.ZodRecord<z.ZodEnum<{
|
|
76
|
+
trust: "trust";
|
|
77
|
+
reach: "reach";
|
|
78
|
+
convert: "convert";
|
|
79
|
+
safe: "safe";
|
|
80
|
+
}>, z.ZodObject<{
|
|
81
|
+
competitor_avg: z.ZodNumber;
|
|
82
|
+
score_items: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber, z.ZodEnum<{
|
|
83
|
+
failed: "failed";
|
|
84
|
+
partial: "partial";
|
|
85
|
+
passed: "passed";
|
|
86
|
+
}>, z.ZodObject<{
|
|
87
|
+
landing_page_mode: z.ZodEnum<{
|
|
88
|
+
none: "none";
|
|
89
|
+
intent_dynamic: "intent_dynamic";
|
|
90
|
+
static: "static";
|
|
91
|
+
}>;
|
|
92
|
+
ab_test_enabled: z.ZodBoolean;
|
|
93
|
+
}, z.core.$strict>]>>>;
|
|
94
|
+
penalty_items: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber]>>>;
|
|
95
|
+
red_texts: z.ZodArray<z.ZodString>;
|
|
96
|
+
}, z.core.$strict>>;
|
|
52
97
|
scores_list: z.ZodObject<{
|
|
53
98
|
overview: z.ZodObject<{
|
|
54
99
|
pass_scores: z.ZodObject<{
|
|
@@ -119,7 +164,7 @@ export declare const RuleEngineScoreRecordSchema: z.ZodObject<{
|
|
|
119
164
|
}, z.core.$strip>>;
|
|
120
165
|
}, z.core.$strip>;
|
|
121
166
|
created_at: z.ZodString;
|
|
122
|
-
|
|
167
|
+
updated_at: z.ZodString;
|
|
123
168
|
}, z.core.$strip>;
|
|
124
169
|
export type RuleEngineScoreRecord = z.infer<typeof RuleEngineScoreRecordSchema>;
|
|
125
170
|
export declare const Step4DiagnosisResponseSchema: z.ZodObject<{
|
|
@@ -127,7 +172,30 @@ export declare const Step4DiagnosisResponseSchema: z.ZodObject<{
|
|
|
127
172
|
data: z.ZodObject<{
|
|
128
173
|
id: z.ZodNumber;
|
|
129
174
|
task_code: z.ZodString;
|
|
130
|
-
|
|
175
|
+
is_sync: z.ZodLiteral<0>;
|
|
176
|
+
status: z.ZodLiteral<"succeeded">;
|
|
177
|
+
rules: z.ZodRecord<z.ZodEnum<{
|
|
178
|
+
trust: "trust";
|
|
179
|
+
reach: "reach";
|
|
180
|
+
convert: "convert";
|
|
181
|
+
safe: "safe";
|
|
182
|
+
}>, z.ZodObject<{
|
|
183
|
+
competitor_avg: z.ZodNumber;
|
|
184
|
+
score_items: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber, z.ZodEnum<{
|
|
185
|
+
failed: "failed";
|
|
186
|
+
partial: "partial";
|
|
187
|
+
passed: "passed";
|
|
188
|
+
}>, z.ZodObject<{
|
|
189
|
+
landing_page_mode: z.ZodEnum<{
|
|
190
|
+
none: "none";
|
|
191
|
+
intent_dynamic: "intent_dynamic";
|
|
192
|
+
static: "static";
|
|
193
|
+
}>;
|
|
194
|
+
ab_test_enabled: z.ZodBoolean;
|
|
195
|
+
}, z.core.$strict>]>>>;
|
|
196
|
+
penalty_items: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber]>>>;
|
|
197
|
+
red_texts: z.ZodArray<z.ZodString>;
|
|
198
|
+
}, z.core.$strict>>;
|
|
131
199
|
scores_list: z.ZodObject<{
|
|
132
200
|
overview: z.ZodObject<{
|
|
133
201
|
pass_scores: z.ZodObject<{
|
|
@@ -198,7 +266,7 @@ export declare const Step4DiagnosisResponseSchema: z.ZodObject<{
|
|
|
198
266
|
}, z.core.$strip>>;
|
|
199
267
|
}, z.core.$strip>;
|
|
200
268
|
created_at: z.ZodString;
|
|
201
|
-
|
|
269
|
+
updated_at: z.ZodString;
|
|
202
270
|
}, z.core.$strip>;
|
|
203
271
|
message: z.ZodString;
|
|
204
272
|
}, z.core.$strip>;
|