@seatlayer/core 0.67.12 → 0.67.13

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.
Files changed (78) hide show
  1. package/dist/{categoryInventory-DEgsjxCC.d.cts → categoryInventory-BI3jJaqD.d.cts} +1 -1
  2. package/dist/{categoryInventory-C3RogGHF.d.ts → categoryInventory-CDGQe2Ag.d.ts} +1 -1
  3. package/dist/chunk-3TAVIEVO.js +1 -0
  4. package/dist/chunk-52MZJZMW.js +1 -0
  5. package/dist/chunk-5BGP7S3Q.js +1 -0
  6. package/dist/chunk-BTW7IGNT.js +1 -0
  7. package/dist/{chunk-F4GG7KDS.js → chunk-BV6FHURE.js} +1 -1
  8. package/dist/chunk-CRCGO52K.js +1 -0
  9. package/dist/{chunk-5S3OQBZJ.js → chunk-HZT2U5IY.js} +1 -1
  10. package/dist/chunk-I6DNJFRF.js +1 -0
  11. package/dist/{chunk-V7PECHME.js → chunk-QYZ3P5L6.js} +1 -1
  12. package/dist/{chunk-L35GJOTC.js → chunk-RMNTGICO.js} +1 -1
  13. package/dist/chunk-Y2J55NLS.js +1 -0
  14. package/dist/core/chart-ops/index.cjs +1 -1
  15. package/dist/core/chart-ops/index.d.cts +71 -7
  16. package/dist/core/chart-ops/index.d.ts +71 -7
  17. package/dist/core/chart-ops/index.js +1 -1
  18. package/dist/core/inventory/index.cjs +1 -1
  19. package/dist/core/inventory/index.d.cts +4 -4
  20. package/dist/core/inventory/index.d.ts +4 -4
  21. package/dist/core/inventory/index.js +1 -1
  22. package/dist/core/layout/index.cjs +1 -1
  23. package/dist/core/layout/index.d.cts +4 -4
  24. package/dist/core/layout/index.d.ts +4 -4
  25. package/dist/core/layout/index.js +1 -1
  26. package/dist/core/quality/index.d.cts +3 -3
  27. package/dist/core/quality/index.d.ts +3 -3
  28. package/dist/core/render-assets/index.d.cts +1 -1
  29. package/dist/core/render-assets/index.d.ts +1 -1
  30. package/dist/core/seatConfidence.cjs +1 -1
  31. package/dist/core/seatConfidence.d.cts +5 -3
  32. package/dist/core/seatConfidence.d.ts +5 -3
  33. package/dist/core/seatConfidence.js +1 -1
  34. package/dist/core/sections/index.cjs +1 -1
  35. package/dist/core/sections/index.d.cts +5 -5
  36. package/dist/core/sections/index.d.ts +5 -5
  37. package/dist/core/sections/index.js +1 -1
  38. package/dist/eventConfigurations-DImP8Cd6.d.ts +130 -0
  39. package/dist/eventConfigurations-YqyHnreh.d.cts +130 -0
  40. package/dist/index.cjs +1 -1
  41. package/dist/index.d.cts +32 -11
  42. package/dist/index.d.ts +32 -11
  43. package/dist/index.js +1 -1
  44. package/dist/{labeling-DTHo03rf.d.ts → labeling-Cb7ZwhoO.d.ts} +1 -1
  45. package/dist/{labeling-DRFC35VK.d.cts → labeling-lXzjJrgV.d.cts} +1 -1
  46. package/dist/{layout-BSb0-47G.d.ts → layout-ByBMw1t7.d.ts} +7 -3
  47. package/dist/{layout-wVlsj-_w.d.cts → layout-cZ3VfeJR.d.cts} +7 -3
  48. package/dist/{openPanorama-ALLZ6ADE.js → openPanorama-HGRYMWKC.js} +1 -1
  49. package/dist/{renderedQuality-8i9bYccr.d.cts → renderedQuality-6ta0nSPm.d.cts} +1 -1
  50. package/dist/{renderedQuality-CbHiqt1W.d.ts → renderedQuality-BJKHot_g.d.ts} +1 -1
  51. package/dist/{renderer-BxLV6zjl.d.ts → renderer-B9GavToM.d.ts} +3 -1
  52. package/dist/{renderer-DOVelTZw.d.cts → renderer-C9BLd1g2.d.cts} +3 -1
  53. package/dist/{sections-BrQV1WzI.d.ts → sections-BvZ1cQkD.d.ts} +1 -1
  54. package/dist/{sections-D2bxgVgg.d.cts → sections-ND5PRE4j.d.cts} +1 -1
  55. package/dist/{segmentedRowModel-BQYSdf7k.d.cts → segmentedRowModel-BB9MPufB.d.cts} +1 -1
  56. package/dist/{segmentedRowModel-Cl3X8SKt.d.ts → segmentedRowModel-CLKP-2ca.d.ts} +1 -1
  57. package/dist/{ticketRestrictions-D0GRRQ3i.d.cts → ticketRestrictions-CjV47RNG.d.cts} +2 -2
  58. package/dist/{ticketRestrictions-SteRFSGg.d.ts → ticketRestrictions-DUQ8wHjG.d.ts} +2 -2
  59. package/dist/{types-DmgX-iuD.d.cts → types-hv6QjPRV.d.cts} +32 -3
  60. package/dist/{types-DmgX-iuD.d.ts → types-hv6QjPRV.d.ts} +32 -3
  61. package/dist/view/panoramaDelivery.cjs +1 -1
  62. package/dist/view/panoramaDelivery.d.cts +5 -0
  63. package/dist/view/panoramaDelivery.d.ts +5 -0
  64. package/dist/view/panoramaDelivery.js +1 -1
  65. package/dist/view3d/crossfade/panorama.cjs +1 -1
  66. package/dist/view3d/crossfade/panorama.d.cts +7 -1
  67. package/dist/view3d/crossfade/panorama.d.ts +7 -1
  68. package/dist/view3d/crossfade/panorama.js +1 -1
  69. package/dist/view3d/index.cjs +30 -30
  70. package/dist/view3d/index.d.cts +27 -2
  71. package/dist/view3d/index.d.ts +27 -2
  72. package/dist/view3d/index.js +24 -24
  73. package/package.json +1 -1
  74. package/dist/chunk-EQM4FFN5.js +0 -1
  75. package/dist/chunk-IJI4WU57.js +0 -1
  76. package/dist/chunk-TTTRXXAA.js +0 -1
  77. package/dist/chunk-XHXBFFWR.js +0 -1
  78. package/dist/chunk-XPPT3OGQ.js +0 -1
@@ -1,7 +1,7 @@
1
- import { b as SeatViewMetadata, e as SectionObject, aq as ZoneDef, C as ChartDoc, P as Point, t as CubicPath, o as Category, m as CategoryTier, D as ChartTheme, R as RowObject, a3 as ReferenceScanProposal, B as BoothObject, G as GAAreaObject, s as ShapeObject, T as TableObject, u as TextObject, am as TextBackground, a as SeatGlyphKind, A as AccessibilityType, S as SeatOverride, d as ChartObject } from '../../types-DmgX-iuD.cjs';
2
- import { e as CategoryInventoryObjectType } from '../../categoryInventory-DEgsjxCC.cjs';
3
- import { R as RelabelOptions } from '../../labeling-DRFC35VK.cjs';
4
- export { D as DEFAULT_SECTION_CORNER_SMOOTHING } from '../../labeling-DRFC35VK.cjs';
1
+ import { b as SeatViewMetadata, e as SectionObject, ar as ZoneDef, C as ChartDoc, P as Point, t as CubicPath, o as Category, m as CategoryTier, D as ChartTheme, R as RowObject, a3 as ReferenceScanProposal, B as BoothObject, G as GAAreaObject, s as ShapeObject, T as TableObject, u as TextObject, an as TextBackground, a as SeatGlyphKind, A as AccessibilityType, S as SeatOverride, ag as SeatConfidenceEvidence, d as ChartObject } from '../../types-hv6QjPRV.cjs';
2
+ import { e as CategoryInventoryObjectType } from '../../categoryInventory-BI3jJaqD.cjs';
3
+ import { R as RelabelOptions } from '../../labeling-lXzjJrgV.cjs';
4
+ export { D as DEFAULT_SECTION_CORNER_SMOOTHING } from '../../labeling-lXzjJrgV.cjs';
5
5
 
6
6
  type ChartObjectIdFactory = (prefix: string) => string;
7
7
  type AutomaticPlacement = 'auto' | 'front' | 'rear' | 'left' | 'right';
@@ -54,6 +54,16 @@ interface SectionInventorySelectionSummary {
54
54
  }
55
55
  type SharedZonePatch = Partial<Pick<ZoneDef, 'label' | 'color' | 'focalPoint'>>;
56
56
 
57
+ /**
58
+ * Buyer-facing image URL contract shared by chart operations, raw-document
59
+ * validation, and picker delivery. SVG data URLs are deliberately excluded:
60
+ * embedded organizer media must be an inert raster, while remote media must be
61
+ * an ordinary credential-free HTTPS URL.
62
+ */
63
+ declare const MAX_BUYER_IMAGE_URL_LENGTH = 2000000;
64
+ declare function isSafeBuyerImageUrl(value: unknown): value is string;
65
+ declare function normalizeBuyerImageUrl(value: string): string | null;
66
+
57
67
  declare function mirrorFirstFloor(doc: ChartDoc): ChartDoc;
58
68
  declare const MAX_FLOOR_BASE_HEIGHT_M = 120;
59
69
  declare const DEFAULT_FLOOR_HEIGHT_STEP_M = 4;
@@ -536,7 +546,8 @@ type SharedThemePatch = {
536
546
  * Merge chart-wide theme + white-label branding through the same field-level
537
547
  * semantics as the Designer Theme tab. Colors run through the shared six-digit
538
548
  * hex rule, seatScale is clamped to the renderer's 0.7–1.6 band, and logoUrl
539
- * accepts only a data:image or https reference. `hideBadge` is stored verbatim;
549
+ * accepts only a base64 raster data URL or credential-free HTTPS reference.
550
+ * `hideBadge` is stored verbatim;
540
551
  * its paid-tier entitlement is enforced separately at buyer-serve time, exactly
541
552
  * as a Designer toggle is (any organizer may set the stored flag).
542
553
  */
@@ -551,7 +562,7 @@ declare function updateChartTheme(doc: ChartDoc, input: {
551
562
  * two lowest-priority tiers below any seat/row/section photo. `floorId`
552
563
  * undefined targets the venue default (`doc.viewFromSeatUrl`); a floor id sets
553
564
  * that floor's override. `url` null clears the slot. Accepts only https or
554
- * data:image references, exactly like section and seat view photos.
565
+ * base64 raster data URLs, exactly like section and seat view photos.
555
566
  */
556
567
  declare function updateViewFromSeatFallback(doc: ChartDoc, input: {
557
568
  floorId?: string;
@@ -937,6 +948,8 @@ interface SharedSeatOverridePatch {
937
948
  commercial?: SeatOverride['commercial'] | null;
938
949
  viewFromSeatUrl?: string | null;
939
950
  viewFromSeatMeta?: SeatViewMetadata | null;
951
+ /** Seat-scoped modeled evidence. Null clears it. Never an approval record. */
952
+ confidenceEvidence?: SeatConfidenceEvidence | null;
940
953
  /** Merge per-seat label size/color (see LabelStylePatch); null clears it. */
941
954
  labelStyle?: LabelStylePatch | null;
942
955
  /** Designer-only geometry nudges. MCP wrappers deliberately do not expose these. */
@@ -1236,4 +1249,55 @@ declare function insertSeatingBlock(doc: ChartDoc, input: {
1236
1249
  sectionId: string | null;
1237
1250
  };
1238
1251
 
1239
- export { type AddBoothArrayInput, type AddGAAreaInput, type AddRowBlockInput, type AddTableArrayInput, type ArcFanRowsInput, type ArcFanRowsPreview, type AutomaticPlacement, type BookableGridArrayInput, type BookableGridArrayPreview, COLORBLIND_SAFE_PALETTE, type ChartObjectIdFactory, ChartOperationError, DEFAULT_FLOOR_HEIGHT_STEP_M, type GeneratedSectionPolygonConversionPreview, type JoinGAAreasPreview, type LabelStylePatch, MAX_FLOOR_BASE_HEIGHT_M, type MergeRowsResult, type PolygonHolePreview, type ReassignColorblindSafeResult, type ReferenceScanApplyResult, type ReferenceScanPreview, type ReferenceScanRowsOptions, type ReferenceScanSectionOutcome, type ReferenceScanSkippedSection, type ReplaceRowBlockInput, type ReplaceRowBlockResult, type ResolveCreationCategoryOptions, type RowBlockSpacingResult, type RowCubicPathPreview, type SeatRef, type SectionBoundaryTransform, type SectionBoundaryTransformResult, type SectionInventorySelectionSummary, type SectionRowFitInput, type SectionRowFitPreview, type SegmentedRowGroupResult, type SharedBoothPatch, type SharedCategoryPatch, type SharedGAAreaPatch, type SharedRowPatch, type SharedSeatOverridePatch, type SharedSectionMetadataPatch, type SharedShapePatch, type SharedTablePatch, type SharedTextPatch, type SharedThemePatch, type SharedZonePatch, type SplitRowResult, type StraightenAndSpaceResult, addArcFanRows, addBookableGridArray, addBoothArray, addChartCategory, addChartFloor, addChartZone, addGAArea, addRowBlock, addTableArray, applyPolygonHole, applyReferenceScanRows, applySectionCornerSmoothing, applySectionOutlineShaping, applySectionRowFit, arcFanInputForGroup, assignSectionInventoryCategory, automaticPlacementCenter, confirmReferenceCategoryOutputColor, convertGeneratedSectionToPolygon, countCoveredInventory, familyCategoryLabel, gaAreaFootprint, groupRowsAsSegmented, insertSeatingBlock, joinGAAreas, mergeRows, mirrorFirstFloor, parseSeatRefId, pickColorblindSafeCategoryColor, previewArcFanRows, previewBookableGridArray, previewGeneratedSectionPolygonConversion, previewJoinGAAreas, previewPolygonHole, previewRemovePolygonHole, previewRowCubicPath, previewSectionRowFit, reassignColorblindSafeCategoryColors, relabelChartRows, removeChartCategory, removeChartFloor, removeChartObjects, removeChartZone, removePolygonHole, renameChartFloor, reorderChartCategories, replaceArcFanRows, replaceRowBlock, resetSeatOverrides, resizeShapes, resolveCreationCategory, seatRefId, sectionInventorySelectionSummary, setRowBlockSpacing, splitRow, straightenAndSpaceRows, transformSectionBoundary, transformSectionBoundaryObject, ungroupSegmentedRow, updateBooths, updateCategoryDefinitions, updateChartFloorBaseHeight, updateChartTheme, updateChartZones, updateGAAreas, updateRowCubicPath, updateRows, updateSeatOverrides, updateSectionExactPath, updateSectionMetadata, updateSegmentedRow, updateShapes, updateStageKinds, updateTables, updateTextObjects, updateViewFromSeatFallback };
1252
+ type ConfidenceEvidenceScope = 'seat' | 'row' | 'section' | 'floor' | 'venue';
1253
+ type ConfidenceEvidenceTarget = {
1254
+ scope: ConfidenceEvidenceScope;
1255
+ objectId?: string;
1256
+ floorId?: string;
1257
+ seatIndex?: number;
1258
+ };
1259
+ type ConfidenceEvidenceMutation = {
1260
+ changed: boolean;
1261
+ scope: ConfidenceEvidenceScope;
1262
+ objectId?: string;
1263
+ floorId?: string;
1264
+ seatIndex?: number;
1265
+ evidenceId?: string;
1266
+ status?: SeatConfidenceEvidence['status'];
1267
+ };
1268
+ type ConfidenceEvidenceChange = ConfidenceEvidenceTarget & {
1269
+ operation: 'set' | 'clear' | 'approve' | 'retract';
1270
+ before?: SeatConfidenceEvidence;
1271
+ after?: SeatConfidenceEvidence;
1272
+ };
1273
+ /** Stable scoped lifecycle diff shared by the save authority and D1 audit. */
1274
+ declare function confidenceEvidenceChanges(before: ChartDoc, after: ChartDoc): ConfidenceEvidenceChange[];
1275
+ /**
1276
+ * Raw Designer saves can author drafts, but they must not bypass the dedicated
1277
+ * publish-tier Verified View lifecycle. A publish authority is required for
1278
+ * every promotion to approved and for any edit/removal of evidence that is
1279
+ * already eligible to reach buyers. This includes legacy records whose absent
1280
+ * status intentionally remains buyer-live for backward compatibility.
1281
+ */
1282
+ declare function confidenceEvidenceChangeRequiresPublish(before: ChartDoc, after: ChartDoc): boolean;
1283
+ declare function normalizeDraftEvidence(input: Omit<SeatConfidenceEvidence, 'schema' | 'status'> & {
1284
+ schema?: SeatConfidenceEvidence['schema'];
1285
+ }, now?: Date): SeatConfidenceEvidence;
1286
+ /** Author a draft. Existing approved records return to draft and need re-approval. */
1287
+ declare function setConfidenceEvidence(doc: ChartDoc, input: ConfidenceEvidenceTarget & {
1288
+ evidence: Omit<SeatConfidenceEvidence, 'schema' | 'status'> & {
1289
+ schema?: SeatConfidenceEvidence['schema'];
1290
+ };
1291
+ now?: Date;
1292
+ }): ConfidenceEvidenceMutation;
1293
+ declare function clearConfidenceEvidence(doc: ChartDoc, target: ConfidenceEvidenceTarget): ConfidenceEvidenceMutation;
1294
+ declare function approveConfidenceEvidence(doc: ChartDoc, input: ConfidenceEvidenceTarget & {
1295
+ approvedByRole: string;
1296
+ eventConfigurationId?: string;
1297
+ eventConfigurationVersion?: number;
1298
+ basisSha256?: string;
1299
+ now?: Date;
1300
+ }): ConfidenceEvidenceMutation;
1301
+ declare function retractConfidenceEvidence(doc: ChartDoc, target: ConfidenceEvidenceTarget): ConfidenceEvidenceMutation;
1302
+
1303
+ export { type AddBoothArrayInput, type AddGAAreaInput, type AddRowBlockInput, type AddTableArrayInput, type ArcFanRowsInput, type ArcFanRowsPreview, type AutomaticPlacement, type BookableGridArrayInput, type BookableGridArrayPreview, COLORBLIND_SAFE_PALETTE, type ChartObjectIdFactory, ChartOperationError, type ConfidenceEvidenceChange, type ConfidenceEvidenceMutation, type ConfidenceEvidenceScope, type ConfidenceEvidenceTarget, DEFAULT_FLOOR_HEIGHT_STEP_M, type GeneratedSectionPolygonConversionPreview, type JoinGAAreasPreview, type LabelStylePatch, MAX_BUYER_IMAGE_URL_LENGTH, MAX_FLOOR_BASE_HEIGHT_M, type MergeRowsResult, type PolygonHolePreview, type ReassignColorblindSafeResult, type ReferenceScanApplyResult, type ReferenceScanPreview, type ReferenceScanRowsOptions, type ReferenceScanSectionOutcome, type ReferenceScanSkippedSection, type ReplaceRowBlockInput, type ReplaceRowBlockResult, type ResolveCreationCategoryOptions, type RowBlockSpacingResult, type RowCubicPathPreview, type SeatRef, type SectionBoundaryTransform, type SectionBoundaryTransformResult, type SectionInventorySelectionSummary, type SectionRowFitInput, type SectionRowFitPreview, type SegmentedRowGroupResult, type SharedBoothPatch, type SharedCategoryPatch, type SharedGAAreaPatch, type SharedRowPatch, type SharedSeatOverridePatch, type SharedSectionMetadataPatch, type SharedShapePatch, type SharedTablePatch, type SharedTextPatch, type SharedThemePatch, type SharedZonePatch, type SplitRowResult, type StraightenAndSpaceResult, addArcFanRows, addBookableGridArray, addBoothArray, addChartCategory, addChartFloor, addChartZone, addGAArea, addRowBlock, addTableArray, applyPolygonHole, applyReferenceScanRows, applySectionCornerSmoothing, applySectionOutlineShaping, applySectionRowFit, approveConfidenceEvidence, arcFanInputForGroup, assignSectionInventoryCategory, automaticPlacementCenter, clearConfidenceEvidence, confidenceEvidenceChangeRequiresPublish, confidenceEvidenceChanges, confirmReferenceCategoryOutputColor, convertGeneratedSectionToPolygon, countCoveredInventory, familyCategoryLabel, gaAreaFootprint, groupRowsAsSegmented, insertSeatingBlock, isSafeBuyerImageUrl, joinGAAreas, mergeRows, mirrorFirstFloor, normalizeBuyerImageUrl, normalizeDraftEvidence, parseSeatRefId, pickColorblindSafeCategoryColor, previewArcFanRows, previewBookableGridArray, previewGeneratedSectionPolygonConversion, previewJoinGAAreas, previewPolygonHole, previewRemovePolygonHole, previewRowCubicPath, previewSectionRowFit, reassignColorblindSafeCategoryColors, relabelChartRows, removeChartCategory, removeChartFloor, removeChartObjects, removeChartZone, removePolygonHole, renameChartFloor, reorderChartCategories, replaceArcFanRows, replaceRowBlock, resetSeatOverrides, resizeShapes, resolveCreationCategory, retractConfidenceEvidence, seatRefId, sectionInventorySelectionSummary, setConfidenceEvidence, setRowBlockSpacing, splitRow, straightenAndSpaceRows, transformSectionBoundary, transformSectionBoundaryObject, ungroupSegmentedRow, updateBooths, updateCategoryDefinitions, updateChartFloorBaseHeight, updateChartTheme, updateChartZones, updateGAAreas, updateRowCubicPath, updateRows, updateSeatOverrides, updateSectionExactPath, updateSectionMetadata, updateSegmentedRow, updateShapes, updateStageKinds, updateTables, updateTextObjects, updateViewFromSeatFallback };
@@ -1,7 +1,7 @@
1
- import { b as SeatViewMetadata, e as SectionObject, aq as ZoneDef, C as ChartDoc, P as Point, t as CubicPath, o as Category, m as CategoryTier, D as ChartTheme, R as RowObject, a3 as ReferenceScanProposal, B as BoothObject, G as GAAreaObject, s as ShapeObject, T as TableObject, u as TextObject, am as TextBackground, a as SeatGlyphKind, A as AccessibilityType, S as SeatOverride, d as ChartObject } from '../../types-DmgX-iuD.js';
2
- import { e as CategoryInventoryObjectType } from '../../categoryInventory-C3RogGHF.js';
3
- import { R as RelabelOptions } from '../../labeling-DTHo03rf.js';
4
- export { D as DEFAULT_SECTION_CORNER_SMOOTHING } from '../../labeling-DTHo03rf.js';
1
+ import { b as SeatViewMetadata, e as SectionObject, ar as ZoneDef, C as ChartDoc, P as Point, t as CubicPath, o as Category, m as CategoryTier, D as ChartTheme, R as RowObject, a3 as ReferenceScanProposal, B as BoothObject, G as GAAreaObject, s as ShapeObject, T as TableObject, u as TextObject, an as TextBackground, a as SeatGlyphKind, A as AccessibilityType, S as SeatOverride, ag as SeatConfidenceEvidence, d as ChartObject } from '../../types-hv6QjPRV.js';
2
+ import { e as CategoryInventoryObjectType } from '../../categoryInventory-CDGQe2Ag.js';
3
+ import { R as RelabelOptions } from '../../labeling-Cb7ZwhoO.js';
4
+ export { D as DEFAULT_SECTION_CORNER_SMOOTHING } from '../../labeling-Cb7ZwhoO.js';
5
5
 
6
6
  type ChartObjectIdFactory = (prefix: string) => string;
7
7
  type AutomaticPlacement = 'auto' | 'front' | 'rear' | 'left' | 'right';
@@ -54,6 +54,16 @@ interface SectionInventorySelectionSummary {
54
54
  }
55
55
  type SharedZonePatch = Partial<Pick<ZoneDef, 'label' | 'color' | 'focalPoint'>>;
56
56
 
57
+ /**
58
+ * Buyer-facing image URL contract shared by chart operations, raw-document
59
+ * validation, and picker delivery. SVG data URLs are deliberately excluded:
60
+ * embedded organizer media must be an inert raster, while remote media must be
61
+ * an ordinary credential-free HTTPS URL.
62
+ */
63
+ declare const MAX_BUYER_IMAGE_URL_LENGTH = 2000000;
64
+ declare function isSafeBuyerImageUrl(value: unknown): value is string;
65
+ declare function normalizeBuyerImageUrl(value: string): string | null;
66
+
57
67
  declare function mirrorFirstFloor(doc: ChartDoc): ChartDoc;
58
68
  declare const MAX_FLOOR_BASE_HEIGHT_M = 120;
59
69
  declare const DEFAULT_FLOOR_HEIGHT_STEP_M = 4;
@@ -536,7 +546,8 @@ type SharedThemePatch = {
536
546
  * Merge chart-wide theme + white-label branding through the same field-level
537
547
  * semantics as the Designer Theme tab. Colors run through the shared six-digit
538
548
  * hex rule, seatScale is clamped to the renderer's 0.7–1.6 band, and logoUrl
539
- * accepts only a data:image or https reference. `hideBadge` is stored verbatim;
549
+ * accepts only a base64 raster data URL or credential-free HTTPS reference.
550
+ * `hideBadge` is stored verbatim;
540
551
  * its paid-tier entitlement is enforced separately at buyer-serve time, exactly
541
552
  * as a Designer toggle is (any organizer may set the stored flag).
542
553
  */
@@ -551,7 +562,7 @@ declare function updateChartTheme(doc: ChartDoc, input: {
551
562
  * two lowest-priority tiers below any seat/row/section photo. `floorId`
552
563
  * undefined targets the venue default (`doc.viewFromSeatUrl`); a floor id sets
553
564
  * that floor's override. `url` null clears the slot. Accepts only https or
554
- * data:image references, exactly like section and seat view photos.
565
+ * base64 raster data URLs, exactly like section and seat view photos.
555
566
  */
556
567
  declare function updateViewFromSeatFallback(doc: ChartDoc, input: {
557
568
  floorId?: string;
@@ -937,6 +948,8 @@ interface SharedSeatOverridePatch {
937
948
  commercial?: SeatOverride['commercial'] | null;
938
949
  viewFromSeatUrl?: string | null;
939
950
  viewFromSeatMeta?: SeatViewMetadata | null;
951
+ /** Seat-scoped modeled evidence. Null clears it. Never an approval record. */
952
+ confidenceEvidence?: SeatConfidenceEvidence | null;
940
953
  /** Merge per-seat label size/color (see LabelStylePatch); null clears it. */
941
954
  labelStyle?: LabelStylePatch | null;
942
955
  /** Designer-only geometry nudges. MCP wrappers deliberately do not expose these. */
@@ -1236,4 +1249,55 @@ declare function insertSeatingBlock(doc: ChartDoc, input: {
1236
1249
  sectionId: string | null;
1237
1250
  };
1238
1251
 
1239
- export { type AddBoothArrayInput, type AddGAAreaInput, type AddRowBlockInput, type AddTableArrayInput, type ArcFanRowsInput, type ArcFanRowsPreview, type AutomaticPlacement, type BookableGridArrayInput, type BookableGridArrayPreview, COLORBLIND_SAFE_PALETTE, type ChartObjectIdFactory, ChartOperationError, DEFAULT_FLOOR_HEIGHT_STEP_M, type GeneratedSectionPolygonConversionPreview, type JoinGAAreasPreview, type LabelStylePatch, MAX_FLOOR_BASE_HEIGHT_M, type MergeRowsResult, type PolygonHolePreview, type ReassignColorblindSafeResult, type ReferenceScanApplyResult, type ReferenceScanPreview, type ReferenceScanRowsOptions, type ReferenceScanSectionOutcome, type ReferenceScanSkippedSection, type ReplaceRowBlockInput, type ReplaceRowBlockResult, type ResolveCreationCategoryOptions, type RowBlockSpacingResult, type RowCubicPathPreview, type SeatRef, type SectionBoundaryTransform, type SectionBoundaryTransformResult, type SectionInventorySelectionSummary, type SectionRowFitInput, type SectionRowFitPreview, type SegmentedRowGroupResult, type SharedBoothPatch, type SharedCategoryPatch, type SharedGAAreaPatch, type SharedRowPatch, type SharedSeatOverridePatch, type SharedSectionMetadataPatch, type SharedShapePatch, type SharedTablePatch, type SharedTextPatch, type SharedThemePatch, type SharedZonePatch, type SplitRowResult, type StraightenAndSpaceResult, addArcFanRows, addBookableGridArray, addBoothArray, addChartCategory, addChartFloor, addChartZone, addGAArea, addRowBlock, addTableArray, applyPolygonHole, applyReferenceScanRows, applySectionCornerSmoothing, applySectionOutlineShaping, applySectionRowFit, arcFanInputForGroup, assignSectionInventoryCategory, automaticPlacementCenter, confirmReferenceCategoryOutputColor, convertGeneratedSectionToPolygon, countCoveredInventory, familyCategoryLabel, gaAreaFootprint, groupRowsAsSegmented, insertSeatingBlock, joinGAAreas, mergeRows, mirrorFirstFloor, parseSeatRefId, pickColorblindSafeCategoryColor, previewArcFanRows, previewBookableGridArray, previewGeneratedSectionPolygonConversion, previewJoinGAAreas, previewPolygonHole, previewRemovePolygonHole, previewRowCubicPath, previewSectionRowFit, reassignColorblindSafeCategoryColors, relabelChartRows, removeChartCategory, removeChartFloor, removeChartObjects, removeChartZone, removePolygonHole, renameChartFloor, reorderChartCategories, replaceArcFanRows, replaceRowBlock, resetSeatOverrides, resizeShapes, resolveCreationCategory, seatRefId, sectionInventorySelectionSummary, setRowBlockSpacing, splitRow, straightenAndSpaceRows, transformSectionBoundary, transformSectionBoundaryObject, ungroupSegmentedRow, updateBooths, updateCategoryDefinitions, updateChartFloorBaseHeight, updateChartTheme, updateChartZones, updateGAAreas, updateRowCubicPath, updateRows, updateSeatOverrides, updateSectionExactPath, updateSectionMetadata, updateSegmentedRow, updateShapes, updateStageKinds, updateTables, updateTextObjects, updateViewFromSeatFallback };
1252
+ type ConfidenceEvidenceScope = 'seat' | 'row' | 'section' | 'floor' | 'venue';
1253
+ type ConfidenceEvidenceTarget = {
1254
+ scope: ConfidenceEvidenceScope;
1255
+ objectId?: string;
1256
+ floorId?: string;
1257
+ seatIndex?: number;
1258
+ };
1259
+ type ConfidenceEvidenceMutation = {
1260
+ changed: boolean;
1261
+ scope: ConfidenceEvidenceScope;
1262
+ objectId?: string;
1263
+ floorId?: string;
1264
+ seatIndex?: number;
1265
+ evidenceId?: string;
1266
+ status?: SeatConfidenceEvidence['status'];
1267
+ };
1268
+ type ConfidenceEvidenceChange = ConfidenceEvidenceTarget & {
1269
+ operation: 'set' | 'clear' | 'approve' | 'retract';
1270
+ before?: SeatConfidenceEvidence;
1271
+ after?: SeatConfidenceEvidence;
1272
+ };
1273
+ /** Stable scoped lifecycle diff shared by the save authority and D1 audit. */
1274
+ declare function confidenceEvidenceChanges(before: ChartDoc, after: ChartDoc): ConfidenceEvidenceChange[];
1275
+ /**
1276
+ * Raw Designer saves can author drafts, but they must not bypass the dedicated
1277
+ * publish-tier Verified View lifecycle. A publish authority is required for
1278
+ * every promotion to approved and for any edit/removal of evidence that is
1279
+ * already eligible to reach buyers. This includes legacy records whose absent
1280
+ * status intentionally remains buyer-live for backward compatibility.
1281
+ */
1282
+ declare function confidenceEvidenceChangeRequiresPublish(before: ChartDoc, after: ChartDoc): boolean;
1283
+ declare function normalizeDraftEvidence(input: Omit<SeatConfidenceEvidence, 'schema' | 'status'> & {
1284
+ schema?: SeatConfidenceEvidence['schema'];
1285
+ }, now?: Date): SeatConfidenceEvidence;
1286
+ /** Author a draft. Existing approved records return to draft and need re-approval. */
1287
+ declare function setConfidenceEvidence(doc: ChartDoc, input: ConfidenceEvidenceTarget & {
1288
+ evidence: Omit<SeatConfidenceEvidence, 'schema' | 'status'> & {
1289
+ schema?: SeatConfidenceEvidence['schema'];
1290
+ };
1291
+ now?: Date;
1292
+ }): ConfidenceEvidenceMutation;
1293
+ declare function clearConfidenceEvidence(doc: ChartDoc, target: ConfidenceEvidenceTarget): ConfidenceEvidenceMutation;
1294
+ declare function approveConfidenceEvidence(doc: ChartDoc, input: ConfidenceEvidenceTarget & {
1295
+ approvedByRole: string;
1296
+ eventConfigurationId?: string;
1297
+ eventConfigurationVersion?: number;
1298
+ basisSha256?: string;
1299
+ now?: Date;
1300
+ }): ConfidenceEvidenceMutation;
1301
+ declare function retractConfidenceEvidence(doc: ChartDoc, target: ConfidenceEvidenceTarget): ConfidenceEvidenceMutation;
1302
+
1303
+ export { type AddBoothArrayInput, type AddGAAreaInput, type AddRowBlockInput, type AddTableArrayInput, type ArcFanRowsInput, type ArcFanRowsPreview, type AutomaticPlacement, type BookableGridArrayInput, type BookableGridArrayPreview, COLORBLIND_SAFE_PALETTE, type ChartObjectIdFactory, ChartOperationError, type ConfidenceEvidenceChange, type ConfidenceEvidenceMutation, type ConfidenceEvidenceScope, type ConfidenceEvidenceTarget, DEFAULT_FLOOR_HEIGHT_STEP_M, type GeneratedSectionPolygonConversionPreview, type JoinGAAreasPreview, type LabelStylePatch, MAX_BUYER_IMAGE_URL_LENGTH, MAX_FLOOR_BASE_HEIGHT_M, type MergeRowsResult, type PolygonHolePreview, type ReassignColorblindSafeResult, type ReferenceScanApplyResult, type ReferenceScanPreview, type ReferenceScanRowsOptions, type ReferenceScanSectionOutcome, type ReferenceScanSkippedSection, type ReplaceRowBlockInput, type ReplaceRowBlockResult, type ResolveCreationCategoryOptions, type RowBlockSpacingResult, type RowCubicPathPreview, type SeatRef, type SectionBoundaryTransform, type SectionBoundaryTransformResult, type SectionInventorySelectionSummary, type SectionRowFitInput, type SectionRowFitPreview, type SegmentedRowGroupResult, type SharedBoothPatch, type SharedCategoryPatch, type SharedGAAreaPatch, type SharedRowPatch, type SharedSeatOverridePatch, type SharedSectionMetadataPatch, type SharedShapePatch, type SharedTablePatch, type SharedTextPatch, type SharedThemePatch, type SharedZonePatch, type SplitRowResult, type StraightenAndSpaceResult, addArcFanRows, addBookableGridArray, addBoothArray, addChartCategory, addChartFloor, addChartZone, addGAArea, addRowBlock, addTableArray, applyPolygonHole, applyReferenceScanRows, applySectionCornerSmoothing, applySectionOutlineShaping, applySectionRowFit, approveConfidenceEvidence, arcFanInputForGroup, assignSectionInventoryCategory, automaticPlacementCenter, clearConfidenceEvidence, confidenceEvidenceChangeRequiresPublish, confidenceEvidenceChanges, confirmReferenceCategoryOutputColor, convertGeneratedSectionToPolygon, countCoveredInventory, familyCategoryLabel, gaAreaFootprint, groupRowsAsSegmented, insertSeatingBlock, isSafeBuyerImageUrl, joinGAAreas, mergeRows, mirrorFirstFloor, normalizeBuyerImageUrl, normalizeDraftEvidence, parseSeatRefId, pickColorblindSafeCategoryColor, previewArcFanRows, previewBookableGridArray, previewGeneratedSectionPolygonConversion, previewJoinGAAreas, previewPolygonHole, previewRemovePolygonHole, previewRowCubicPath, previewSectionRowFit, reassignColorblindSafeCategoryColors, relabelChartRows, removeChartCategory, removeChartFloor, removeChartObjects, removeChartZone, removePolygonHole, renameChartFloor, reorderChartCategories, replaceArcFanRows, replaceRowBlock, resetSeatOverrides, resizeShapes, resolveCreationCategory, retractConfidenceEvidence, seatRefId, sectionInventorySelectionSummary, setConfidenceEvidence, setRowBlockSpacing, splitRow, straightenAndSpaceRows, transformSectionBoundary, transformSectionBoundaryObject, ungroupSegmentedRow, updateBooths, updateCategoryDefinitions, updateChartFloorBaseHeight, updateChartTheme, updateChartZones, updateGAAreas, updateRowCubicPath, updateRows, updateSeatOverrides, updateSectionExactPath, updateSectionMetadata, updateSegmentedRow, updateShapes, updateStageKinds, updateTables, updateTextObjects, updateViewFromSeatFallback };