@vcp-dev/contracts 0.10.6 → 0.10.7

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/index.d.ts CHANGED
@@ -1,8 +1,10 @@
1
1
  import { z } from "zod";
2
+ export { BlockInteractionSchema, type BlockInteraction, } from "./block-interaction.js";
2
3
  import { type TemplateVersion } from "./template-version.js";
3
4
  export { ApiResponseSchema } from "./api-response.js";
4
5
  export type { ApiResponse } from "./api-response.js";
5
6
  export * from "./deployment-progress.js";
7
+ export * from "./sitemap-resolver-answer-sheet.js";
6
8
  export * from "./step5-strategy.js";
7
9
  export * from "./step2-site-initialization.js";
8
10
  export * from "./step2-page-selection.js";
@@ -46,6 +48,7 @@ export * from "./user-facing-copy.js";
46
48
  export * from "./site-edit-version.js";
47
49
  export * from "./site-locale.js";
48
50
  export * from "./subsite-localization-input.js";
51
+ export * from "./subsite-copy-estimate.js";
49
52
  export * from "./subsite-sync-diff.js";
50
53
  export * from "./subsite-visible-text-export.js";
51
54
  export * from "./subsite-mount-path.js";
@@ -54,6 +57,7 @@ export * from "./template-upgrade-state.js";
54
57
  export * from "./template-upgrade-observability.js";
55
58
  export * from "./site-preview.js";
56
59
  export * from "./site-workflow.js";
60
+ export * from "./site-workflow-progress.js";
57
61
  export * from "./site-build.js";
58
62
  export * from "./site-workflow-completions.js";
59
63
  export * from "./customer-materials.js";
@@ -74,10 +78,12 @@ export * from "./application-template.js";
74
78
  export * from "./cms-application-provisioning.js";
75
79
  export * from "./connect-form.js";
76
80
  export * from "./form-design.js";
81
+ export * from "./form-metadata.js";
77
82
  export * from "./site-localization-fields.js";
78
83
  export * from "./site-localization-scope.js";
79
84
  export * from "./cms-collection-binding.js";
80
85
  export * from "./cms-public-url.js";
86
+ export * from "./cms-request-context.js";
81
87
  export * from "./cms-site-id.js";
82
88
  export * from "./cms-page-directory.js";
83
89
  export * from "./crawler-task-service.js";
@@ -88,10 +94,12 @@ export * from "./input-context-bundle.js";
88
94
  export * from "./knowledge-category.js";
89
95
  export * from "./knowledge-source-readiness.js";
90
96
  export * from "./workspace-resource-operation.js";
97
+ export * from "./workspace-file-mutation-tools.js";
91
98
  export * from "./launcher-prompt-templates.js";
92
99
  export * from "./custom-domain.js";
93
100
  export * from "./site-publish-domain.js";
94
101
  export * from "./google-search-console.js";
102
+ export * from "./google-analytics.js";
95
103
  export * from "./site-publish-workflow.js";
96
104
  export * from "./e2b-preview-proxy.js";
97
105
  export * from "./generation-ledger.js";
@@ -872,6 +880,8 @@ export declare const SITE_PLANNING_FROZEN_ERROR_CODE: "SITE_PLANNING_INPUT_FROZE
872
880
  export declare const SITE_PLANNING_LOCKED_ERROR_CODE: "SITE_PLANNING_LOCKED";
873
881
  export declare const SITE_STRUCTURE_CONFIRMATION_REQUIRED_ERROR_CODE: "SITE_STRUCTURE_CONFIRMATION_REQUIRED";
874
882
  export declare const SITE_STRUCTURE_CONFIRMATION_STALE_ERROR_CODE: "SITE_STRUCTURE_CONFIRMATION_STALE";
883
+ export declare const SITE_SITEMAP_DRAFT_STALE_ERROR_CODE: "SITE_SITEMAP_DRAFT_STALE";
884
+ export declare const SITE_SITEMAP_DRAFT_OPERATION_MISMATCH_ERROR_CODE: "SITE_SITEMAP_DRAFT_OPERATION_MISMATCH";
875
885
  export declare const SITE_STRUCTURE_INVALID_ERROR_CODE: "SITE_STRUCTURE_INVALID";
876
886
  export declare const CreateSiteInputSchema: z.ZodObject<{
877
887
  tenant_id: z.ZodString;
@@ -995,7 +1005,7 @@ export type SaveBriefDraftRequest = z.infer<typeof SaveBriefDraftRequestSchema>;
995
1005
  export declare const ExternalSyncSiteRequestSchema: z.ZodObject<{
996
1006
  tenant_id: z.ZodString;
997
1007
  site_id: z.ZodOptional<z.ZodUUID>;
998
- site_url: z.ZodString;
1008
+ site_url: z.ZodOptional<z.ZodString>;
999
1009
  site_name: z.ZodOptional<z.ZodString>;
1000
1010
  }, z.core.$strip>;
1001
1011
  export type ExternalSyncSiteRequest = z.infer<typeof ExternalSyncSiteRequestSchema>;
@@ -1200,7 +1210,7 @@ export declare const ExternalSyncSiteResponseSchema: z.ZodObject<{
1200
1210
  code: z.ZodNumber;
1201
1211
  data: z.ZodObject<{
1202
1212
  site_id: z.ZodUUID;
1203
- site_url: z.ZodString;
1213
+ site_url: z.ZodNullable<z.ZodString>;
1204
1214
  }, z.core.$strip>;
1205
1215
  message: z.ZodString;
1206
1216
  }, z.core.$strip>;
@@ -2030,8 +2040,8 @@ export type StartFillInResponse = z.infer<typeof StartFillInResponseSchema>;
2030
2040
  * `landing_page` = 一个落地页一条;`external` = 外部编排系统的会话。
2031
2041
  */
2032
2042
  export declare const AgentThreadKindSchema: z.ZodEnum<{
2033
- landing_page: "landing_page";
2034
2043
  external: "external";
2044
+ landing_page: "landing_page";
2035
2045
  workspace: "workspace";
2036
2046
  }>;
2037
2047
  export type AgentThreadKind = z.infer<typeof AgentThreadKindSchema>;
@@ -2051,8 +2061,8 @@ export declare const AgentThreadRecordSchema: z.ZodObject<{
2051
2061
  tenant_id: z.ZodString;
2052
2062
  site_id: z.ZodUUID;
2053
2063
  kind: z.ZodEnum<{
2054
- landing_page: "landing_page";
2055
2064
  external: "external";
2065
+ landing_page: "landing_page";
2056
2066
  workspace: "workspace";
2057
2067
  }>;
2058
2068
  origin: z.ZodEnum<{
@@ -2114,8 +2124,8 @@ export declare const AgentRunContextResponseSchema: z.ZodObject<{
2114
2124
  tenant_id: z.ZodString;
2115
2125
  site_id: z.ZodUUID;
2116
2126
  kind: z.ZodEnum<{
2117
- landing_page: "landing_page";
2118
2127
  external: "external";
2128
+ landing_page: "landing_page";
2119
2129
  workspace: "workspace";
2120
2130
  }>;
2121
2131
  origin: z.ZodEnum<{
@@ -3448,6 +3458,7 @@ export type RestoreSiteSnapshotResponse = z.infer<typeof RestoreSiteSnapshotResp
3448
3458
  export declare const PrepareVersionPreviewRequestSchema: z.ZodObject<{
3449
3459
  snapshot_id: z.ZodUUID;
3450
3460
  force_rehydrate: z.ZodOptional<z.ZodBoolean>;
3461
+ recovery_required: z.ZodOptional<z.ZodBoolean>;
3451
3462
  }, z.core.$strip>;
3452
3463
  export type PrepareVersionPreviewRequest = z.infer<typeof PrepareVersionPreviewRequestSchema>;
3453
3464
  export declare const PrepareVersionPreviewResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -4618,6 +4629,21 @@ export declare const BlockGenerationContextSchema: z.ZodObject<{
4618
4629
  visualIntent: z.ZodString;
4619
4630
  mediaIntent: z.ZodString;
4620
4631
  motionIntent: z.ZodString;
4632
+ interaction: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
4633
+ autoplay: z.ZodOptional<z.ZodBoolean>;
4634
+ intervalMs: z.ZodOptional<z.ZodNumber>;
4635
+ loop: z.ZodOptional<z.ZodBoolean>;
4636
+ kind: z.ZodLiteral<"media-carousel">;
4637
+ presentation: z.ZodOptional<z.ZodEnum<{
4638
+ flat: "flat";
4639
+ angled: "angled";
4640
+ }>>;
4641
+ }, z.core.$strict>, z.ZodObject<{
4642
+ autoplay: z.ZodOptional<z.ZodBoolean>;
4643
+ intervalMs: z.ZodOptional<z.ZodNumber>;
4644
+ loop: z.ZodOptional<z.ZodBoolean>;
4645
+ kind: z.ZodLiteral<"category-carousel">;
4646
+ }, z.core.$strict>], "kind">>;
4621
4647
  copyTone: z.ZodString;
4622
4648
  displayTitle: z.ZodOptional<z.ZodString>;
4623
4649
  displayDescription: z.ZodOptional<z.ZodString>;
@@ -4896,6 +4922,21 @@ export declare const DesignPlanSchema: z.ZodObject<{
4896
4922
  visualIntent: z.ZodString;
4897
4923
  mediaIntent: z.ZodString;
4898
4924
  motionIntent: z.ZodString;
4925
+ interaction: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
4926
+ autoplay: z.ZodOptional<z.ZodBoolean>;
4927
+ intervalMs: z.ZodOptional<z.ZodNumber>;
4928
+ loop: z.ZodOptional<z.ZodBoolean>;
4929
+ kind: z.ZodLiteral<"media-carousel">;
4930
+ presentation: z.ZodOptional<z.ZodEnum<{
4931
+ flat: "flat";
4932
+ angled: "angled";
4933
+ }>>;
4934
+ }, z.core.$strict>, z.ZodObject<{
4935
+ autoplay: z.ZodOptional<z.ZodBoolean>;
4936
+ intervalMs: z.ZodOptional<z.ZodNumber>;
4937
+ loop: z.ZodOptional<z.ZodBoolean>;
4938
+ kind: z.ZodLiteral<"category-carousel">;
4939
+ }, z.core.$strict>], "kind">>;
4899
4940
  copyTone: z.ZodString;
4900
4941
  displayTitle: z.ZodOptional<z.ZodString>;
4901
4942
  displayDescription: z.ZodOptional<z.ZodString>;
@@ -5054,6 +5095,21 @@ export declare const DesignPlanPatchSchema: z.ZodObject<{
5054
5095
  avoidRepeating: z.ZodOptional<z.ZodArray<z.ZodString>>;
5055
5096
  industryRecipeRefs: z.ZodOptional<z.ZodArray<z.ZodString>>;
5056
5097
  templateRecipeRefs: z.ZodOptional<z.ZodArray<z.ZodString>>;
5098
+ interaction: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
5099
+ autoplay: z.ZodOptional<z.ZodBoolean>;
5100
+ intervalMs: z.ZodOptional<z.ZodNumber>;
5101
+ loop: z.ZodOptional<z.ZodBoolean>;
5102
+ kind: z.ZodLiteral<"media-carousel">;
5103
+ presentation: z.ZodOptional<z.ZodEnum<{
5104
+ flat: "flat";
5105
+ angled: "angled";
5106
+ }>>;
5107
+ }, z.core.$strict>, z.ZodObject<{
5108
+ autoplay: z.ZodOptional<z.ZodBoolean>;
5109
+ intervalMs: z.ZodOptional<z.ZodNumber>;
5110
+ loop: z.ZodOptional<z.ZodBoolean>;
5111
+ kind: z.ZodLiteral<"category-carousel">;
5112
+ }, z.core.$strict>], "kind">>>;
5057
5113
  }, z.core.$strip>>>;
5058
5114
  branding: z.ZodOptional<z.ZodObject<{
5059
5115
  siteName: z.ZodString;
@@ -5413,7 +5469,7 @@ export declare const SitemapSchema: z.ZodObject<{
5413
5469
  requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
5414
5470
  }, z.core.$strip>>;
5415
5471
  }, z.core.$strip>>;
5416
- seoKeywords: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
5472
+ seoKeywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
5417
5473
  id: z.ZodString;
5418
5474
  keyword: z.ZodString;
5419
5475
  business_id: z.ZodString;
@@ -5445,42 +5501,7 @@ export declare const SitemapSchema: z.ZodObject<{
5445
5501
  variants: z.ZodArray<z.ZodString>;
5446
5502
  source: z.ZodLiteral<"semrush">;
5447
5503
  source_evidence: z.ZodArray<z.ZodString>;
5448
- }, z.core.$strict>>, z.ZodArray<z.ZodObject<{
5449
- id: z.ZodString;
5450
- keyword: z.ZodString;
5451
- normalized_keyword: z.ZodString;
5452
- intc: z.ZodEnum<{
5453
- C: "C";
5454
- I: "I";
5455
- N: "N";
5456
- T: "T";
5457
- }>;
5458
- keyword_type: z.ZodString;
5459
- intent_strength: z.ZodEnum<{
5460
- high: "high";
5461
- medium: "medium";
5462
- low: "low";
5463
- }>;
5464
- monthly_volume: z.ZodNullable<z.ZodNumber>;
5465
- keyword_difficulty: z.ZodNullable<z.ZodNumber>;
5466
- fit: z.ZodNullable<z.ZodNumber>;
5467
- sem_cpc: z.ZodNullable<z.ZodNumber>;
5468
- currency: z.ZodNullable<z.ZodString>;
5469
- landing_page: z.ZodString;
5470
- content_format: z.ZodString;
5471
- priority: z.ZodEnum<{
5472
- P0: "P0";
5473
- P1: "P1";
5474
- P2: "P2";
5475
- P3: "P3";
5476
- }>;
5477
- source: z.ZodEnum<{
5478
- semrush: "semrush";
5479
- step5_generation: "step5_generation";
5480
- }>;
5481
- source_market: z.ZodString;
5482
- metric_timestamp: z.ZodNullable<z.ZodString>;
5483
- }, z.core.$strict>>]>>;
5504
+ }, z.core.$strict>>>;
5484
5505
  }, z.core.$strict>;
5485
5506
  export type Sitemap = z.infer<typeof SitemapSchema>;
5486
5507
  export declare const SitemapDraftSchema: z.ZodObject<{
@@ -5604,7 +5625,7 @@ export declare const SitemapDraftSchema: z.ZodObject<{
5604
5625
  requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
5605
5626
  }, z.core.$strip>>;
5606
5627
  }, z.core.$strip>>;
5607
- seoKeywords: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
5628
+ seoKeywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
5608
5629
  id: z.ZodString;
5609
5630
  keyword: z.ZodString;
5610
5631
  business_id: z.ZodString;
@@ -5636,42 +5657,7 @@ export declare const SitemapDraftSchema: z.ZodObject<{
5636
5657
  variants: z.ZodArray<z.ZodString>;
5637
5658
  source: z.ZodLiteral<"semrush">;
5638
5659
  source_evidence: z.ZodArray<z.ZodString>;
5639
- }, z.core.$strict>>, z.ZodArray<z.ZodObject<{
5640
- id: z.ZodString;
5641
- keyword: z.ZodString;
5642
- normalized_keyword: z.ZodString;
5643
- intc: z.ZodEnum<{
5644
- C: "C";
5645
- I: "I";
5646
- N: "N";
5647
- T: "T";
5648
- }>;
5649
- keyword_type: z.ZodString;
5650
- intent_strength: z.ZodEnum<{
5651
- high: "high";
5652
- medium: "medium";
5653
- low: "low";
5654
- }>;
5655
- monthly_volume: z.ZodNullable<z.ZodNumber>;
5656
- keyword_difficulty: z.ZodNullable<z.ZodNumber>;
5657
- fit: z.ZodNullable<z.ZodNumber>;
5658
- sem_cpc: z.ZodNullable<z.ZodNumber>;
5659
- currency: z.ZodNullable<z.ZodString>;
5660
- landing_page: z.ZodString;
5661
- content_format: z.ZodString;
5662
- priority: z.ZodEnum<{
5663
- P0: "P0";
5664
- P1: "P1";
5665
- P2: "P2";
5666
- P3: "P3";
5667
- }>;
5668
- source: z.ZodEnum<{
5669
- semrush: "semrush";
5670
- step5_generation: "step5_generation";
5671
- }>;
5672
- source_market: z.ZodString;
5673
- metric_timestamp: z.ZodNullable<z.ZodString>;
5674
- }, z.core.$strict>>]>>;
5660
+ }, z.core.$strict>>>;
5675
5661
  pages: z.ZodArray<z.ZodObject<{
5676
5662
  id: z.ZodString;
5677
5663
  title: z.ZodString;
@@ -5843,7 +5829,7 @@ export declare const SitemapResolverRequestSchema: z.ZodObject<{
5843
5829
  requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
5844
5830
  }, z.core.$strip>>;
5845
5831
  }, z.core.$strip>>;
5846
- seoKeywords: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
5832
+ seoKeywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
5847
5833
  id: z.ZodString;
5848
5834
  keyword: z.ZodString;
5849
5835
  business_id: z.ZodString;
@@ -5875,42 +5861,7 @@ export declare const SitemapResolverRequestSchema: z.ZodObject<{
5875
5861
  variants: z.ZodArray<z.ZodString>;
5876
5862
  source: z.ZodLiteral<"semrush">;
5877
5863
  source_evidence: z.ZodArray<z.ZodString>;
5878
- }, z.core.$strict>>, z.ZodArray<z.ZodObject<{
5879
- id: z.ZodString;
5880
- keyword: z.ZodString;
5881
- normalized_keyword: z.ZodString;
5882
- intc: z.ZodEnum<{
5883
- C: "C";
5884
- I: "I";
5885
- N: "N";
5886
- T: "T";
5887
- }>;
5888
- keyword_type: z.ZodString;
5889
- intent_strength: z.ZodEnum<{
5890
- high: "high";
5891
- medium: "medium";
5892
- low: "low";
5893
- }>;
5894
- monthly_volume: z.ZodNullable<z.ZodNumber>;
5895
- keyword_difficulty: z.ZodNullable<z.ZodNumber>;
5896
- fit: z.ZodNullable<z.ZodNumber>;
5897
- sem_cpc: z.ZodNullable<z.ZodNumber>;
5898
- currency: z.ZodNullable<z.ZodString>;
5899
- landing_page: z.ZodString;
5900
- content_format: z.ZodString;
5901
- priority: z.ZodEnum<{
5902
- P0: "P0";
5903
- P1: "P1";
5904
- P2: "P2";
5905
- P3: "P3";
5906
- }>;
5907
- source: z.ZodEnum<{
5908
- semrush: "semrush";
5909
- step5_generation: "step5_generation";
5910
- }>;
5911
- source_market: z.ZodString;
5912
- metric_timestamp: z.ZodNullable<z.ZodString>;
5913
- }, z.core.$strict>>]>>;
5864
+ }, z.core.$strict>>>;
5914
5865
  pages: z.ZodArray<z.ZodObject<{
5915
5866
  id: z.ZodString;
5916
5867
  title: z.ZodString;
@@ -5959,20 +5910,6 @@ export declare const SitemapResolverRequestSchema: z.ZodObject<{
5959
5910
  reserved_slugs: z.ZodOptional<z.ZodArray<z.ZodString>>;
5960
5911
  }, z.core.$strict>;
5961
5912
  export type SitemapResolverRequest = z.infer<typeof SitemapResolverRequestSchema>;
5962
- export declare const SitemapResolverModelOutputSchema: z.ZodObject<{
5963
- pages: z.ZodArray<z.ZodObject<{
5964
- page_id: z.ZodString;
5965
- slug: z.ZodOptional<z.ZodString>;
5966
- show_in_header: z.ZodOptional<z.ZodBoolean>;
5967
- show_in_footer: z.ZodOptional<z.ZodBoolean>;
5968
- }, z.core.$strict>>;
5969
- blocks: z.ZodArray<z.ZodObject<{
5970
- page_id: z.ZodString;
5971
- block_id: z.ZodString;
5972
- type: z.ZodString;
5973
- }, z.core.$strict>>;
5974
- }, z.core.$strict>;
5975
- export type SitemapResolverModelOutput = z.infer<typeof SitemapResolverModelOutputSchema>;
5976
5913
  export declare const SitemapResolverResponseSchema: z.ZodObject<{
5977
5914
  sitemap: z.ZodObject<{
5978
5915
  site_name: z.ZodOptional<z.ZodString>;
@@ -6124,7 +6061,7 @@ export declare const SitemapResolverResponseSchema: z.ZodObject<{
6124
6061
  requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
6125
6062
  }, z.core.$strip>>;
6126
6063
  }, z.core.$strip>>;
6127
- seoKeywords: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
6064
+ seoKeywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
6128
6065
  id: z.ZodString;
6129
6066
  keyword: z.ZodString;
6130
6067
  business_id: z.ZodString;
@@ -6156,42 +6093,7 @@ export declare const SitemapResolverResponseSchema: z.ZodObject<{
6156
6093
  variants: z.ZodArray<z.ZodString>;
6157
6094
  source: z.ZodLiteral<"semrush">;
6158
6095
  source_evidence: z.ZodArray<z.ZodString>;
6159
- }, z.core.$strict>>, z.ZodArray<z.ZodObject<{
6160
- id: z.ZodString;
6161
- keyword: z.ZodString;
6162
- normalized_keyword: z.ZodString;
6163
- intc: z.ZodEnum<{
6164
- C: "C";
6165
- I: "I";
6166
- N: "N";
6167
- T: "T";
6168
- }>;
6169
- keyword_type: z.ZodString;
6170
- intent_strength: z.ZodEnum<{
6171
- high: "high";
6172
- medium: "medium";
6173
- low: "low";
6174
- }>;
6175
- monthly_volume: z.ZodNullable<z.ZodNumber>;
6176
- keyword_difficulty: z.ZodNullable<z.ZodNumber>;
6177
- fit: z.ZodNullable<z.ZodNumber>;
6178
- sem_cpc: z.ZodNullable<z.ZodNumber>;
6179
- currency: z.ZodNullable<z.ZodString>;
6180
- landing_page: z.ZodString;
6181
- content_format: z.ZodString;
6182
- priority: z.ZodEnum<{
6183
- P0: "P0";
6184
- P1: "P1";
6185
- P2: "P2";
6186
- P3: "P3";
6187
- }>;
6188
- source: z.ZodEnum<{
6189
- semrush: "semrush";
6190
- step5_generation: "step5_generation";
6191
- }>;
6192
- source_market: z.ZodString;
6193
- metric_timestamp: z.ZodNullable<z.ZodString>;
6194
- }, z.core.$strict>>]>>;
6096
+ }, z.core.$strict>>>;
6195
6097
  }, z.core.$strict>;
6196
6098
  }, z.core.$strict>;
6197
6099
  export type SitemapResolverResponse = z.infer<typeof SitemapResolverResponseSchema>;
@@ -6559,15 +6461,12 @@ export declare const Step5SitemapDecisionSchema: z.ZodObject<{
6559
6461
  product: "product";
6560
6462
  keywords: "keywords";
6561
6463
  market: "market";
6562
- content: "content";
6563
6464
  language: "language";
6564
6465
  persona: "persona";
6565
6466
  brand: "brand";
6566
6467
  competition: "competition";
6567
6468
  structure: "structure";
6568
6469
  risk: "risk";
6569
- seogeo: "seogeo";
6570
- conversion: "conversion";
6571
6470
  }>;
6572
6471
  title: z.ZodString;
6573
6472
  selected_option_id: z.ZodUnion<readonly [z.ZodEnum<{
@@ -6612,15 +6511,12 @@ export declare const Step5SitemapSourceSchema: z.ZodObject<{
6612
6511
  product: "product";
6613
6512
  keywords: "keywords";
6614
6513
  market: "market";
6615
- content: "content";
6616
6514
  language: "language";
6617
6515
  persona: "persona";
6618
6516
  brand: "brand";
6619
6517
  competition: "competition";
6620
6518
  structure: "structure";
6621
6519
  risk: "risk";
6622
- seogeo: "seogeo";
6623
- conversion: "conversion";
6624
6520
  }>;
6625
6521
  title: z.ZodString;
6626
6522
  selected_option_id: z.ZodUnion<readonly [z.ZodEnum<{
@@ -6649,42 +6545,6 @@ export declare const Step5SitemapSourceSchema: z.ZodObject<{
6649
6545
  label: z.ZodString;
6650
6546
  }, z.core.$strict>>>;
6651
6547
  }, z.core.$strict>>;
6652
- seo_keywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
6653
- id: z.ZodString;
6654
- keyword: z.ZodString;
6655
- normalized_keyword: z.ZodString;
6656
- intc: z.ZodEnum<{
6657
- C: "C";
6658
- I: "I";
6659
- N: "N";
6660
- T: "T";
6661
- }>;
6662
- keyword_type: z.ZodString;
6663
- intent_strength: z.ZodEnum<{
6664
- high: "high";
6665
- medium: "medium";
6666
- low: "low";
6667
- }>;
6668
- monthly_volume: z.ZodNullable<z.ZodNumber>;
6669
- keyword_difficulty: z.ZodNullable<z.ZodNumber>;
6670
- fit: z.ZodNullable<z.ZodNumber>;
6671
- sem_cpc: z.ZodNullable<z.ZodNumber>;
6672
- currency: z.ZodNullable<z.ZodString>;
6673
- landing_page: z.ZodString;
6674
- content_format: z.ZodString;
6675
- priority: z.ZodEnum<{
6676
- P0: "P0";
6677
- P1: "P1";
6678
- P2: "P2";
6679
- P3: "P3";
6680
- }>;
6681
- source: z.ZodEnum<{
6682
- semrush: "semrush";
6683
- step5_generation: "step5_generation";
6684
- }>;
6685
- source_market: z.ZodString;
6686
- metric_timestamp: z.ZodNullable<z.ZodString>;
6687
- }, z.core.$strict>>>;
6688
6548
  enterprise_keywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
6689
6549
  id: z.ZodString;
6690
6550
  keyword: z.ZodString;
@@ -7052,7 +6912,6 @@ export declare const SitemapRunInputSchema: z.ZodObject<{
7052
6912
  current_markets: z.ZodOptional<z.ZodString>;
7053
6913
  qualifications: z.ZodOptional<z.ZodString>;
7054
6914
  }, z.core.$strict>>;
7055
- extra_requirement: z.ZodOptional<z.ZodString>;
7056
6915
  migration_products_enabled: z.ZodOptional<z.ZodBoolean>;
7057
6916
  }, z.core.$strip>;
7058
6917
  export type SitemapRunInput = z.infer<typeof SitemapRunInputSchema>;
@@ -7302,7 +7161,6 @@ export declare const Step5SitemapRunInputSchema: z.ZodObject<{
7302
7161
  }, z.core.$strip>>;
7303
7162
  }, z.core.$strip>>;
7304
7163
  }, z.core.$strip>>;
7305
- extra_requirement: z.ZodOptional<z.ZodString>;
7306
7164
  migration_products_enabled: z.ZodOptional<z.ZodBoolean>;
7307
7165
  source: z.ZodObject<{
7308
7166
  kind: z.ZodLiteral<"step5_strategy">;
@@ -7315,15 +7173,12 @@ export declare const Step5SitemapRunInputSchema: z.ZodObject<{
7315
7173
  product: "product";
7316
7174
  keywords: "keywords";
7317
7175
  market: "market";
7318
- content: "content";
7319
7176
  language: "language";
7320
7177
  persona: "persona";
7321
7178
  brand: "brand";
7322
7179
  competition: "competition";
7323
7180
  structure: "structure";
7324
7181
  risk: "risk";
7325
- seogeo: "seogeo";
7326
- conversion: "conversion";
7327
7182
  }>;
7328
7183
  title: z.ZodString;
7329
7184
  selected_option_id: z.ZodUnion<readonly [z.ZodEnum<{
@@ -7352,42 +7207,6 @@ export declare const Step5SitemapRunInputSchema: z.ZodObject<{
7352
7207
  label: z.ZodString;
7353
7208
  }, z.core.$strict>>>;
7354
7209
  }, z.core.$strict>>;
7355
- seo_keywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
7356
- id: z.ZodString;
7357
- keyword: z.ZodString;
7358
- normalized_keyword: z.ZodString;
7359
- intc: z.ZodEnum<{
7360
- C: "C";
7361
- I: "I";
7362
- N: "N";
7363
- T: "T";
7364
- }>;
7365
- keyword_type: z.ZodString;
7366
- intent_strength: z.ZodEnum<{
7367
- high: "high";
7368
- medium: "medium";
7369
- low: "low";
7370
- }>;
7371
- monthly_volume: z.ZodNullable<z.ZodNumber>;
7372
- keyword_difficulty: z.ZodNullable<z.ZodNumber>;
7373
- fit: z.ZodNullable<z.ZodNumber>;
7374
- sem_cpc: z.ZodNullable<z.ZodNumber>;
7375
- currency: z.ZodNullable<z.ZodString>;
7376
- landing_page: z.ZodString;
7377
- content_format: z.ZodString;
7378
- priority: z.ZodEnum<{
7379
- P0: "P0";
7380
- P1: "P1";
7381
- P2: "P2";
7382
- P3: "P3";
7383
- }>;
7384
- source: z.ZodEnum<{
7385
- semrush: "semrush";
7386
- step5_generation: "step5_generation";
7387
- }>;
7388
- source_market: z.ZodString;
7389
- metric_timestamp: z.ZodNullable<z.ZodString>;
7390
- }, z.core.$strict>>>;
7391
7210
  enterprise_keywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
7392
7211
  id: z.ZodString;
7393
7212
  keyword: z.ZodString;
@@ -7757,7 +7576,6 @@ export declare const SitemapGenerationInputSchema: z.ZodUnion<readonly [z.ZodObj
7757
7576
  current_markets: z.ZodOptional<z.ZodString>;
7758
7577
  qualifications: z.ZodOptional<z.ZodString>;
7759
7578
  }, z.core.$strict>>;
7760
- extra_requirement: z.ZodOptional<z.ZodString>;
7761
7579
  migration_products_enabled: z.ZodOptional<z.ZodBoolean>;
7762
7580
  }, z.core.$strip>, z.ZodObject<{
7763
7581
  site_id: z.ZodUUID;
@@ -8001,7 +7819,6 @@ export declare const SitemapGenerationInputSchema: z.ZodUnion<readonly [z.ZodObj
8001
7819
  }, z.core.$strip>>;
8002
7820
  }, z.core.$strip>>;
8003
7821
  }, z.core.$strip>>;
8004
- extra_requirement: z.ZodOptional<z.ZodString>;
8005
7822
  migration_products_enabled: z.ZodOptional<z.ZodBoolean>;
8006
7823
  source: z.ZodObject<{
8007
7824
  kind: z.ZodLiteral<"step5_strategy">;
@@ -8014,15 +7831,12 @@ export declare const SitemapGenerationInputSchema: z.ZodUnion<readonly [z.ZodObj
8014
7831
  product: "product";
8015
7832
  keywords: "keywords";
8016
7833
  market: "market";
8017
- content: "content";
8018
7834
  language: "language";
8019
7835
  persona: "persona";
8020
7836
  brand: "brand";
8021
7837
  competition: "competition";
8022
7838
  structure: "structure";
8023
7839
  risk: "risk";
8024
- seogeo: "seogeo";
8025
- conversion: "conversion";
8026
7840
  }>;
8027
7841
  title: z.ZodString;
8028
7842
  selected_option_id: z.ZodUnion<readonly [z.ZodEnum<{
@@ -8051,42 +7865,6 @@ export declare const SitemapGenerationInputSchema: z.ZodUnion<readonly [z.ZodObj
8051
7865
  label: z.ZodString;
8052
7866
  }, z.core.$strict>>>;
8053
7867
  }, z.core.$strict>>;
8054
- seo_keywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
8055
- id: z.ZodString;
8056
- keyword: z.ZodString;
8057
- normalized_keyword: z.ZodString;
8058
- intc: z.ZodEnum<{
8059
- C: "C";
8060
- I: "I";
8061
- N: "N";
8062
- T: "T";
8063
- }>;
8064
- keyword_type: z.ZodString;
8065
- intent_strength: z.ZodEnum<{
8066
- high: "high";
8067
- medium: "medium";
8068
- low: "low";
8069
- }>;
8070
- monthly_volume: z.ZodNullable<z.ZodNumber>;
8071
- keyword_difficulty: z.ZodNullable<z.ZodNumber>;
8072
- fit: z.ZodNullable<z.ZodNumber>;
8073
- sem_cpc: z.ZodNullable<z.ZodNumber>;
8074
- currency: z.ZodNullable<z.ZodString>;
8075
- landing_page: z.ZodString;
8076
- content_format: z.ZodString;
8077
- priority: z.ZodEnum<{
8078
- P0: "P0";
8079
- P1: "P1";
8080
- P2: "P2";
8081
- P3: "P3";
8082
- }>;
8083
- source: z.ZodEnum<{
8084
- semrush: "semrush";
8085
- step5_generation: "step5_generation";
8086
- }>;
8087
- source_market: z.ZodString;
8088
- metric_timestamp: z.ZodNullable<z.ZodString>;
8089
- }, z.core.$strict>>>;
8090
7868
  enterprise_keywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
8091
7869
  id: z.ZodString;
8092
7870
  keyword: z.ZodString;
@@ -8321,7 +8099,7 @@ export declare const SitemapStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObj
8321
8099
  requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
8322
8100
  }, z.core.$strip>>;
8323
8101
  }, z.core.$strip>>;
8324
- seoKeywords: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
8102
+ seoKeywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
8325
8103
  id: z.ZodString;
8326
8104
  keyword: z.ZodString;
8327
8105
  business_id: z.ZodString;
@@ -8353,42 +8131,7 @@ export declare const SitemapStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObj
8353
8131
  variants: z.ZodArray<z.ZodString>;
8354
8132
  source: z.ZodLiteral<"semrush">;
8355
8133
  source_evidence: z.ZodArray<z.ZodString>;
8356
- }, z.core.$strict>>, z.ZodArray<z.ZodObject<{
8357
- id: z.ZodString;
8358
- keyword: z.ZodString;
8359
- normalized_keyword: z.ZodString;
8360
- intc: z.ZodEnum<{
8361
- C: "C";
8362
- I: "I";
8363
- N: "N";
8364
- T: "T";
8365
- }>;
8366
- keyword_type: z.ZodString;
8367
- intent_strength: z.ZodEnum<{
8368
- high: "high";
8369
- medium: "medium";
8370
- low: "low";
8371
- }>;
8372
- monthly_volume: z.ZodNullable<z.ZodNumber>;
8373
- keyword_difficulty: z.ZodNullable<z.ZodNumber>;
8374
- fit: z.ZodNullable<z.ZodNumber>;
8375
- sem_cpc: z.ZodNullable<z.ZodNumber>;
8376
- currency: z.ZodNullable<z.ZodString>;
8377
- landing_page: z.ZodString;
8378
- content_format: z.ZodString;
8379
- priority: z.ZodEnum<{
8380
- P0: "P0";
8381
- P1: "P1";
8382
- P2: "P2";
8383
- P3: "P3";
8384
- }>;
8385
- source: z.ZodEnum<{
8386
- semrush: "semrush";
8387
- step5_generation: "step5_generation";
8388
- }>;
8389
- source_market: z.ZodString;
8390
- metric_timestamp: z.ZodNullable<z.ZodString>;
8391
- }, z.core.$strict>>]>>;
8134
+ }, z.core.$strict>>>;
8392
8135
  }, z.core.$strict>;
8393
8136
  }, z.core.$strip>, z.ZodObject<{
8394
8137
  type: z.ZodLiteral<"sitemap.clamped">;
@@ -8590,7 +8333,7 @@ export declare const SitemapRecordSchema: z.ZodObject<{
8590
8333
  requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
8591
8334
  }, z.core.$strip>>;
8592
8335
  }, z.core.$strip>>;
8593
- seoKeywords: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
8336
+ seoKeywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
8594
8337
  id: z.ZodString;
8595
8338
  keyword: z.ZodString;
8596
8339
  business_id: z.ZodString;
@@ -8622,42 +8365,7 @@ export declare const SitemapRecordSchema: z.ZodObject<{
8622
8365
  variants: z.ZodArray<z.ZodString>;
8623
8366
  source: z.ZodLiteral<"semrush">;
8624
8367
  source_evidence: z.ZodArray<z.ZodString>;
8625
- }, z.core.$strict>>, z.ZodArray<z.ZodObject<{
8626
- id: z.ZodString;
8627
- keyword: z.ZodString;
8628
- normalized_keyword: z.ZodString;
8629
- intc: z.ZodEnum<{
8630
- C: "C";
8631
- I: "I";
8632
- N: "N";
8633
- T: "T";
8634
- }>;
8635
- keyword_type: z.ZodString;
8636
- intent_strength: z.ZodEnum<{
8637
- high: "high";
8638
- medium: "medium";
8639
- low: "low";
8640
- }>;
8641
- monthly_volume: z.ZodNullable<z.ZodNumber>;
8642
- keyword_difficulty: z.ZodNullable<z.ZodNumber>;
8643
- fit: z.ZodNullable<z.ZodNumber>;
8644
- sem_cpc: z.ZodNullable<z.ZodNumber>;
8645
- currency: z.ZodNullable<z.ZodString>;
8646
- landing_page: z.ZodString;
8647
- content_format: z.ZodString;
8648
- priority: z.ZodEnum<{
8649
- P0: "P0";
8650
- P1: "P1";
8651
- P2: "P2";
8652
- P3: "P3";
8653
- }>;
8654
- source: z.ZodEnum<{
8655
- semrush: "semrush";
8656
- step5_generation: "step5_generation";
8657
- }>;
8658
- source_market: z.ZodString;
8659
- metric_timestamp: z.ZodNullable<z.ZodString>;
8660
- }, z.core.$strict>>]>>;
8368
+ }, z.core.$strict>>>;
8661
8369
  }, z.core.$strict>;
8662
8370
  }, z.core.$strict>;
8663
8371
  export type SitemapRecord = z.infer<typeof SitemapRecordSchema>;
@@ -8790,7 +8498,7 @@ export declare const SitemapDraftRecordSchema: z.ZodObject<{
8790
8498
  requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
8791
8499
  }, z.core.$strip>>;
8792
8500
  }, z.core.$strip>>;
8793
- seoKeywords: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
8501
+ seoKeywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
8794
8502
  id: z.ZodString;
8795
8503
  keyword: z.ZodString;
8796
8504
  business_id: z.ZodString;
@@ -8822,42 +8530,196 @@ export declare const SitemapDraftRecordSchema: z.ZodObject<{
8822
8530
  variants: z.ZodArray<z.ZodString>;
8823
8531
  source: z.ZodLiteral<"semrush">;
8824
8532
  source_evidence: z.ZodArray<z.ZodString>;
8825
- }, z.core.$strict>>, z.ZodArray<z.ZodObject<{
8533
+ }, z.core.$strict>>>;
8534
+ pages: z.ZodArray<z.ZodObject<{
8535
+ id: z.ZodString;
8536
+ title: z.ZodString;
8537
+ parent_page_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8538
+ slug: z.ZodNullable<z.ZodString>;
8539
+ navigation: z.ZodObject<{
8540
+ order: z.ZodNumber;
8541
+ showInHeader: z.ZodNullable<z.ZodBoolean>;
8542
+ showInFooter: z.ZodNullable<z.ZodBoolean>;
8543
+ }, z.core.$strict>;
8544
+ blocks: z.ZodArray<z.ZodObject<{
8545
+ id: z.ZodString;
8546
+ label: z.ZodString;
8547
+ variant: z.ZodOptional<z.ZodString>;
8548
+ order: z.ZodNumber;
8549
+ props: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8550
+ meta: z.ZodOptional<z.ZodObject<{
8551
+ aiGenerated: z.ZodBoolean;
8552
+ userEdited: z.ZodBoolean;
8553
+ lastEditedAt: z.ZodString;
8554
+ lastEditedBy: z.ZodEnum<{
8555
+ ai: "ai";
8556
+ user: "user";
8557
+ }>;
8558
+ userInstruction: z.ZodOptional<z.ZodString>;
8559
+ }, z.core.$strip>>;
8560
+ type: z.ZodNullable<z.ZodString>;
8561
+ }, z.core.$strict>>;
8562
+ }, z.core.$strict>>;
8563
+ }, z.core.$strict>;
8564
+ }, z.core.$strict>;
8565
+ export type SitemapDraftRecord = z.infer<typeof SitemapDraftRecordSchema>;
8566
+ export declare const SaveSiteSitemapDraftRequestSchema: z.ZodObject<{
8567
+ sitemap_id: z.ZodUUID;
8568
+ creation_key: z.ZodString;
8569
+ sitemap: z.ZodObject<{
8570
+ site_name: z.ZodOptional<z.ZodString>;
8571
+ version: z.ZodNumber;
8572
+ navigation: z.ZodObject<{
8573
+ primaryLinks: z.ZodArray<z.ZodObject<{
8574
+ label: z.ZodString;
8575
+ href: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
8576
+ }, z.core.$loose>>;
8577
+ footerLinks: z.ZodArray<z.ZodObject<{
8578
+ label: z.ZodString;
8579
+ href: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
8580
+ }, z.core.$loose>>;
8581
+ }, z.core.$strip>;
8582
+ integrations: z.ZodOptional<z.ZodObject<{
8583
+ cms: z.ZodOptional<z.ZodUnknown>;
8584
+ analytics: z.ZodOptional<z.ZodUnknown>;
8585
+ }, z.core.$strip>>;
8586
+ meta: z.ZodObject<{
8587
+ generatedAt: z.ZodString;
8588
+ generatedBy: z.ZodLiteral<"sitemap-agent">;
8589
+ source_brief_id: z.ZodOptional<z.ZodString>;
8590
+ source_answer_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
8591
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
8592
+ kind: z.ZodLiteral<"brief_clarify">;
8593
+ brief_id: z.ZodUUID;
8594
+ answer_ids: z.ZodArray<z.ZodString>;
8595
+ }, z.core.$strict>, z.ZodObject<{
8596
+ kind: z.ZodLiteral<"step5_strategy">;
8597
+ strategy_version_id: z.ZodString;
8598
+ strategy_version: z.ZodNumber;
8599
+ strategy_checksum: z.ZodString;
8600
+ }, z.core.$strict>], "kind">>;
8601
+ }, z.core.$strip>;
8602
+ skillSelection: z.ZodObject<{
8603
+ id: z.ZodString;
8604
+ name: z.ZodString;
8605
+ category: z.ZodLiteral<"page-generation">;
8606
+ version: z.ZodOptional<z.ZodString>;
8607
+ reason: z.ZodString;
8608
+ source: z.ZodDefault<z.ZodEnum<{
8609
+ system_recommended: "system_recommended";
8610
+ user_picked: "user_picked";
8611
+ user_picked_extended: "user_picked_extended";
8612
+ deterministic_fallback: "deterministic_fallback";
8613
+ }>>;
8614
+ }, z.core.$strip>;
8615
+ visualTheme: z.ZodOptional<z.ZodObject<{
8616
+ theme_id: z.ZodString;
8617
+ paletteIntent: z.ZodString;
8618
+ tone: z.ZodString;
8619
+ mediaMood: z.ZodString;
8620
+ motionLevel: z.ZodOptional<z.ZodEnum<{
8621
+ none: "none";
8622
+ subtle: "subtle";
8623
+ moderate: "moderate";
8624
+ expressive: "expressive";
8625
+ }>>;
8626
+ userVisualHints: z.ZodOptional<z.ZodObject<{
8627
+ heading: z.ZodOptional<z.ZodString>;
8628
+ body: z.ZodOptional<z.ZodString>;
8629
+ paletteIntent: z.ZodOptional<z.ZodString>;
8630
+ surfaceMode: z.ZodOptional<z.ZodEnum<{
8631
+ light: "light";
8632
+ dark: "dark";
8633
+ }>>;
8634
+ radius: z.ZodOptional<z.ZodEnum<{
8635
+ none: "none";
8636
+ sm: "sm";
8637
+ md: "md";
8638
+ lg: "lg";
8639
+ xl: "xl";
8640
+ }>>;
8641
+ density: z.ZodOptional<z.ZodEnum<{
8642
+ compact: "compact";
8643
+ comfortable: "comfortable";
8644
+ airy: "airy";
8645
+ editorial: "editorial";
8646
+ }>>;
8647
+ motionPreset: z.ZodOptional<z.ZodEnum<{
8648
+ subtle: "subtle";
8649
+ moderate: "moderate";
8650
+ expressive: "expressive";
8651
+ }>>;
8652
+ colorSeeds: z.ZodOptional<z.ZodObject<{
8653
+ primary: z.ZodString;
8654
+ accent: z.ZodString;
8655
+ foreground: z.ZodOptional<z.ZodString>;
8656
+ neutral: z.ZodOptional<z.ZodString>;
8657
+ supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
8658
+ }, z.core.$strip>>;
8659
+ imagePalette: z.ZodOptional<z.ZodObject<{
8660
+ background: z.ZodOptional<z.ZodString>;
8661
+ foreground: z.ZodOptional<z.ZodString>;
8662
+ card: z.ZodOptional<z.ZodString>;
8663
+ muted: z.ZodOptional<z.ZodString>;
8664
+ border: z.ZodOptional<z.ZodString>;
8665
+ }, z.core.$strip>>;
8666
+ themeId: z.ZodOptional<z.ZodString>;
8667
+ themeDescription: z.ZodOptional<z.ZodString>;
8668
+ aestheticNote: z.ZodOptional<z.ZodString>;
8669
+ }, z.core.$strip>>;
8670
+ }, z.core.$strip>>;
8671
+ userChoices: z.ZodOptional<z.ZodArray<z.ZodObject<{
8672
+ key: z.ZodOptional<z.ZodString>;
8673
+ question: z.ZodString;
8674
+ answer: z.ZodString;
8675
+ }, z.core.$strip>>>;
8676
+ confirmedChoices: z.ZodOptional<z.ZodObject<{
8677
+ conversion: z.ZodOptional<z.ZodObject<{
8678
+ protocol: z.ZodEnum<{
8679
+ route: "route";
8680
+ external: "external";
8681
+ phone: "phone";
8682
+ form: "form";
8683
+ download: "download";
8684
+ }>;
8685
+ ctaLabel: z.ZodString;
8686
+ ctaTarget: z.ZodOptional<z.ZodString>;
8687
+ requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
8688
+ }, z.core.$strip>>;
8689
+ }, z.core.$strip>>;
8690
+ seoKeywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
8826
8691
  id: z.ZodString;
8827
8692
  keyword: z.ZodString;
8828
- normalized_keyword: z.ZodString;
8829
- intc: z.ZodEnum<{
8830
- C: "C";
8831
- I: "I";
8832
- N: "N";
8833
- T: "T";
8693
+ business_id: z.ZodString;
8694
+ business_name: z.ZodString;
8695
+ category: z.ZodEnum<{
8696
+ 产品: "产品";
8697
+ "\u90E8\u4EF6/\u8017\u6750": "部件/耗材";
8698
+ 应用方案: "应用方案";
8699
+ "\u5B9A\u5236/OEM": "定制/OEM";
8700
+ 服务: "服务";
8701
+ "\u8D44\u8D28/\u80FD\u529B": "资质/能力";
8834
8702
  }>;
8835
- keyword_type: z.ZodString;
8836
- intent_strength: z.ZodEnum<{
8837
- high: "high";
8838
- medium: "medium";
8839
- low: "low";
8703
+ selling_points: z.ZodString;
8704
+ section_id: z.ZodString;
8705
+ content_usage: z.ZodEnum<{
8706
+ product: "product";
8707
+ category: "category";
8708
+ solution: "solution";
8709
+ service: "service";
8710
+ capability: "capability";
8711
+ article: "article";
8712
+ faq: "faq";
8840
8713
  }>;
8841
- monthly_volume: z.ZodNullable<z.ZodNumber>;
8714
+ intent: z.ZodString;
8715
+ semantic_group: z.ZodString;
8716
+ primary_business: z.ZodBoolean;
8717
+ monthly_volume: z.ZodNumber;
8842
8718
  keyword_difficulty: z.ZodNullable<z.ZodNumber>;
8843
- fit: z.ZodNullable<z.ZodNumber>;
8844
- sem_cpc: z.ZodNullable<z.ZodNumber>;
8845
- currency: z.ZodNullable<z.ZodString>;
8846
- landing_page: z.ZodString;
8847
- content_format: z.ZodString;
8848
- priority: z.ZodEnum<{
8849
- P0: "P0";
8850
- P1: "P1";
8851
- P2: "P2";
8852
- P3: "P3";
8853
- }>;
8854
- source: z.ZodEnum<{
8855
- semrush: "semrush";
8856
- step5_generation: "step5_generation";
8857
- }>;
8858
- source_market: z.ZodString;
8859
- metric_timestamp: z.ZodNullable<z.ZodString>;
8860
- }, z.core.$strict>>]>>;
8719
+ variants: z.ZodArray<z.ZodString>;
8720
+ source: z.ZodLiteral<"semrush">;
8721
+ source_evidence: z.ZodArray<z.ZodString>;
8722
+ }, z.core.$strict>>>;
8861
8723
  pages: z.ZodArray<z.ZodObject<{
8862
8724
  id: z.ZodString;
8863
8725
  title: z.ZodString;
@@ -8882,14 +8744,219 @@ export declare const SitemapDraftRecordSchema: z.ZodObject<{
8882
8744
  ai: "ai";
8883
8745
  user: "user";
8884
8746
  }>;
8885
- userInstruction: z.ZodOptional<z.ZodString>;
8747
+ userInstruction: z.ZodOptional<z.ZodString>;
8748
+ }, z.core.$strip>>;
8749
+ type: z.ZodNullable<z.ZodString>;
8750
+ }, z.core.$strict>>;
8751
+ }, z.core.$strict>>;
8752
+ }, z.core.$strict>;
8753
+ expected_current_sitemap_id: z.ZodUUID;
8754
+ expected_current_sitemap_version: z.ZodNumber;
8755
+ }, z.core.$strict>;
8756
+ export type SaveSiteSitemapDraftRequest = z.infer<typeof SaveSiteSitemapDraftRequestSchema>;
8757
+ export declare const SaveSiteSitemapDraftResponseSchema: z.ZodObject<{
8758
+ sitemap: z.ZodObject<{
8759
+ id: z.ZodUUID;
8760
+ tenant_id: z.ZodString;
8761
+ site_id: z.ZodUUID;
8762
+ version: z.ZodNumber;
8763
+ source_agent_run_id: z.ZodNullable<z.ZodUUID>;
8764
+ created_at: z.ZodString;
8765
+ updated_at: z.ZodString;
8766
+ sitemap: z.ZodObject<{
8767
+ site_name: z.ZodOptional<z.ZodString>;
8768
+ version: z.ZodNumber;
8769
+ navigation: z.ZodObject<{
8770
+ primaryLinks: z.ZodArray<z.ZodObject<{
8771
+ label: z.ZodString;
8772
+ href: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
8773
+ }, z.core.$loose>>;
8774
+ footerLinks: z.ZodArray<z.ZodObject<{
8775
+ label: z.ZodString;
8776
+ href: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
8777
+ }, z.core.$loose>>;
8778
+ }, z.core.$strip>;
8779
+ integrations: z.ZodOptional<z.ZodObject<{
8780
+ cms: z.ZodOptional<z.ZodUnknown>;
8781
+ analytics: z.ZodOptional<z.ZodUnknown>;
8782
+ }, z.core.$strip>>;
8783
+ meta: z.ZodObject<{
8784
+ generatedAt: z.ZodString;
8785
+ generatedBy: z.ZodLiteral<"sitemap-agent">;
8786
+ source_brief_id: z.ZodOptional<z.ZodString>;
8787
+ source_answer_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
8788
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
8789
+ kind: z.ZodLiteral<"brief_clarify">;
8790
+ brief_id: z.ZodUUID;
8791
+ answer_ids: z.ZodArray<z.ZodString>;
8792
+ }, z.core.$strict>, z.ZodObject<{
8793
+ kind: z.ZodLiteral<"step5_strategy">;
8794
+ strategy_version_id: z.ZodString;
8795
+ strategy_version: z.ZodNumber;
8796
+ strategy_checksum: z.ZodString;
8797
+ }, z.core.$strict>], "kind">>;
8798
+ }, z.core.$strip>;
8799
+ skillSelection: z.ZodObject<{
8800
+ id: z.ZodString;
8801
+ name: z.ZodString;
8802
+ category: z.ZodLiteral<"page-generation">;
8803
+ version: z.ZodOptional<z.ZodString>;
8804
+ reason: z.ZodString;
8805
+ source: z.ZodDefault<z.ZodEnum<{
8806
+ system_recommended: "system_recommended";
8807
+ user_picked: "user_picked";
8808
+ user_picked_extended: "user_picked_extended";
8809
+ deterministic_fallback: "deterministic_fallback";
8810
+ }>>;
8811
+ }, z.core.$strip>;
8812
+ visualTheme: z.ZodOptional<z.ZodObject<{
8813
+ theme_id: z.ZodString;
8814
+ paletteIntent: z.ZodString;
8815
+ tone: z.ZodString;
8816
+ mediaMood: z.ZodString;
8817
+ motionLevel: z.ZodOptional<z.ZodEnum<{
8818
+ none: "none";
8819
+ subtle: "subtle";
8820
+ moderate: "moderate";
8821
+ expressive: "expressive";
8822
+ }>>;
8823
+ userVisualHints: z.ZodOptional<z.ZodObject<{
8824
+ heading: z.ZodOptional<z.ZodString>;
8825
+ body: z.ZodOptional<z.ZodString>;
8826
+ paletteIntent: z.ZodOptional<z.ZodString>;
8827
+ surfaceMode: z.ZodOptional<z.ZodEnum<{
8828
+ light: "light";
8829
+ dark: "dark";
8830
+ }>>;
8831
+ radius: z.ZodOptional<z.ZodEnum<{
8832
+ none: "none";
8833
+ sm: "sm";
8834
+ md: "md";
8835
+ lg: "lg";
8836
+ xl: "xl";
8837
+ }>>;
8838
+ density: z.ZodOptional<z.ZodEnum<{
8839
+ compact: "compact";
8840
+ comfortable: "comfortable";
8841
+ airy: "airy";
8842
+ editorial: "editorial";
8843
+ }>>;
8844
+ motionPreset: z.ZodOptional<z.ZodEnum<{
8845
+ subtle: "subtle";
8846
+ moderate: "moderate";
8847
+ expressive: "expressive";
8848
+ }>>;
8849
+ colorSeeds: z.ZodOptional<z.ZodObject<{
8850
+ primary: z.ZodString;
8851
+ accent: z.ZodString;
8852
+ foreground: z.ZodOptional<z.ZodString>;
8853
+ neutral: z.ZodOptional<z.ZodString>;
8854
+ supporting: z.ZodOptional<z.ZodArray<z.ZodString>>;
8855
+ }, z.core.$strip>>;
8856
+ imagePalette: z.ZodOptional<z.ZodObject<{
8857
+ background: z.ZodOptional<z.ZodString>;
8858
+ foreground: z.ZodOptional<z.ZodString>;
8859
+ card: z.ZodOptional<z.ZodString>;
8860
+ muted: z.ZodOptional<z.ZodString>;
8861
+ border: z.ZodOptional<z.ZodString>;
8862
+ }, z.core.$strip>>;
8863
+ themeId: z.ZodOptional<z.ZodString>;
8864
+ themeDescription: z.ZodOptional<z.ZodString>;
8865
+ aestheticNote: z.ZodOptional<z.ZodString>;
8866
+ }, z.core.$strip>>;
8867
+ }, z.core.$strip>>;
8868
+ userChoices: z.ZodOptional<z.ZodArray<z.ZodObject<{
8869
+ key: z.ZodOptional<z.ZodString>;
8870
+ question: z.ZodString;
8871
+ answer: z.ZodString;
8872
+ }, z.core.$strip>>>;
8873
+ confirmedChoices: z.ZodOptional<z.ZodObject<{
8874
+ conversion: z.ZodOptional<z.ZodObject<{
8875
+ protocol: z.ZodEnum<{
8876
+ route: "route";
8877
+ external: "external";
8878
+ phone: "phone";
8879
+ form: "form";
8880
+ download: "download";
8881
+ }>;
8882
+ ctaLabel: z.ZodString;
8883
+ ctaTarget: z.ZodOptional<z.ZodString>;
8884
+ requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
8886
8885
  }, z.core.$strip>>;
8887
- type: z.ZodNullable<z.ZodString>;
8886
+ }, z.core.$strip>>;
8887
+ seoKeywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
8888
+ id: z.ZodString;
8889
+ keyword: z.ZodString;
8890
+ business_id: z.ZodString;
8891
+ business_name: z.ZodString;
8892
+ category: z.ZodEnum<{
8893
+ 产品: "产品";
8894
+ "\u90E8\u4EF6/\u8017\u6750": "部件/耗材";
8895
+ 应用方案: "应用方案";
8896
+ "\u5B9A\u5236/OEM": "定制/OEM";
8897
+ 服务: "服务";
8898
+ "\u8D44\u8D28/\u80FD\u529B": "资质/能力";
8899
+ }>;
8900
+ selling_points: z.ZodString;
8901
+ section_id: z.ZodString;
8902
+ content_usage: z.ZodEnum<{
8903
+ product: "product";
8904
+ category: "category";
8905
+ solution: "solution";
8906
+ service: "service";
8907
+ capability: "capability";
8908
+ article: "article";
8909
+ faq: "faq";
8910
+ }>;
8911
+ intent: z.ZodString;
8912
+ semantic_group: z.ZodString;
8913
+ primary_business: z.ZodBoolean;
8914
+ monthly_volume: z.ZodNumber;
8915
+ keyword_difficulty: z.ZodNullable<z.ZodNumber>;
8916
+ variants: z.ZodArray<z.ZodString>;
8917
+ source: z.ZodLiteral<"semrush">;
8918
+ source_evidence: z.ZodArray<z.ZodString>;
8919
+ }, z.core.$strict>>>;
8920
+ pages: z.ZodArray<z.ZodObject<{
8921
+ id: z.ZodString;
8922
+ title: z.ZodString;
8923
+ parent_page_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8924
+ slug: z.ZodNullable<z.ZodString>;
8925
+ navigation: z.ZodObject<{
8926
+ order: z.ZodNumber;
8927
+ showInHeader: z.ZodNullable<z.ZodBoolean>;
8928
+ showInFooter: z.ZodNullable<z.ZodBoolean>;
8929
+ }, z.core.$strict>;
8930
+ blocks: z.ZodArray<z.ZodObject<{
8931
+ id: z.ZodString;
8932
+ label: z.ZodString;
8933
+ variant: z.ZodOptional<z.ZodString>;
8934
+ order: z.ZodNumber;
8935
+ props: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8936
+ meta: z.ZodOptional<z.ZodObject<{
8937
+ aiGenerated: z.ZodBoolean;
8938
+ userEdited: z.ZodBoolean;
8939
+ lastEditedAt: z.ZodString;
8940
+ lastEditedBy: z.ZodEnum<{
8941
+ ai: "ai";
8942
+ user: "user";
8943
+ }>;
8944
+ userInstruction: z.ZodOptional<z.ZodString>;
8945
+ }, z.core.$strip>>;
8946
+ type: z.ZodNullable<z.ZodString>;
8947
+ }, z.core.$strict>>;
8888
8948
  }, z.core.$strict>>;
8889
- }, z.core.$strict>>;
8949
+ }, z.core.$strict>;
8890
8950
  }, z.core.$strict>;
8891
8951
  }, z.core.$strict>;
8892
- export type SitemapDraftRecord = z.infer<typeof SitemapDraftRecordSchema>;
8952
+ export type SaveSiteSitemapDraftResponse = z.infer<typeof SaveSiteSitemapDraftResponseSchema>;
8953
+ /** The key binds the immutable operation to its site and reviewed baseline. */
8954
+ export declare function createSiteSitemapDraftCreationKey(input: {
8955
+ site_id: string;
8956
+ sitemap_id: string;
8957
+ expected_current_sitemap_id: string;
8958
+ expected_current_sitemap_version: number;
8959
+ }): string;
8893
8960
  export declare const PersistSiteSitemapRequestSchema: z.ZodObject<{
8894
8961
  sitemap_id: z.ZodUUID;
8895
8962
  creation_key: z.ZodString;
@@ -9043,7 +9110,7 @@ export declare const PersistSiteSitemapRequestSchema: z.ZodObject<{
9043
9110
  requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
9044
9111
  }, z.core.$strip>>;
9045
9112
  }, z.core.$strip>>;
9046
- seoKeywords: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
9113
+ seoKeywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
9047
9114
  id: z.ZodString;
9048
9115
  keyword: z.ZodString;
9049
9116
  business_id: z.ZodString;
@@ -9075,42 +9142,7 @@ export declare const PersistSiteSitemapRequestSchema: z.ZodObject<{
9075
9142
  variants: z.ZodArray<z.ZodString>;
9076
9143
  source: z.ZodLiteral<"semrush">;
9077
9144
  source_evidence: z.ZodArray<z.ZodString>;
9078
- }, z.core.$strict>>, z.ZodArray<z.ZodObject<{
9079
- id: z.ZodString;
9080
- keyword: z.ZodString;
9081
- normalized_keyword: z.ZodString;
9082
- intc: z.ZodEnum<{
9083
- C: "C";
9084
- I: "I";
9085
- N: "N";
9086
- T: "T";
9087
- }>;
9088
- keyword_type: z.ZodString;
9089
- intent_strength: z.ZodEnum<{
9090
- high: "high";
9091
- medium: "medium";
9092
- low: "low";
9093
- }>;
9094
- monthly_volume: z.ZodNullable<z.ZodNumber>;
9095
- keyword_difficulty: z.ZodNullable<z.ZodNumber>;
9096
- fit: z.ZodNullable<z.ZodNumber>;
9097
- sem_cpc: z.ZodNullable<z.ZodNumber>;
9098
- currency: z.ZodNullable<z.ZodString>;
9099
- landing_page: z.ZodString;
9100
- content_format: z.ZodString;
9101
- priority: z.ZodEnum<{
9102
- P0: "P0";
9103
- P1: "P1";
9104
- P2: "P2";
9105
- P3: "P3";
9106
- }>;
9107
- source: z.ZodEnum<{
9108
- semrush: "semrush";
9109
- step5_generation: "step5_generation";
9110
- }>;
9111
- source_market: z.ZodString;
9112
- metric_timestamp: z.ZodNullable<z.ZodString>;
9113
- }, z.core.$strict>>]>>;
9145
+ }, z.core.$strict>>>;
9114
9146
  }, z.core.$strict>;
9115
9147
  source_agent_run_id: z.ZodOptional<z.ZodUUID>;
9116
9148
  }, z.core.$strip>;
@@ -9239,7 +9271,7 @@ export declare const ConfirmSiteStructureRequestSchema: z.ZodObject<{
9239
9271
  requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
9240
9272
  }, z.core.$strip>>;
9241
9273
  }, z.core.$strip>>;
9242
- seoKeywords: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
9274
+ seoKeywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
9243
9275
  id: z.ZodString;
9244
9276
  keyword: z.ZodString;
9245
9277
  business_id: z.ZodString;
@@ -9271,42 +9303,7 @@ export declare const ConfirmSiteStructureRequestSchema: z.ZodObject<{
9271
9303
  variants: z.ZodArray<z.ZodString>;
9272
9304
  source: z.ZodLiteral<"semrush">;
9273
9305
  source_evidence: z.ZodArray<z.ZodString>;
9274
- }, z.core.$strict>>, z.ZodArray<z.ZodObject<{
9275
- id: z.ZodString;
9276
- keyword: z.ZodString;
9277
- normalized_keyword: z.ZodString;
9278
- intc: z.ZodEnum<{
9279
- C: "C";
9280
- I: "I";
9281
- N: "N";
9282
- T: "T";
9283
- }>;
9284
- keyword_type: z.ZodString;
9285
- intent_strength: z.ZodEnum<{
9286
- high: "high";
9287
- medium: "medium";
9288
- low: "low";
9289
- }>;
9290
- monthly_volume: z.ZodNullable<z.ZodNumber>;
9291
- keyword_difficulty: z.ZodNullable<z.ZodNumber>;
9292
- fit: z.ZodNullable<z.ZodNumber>;
9293
- sem_cpc: z.ZodNullable<z.ZodNumber>;
9294
- currency: z.ZodNullable<z.ZodString>;
9295
- landing_page: z.ZodString;
9296
- content_format: z.ZodString;
9297
- priority: z.ZodEnum<{
9298
- P0: "P0";
9299
- P1: "P1";
9300
- P2: "P2";
9301
- P3: "P3";
9302
- }>;
9303
- source: z.ZodEnum<{
9304
- semrush: "semrush";
9305
- step5_generation: "step5_generation";
9306
- }>;
9307
- source_market: z.ZodString;
9308
- metric_timestamp: z.ZodNullable<z.ZodString>;
9309
- }, z.core.$strict>>]>>;
9306
+ }, z.core.$strict>>>;
9310
9307
  pages: z.ZodArray<z.ZodObject<{
9311
9308
  id: z.ZodString;
9312
9309
  title: z.ZodString;
@@ -9495,7 +9492,7 @@ export declare const PersistGeneratedSitemapDraftRequestSchema: z.ZodObject<{
9495
9492
  requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
9496
9493
  }, z.core.$strip>>;
9497
9494
  }, z.core.$strip>>;
9498
- seoKeywords: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
9495
+ seoKeywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
9499
9496
  id: z.ZodString;
9500
9497
  keyword: z.ZodString;
9501
9498
  business_id: z.ZodString;
@@ -9527,42 +9524,7 @@ export declare const PersistGeneratedSitemapDraftRequestSchema: z.ZodObject<{
9527
9524
  variants: z.ZodArray<z.ZodString>;
9528
9525
  source: z.ZodLiteral<"semrush">;
9529
9526
  source_evidence: z.ZodArray<z.ZodString>;
9530
- }, z.core.$strict>>, z.ZodArray<z.ZodObject<{
9531
- id: z.ZodString;
9532
- keyword: z.ZodString;
9533
- normalized_keyword: z.ZodString;
9534
- intc: z.ZodEnum<{
9535
- C: "C";
9536
- I: "I";
9537
- N: "N";
9538
- T: "T";
9539
- }>;
9540
- keyword_type: z.ZodString;
9541
- intent_strength: z.ZodEnum<{
9542
- high: "high";
9543
- medium: "medium";
9544
- low: "low";
9545
- }>;
9546
- monthly_volume: z.ZodNullable<z.ZodNumber>;
9547
- keyword_difficulty: z.ZodNullable<z.ZodNumber>;
9548
- fit: z.ZodNullable<z.ZodNumber>;
9549
- sem_cpc: z.ZodNullable<z.ZodNumber>;
9550
- currency: z.ZodNullable<z.ZodString>;
9551
- landing_page: z.ZodString;
9552
- content_format: z.ZodString;
9553
- priority: z.ZodEnum<{
9554
- P0: "P0";
9555
- P1: "P1";
9556
- P2: "P2";
9557
- P3: "P3";
9558
- }>;
9559
- source: z.ZodEnum<{
9560
- semrush: "semrush";
9561
- step5_generation: "step5_generation";
9562
- }>;
9563
- source_market: z.ZodString;
9564
- metric_timestamp: z.ZodNullable<z.ZodString>;
9565
- }, z.core.$strict>>]>>;
9527
+ }, z.core.$strict>>>;
9566
9528
  }, z.core.$strict>;
9567
9529
  source_agent_run_id: z.ZodUUID;
9568
9530
  }, z.core.$strip>;
@@ -9943,7 +9905,7 @@ export declare const PersistSiteSitemapResponseSchema: z.ZodObject<{
9943
9905
  requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
9944
9906
  }, z.core.$strip>>;
9945
9907
  }, z.core.$strip>>;
9946
- seoKeywords: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
9908
+ seoKeywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
9947
9909
  id: z.ZodString;
9948
9910
  keyword: z.ZodString;
9949
9911
  business_id: z.ZodString;
@@ -9975,42 +9937,7 @@ export declare const PersistSiteSitemapResponseSchema: z.ZodObject<{
9975
9937
  variants: z.ZodArray<z.ZodString>;
9976
9938
  source: z.ZodLiteral<"semrush">;
9977
9939
  source_evidence: z.ZodArray<z.ZodString>;
9978
- }, z.core.$strict>>, z.ZodArray<z.ZodObject<{
9979
- id: z.ZodString;
9980
- keyword: z.ZodString;
9981
- normalized_keyword: z.ZodString;
9982
- intc: z.ZodEnum<{
9983
- C: "C";
9984
- I: "I";
9985
- N: "N";
9986
- T: "T";
9987
- }>;
9988
- keyword_type: z.ZodString;
9989
- intent_strength: z.ZodEnum<{
9990
- high: "high";
9991
- medium: "medium";
9992
- low: "low";
9993
- }>;
9994
- monthly_volume: z.ZodNullable<z.ZodNumber>;
9995
- keyword_difficulty: z.ZodNullable<z.ZodNumber>;
9996
- fit: z.ZodNullable<z.ZodNumber>;
9997
- sem_cpc: z.ZodNullable<z.ZodNumber>;
9998
- currency: z.ZodNullable<z.ZodString>;
9999
- landing_page: z.ZodString;
10000
- content_format: z.ZodString;
10001
- priority: z.ZodEnum<{
10002
- P0: "P0";
10003
- P1: "P1";
10004
- P2: "P2";
10005
- P3: "P3";
10006
- }>;
10007
- source: z.ZodEnum<{
10008
- semrush: "semrush";
10009
- step5_generation: "step5_generation";
10010
- }>;
10011
- source_market: z.ZodString;
10012
- metric_timestamp: z.ZodNullable<z.ZodString>;
10013
- }, z.core.$strict>>]>>;
9940
+ }, z.core.$strict>>>;
10014
9941
  }, z.core.$strict>;
10015
9942
  }, z.core.$strict>;
10016
9943
  next_step: z.ZodLiteral<"workspace">;
@@ -10363,7 +10290,7 @@ export declare const PersistSiteSitemapDraftResponseSchema: z.ZodObject<{
10363
10290
  requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
10364
10291
  }, z.core.$strip>>;
10365
10292
  }, z.core.$strip>>;
10366
- seoKeywords: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
10293
+ seoKeywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
10367
10294
  id: z.ZodString;
10368
10295
  keyword: z.ZodString;
10369
10296
  business_id: z.ZodString;
@@ -10395,42 +10322,7 @@ export declare const PersistSiteSitemapDraftResponseSchema: z.ZodObject<{
10395
10322
  variants: z.ZodArray<z.ZodString>;
10396
10323
  source: z.ZodLiteral<"semrush">;
10397
10324
  source_evidence: z.ZodArray<z.ZodString>;
10398
- }, z.core.$strict>>, z.ZodArray<z.ZodObject<{
10399
- id: z.ZodString;
10400
- keyword: z.ZodString;
10401
- normalized_keyword: z.ZodString;
10402
- intc: z.ZodEnum<{
10403
- C: "C";
10404
- I: "I";
10405
- N: "N";
10406
- T: "T";
10407
- }>;
10408
- keyword_type: z.ZodString;
10409
- intent_strength: z.ZodEnum<{
10410
- high: "high";
10411
- medium: "medium";
10412
- low: "low";
10413
- }>;
10414
- monthly_volume: z.ZodNullable<z.ZodNumber>;
10415
- keyword_difficulty: z.ZodNullable<z.ZodNumber>;
10416
- fit: z.ZodNullable<z.ZodNumber>;
10417
- sem_cpc: z.ZodNullable<z.ZodNumber>;
10418
- currency: z.ZodNullable<z.ZodString>;
10419
- landing_page: z.ZodString;
10420
- content_format: z.ZodString;
10421
- priority: z.ZodEnum<{
10422
- P0: "P0";
10423
- P1: "P1";
10424
- P2: "P2";
10425
- P3: "P3";
10426
- }>;
10427
- source: z.ZodEnum<{
10428
- semrush: "semrush";
10429
- step5_generation: "step5_generation";
10430
- }>;
10431
- source_market: z.ZodString;
10432
- metric_timestamp: z.ZodNullable<z.ZodString>;
10433
- }, z.core.$strict>>]>>;
10325
+ }, z.core.$strict>>>;
10434
10326
  pages: z.ZodArray<z.ZodObject<{
10435
10327
  id: z.ZodString;
10436
10328
  title: z.ZodString;
@@ -10841,7 +10733,7 @@ export declare const PersistGeneratedSitemapDraftResponseSchema: z.ZodObject<{
10841
10733
  requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
10842
10734
  }, z.core.$strip>>;
10843
10735
  }, z.core.$strip>>;
10844
- seoKeywords: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
10736
+ seoKeywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
10845
10737
  id: z.ZodString;
10846
10738
  keyword: z.ZodString;
10847
10739
  business_id: z.ZodString;
@@ -10873,42 +10765,7 @@ export declare const PersistGeneratedSitemapDraftResponseSchema: z.ZodObject<{
10873
10765
  variants: z.ZodArray<z.ZodString>;
10874
10766
  source: z.ZodLiteral<"semrush">;
10875
10767
  source_evidence: z.ZodArray<z.ZodString>;
10876
- }, z.core.$strict>>, z.ZodArray<z.ZodObject<{
10877
- id: z.ZodString;
10878
- keyword: z.ZodString;
10879
- normalized_keyword: z.ZodString;
10880
- intc: z.ZodEnum<{
10881
- C: "C";
10882
- I: "I";
10883
- N: "N";
10884
- T: "T";
10885
- }>;
10886
- keyword_type: z.ZodString;
10887
- intent_strength: z.ZodEnum<{
10888
- high: "high";
10889
- medium: "medium";
10890
- low: "low";
10891
- }>;
10892
- monthly_volume: z.ZodNullable<z.ZodNumber>;
10893
- keyword_difficulty: z.ZodNullable<z.ZodNumber>;
10894
- fit: z.ZodNullable<z.ZodNumber>;
10895
- sem_cpc: z.ZodNullable<z.ZodNumber>;
10896
- currency: z.ZodNullable<z.ZodString>;
10897
- landing_page: z.ZodString;
10898
- content_format: z.ZodString;
10899
- priority: z.ZodEnum<{
10900
- P0: "P0";
10901
- P1: "P1";
10902
- P2: "P2";
10903
- P3: "P3";
10904
- }>;
10905
- source: z.ZodEnum<{
10906
- semrush: "semrush";
10907
- step5_generation: "step5_generation";
10908
- }>;
10909
- source_market: z.ZodString;
10910
- metric_timestamp: z.ZodNullable<z.ZodString>;
10911
- }, z.core.$strict>>]>>;
10768
+ }, z.core.$strict>>>;
10912
10769
  }, z.core.$strict>;
10913
10770
  }, z.core.$strict>;
10914
10771
  next_step: z.ZodLiteral<"sitemap_review">;
@@ -11754,6 +11611,21 @@ export declare const DesignPlanRecordSchema: z.ZodObject<{
11754
11611
  visualIntent: z.ZodString;
11755
11612
  mediaIntent: z.ZodString;
11756
11613
  motionIntent: z.ZodString;
11614
+ interaction: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
11615
+ autoplay: z.ZodOptional<z.ZodBoolean>;
11616
+ intervalMs: z.ZodOptional<z.ZodNumber>;
11617
+ loop: z.ZodOptional<z.ZodBoolean>;
11618
+ kind: z.ZodLiteral<"media-carousel">;
11619
+ presentation: z.ZodOptional<z.ZodEnum<{
11620
+ flat: "flat";
11621
+ angled: "angled";
11622
+ }>>;
11623
+ }, z.core.$strict>, z.ZodObject<{
11624
+ autoplay: z.ZodOptional<z.ZodBoolean>;
11625
+ intervalMs: z.ZodOptional<z.ZodNumber>;
11626
+ loop: z.ZodOptional<z.ZodBoolean>;
11627
+ kind: z.ZodLiteral<"category-carousel">;
11628
+ }, z.core.$strict>], "kind">>;
11757
11629
  copyTone: z.ZodString;
11758
11630
  displayTitle: z.ZodOptional<z.ZodString>;
11759
11631
  displayDescription: z.ZodOptional<z.ZodString>;
@@ -11918,6 +11790,21 @@ export declare const PersistSiteDesignPlanRequestSchema: z.ZodObject<{
11918
11790
  visualIntent: z.ZodString;
11919
11791
  mediaIntent: z.ZodString;
11920
11792
  motionIntent: z.ZodString;
11793
+ interaction: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
11794
+ autoplay: z.ZodOptional<z.ZodBoolean>;
11795
+ intervalMs: z.ZodOptional<z.ZodNumber>;
11796
+ loop: z.ZodOptional<z.ZodBoolean>;
11797
+ kind: z.ZodLiteral<"media-carousel">;
11798
+ presentation: z.ZodOptional<z.ZodEnum<{
11799
+ flat: "flat";
11800
+ angled: "angled";
11801
+ }>>;
11802
+ }, z.core.$strict>, z.ZodObject<{
11803
+ autoplay: z.ZodOptional<z.ZodBoolean>;
11804
+ intervalMs: z.ZodOptional<z.ZodNumber>;
11805
+ loop: z.ZodOptional<z.ZodBoolean>;
11806
+ kind: z.ZodLiteral<"category-carousel">;
11807
+ }, z.core.$strict>], "kind">>;
11921
11808
  copyTone: z.ZodString;
11922
11809
  displayTitle: z.ZodOptional<z.ZodString>;
11923
11810
  displayDescription: z.ZodOptional<z.ZodString>;
@@ -12084,6 +11971,21 @@ export declare const PersistSiteDesignPlanResponseSchema: z.ZodObject<{
12084
11971
  visualIntent: z.ZodString;
12085
11972
  mediaIntent: z.ZodString;
12086
11973
  motionIntent: z.ZodString;
11974
+ interaction: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
11975
+ autoplay: z.ZodOptional<z.ZodBoolean>;
11976
+ intervalMs: z.ZodOptional<z.ZodNumber>;
11977
+ loop: z.ZodOptional<z.ZodBoolean>;
11978
+ kind: z.ZodLiteral<"media-carousel">;
11979
+ presentation: z.ZodOptional<z.ZodEnum<{
11980
+ flat: "flat";
11981
+ angled: "angled";
11982
+ }>>;
11983
+ }, z.core.$strict>, z.ZodObject<{
11984
+ autoplay: z.ZodOptional<z.ZodBoolean>;
11985
+ intervalMs: z.ZodOptional<z.ZodNumber>;
11986
+ loop: z.ZodOptional<z.ZodBoolean>;
11987
+ kind: z.ZodLiteral<"category-carousel">;
11988
+ }, z.core.$strict>], "kind">>;
12087
11989
  copyTone: z.ZodString;
12088
11990
  displayTitle: z.ZodOptional<z.ZodString>;
12089
11991
  displayDescription: z.ZodOptional<z.ZodString>;
@@ -12367,8 +12269,8 @@ export declare const WorkspacePlanTaskKindSchema: z.ZodEnum<{
12367
12269
  layout: "layout";
12368
12270
  style: "style";
12369
12271
  section: "section";
12370
- chrome: "chrome";
12371
12272
  media: "media";
12273
+ chrome: "chrome";
12372
12274
  }>;
12373
12275
  export type WorkspacePlanTaskKind = z.infer<typeof WorkspacePlanTaskKindSchema>;
12374
12276
  export declare const WorkspacePlanTaskSchema: z.ZodObject<{
@@ -12379,8 +12281,8 @@ export declare const WorkspacePlanTaskSchema: z.ZodObject<{
12379
12281
  layout: "layout";
12380
12282
  style: "style";
12381
12283
  section: "section";
12382
- chrome: "chrome";
12383
12284
  media: "media";
12285
+ chrome: "chrome";
12384
12286
  }>;
12385
12287
  target_path: z.ZodString;
12386
12288
  block_id: z.ZodOptional<z.ZodString>;
@@ -12474,8 +12376,8 @@ export declare const WorkspaceExecutionPlanSchema: z.ZodObject<{
12474
12376
  layout: "layout";
12475
12377
  style: "style";
12476
12378
  section: "section";
12477
- chrome: "chrome";
12478
12379
  media: "media";
12380
+ chrome: "chrome";
12479
12381
  }>;
12480
12382
  target_path: z.ZodString;
12481
12383
  block_id: z.ZodOptional<z.ZodString>;
@@ -12756,6 +12658,7 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
12756
12658
  }, z.core.$strip>, z.ZodObject<{
12757
12659
  type: z.ZodLiteral<"step-start">;
12758
12660
  }, z.core.$strip>]>>;
12661
+ display_text: z.ZodOptional<z.ZodString>;
12759
12662
  in_reply_to_tool_call_id: z.ZodOptional<z.ZodString>;
12760
12663
  interaction_response: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
12761
12664
  kind: z.ZodLiteral<"product_search_confirmation">;
@@ -12987,7 +12890,7 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
12987
12890
  requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
12988
12891
  }, z.core.$strip>>;
12989
12892
  }, z.core.$strip>>;
12990
- seoKeywords: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
12893
+ seoKeywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
12991
12894
  id: z.ZodString;
12992
12895
  keyword: z.ZodString;
12993
12896
  business_id: z.ZodString;
@@ -13019,42 +12922,7 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
13019
12922
  variants: z.ZodArray<z.ZodString>;
13020
12923
  source: z.ZodLiteral<"semrush">;
13021
12924
  source_evidence: z.ZodArray<z.ZodString>;
13022
- }, z.core.$strict>>, z.ZodArray<z.ZodObject<{
13023
- id: z.ZodString;
13024
- keyword: z.ZodString;
13025
- normalized_keyword: z.ZodString;
13026
- intc: z.ZodEnum<{
13027
- C: "C";
13028
- I: "I";
13029
- N: "N";
13030
- T: "T";
13031
- }>;
13032
- keyword_type: z.ZodString;
13033
- intent_strength: z.ZodEnum<{
13034
- high: "high";
13035
- medium: "medium";
13036
- low: "low";
13037
- }>;
13038
- monthly_volume: z.ZodNullable<z.ZodNumber>;
13039
- keyword_difficulty: z.ZodNullable<z.ZodNumber>;
13040
- fit: z.ZodNullable<z.ZodNumber>;
13041
- sem_cpc: z.ZodNullable<z.ZodNumber>;
13042
- currency: z.ZodNullable<z.ZodString>;
13043
- landing_page: z.ZodString;
13044
- content_format: z.ZodString;
13045
- priority: z.ZodEnum<{
13046
- P0: "P0";
13047
- P1: "P1";
13048
- P2: "P2";
13049
- P3: "P3";
13050
- }>;
13051
- source: z.ZodEnum<{
13052
- semrush: "semrush";
13053
- step5_generation: "step5_generation";
13054
- }>;
13055
- source_market: z.ZodString;
13056
- metric_timestamp: z.ZodNullable<z.ZodString>;
13057
- }, z.core.$strict>>]>>;
12925
+ }, z.core.$strict>>>;
13058
12926
  }, z.core.$strict>;
13059
12927
  }, z.core.$strip>, z.ZodObject<{
13060
12928
  type: z.ZodLiteral<"sitemap.clamped">;
@@ -13198,8 +13066,8 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
13198
13066
  layout: "layout";
13199
13067
  style: "style";
13200
13068
  section: "section";
13201
- chrome: "chrome";
13202
13069
  media: "media";
13070
+ chrome: "chrome";
13203
13071
  }>;
13204
13072
  target_path: z.ZodString;
13205
13073
  block_id: z.ZodOptional<z.ZodString>;
@@ -13824,6 +13692,7 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
13824
13692
  }, z.core.$strip>, z.ZodObject<{
13825
13693
  type: z.ZodLiteral<"step-start">;
13826
13694
  }, z.core.$strip>]>>;
13695
+ display_text: z.ZodOptional<z.ZodString>;
13827
13696
  in_reply_to_tool_call_id: z.ZodOptional<z.ZodString>;
13828
13697
  interaction_response: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
13829
13698
  kind: z.ZodLiteral<"product_search_confirmation">;
@@ -14055,7 +13924,7 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
14055
13924
  requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
14056
13925
  }, z.core.$strip>>;
14057
13926
  }, z.core.$strip>>;
14058
- seoKeywords: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
13927
+ seoKeywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
14059
13928
  id: z.ZodString;
14060
13929
  keyword: z.ZodString;
14061
13930
  business_id: z.ZodString;
@@ -14087,42 +13956,7 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
14087
13956
  variants: z.ZodArray<z.ZodString>;
14088
13957
  source: z.ZodLiteral<"semrush">;
14089
13958
  source_evidence: z.ZodArray<z.ZodString>;
14090
- }, z.core.$strict>>, z.ZodArray<z.ZodObject<{
14091
- id: z.ZodString;
14092
- keyword: z.ZodString;
14093
- normalized_keyword: z.ZodString;
14094
- intc: z.ZodEnum<{
14095
- C: "C";
14096
- I: "I";
14097
- N: "N";
14098
- T: "T";
14099
- }>;
14100
- keyword_type: z.ZodString;
14101
- intent_strength: z.ZodEnum<{
14102
- high: "high";
14103
- medium: "medium";
14104
- low: "low";
14105
- }>;
14106
- monthly_volume: z.ZodNullable<z.ZodNumber>;
14107
- keyword_difficulty: z.ZodNullable<z.ZodNumber>;
14108
- fit: z.ZodNullable<z.ZodNumber>;
14109
- sem_cpc: z.ZodNullable<z.ZodNumber>;
14110
- currency: z.ZodNullable<z.ZodString>;
14111
- landing_page: z.ZodString;
14112
- content_format: z.ZodString;
14113
- priority: z.ZodEnum<{
14114
- P0: "P0";
14115
- P1: "P1";
14116
- P2: "P2";
14117
- P3: "P3";
14118
- }>;
14119
- source: z.ZodEnum<{
14120
- semrush: "semrush";
14121
- step5_generation: "step5_generation";
14122
- }>;
14123
- source_market: z.ZodString;
14124
- metric_timestamp: z.ZodNullable<z.ZodString>;
14125
- }, z.core.$strict>>]>>;
13959
+ }, z.core.$strict>>>;
14126
13960
  }, z.core.$strict>;
14127
13961
  }, z.core.$strip>, z.ZodObject<{
14128
13962
  type: z.ZodLiteral<"sitemap.clamped">;
@@ -14266,8 +14100,8 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
14266
14100
  layout: "layout";
14267
14101
  style: "style";
14268
14102
  section: "section";
14269
- chrome: "chrome";
14270
14103
  media: "media";
14104
+ chrome: "chrome";
14271
14105
  }>;
14272
14106
  target_path: z.ZodString;
14273
14107
  block_id: z.ZodOptional<z.ZodString>;
@@ -14890,6 +14724,7 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
14890
14724
  }, z.core.$strip>, z.ZodObject<{
14891
14725
  type: z.ZodLiteral<"step-start">;
14892
14726
  }, z.core.$strip>]>>;
14727
+ display_text: z.ZodOptional<z.ZodString>;
14893
14728
  in_reply_to_tool_call_id: z.ZodOptional<z.ZodString>;
14894
14729
  interaction_response: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
14895
14730
  kind: z.ZodLiteral<"product_search_confirmation">;
@@ -15121,7 +14956,7 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
15121
14956
  requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
15122
14957
  }, z.core.$strip>>;
15123
14958
  }, z.core.$strip>>;
15124
- seoKeywords: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
14959
+ seoKeywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
15125
14960
  id: z.ZodString;
15126
14961
  keyword: z.ZodString;
15127
14962
  business_id: z.ZodString;
@@ -15153,42 +14988,7 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
15153
14988
  variants: z.ZodArray<z.ZodString>;
15154
14989
  source: z.ZodLiteral<"semrush">;
15155
14990
  source_evidence: z.ZodArray<z.ZodString>;
15156
- }, z.core.$strict>>, z.ZodArray<z.ZodObject<{
15157
- id: z.ZodString;
15158
- keyword: z.ZodString;
15159
- normalized_keyword: z.ZodString;
15160
- intc: z.ZodEnum<{
15161
- C: "C";
15162
- I: "I";
15163
- N: "N";
15164
- T: "T";
15165
- }>;
15166
- keyword_type: z.ZodString;
15167
- intent_strength: z.ZodEnum<{
15168
- high: "high";
15169
- medium: "medium";
15170
- low: "low";
15171
- }>;
15172
- monthly_volume: z.ZodNullable<z.ZodNumber>;
15173
- keyword_difficulty: z.ZodNullable<z.ZodNumber>;
15174
- fit: z.ZodNullable<z.ZodNumber>;
15175
- sem_cpc: z.ZodNullable<z.ZodNumber>;
15176
- currency: z.ZodNullable<z.ZodString>;
15177
- landing_page: z.ZodString;
15178
- content_format: z.ZodString;
15179
- priority: z.ZodEnum<{
15180
- P0: "P0";
15181
- P1: "P1";
15182
- P2: "P2";
15183
- P3: "P3";
15184
- }>;
15185
- source: z.ZodEnum<{
15186
- semrush: "semrush";
15187
- step5_generation: "step5_generation";
15188
- }>;
15189
- source_market: z.ZodString;
15190
- metric_timestamp: z.ZodNullable<z.ZodString>;
15191
- }, z.core.$strict>>]>>;
14991
+ }, z.core.$strict>>>;
15192
14992
  }, z.core.$strict>;
15193
14993
  }, z.core.$strip>, z.ZodObject<{
15194
14994
  type: z.ZodLiteral<"sitemap.clamped">;
@@ -15332,8 +15132,8 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
15332
15132
  layout: "layout";
15333
15133
  style: "style";
15334
15134
  section: "section";
15335
- chrome: "chrome";
15336
15135
  media: "media";
15136
+ chrome: "chrome";
15337
15137
  }>;
15338
15138
  target_path: z.ZodString;
15339
15139
  block_id: z.ZodOptional<z.ZodString>;
@@ -15997,6 +15797,7 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
15997
15797
  }, z.core.$strip>, z.ZodObject<{
15998
15798
  type: z.ZodLiteral<"step-start">;
15999
15799
  }, z.core.$strip>]>>;
15800
+ display_text: z.ZodOptional<z.ZodString>;
16000
15801
  in_reply_to_tool_call_id: z.ZodOptional<z.ZodString>;
16001
15802
  interaction_response: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
16002
15803
  kind: z.ZodLiteral<"product_search_confirmation">;
@@ -16228,7 +16029,7 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
16228
16029
  requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
16229
16030
  }, z.core.$strip>>;
16230
16031
  }, z.core.$strip>>;
16231
- seoKeywords: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
16032
+ seoKeywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
16232
16033
  id: z.ZodString;
16233
16034
  keyword: z.ZodString;
16234
16035
  business_id: z.ZodString;
@@ -16260,42 +16061,7 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
16260
16061
  variants: z.ZodArray<z.ZodString>;
16261
16062
  source: z.ZodLiteral<"semrush">;
16262
16063
  source_evidence: z.ZodArray<z.ZodString>;
16263
- }, z.core.$strict>>, z.ZodArray<z.ZodObject<{
16264
- id: z.ZodString;
16265
- keyword: z.ZodString;
16266
- normalized_keyword: z.ZodString;
16267
- intc: z.ZodEnum<{
16268
- C: "C";
16269
- I: "I";
16270
- N: "N";
16271
- T: "T";
16272
- }>;
16273
- keyword_type: z.ZodString;
16274
- intent_strength: z.ZodEnum<{
16275
- high: "high";
16276
- medium: "medium";
16277
- low: "low";
16278
- }>;
16279
- monthly_volume: z.ZodNullable<z.ZodNumber>;
16280
- keyword_difficulty: z.ZodNullable<z.ZodNumber>;
16281
- fit: z.ZodNullable<z.ZodNumber>;
16282
- sem_cpc: z.ZodNullable<z.ZodNumber>;
16283
- currency: z.ZodNullable<z.ZodString>;
16284
- landing_page: z.ZodString;
16285
- content_format: z.ZodString;
16286
- priority: z.ZodEnum<{
16287
- P0: "P0";
16288
- P1: "P1";
16289
- P2: "P2";
16290
- P3: "P3";
16291
- }>;
16292
- source: z.ZodEnum<{
16293
- semrush: "semrush";
16294
- step5_generation: "step5_generation";
16295
- }>;
16296
- source_market: z.ZodString;
16297
- metric_timestamp: z.ZodNullable<z.ZodString>;
16298
- }, z.core.$strict>>]>>;
16064
+ }, z.core.$strict>>>;
16299
16065
  }, z.core.$strict>;
16300
16066
  }, z.core.$strip>, z.ZodObject<{
16301
16067
  type: z.ZodLiteral<"sitemap.clamped">;
@@ -16439,8 +16205,8 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
16439
16205
  layout: "layout";
16440
16206
  style: "style";
16441
16207
  section: "section";
16442
- chrome: "chrome";
16443
16208
  media: "media";
16209
+ chrome: "chrome";
16444
16210
  }>;
16445
16211
  target_path: z.ZodString;
16446
16212
  block_id: z.ZodOptional<z.ZodString>;
@@ -17106,6 +16872,7 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
17106
16872
  }, z.core.$strip>, z.ZodObject<{
17107
16873
  type: z.ZodLiteral<"step-start">;
17108
16874
  }, z.core.$strip>]>>;
16875
+ display_text: z.ZodOptional<z.ZodString>;
17109
16876
  in_reply_to_tool_call_id: z.ZodOptional<z.ZodString>;
17110
16877
  interaction_response: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
17111
16878
  kind: z.ZodLiteral<"product_search_confirmation">;
@@ -17337,7 +17104,7 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
17337
17104
  requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
17338
17105
  }, z.core.$strip>>;
17339
17106
  }, z.core.$strip>>;
17340
- seoKeywords: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
17107
+ seoKeywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
17341
17108
  id: z.ZodString;
17342
17109
  keyword: z.ZodString;
17343
17110
  business_id: z.ZodString;
@@ -17369,42 +17136,7 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
17369
17136
  variants: z.ZodArray<z.ZodString>;
17370
17137
  source: z.ZodLiteral<"semrush">;
17371
17138
  source_evidence: z.ZodArray<z.ZodString>;
17372
- }, z.core.$strict>>, z.ZodArray<z.ZodObject<{
17373
- id: z.ZodString;
17374
- keyword: z.ZodString;
17375
- normalized_keyword: z.ZodString;
17376
- intc: z.ZodEnum<{
17377
- C: "C";
17378
- I: "I";
17379
- N: "N";
17380
- T: "T";
17381
- }>;
17382
- keyword_type: z.ZodString;
17383
- intent_strength: z.ZodEnum<{
17384
- high: "high";
17385
- medium: "medium";
17386
- low: "low";
17387
- }>;
17388
- monthly_volume: z.ZodNullable<z.ZodNumber>;
17389
- keyword_difficulty: z.ZodNullable<z.ZodNumber>;
17390
- fit: z.ZodNullable<z.ZodNumber>;
17391
- sem_cpc: z.ZodNullable<z.ZodNumber>;
17392
- currency: z.ZodNullable<z.ZodString>;
17393
- landing_page: z.ZodString;
17394
- content_format: z.ZodString;
17395
- priority: z.ZodEnum<{
17396
- P0: "P0";
17397
- P1: "P1";
17398
- P2: "P2";
17399
- P3: "P3";
17400
- }>;
17401
- source: z.ZodEnum<{
17402
- semrush: "semrush";
17403
- step5_generation: "step5_generation";
17404
- }>;
17405
- source_market: z.ZodString;
17406
- metric_timestamp: z.ZodNullable<z.ZodString>;
17407
- }, z.core.$strict>>]>>;
17139
+ }, z.core.$strict>>>;
17408
17140
  }, z.core.$strict>;
17409
17141
  }, z.core.$strip>, z.ZodObject<{
17410
17142
  type: z.ZodLiteral<"sitemap.clamped">;
@@ -17548,8 +17280,8 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
17548
17280
  layout: "layout";
17549
17281
  style: "style";
17550
17282
  section: "section";
17551
- chrome: "chrome";
17552
17283
  media: "media";
17284
+ chrome: "chrome";
17553
17285
  }>;
17554
17286
  target_path: z.ZodString;
17555
17287
  block_id: z.ZodOptional<z.ZodString>;
@@ -18180,6 +17912,7 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
18180
17912
  }, z.core.$strip>, z.ZodObject<{
18181
17913
  type: z.ZodLiteral<"step-start">;
18182
17914
  }, z.core.$strip>]>>;
17915
+ display_text: z.ZodOptional<z.ZodString>;
18183
17916
  in_reply_to_tool_call_id: z.ZodOptional<z.ZodString>;
18184
17917
  interaction_response: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
18185
17918
  kind: z.ZodLiteral<"product_search_confirmation">;
@@ -18411,7 +18144,7 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
18411
18144
  requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
18412
18145
  }, z.core.$strip>>;
18413
18146
  }, z.core.$strip>>;
18414
- seoKeywords: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
18147
+ seoKeywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
18415
18148
  id: z.ZodString;
18416
18149
  keyword: z.ZodString;
18417
18150
  business_id: z.ZodString;
@@ -18443,42 +18176,7 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
18443
18176
  variants: z.ZodArray<z.ZodString>;
18444
18177
  source: z.ZodLiteral<"semrush">;
18445
18178
  source_evidence: z.ZodArray<z.ZodString>;
18446
- }, z.core.$strict>>, z.ZodArray<z.ZodObject<{
18447
- id: z.ZodString;
18448
- keyword: z.ZodString;
18449
- normalized_keyword: z.ZodString;
18450
- intc: z.ZodEnum<{
18451
- C: "C";
18452
- I: "I";
18453
- N: "N";
18454
- T: "T";
18455
- }>;
18456
- keyword_type: z.ZodString;
18457
- intent_strength: z.ZodEnum<{
18458
- high: "high";
18459
- medium: "medium";
18460
- low: "low";
18461
- }>;
18462
- monthly_volume: z.ZodNullable<z.ZodNumber>;
18463
- keyword_difficulty: z.ZodNullable<z.ZodNumber>;
18464
- fit: z.ZodNullable<z.ZodNumber>;
18465
- sem_cpc: z.ZodNullable<z.ZodNumber>;
18466
- currency: z.ZodNullable<z.ZodString>;
18467
- landing_page: z.ZodString;
18468
- content_format: z.ZodString;
18469
- priority: z.ZodEnum<{
18470
- P0: "P0";
18471
- P1: "P1";
18472
- P2: "P2";
18473
- P3: "P3";
18474
- }>;
18475
- source: z.ZodEnum<{
18476
- semrush: "semrush";
18477
- step5_generation: "step5_generation";
18478
- }>;
18479
- source_market: z.ZodString;
18480
- metric_timestamp: z.ZodNullable<z.ZodString>;
18481
- }, z.core.$strict>>]>>;
18179
+ }, z.core.$strict>>>;
18482
18180
  }, z.core.$strict>;
18483
18181
  }, z.core.$strip>, z.ZodObject<{
18484
18182
  type: z.ZodLiteral<"sitemap.clamped">;
@@ -18622,8 +18320,8 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
18622
18320
  layout: "layout";
18623
18321
  style: "style";
18624
18322
  section: "section";
18625
- chrome: "chrome";
18626
18323
  media: "media";
18324
+ chrome: "chrome";
18627
18325
  }>;
18628
18326
  target_path: z.ZodString;
18629
18327
  block_id: z.ZodOptional<z.ZodString>;
@@ -19240,6 +18938,13 @@ export declare const REST_API_ENDPOINTS: readonly [{
19240
18938
  readonly summary: "Read the current site workflow snapshot and derived menu state.";
19241
18939
  readonly status: "implemented";
19242
18940
  readonly response_schema: "SiteWorkflowSnapshotResponseSchema";
18941
+ }, {
18942
+ readonly method: "GET";
18943
+ readonly path: "/internal/sites/:site_id/workflow/progress";
18944
+ readonly tag: "site-workflows";
18945
+ readonly summary: "Read the minimal internal site workflow progress projection.";
18946
+ readonly status: "implemented";
18947
+ readonly response_schema: "SiteWorkflowProgressResponseSchema";
19243
18948
  }, {
19244
18949
  readonly method: "PUT";
19245
18950
  readonly path: "/sites/:site_id/workflow/website";
@@ -19511,6 +19216,14 @@ export declare const REST_API_ENDPOINTS: readonly [{
19511
19216
  readonly status: "implemented";
19512
19217
  readonly request_body_schema: "PersistGeneratedSitemapDraftRequestSchema";
19513
19218
  readonly response_schema: "PersistGeneratedSitemapDraftResponseSchema";
19219
+ }, {
19220
+ readonly method: "PUT";
19221
+ readonly path: "/sites/:site_id/sitemap/draft";
19222
+ readonly tag: "sitemaps";
19223
+ readonly summary: "Save an immutable user draft without confirming or advancing the workflow.";
19224
+ readonly status: "implemented";
19225
+ readonly request_body_schema: "SaveSiteSitemapDraftRequestSchema";
19226
+ readonly response_schema: "SaveSiteSitemapDraftResponseSchema";
19514
19227
  }, {
19515
19228
  readonly method: "GET";
19516
19229
  readonly path: "/sites/:site_id/sitemap";
@@ -19588,7 +19301,7 @@ export declare const REST_API_ENDPOINTS: readonly [{
19588
19301
  readonly method: "POST";
19589
19302
  readonly path: "/internal/sites/:cms_site_id/external-sync";
19590
19303
  readonly tag: "sites";
19591
- readonly summary: "Synchronize a trusted external CMS site URL into VCP by tenant_id + cms_site_id, creating a draft VCP site on first sync.";
19304
+ readonly summary: "Synchronize trusted CMS identity by tenant_id + cms_site_id; legacy site_url is optional and ignored. The response URL is the configured public API base or null.";
19592
19305
  readonly status: "implemented";
19593
19306
  readonly request_body_schema: "ExternalSyncSiteRequestSchema";
19594
19307
  readonly response_schema: "ExternalSyncSiteResponseSchema";
@@ -20420,6 +20133,7 @@ export declare const InboundUserMessageSchema: z.ZodObject<{
20420
20133
  export type InboundUserMessage = z.infer<typeof InboundUserMessageSchema>;
20421
20134
  export declare const StartWorkspaceRunRequestSchema: z.ZodObject<{
20422
20135
  base_snapshot_id: z.ZodOptional<z.ZodUUID>;
20136
+ intent: z.ZodOptional<z.ZodLiteral<"navigation_adaptation">>;
20423
20137
  message: z.ZodOptional<z.ZodObject<{
20424
20138
  id: z.ZodString;
20425
20139
  metadata: z.ZodOptional<z.ZodUnknown>;
@@ -20641,8 +20355,8 @@ export declare const ActiveWorkspaceRunResponseSchema: z.ZodObject<{
20641
20355
  tenant_id: z.ZodString;
20642
20356
  site_id: z.ZodUUID;
20643
20357
  kind: z.ZodEnum<{
20644
- landing_page: "landing_page";
20645
20358
  external: "external";
20359
+ landing_page: "landing_page";
20646
20360
  workspace: "workspace";
20647
20361
  }>;
20648
20362
  origin: z.ZodEnum<{
@@ -20677,8 +20391,8 @@ export declare const SiteThreadListResponseSchema: z.ZodObject<{
20677
20391
  tenant_id: z.ZodString;
20678
20392
  site_id: z.ZodUUID;
20679
20393
  kind: z.ZodEnum<{
20680
- landing_page: "landing_page";
20681
20394
  external: "external";
20395
+ landing_page: "landing_page";
20682
20396
  workspace: "workspace";
20683
20397
  }>;
20684
20398
  origin: z.ZodEnum<{
@@ -20714,8 +20428,8 @@ export declare const SiteThreadResponseSchema: z.ZodObject<{
20714
20428
  tenant_id: z.ZodString;
20715
20429
  site_id: z.ZodUUID;
20716
20430
  kind: z.ZodEnum<{
20717
- landing_page: "landing_page";
20718
20431
  external: "external";
20432
+ landing_page: "landing_page";
20719
20433
  workspace: "workspace";
20720
20434
  }>;
20721
20435
  origin: z.ZodEnum<{
@@ -20876,6 +20590,8 @@ export declare const WorkspaceClientMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
20876
20590
  structural_path: z.ZodOptional<z.ZodString>;
20877
20591
  text_preview: z.ZodOptional<z.ZodString>;
20878
20592
  }, z.core.$strip>>;
20593
+ intent: z.ZodOptional<z.ZodLiteral<"navigation_adaptation">>;
20594
+ display_text: z.ZodOptional<z.ZodString>;
20879
20595
  message: z.ZodObject<{
20880
20596
  id: z.ZodString;
20881
20597
  metadata: z.ZodOptional<z.ZodUnknown>;
@@ -21267,10 +20983,10 @@ export declare const WorkspaceClientMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
21267
20983
  }, z.core.$strip>;
21268
20984
  }, z.core.$strip>>;
21269
20985
  props: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
20986
+ href: "href";
21270
20987
  src: "src";
21271
20988
  alt: "alt";
21272
20989
  poster: "poster";
21273
- href: "href";
21274
20990
  width: "width";
21275
20991
  height: "height";
21276
20992
  }> & z.core.$partial, z.ZodString>>;
@@ -21454,6 +21170,7 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
21454
21170
  }, z.core.$strip>, z.ZodObject<{
21455
21171
  type: z.ZodLiteral<"step-start">;
21456
21172
  }, z.core.$strip>]>>;
21173
+ display_text: z.ZodOptional<z.ZodString>;
21457
21174
  in_reply_to_tool_call_id: z.ZodOptional<z.ZodString>;
21458
21175
  interaction_response: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
21459
21176
  kind: z.ZodLiteral<"product_search_confirmation">;
@@ -21690,8 +21407,8 @@ export declare const WorkspaceServerMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
21690
21407
  layout: "layout";
21691
21408
  style: "style";
21692
21409
  section: "section";
21693
- chrome: "chrome";
21694
21410
  media: "media";
21411
+ chrome: "chrome";
21695
21412
  }>;
21696
21413
  target_path: z.ZodString;
21697
21414
  block_id: z.ZodOptional<z.ZodString>;
@@ -22117,6 +21834,8 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
22117
21834
  structural_path: z.ZodOptional<z.ZodString>;
22118
21835
  text_preview: z.ZodOptional<z.ZodString>;
22119
21836
  }, z.core.$strip>>;
21837
+ intent: z.ZodOptional<z.ZodLiteral<"navigation_adaptation">>;
21838
+ display_text: z.ZodOptional<z.ZodString>;
22120
21839
  message: z.ZodObject<{
22121
21840
  id: z.ZodString;
22122
21841
  metadata: z.ZodOptional<z.ZodUnknown>;
@@ -22508,10 +22227,10 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
22508
22227
  }, z.core.$strip>;
22509
22228
  }, z.core.$strip>>;
22510
22229
  props: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
22230
+ href: "href";
22511
22231
  src: "src";
22512
22232
  alt: "alt";
22513
22233
  poster: "poster";
22514
- href: "href";
22515
22234
  width: "width";
22516
22235
  height: "height";
22517
22236
  }> & z.core.$partial, z.ZodString>>;
@@ -22692,6 +22411,7 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
22692
22411
  }, z.core.$strip>, z.ZodObject<{
22693
22412
  type: z.ZodLiteral<"step-start">;
22694
22413
  }, z.core.$strip>]>>;
22414
+ display_text: z.ZodOptional<z.ZodString>;
22695
22415
  in_reply_to_tool_call_id: z.ZodOptional<z.ZodString>;
22696
22416
  interaction_response: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
22697
22417
  kind: z.ZodLiteral<"product_search_confirmation">;
@@ -22928,8 +22648,8 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
22928
22648
  layout: "layout";
22929
22649
  style: "style";
22930
22650
  section: "section";
22931
- chrome: "chrome";
22932
22651
  media: "media";
22652
+ chrome: "chrome";
22933
22653
  }>;
22934
22654
  target_path: z.ZodString;
22935
22655
  block_id: z.ZodOptional<z.ZodString>;
@@ -23962,3 +23682,5 @@ export type { MediaLibraryFileType, MediaLibrarySource, MediaLibraryAsset, ListM
23962
23682
  export { WorkspaceDesignApplyRequestSchema, WorkspaceDesignApplyResponseSchema, } from "./workspace-design-apply.js";
23963
23683
  export type { WorkspaceDesignApplyRequest, WorkspaceDesignApplyResponse, } from "./workspace-design-apply.js";
23964
23684
  export * from "./step5-keyword-library.js";
23685
+ export * from "./cms-navigation.js";
23686
+ export * from "./site-migration-progress.js";