@vcp-dev/contracts 0.10.1 → 0.10.3

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
@@ -11,6 +11,7 @@ export * from "./step4-diagnosis.js";
11
11
  export * from "./deployment-runtime.js";
12
12
  export * from "./deployment-lifecycle.js";
13
13
  export * from "./external-site-edit.js";
14
+ export * from "./workspace-attachment.js";
14
15
  export * from "./internal-entity-id.js";
15
16
  export * from "./designer-component-library.js";
16
17
  export * from "./designer-page-library.js";
@@ -870,7 +871,6 @@ export declare const SITE_STRUCTURE_CONFIRMATION_REQUIRED_ERROR_CODE: "SITE_STRU
870
871
  export declare const SITE_STRUCTURE_CONFIRMATION_STALE_ERROR_CODE: "SITE_STRUCTURE_CONFIRMATION_STALE";
871
872
  export declare const CreateSiteInputSchema: z.ZodObject<{
872
873
  tenant_id: z.ZodString;
873
- owner_user_id: z.ZodUUID;
874
874
  name: z.ZodString;
875
875
  brief: z.ZodString;
876
876
  }, z.core.$strip>;
@@ -1204,7 +1204,6 @@ export type ExternalSyncSiteResponse = z.infer<typeof ExternalSyncSiteResponseSc
1204
1204
  export declare const SiteRecordSchema: z.ZodObject<{
1205
1205
  id: z.ZodUUID;
1206
1206
  tenant_id: z.ZodString;
1207
- owner_user_id: z.ZodNullable<z.ZodUUID>;
1208
1207
  name: z.ZodString;
1209
1208
  slug: z.ZodString;
1210
1209
  status: z.ZodEnum<{
@@ -1438,7 +1437,6 @@ export declare const CreateSiteBriefResponseSchema: z.ZodObject<{
1438
1437
  site: z.ZodObject<{
1439
1438
  id: z.ZodUUID;
1440
1439
  tenant_id: z.ZodString;
1441
- owner_user_id: z.ZodNullable<z.ZodUUID>;
1442
1440
  name: z.ZodString;
1443
1441
  slug: z.ZodString;
1444
1442
  status: z.ZodEnum<{
@@ -1673,7 +1671,6 @@ export declare const UpdateBriefResponseSchema: z.ZodObject<{
1673
1671
  site: z.ZodObject<{
1674
1672
  id: z.ZodUUID;
1675
1673
  tenant_id: z.ZodString;
1676
- owner_user_id: z.ZodNullable<z.ZodUUID>;
1677
1674
  name: z.ZodString;
1678
1675
  slug: z.ZodString;
1679
1676
  status: z.ZodEnum<{
@@ -2220,7 +2217,6 @@ export declare const PersistSiteSnapshotResponseSchema: z.ZodObject<{
2220
2217
  site: z.ZodObject<{
2221
2218
  id: z.ZodUUID;
2222
2219
  tenant_id: z.ZodString;
2223
- owner_user_id: z.ZodNullable<z.ZodUUID>;
2224
2220
  name: z.ZodString;
2225
2221
  slug: z.ZodString;
2226
2222
  status: z.ZodEnum<{
@@ -2481,7 +2477,6 @@ export declare const PromoteSiteSnapshotResponseSchema: z.ZodObject<{
2481
2477
  site: z.ZodObject<{
2482
2478
  id: z.ZodUUID;
2483
2479
  tenant_id: z.ZodString;
2484
- owner_user_id: z.ZodNullable<z.ZodUUID>;
2485
2480
  name: z.ZodString;
2486
2481
  slug: z.ZodString;
2487
2482
  status: z.ZodEnum<{
@@ -2868,7 +2863,6 @@ export declare const PromoteTemplateUpgradeSnapshotResponseSchema: z.ZodObject<{
2868
2863
  site: z.ZodObject<{
2869
2864
  id: z.ZodUUID;
2870
2865
  tenant_id: z.ZodString;
2871
- owner_user_id: z.ZodNullable<z.ZodUUID>;
2872
2866
  name: z.ZodString;
2873
2867
  slug: z.ZodString;
2874
2868
  status: z.ZodEnum<{
@@ -3145,7 +3139,6 @@ export declare const RestoreSiteSnapshotResponseSchema: z.ZodObject<{
3145
3139
  site: z.ZodObject<{
3146
3140
  id: z.ZodUUID;
3147
3141
  tenant_id: z.ZodString;
3148
- owner_user_id: z.ZodNullable<z.ZodUUID>;
3149
3142
  name: z.ZodString;
3150
3143
  slug: z.ZodString;
3151
3144
  status: z.ZodEnum<{
@@ -4372,6 +4365,7 @@ export type VisualTheme = z.infer<typeof VisualThemeSchema>;
4372
4365
  * fallback 取,自定义答案自动落到 value(用户原文)。
4373
4366
  */
4374
4367
  export declare const SitemapUserChoiceSchema: z.ZodObject<{
4368
+ key: z.ZodOptional<z.ZodString>;
4375
4369
  question: z.ZodString;
4376
4370
  answer: z.ZodString;
4377
4371
  }, z.core.$strip>;
@@ -5348,6 +5342,7 @@ export declare const SitemapSchema: z.ZodObject<{
5348
5342
  }, z.core.$strip>>;
5349
5343
  }, z.core.$strip>>;
5350
5344
  userChoices: z.ZodOptional<z.ZodArray<z.ZodObject<{
5345
+ key: z.ZodOptional<z.ZodString>;
5351
5346
  question: z.ZodString;
5352
5347
  answer: z.ZodString;
5353
5348
  }, z.core.$strip>>>;
@@ -5365,15 +5360,47 @@ export declare const SitemapSchema: z.ZodObject<{
5365
5360
  requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
5366
5361
  }, z.core.$strip>>;
5367
5362
  }, z.core.$strip>>;
5368
- seoKeywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
5363
+ seoKeywords: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
5364
+ id: z.ZodString;
5365
+ keyword: z.ZodString;
5366
+ business_id: z.ZodString;
5367
+ business_name: z.ZodString;
5368
+ category: z.ZodEnum<{
5369
+ 产品: "产品";
5370
+ "\u90E8\u4EF6/\u8017\u6750": "部件/耗材";
5371
+ 应用方案: "应用方案";
5372
+ "\u5B9A\u5236/OEM": "定制/OEM";
5373
+ 服务: "服务";
5374
+ "\u8D44\u8D28/\u80FD\u529B": "资质/能力";
5375
+ }>;
5376
+ selling_points: z.ZodString;
5377
+ section_id: z.ZodString;
5378
+ content_usage: z.ZodEnum<{
5379
+ product: "product";
5380
+ category: "category";
5381
+ solution: "solution";
5382
+ service: "service";
5383
+ capability: "capability";
5384
+ article: "article";
5385
+ faq: "faq";
5386
+ }>;
5387
+ intent: z.ZodString;
5388
+ semantic_group: z.ZodString;
5389
+ primary_business: z.ZodBoolean;
5390
+ monthly_volume: z.ZodNumber;
5391
+ keyword_difficulty: z.ZodNullable<z.ZodNumber>;
5392
+ variants: z.ZodArray<z.ZodString>;
5393
+ source: z.ZodLiteral<"semrush">;
5394
+ source_evidence: z.ZodArray<z.ZodString>;
5395
+ }, z.core.$strict>>, z.ZodArray<z.ZodObject<{
5369
5396
  id: z.ZodString;
5370
5397
  keyword: z.ZodString;
5371
5398
  normalized_keyword: z.ZodString;
5372
5399
  intc: z.ZodEnum<{
5373
5400
  C: "C";
5374
- T: "T";
5375
5401
  I: "I";
5376
5402
  N: "N";
5403
+ T: "T";
5377
5404
  }>;
5378
5405
  keyword_type: z.ZodString;
5379
5406
  intent_strength: z.ZodEnum<{
@@ -5400,7 +5427,7 @@ export declare const SitemapSchema: z.ZodObject<{
5400
5427
  }>;
5401
5428
  source_market: z.ZodString;
5402
5429
  metric_timestamp: z.ZodNullable<z.ZodString>;
5403
- }, z.core.$strict>>>;
5430
+ }, z.core.$strict>>]>>;
5404
5431
  }, z.core.$strict>;
5405
5432
  export type Sitemap = z.infer<typeof SitemapSchema>;
5406
5433
  export declare const SitemapDraftSchema: z.ZodObject<{
@@ -5506,6 +5533,7 @@ export declare const SitemapDraftSchema: z.ZodObject<{
5506
5533
  }, z.core.$strip>>;
5507
5534
  }, z.core.$strip>>;
5508
5535
  userChoices: z.ZodOptional<z.ZodArray<z.ZodObject<{
5536
+ key: z.ZodOptional<z.ZodString>;
5509
5537
  question: z.ZodString;
5510
5538
  answer: z.ZodString;
5511
5539
  }, z.core.$strip>>>;
@@ -5523,15 +5551,47 @@ export declare const SitemapDraftSchema: z.ZodObject<{
5523
5551
  requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
5524
5552
  }, z.core.$strip>>;
5525
5553
  }, z.core.$strip>>;
5526
- seoKeywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
5554
+ seoKeywords: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
5555
+ id: z.ZodString;
5556
+ keyword: z.ZodString;
5557
+ business_id: z.ZodString;
5558
+ business_name: z.ZodString;
5559
+ category: z.ZodEnum<{
5560
+ 产品: "产品";
5561
+ "\u90E8\u4EF6/\u8017\u6750": "部件/耗材";
5562
+ 应用方案: "应用方案";
5563
+ "\u5B9A\u5236/OEM": "定制/OEM";
5564
+ 服务: "服务";
5565
+ "\u8D44\u8D28/\u80FD\u529B": "资质/能力";
5566
+ }>;
5567
+ selling_points: z.ZodString;
5568
+ section_id: z.ZodString;
5569
+ content_usage: z.ZodEnum<{
5570
+ product: "product";
5571
+ category: "category";
5572
+ solution: "solution";
5573
+ service: "service";
5574
+ capability: "capability";
5575
+ article: "article";
5576
+ faq: "faq";
5577
+ }>;
5578
+ intent: z.ZodString;
5579
+ semantic_group: z.ZodString;
5580
+ primary_business: z.ZodBoolean;
5581
+ monthly_volume: z.ZodNumber;
5582
+ keyword_difficulty: z.ZodNullable<z.ZodNumber>;
5583
+ variants: z.ZodArray<z.ZodString>;
5584
+ source: z.ZodLiteral<"semrush">;
5585
+ source_evidence: z.ZodArray<z.ZodString>;
5586
+ }, z.core.$strict>>, z.ZodArray<z.ZodObject<{
5527
5587
  id: z.ZodString;
5528
5588
  keyword: z.ZodString;
5529
5589
  normalized_keyword: z.ZodString;
5530
5590
  intc: z.ZodEnum<{
5531
5591
  C: "C";
5532
- T: "T";
5533
5592
  I: "I";
5534
5593
  N: "N";
5594
+ T: "T";
5535
5595
  }>;
5536
5596
  keyword_type: z.ZodString;
5537
5597
  intent_strength: z.ZodEnum<{
@@ -5558,7 +5618,7 @@ export declare const SitemapDraftSchema: z.ZodObject<{
5558
5618
  }>;
5559
5619
  source_market: z.ZodString;
5560
5620
  metric_timestamp: z.ZodNullable<z.ZodString>;
5561
- }, z.core.$strict>>>;
5621
+ }, z.core.$strict>>]>>;
5562
5622
  pages: z.ZodArray<z.ZodObject<{
5563
5623
  id: z.ZodString;
5564
5624
  title: z.ZodString;
@@ -5711,6 +5771,7 @@ export declare const SitemapResolverRequestSchema: z.ZodObject<{
5711
5771
  }, z.core.$strip>>;
5712
5772
  }, z.core.$strip>>;
5713
5773
  userChoices: z.ZodOptional<z.ZodArray<z.ZodObject<{
5774
+ key: z.ZodOptional<z.ZodString>;
5714
5775
  question: z.ZodString;
5715
5776
  answer: z.ZodString;
5716
5777
  }, z.core.$strip>>>;
@@ -5728,15 +5789,47 @@ export declare const SitemapResolverRequestSchema: z.ZodObject<{
5728
5789
  requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
5729
5790
  }, z.core.$strip>>;
5730
5791
  }, z.core.$strip>>;
5731
- seoKeywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
5792
+ seoKeywords: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
5793
+ id: z.ZodString;
5794
+ keyword: z.ZodString;
5795
+ business_id: z.ZodString;
5796
+ business_name: z.ZodString;
5797
+ category: z.ZodEnum<{
5798
+ 产品: "产品";
5799
+ "\u90E8\u4EF6/\u8017\u6750": "部件/耗材";
5800
+ 应用方案: "应用方案";
5801
+ "\u5B9A\u5236/OEM": "定制/OEM";
5802
+ 服务: "服务";
5803
+ "\u8D44\u8D28/\u80FD\u529B": "资质/能力";
5804
+ }>;
5805
+ selling_points: z.ZodString;
5806
+ section_id: z.ZodString;
5807
+ content_usage: z.ZodEnum<{
5808
+ product: "product";
5809
+ category: "category";
5810
+ solution: "solution";
5811
+ service: "service";
5812
+ capability: "capability";
5813
+ article: "article";
5814
+ faq: "faq";
5815
+ }>;
5816
+ intent: z.ZodString;
5817
+ semantic_group: z.ZodString;
5818
+ primary_business: z.ZodBoolean;
5819
+ monthly_volume: z.ZodNumber;
5820
+ keyword_difficulty: z.ZodNullable<z.ZodNumber>;
5821
+ variants: z.ZodArray<z.ZodString>;
5822
+ source: z.ZodLiteral<"semrush">;
5823
+ source_evidence: z.ZodArray<z.ZodString>;
5824
+ }, z.core.$strict>>, z.ZodArray<z.ZodObject<{
5732
5825
  id: z.ZodString;
5733
5826
  keyword: z.ZodString;
5734
5827
  normalized_keyword: z.ZodString;
5735
5828
  intc: z.ZodEnum<{
5736
5829
  C: "C";
5737
- T: "T";
5738
5830
  I: "I";
5739
5831
  N: "N";
5832
+ T: "T";
5740
5833
  }>;
5741
5834
  keyword_type: z.ZodString;
5742
5835
  intent_strength: z.ZodEnum<{
@@ -5763,7 +5856,7 @@ export declare const SitemapResolverRequestSchema: z.ZodObject<{
5763
5856
  }>;
5764
5857
  source_market: z.ZodString;
5765
5858
  metric_timestamp: z.ZodNullable<z.ZodString>;
5766
- }, z.core.$strict>>>;
5859
+ }, z.core.$strict>>]>>;
5767
5860
  pages: z.ZodArray<z.ZodObject<{
5768
5861
  id: z.ZodString;
5769
5862
  title: z.ZodString;
@@ -5956,6 +6049,7 @@ export declare const SitemapResolverResponseSchema: z.ZodObject<{
5956
6049
  }, z.core.$strip>>;
5957
6050
  }, z.core.$strip>>;
5958
6051
  userChoices: z.ZodOptional<z.ZodArray<z.ZodObject<{
6052
+ key: z.ZodOptional<z.ZodString>;
5959
6053
  question: z.ZodString;
5960
6054
  answer: z.ZodString;
5961
6055
  }, z.core.$strip>>>;
@@ -5973,15 +6067,47 @@ export declare const SitemapResolverResponseSchema: z.ZodObject<{
5973
6067
  requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
5974
6068
  }, z.core.$strip>>;
5975
6069
  }, z.core.$strip>>;
5976
- seoKeywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
6070
+ seoKeywords: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
6071
+ id: z.ZodString;
6072
+ keyword: z.ZodString;
6073
+ business_id: z.ZodString;
6074
+ business_name: z.ZodString;
6075
+ category: z.ZodEnum<{
6076
+ 产品: "产品";
6077
+ "\u90E8\u4EF6/\u8017\u6750": "部件/耗材";
6078
+ 应用方案: "应用方案";
6079
+ "\u5B9A\u5236/OEM": "定制/OEM";
6080
+ 服务: "服务";
6081
+ "\u8D44\u8D28/\u80FD\u529B": "资质/能力";
6082
+ }>;
6083
+ selling_points: z.ZodString;
6084
+ section_id: z.ZodString;
6085
+ content_usage: z.ZodEnum<{
6086
+ product: "product";
6087
+ category: "category";
6088
+ solution: "solution";
6089
+ service: "service";
6090
+ capability: "capability";
6091
+ article: "article";
6092
+ faq: "faq";
6093
+ }>;
6094
+ intent: z.ZodString;
6095
+ semantic_group: z.ZodString;
6096
+ primary_business: z.ZodBoolean;
6097
+ monthly_volume: z.ZodNumber;
6098
+ keyword_difficulty: z.ZodNullable<z.ZodNumber>;
6099
+ variants: z.ZodArray<z.ZodString>;
6100
+ source: z.ZodLiteral<"semrush">;
6101
+ source_evidence: z.ZodArray<z.ZodString>;
6102
+ }, z.core.$strict>>, z.ZodArray<z.ZodObject<{
5977
6103
  id: z.ZodString;
5978
6104
  keyword: z.ZodString;
5979
6105
  normalized_keyword: z.ZodString;
5980
6106
  intc: z.ZodEnum<{
5981
6107
  C: "C";
5982
- T: "T";
5983
6108
  I: "I";
5984
6109
  N: "N";
6110
+ T: "T";
5985
6111
  }>;
5986
6112
  keyword_type: z.ZodString;
5987
6113
  intent_strength: z.ZodEnum<{
@@ -6008,7 +6134,7 @@ export declare const SitemapResolverResponseSchema: z.ZodObject<{
6008
6134
  }>;
6009
6135
  source_market: z.ZodString;
6010
6136
  metric_timestamp: z.ZodNullable<z.ZodString>;
6011
- }, z.core.$strict>>>;
6137
+ }, z.core.$strict>>]>>;
6012
6138
  }, z.core.$strict>;
6013
6139
  }, z.core.$strict>;
6014
6140
  export type SitemapResolverResponse = z.infer<typeof SitemapResolverResponseSchema>;
@@ -6371,6 +6497,7 @@ export type Step5SitemapStartRequest = z.infer<typeof Step5SitemapStartRequestSc
6371
6497
  export declare const Step5SitemapDecisionSchema: z.ZodObject<{
6372
6498
  item_key: z.ZodEnum<{
6373
6499
  product: "product";
6500
+ keywords: "keywords";
6374
6501
  market: "market";
6375
6502
  content: "content";
6376
6503
  language: "language";
@@ -6378,16 +6505,16 @@ export declare const Step5SitemapDecisionSchema: z.ZodObject<{
6378
6505
  brand: "brand";
6379
6506
  competition: "competition";
6380
6507
  structure: "structure";
6508
+ risk: "risk";
6381
6509
  seogeo: "seogeo";
6382
6510
  conversion: "conversion";
6383
- risk: "risk";
6384
6511
  }>;
6385
6512
  title: z.ZodString;
6386
- selected_option_id: z.ZodEnum<{
6513
+ selected_option_id: z.ZodUnion<readonly [z.ZodEnum<{
6387
6514
  recommended: "recommended";
6388
6515
  conservative: "conservative";
6389
6516
  focused: "focused";
6390
- }>;
6517
+ }>, z.ZodLiteral<"confirmed">]>;
6391
6518
  selected_label: z.ZodString;
6392
6519
  selected_value: z.ZodString;
6393
6520
  selected_description: z.ZodString;
@@ -6404,6 +6531,10 @@ export declare const Step5SitemapDecisionSchema: z.ZodObject<{
6404
6531
  name_en: z.ZodString;
6405
6532
  region: z.ZodString;
6406
6533
  }, z.core.$strict>>>;
6534
+ sections: z.ZodOptional<z.ZodArray<z.ZodObject<{
6535
+ id: z.ZodString;
6536
+ label: z.ZodString;
6537
+ }, z.core.$strict>>>;
6407
6538
  }, z.core.$strict>;
6408
6539
  export type Step5SitemapDecision = z.infer<typeof Step5SitemapDecisionSchema>;
6409
6540
  /**
@@ -6419,6 +6550,7 @@ export declare const Step5SitemapSourceSchema: z.ZodObject<{
6419
6550
  decisions: z.ZodArray<z.ZodObject<{
6420
6551
  item_key: z.ZodEnum<{
6421
6552
  product: "product";
6553
+ keywords: "keywords";
6422
6554
  market: "market";
6423
6555
  content: "content";
6424
6556
  language: "language";
@@ -6426,16 +6558,16 @@ export declare const Step5SitemapSourceSchema: z.ZodObject<{
6426
6558
  brand: "brand";
6427
6559
  competition: "competition";
6428
6560
  structure: "structure";
6561
+ risk: "risk";
6429
6562
  seogeo: "seogeo";
6430
6563
  conversion: "conversion";
6431
- risk: "risk";
6432
6564
  }>;
6433
6565
  title: z.ZodString;
6434
- selected_option_id: z.ZodEnum<{
6566
+ selected_option_id: z.ZodUnion<readonly [z.ZodEnum<{
6435
6567
  recommended: "recommended";
6436
6568
  conservative: "conservative";
6437
6569
  focused: "focused";
6438
- }>;
6570
+ }>, z.ZodLiteral<"confirmed">]>;
6439
6571
  selected_label: z.ZodString;
6440
6572
  selected_value: z.ZodString;
6441
6573
  selected_description: z.ZodString;
@@ -6452,6 +6584,10 @@ export declare const Step5SitemapSourceSchema: z.ZodObject<{
6452
6584
  name_en: z.ZodString;
6453
6585
  region: z.ZodString;
6454
6586
  }, z.core.$strict>>>;
6587
+ sections: z.ZodOptional<z.ZodArray<z.ZodObject<{
6588
+ id: z.ZodString;
6589
+ label: z.ZodString;
6590
+ }, z.core.$strict>>>;
6455
6591
  }, z.core.$strict>>;
6456
6592
  seo_keywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
6457
6593
  id: z.ZodString;
@@ -6459,9 +6595,9 @@ export declare const Step5SitemapSourceSchema: z.ZodObject<{
6459
6595
  normalized_keyword: z.ZodString;
6460
6596
  intc: z.ZodEnum<{
6461
6597
  C: "C";
6462
- T: "T";
6463
6598
  I: "I";
6464
6599
  N: "N";
6600
+ T: "T";
6465
6601
  }>;
6466
6602
  keyword_type: z.ZodString;
6467
6603
  intent_strength: z.ZodEnum<{
@@ -6489,6 +6625,39 @@ export declare const Step5SitemapSourceSchema: z.ZodObject<{
6489
6625
  source_market: z.ZodString;
6490
6626
  metric_timestamp: z.ZodNullable<z.ZodString>;
6491
6627
  }, z.core.$strict>>>;
6628
+ enterprise_keywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
6629
+ id: z.ZodString;
6630
+ keyword: z.ZodString;
6631
+ business_id: z.ZodString;
6632
+ business_name: z.ZodString;
6633
+ category: z.ZodEnum<{
6634
+ 产品: "产品";
6635
+ "\u90E8\u4EF6/\u8017\u6750": "部件/耗材";
6636
+ 应用方案: "应用方案";
6637
+ "\u5B9A\u5236/OEM": "定制/OEM";
6638
+ 服务: "服务";
6639
+ "\u8D44\u8D28/\u80FD\u529B": "资质/能力";
6640
+ }>;
6641
+ selling_points: z.ZodString;
6642
+ section_id: z.ZodString;
6643
+ content_usage: z.ZodEnum<{
6644
+ product: "product";
6645
+ category: "category";
6646
+ solution: "solution";
6647
+ service: "service";
6648
+ capability: "capability";
6649
+ article: "article";
6650
+ faq: "faq";
6651
+ }>;
6652
+ intent: z.ZodString;
6653
+ semantic_group: z.ZodString;
6654
+ primary_business: z.ZodBoolean;
6655
+ monthly_volume: z.ZodNumber;
6656
+ keyword_difficulty: z.ZodNullable<z.ZodNumber>;
6657
+ variants: z.ZodArray<z.ZodString>;
6658
+ source: z.ZodLiteral<"semrush">;
6659
+ source_evidence: z.ZodArray<z.ZodString>;
6660
+ }, z.core.$strict>>>;
6492
6661
  }, z.core.$strict>;
6493
6662
  export type Step5SitemapSource = z.infer<typeof Step5SitemapSourceSchema>;
6494
6663
  export declare const SitemapRunInputSchema: z.ZodObject<{
@@ -7084,6 +7253,7 @@ export declare const Step5SitemapRunInputSchema: z.ZodObject<{
7084
7253
  decisions: z.ZodArray<z.ZodObject<{
7085
7254
  item_key: z.ZodEnum<{
7086
7255
  product: "product";
7256
+ keywords: "keywords";
7087
7257
  market: "market";
7088
7258
  content: "content";
7089
7259
  language: "language";
@@ -7091,16 +7261,16 @@ export declare const Step5SitemapRunInputSchema: z.ZodObject<{
7091
7261
  brand: "brand";
7092
7262
  competition: "competition";
7093
7263
  structure: "structure";
7264
+ risk: "risk";
7094
7265
  seogeo: "seogeo";
7095
7266
  conversion: "conversion";
7096
- risk: "risk";
7097
7267
  }>;
7098
7268
  title: z.ZodString;
7099
- selected_option_id: z.ZodEnum<{
7269
+ selected_option_id: z.ZodUnion<readonly [z.ZodEnum<{
7100
7270
  recommended: "recommended";
7101
7271
  conservative: "conservative";
7102
7272
  focused: "focused";
7103
- }>;
7273
+ }>, z.ZodLiteral<"confirmed">]>;
7104
7274
  selected_label: z.ZodString;
7105
7275
  selected_value: z.ZodString;
7106
7276
  selected_description: z.ZodString;
@@ -7117,6 +7287,10 @@ export declare const Step5SitemapRunInputSchema: z.ZodObject<{
7117
7287
  name_en: z.ZodString;
7118
7288
  region: z.ZodString;
7119
7289
  }, z.core.$strict>>>;
7290
+ sections: z.ZodOptional<z.ZodArray<z.ZodObject<{
7291
+ id: z.ZodString;
7292
+ label: z.ZodString;
7293
+ }, z.core.$strict>>>;
7120
7294
  }, z.core.$strict>>;
7121
7295
  seo_keywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
7122
7296
  id: z.ZodString;
@@ -7124,9 +7298,9 @@ export declare const Step5SitemapRunInputSchema: z.ZodObject<{
7124
7298
  normalized_keyword: z.ZodString;
7125
7299
  intc: z.ZodEnum<{
7126
7300
  C: "C";
7127
- T: "T";
7128
7301
  I: "I";
7129
7302
  N: "N";
7303
+ T: "T";
7130
7304
  }>;
7131
7305
  keyword_type: z.ZodString;
7132
7306
  intent_strength: z.ZodEnum<{
@@ -7154,6 +7328,39 @@ export declare const Step5SitemapRunInputSchema: z.ZodObject<{
7154
7328
  source_market: z.ZodString;
7155
7329
  metric_timestamp: z.ZodNullable<z.ZodString>;
7156
7330
  }, z.core.$strict>>>;
7331
+ enterprise_keywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
7332
+ id: z.ZodString;
7333
+ keyword: z.ZodString;
7334
+ business_id: z.ZodString;
7335
+ business_name: z.ZodString;
7336
+ category: z.ZodEnum<{
7337
+ 产品: "产品";
7338
+ "\u90E8\u4EF6/\u8017\u6750": "部件/耗材";
7339
+ 应用方案: "应用方案";
7340
+ "\u5B9A\u5236/OEM": "定制/OEM";
7341
+ 服务: "服务";
7342
+ "\u8D44\u8D28/\u80FD\u529B": "资质/能力";
7343
+ }>;
7344
+ selling_points: z.ZodString;
7345
+ section_id: z.ZodString;
7346
+ content_usage: z.ZodEnum<{
7347
+ product: "product";
7348
+ category: "category";
7349
+ solution: "solution";
7350
+ service: "service";
7351
+ capability: "capability";
7352
+ article: "article";
7353
+ faq: "faq";
7354
+ }>;
7355
+ intent: z.ZodString;
7356
+ semantic_group: z.ZodString;
7357
+ primary_business: z.ZodBoolean;
7358
+ monthly_volume: z.ZodNumber;
7359
+ keyword_difficulty: z.ZodNullable<z.ZodNumber>;
7360
+ variants: z.ZodArray<z.ZodString>;
7361
+ source: z.ZodLiteral<"semrush">;
7362
+ source_evidence: z.ZodArray<z.ZodString>;
7363
+ }, z.core.$strict>>>;
7157
7364
  }, z.core.$strict>;
7158
7365
  }, z.core.$strict>;
7159
7366
  export type Step5SitemapRunInput = z.infer<typeof Step5SitemapRunInputSchema>;
@@ -7745,6 +7952,7 @@ export declare const SitemapGenerationInputSchema: z.ZodUnion<readonly [z.ZodObj
7745
7952
  decisions: z.ZodArray<z.ZodObject<{
7746
7953
  item_key: z.ZodEnum<{
7747
7954
  product: "product";
7955
+ keywords: "keywords";
7748
7956
  market: "market";
7749
7957
  content: "content";
7750
7958
  language: "language";
@@ -7752,16 +7960,16 @@ export declare const SitemapGenerationInputSchema: z.ZodUnion<readonly [z.ZodObj
7752
7960
  brand: "brand";
7753
7961
  competition: "competition";
7754
7962
  structure: "structure";
7963
+ risk: "risk";
7755
7964
  seogeo: "seogeo";
7756
7965
  conversion: "conversion";
7757
- risk: "risk";
7758
7966
  }>;
7759
7967
  title: z.ZodString;
7760
- selected_option_id: z.ZodEnum<{
7968
+ selected_option_id: z.ZodUnion<readonly [z.ZodEnum<{
7761
7969
  recommended: "recommended";
7762
7970
  conservative: "conservative";
7763
7971
  focused: "focused";
7764
- }>;
7972
+ }>, z.ZodLiteral<"confirmed">]>;
7765
7973
  selected_label: z.ZodString;
7766
7974
  selected_value: z.ZodString;
7767
7975
  selected_description: z.ZodString;
@@ -7778,6 +7986,10 @@ export declare const SitemapGenerationInputSchema: z.ZodUnion<readonly [z.ZodObj
7778
7986
  name_en: z.ZodString;
7779
7987
  region: z.ZodString;
7780
7988
  }, z.core.$strict>>>;
7989
+ sections: z.ZodOptional<z.ZodArray<z.ZodObject<{
7990
+ id: z.ZodString;
7991
+ label: z.ZodString;
7992
+ }, z.core.$strict>>>;
7781
7993
  }, z.core.$strict>>;
7782
7994
  seo_keywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
7783
7995
  id: z.ZodString;
@@ -7785,9 +7997,9 @@ export declare const SitemapGenerationInputSchema: z.ZodUnion<readonly [z.ZodObj
7785
7997
  normalized_keyword: z.ZodString;
7786
7998
  intc: z.ZodEnum<{
7787
7999
  C: "C";
7788
- T: "T";
7789
8000
  I: "I";
7790
8001
  N: "N";
8002
+ T: "T";
7791
8003
  }>;
7792
8004
  keyword_type: z.ZodString;
7793
8005
  intent_strength: z.ZodEnum<{
@@ -7815,6 +8027,39 @@ export declare const SitemapGenerationInputSchema: z.ZodUnion<readonly [z.ZodObj
7815
8027
  source_market: z.ZodString;
7816
8028
  metric_timestamp: z.ZodNullable<z.ZodString>;
7817
8029
  }, z.core.$strict>>>;
8030
+ enterprise_keywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
8031
+ id: z.ZodString;
8032
+ keyword: z.ZodString;
8033
+ business_id: z.ZodString;
8034
+ business_name: z.ZodString;
8035
+ category: z.ZodEnum<{
8036
+ 产品: "产品";
8037
+ "\u90E8\u4EF6/\u8017\u6750": "部件/耗材";
8038
+ 应用方案: "应用方案";
8039
+ "\u5B9A\u5236/OEM": "定制/OEM";
8040
+ 服务: "服务";
8041
+ "\u8D44\u8D28/\u80FD\u529B": "资质/能力";
8042
+ }>;
8043
+ selling_points: z.ZodString;
8044
+ section_id: z.ZodString;
8045
+ content_usage: z.ZodEnum<{
8046
+ product: "product";
8047
+ category: "category";
8048
+ solution: "solution";
8049
+ service: "service";
8050
+ capability: "capability";
8051
+ article: "article";
8052
+ faq: "faq";
8053
+ }>;
8054
+ intent: z.ZodString;
8055
+ semantic_group: z.ZodString;
8056
+ primary_business: z.ZodBoolean;
8057
+ monthly_volume: z.ZodNumber;
8058
+ keyword_difficulty: z.ZodNullable<z.ZodNumber>;
8059
+ variants: z.ZodArray<z.ZodString>;
8060
+ source: z.ZodLiteral<"semrush">;
8061
+ source_evidence: z.ZodArray<z.ZodString>;
8062
+ }, z.core.$strict>>>;
7818
8063
  }, z.core.$strict>;
7819
8064
  }, z.core.$strict>]>;
7820
8065
  export type SitemapGenerationInput = z.infer<typeof SitemapGenerationInputSchema>;
@@ -7997,6 +8242,7 @@ export declare const SitemapStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObj
7997
8242
  }, z.core.$strip>>;
7998
8243
  }, z.core.$strip>>;
7999
8244
  userChoices: z.ZodOptional<z.ZodArray<z.ZodObject<{
8245
+ key: z.ZodOptional<z.ZodString>;
8000
8246
  question: z.ZodString;
8001
8247
  answer: z.ZodString;
8002
8248
  }, z.core.$strip>>>;
@@ -8014,15 +8260,47 @@ export declare const SitemapStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObj
8014
8260
  requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
8015
8261
  }, z.core.$strip>>;
8016
8262
  }, z.core.$strip>>;
8017
- seoKeywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
8263
+ seoKeywords: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
8264
+ id: z.ZodString;
8265
+ keyword: z.ZodString;
8266
+ business_id: z.ZodString;
8267
+ business_name: z.ZodString;
8268
+ category: z.ZodEnum<{
8269
+ 产品: "产品";
8270
+ "\u90E8\u4EF6/\u8017\u6750": "部件/耗材";
8271
+ 应用方案: "应用方案";
8272
+ "\u5B9A\u5236/OEM": "定制/OEM";
8273
+ 服务: "服务";
8274
+ "\u8D44\u8D28/\u80FD\u529B": "资质/能力";
8275
+ }>;
8276
+ selling_points: z.ZodString;
8277
+ section_id: z.ZodString;
8278
+ content_usage: z.ZodEnum<{
8279
+ product: "product";
8280
+ category: "category";
8281
+ solution: "solution";
8282
+ service: "service";
8283
+ capability: "capability";
8284
+ article: "article";
8285
+ faq: "faq";
8286
+ }>;
8287
+ intent: z.ZodString;
8288
+ semantic_group: z.ZodString;
8289
+ primary_business: z.ZodBoolean;
8290
+ monthly_volume: z.ZodNumber;
8291
+ keyword_difficulty: z.ZodNullable<z.ZodNumber>;
8292
+ variants: z.ZodArray<z.ZodString>;
8293
+ source: z.ZodLiteral<"semrush">;
8294
+ source_evidence: z.ZodArray<z.ZodString>;
8295
+ }, z.core.$strict>>, z.ZodArray<z.ZodObject<{
8018
8296
  id: z.ZodString;
8019
8297
  keyword: z.ZodString;
8020
8298
  normalized_keyword: z.ZodString;
8021
8299
  intc: z.ZodEnum<{
8022
8300
  C: "C";
8023
- T: "T";
8024
8301
  I: "I";
8025
8302
  N: "N";
8303
+ T: "T";
8026
8304
  }>;
8027
8305
  keyword_type: z.ZodString;
8028
8306
  intent_strength: z.ZodEnum<{
@@ -8049,7 +8327,7 @@ export declare const SitemapStreamEventSchema: z.ZodDiscriminatedUnion<[z.ZodObj
8049
8327
  }>;
8050
8328
  source_market: z.ZodString;
8051
8329
  metric_timestamp: z.ZodNullable<z.ZodString>;
8052
- }, z.core.$strict>>>;
8330
+ }, z.core.$strict>>]>>;
8053
8331
  }, z.core.$strict>;
8054
8332
  }, z.core.$strip>, z.ZodObject<{
8055
8333
  type: z.ZodLiteral<"sitemap.clamped">;
@@ -8232,6 +8510,7 @@ export declare const SitemapRecordSchema: z.ZodObject<{
8232
8510
  }, z.core.$strip>>;
8233
8511
  }, z.core.$strip>>;
8234
8512
  userChoices: z.ZodOptional<z.ZodArray<z.ZodObject<{
8513
+ key: z.ZodOptional<z.ZodString>;
8235
8514
  question: z.ZodString;
8236
8515
  answer: z.ZodString;
8237
8516
  }, z.core.$strip>>>;
@@ -8249,15 +8528,47 @@ export declare const SitemapRecordSchema: z.ZodObject<{
8249
8528
  requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
8250
8529
  }, z.core.$strip>>;
8251
8530
  }, z.core.$strip>>;
8252
- seoKeywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
8531
+ seoKeywords: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
8532
+ id: z.ZodString;
8533
+ keyword: z.ZodString;
8534
+ business_id: z.ZodString;
8535
+ business_name: z.ZodString;
8536
+ category: z.ZodEnum<{
8537
+ 产品: "产品";
8538
+ "\u90E8\u4EF6/\u8017\u6750": "部件/耗材";
8539
+ 应用方案: "应用方案";
8540
+ "\u5B9A\u5236/OEM": "定制/OEM";
8541
+ 服务: "服务";
8542
+ "\u8D44\u8D28/\u80FD\u529B": "资质/能力";
8543
+ }>;
8544
+ selling_points: z.ZodString;
8545
+ section_id: z.ZodString;
8546
+ content_usage: z.ZodEnum<{
8547
+ product: "product";
8548
+ category: "category";
8549
+ solution: "solution";
8550
+ service: "service";
8551
+ capability: "capability";
8552
+ article: "article";
8553
+ faq: "faq";
8554
+ }>;
8555
+ intent: z.ZodString;
8556
+ semantic_group: z.ZodString;
8557
+ primary_business: z.ZodBoolean;
8558
+ monthly_volume: z.ZodNumber;
8559
+ keyword_difficulty: z.ZodNullable<z.ZodNumber>;
8560
+ variants: z.ZodArray<z.ZodString>;
8561
+ source: z.ZodLiteral<"semrush">;
8562
+ source_evidence: z.ZodArray<z.ZodString>;
8563
+ }, z.core.$strict>>, z.ZodArray<z.ZodObject<{
8253
8564
  id: z.ZodString;
8254
8565
  keyword: z.ZodString;
8255
8566
  normalized_keyword: z.ZodString;
8256
8567
  intc: z.ZodEnum<{
8257
8568
  C: "C";
8258
- T: "T";
8259
8569
  I: "I";
8260
8570
  N: "N";
8571
+ T: "T";
8261
8572
  }>;
8262
8573
  keyword_type: z.ZodString;
8263
8574
  intent_strength: z.ZodEnum<{
@@ -8284,7 +8595,7 @@ export declare const SitemapRecordSchema: z.ZodObject<{
8284
8595
  }>;
8285
8596
  source_market: z.ZodString;
8286
8597
  metric_timestamp: z.ZodNullable<z.ZodString>;
8287
- }, z.core.$strict>>>;
8598
+ }, z.core.$strict>>]>>;
8288
8599
  }, z.core.$strict>;
8289
8600
  }, z.core.$strict>;
8290
8601
  export type SitemapRecord = z.infer<typeof SitemapRecordSchema>;
@@ -8399,6 +8710,7 @@ export declare const SitemapDraftRecordSchema: z.ZodObject<{
8399
8710
  }, z.core.$strip>>;
8400
8711
  }, z.core.$strip>>;
8401
8712
  userChoices: z.ZodOptional<z.ZodArray<z.ZodObject<{
8713
+ key: z.ZodOptional<z.ZodString>;
8402
8714
  question: z.ZodString;
8403
8715
  answer: z.ZodString;
8404
8716
  }, z.core.$strip>>>;
@@ -8416,15 +8728,47 @@ export declare const SitemapDraftRecordSchema: z.ZodObject<{
8416
8728
  requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
8417
8729
  }, z.core.$strip>>;
8418
8730
  }, z.core.$strip>>;
8419
- seoKeywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
8731
+ seoKeywords: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
8732
+ id: z.ZodString;
8733
+ keyword: z.ZodString;
8734
+ business_id: z.ZodString;
8735
+ business_name: z.ZodString;
8736
+ category: z.ZodEnum<{
8737
+ 产品: "产品";
8738
+ "\u90E8\u4EF6/\u8017\u6750": "部件/耗材";
8739
+ 应用方案: "应用方案";
8740
+ "\u5B9A\u5236/OEM": "定制/OEM";
8741
+ 服务: "服务";
8742
+ "\u8D44\u8D28/\u80FD\u529B": "资质/能力";
8743
+ }>;
8744
+ selling_points: z.ZodString;
8745
+ section_id: z.ZodString;
8746
+ content_usage: z.ZodEnum<{
8747
+ product: "product";
8748
+ category: "category";
8749
+ solution: "solution";
8750
+ service: "service";
8751
+ capability: "capability";
8752
+ article: "article";
8753
+ faq: "faq";
8754
+ }>;
8755
+ intent: z.ZodString;
8756
+ semantic_group: z.ZodString;
8757
+ primary_business: z.ZodBoolean;
8758
+ monthly_volume: z.ZodNumber;
8759
+ keyword_difficulty: z.ZodNullable<z.ZodNumber>;
8760
+ variants: z.ZodArray<z.ZodString>;
8761
+ source: z.ZodLiteral<"semrush">;
8762
+ source_evidence: z.ZodArray<z.ZodString>;
8763
+ }, z.core.$strict>>, z.ZodArray<z.ZodObject<{
8420
8764
  id: z.ZodString;
8421
8765
  keyword: z.ZodString;
8422
8766
  normalized_keyword: z.ZodString;
8423
8767
  intc: z.ZodEnum<{
8424
8768
  C: "C";
8425
- T: "T";
8426
8769
  I: "I";
8427
8770
  N: "N";
8771
+ T: "T";
8428
8772
  }>;
8429
8773
  keyword_type: z.ZodString;
8430
8774
  intent_strength: z.ZodEnum<{
@@ -8451,7 +8795,7 @@ export declare const SitemapDraftRecordSchema: z.ZodObject<{
8451
8795
  }>;
8452
8796
  source_market: z.ZodString;
8453
8797
  metric_timestamp: z.ZodNullable<z.ZodString>;
8454
- }, z.core.$strict>>>;
8798
+ }, z.core.$strict>>]>>;
8455
8799
  pages: z.ZodArray<z.ZodObject<{
8456
8800
  id: z.ZodString;
8457
8801
  title: z.ZodString;
@@ -8617,6 +8961,7 @@ export declare const PersistSiteSitemapRequestSchema: z.ZodObject<{
8617
8961
  }, z.core.$strip>>;
8618
8962
  }, z.core.$strip>>;
8619
8963
  userChoices: z.ZodOptional<z.ZodArray<z.ZodObject<{
8964
+ key: z.ZodOptional<z.ZodString>;
8620
8965
  question: z.ZodString;
8621
8966
  answer: z.ZodString;
8622
8967
  }, z.core.$strip>>>;
@@ -8634,15 +8979,47 @@ export declare const PersistSiteSitemapRequestSchema: z.ZodObject<{
8634
8979
  requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
8635
8980
  }, z.core.$strip>>;
8636
8981
  }, z.core.$strip>>;
8637
- seoKeywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
8982
+ seoKeywords: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
8983
+ id: z.ZodString;
8984
+ keyword: z.ZodString;
8985
+ business_id: z.ZodString;
8986
+ business_name: z.ZodString;
8987
+ category: z.ZodEnum<{
8988
+ 产品: "产品";
8989
+ "\u90E8\u4EF6/\u8017\u6750": "部件/耗材";
8990
+ 应用方案: "应用方案";
8991
+ "\u5B9A\u5236/OEM": "定制/OEM";
8992
+ 服务: "服务";
8993
+ "\u8D44\u8D28/\u80FD\u529B": "资质/能力";
8994
+ }>;
8995
+ selling_points: z.ZodString;
8996
+ section_id: z.ZodString;
8997
+ content_usage: z.ZodEnum<{
8998
+ product: "product";
8999
+ category: "category";
9000
+ solution: "solution";
9001
+ service: "service";
9002
+ capability: "capability";
9003
+ article: "article";
9004
+ faq: "faq";
9005
+ }>;
9006
+ intent: z.ZodString;
9007
+ semantic_group: z.ZodString;
9008
+ primary_business: z.ZodBoolean;
9009
+ monthly_volume: z.ZodNumber;
9010
+ keyword_difficulty: z.ZodNullable<z.ZodNumber>;
9011
+ variants: z.ZodArray<z.ZodString>;
9012
+ source: z.ZodLiteral<"semrush">;
9013
+ source_evidence: z.ZodArray<z.ZodString>;
9014
+ }, z.core.$strict>>, z.ZodArray<z.ZodObject<{
8638
9015
  id: z.ZodString;
8639
9016
  keyword: z.ZodString;
8640
9017
  normalized_keyword: z.ZodString;
8641
9018
  intc: z.ZodEnum<{
8642
9019
  C: "C";
8643
- T: "T";
8644
9020
  I: "I";
8645
9021
  N: "N";
9022
+ T: "T";
8646
9023
  }>;
8647
9024
  keyword_type: z.ZodString;
8648
9025
  intent_strength: z.ZodEnum<{
@@ -8669,7 +9046,7 @@ export declare const PersistSiteSitemapRequestSchema: z.ZodObject<{
8669
9046
  }>;
8670
9047
  source_market: z.ZodString;
8671
9048
  metric_timestamp: z.ZodNullable<z.ZodString>;
8672
- }, z.core.$strict>>>;
9049
+ }, z.core.$strict>>]>>;
8673
9050
  }, z.core.$strict>;
8674
9051
  source_agent_run_id: z.ZodOptional<z.ZodUUID>;
8675
9052
  }, z.core.$strip>;
@@ -8780,6 +9157,7 @@ export declare const ConfirmSiteStructureRequestSchema: z.ZodObject<{
8780
9157
  }, z.core.$strip>>;
8781
9158
  }, z.core.$strip>>;
8782
9159
  userChoices: z.ZodOptional<z.ZodArray<z.ZodObject<{
9160
+ key: z.ZodOptional<z.ZodString>;
8783
9161
  question: z.ZodString;
8784
9162
  answer: z.ZodString;
8785
9163
  }, z.core.$strip>>>;
@@ -8797,15 +9175,47 @@ export declare const ConfirmSiteStructureRequestSchema: z.ZodObject<{
8797
9175
  requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
8798
9176
  }, z.core.$strip>>;
8799
9177
  }, z.core.$strip>>;
8800
- seoKeywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
9178
+ seoKeywords: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
9179
+ id: z.ZodString;
9180
+ keyword: z.ZodString;
9181
+ business_id: z.ZodString;
9182
+ business_name: z.ZodString;
9183
+ category: z.ZodEnum<{
9184
+ 产品: "产品";
9185
+ "\u90E8\u4EF6/\u8017\u6750": "部件/耗材";
9186
+ 应用方案: "应用方案";
9187
+ "\u5B9A\u5236/OEM": "定制/OEM";
9188
+ 服务: "服务";
9189
+ "\u8D44\u8D28/\u80FD\u529B": "资质/能力";
9190
+ }>;
9191
+ selling_points: z.ZodString;
9192
+ section_id: z.ZodString;
9193
+ content_usage: z.ZodEnum<{
9194
+ product: "product";
9195
+ category: "category";
9196
+ solution: "solution";
9197
+ service: "service";
9198
+ capability: "capability";
9199
+ article: "article";
9200
+ faq: "faq";
9201
+ }>;
9202
+ intent: z.ZodString;
9203
+ semantic_group: z.ZodString;
9204
+ primary_business: z.ZodBoolean;
9205
+ monthly_volume: z.ZodNumber;
9206
+ keyword_difficulty: z.ZodNullable<z.ZodNumber>;
9207
+ variants: z.ZodArray<z.ZodString>;
9208
+ source: z.ZodLiteral<"semrush">;
9209
+ source_evidence: z.ZodArray<z.ZodString>;
9210
+ }, z.core.$strict>>, z.ZodArray<z.ZodObject<{
8801
9211
  id: z.ZodString;
8802
9212
  keyword: z.ZodString;
8803
9213
  normalized_keyword: z.ZodString;
8804
9214
  intc: z.ZodEnum<{
8805
9215
  C: "C";
8806
- T: "T";
8807
9216
  I: "I";
8808
9217
  N: "N";
9218
+ T: "T";
8809
9219
  }>;
8810
9220
  keyword_type: z.ZodString;
8811
9221
  intent_strength: z.ZodEnum<{
@@ -8832,7 +9242,7 @@ export declare const ConfirmSiteStructureRequestSchema: z.ZodObject<{
8832
9242
  }>;
8833
9243
  source_market: z.ZodString;
8834
9244
  metric_timestamp: z.ZodNullable<z.ZodString>;
8835
- }, z.core.$strict>>>;
9245
+ }, z.core.$strict>>]>>;
8836
9246
  pages: z.ZodArray<z.ZodObject<{
8837
9247
  id: z.ZodString;
8838
9248
  title: z.ZodString;
@@ -9001,6 +9411,7 @@ export declare const PersistGeneratedSitemapDraftRequestSchema: z.ZodObject<{
9001
9411
  }, z.core.$strip>>;
9002
9412
  }, z.core.$strip>>;
9003
9413
  userChoices: z.ZodOptional<z.ZodArray<z.ZodObject<{
9414
+ key: z.ZodOptional<z.ZodString>;
9004
9415
  question: z.ZodString;
9005
9416
  answer: z.ZodString;
9006
9417
  }, z.core.$strip>>>;
@@ -9018,15 +9429,47 @@ export declare const PersistGeneratedSitemapDraftRequestSchema: z.ZodObject<{
9018
9429
  requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
9019
9430
  }, z.core.$strip>>;
9020
9431
  }, z.core.$strip>>;
9021
- seoKeywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
9432
+ seoKeywords: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
9433
+ id: z.ZodString;
9434
+ keyword: z.ZodString;
9435
+ business_id: z.ZodString;
9436
+ business_name: z.ZodString;
9437
+ category: z.ZodEnum<{
9438
+ 产品: "产品";
9439
+ "\u90E8\u4EF6/\u8017\u6750": "部件/耗材";
9440
+ 应用方案: "应用方案";
9441
+ "\u5B9A\u5236/OEM": "定制/OEM";
9442
+ 服务: "服务";
9443
+ "\u8D44\u8D28/\u80FD\u529B": "资质/能力";
9444
+ }>;
9445
+ selling_points: z.ZodString;
9446
+ section_id: z.ZodString;
9447
+ content_usage: z.ZodEnum<{
9448
+ product: "product";
9449
+ category: "category";
9450
+ solution: "solution";
9451
+ service: "service";
9452
+ capability: "capability";
9453
+ article: "article";
9454
+ faq: "faq";
9455
+ }>;
9456
+ intent: z.ZodString;
9457
+ semantic_group: z.ZodString;
9458
+ primary_business: z.ZodBoolean;
9459
+ monthly_volume: z.ZodNumber;
9460
+ keyword_difficulty: z.ZodNullable<z.ZodNumber>;
9461
+ variants: z.ZodArray<z.ZodString>;
9462
+ source: z.ZodLiteral<"semrush">;
9463
+ source_evidence: z.ZodArray<z.ZodString>;
9464
+ }, z.core.$strict>>, z.ZodArray<z.ZodObject<{
9022
9465
  id: z.ZodString;
9023
9466
  keyword: z.ZodString;
9024
9467
  normalized_keyword: z.ZodString;
9025
9468
  intc: z.ZodEnum<{
9026
9469
  C: "C";
9027
- T: "T";
9028
9470
  I: "I";
9029
9471
  N: "N";
9472
+ T: "T";
9030
9473
  }>;
9031
9474
  keyword_type: z.ZodString;
9032
9475
  intent_strength: z.ZodEnum<{
@@ -9053,7 +9496,7 @@ export declare const PersistGeneratedSitemapDraftRequestSchema: z.ZodObject<{
9053
9496
  }>;
9054
9497
  source_market: z.ZodString;
9055
9498
  metric_timestamp: z.ZodNullable<z.ZodString>;
9056
- }, z.core.$strict>>>;
9499
+ }, z.core.$strict>>]>>;
9057
9500
  }, z.core.$strict>;
9058
9501
  source_agent_run_id: z.ZodUUID;
9059
9502
  }, z.core.$strip>;
@@ -9062,7 +9505,6 @@ export declare const PersistSiteSitemapResponseSchema: z.ZodObject<{
9062
9505
  site: z.ZodObject<{
9063
9506
  id: z.ZodUUID;
9064
9507
  tenant_id: z.ZodString;
9065
- owner_user_id: z.ZodNullable<z.ZodUUID>;
9066
9508
  name: z.ZodString;
9067
9509
  slug: z.ZodString;
9068
9510
  status: z.ZodEnum<{
@@ -9416,6 +9858,7 @@ export declare const PersistSiteSitemapResponseSchema: z.ZodObject<{
9416
9858
  }, z.core.$strip>>;
9417
9859
  }, z.core.$strip>>;
9418
9860
  userChoices: z.ZodOptional<z.ZodArray<z.ZodObject<{
9861
+ key: z.ZodOptional<z.ZodString>;
9419
9862
  question: z.ZodString;
9420
9863
  answer: z.ZodString;
9421
9864
  }, z.core.$strip>>>;
@@ -9433,15 +9876,47 @@ export declare const PersistSiteSitemapResponseSchema: z.ZodObject<{
9433
9876
  requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
9434
9877
  }, z.core.$strip>>;
9435
9878
  }, z.core.$strip>>;
9436
- seoKeywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
9879
+ seoKeywords: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
9880
+ id: z.ZodString;
9881
+ keyword: z.ZodString;
9882
+ business_id: z.ZodString;
9883
+ business_name: z.ZodString;
9884
+ category: z.ZodEnum<{
9885
+ 产品: "产品";
9886
+ "\u90E8\u4EF6/\u8017\u6750": "部件/耗材";
9887
+ 应用方案: "应用方案";
9888
+ "\u5B9A\u5236/OEM": "定制/OEM";
9889
+ 服务: "服务";
9890
+ "\u8D44\u8D28/\u80FD\u529B": "资质/能力";
9891
+ }>;
9892
+ selling_points: z.ZodString;
9893
+ section_id: z.ZodString;
9894
+ content_usage: z.ZodEnum<{
9895
+ product: "product";
9896
+ category: "category";
9897
+ solution: "solution";
9898
+ service: "service";
9899
+ capability: "capability";
9900
+ article: "article";
9901
+ faq: "faq";
9902
+ }>;
9903
+ intent: z.ZodString;
9904
+ semantic_group: z.ZodString;
9905
+ primary_business: z.ZodBoolean;
9906
+ monthly_volume: z.ZodNumber;
9907
+ keyword_difficulty: z.ZodNullable<z.ZodNumber>;
9908
+ variants: z.ZodArray<z.ZodString>;
9909
+ source: z.ZodLiteral<"semrush">;
9910
+ source_evidence: z.ZodArray<z.ZodString>;
9911
+ }, z.core.$strict>>, z.ZodArray<z.ZodObject<{
9437
9912
  id: z.ZodString;
9438
9913
  keyword: z.ZodString;
9439
9914
  normalized_keyword: z.ZodString;
9440
9915
  intc: z.ZodEnum<{
9441
9916
  C: "C";
9442
- T: "T";
9443
9917
  I: "I";
9444
9918
  N: "N";
9919
+ T: "T";
9445
9920
  }>;
9446
9921
  keyword_type: z.ZodString;
9447
9922
  intent_strength: z.ZodEnum<{
@@ -9468,7 +9943,7 @@ export declare const PersistSiteSitemapResponseSchema: z.ZodObject<{
9468
9943
  }>;
9469
9944
  source_market: z.ZodString;
9470
9945
  metric_timestamp: z.ZodNullable<z.ZodString>;
9471
- }, z.core.$strict>>>;
9946
+ }, z.core.$strict>>]>>;
9472
9947
  }, z.core.$strict>;
9473
9948
  }, z.core.$strict>;
9474
9949
  next_step: z.ZodLiteral<"workspace">;
@@ -9478,7 +9953,6 @@ export declare const PersistSiteSitemapDraftResponseSchema: z.ZodObject<{
9478
9953
  site: z.ZodObject<{
9479
9954
  id: z.ZodUUID;
9480
9955
  tenant_id: z.ZodString;
9481
- owner_user_id: z.ZodNullable<z.ZodUUID>;
9482
9956
  name: z.ZodString;
9483
9957
  slug: z.ZodString;
9484
9958
  status: z.ZodEnum<{
@@ -9804,6 +10278,7 @@ export declare const PersistSiteSitemapDraftResponseSchema: z.ZodObject<{
9804
10278
  }, z.core.$strip>>;
9805
10279
  }, z.core.$strip>>;
9806
10280
  userChoices: z.ZodOptional<z.ZodArray<z.ZodObject<{
10281
+ key: z.ZodOptional<z.ZodString>;
9807
10282
  question: z.ZodString;
9808
10283
  answer: z.ZodString;
9809
10284
  }, z.core.$strip>>>;
@@ -9821,15 +10296,47 @@ export declare const PersistSiteSitemapDraftResponseSchema: z.ZodObject<{
9821
10296
  requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
9822
10297
  }, z.core.$strip>>;
9823
10298
  }, z.core.$strip>>;
9824
- seoKeywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
10299
+ seoKeywords: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
10300
+ id: z.ZodString;
10301
+ keyword: z.ZodString;
10302
+ business_id: z.ZodString;
10303
+ business_name: z.ZodString;
10304
+ category: z.ZodEnum<{
10305
+ 产品: "产品";
10306
+ "\u90E8\u4EF6/\u8017\u6750": "部件/耗材";
10307
+ 应用方案: "应用方案";
10308
+ "\u5B9A\u5236/OEM": "定制/OEM";
10309
+ 服务: "服务";
10310
+ "\u8D44\u8D28/\u80FD\u529B": "资质/能力";
10311
+ }>;
10312
+ selling_points: z.ZodString;
10313
+ section_id: z.ZodString;
10314
+ content_usage: z.ZodEnum<{
10315
+ product: "product";
10316
+ category: "category";
10317
+ solution: "solution";
10318
+ service: "service";
10319
+ capability: "capability";
10320
+ article: "article";
10321
+ faq: "faq";
10322
+ }>;
10323
+ intent: z.ZodString;
10324
+ semantic_group: z.ZodString;
10325
+ primary_business: z.ZodBoolean;
10326
+ monthly_volume: z.ZodNumber;
10327
+ keyword_difficulty: z.ZodNullable<z.ZodNumber>;
10328
+ variants: z.ZodArray<z.ZodString>;
10329
+ source: z.ZodLiteral<"semrush">;
10330
+ source_evidence: z.ZodArray<z.ZodString>;
10331
+ }, z.core.$strict>>, z.ZodArray<z.ZodObject<{
9825
10332
  id: z.ZodString;
9826
10333
  keyword: z.ZodString;
9827
10334
  normalized_keyword: z.ZodString;
9828
10335
  intc: z.ZodEnum<{
9829
10336
  C: "C";
9830
- T: "T";
9831
10337
  I: "I";
9832
10338
  N: "N";
10339
+ T: "T";
9833
10340
  }>;
9834
10341
  keyword_type: z.ZodString;
9835
10342
  intent_strength: z.ZodEnum<{
@@ -9856,7 +10363,7 @@ export declare const PersistSiteSitemapDraftResponseSchema: z.ZodObject<{
9856
10363
  }>;
9857
10364
  source_market: z.ZodString;
9858
10365
  metric_timestamp: z.ZodNullable<z.ZodString>;
9859
- }, z.core.$strict>>>;
10366
+ }, z.core.$strict>>]>>;
9860
10367
  pages: z.ZodArray<z.ZodObject<{
9861
10368
  id: z.ZodString;
9862
10369
  title: z.ZodString;
@@ -9894,7 +10401,6 @@ export declare const PersistGeneratedSitemapDraftResponseSchema: z.ZodObject<{
9894
10401
  site: z.ZodObject<{
9895
10402
  id: z.ZodUUID;
9896
10403
  tenant_id: z.ZodString;
9897
- owner_user_id: z.ZodNullable<z.ZodUUID>;
9898
10404
  name: z.ZodString;
9899
10405
  slug: z.ZodString;
9900
10406
  status: z.ZodEnum<{
@@ -10248,6 +10754,7 @@ export declare const PersistGeneratedSitemapDraftResponseSchema: z.ZodObject<{
10248
10754
  }, z.core.$strip>>;
10249
10755
  }, z.core.$strip>>;
10250
10756
  userChoices: z.ZodOptional<z.ZodArray<z.ZodObject<{
10757
+ key: z.ZodOptional<z.ZodString>;
10251
10758
  question: z.ZodString;
10252
10759
  answer: z.ZodString;
10253
10760
  }, z.core.$strip>>>;
@@ -10265,15 +10772,47 @@ export declare const PersistGeneratedSitemapDraftResponseSchema: z.ZodObject<{
10265
10772
  requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
10266
10773
  }, z.core.$strip>>;
10267
10774
  }, z.core.$strip>>;
10268
- seoKeywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
10775
+ seoKeywords: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
10776
+ id: z.ZodString;
10777
+ keyword: z.ZodString;
10778
+ business_id: z.ZodString;
10779
+ business_name: z.ZodString;
10780
+ category: z.ZodEnum<{
10781
+ 产品: "产品";
10782
+ "\u90E8\u4EF6/\u8017\u6750": "部件/耗材";
10783
+ 应用方案: "应用方案";
10784
+ "\u5B9A\u5236/OEM": "定制/OEM";
10785
+ 服务: "服务";
10786
+ "\u8D44\u8D28/\u80FD\u529B": "资质/能力";
10787
+ }>;
10788
+ selling_points: z.ZodString;
10789
+ section_id: z.ZodString;
10790
+ content_usage: z.ZodEnum<{
10791
+ product: "product";
10792
+ category: "category";
10793
+ solution: "solution";
10794
+ service: "service";
10795
+ capability: "capability";
10796
+ article: "article";
10797
+ faq: "faq";
10798
+ }>;
10799
+ intent: z.ZodString;
10800
+ semantic_group: z.ZodString;
10801
+ primary_business: z.ZodBoolean;
10802
+ monthly_volume: z.ZodNumber;
10803
+ keyword_difficulty: z.ZodNullable<z.ZodNumber>;
10804
+ variants: z.ZodArray<z.ZodString>;
10805
+ source: z.ZodLiteral<"semrush">;
10806
+ source_evidence: z.ZodArray<z.ZodString>;
10807
+ }, z.core.$strict>>, z.ZodArray<z.ZodObject<{
10269
10808
  id: z.ZodString;
10270
10809
  keyword: z.ZodString;
10271
10810
  normalized_keyword: z.ZodString;
10272
10811
  intc: z.ZodEnum<{
10273
10812
  C: "C";
10274
- T: "T";
10275
10813
  I: "I";
10276
10814
  N: "N";
10815
+ T: "T";
10277
10816
  }>;
10278
10817
  keyword_type: z.ZodString;
10279
10818
  intent_strength: z.ZodEnum<{
@@ -10300,7 +10839,7 @@ export declare const PersistGeneratedSitemapDraftResponseSchema: z.ZodObject<{
10300
10839
  }>;
10301
10840
  source_market: z.ZodString;
10302
10841
  metric_timestamp: z.ZodNullable<z.ZodString>;
10303
- }, z.core.$strict>>>;
10842
+ }, z.core.$strict>>]>>;
10304
10843
  }, z.core.$strict>;
10305
10844
  }, z.core.$strict>;
10306
10845
  next_step: z.ZodLiteral<"sitemap_review">;
@@ -12341,6 +12880,7 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
12341
12880
  }, z.core.$strip>>;
12342
12881
  }, z.core.$strip>>;
12343
12882
  userChoices: z.ZodOptional<z.ZodArray<z.ZodObject<{
12883
+ key: z.ZodOptional<z.ZodString>;
12344
12884
  question: z.ZodString;
12345
12885
  answer: z.ZodString;
12346
12886
  }, z.core.$strip>>>;
@@ -12358,15 +12898,47 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
12358
12898
  requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
12359
12899
  }, z.core.$strip>>;
12360
12900
  }, z.core.$strip>>;
12361
- seoKeywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
12901
+ seoKeywords: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
12902
+ id: z.ZodString;
12903
+ keyword: z.ZodString;
12904
+ business_id: z.ZodString;
12905
+ business_name: z.ZodString;
12906
+ category: z.ZodEnum<{
12907
+ 产品: "产品";
12908
+ "\u90E8\u4EF6/\u8017\u6750": "部件/耗材";
12909
+ 应用方案: "应用方案";
12910
+ "\u5B9A\u5236/OEM": "定制/OEM";
12911
+ 服务: "服务";
12912
+ "\u8D44\u8D28/\u80FD\u529B": "资质/能力";
12913
+ }>;
12914
+ selling_points: z.ZodString;
12915
+ section_id: z.ZodString;
12916
+ content_usage: z.ZodEnum<{
12917
+ product: "product";
12918
+ category: "category";
12919
+ solution: "solution";
12920
+ service: "service";
12921
+ capability: "capability";
12922
+ article: "article";
12923
+ faq: "faq";
12924
+ }>;
12925
+ intent: z.ZodString;
12926
+ semantic_group: z.ZodString;
12927
+ primary_business: z.ZodBoolean;
12928
+ monthly_volume: z.ZodNumber;
12929
+ keyword_difficulty: z.ZodNullable<z.ZodNumber>;
12930
+ variants: z.ZodArray<z.ZodString>;
12931
+ source: z.ZodLiteral<"semrush">;
12932
+ source_evidence: z.ZodArray<z.ZodString>;
12933
+ }, z.core.$strict>>, z.ZodArray<z.ZodObject<{
12362
12934
  id: z.ZodString;
12363
12935
  keyword: z.ZodString;
12364
12936
  normalized_keyword: z.ZodString;
12365
12937
  intc: z.ZodEnum<{
12366
12938
  C: "C";
12367
- T: "T";
12368
12939
  I: "I";
12369
12940
  N: "N";
12941
+ T: "T";
12370
12942
  }>;
12371
12943
  keyword_type: z.ZodString;
12372
12944
  intent_strength: z.ZodEnum<{
@@ -12393,7 +12965,7 @@ export declare const AgentEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
12393
12965
  }>;
12394
12966
  source_market: z.ZodString;
12395
12967
  metric_timestamp: z.ZodNullable<z.ZodString>;
12396
- }, z.core.$strict>>>;
12968
+ }, z.core.$strict>>]>>;
12397
12969
  }, z.core.$strict>;
12398
12970
  }, z.core.$strip>, z.ZodObject<{
12399
12971
  type: z.ZodLiteral<"sitemap.clamped">;
@@ -13216,6 +13788,7 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
13216
13788
  }, z.core.$strip>>;
13217
13789
  }, z.core.$strip>>;
13218
13790
  userChoices: z.ZodOptional<z.ZodArray<z.ZodObject<{
13791
+ key: z.ZodOptional<z.ZodString>;
13219
13792
  question: z.ZodString;
13220
13793
  answer: z.ZodString;
13221
13794
  }, z.core.$strip>>>;
@@ -13233,15 +13806,47 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
13233
13806
  requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
13234
13807
  }, z.core.$strip>>;
13235
13808
  }, z.core.$strip>>;
13236
- seoKeywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
13809
+ seoKeywords: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
13810
+ id: z.ZodString;
13811
+ keyword: z.ZodString;
13812
+ business_id: z.ZodString;
13813
+ business_name: z.ZodString;
13814
+ category: z.ZodEnum<{
13815
+ 产品: "产品";
13816
+ "\u90E8\u4EF6/\u8017\u6750": "部件/耗材";
13817
+ 应用方案: "应用方案";
13818
+ "\u5B9A\u5236/OEM": "定制/OEM";
13819
+ 服务: "服务";
13820
+ "\u8D44\u8D28/\u80FD\u529B": "资质/能力";
13821
+ }>;
13822
+ selling_points: z.ZodString;
13823
+ section_id: z.ZodString;
13824
+ content_usage: z.ZodEnum<{
13825
+ product: "product";
13826
+ category: "category";
13827
+ solution: "solution";
13828
+ service: "service";
13829
+ capability: "capability";
13830
+ article: "article";
13831
+ faq: "faq";
13832
+ }>;
13833
+ intent: z.ZodString;
13834
+ semantic_group: z.ZodString;
13835
+ primary_business: z.ZodBoolean;
13836
+ monthly_volume: z.ZodNumber;
13837
+ keyword_difficulty: z.ZodNullable<z.ZodNumber>;
13838
+ variants: z.ZodArray<z.ZodString>;
13839
+ source: z.ZodLiteral<"semrush">;
13840
+ source_evidence: z.ZodArray<z.ZodString>;
13841
+ }, z.core.$strict>>, z.ZodArray<z.ZodObject<{
13237
13842
  id: z.ZodString;
13238
13843
  keyword: z.ZodString;
13239
13844
  normalized_keyword: z.ZodString;
13240
13845
  intc: z.ZodEnum<{
13241
13846
  C: "C";
13242
- T: "T";
13243
13847
  I: "I";
13244
13848
  N: "N";
13849
+ T: "T";
13245
13850
  }>;
13246
13851
  keyword_type: z.ZodString;
13247
13852
  intent_strength: z.ZodEnum<{
@@ -13268,7 +13873,7 @@ export declare const AgentEventRecordSchema: z.ZodObject<{
13268
13873
  }>;
13269
13874
  source_market: z.ZodString;
13270
13875
  metric_timestamp: z.ZodNullable<z.ZodString>;
13271
- }, z.core.$strict>>>;
13876
+ }, z.core.$strict>>]>>;
13272
13877
  }, z.core.$strict>;
13273
13878
  }, z.core.$strip>, z.ZodObject<{
13274
13879
  type: z.ZodLiteral<"sitemap.clamped">;
@@ -14089,6 +14694,7 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
14089
14694
  }, z.core.$strip>>;
14090
14695
  }, z.core.$strip>>;
14091
14696
  userChoices: z.ZodOptional<z.ZodArray<z.ZodObject<{
14697
+ key: z.ZodOptional<z.ZodString>;
14092
14698
  question: z.ZodString;
14093
14699
  answer: z.ZodString;
14094
14700
  }, z.core.$strip>>>;
@@ -14106,15 +14712,47 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
14106
14712
  requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
14107
14713
  }, z.core.$strip>>;
14108
14714
  }, z.core.$strip>>;
14109
- seoKeywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
14715
+ seoKeywords: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
14716
+ id: z.ZodString;
14717
+ keyword: z.ZodString;
14718
+ business_id: z.ZodString;
14719
+ business_name: z.ZodString;
14720
+ category: z.ZodEnum<{
14721
+ 产品: "产品";
14722
+ "\u90E8\u4EF6/\u8017\u6750": "部件/耗材";
14723
+ 应用方案: "应用方案";
14724
+ "\u5B9A\u5236/OEM": "定制/OEM";
14725
+ 服务: "服务";
14726
+ "\u8D44\u8D28/\u80FD\u529B": "资质/能力";
14727
+ }>;
14728
+ selling_points: z.ZodString;
14729
+ section_id: z.ZodString;
14730
+ content_usage: z.ZodEnum<{
14731
+ product: "product";
14732
+ category: "category";
14733
+ solution: "solution";
14734
+ service: "service";
14735
+ capability: "capability";
14736
+ article: "article";
14737
+ faq: "faq";
14738
+ }>;
14739
+ intent: z.ZodString;
14740
+ semantic_group: z.ZodString;
14741
+ primary_business: z.ZodBoolean;
14742
+ monthly_volume: z.ZodNumber;
14743
+ keyword_difficulty: z.ZodNullable<z.ZodNumber>;
14744
+ variants: z.ZodArray<z.ZodString>;
14745
+ source: z.ZodLiteral<"semrush">;
14746
+ source_evidence: z.ZodArray<z.ZodString>;
14747
+ }, z.core.$strict>>, z.ZodArray<z.ZodObject<{
14110
14748
  id: z.ZodString;
14111
14749
  keyword: z.ZodString;
14112
14750
  normalized_keyword: z.ZodString;
14113
14751
  intc: z.ZodEnum<{
14114
14752
  C: "C";
14115
- T: "T";
14116
14753
  I: "I";
14117
14754
  N: "N";
14755
+ T: "T";
14118
14756
  }>;
14119
14757
  keyword_type: z.ZodString;
14120
14758
  intent_strength: z.ZodEnum<{
@@ -14141,7 +14779,7 @@ export declare const AppendAgentEventRequestSchema: z.ZodObject<{
14141
14779
  }>;
14142
14780
  source_market: z.ZodString;
14143
14781
  metric_timestamp: z.ZodNullable<z.ZodString>;
14144
- }, z.core.$strict>>>;
14782
+ }, z.core.$strict>>]>>;
14145
14783
  }, z.core.$strict>;
14146
14784
  }, z.core.$strip>, z.ZodObject<{
14147
14785
  type: z.ZodLiteral<"sitemap.clamped">;
@@ -15002,6 +15640,7 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
15002
15640
  }, z.core.$strip>>;
15003
15641
  }, z.core.$strip>>;
15004
15642
  userChoices: z.ZodOptional<z.ZodArray<z.ZodObject<{
15643
+ key: z.ZodOptional<z.ZodString>;
15005
15644
  question: z.ZodString;
15006
15645
  answer: z.ZodString;
15007
15646
  }, z.core.$strip>>>;
@@ -15019,15 +15658,47 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
15019
15658
  requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
15020
15659
  }, z.core.$strip>>;
15021
15660
  }, z.core.$strip>>;
15022
- seoKeywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
15661
+ seoKeywords: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
15662
+ id: z.ZodString;
15663
+ keyword: z.ZodString;
15664
+ business_id: z.ZodString;
15665
+ business_name: z.ZodString;
15666
+ category: z.ZodEnum<{
15667
+ 产品: "产品";
15668
+ "\u90E8\u4EF6/\u8017\u6750": "部件/耗材";
15669
+ 应用方案: "应用方案";
15670
+ "\u5B9A\u5236/OEM": "定制/OEM";
15671
+ 服务: "服务";
15672
+ "\u8D44\u8D28/\u80FD\u529B": "资质/能力";
15673
+ }>;
15674
+ selling_points: z.ZodString;
15675
+ section_id: z.ZodString;
15676
+ content_usage: z.ZodEnum<{
15677
+ product: "product";
15678
+ category: "category";
15679
+ solution: "solution";
15680
+ service: "service";
15681
+ capability: "capability";
15682
+ article: "article";
15683
+ faq: "faq";
15684
+ }>;
15685
+ intent: z.ZodString;
15686
+ semantic_group: z.ZodString;
15687
+ primary_business: z.ZodBoolean;
15688
+ monthly_volume: z.ZodNumber;
15689
+ keyword_difficulty: z.ZodNullable<z.ZodNumber>;
15690
+ variants: z.ZodArray<z.ZodString>;
15691
+ source: z.ZodLiteral<"semrush">;
15692
+ source_evidence: z.ZodArray<z.ZodString>;
15693
+ }, z.core.$strict>>, z.ZodArray<z.ZodObject<{
15023
15694
  id: z.ZodString;
15024
15695
  keyword: z.ZodString;
15025
15696
  normalized_keyword: z.ZodString;
15026
15697
  intc: z.ZodEnum<{
15027
15698
  C: "C";
15028
- T: "T";
15029
15699
  I: "I";
15030
15700
  N: "N";
15701
+ T: "T";
15031
15702
  }>;
15032
15703
  keyword_type: z.ZodString;
15033
15704
  intent_strength: z.ZodEnum<{
@@ -15054,7 +15725,7 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
15054
15725
  }>;
15055
15726
  source_market: z.ZodString;
15056
15727
  metric_timestamp: z.ZodNullable<z.ZodString>;
15057
- }, z.core.$strict>>>;
15728
+ }, z.core.$strict>>]>>;
15058
15729
  }, z.core.$strict>;
15059
15730
  }, z.core.$strip>, z.ZodObject<{
15060
15731
  type: z.ZodLiteral<"sitemap.clamped">;
@@ -15917,6 +16588,7 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
15917
16588
  }, z.core.$strip>>;
15918
16589
  }, z.core.$strip>>;
15919
16590
  userChoices: z.ZodOptional<z.ZodArray<z.ZodObject<{
16591
+ key: z.ZodOptional<z.ZodString>;
15920
16592
  question: z.ZodString;
15921
16593
  answer: z.ZodString;
15922
16594
  }, z.core.$strip>>>;
@@ -15934,15 +16606,47 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
15934
16606
  requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
15935
16607
  }, z.core.$strip>>;
15936
16608
  }, z.core.$strip>>;
15937
- seoKeywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
16609
+ seoKeywords: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
16610
+ id: z.ZodString;
16611
+ keyword: z.ZodString;
16612
+ business_id: z.ZodString;
16613
+ business_name: z.ZodString;
16614
+ category: z.ZodEnum<{
16615
+ 产品: "产品";
16616
+ "\u90E8\u4EF6/\u8017\u6750": "部件/耗材";
16617
+ 应用方案: "应用方案";
16618
+ "\u5B9A\u5236/OEM": "定制/OEM";
16619
+ 服务: "服务";
16620
+ "\u8D44\u8D28/\u80FD\u529B": "资质/能力";
16621
+ }>;
16622
+ selling_points: z.ZodString;
16623
+ section_id: z.ZodString;
16624
+ content_usage: z.ZodEnum<{
16625
+ product: "product";
16626
+ category: "category";
16627
+ solution: "solution";
16628
+ service: "service";
16629
+ capability: "capability";
16630
+ article: "article";
16631
+ faq: "faq";
16632
+ }>;
16633
+ intent: z.ZodString;
16634
+ semantic_group: z.ZodString;
16635
+ primary_business: z.ZodBoolean;
16636
+ monthly_volume: z.ZodNumber;
16637
+ keyword_difficulty: z.ZodNullable<z.ZodNumber>;
16638
+ variants: z.ZodArray<z.ZodString>;
16639
+ source: z.ZodLiteral<"semrush">;
16640
+ source_evidence: z.ZodArray<z.ZodString>;
16641
+ }, z.core.$strict>>, z.ZodArray<z.ZodObject<{
15938
16642
  id: z.ZodString;
15939
16643
  keyword: z.ZodString;
15940
16644
  normalized_keyword: z.ZodString;
15941
16645
  intc: z.ZodEnum<{
15942
16646
  C: "C";
15943
- T: "T";
15944
16647
  I: "I";
15945
16648
  N: "N";
16649
+ T: "T";
15946
16650
  }>;
15947
16651
  keyword_type: z.ZodString;
15948
16652
  intent_strength: z.ZodEnum<{
@@ -15969,7 +16673,7 @@ export declare const AppendAgentEventResponseSchema: z.ZodDiscriminatedUnion<[z.
15969
16673
  }>;
15970
16674
  source_market: z.ZodString;
15971
16675
  metric_timestamp: z.ZodNullable<z.ZodString>;
15972
- }, z.core.$strict>>>;
16676
+ }, z.core.$strict>>]>>;
15973
16677
  }, z.core.$strict>;
15974
16678
  }, z.core.$strip>, z.ZodObject<{
15975
16679
  type: z.ZodLiteral<"sitemap.clamped">;
@@ -16798,6 +17502,7 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
16798
17502
  }, z.core.$strip>>;
16799
17503
  }, z.core.$strip>>;
16800
17504
  userChoices: z.ZodOptional<z.ZodArray<z.ZodObject<{
17505
+ key: z.ZodOptional<z.ZodString>;
16801
17506
  question: z.ZodString;
16802
17507
  answer: z.ZodString;
16803
17508
  }, z.core.$strip>>>;
@@ -16815,15 +17520,47 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
16815
17520
  requiresOwnerDetail: z.ZodOptional<z.ZodBoolean>;
16816
17521
  }, z.core.$strip>>;
16817
17522
  }, z.core.$strip>>;
16818
- seoKeywords: z.ZodOptional<z.ZodArray<z.ZodObject<{
17523
+ seoKeywords: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
17524
+ id: z.ZodString;
17525
+ keyword: z.ZodString;
17526
+ business_id: z.ZodString;
17527
+ business_name: z.ZodString;
17528
+ category: z.ZodEnum<{
17529
+ 产品: "产品";
17530
+ "\u90E8\u4EF6/\u8017\u6750": "部件/耗材";
17531
+ 应用方案: "应用方案";
17532
+ "\u5B9A\u5236/OEM": "定制/OEM";
17533
+ 服务: "服务";
17534
+ "\u8D44\u8D28/\u80FD\u529B": "资质/能力";
17535
+ }>;
17536
+ selling_points: z.ZodString;
17537
+ section_id: z.ZodString;
17538
+ content_usage: z.ZodEnum<{
17539
+ product: "product";
17540
+ category: "category";
17541
+ solution: "solution";
17542
+ service: "service";
17543
+ capability: "capability";
17544
+ article: "article";
17545
+ faq: "faq";
17546
+ }>;
17547
+ intent: z.ZodString;
17548
+ semantic_group: z.ZodString;
17549
+ primary_business: z.ZodBoolean;
17550
+ monthly_volume: z.ZodNumber;
17551
+ keyword_difficulty: z.ZodNullable<z.ZodNumber>;
17552
+ variants: z.ZodArray<z.ZodString>;
17553
+ source: z.ZodLiteral<"semrush">;
17554
+ source_evidence: z.ZodArray<z.ZodString>;
17555
+ }, z.core.$strict>>, z.ZodArray<z.ZodObject<{
16819
17556
  id: z.ZodString;
16820
17557
  keyword: z.ZodString;
16821
17558
  normalized_keyword: z.ZodString;
16822
17559
  intc: z.ZodEnum<{
16823
17560
  C: "C";
16824
- T: "T";
16825
17561
  I: "I";
16826
17562
  N: "N";
17563
+ T: "T";
16827
17564
  }>;
16828
17565
  keyword_type: z.ZodString;
16829
17566
  intent_strength: z.ZodEnum<{
@@ -16850,7 +17587,7 @@ export declare const ListAgentEventsResponseSchema: z.ZodObject<{
16850
17587
  }>;
16851
17588
  source_market: z.ZodString;
16852
17589
  metric_timestamp: z.ZodNullable<z.ZodString>;
16853
- }, z.core.$strict>>>;
17590
+ }, z.core.$strict>>]>>;
16854
17591
  }, z.core.$strict>;
16855
17592
  }, z.core.$strip>, z.ZodObject<{
16856
17593
  type: z.ZodLiteral<"sitemap.clamped">;
@@ -18017,6 +18754,33 @@ export declare const REST_API_ENDPOINTS: readonly [{
18017
18754
  readonly request_body_schema: "StartWorkspaceRunRequestSchema";
18018
18755
  readonly response_schema: "StartWorkspaceRunResponseSchema";
18019
18756
  readonly notes: readonly ["Long-running work must be event-driven and must not block API transactions."];
18757
+ }, {
18758
+ readonly method: "POST";
18759
+ readonly path: "/sites/:site_id/workspace/attachments";
18760
+ readonly tag: "workspace";
18761
+ readonly summary: "Upload a chat image attachment for the Workspace conversation.";
18762
+ readonly status: "implemented";
18763
+ readonly response_schema: "WorkspaceAttachmentSchema";
18764
+ readonly notes: readonly ["multipart/form-data with a single `file`; the response `image_url` is referenced by a `file` part of the next client message."];
18765
+ }, {
18766
+ readonly method: "GET";
18767
+ readonly path: "/sites/:site_id/workspace/attachments/:attachment_id/image";
18768
+ readonly tag: "workspace";
18769
+ readonly summary: "Read the bytes of a chat image attachment (owner thumbnails and replay).";
18770
+ readonly status: "implemented";
18771
+ }, {
18772
+ readonly method: "DELETE";
18773
+ readonly path: "/sites/:site_id/workspace/attachments/:attachment_id";
18774
+ readonly tag: "workspace";
18775
+ readonly summary: "Delete an unsent chat image attachment.";
18776
+ readonly status: "implemented";
18777
+ readonly notes: readonly ["Attachments already sent with a message return 409 WORKSPACE_ATTACHMENT_BOUND."];
18778
+ }, {
18779
+ readonly method: "GET";
18780
+ readonly path: "/internal/workspace-attachments/:site_id/:attachment_id";
18781
+ readonly tag: "workspace";
18782
+ readonly summary: "Internal side-channel for the Workspace Agent to read a chat image attachment.";
18783
+ readonly status: "implemented";
18020
18784
  }, {
18021
18785
  readonly method: "GET";
18022
18786
  readonly path: "/sites/:site_id/threads";
@@ -19103,6 +19867,7 @@ export declare const WorkspaceClientMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19103
19867
  "update-text": "update-text";
19104
19868
  "update-array-item": "update-array-item";
19105
19869
  "remove-node": "remove-node";
19870
+ "replace-node": "replace-node";
19106
19871
  "move-node": "move-node";
19107
19872
  "set-class-name-source": "set-class-name-source";
19108
19873
  "apply-style-draft": "apply-style-draft";
@@ -19231,6 +19996,31 @@ export declare const WorkspaceClientMessageSchema: z.ZodDiscriminatedUnion<[z.Zo
19231
19996
  templateId: z.ZodOptional<z.ZodString>;
19232
19997
  }, z.core.$strict>;
19233
19998
  }, z.core.$strict>]>;
19999
+ }, z.core.$strip>, z.ZodObject<{
20000
+ kind: z.ZodLiteral<"replace-node">;
20001
+ node: z.ZodObject<{
20002
+ kind: z.ZodLiteral<"component-call">;
20003
+ component: z.ZodOptional<z.ZodNever>;
20004
+ materialization: z.ZodObject<{
20005
+ instanceBaseName: z.ZodString;
20006
+ files: z.ZodArray<z.ZodObject<{
20007
+ pathTemplate: z.ZodString;
20008
+ content: z.ZodString;
20009
+ role: z.ZodOptional<z.ZodString>;
20010
+ }, z.core.$strict>>;
20011
+ entry: z.ZodObject<{
20012
+ pathTemplate: z.ZodString;
20013
+ export: z.ZodUnion<readonly [z.ZodObject<{
20014
+ kind: z.ZodLiteral<"default">;
20015
+ }, z.core.$strict>, z.ZodObject<{
20016
+ kind: z.ZodLiteral<"named">;
20017
+ name: z.ZodString;
20018
+ }, z.core.$strict>]>;
20019
+ }, z.core.$strict>;
20020
+ dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
20021
+ }, z.core.$strict>;
20022
+ props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNever>>;
20023
+ }, z.core.$strict>;
19234
20024
  }, z.core.$strip>, z.ZodObject<{
19235
20025
  kind: z.ZodLiteral<"move-node">;
19236
20026
  target: z.ZodUnion<readonly [z.ZodObject<{
@@ -20309,6 +21099,7 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
20309
21099
  "update-text": "update-text";
20310
21100
  "update-array-item": "update-array-item";
20311
21101
  "remove-node": "remove-node";
21102
+ "replace-node": "replace-node";
20312
21103
  "move-node": "move-node";
20313
21104
  "set-class-name-source": "set-class-name-source";
20314
21105
  "apply-style-draft": "apply-style-draft";
@@ -20437,6 +21228,31 @@ export declare const WorkspaceWebSocketMessageSchema: z.ZodUnion<readonly [z.Zod
20437
21228
  templateId: z.ZodOptional<z.ZodString>;
20438
21229
  }, z.core.$strict>;
20439
21230
  }, z.core.$strict>]>;
21231
+ }, z.core.$strip>, z.ZodObject<{
21232
+ kind: z.ZodLiteral<"replace-node">;
21233
+ node: z.ZodObject<{
21234
+ kind: z.ZodLiteral<"component-call">;
21235
+ component: z.ZodOptional<z.ZodNever>;
21236
+ materialization: z.ZodObject<{
21237
+ instanceBaseName: z.ZodString;
21238
+ files: z.ZodArray<z.ZodObject<{
21239
+ pathTemplate: z.ZodString;
21240
+ content: z.ZodString;
21241
+ role: z.ZodOptional<z.ZodString>;
21242
+ }, z.core.$strict>>;
21243
+ entry: z.ZodObject<{
21244
+ pathTemplate: z.ZodString;
21245
+ export: z.ZodUnion<readonly [z.ZodObject<{
21246
+ kind: z.ZodLiteral<"default">;
21247
+ }, z.core.$strict>, z.ZodObject<{
21248
+ kind: z.ZodLiteral<"named">;
21249
+ name: z.ZodString;
21250
+ }, z.core.$strict>]>;
21251
+ }, z.core.$strict>;
21252
+ dataRequirements: z.ZodOptional<z.ZodArray<z.ZodNever>>;
21253
+ }, z.core.$strict>;
21254
+ props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNever>>;
21255
+ }, z.core.$strict>;
20440
21256
  }, z.core.$strip>, z.ZodObject<{
20441
21257
  kind: z.ZodLiteral<"move-node">;
20442
21258
  target: z.ZodUnion<readonly [z.ZodObject<{
@@ -21978,3 +22794,4 @@ export { MEDIA_LIBRARY_AUDIO_EXTENSIONS, MEDIA_LIBRARY_DOCUMENT_EXTENSIONS, MEDI
21978
22794
  export type { MediaLibraryFileType, MediaLibrarySource, MediaLibraryAsset, ListMediaLibraryAssetsQuery, ListMediaLibraryAssetsResponse, UploadMediaLibraryAssetResponse, AiImageGenerationPrecheckRequest, AiImageGenerationQuota, AiImageGenerationPrecheckResponse, GenerateAiImagesRequest, GeneratedAiImageResult, GenerateAiImagesResponse, UnsplashMediaAsset, SearchUnsplashMediaQuery, SearchUnsplashMediaResponse, UseUnsplashMediaRequest, UseUnsplashMediaResponse, RegisterMediaResourceReferenceRequest, RegisterMediaResourceReferenceResponse, } from "./media-library.js";
21979
22795
  export { WorkspaceDesignApplyRequestSchema, WorkspaceDesignApplyResponseSchema, } from "./workspace-design-apply.js";
21980
22796
  export type { WorkspaceDesignApplyRequest, WorkspaceDesignApplyResponse, } from "./workspace-design-apply.js";
22797
+ export * from "./step5-keyword-library.js";