@seatlayer/core 0.67.12 → 0.67.14

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 (79) hide show
  1. package/dist/{categoryInventory-C3RogGHF.d.ts → categoryInventory-B1bjit6B.d.ts} +1 -1
  2. package/dist/{categoryInventory-DEgsjxCC.d.cts → categoryInventory-CAHGQ07K.d.cts} +1 -1
  3. package/dist/chunk-52MZJZMW.js +1 -0
  4. package/dist/chunk-5BGP7S3Q.js +1 -0
  5. package/dist/{chunk-F4GG7KDS.js → chunk-BV6FHURE.js} +1 -1
  6. package/dist/chunk-CRCGO52K.js +1 -0
  7. package/dist/{chunk-5S3OQBZJ.js → chunk-HZT2U5IY.js} +1 -1
  8. package/dist/chunk-I6DNJFRF.js +1 -0
  9. package/dist/chunk-IO2A6P65.js +1 -0
  10. package/dist/chunk-IUQZK7OA.js +1 -0
  11. package/dist/{chunk-VI3IZS2B.js → chunk-OBBSZUYF.js} +1 -1
  12. package/dist/{chunk-V7PECHME.js → chunk-QYZ3P5L6.js} +1 -1
  13. package/dist/{chunk-L35GJOTC.js → chunk-RMNTGICO.js} +1 -1
  14. package/dist/chunk-Y2J55NLS.js +1 -0
  15. package/dist/core/chart-ops/index.cjs +1 -1
  16. package/dist/core/chart-ops/index.d.cts +78 -7
  17. package/dist/core/chart-ops/index.d.ts +78 -7
  18. package/dist/core/chart-ops/index.js +1 -1
  19. package/dist/core/inventory/index.cjs +1 -1
  20. package/dist/core/inventory/index.d.cts +4 -4
  21. package/dist/core/inventory/index.d.ts +4 -4
  22. package/dist/core/inventory/index.js +1 -1
  23. package/dist/core/layout/index.cjs +1 -1
  24. package/dist/core/layout/index.d.cts +4 -4
  25. package/dist/core/layout/index.d.ts +4 -4
  26. package/dist/core/layout/index.js +1 -1
  27. package/dist/core/quality/index.d.cts +3 -3
  28. package/dist/core/quality/index.d.ts +3 -3
  29. package/dist/core/render-assets/index.d.cts +1 -1
  30. package/dist/core/render-assets/index.d.ts +1 -1
  31. package/dist/core/seatConfidence.cjs +1 -1
  32. package/dist/core/seatConfidence.d.cts +5 -3
  33. package/dist/core/seatConfidence.d.ts +5 -3
  34. package/dist/core/seatConfidence.js +1 -1
  35. package/dist/core/sections/index.cjs +1 -1
  36. package/dist/core/sections/index.d.cts +5 -5
  37. package/dist/core/sections/index.d.ts +5 -5
  38. package/dist/core/sections/index.js +1 -1
  39. package/dist/eventConfigurations-D66ZLfYS.d.cts +132 -0
  40. package/dist/eventConfigurations-IWEhHywT.d.ts +132 -0
  41. package/dist/index.cjs +1 -1
  42. package/dist/index.d.cts +32 -11
  43. package/dist/index.d.ts +32 -11
  44. package/dist/index.js +1 -1
  45. package/dist/{labeling-DRFC35VK.d.cts → labeling-BCiv5l6e.d.cts} +1 -1
  46. package/dist/{labeling-DTHo03rf.d.ts → labeling-DO9p-xLj.d.ts} +1 -1
  47. package/dist/{layout-wVlsj-_w.d.cts → layout-BUz3xFCE.d.cts} +7 -3
  48. package/dist/{layout-BSb0-47G.d.ts → layout-DzuyZFRr.d.ts} +7 -3
  49. package/dist/{openPanorama-ALLZ6ADE.js → openPanorama-HGRYMWKC.js} +1 -1
  50. package/dist/{renderedQuality-8i9bYccr.d.cts → renderedQuality-L1g0XZ0i.d.cts} +1 -1
  51. package/dist/{renderedQuality-CbHiqt1W.d.ts → renderedQuality-Xaar1aMI.d.ts} +1 -1
  52. package/dist/{renderer-BxLV6zjl.d.ts → renderer-BQuknAQY.d.ts} +3 -1
  53. package/dist/{renderer-DOVelTZw.d.cts → renderer-DyVuc7SF.d.cts} +3 -1
  54. package/dist/{sections-D2bxgVgg.d.cts → sections-CkMXEJEf.d.cts} +1 -1
  55. package/dist/{sections-BrQV1WzI.d.ts → sections-j5aC-O5u.d.ts} +1 -1
  56. package/dist/{segmentedRowModel-Cl3X8SKt.d.ts → segmentedRowModel-CLLfsLFG.d.ts} +1 -1
  57. package/dist/{segmentedRowModel-BQYSdf7k.d.cts → segmentedRowModel-DhcYIheF.d.cts} +1 -1
  58. package/dist/{ticketRestrictions-D0GRRQ3i.d.cts → ticketRestrictions-AgAcdcYP.d.cts} +2 -2
  59. package/dist/{ticketRestrictions-SteRFSGg.d.ts → ticketRestrictions-BJVsVMnP.d.ts} +2 -2
  60. package/dist/{types-DmgX-iuD.d.cts → types-BKw6Dn_O.d.cts} +49 -3
  61. package/dist/{types-DmgX-iuD.d.ts → types-BKw6Dn_O.d.ts} +49 -3
  62. package/dist/view/panoramaDelivery.cjs +1 -1
  63. package/dist/view/panoramaDelivery.d.cts +5 -0
  64. package/dist/view/panoramaDelivery.d.ts +5 -0
  65. package/dist/view/panoramaDelivery.js +1 -1
  66. package/dist/view3d/crossfade/panorama.cjs +1 -1
  67. package/dist/view3d/crossfade/panorama.d.cts +7 -1
  68. package/dist/view3d/crossfade/panorama.d.ts +7 -1
  69. package/dist/view3d/crossfade/panorama.js +1 -1
  70. package/dist/view3d/index.cjs +52 -33
  71. package/dist/view3d/index.d.cts +39 -2
  72. package/dist/view3d/index.d.ts +39 -2
  73. package/dist/view3d/index.js +50 -31
  74. package/package.json +1 -1
  75. package/dist/chunk-EQM4FFN5.js +0 -1
  76. package/dist/chunk-IJI4WU57.js +0 -1
  77. package/dist/chunk-TTTRXXAA.js +0 -1
  78. package/dist/chunk-XHXBFFWR.js +0 -1
  79. 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, as 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-BKw6Dn_O.cjs';
2
+ import { e as CategoryInventoryObjectType } from '../../categoryInventory-CAHGQ07K.cjs';
3
+ import { R as RelabelOptions } from '../../labeling-BCiv5l6e.cjs';
4
+ export { D as DEFAULT_SECTION_CORNER_SMOOTHING } from '../../labeling-BCiv5l6e.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;
@@ -531,12 +541,20 @@ type SharedThemePatch = {
531
541
  logoUrl?: string | null;
532
542
  brandName?: string | null;
533
543
  hideBadge?: boolean | null;
544
+ venue3d?: {
545
+ seat?: string | null;
546
+ deck?: string | null;
547
+ shell?: string | null;
548
+ fascia?: string | null;
549
+ roughness?: number | null;
550
+ } | null;
534
551
  };
535
552
  /**
536
553
  * Merge chart-wide theme + white-label branding through the same field-level
537
554
  * semantics as the Designer Theme tab. Colors run through the shared six-digit
538
555
  * 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;
556
+ * accepts only a base64 raster data URL or credential-free HTTPS reference.
557
+ * `hideBadge` is stored verbatim;
540
558
  * its paid-tier entitlement is enforced separately at buyer-serve time, exactly
541
559
  * as a Designer toggle is (any organizer may set the stored flag).
542
560
  */
@@ -551,7 +569,7 @@ declare function updateChartTheme(doc: ChartDoc, input: {
551
569
  * two lowest-priority tiers below any seat/row/section photo. `floorId`
552
570
  * undefined targets the venue default (`doc.viewFromSeatUrl`); a floor id sets
553
571
  * that floor's override. `url` null clears the slot. Accepts only https or
554
- * data:image references, exactly like section and seat view photos.
572
+ * base64 raster data URLs, exactly like section and seat view photos.
555
573
  */
556
574
  declare function updateViewFromSeatFallback(doc: ChartDoc, input: {
557
575
  floorId?: string;
@@ -937,6 +955,8 @@ interface SharedSeatOverridePatch {
937
955
  commercial?: SeatOverride['commercial'] | null;
938
956
  viewFromSeatUrl?: string | null;
939
957
  viewFromSeatMeta?: SeatViewMetadata | null;
958
+ /** Seat-scoped modeled evidence. Null clears it. Never an approval record. */
959
+ confidenceEvidence?: SeatConfidenceEvidence | null;
940
960
  /** Merge per-seat label size/color (see LabelStylePatch); null clears it. */
941
961
  labelStyle?: LabelStylePatch | null;
942
962
  /** Designer-only geometry nudges. MCP wrappers deliberately do not expose these. */
@@ -1236,4 +1256,55 @@ declare function insertSeatingBlock(doc: ChartDoc, input: {
1236
1256
  sectionId: string | null;
1237
1257
  };
1238
1258
 
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 };
1259
+ type ConfidenceEvidenceScope = 'seat' | 'row' | 'section' | 'floor' | 'venue';
1260
+ type ConfidenceEvidenceTarget = {
1261
+ scope: ConfidenceEvidenceScope;
1262
+ objectId?: string;
1263
+ floorId?: string;
1264
+ seatIndex?: number;
1265
+ };
1266
+ type ConfidenceEvidenceMutation = {
1267
+ changed: boolean;
1268
+ scope: ConfidenceEvidenceScope;
1269
+ objectId?: string;
1270
+ floorId?: string;
1271
+ seatIndex?: number;
1272
+ evidenceId?: string;
1273
+ status?: SeatConfidenceEvidence['status'];
1274
+ };
1275
+ type ConfidenceEvidenceChange = ConfidenceEvidenceTarget & {
1276
+ operation: 'set' | 'clear' | 'approve' | 'retract';
1277
+ before?: SeatConfidenceEvidence;
1278
+ after?: SeatConfidenceEvidence;
1279
+ };
1280
+ /** Stable scoped lifecycle diff shared by the save authority and D1 audit. */
1281
+ declare function confidenceEvidenceChanges(before: ChartDoc, after: ChartDoc): ConfidenceEvidenceChange[];
1282
+ /**
1283
+ * Raw Designer saves can author drafts, but they must not bypass the dedicated
1284
+ * publish-tier Verified View lifecycle. A publish authority is required for
1285
+ * every promotion to approved and for any edit/removal of evidence that is
1286
+ * already eligible to reach buyers. This includes legacy records whose absent
1287
+ * status intentionally remains buyer-live for backward compatibility.
1288
+ */
1289
+ declare function confidenceEvidenceChangeRequiresPublish(before: ChartDoc, after: ChartDoc): boolean;
1290
+ declare function normalizeDraftEvidence(input: Omit<SeatConfidenceEvidence, 'schema' | 'status'> & {
1291
+ schema?: SeatConfidenceEvidence['schema'];
1292
+ }, now?: Date): SeatConfidenceEvidence;
1293
+ /** Author a draft. Existing approved records return to draft and need re-approval. */
1294
+ declare function setConfidenceEvidence(doc: ChartDoc, input: ConfidenceEvidenceTarget & {
1295
+ evidence: Omit<SeatConfidenceEvidence, 'schema' | 'status'> & {
1296
+ schema?: SeatConfidenceEvidence['schema'];
1297
+ };
1298
+ now?: Date;
1299
+ }): ConfidenceEvidenceMutation;
1300
+ declare function clearConfidenceEvidence(doc: ChartDoc, target: ConfidenceEvidenceTarget): ConfidenceEvidenceMutation;
1301
+ declare function approveConfidenceEvidence(doc: ChartDoc, input: ConfidenceEvidenceTarget & {
1302
+ approvedByRole: string;
1303
+ eventConfigurationId?: string;
1304
+ eventConfigurationVersion?: number;
1305
+ basisSha256?: string;
1306
+ now?: Date;
1307
+ }): ConfidenceEvidenceMutation;
1308
+ declare function retractConfidenceEvidence(doc: ChartDoc, target: ConfidenceEvidenceTarget): ConfidenceEvidenceMutation;
1309
+
1310
+ 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, as 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-BKw6Dn_O.js';
2
+ import { e as CategoryInventoryObjectType } from '../../categoryInventory-B1bjit6B.js';
3
+ import { R as RelabelOptions } from '../../labeling-DO9p-xLj.js';
4
+ export { D as DEFAULT_SECTION_CORNER_SMOOTHING } from '../../labeling-DO9p-xLj.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;
@@ -531,12 +541,20 @@ type SharedThemePatch = {
531
541
  logoUrl?: string | null;
532
542
  brandName?: string | null;
533
543
  hideBadge?: boolean | null;
544
+ venue3d?: {
545
+ seat?: string | null;
546
+ deck?: string | null;
547
+ shell?: string | null;
548
+ fascia?: string | null;
549
+ roughness?: number | null;
550
+ } | null;
534
551
  };
535
552
  /**
536
553
  * Merge chart-wide theme + white-label branding through the same field-level
537
554
  * semantics as the Designer Theme tab. Colors run through the shared six-digit
538
555
  * 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;
556
+ * accepts only a base64 raster data URL or credential-free HTTPS reference.
557
+ * `hideBadge` is stored verbatim;
540
558
  * its paid-tier entitlement is enforced separately at buyer-serve time, exactly
541
559
  * as a Designer toggle is (any organizer may set the stored flag).
542
560
  */
@@ -551,7 +569,7 @@ declare function updateChartTheme(doc: ChartDoc, input: {
551
569
  * two lowest-priority tiers below any seat/row/section photo. `floorId`
552
570
  * undefined targets the venue default (`doc.viewFromSeatUrl`); a floor id sets
553
571
  * that floor's override. `url` null clears the slot. Accepts only https or
554
- * data:image references, exactly like section and seat view photos.
572
+ * base64 raster data URLs, exactly like section and seat view photos.
555
573
  */
556
574
  declare function updateViewFromSeatFallback(doc: ChartDoc, input: {
557
575
  floorId?: string;
@@ -937,6 +955,8 @@ interface SharedSeatOverridePatch {
937
955
  commercial?: SeatOverride['commercial'] | null;
938
956
  viewFromSeatUrl?: string | null;
939
957
  viewFromSeatMeta?: SeatViewMetadata | null;
958
+ /** Seat-scoped modeled evidence. Null clears it. Never an approval record. */
959
+ confidenceEvidence?: SeatConfidenceEvidence | null;
940
960
  /** Merge per-seat label size/color (see LabelStylePatch); null clears it. */
941
961
  labelStyle?: LabelStylePatch | null;
942
962
  /** Designer-only geometry nudges. MCP wrappers deliberately do not expose these. */
@@ -1236,4 +1256,55 @@ declare function insertSeatingBlock(doc: ChartDoc, input: {
1236
1256
  sectionId: string | null;
1237
1257
  };
1238
1258
 
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 };
1259
+ type ConfidenceEvidenceScope = 'seat' | 'row' | 'section' | 'floor' | 'venue';
1260
+ type ConfidenceEvidenceTarget = {
1261
+ scope: ConfidenceEvidenceScope;
1262
+ objectId?: string;
1263
+ floorId?: string;
1264
+ seatIndex?: number;
1265
+ };
1266
+ type ConfidenceEvidenceMutation = {
1267
+ changed: boolean;
1268
+ scope: ConfidenceEvidenceScope;
1269
+ objectId?: string;
1270
+ floorId?: string;
1271
+ seatIndex?: number;
1272
+ evidenceId?: string;
1273
+ status?: SeatConfidenceEvidence['status'];
1274
+ };
1275
+ type ConfidenceEvidenceChange = ConfidenceEvidenceTarget & {
1276
+ operation: 'set' | 'clear' | 'approve' | 'retract';
1277
+ before?: SeatConfidenceEvidence;
1278
+ after?: SeatConfidenceEvidence;
1279
+ };
1280
+ /** Stable scoped lifecycle diff shared by the save authority and D1 audit. */
1281
+ declare function confidenceEvidenceChanges(before: ChartDoc, after: ChartDoc): ConfidenceEvidenceChange[];
1282
+ /**
1283
+ * Raw Designer saves can author drafts, but they must not bypass the dedicated
1284
+ * publish-tier Verified View lifecycle. A publish authority is required for
1285
+ * every promotion to approved and for any edit/removal of evidence that is
1286
+ * already eligible to reach buyers. This includes legacy records whose absent
1287
+ * status intentionally remains buyer-live for backward compatibility.
1288
+ */
1289
+ declare function confidenceEvidenceChangeRequiresPublish(before: ChartDoc, after: ChartDoc): boolean;
1290
+ declare function normalizeDraftEvidence(input: Omit<SeatConfidenceEvidence, 'schema' | 'status'> & {
1291
+ schema?: SeatConfidenceEvidence['schema'];
1292
+ }, now?: Date): SeatConfidenceEvidence;
1293
+ /** Author a draft. Existing approved records return to draft and need re-approval. */
1294
+ declare function setConfidenceEvidence(doc: ChartDoc, input: ConfidenceEvidenceTarget & {
1295
+ evidence: Omit<SeatConfidenceEvidence, 'schema' | 'status'> & {
1296
+ schema?: SeatConfidenceEvidence['schema'];
1297
+ };
1298
+ now?: Date;
1299
+ }): ConfidenceEvidenceMutation;
1300
+ declare function clearConfidenceEvidence(doc: ChartDoc, target: ConfidenceEvidenceTarget): ConfidenceEvidenceMutation;
1301
+ declare function approveConfidenceEvidence(doc: ChartDoc, input: ConfidenceEvidenceTarget & {
1302
+ approvedByRole: string;
1303
+ eventConfigurationId?: string;
1304
+ eventConfigurationVersion?: number;
1305
+ basisSha256?: string;
1306
+ now?: Date;
1307
+ }): ConfidenceEvidenceMutation;
1308
+ declare function retractConfidenceEvidence(doc: ChartDoc, target: ConfidenceEvidenceTarget): ConfidenceEvidenceMutation;
1309
+
1310
+ 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 };