@seatmap-fyi/api-client 0.1.0-alpha.11 → 0.1.0-alpha.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated.d.ts +316 -33
- package/dist/generated.js +7 -21
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/transport.js +2 -3
- package/package.json +1 -1
package/dist/generated.d.ts
CHANGED
|
@@ -157,6 +157,9 @@ export type PhysicalDocumentV1DtoSegmentedRowsItemSequenceNumberFrom = "first" |
|
|
|
157
157
|
*/
|
|
158
158
|
export type PhysicalDocumentV1DtoSegmentedRowsItemPartsItemJoinBefore = "aisle" | "continuous";
|
|
159
159
|
export type PhysicalDocumentV1DtoAssetsItemMimeType = "image/png" | "image/jpeg" | "image/webp" | "image/svg+xml";
|
|
160
|
+
export type PhysicalDocumentV1DtoBuyerPhoto = {
|
|
161
|
+
assetId: string;
|
|
162
|
+
};
|
|
160
163
|
export type PhysicalDocumentV1DtoCoordinateSystem = {
|
|
161
164
|
unit: PhysicalDocumentV1DtoCoordinateSystemUnit;
|
|
162
165
|
xAxis: PhysicalDocumentV1DtoCoordinateSystemXAxis;
|
|
@@ -210,6 +213,33 @@ export type PhysicalDocumentV1DtoCategoriesItem = {
|
|
|
210
213
|
/** @maxItems 20 */
|
|
211
214
|
ticketOptions?: PhysicalDocumentV1DtoCategoriesItemTicketOptionsItem[];
|
|
212
215
|
};
|
|
216
|
+
export type PhysicalDocumentV1DtoFloorsItem = {
|
|
217
|
+
id: string;
|
|
218
|
+
/**
|
|
219
|
+
* Nonempty, trimmed name; at most 120 Unicode code points. Control characters and unpaired surrogates are rejected.
|
|
220
|
+
* @minLength 1
|
|
221
|
+
* @maxLength 120
|
|
222
|
+
*/
|
|
223
|
+
name: string;
|
|
224
|
+
/**
|
|
225
|
+
* @minimum -10000
|
|
226
|
+
* @maximum 10000
|
|
227
|
+
*/
|
|
228
|
+
baseHeightM: number;
|
|
229
|
+
};
|
|
230
|
+
export type PhysicalDocumentV1DtoZonesItem = {
|
|
231
|
+
id: string;
|
|
232
|
+
/**
|
|
233
|
+
* Nonempty, trimmed name; at most 120 Unicode code points. Control characters and unpaired surrogates are rejected.
|
|
234
|
+
* @minLength 1
|
|
235
|
+
* @maxLength 120
|
|
236
|
+
*/
|
|
237
|
+
name: string;
|
|
238
|
+
color: string;
|
|
239
|
+
};
|
|
240
|
+
export type PhysicalDocumentV1DtoSectionsItemBuyerPhoto = {
|
|
241
|
+
assetId: string;
|
|
242
|
+
};
|
|
213
243
|
export type PhysicalDocumentV1DtoSectionsItemOutlineOuterItem = {
|
|
214
244
|
/**
|
|
215
245
|
* @minimum -10000
|
|
@@ -247,6 +277,22 @@ export type PhysicalDocumentV1DtoSectionsItemOutline = {
|
|
|
247
277
|
* @items.maxItems 10000
|
|
248
278
|
*/
|
|
249
279
|
holes: PhysicalDocumentV1DtoSectionsItemOutlineHolesItemItem[][];
|
|
280
|
+
/**
|
|
281
|
+
* @maxItems 10000
|
|
282
|
+
* @items.minimum -100
|
|
283
|
+
* @items.maximum 100
|
|
284
|
+
*/
|
|
285
|
+
edgeCurvature?: number[];
|
|
286
|
+
/**
|
|
287
|
+
* @minimum 0
|
|
288
|
+
* @maximum 100
|
|
289
|
+
*/
|
|
290
|
+
cornerRounding?: number;
|
|
291
|
+
/**
|
|
292
|
+
* @minimum 0
|
|
293
|
+
* @maximum 2.75
|
|
294
|
+
*/
|
|
295
|
+
cornerRadiusM?: number;
|
|
250
296
|
};
|
|
251
297
|
export type PhysicalDocumentV1DtoSectionsItemStyleFill = {
|
|
252
298
|
color: string;
|
|
@@ -310,12 +356,21 @@ export type PhysicalDocumentV1DtoSectionsItemLabelStyle = {
|
|
|
310
356
|
color?: string;
|
|
311
357
|
};
|
|
312
358
|
export type PhysicalDocumentV1DtoSectionsItem = {
|
|
359
|
+
buyerPhoto?: PhysicalDocumentV1DtoSectionsItemBuyerPhoto;
|
|
313
360
|
id: string;
|
|
314
361
|
/**
|
|
315
362
|
* Unicode code-point length; control characters and unpaired surrogates are rejected.
|
|
316
363
|
* @maxLength 80
|
|
317
364
|
*/
|
|
318
365
|
label: string;
|
|
366
|
+
/**
|
|
367
|
+
* Physical floor identity when the map defines levels.
|
|
368
|
+
*/
|
|
369
|
+
floorId?: string;
|
|
370
|
+
/**
|
|
371
|
+
* Optional chart-wide zone membership.
|
|
372
|
+
*/
|
|
373
|
+
zoneId?: string;
|
|
319
374
|
/**
|
|
320
375
|
* @nullable
|
|
321
376
|
*/
|
|
@@ -354,6 +409,10 @@ export type PhysicalDocumentV1DtoCollectionsItemTransform = {
|
|
|
354
409
|
flipY?: boolean;
|
|
355
410
|
};
|
|
356
411
|
export type PhysicalDocumentV1DtoCollectionsItem = {
|
|
412
|
+
/**
|
|
413
|
+
* Physical floor identity when the map defines levels.
|
|
414
|
+
*/
|
|
415
|
+
floorId?: string;
|
|
357
416
|
id: string;
|
|
358
417
|
/**
|
|
359
418
|
* @nullable
|
|
@@ -373,6 +432,10 @@ export type PhysicalDocumentV1DtoCollectionsItem = {
|
|
|
373
432
|
name: string;
|
|
374
433
|
};
|
|
375
434
|
export type PhysicalDocumentV1DtoSeatingGroupsItem = {
|
|
435
|
+
/**
|
|
436
|
+
* Physical floor identity when the map defines levels.
|
|
437
|
+
*/
|
|
438
|
+
floorId?: string;
|
|
376
439
|
id: string;
|
|
377
440
|
/**
|
|
378
441
|
* @nullable
|
|
@@ -465,6 +528,22 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
|
|
|
465
528
|
*/
|
|
466
529
|
y: number;
|
|
467
530
|
}[][];
|
|
531
|
+
/**
|
|
532
|
+
* @maxItems 10000
|
|
533
|
+
* @items.minimum -100
|
|
534
|
+
* @items.maximum 100
|
|
535
|
+
*/
|
|
536
|
+
edgeCurvature?: number[];
|
|
537
|
+
/**
|
|
538
|
+
* @minimum 0
|
|
539
|
+
* @maximum 100
|
|
540
|
+
*/
|
|
541
|
+
cornerRounding?: number;
|
|
542
|
+
/**
|
|
543
|
+
* @minimum 0
|
|
544
|
+
* @maximum 2.75
|
|
545
|
+
*/
|
|
546
|
+
cornerRadiusM?: number;
|
|
468
547
|
};
|
|
469
548
|
seatLabelStyle: {
|
|
470
549
|
visible: boolean;
|
|
@@ -568,6 +647,16 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
|
|
|
568
647
|
* @maxItems 100000
|
|
569
648
|
*/
|
|
570
649
|
rows: {
|
|
650
|
+
/**
|
|
651
|
+
* @minimum -2147483648
|
|
652
|
+
* @maximum 2147483647
|
|
653
|
+
*/
|
|
654
|
+
zIndex?: number;
|
|
655
|
+
buyerPhoto?: {
|
|
656
|
+
assetId: string;
|
|
657
|
+
};
|
|
658
|
+
/** Row label text without control characters or unpaired surrogates. */
|
|
659
|
+
bookingLabel?: string;
|
|
571
660
|
/**
|
|
572
661
|
* Unicode code-point length; control characters and unpaired surrogates are rejected.
|
|
573
662
|
* @maxLength 80
|
|
@@ -599,16 +688,8 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
|
|
|
599
688
|
* @nullable
|
|
600
689
|
*/
|
|
601
690
|
categoryId?: string | null;
|
|
602
|
-
/**
|
|
603
|
-
* Unicode code-point length; control characters and unpaired surrogates are rejected.
|
|
604
|
-
* @maxLength 80
|
|
605
|
-
*/
|
|
691
|
+
/** Row label text without control characters or unpaired surrogates. */
|
|
606
692
|
labelOverride?: string;
|
|
607
|
-
/**
|
|
608
|
-
* Unicode code-point length; control characters and unpaired surrogates are rejected.
|
|
609
|
-
* @maxLength 80
|
|
610
|
-
*/
|
|
611
|
-
bookingLabel?: string;
|
|
612
693
|
offsetM?: {
|
|
613
694
|
/**
|
|
614
695
|
* @minimum -10000
|
|
@@ -686,6 +767,9 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
|
|
|
686
767
|
* @maxItems 100000
|
|
687
768
|
*/
|
|
688
769
|
seats: {
|
|
770
|
+
buyerPhoto?: {
|
|
771
|
+
assetId: string;
|
|
772
|
+
};
|
|
689
773
|
gap?: boolean;
|
|
690
774
|
/**
|
|
691
775
|
* Unicode code-point length; control characters and unpaired surrogates are rejected.
|
|
@@ -761,6 +845,10 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
|
|
|
761
845
|
}[];
|
|
762
846
|
}[];
|
|
763
847
|
} | {
|
|
848
|
+
/**
|
|
849
|
+
* Physical floor identity when the map defines levels.
|
|
850
|
+
*/
|
|
851
|
+
floorId?: string;
|
|
764
852
|
id: string;
|
|
765
853
|
/**
|
|
766
854
|
* @nullable
|
|
@@ -853,6 +941,22 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
|
|
|
853
941
|
*/
|
|
854
942
|
y: number;
|
|
855
943
|
}[][];
|
|
944
|
+
/**
|
|
945
|
+
* @maxItems 10000
|
|
946
|
+
* @items.minimum -100
|
|
947
|
+
* @items.maximum 100
|
|
948
|
+
*/
|
|
949
|
+
edgeCurvature?: number[];
|
|
950
|
+
/**
|
|
951
|
+
* @minimum 0
|
|
952
|
+
* @maximum 100
|
|
953
|
+
*/
|
|
954
|
+
cornerRounding?: number;
|
|
955
|
+
/**
|
|
956
|
+
* @minimum 0
|
|
957
|
+
* @maximum 2.75
|
|
958
|
+
*/
|
|
959
|
+
cornerRadiusM?: number;
|
|
856
960
|
};
|
|
857
961
|
seatLabelStyle: {
|
|
858
962
|
visible: boolean;
|
|
@@ -985,6 +1089,16 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
|
|
|
985
1089
|
* @maxItems 100000
|
|
986
1090
|
*/
|
|
987
1091
|
rows: {
|
|
1092
|
+
/**
|
|
1093
|
+
* @minimum -2147483648
|
|
1094
|
+
* @maximum 2147483647
|
|
1095
|
+
*/
|
|
1096
|
+
zIndex?: number;
|
|
1097
|
+
buyerPhoto?: {
|
|
1098
|
+
assetId: string;
|
|
1099
|
+
};
|
|
1100
|
+
/** Row label text without control characters or unpaired surrogates. */
|
|
1101
|
+
bookingLabel?: string;
|
|
988
1102
|
/**
|
|
989
1103
|
* Unicode code-point length; control characters and unpaired surrogates are rejected.
|
|
990
1104
|
* @maxLength 80
|
|
@@ -1016,16 +1130,8 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
|
|
|
1016
1130
|
* @nullable
|
|
1017
1131
|
*/
|
|
1018
1132
|
categoryId?: string | null;
|
|
1019
|
-
/**
|
|
1020
|
-
* Unicode code-point length; control characters and unpaired surrogates are rejected.
|
|
1021
|
-
* @maxLength 80
|
|
1022
|
-
*/
|
|
1133
|
+
/** Row label text without control characters or unpaired surrogates. */
|
|
1023
1134
|
labelOverride?: string;
|
|
1024
|
-
/**
|
|
1025
|
-
* Unicode code-point length; control characters and unpaired surrogates are rejected.
|
|
1026
|
-
* @maxLength 80
|
|
1027
|
-
*/
|
|
1028
|
-
bookingLabel?: string;
|
|
1029
1135
|
offsetM?: {
|
|
1030
1136
|
/**
|
|
1031
1137
|
* @minimum -10000
|
|
@@ -1103,6 +1209,9 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
|
|
|
1103
1209
|
* @maxItems 100000
|
|
1104
1210
|
*/
|
|
1105
1211
|
seats: {
|
|
1212
|
+
buyerPhoto?: {
|
|
1213
|
+
assetId: string;
|
|
1214
|
+
};
|
|
1106
1215
|
gap?: boolean;
|
|
1107
1216
|
/**
|
|
1108
1217
|
* Unicode code-point length; control characters and unpaired surrogates are rejected.
|
|
@@ -1178,6 +1287,10 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
|
|
|
1178
1287
|
}[];
|
|
1179
1288
|
}[];
|
|
1180
1289
|
} | {
|
|
1290
|
+
/**
|
|
1291
|
+
* Physical floor identity when the map defines levels.
|
|
1292
|
+
*/
|
|
1293
|
+
floorId?: string;
|
|
1181
1294
|
id: string;
|
|
1182
1295
|
/**
|
|
1183
1296
|
* @nullable
|
|
@@ -1270,6 +1383,22 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
|
|
|
1270
1383
|
*/
|
|
1271
1384
|
y: number;
|
|
1272
1385
|
}[][];
|
|
1386
|
+
/**
|
|
1387
|
+
* @maxItems 10000
|
|
1388
|
+
* @items.minimum -100
|
|
1389
|
+
* @items.maximum 100
|
|
1390
|
+
*/
|
|
1391
|
+
edgeCurvature?: number[];
|
|
1392
|
+
/**
|
|
1393
|
+
* @minimum 0
|
|
1394
|
+
* @maximum 100
|
|
1395
|
+
*/
|
|
1396
|
+
cornerRounding?: number;
|
|
1397
|
+
/**
|
|
1398
|
+
* @minimum 0
|
|
1399
|
+
* @maximum 2.75
|
|
1400
|
+
*/
|
|
1401
|
+
cornerRadiusM?: number;
|
|
1273
1402
|
};
|
|
1274
1403
|
seatLabelStyle: {
|
|
1275
1404
|
visible: boolean;
|
|
@@ -1353,7 +1482,12 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
|
|
|
1353
1482
|
* Unicode code-point length; control characters and unpaired surrogates are rejected.
|
|
1354
1483
|
* @maxLength 80
|
|
1355
1484
|
*/
|
|
1356
|
-
|
|
1485
|
+
code: string;
|
|
1486
|
+
/**
|
|
1487
|
+
* Unicode code-point length; control characters and unpaired surrogates are rejected.
|
|
1488
|
+
* @maxLength 80
|
|
1489
|
+
*/
|
|
1490
|
+
name?: string;
|
|
1357
1491
|
chairs: {
|
|
1358
1492
|
scheme: "numeric" | "odd" | "even" | "alphabetic" | "lowerAlphabetic" | "roman" | "outsideIn" | "insideOut";
|
|
1359
1493
|
/**
|
|
@@ -1398,6 +1532,9 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
|
|
|
1398
1532
|
chairsBySide: {
|
|
1399
1533
|
/** @maxItems 100000 */
|
|
1400
1534
|
top: {
|
|
1535
|
+
buyerPhoto?: {
|
|
1536
|
+
assetId: string;
|
|
1537
|
+
};
|
|
1401
1538
|
gap?: boolean;
|
|
1402
1539
|
/**
|
|
1403
1540
|
* Unicode code-point length; control characters and unpaired surrogates are rejected.
|
|
@@ -1473,6 +1610,9 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
|
|
|
1473
1610
|
}[];
|
|
1474
1611
|
/** @maxItems 100000 */
|
|
1475
1612
|
right: {
|
|
1613
|
+
buyerPhoto?: {
|
|
1614
|
+
assetId: string;
|
|
1615
|
+
};
|
|
1476
1616
|
gap?: boolean;
|
|
1477
1617
|
/**
|
|
1478
1618
|
* Unicode code-point length; control characters and unpaired surrogates are rejected.
|
|
@@ -1548,6 +1688,9 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
|
|
|
1548
1688
|
}[];
|
|
1549
1689
|
/** @maxItems 100000 */
|
|
1550
1690
|
bottom: {
|
|
1691
|
+
buyerPhoto?: {
|
|
1692
|
+
assetId: string;
|
|
1693
|
+
};
|
|
1551
1694
|
gap?: boolean;
|
|
1552
1695
|
/**
|
|
1553
1696
|
* Unicode code-point length; control characters and unpaired surrogates are rejected.
|
|
@@ -1623,6 +1766,9 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
|
|
|
1623
1766
|
}[];
|
|
1624
1767
|
/** @maxItems 100000 */
|
|
1625
1768
|
left: {
|
|
1769
|
+
buyerPhoto?: {
|
|
1770
|
+
assetId: string;
|
|
1771
|
+
};
|
|
1626
1772
|
gap?: boolean;
|
|
1627
1773
|
/**
|
|
1628
1774
|
* Unicode code-point length; control characters and unpaired surrogates are rejected.
|
|
@@ -1698,6 +1844,10 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
|
|
|
1698
1844
|
}[];
|
|
1699
1845
|
};
|
|
1700
1846
|
} | {
|
|
1847
|
+
/**
|
|
1848
|
+
* Physical floor identity when the map defines levels.
|
|
1849
|
+
*/
|
|
1850
|
+
floorId?: string;
|
|
1701
1851
|
id: string;
|
|
1702
1852
|
/**
|
|
1703
1853
|
* @nullable
|
|
@@ -1790,6 +1940,22 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
|
|
|
1790
1940
|
*/
|
|
1791
1941
|
y: number;
|
|
1792
1942
|
}[][];
|
|
1943
|
+
/**
|
|
1944
|
+
* @maxItems 10000
|
|
1945
|
+
* @items.minimum -100
|
|
1946
|
+
* @items.maximum 100
|
|
1947
|
+
*/
|
|
1948
|
+
edgeCurvature?: number[];
|
|
1949
|
+
/**
|
|
1950
|
+
* @minimum 0
|
|
1951
|
+
* @maximum 100
|
|
1952
|
+
*/
|
|
1953
|
+
cornerRounding?: number;
|
|
1954
|
+
/**
|
|
1955
|
+
* @minimum 0
|
|
1956
|
+
* @maximum 2.75
|
|
1957
|
+
*/
|
|
1958
|
+
cornerRadiusM?: number;
|
|
1793
1959
|
};
|
|
1794
1960
|
seatLabelStyle: {
|
|
1795
1961
|
visible: boolean;
|
|
@@ -1881,7 +2047,12 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
|
|
|
1881
2047
|
* Unicode code-point length; control characters and unpaired surrogates are rejected.
|
|
1882
2048
|
* @maxLength 80
|
|
1883
2049
|
*/
|
|
1884
|
-
|
|
2050
|
+
code: string;
|
|
2051
|
+
/**
|
|
2052
|
+
* Unicode code-point length; control characters and unpaired surrogates are rejected.
|
|
2053
|
+
* @maxLength 80
|
|
2054
|
+
*/
|
|
2055
|
+
name?: string;
|
|
1885
2056
|
chairs: {
|
|
1886
2057
|
scheme: "numeric" | "odd" | "even" | "alphabetic" | "lowerAlphabetic" | "roman" | "outsideIn" | "insideOut";
|
|
1887
2058
|
/**
|
|
@@ -1928,6 +2099,9 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
|
|
|
1928
2099
|
* @maxItems 100000
|
|
1929
2100
|
*/
|
|
1930
2101
|
chairs: {
|
|
2102
|
+
buyerPhoto?: {
|
|
2103
|
+
assetId: string;
|
|
2104
|
+
};
|
|
1931
2105
|
gap?: boolean;
|
|
1932
2106
|
/**
|
|
1933
2107
|
* Unicode code-point length; control characters and unpaired surrogates are rejected.
|
|
@@ -2031,23 +2205,30 @@ export type PhysicalDocumentV1DtoSegmentedRowsItemPartsItem = {
|
|
|
2031
2205
|
rowId: string;
|
|
2032
2206
|
/** @nullable */
|
|
2033
2207
|
joinBefore: PhysicalDocumentV1DtoSegmentedRowsItemPartsItemJoinBefore | null;
|
|
2208
|
+
/** Row label text without control characters or unpaired surrogates. */
|
|
2209
|
+
labelOverride?: string;
|
|
2034
2210
|
};
|
|
2035
2211
|
export type PhysicalDocumentV1DtoSegmentedRowsItem = {
|
|
2036
2212
|
id: string;
|
|
2037
2213
|
/**
|
|
2038
|
-
*
|
|
2039
|
-
* @
|
|
2214
|
+
* Row label text without control characters or unpaired surrogates.
|
|
2215
|
+
* @minLength 1
|
|
2040
2216
|
*/
|
|
2041
2217
|
label: string;
|
|
2042
2218
|
sequence: PhysicalDocumentV1DtoSegmentedRowsItemSequence;
|
|
2219
|
+
qualifySeatLabels?: boolean;
|
|
2043
2220
|
smoothCorners?: boolean;
|
|
2044
2221
|
/**
|
|
2045
|
-
* @minItems
|
|
2222
|
+
* @minItems 1
|
|
2046
2223
|
* @maxItems 100000
|
|
2047
2224
|
*/
|
|
2048
2225
|
parts: PhysicalDocumentV1DtoSegmentedRowsItemPartsItem[];
|
|
2049
2226
|
};
|
|
2050
2227
|
export type PhysicalDocumentV1DtoAreasItem = {
|
|
2228
|
+
/**
|
|
2229
|
+
* Physical floor identity when the map defines levels.
|
|
2230
|
+
*/
|
|
2231
|
+
floorId?: string;
|
|
2051
2232
|
id: string;
|
|
2052
2233
|
/**
|
|
2053
2234
|
* @nullable
|
|
@@ -2079,6 +2260,16 @@ export type PhysicalDocumentV1DtoAreasItem = {
|
|
|
2079
2260
|
* @maximum 2147483647
|
|
2080
2261
|
*/
|
|
2081
2262
|
zIndex: number;
|
|
2263
|
+
/**
|
|
2264
|
+
* Unicode code-point length; control characters and unpaired surrogates are rejected.
|
|
2265
|
+
* @maxLength 80
|
|
2266
|
+
*/
|
|
2267
|
+
code: string;
|
|
2268
|
+
/**
|
|
2269
|
+
* Unicode code-point length; control characters and unpaired surrogates are rejected.
|
|
2270
|
+
* @maxLength 80
|
|
2271
|
+
*/
|
|
2272
|
+
name?: string;
|
|
2082
2273
|
/**
|
|
2083
2274
|
* @nullable
|
|
2084
2275
|
*/
|
|
@@ -2087,11 +2278,6 @@ export type PhysicalDocumentV1DtoAreasItem = {
|
|
|
2087
2278
|
* @nullable
|
|
2088
2279
|
*/
|
|
2089
2280
|
sectionId: string | null;
|
|
2090
|
-
/**
|
|
2091
|
-
* Unicode code-point length; control characters and unpaired surrogates are rejected.
|
|
2092
|
-
* @maxLength 80
|
|
2093
|
-
*/
|
|
2094
|
-
label: string;
|
|
2095
2281
|
labelStyle: {
|
|
2096
2282
|
visible: boolean;
|
|
2097
2283
|
/**
|
|
@@ -2166,6 +2352,22 @@ export type PhysicalDocumentV1DtoAreasItem = {
|
|
|
2166
2352
|
*/
|
|
2167
2353
|
y: number;
|
|
2168
2354
|
}[][];
|
|
2355
|
+
/**
|
|
2356
|
+
* @maxItems 10000
|
|
2357
|
+
* @items.minimum -100
|
|
2358
|
+
* @items.maximum 100
|
|
2359
|
+
*/
|
|
2360
|
+
edgeCurvature?: number[];
|
|
2361
|
+
/**
|
|
2362
|
+
* @minimum 0
|
|
2363
|
+
* @maximum 100
|
|
2364
|
+
*/
|
|
2365
|
+
cornerRounding?: number;
|
|
2366
|
+
/**
|
|
2367
|
+
* @minimum 0
|
|
2368
|
+
* @maximum 2.75
|
|
2369
|
+
*/
|
|
2370
|
+
cornerRadiusM?: number;
|
|
2169
2371
|
};
|
|
2170
2372
|
};
|
|
2171
2373
|
kind: "generalAdmission";
|
|
@@ -2195,6 +2397,10 @@ export type PhysicalDocumentV1DtoAreasItem = {
|
|
|
2195
2397
|
maxGuests: number;
|
|
2196
2398
|
};
|
|
2197
2399
|
} | {
|
|
2400
|
+
/**
|
|
2401
|
+
* Physical floor identity when the map defines levels.
|
|
2402
|
+
*/
|
|
2403
|
+
floorId?: string;
|
|
2198
2404
|
id: string;
|
|
2199
2405
|
/**
|
|
2200
2406
|
* @nullable
|
|
@@ -2226,6 +2432,16 @@ export type PhysicalDocumentV1DtoAreasItem = {
|
|
|
2226
2432
|
* @maximum 2147483647
|
|
2227
2433
|
*/
|
|
2228
2434
|
zIndex: number;
|
|
2435
|
+
/**
|
|
2436
|
+
* Unicode code-point length; control characters and unpaired surrogates are rejected.
|
|
2437
|
+
* @maxLength 80
|
|
2438
|
+
*/
|
|
2439
|
+
code: string;
|
|
2440
|
+
/**
|
|
2441
|
+
* Unicode code-point length; control characters and unpaired surrogates are rejected.
|
|
2442
|
+
* @maxLength 80
|
|
2443
|
+
*/
|
|
2444
|
+
name?: string;
|
|
2229
2445
|
/**
|
|
2230
2446
|
* @nullable
|
|
2231
2447
|
*/
|
|
@@ -2234,11 +2450,6 @@ export type PhysicalDocumentV1DtoAreasItem = {
|
|
|
2234
2450
|
* @nullable
|
|
2235
2451
|
*/
|
|
2236
2452
|
sectionId: string | null;
|
|
2237
|
-
/**
|
|
2238
|
-
* Unicode code-point length; control characters and unpaired surrogates are rejected.
|
|
2239
|
-
* @maxLength 80
|
|
2240
|
-
*/
|
|
2241
|
-
label: string;
|
|
2242
2453
|
labelStyle: {
|
|
2243
2454
|
visible: boolean;
|
|
2244
2455
|
/**
|
|
@@ -2313,11 +2524,31 @@ export type PhysicalDocumentV1DtoAreasItem = {
|
|
|
2313
2524
|
*/
|
|
2314
2525
|
y: number;
|
|
2315
2526
|
}[][];
|
|
2527
|
+
/**
|
|
2528
|
+
* @maxItems 10000
|
|
2529
|
+
* @items.minimum -100
|
|
2530
|
+
* @items.maximum 100
|
|
2531
|
+
*/
|
|
2532
|
+
edgeCurvature?: number[];
|
|
2533
|
+
/**
|
|
2534
|
+
* @minimum 0
|
|
2535
|
+
* @maximum 100
|
|
2536
|
+
*/
|
|
2537
|
+
cornerRounding?: number;
|
|
2538
|
+
/**
|
|
2539
|
+
* @minimum 0
|
|
2540
|
+
* @maximum 2.75
|
|
2541
|
+
*/
|
|
2542
|
+
cornerRadiusM?: number;
|
|
2316
2543
|
};
|
|
2317
2544
|
};
|
|
2318
2545
|
kind: "booth";
|
|
2319
2546
|
};
|
|
2320
2547
|
export type PhysicalDocumentV1DtoDecorationsItem = {
|
|
2548
|
+
/**
|
|
2549
|
+
* Physical floor identity when the map defines levels.
|
|
2550
|
+
*/
|
|
2551
|
+
floorId?: string;
|
|
2321
2552
|
id: string;
|
|
2322
2553
|
/**
|
|
2323
2554
|
* @nullable
|
|
@@ -2385,6 +2616,10 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
|
|
|
2385
2616
|
fontSizeM: number;
|
|
2386
2617
|
align: "left" | "center" | "right";
|
|
2387
2618
|
} | {
|
|
2619
|
+
/**
|
|
2620
|
+
* Physical floor identity when the map defines levels.
|
|
2621
|
+
*/
|
|
2622
|
+
floorId?: string;
|
|
2388
2623
|
id: string;
|
|
2389
2624
|
/**
|
|
2390
2625
|
* @nullable
|
|
@@ -2458,6 +2693,10 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
|
|
|
2458
2693
|
*/
|
|
2459
2694
|
cornerRadiusM: number;
|
|
2460
2695
|
} | {
|
|
2696
|
+
/**
|
|
2697
|
+
* Physical floor identity when the map defines levels.
|
|
2698
|
+
*/
|
|
2699
|
+
floorId?: string;
|
|
2461
2700
|
id: string;
|
|
2462
2701
|
/**
|
|
2463
2702
|
* @nullable
|
|
@@ -2519,6 +2758,10 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
|
|
|
2519
2758
|
*/
|
|
2520
2759
|
radiusM: number;
|
|
2521
2760
|
} | {
|
|
2761
|
+
/**
|
|
2762
|
+
* Physical floor identity when the map defines levels.
|
|
2763
|
+
*/
|
|
2764
|
+
floorId?: string;
|
|
2522
2765
|
id: string;
|
|
2523
2766
|
/**
|
|
2524
2767
|
* @nullable
|
|
@@ -2591,6 +2834,10 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
|
|
|
2591
2834
|
y: number;
|
|
2592
2835
|
}[];
|
|
2593
2836
|
} | {
|
|
2837
|
+
/**
|
|
2838
|
+
* Physical floor identity when the map defines levels.
|
|
2839
|
+
*/
|
|
2840
|
+
floorId?: string;
|
|
2594
2841
|
id: string;
|
|
2595
2842
|
/**
|
|
2596
2843
|
* @nullable
|
|
@@ -2681,8 +2928,28 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
|
|
|
2681
2928
|
*/
|
|
2682
2929
|
y: number;
|
|
2683
2930
|
}[][];
|
|
2931
|
+
/**
|
|
2932
|
+
* @maxItems 10000
|
|
2933
|
+
* @items.minimum -100
|
|
2934
|
+
* @items.maximum 100
|
|
2935
|
+
*/
|
|
2936
|
+
edgeCurvature?: number[];
|
|
2937
|
+
/**
|
|
2938
|
+
* @minimum 0
|
|
2939
|
+
* @maximum 100
|
|
2940
|
+
*/
|
|
2941
|
+
cornerRounding?: number;
|
|
2942
|
+
/**
|
|
2943
|
+
* @minimum 0
|
|
2944
|
+
* @maximum 2.75
|
|
2945
|
+
*/
|
|
2946
|
+
cornerRadiusM?: number;
|
|
2684
2947
|
};
|
|
2685
2948
|
} | {
|
|
2949
|
+
/**
|
|
2950
|
+
* Physical floor identity when the map defines levels.
|
|
2951
|
+
*/
|
|
2952
|
+
floorId?: string;
|
|
2686
2953
|
id: string;
|
|
2687
2954
|
/**
|
|
2688
2955
|
* @nullable
|
|
@@ -2752,6 +3019,10 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
|
|
|
2752
3019
|
height: number;
|
|
2753
3020
|
};
|
|
2754
3021
|
} | {
|
|
3022
|
+
/**
|
|
3023
|
+
* Physical floor identity when the map defines levels.
|
|
3024
|
+
*/
|
|
3025
|
+
floorId?: string;
|
|
2755
3026
|
id: string;
|
|
2756
3027
|
/**
|
|
2757
3028
|
* @nullable
|
|
@@ -2831,6 +3102,7 @@ export type PhysicalDocumentV1DtoAssetsItem = {
|
|
|
2831
3102
|
mimeType: PhysicalDocumentV1DtoAssetsItemMimeType;
|
|
2832
3103
|
};
|
|
2833
3104
|
export interface PhysicalDocumentV1Dto {
|
|
3105
|
+
buyerPhoto?: PhysicalDocumentV1DtoBuyerPhoto;
|
|
2834
3106
|
schemaVersion: PhysicalDocumentV1DtoSchemaVersion;
|
|
2835
3107
|
mapId: string;
|
|
2836
3108
|
/**
|
|
@@ -2843,6 +3115,17 @@ export interface PhysicalDocumentV1Dto {
|
|
|
2843
3115
|
background: PhysicalDocumentV1DtoBackground;
|
|
2844
3116
|
/** @maxItems 1024 */
|
|
2845
3117
|
categories?: PhysicalDocumentV1DtoCategoriesItem[];
|
|
3118
|
+
/**
|
|
3119
|
+
* Physical levels in display order. When present, every section, collection and drawable must reference one of these floor identities.
|
|
3120
|
+
* @minItems 1
|
|
3121
|
+
* @maxItems 1024
|
|
3122
|
+
*/
|
|
3123
|
+
floors?: PhysicalDocumentV1DtoFloorsItem[];
|
|
3124
|
+
/**
|
|
3125
|
+
* Section groups in display order, independent of physical floors.
|
|
3126
|
+
* @maxItems 1024
|
|
3127
|
+
*/
|
|
3128
|
+
zones?: PhysicalDocumentV1DtoZonesItem[];
|
|
2846
3129
|
/** @maxItems 1024 */
|
|
2847
3130
|
sections: PhysicalDocumentV1DtoSectionsItem[];
|
|
2848
3131
|
/** @maxItems 10000 */
|
package/dist/generated.js
CHANGED
|
@@ -186,9 +186,7 @@ export class MapsClient {
|
|
|
186
186
|
}
|
|
187
187
|
async createMap(workspaceId, createMapDto, options) {
|
|
188
188
|
const requestOptions = await prepareRequestOptions(this.configuration, this.basePath, options, "POST", createMapDto);
|
|
189
|
-
return this.operations.createMap(workspaceId, requestOptions.data instanceof ArrayBuffer
|
|
190
|
-
? requestOptions.data
|
|
191
|
-
: createMapDto, requestOptions);
|
|
189
|
+
return this.operations.createMap(workspaceId, requestOptions.data instanceof ArrayBuffer ? requestOptions.data : createMapDto, requestOptions);
|
|
192
190
|
}
|
|
193
191
|
async getMapPreview(workspaceId, mapId, params, options) {
|
|
194
192
|
const requestOptions = await prepareRequestOptions(this.configuration, this.basePath, options, "GET");
|
|
@@ -212,15 +210,11 @@ export class MapsClient {
|
|
|
212
210
|
}
|
|
213
211
|
async saveMap(workspaceId, mapId, saveMapDto, options) {
|
|
214
212
|
const requestOptions = await prepareRequestOptions(this.configuration, this.basePath, options, "PUT", saveMapDto);
|
|
215
|
-
return this.operations.saveMap(workspaceId, mapId, requestOptions.data instanceof ArrayBuffer
|
|
216
|
-
? requestOptions.data
|
|
217
|
-
: saveMapDto, requestOptions);
|
|
213
|
+
return this.operations.saveMap(workspaceId, mapId, requestOptions.data instanceof ArrayBuffer ? requestOptions.data : saveMapDto, requestOptions);
|
|
218
214
|
}
|
|
219
215
|
async changeMap(workspaceId, mapId, mapActionDto, options) {
|
|
220
216
|
const requestOptions = await prepareRequestOptions(this.configuration, this.basePath, options, "POST", mapActionDto);
|
|
221
|
-
return this.operations.changeMap(workspaceId, mapId, requestOptions.data instanceof ArrayBuffer
|
|
222
|
-
? requestOptions.data
|
|
223
|
-
: mapActionDto, requestOptions);
|
|
217
|
+
return this.operations.changeMap(workspaceId, mapId, requestOptions.data instanceof ArrayBuffer ? requestOptions.data : mapActionDto, requestOptions);
|
|
224
218
|
}
|
|
225
219
|
async listMapRevisions(workspaceId, mapId, options) {
|
|
226
220
|
const requestOptions = await prepareRequestOptions(this.configuration, this.basePath, options, "GET");
|
|
@@ -246,9 +240,7 @@ export class ArtworkClient {
|
|
|
246
240
|
}
|
|
247
241
|
async prepareArtworkUpload(workspaceId, prepareArtworkUploadDto, options) {
|
|
248
242
|
const requestOptions = await prepareRequestOptions(this.configuration, this.basePath, options, "POST", prepareArtworkUploadDto);
|
|
249
|
-
return this.operations.prepareArtworkUpload(workspaceId, requestOptions.data instanceof ArrayBuffer
|
|
250
|
-
? requestOptions.data
|
|
251
|
-
: prepareArtworkUploadDto, requestOptions);
|
|
243
|
+
return this.operations.prepareArtworkUpload(workspaceId, requestOptions.data instanceof ArrayBuffer ? requestOptions.data : prepareArtworkUploadDto, requestOptions);
|
|
252
244
|
}
|
|
253
245
|
async getArtworkUpload(workspaceId, uploadId, options) {
|
|
254
246
|
const requestOptions = await prepareRequestOptions(this.configuration, this.basePath, options, "GET");
|
|
@@ -256,9 +248,7 @@ export class ArtworkClient {
|
|
|
256
248
|
}
|
|
257
249
|
async uploadArtworkContent(workspaceId, uploadId, uploadArtworkContentBody, options) {
|
|
258
250
|
const requestOptions = await prepareRequestOptions(this.configuration, this.basePath, options, "PUT", uploadArtworkContentBody);
|
|
259
|
-
return this.operations.uploadArtworkContent(workspaceId, uploadId, requestOptions.data instanceof ArrayBuffer
|
|
260
|
-
? requestOptions.data
|
|
261
|
-
: uploadArtworkContentBody, requestOptions);
|
|
251
|
+
return this.operations.uploadArtworkContent(workspaceId, uploadId, requestOptions.data instanceof ArrayBuffer ? requestOptions.data : uploadArtworkContentBody, requestOptions);
|
|
262
252
|
}
|
|
263
253
|
async completeArtworkUpload(workspaceId, uploadId, options) {
|
|
264
254
|
const requestOptions = await prepareRequestOptions(this.configuration, this.basePath, options, "POST");
|
|
@@ -270,15 +260,11 @@ export class ArtworkClient {
|
|
|
270
260
|
}
|
|
271
261
|
async retryArtworkUpload(workspaceId, uploadId, retryArtworkUploadDto, options) {
|
|
272
262
|
const requestOptions = await prepareRequestOptions(this.configuration, this.basePath, options, "POST", retryArtworkUploadDto);
|
|
273
|
-
return this.operations.retryArtworkUpload(workspaceId, uploadId, requestOptions.data instanceof ArrayBuffer
|
|
274
|
-
? requestOptions.data
|
|
275
|
-
: retryArtworkUploadDto, requestOptions);
|
|
263
|
+
return this.operations.retryArtworkUpload(workspaceId, uploadId, requestOptions.data instanceof ArrayBuffer ? requestOptions.data : retryArtworkUploadDto, requestOptions);
|
|
276
264
|
}
|
|
277
265
|
async getArtworkResources(workspaceId, artworkBatchDto, options) {
|
|
278
266
|
const requestOptions = await prepareRequestOptions(this.configuration, this.basePath, options, "POST", artworkBatchDto);
|
|
279
|
-
return this.operations.getArtworkResources(workspaceId, requestOptions.data instanceof ArrayBuffer
|
|
280
|
-
? requestOptions.data
|
|
281
|
-
: artworkBatchDto, requestOptions);
|
|
267
|
+
return this.operations.getArtworkResources(workspaceId, requestOptions.data instanceof ArrayBuffer ? requestOptions.data : artworkBatchDto, requestOptions);
|
|
282
268
|
}
|
|
283
269
|
}
|
|
284
270
|
const getSeatmapApi = (axiosInstance = axios) => {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from "./generated.js";
|
|
2
|
-
export { Configuration, type ConfigurationParameters
|
|
2
|
+
export { Configuration, type ConfigurationParameters } from "./configuration.js";
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from "./generated.js";
|
|
2
|
-
export { Configuration
|
|
2
|
+
export { Configuration } from "./configuration.js";
|
package/dist/transport.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { mergeConfig } from "axios";
|
|
2
|
-
const clientContract = "
|
|
2
|
+
const clientContract = "11";
|
|
3
3
|
const requestCompressionThreshold = 64 * 1024;
|
|
4
4
|
/**
|
|
5
5
|
* @method prepareRequestOptions
|
|
@@ -40,8 +40,7 @@ export async function prepareRequestOptions(configuration, basePath, options, me
|
|
|
40
40
|
return prepared;
|
|
41
41
|
}
|
|
42
42
|
const serialized = JSON.stringify(options?.data ?? body);
|
|
43
|
-
if (serialized.length < requestCompressionThreshold ||
|
|
44
|
-
typeof CompressionStream === "undefined") {
|
|
43
|
+
if (serialized.length < requestCompressionThreshold || typeof CompressionStream === "undefined") {
|
|
45
44
|
return prepared;
|
|
46
45
|
}
|
|
47
46
|
prepared.data = await new Response(new Blob([serialized]).stream().pipeThrough(new CompressionStream("gzip"))).arrayBuffer();
|