@seatmap-fyi/api-client 0.1.0-alpha.19 → 0.1.0-alpha.28

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.
@@ -146,6 +146,7 @@ export type PhysicalDocumentV1DtoCoordinateSystemYAxis = "down";
146
146
  export type PhysicalDocumentV1DtoCoordinateSystemRotation = "clockwise";
147
147
  export type PhysicalDocumentV1DtoCategoriesItemSeatShape = "circle" | "theatre" | "dining" | "folding" | "armchair" | "recliner" | "stool" | "bench";
148
148
  export type PhysicalDocumentV1DtoCategoriesItemTicketOptionsItemRestriction = "anyone" | "child" | "senior" | "student" | "companion" | "membership" | "custom";
149
+ export type PhysicalDocumentV1DtoSectionsItemElevationTier = "floor" | "raised-one" | "raised-two" | "raised-three";
149
150
  export type PhysicalDocumentV1DtoSectionsItemOutlineRole = "boundary" | "overview";
150
151
  export type PhysicalDocumentV1DtoSectionsItemLabelPlacementAlign = "left" | "center" | "right";
151
152
  export type PhysicalDocumentV1DtoSectionsItemLabelStyleStyle = "plain" | "pill";
@@ -213,6 +214,21 @@ export type PhysicalDocumentV1DtoCategoriesItem = {
213
214
  /** @maxItems 20 */
214
215
  ticketOptions?: PhysicalDocumentV1DtoCategoriesItemTicketOptionsItem[];
215
216
  };
217
+ /**
218
+ * Authored seat-facing point in the chart coordinate system, in metres.
219
+ */
220
+ export type PhysicalDocumentV1DtoFloorsItemFocalPoint = {
221
+ /**
222
+ * @minimum -10000
223
+ * @maximum 10000
224
+ */
225
+ x: number;
226
+ /**
227
+ * @minimum -10000
228
+ * @maximum 10000
229
+ */
230
+ y: number;
231
+ };
216
232
  export type PhysicalDocumentV1DtoFloorsItem = {
217
233
  id: string;
218
234
  /**
@@ -226,6 +242,23 @@ export type PhysicalDocumentV1DtoFloorsItem = {
226
242
  * @maximum 10000
227
243
  */
228
244
  baseHeightM: number;
245
+ /** Authored seat-facing point in the chart coordinate system, in metres. */
246
+ focalPoint?: PhysicalDocumentV1DtoFloorsItemFocalPoint;
247
+ };
248
+ /**
249
+ * Authored seat-facing point in the chart coordinate system, in metres.
250
+ */
251
+ export type PhysicalDocumentV1DtoZonesItemFocalPoint = {
252
+ /**
253
+ * @minimum -10000
254
+ * @maximum 10000
255
+ */
256
+ x: number;
257
+ /**
258
+ * @minimum -10000
259
+ * @maximum 10000
260
+ */
261
+ y: number;
229
262
  };
230
263
  export type PhysicalDocumentV1DtoZonesItem = {
231
264
  id: string;
@@ -236,10 +269,38 @@ export type PhysicalDocumentV1DtoZonesItem = {
236
269
  */
237
270
  name: string;
238
271
  color: string;
272
+ /** Authored seat-facing point in the chart coordinate system, in metres. */
273
+ focalPoint?: PhysicalDocumentV1DtoZonesItemFocalPoint;
274
+ };
275
+ export type PhysicalDocumentV1DtoSectionsItemEntrance = {
276
+ kind: "gate";
277
+ gateId: string;
278
+ /** Single-line label text without control characters or unpaired surrogates. */
279
+ label?: string;
280
+ } | {
281
+ kind: "text";
282
+ /** Single-line label text without control characters or unpaired surrogates. */
283
+ label: string;
239
284
  };
240
285
  export type PhysicalDocumentV1DtoSectionsItemBuyerPhoto = {
241
286
  assetId: string;
242
287
  };
288
+ /**
289
+ * Authored section slope and front-row elevation relative to its floor.
290
+ */
291
+ export type PhysicalDocumentV1DtoSectionsItemElevation = {
292
+ tier?: PhysicalDocumentV1DtoSectionsItemElevationTier;
293
+ /**
294
+ * @minimum 0
295
+ * @maximum 45
296
+ */
297
+ rakeDeg?: number;
298
+ /**
299
+ * @minimum 0
300
+ * @maximum 120
301
+ */
302
+ frontRowHeightM?: number;
303
+ };
243
304
  export type PhysicalDocumentV1DtoSectionsItemOutlineOuterItem = {
244
305
  /**
245
306
  * @minimum -10000
@@ -356,12 +417,10 @@ export type PhysicalDocumentV1DtoSectionsItemLabelStyle = {
356
417
  color?: string;
357
418
  };
358
419
  export type PhysicalDocumentV1DtoSectionsItem = {
420
+ entrance?: PhysicalDocumentV1DtoSectionsItemEntrance;
359
421
  buyerPhoto?: PhysicalDocumentV1DtoSectionsItemBuyerPhoto;
360
422
  id: string;
361
- /**
362
- * Unicode code-point length; control characters and unpaired surrogates are rejected.
363
- * @maxLength 80
364
- */
423
+ /** Single-line label text without control characters or unpaired surrogates. */
365
424
  label: string;
366
425
  /**
367
426
  * Physical floor identity when the map defines levels.
@@ -371,6 +430,8 @@ export type PhysicalDocumentV1DtoSectionsItem = {
371
430
  * Optional chart-wide zone membership.
372
431
  */
373
432
  zoneId?: string;
433
+ /** Authored section slope and front-row elevation relative to its floor. */
434
+ elevation?: PhysicalDocumentV1DtoSectionsItemElevation;
374
435
  /**
375
436
  * @nullable
376
437
  */
@@ -382,6 +443,24 @@ export type PhysicalDocumentV1DtoSectionsItem = {
382
443
  displayLabel?: string;
383
444
  outline?: PhysicalDocumentV1DtoSectionsItemOutline;
384
445
  outlineRole?: PhysicalDocumentV1DtoSectionsItemOutlineRole;
446
+ /**
447
+ * @minimum -180
448
+ * @maximum 180
449
+ */
450
+ rotationDeg?: number;
451
+ /**
452
+ * @minimum 50
453
+ * @maximum 160
454
+ */
455
+ scalePercent?: number;
456
+ /** @exclusiveMinimum 0 */
457
+ outlineGrowthFactor?: number;
458
+ /**
459
+ * Last accepted row refit strength in percent.
460
+ * @minimum 0
461
+ * @maximum 100
462
+ */
463
+ rowRefitStrength?: number;
385
464
  style?: PhysicalDocumentV1DtoSectionsItemStyle;
386
465
  labelPlacement?: PhysicalDocumentV1DtoSectionsItemLabelPlacement;
387
466
  labelStyle: PhysicalDocumentV1DtoSectionsItemLabelStyle;
@@ -432,6 +511,16 @@ export type PhysicalDocumentV1DtoCollectionsItem = {
432
511
  name: string;
433
512
  };
434
513
  export type PhysicalDocumentV1DtoSeatingGroupsItem = {
514
+ entrance?: {
515
+ kind: "gate";
516
+ gateId: string;
517
+ /** Single-line label text without control characters or unpaired surrogates. */
518
+ label?: string;
519
+ } | {
520
+ kind: "text";
521
+ /** Single-line label text without control characters or unpaired surrogates. */
522
+ label: string;
523
+ };
435
524
  /**
436
525
  * Physical floor identity when the map defines levels.
437
526
  */
@@ -573,6 +662,75 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
573
662
  */
574
663
  rowPitchM: number;
575
664
  rowAlignment?: "start" | "center" | "end";
665
+ stagger?: "first" | "second";
666
+ };
667
+ arcFan?: {
668
+ recipe: {
669
+ /**
670
+ * @minimum 1
671
+ * @maximum 100
672
+ */
673
+ rowCount: number;
674
+ /**
675
+ * @minimum 0.001
676
+ * @maximum 10000
677
+ */
678
+ innerRadiusM: number;
679
+ /**
680
+ * @minimum 0.001
681
+ * @maximum 10000
682
+ */
683
+ rowPitchM: number;
684
+ /**
685
+ * @minimum 0.001
686
+ * @maximum 10000
687
+ */
688
+ seatPitchM: number;
689
+ startAngleDeg: number;
690
+ endAngleDeg: number;
691
+ taperDeg: number;
692
+ skewDeg: number;
693
+ fit: "spacing" | "sameCount";
694
+ facing: "inward" | "outward";
695
+ /**
696
+ * @minimum 2
697
+ * @maximum 100000
698
+ */
699
+ seatsPerRow?: number;
700
+ aisles: {
701
+ /**
702
+ * @minimum 0
703
+ * @maximum 10000
704
+ */
705
+ left: number;
706
+ /**
707
+ * @minimum 0
708
+ * @maximum 10000
709
+ */
710
+ center: number;
711
+ /**
712
+ * @minimum 0
713
+ * @maximum 10000
714
+ */
715
+ right: number;
716
+ };
717
+ };
718
+ /**
719
+ * @nullable
720
+ */
721
+ sectionId: string | null;
722
+ sectionOrigin: "generated" | "existing";
723
+ /**
724
+ * @minItems 1
725
+ * @maxItems 400
726
+ */
727
+ members: {
728
+ rowId: string;
729
+ /** Single-line label text without control characters or unpaired surrogates. */
730
+ bookingLabel: string;
731
+ /** Single-line label text without control characters or unpaired surrogates. */
732
+ labelOverride?: string;
733
+ }[];
576
734
  };
577
735
  labels: {
578
736
  rows: {
@@ -647,6 +805,29 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
647
805
  * @maxItems 100000
648
806
  */
649
807
  rows: {
808
+ entrance?: {
809
+ kind: "gate";
810
+ gateId: string;
811
+ /** Single-line label text without control characters or unpaired surrogates. */
812
+ label?: string;
813
+ } | {
814
+ kind: "text";
815
+ /** Single-line label text without control characters or unpaired surrogates. */
816
+ label: string;
817
+ };
818
+ fillOrigin?: {
819
+ sectionId: string;
820
+ /**
821
+ * @minimum 0
822
+ * @maximum 99999
823
+ */
824
+ rowIndex: number;
825
+ /**
826
+ * @minimum 0
827
+ * @maximum 99999
828
+ */
829
+ partIndex: number;
830
+ };
650
831
  /**
651
832
  * @minimum -2147483648
652
833
  * @maximum 2147483647
@@ -655,7 +836,7 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
655
836
  buyerPhoto?: {
656
837
  assetId: string;
657
838
  };
658
- /** Row label text without control characters or unpaired surrogates. */
839
+ /** Single-line label text without control characters or unpaired surrogates. */
659
840
  bookingLabel?: string;
660
841
  /**
661
842
  * Unicode code-point length; control characters and unpaired surrogates are rejected.
@@ -688,7 +869,7 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
688
869
  * @nullable
689
870
  */
690
871
  categoryId?: string | null;
691
- /** Row label text without control characters or unpaired surrogates. */
872
+ /** Single-line label text without control characters or unpaired surrogates. */
692
873
  labelOverride?: string;
693
874
  offsetM?: {
694
875
  /**
@@ -745,10 +926,6 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
745
926
  * @maximum 10000
746
927
  */
747
928
  seatPitchM: number;
748
- /**
749
- * @minimum -360
750
- * @maximum 360
751
- */
752
929
  curveDeg: number;
753
930
  /**
754
931
  * @minimum -180
@@ -797,10 +974,7 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
797
974
  * @nullable
798
975
  */
799
976
  categoryId?: string | null;
800
- /**
801
- * Unicode code-point length; control characters and unpaired surrogates are rejected.
802
- * @maxLength 80
803
- */
977
+ /** Single-line label text without control characters or unpaired surrogates. */
804
978
  labelOverride?: string;
805
979
  attributes?: {
806
980
  wheelchair?: "seat" | "space";
@@ -845,6 +1019,16 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
845
1019
  }[];
846
1020
  }[];
847
1021
  } | {
1022
+ entrance?: {
1023
+ kind: "gate";
1024
+ gateId: string;
1025
+ /** Single-line label text without control characters or unpaired surrogates. */
1026
+ label?: string;
1027
+ } | {
1028
+ kind: "text";
1029
+ /** Single-line label text without control characters or unpaired surrogates. */
1030
+ label: string;
1031
+ };
848
1032
  /**
849
1033
  * Physical floor identity when the map defines levels.
850
1034
  */
@@ -1016,6 +1200,74 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
1016
1200
  seatPitchM: number;
1017
1201
  };
1018
1202
  };
1203
+ arcFan?: {
1204
+ recipe: {
1205
+ /**
1206
+ * @minimum 1
1207
+ * @maximum 100
1208
+ */
1209
+ rowCount: number;
1210
+ /**
1211
+ * @minimum 0.001
1212
+ * @maximum 10000
1213
+ */
1214
+ innerRadiusM: number;
1215
+ /**
1216
+ * @minimum 0.001
1217
+ * @maximum 10000
1218
+ */
1219
+ rowPitchM: number;
1220
+ /**
1221
+ * @minimum 0.001
1222
+ * @maximum 10000
1223
+ */
1224
+ seatPitchM: number;
1225
+ startAngleDeg: number;
1226
+ endAngleDeg: number;
1227
+ taperDeg: number;
1228
+ skewDeg: number;
1229
+ fit: "spacing" | "sameCount";
1230
+ facing: "inward" | "outward";
1231
+ /**
1232
+ * @minimum 2
1233
+ * @maximum 100000
1234
+ */
1235
+ seatsPerRow?: number;
1236
+ aisles: {
1237
+ /**
1238
+ * @minimum 0
1239
+ * @maximum 10000
1240
+ */
1241
+ left: number;
1242
+ /**
1243
+ * @minimum 0
1244
+ * @maximum 10000
1245
+ */
1246
+ center: number;
1247
+ /**
1248
+ * @minimum 0
1249
+ * @maximum 10000
1250
+ */
1251
+ right: number;
1252
+ };
1253
+ };
1254
+ /**
1255
+ * @nullable
1256
+ */
1257
+ sectionId: string | null;
1258
+ sectionOrigin: "generated" | "existing";
1259
+ /**
1260
+ * @minItems 1
1261
+ * @maxItems 400
1262
+ */
1263
+ members: {
1264
+ rowId: string;
1265
+ /** Single-line label text without control characters or unpaired surrogates. */
1266
+ bookingLabel: string;
1267
+ /** Single-line label text without control characters or unpaired surrogates. */
1268
+ labelOverride?: string;
1269
+ }[];
1270
+ };
1019
1271
  labels: {
1020
1272
  rows: {
1021
1273
  scheme: "numeric" | "odd" | "even" | "alphabetic" | "lowerAlphabetic" | "roman" | "outsideIn" | "insideOut";
@@ -1089,6 +1341,29 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
1089
1341
  * @maxItems 100000
1090
1342
  */
1091
1343
  rows: {
1344
+ entrance?: {
1345
+ kind: "gate";
1346
+ gateId: string;
1347
+ /** Single-line label text without control characters or unpaired surrogates. */
1348
+ label?: string;
1349
+ } | {
1350
+ kind: "text";
1351
+ /** Single-line label text without control characters or unpaired surrogates. */
1352
+ label: string;
1353
+ };
1354
+ fillOrigin?: {
1355
+ sectionId: string;
1356
+ /**
1357
+ * @minimum 0
1358
+ * @maximum 99999
1359
+ */
1360
+ rowIndex: number;
1361
+ /**
1362
+ * @minimum 0
1363
+ * @maximum 99999
1364
+ */
1365
+ partIndex: number;
1366
+ };
1092
1367
  /**
1093
1368
  * @minimum -2147483648
1094
1369
  * @maximum 2147483647
@@ -1097,7 +1372,7 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
1097
1372
  buyerPhoto?: {
1098
1373
  assetId: string;
1099
1374
  };
1100
- /** Row label text without control characters or unpaired surrogates. */
1375
+ /** Single-line label text without control characters or unpaired surrogates. */
1101
1376
  bookingLabel?: string;
1102
1377
  /**
1103
1378
  * Unicode code-point length; control characters and unpaired surrogates are rejected.
@@ -1130,7 +1405,7 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
1130
1405
  * @nullable
1131
1406
  */
1132
1407
  categoryId?: string | null;
1133
- /** Row label text without control characters or unpaired surrogates. */
1408
+ /** Single-line label text without control characters or unpaired surrogates. */
1134
1409
  labelOverride?: string;
1135
1410
  offsetM?: {
1136
1411
  /**
@@ -1187,10 +1462,6 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
1187
1462
  * @maximum 10000
1188
1463
  */
1189
1464
  seatPitchM: number;
1190
- /**
1191
- * @minimum -360
1192
- * @maximum 360
1193
- */
1194
1465
  curveDeg: number;
1195
1466
  /**
1196
1467
  * @minimum -180
@@ -1239,10 +1510,7 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
1239
1510
  * @nullable
1240
1511
  */
1241
1512
  categoryId?: string | null;
1242
- /**
1243
- * Unicode code-point length; control characters and unpaired surrogates are rejected.
1244
- * @maxLength 80
1245
- */
1513
+ /** Single-line label text without control characters or unpaired surrogates. */
1246
1514
  labelOverride?: string;
1247
1515
  attributes?: {
1248
1516
  wheelchair?: "seat" | "space";
@@ -1287,6 +1555,16 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
1287
1555
  }[];
1288
1556
  }[];
1289
1557
  } | {
1558
+ entrance?: {
1559
+ kind: "gate";
1560
+ gateId: string;
1561
+ /** Single-line label text without control characters or unpaired surrogates. */
1562
+ label?: string;
1563
+ } | {
1564
+ kind: "text";
1565
+ /** Single-line label text without control characters or unpaired surrogates. */
1566
+ label: string;
1567
+ };
1290
1568
  /**
1291
1569
  * Physical floor identity when the map defines levels.
1292
1570
  */
@@ -1562,10 +1840,7 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
1562
1840
  * @nullable
1563
1841
  */
1564
1842
  categoryId?: string | null;
1565
- /**
1566
- * Unicode code-point length; control characters and unpaired surrogates are rejected.
1567
- * @maxLength 80
1568
- */
1843
+ /** Single-line label text without control characters or unpaired surrogates. */
1569
1844
  labelOverride?: string;
1570
1845
  attributes?: {
1571
1846
  wheelchair?: "seat" | "space";
@@ -1640,10 +1915,7 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
1640
1915
  * @nullable
1641
1916
  */
1642
1917
  categoryId?: string | null;
1643
- /**
1644
- * Unicode code-point length; control characters and unpaired surrogates are rejected.
1645
- * @maxLength 80
1646
- */
1918
+ /** Single-line label text without control characters or unpaired surrogates. */
1647
1919
  labelOverride?: string;
1648
1920
  attributes?: {
1649
1921
  wheelchair?: "seat" | "space";
@@ -1718,10 +1990,7 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
1718
1990
  * @nullable
1719
1991
  */
1720
1992
  categoryId?: string | null;
1721
- /**
1722
- * Unicode code-point length; control characters and unpaired surrogates are rejected.
1723
- * @maxLength 80
1724
- */
1993
+ /** Single-line label text without control characters or unpaired surrogates. */
1725
1994
  labelOverride?: string;
1726
1995
  attributes?: {
1727
1996
  wheelchair?: "seat" | "space";
@@ -1796,10 +2065,7 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
1796
2065
  * @nullable
1797
2066
  */
1798
2067
  categoryId?: string | null;
1799
- /**
1800
- * Unicode code-point length; control characters and unpaired surrogates are rejected.
1801
- * @maxLength 80
1802
- */
2068
+ /** Single-line label text without control characters or unpaired surrogates. */
1803
2069
  labelOverride?: string;
1804
2070
  attributes?: {
1805
2071
  wheelchair?: "seat" | "space";
@@ -1844,6 +2110,16 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
1844
2110
  }[];
1845
2111
  };
1846
2112
  } | {
2113
+ entrance?: {
2114
+ kind: "gate";
2115
+ gateId: string;
2116
+ /** Single-line label text without control characters or unpaired surrogates. */
2117
+ label?: string;
2118
+ } | {
2119
+ kind: "text";
2120
+ /** Single-line label text without control characters or unpaired surrogates. */
2121
+ label: string;
2122
+ };
1847
2123
  /**
1848
2124
  * Physical floor identity when the map defines levels.
1849
2125
  */
@@ -2129,10 +2405,7 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
2129
2405
  * @nullable
2130
2406
  */
2131
2407
  categoryId?: string | null;
2132
- /**
2133
- * Unicode code-point length; control characters and unpaired surrogates are rejected.
2134
- * @maxLength 80
2135
- */
2408
+ /** Single-line label text without control characters or unpaired surrogates. */
2136
2409
  labelOverride?: string;
2137
2410
  attributes?: {
2138
2411
  wheelchair?: "seat" | "space";
@@ -2205,13 +2478,13 @@ export type PhysicalDocumentV1DtoSegmentedRowsItemPartsItem = {
2205
2478
  rowId: string;
2206
2479
  /** @nullable */
2207
2480
  joinBefore: PhysicalDocumentV1DtoSegmentedRowsItemPartsItemJoinBefore | null;
2208
- /** Row label text without control characters or unpaired surrogates. */
2481
+ /** Single-line label text without control characters or unpaired surrogates. */
2209
2482
  labelOverride?: string;
2210
2483
  };
2211
2484
  export type PhysicalDocumentV1DtoSegmentedRowsItem = {
2212
2485
  id: string;
2213
2486
  /**
2214
- * Row label text without control characters or unpaired surrogates.
2487
+ * Single-line label text without control characters or unpaired surrogates.
2215
2488
  * @minLength 1
2216
2489
  */
2217
2490
  label: string;
@@ -2225,6 +2498,16 @@ export type PhysicalDocumentV1DtoSegmentedRowsItem = {
2225
2498
  parts: PhysicalDocumentV1DtoSegmentedRowsItemPartsItem[];
2226
2499
  };
2227
2500
  export type PhysicalDocumentV1DtoAreasItem = {
2501
+ entrance?: {
2502
+ kind: "gate";
2503
+ gateId: string;
2504
+ /** Single-line label text without control characters or unpaired surrogates. */
2505
+ label?: string;
2506
+ } | {
2507
+ kind: "text";
2508
+ /** Single-line label text without control characters or unpaired surrogates. */
2509
+ label: string;
2510
+ };
2228
2511
  /**
2229
2512
  * Physical floor identity when the map defines levels.
2230
2513
  */
@@ -2397,6 +2680,16 @@ export type PhysicalDocumentV1DtoAreasItem = {
2397
2680
  maxGuests: number;
2398
2681
  };
2399
2682
  } | {
2683
+ entrance?: {
2684
+ kind: "gate";
2685
+ gateId: string;
2686
+ /** Single-line label text without control characters or unpaired surrogates. */
2687
+ label?: string;
2688
+ } | {
2689
+ kind: "text";
2690
+ /** Single-line label text without control characters or unpaired surrogates. */
2691
+ label: string;
2692
+ };
2400
2693
  /**
2401
2694
  * Physical floor identity when the map defines levels.
2402
2695
  */
@@ -2580,6 +2873,13 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
2580
2873
  * @maximum 2147483647
2581
2874
  */
2582
2875
  zIndex: number;
2876
+ /** Single-line label text without control characters or unpaired surrogates. */
2877
+ label?: string;
2878
+ /**
2879
+ * @minimum 0
2880
+ * @maximum 10000
2881
+ */
2882
+ heightM?: number;
2583
2883
  style?: {
2584
2884
  fill?: {
2585
2885
  color: string;
@@ -2651,6 +2951,13 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
2651
2951
  * @maximum 2147483647
2652
2952
  */
2653
2953
  zIndex: number;
2954
+ /** Single-line label text without control characters or unpaired surrogates. */
2955
+ label?: string;
2956
+ /**
2957
+ * @minimum 0
2958
+ * @maximum 10000
2959
+ */
2960
+ heightM?: number;
2654
2961
  style?: {
2655
2962
  fill?: {
2656
2963
  color: string;
@@ -2675,6 +2982,16 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
2675
2982
  strokeWidthM?: number;
2676
2983
  };
2677
2984
  kind: "rectangle";
2985
+ gate?: {
2986
+ use: "in" | "out" | "both";
2987
+ stepFree?: boolean;
2988
+ /**
2989
+ * Unicode code-point length; control characters and unpaired surrogates are rejected.
2990
+ * @maxLength 120
2991
+ */
2992
+ opens?: string;
2993
+ showToBuyers?: boolean;
2994
+ };
2678
2995
  sizeM: {
2679
2996
  /**
2680
2997
  * @minimum 0.001
@@ -2728,6 +3045,13 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
2728
3045
  * @maximum 2147483647
2729
3046
  */
2730
3047
  zIndex: number;
3048
+ /** Single-line label text without control characters or unpaired surrogates. */
3049
+ label?: string;
3050
+ /**
3051
+ * @minimum 0
3052
+ * @maximum 10000
3053
+ */
3054
+ heightM?: number;
2731
3055
  style?: {
2732
3056
  fill?: {
2733
3057
  color: string;
@@ -2793,6 +3117,13 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
2793
3117
  * @maximum 2147483647
2794
3118
  */
2795
3119
  zIndex: number;
3120
+ /** Single-line label text without control characters or unpaired surrogates. */
3121
+ label?: string;
3122
+ /**
3123
+ * @minimum 0
3124
+ * @maximum 10000
3125
+ */
3126
+ heightM?: number;
2796
3127
  style?: {
2797
3128
  fill?: {
2798
3129
  color: string;
@@ -2817,6 +3148,13 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
2817
3148
  strokeWidthM?: number;
2818
3149
  };
2819
3150
  kind: "line";
3151
+ route?: {
3152
+ stepFree: boolean;
3153
+ };
3154
+ lineCap?: "butt" | "round" | "square";
3155
+ lineJoin?: "miter" | "round" | "bevel";
3156
+ startEnding?: "none" | "arrow";
3157
+ endEnding?: "none" | "arrow";
2820
3158
  /**
2821
3159
  * @minItems 2
2822
3160
  * @maxItems 10000
@@ -2869,6 +3207,13 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
2869
3207
  * @maximum 2147483647
2870
3208
  */
2871
3209
  zIndex: number;
3210
+ /** Single-line label text without control characters or unpaired surrogates. */
3211
+ label?: string;
3212
+ /**
3213
+ * @minimum 0
3214
+ * @maximum 10000
3215
+ */
3216
+ heightM?: number;
2872
3217
  style?: {
2873
3218
  fill?: {
2874
3219
  color: string;
@@ -2893,6 +3238,16 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
2893
3238
  strokeWidthM?: number;
2894
3239
  };
2895
3240
  kind: "polygon";
3241
+ gate?: {
3242
+ use: "in" | "out" | "both";
3243
+ stepFree?: boolean;
3244
+ /**
3245
+ * Unicode code-point length; control characters and unpaired surrogates are rejected.
3246
+ * @maxLength 120
3247
+ */
3248
+ opens?: string;
3249
+ showToBuyers?: boolean;
3250
+ };
2896
3251
  boundary: {
2897
3252
  /**
2898
3253
  * Implicitly closed ring; the last vertex must not repeat the first.
@@ -2981,6 +3336,13 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
2981
3336
  * @maximum 2147483647
2982
3337
  */
2983
3338
  zIndex: number;
3339
+ /** Single-line label text without control characters or unpaired surrogates. */
3340
+ label?: string;
3341
+ /**
3342
+ * @minimum 0
3343
+ * @maximum 10000
3344
+ */
3345
+ heightM?: number;
2984
3346
  style?: {
2985
3347
  fill?: {
2986
3348
  color: string;
@@ -3054,6 +3416,13 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
3054
3416
  * @maximum 2147483647
3055
3417
  */
3056
3418
  zIndex: number;
3419
+ /** Single-line label text without control characters or unpaired surrogates. */
3420
+ label?: string;
3421
+ /**
3422
+ * @minimum 0
3423
+ * @maximum 10000
3424
+ */
3425
+ heightM?: number;
3057
3426
  style?: {
3058
3427
  fill?: {
3059
3428
  color: string;
@@ -3232,6 +3601,134 @@ export interface MapResponseDto {
3232
3601
  updatedAt: string;
3233
3602
  issues: MapIssueDto[];
3234
3603
  }
3604
+ export type SectionLayoutSaveDto = {
3605
+ kind: "apply";
3606
+ input: {
3607
+ sectionId: string;
3608
+ follow: "floor" | "outline";
3609
+ /**
3610
+ * @minimum 0
3611
+ * @maximum 100
3612
+ */
3613
+ strength: number;
3614
+ } | {
3615
+ sectionId: string;
3616
+ /**
3617
+ * @minimum -180
3618
+ * @maximum 180
3619
+ */
3620
+ rotationDeg: number;
3621
+ } | {
3622
+ sectionId: string;
3623
+ /**
3624
+ * @minimum 50
3625
+ * @maximum 160
3626
+ */
3627
+ scalePercent: number;
3628
+ } | {
3629
+ sectionId: string;
3630
+ fill: {
3631
+ /**
3632
+ * @minimum 1
3633
+ * @maximum 10000
3634
+ */
3635
+ targetSeats: number;
3636
+ /**
3637
+ * @minimum 1
3638
+ * @maximum 100
3639
+ */
3640
+ rowCount?: number;
3641
+ direction: "straight" | "focal";
3642
+ numbering: "snake" | "leftToRight" | "rightToLeft";
3643
+ /**
3644
+ * @minimum 0.25
3645
+ * @maximum 1.2
3646
+ */
3647
+ seatPitchM: number;
3648
+ /**
3649
+ * @minimum 0.3
3650
+ * @maximum 1.5
3651
+ */
3652
+ rowPitchM: number;
3653
+ };
3654
+ } | {
3655
+ /**
3656
+ * @minItems 1
3657
+ * @items.pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
3658
+ */
3659
+ inventory: string[];
3660
+ /**
3661
+ * @nullable
3662
+ */
3663
+ createdInSection: string | null;
3664
+ };
3665
+ } | {
3666
+ kind: "undo";
3667
+ input: {
3668
+ sectionId: string;
3669
+ follow: "floor" | "outline";
3670
+ /**
3671
+ * @minimum 0
3672
+ * @maximum 100
3673
+ */
3674
+ strength: number;
3675
+ } | {
3676
+ sectionId: string;
3677
+ /**
3678
+ * @minimum -180
3679
+ * @maximum 180
3680
+ */
3681
+ rotationDeg: number;
3682
+ } | {
3683
+ sectionId: string;
3684
+ /**
3685
+ * @minimum 50
3686
+ * @maximum 160
3687
+ */
3688
+ scalePercent: number;
3689
+ } | {
3690
+ sectionId: string;
3691
+ fill: {
3692
+ /**
3693
+ * @minimum 1
3694
+ * @maximum 10000
3695
+ */
3696
+ targetSeats: number;
3697
+ /**
3698
+ * @minimum 1
3699
+ * @maximum 100
3700
+ */
3701
+ rowCount?: number;
3702
+ direction: "straight" | "focal";
3703
+ numbering: "snake" | "leftToRight" | "rightToLeft";
3704
+ /**
3705
+ * @minimum 0.25
3706
+ * @maximum 1.2
3707
+ */
3708
+ seatPitchM: number;
3709
+ /**
3710
+ * @minimum 0.3
3711
+ * @maximum 1.5
3712
+ */
3713
+ rowPitchM: number;
3714
+ };
3715
+ } | {
3716
+ /**
3717
+ * @minItems 1
3718
+ * @items.pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
3719
+ */
3720
+ inventory: string[];
3721
+ /**
3722
+ * @nullable
3723
+ */
3724
+ createdInSection: string | null;
3725
+ };
3726
+ /**
3727
+ * @maximum 9007199254740991
3728
+ * @exclusiveMinimum 0
3729
+ */
3730
+ beforeRevision: number;
3731
+ };
3235
3732
  export type _Schema0 = string | number | boolean | null | (_Schema0 | null)[] | {
3236
3733
  [key: string]: _Schema0 | null;
3237
3734
  };
@@ -3246,6 +3743,7 @@ export type SaveMapDto = {
3246
3743
  * @exclusiveMinimum 0
3247
3744
  */
3248
3745
  expectedRevision: number;
3746
+ sectionLayout?: SectionLayoutSaveDto;
3249
3747
  /** Physical v1 and optional dated reference presentation. Runtime validation additionally enforces unique identities, structural references, capacity and cross-field geometry rules; readable semantic issues remain repairable. */
3250
3748
  content: {
3251
3749
  editorState?: MapEditorStateDto;
@@ -3260,6 +3758,7 @@ export type SaveMapDto = {
3260
3758
  * @exclusiveMinimum 0
3261
3759
  */
3262
3760
  expectedRevision: number;
3761
+ sectionLayout?: SectionLayoutSaveDto;
3263
3762
  /** @maxItems 10000 */
3264
3763
  changes: ({
3265
3764
  op: "add";
package/dist/transport.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { mergeConfig } from "axios";
2
- const clientContract = "11";
2
+ const clientContract = "20";
3
3
  const requestCompressionThreshold = 64 * 1024;
4
4
  /**
5
5
  * @method prepareRequestOptions
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seatmap-fyi/api-client",
3
- "version": "0.1.0-alpha.19",
3
+ "version": "0.1.0-alpha.28",
4
4
  "license": "UNLICENSED",
5
5
  "type": "module",
6
6
  "sideEffects": false,