@seatmap-fyi/api-client 0.0.0-stage → 0.1.0-alpha.1

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.
@@ -0,0 +1,2375 @@
1
+ export interface DocumentErrorIssueDto {
2
+ code: string;
3
+ message: string;
4
+ }
5
+ export interface HttpErrorDto {
6
+ /**
7
+ * Rate-limit retry delay in seconds; also returned in Retry-After.
8
+ * @minimum 1
9
+ */
10
+ retryAfter?: number;
11
+ /**
12
+ * Bounded structural map rejection details, when applicable.
13
+ * @maxItems 50
14
+ */
15
+ issues?: DocumentErrorIssueDto[];
16
+ /** Stable operation-owned failure code. */
17
+ code?: string;
18
+ /**
19
+ * @minimum 400
20
+ * @maximum 599
21
+ */
22
+ statusCode: number;
23
+ message: string | string[];
24
+ /** Framework client-error description; absent on contained server faults. */
25
+ error?: string;
26
+ }
27
+ export interface HealthResponseDto {
28
+ status: string;
29
+ /**
30
+ * Process uptime in seconds.
31
+ * @minimum 0
32
+ */
33
+ uptime: number;
34
+ }
35
+ export declare enum Capability {
36
+ MAPS_READ = "maps:read",
37
+ MAPS_WRITE = "maps:write",
38
+ MAPS_PUBLISH = "maps:publish",
39
+ COMMERCE_WRITE = "commerce:write",
40
+ ACCESS_ADMIN = "access:admin",
41
+ MAP_VIEW = "map:view"
42
+ }
43
+ export declare enum AccountContextDtoKind {
44
+ integration = "integration",
45
+ authoring = "authoring"
46
+ }
47
+ export interface AccountContextDto {
48
+ kind: AccountContextDtoKind;
49
+ accountId: string;
50
+ subject: string;
51
+ capabilities: Capability[];
52
+ expiresAt: string;
53
+ }
54
+ export interface AuthoringSessionContextDto {
55
+ userId: string;
56
+ workspaceId: string;
57
+ readContract: string;
58
+ writeContract: string;
59
+ session: AccountContextDto;
60
+ /** Send as X-CSRF-Token on authoring mutations. Available again from the authenticated session endpoint. */
61
+ csrfToken: string;
62
+ }
63
+ export declare enum EmbedContextDtoKind {
64
+ embed = "embed"
65
+ }
66
+ export declare enum EmbedContextDtoCapabilitiesItem {
67
+ "map:view" = "map:view"
68
+ }
69
+ export interface EmbedContextDto {
70
+ kind: EmbedContextDtoKind;
71
+ mapId: string;
72
+ capabilities: EmbedContextDtoCapabilitiesItem[];
73
+ expiresAt: string;
74
+ }
75
+ export declare enum MapLifecycle {
76
+ active = "active",
77
+ archived = "archived",
78
+ trashed = "trashed",
79
+ deleted = "deleted"
80
+ }
81
+ export interface MapSummaryDto {
82
+ id: string;
83
+ name: string;
84
+ lifecycle: MapLifecycle;
85
+ revision: number;
86
+ physicalSeats: number;
87
+ gaQuantity: number;
88
+ createdAt: string;
89
+ updatedAt: string;
90
+ }
91
+ export interface MapListDto {
92
+ items: MapSummaryDto[];
93
+ /** @nullable */
94
+ nextCursor: string | null;
95
+ }
96
+ export type PhysicalDocumentV1DtoSchemaVersion = 1;
97
+ export type PhysicalDocumentV1DtoCoordinateSystemUnit = "metre";
98
+ export type PhysicalDocumentV1DtoCoordinateSystemXAxis = "right";
99
+ export type PhysicalDocumentV1DtoCoordinateSystemYAxis = "down";
100
+ export type PhysicalDocumentV1DtoCoordinateSystemRotation = "clockwise";
101
+ export type PhysicalDocumentV1DtoSectionsItemOutlineRole = "boundary" | "overview";
102
+ export type PhysicalDocumentV1DtoSectionsItemLabelPlacementAlign = "left" | "center" | "right";
103
+ export type PhysicalDocumentV1DtoAreasItemKind = "generalAdmission";
104
+ export type PhysicalDocumentV1DtoAssetsItemMimeType = "image/png" | "image/jpeg" | "image/webp" | "image/svg+xml";
105
+ export type PhysicalDocumentV1DtoCoordinateSystem = {
106
+ unit: PhysicalDocumentV1DtoCoordinateSystemUnit;
107
+ xAxis: PhysicalDocumentV1DtoCoordinateSystemXAxis;
108
+ yAxis: PhysicalDocumentV1DtoCoordinateSystemYAxis;
109
+ rotation: PhysicalDocumentV1DtoCoordinateSystemRotation;
110
+ };
111
+ export type PhysicalDocumentV1DtoBackground = {
112
+ /** @pattern ^#[0-9a-fA-F]{6}$ */
113
+ color: string;
114
+ /**
115
+ * @minimum 0
116
+ * @maximum 1
117
+ */
118
+ opacity: number;
119
+ };
120
+ export type PhysicalDocumentV1DtoSectionsItemOutlineOuterItem = {
121
+ /**
122
+ * @minimum -10000
123
+ * @maximum 10000
124
+ */
125
+ x: number;
126
+ /**
127
+ * @minimum -10000
128
+ * @maximum 10000
129
+ */
130
+ y: number;
131
+ };
132
+ export type PhysicalDocumentV1DtoSectionsItemOutlineHolesItemItem = {
133
+ /**
134
+ * @minimum -10000
135
+ * @maximum 10000
136
+ */
137
+ x: number;
138
+ /**
139
+ * @minimum -10000
140
+ * @maximum 10000
141
+ */
142
+ y: number;
143
+ };
144
+ export type PhysicalDocumentV1DtoSectionsItemOutline = {
145
+ /**
146
+ * Implicitly closed ring; the last vertex must not repeat the first.
147
+ * @minItems 3
148
+ * @maxItems 10000
149
+ */
150
+ outer: PhysicalDocumentV1DtoSectionsItemOutlineOuterItem[];
151
+ /**
152
+ * @maxItems 10000
153
+ * @items.minItems 3
154
+ * @items.maxItems 10000
155
+ */
156
+ holes: PhysicalDocumentV1DtoSectionsItemOutlineHolesItemItem[][];
157
+ };
158
+ export type PhysicalDocumentV1DtoSectionsItemStyleFill = {
159
+ /** @pattern ^#[0-9a-fA-F]{6}$ */
160
+ color: string;
161
+ /**
162
+ * @minimum 0
163
+ * @maximum 1
164
+ */
165
+ opacity: number;
166
+ };
167
+ export type PhysicalDocumentV1DtoSectionsItemStyleStroke = {
168
+ /** @pattern ^#[0-9a-fA-F]{6}$ */
169
+ color: string;
170
+ /**
171
+ * @minimum 0
172
+ * @maximum 1
173
+ */
174
+ opacity: number;
175
+ };
176
+ export type PhysicalDocumentV1DtoSectionsItemStyle = {
177
+ fill?: PhysicalDocumentV1DtoSectionsItemStyleFill;
178
+ stroke?: PhysicalDocumentV1DtoSectionsItemStyleStroke;
179
+ /**
180
+ * @minimum 0
181
+ * @maximum 10000
182
+ */
183
+ strokeWidthM?: number;
184
+ };
185
+ export type PhysicalDocumentV1DtoSectionsItemLabelPlacementPositionM = {
186
+ /**
187
+ * @minimum -10000
188
+ * @maximum 10000
189
+ */
190
+ x: number;
191
+ /**
192
+ * @minimum -10000
193
+ * @maximum 10000
194
+ */
195
+ y: number;
196
+ };
197
+ export type PhysicalDocumentV1DtoSectionsItemLabelPlacement = {
198
+ positionM: PhysicalDocumentV1DtoSectionsItemLabelPlacementPositionM;
199
+ /**
200
+ * @minimum -180
201
+ * @exclusiveMaximum 180
202
+ */
203
+ rotationDeg: number;
204
+ align: PhysicalDocumentV1DtoSectionsItemLabelPlacementAlign;
205
+ };
206
+ export type PhysicalDocumentV1DtoSectionsItemLabelStyle = {
207
+ visible: boolean;
208
+ /**
209
+ * @minimum 0.001
210
+ * @maximum 10000
211
+ */
212
+ fontSizeM: number;
213
+ };
214
+ export type PhysicalDocumentV1DtoSectionsItem = {
215
+ /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
216
+ id: string;
217
+ /**
218
+ * Unicode code-point length; control characters and unpaired surrogates are rejected.
219
+ * @maxLength 80
220
+ */
221
+ label: string;
222
+ /**
223
+ * Unicode code-point length; LF is permitted. Other control characters and unpaired surrogates are rejected.
224
+ * @maxLength 80
225
+ */
226
+ displayLabel?: string;
227
+ outline?: PhysicalDocumentV1DtoSectionsItemOutline;
228
+ outlineRole?: PhysicalDocumentV1DtoSectionsItemOutlineRole;
229
+ style?: PhysicalDocumentV1DtoSectionsItemStyle;
230
+ labelPlacement?: PhysicalDocumentV1DtoSectionsItemLabelPlacement;
231
+ labelStyle: PhysicalDocumentV1DtoSectionsItemLabelStyle;
232
+ };
233
+ export type PhysicalDocumentV1DtoCollectionsItemTransformPositionM = {
234
+ /**
235
+ * @minimum -10000
236
+ * @maximum 10000
237
+ */
238
+ x: number;
239
+ /**
240
+ * @minimum -10000
241
+ * @maximum 10000
242
+ */
243
+ y: number;
244
+ };
245
+ export type PhysicalDocumentV1DtoCollectionsItemTransform = {
246
+ positionM: PhysicalDocumentV1DtoCollectionsItemTransformPositionM;
247
+ /**
248
+ * @minimum -180
249
+ * @exclusiveMaximum 180
250
+ */
251
+ rotationDeg: number;
252
+ flipX?: boolean;
253
+ flipY?: boolean;
254
+ };
255
+ export type PhysicalDocumentV1DtoCollectionsItem = {
256
+ /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
257
+ id: string;
258
+ /**
259
+ * @nullable
260
+ * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
261
+ */
262
+ parentId: string | null;
263
+ transform: PhysicalDocumentV1DtoCollectionsItemTransform;
264
+ /**
265
+ * @minimum -2147483648
266
+ * @maximum 2147483647
267
+ */
268
+ zIndex: number;
269
+ /**
270
+ * Nonempty, trimmed name; at most 120 Unicode code points. Control characters and unpaired surrogates are rejected.
271
+ * @minLength 1
272
+ * @maxLength 120
273
+ */
274
+ name: string;
275
+ };
276
+ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
277
+ /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
278
+ id: string;
279
+ /**
280
+ * @nullable
281
+ * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
282
+ */
283
+ parentId: string | null;
284
+ transform: {
285
+ positionM: {
286
+ /**
287
+ * @minimum -10000
288
+ * @maximum 10000
289
+ */
290
+ x: number;
291
+ /**
292
+ * @minimum -10000
293
+ * @maximum 10000
294
+ */
295
+ y: number;
296
+ };
297
+ /**
298
+ * @minimum -180
299
+ * @exclusiveMaximum 180
300
+ */
301
+ rotationDeg: number;
302
+ flipX?: boolean;
303
+ flipY?: boolean;
304
+ };
305
+ /**
306
+ * @minimum -2147483648
307
+ * @maximum 2147483647
308
+ */
309
+ zIndex: number;
310
+ /**
311
+ * Nonempty, trimmed name; at most 120 Unicode code points. Control characters and unpaired surrogates are rejected.
312
+ * @minLength 1
313
+ * @maxLength 120
314
+ */
315
+ name: string;
316
+ /**
317
+ * @nullable
318
+ * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
319
+ */
320
+ sectionId: string | null;
321
+ seatSizeM: {
322
+ /**
323
+ * @minimum 0.001
324
+ * @maximum 10000
325
+ */
326
+ width: number;
327
+ /**
328
+ * @minimum 0.001
329
+ * @maximum 10000
330
+ */
331
+ height: number;
332
+ };
333
+ boundary?: {
334
+ /**
335
+ * Implicitly closed ring; the last vertex must not repeat the first.
336
+ * @minItems 3
337
+ * @maxItems 10000
338
+ */
339
+ outer: {
340
+ /**
341
+ * @minimum -10000
342
+ * @maximum 10000
343
+ */
344
+ x: number;
345
+ /**
346
+ * @minimum -10000
347
+ * @maximum 10000
348
+ */
349
+ y: number;
350
+ }[];
351
+ /**
352
+ * @maxItems 10000
353
+ * @items.minItems 3
354
+ * @items.maxItems 10000
355
+ */
356
+ holes: {
357
+ /**
358
+ * @minimum -10000
359
+ * @maximum 10000
360
+ */
361
+ x: number;
362
+ /**
363
+ * @minimum -10000
364
+ * @maximum 10000
365
+ */
366
+ y: number;
367
+ }[][];
368
+ };
369
+ seatLabelStyle: {
370
+ visible: boolean;
371
+ /**
372
+ * @minimum 0.001
373
+ * @maximum 10000
374
+ */
375
+ fontSizeM: number;
376
+ };
377
+ kind: "straightRows";
378
+ recipe: {
379
+ /**
380
+ * @minimum 0.001
381
+ * @maximum 10000
382
+ */
383
+ seatPitchM: number;
384
+ /**
385
+ * @minimum 0.001
386
+ * @maximum 10000
387
+ */
388
+ rowPitchM: number;
389
+ rowAlignment?: "start" | "center" | "end";
390
+ };
391
+ labels: {
392
+ /** Odd/even numbering requires a matching odd/even startAt value. */
393
+ rows: {
394
+ scheme: "numeric" | "odd" | "even" | "alphabetic";
395
+ /**
396
+ * @minimum 1
397
+ * @maximum 1000000000
398
+ */
399
+ startAt: number;
400
+ direction: "forward" | "reverse";
401
+ /**
402
+ * Unicode code-point length; control characters and unpaired surrogates are rejected.
403
+ * @maxLength 32
404
+ */
405
+ prefix?: string;
406
+ /**
407
+ * Unicode code-point length; control characters and unpaired surrogates are rejected.
408
+ * @maxLength 32
409
+ */
410
+ suffix?: string;
411
+ };
412
+ /** Odd/even numbering requires a matching odd/even startAt value. */
413
+ seats: {
414
+ scheme: "numeric" | "odd" | "even" | "alphabetic";
415
+ /**
416
+ * @minimum 1
417
+ * @maximum 1000000000
418
+ */
419
+ startAt: number;
420
+ direction: "forward" | "reverse";
421
+ /**
422
+ * Unicode code-point length; control characters and unpaired surrogates are rejected.
423
+ * @maxLength 32
424
+ */
425
+ prefix?: string;
426
+ /**
427
+ * Unicode code-point length; control characters and unpaired surrogates are rejected.
428
+ * @maxLength 32
429
+ */
430
+ suffix?: string;
431
+ };
432
+ rowStyle: {
433
+ visible: boolean;
434
+ /**
435
+ * @minimum 0.001
436
+ * @maximum 10000
437
+ */
438
+ fontSizeM: number;
439
+ position: "left" | "right" | "both";
440
+ };
441
+ };
442
+ /**
443
+ * @minItems 1
444
+ * @maxItems 100000
445
+ */
446
+ rows: {
447
+ /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
448
+ id: string;
449
+ /**
450
+ * Unicode code-point length; control characters and unpaired surrogates are rejected.
451
+ * @maxLength 80
452
+ */
453
+ labelOverride?: string;
454
+ offsetM?: {
455
+ /**
456
+ * @minimum -10000
457
+ * @maximum 10000
458
+ */
459
+ x: number;
460
+ /**
461
+ * @minimum -10000
462
+ * @maximum 10000
463
+ */
464
+ y: number;
465
+ };
466
+ /** Odd/even numbering requires a matching odd/even startAt value. */
467
+ seatSequenceOverride?: {
468
+ scheme: "numeric" | "odd" | "even" | "alphabetic";
469
+ /**
470
+ * @minimum 1
471
+ * @maximum 1000000000
472
+ */
473
+ startAt: number;
474
+ direction: "forward" | "reverse";
475
+ /**
476
+ * Unicode code-point length; control characters and unpaired surrogates are rejected.
477
+ * @maxLength 32
478
+ */
479
+ prefix?: string;
480
+ /**
481
+ * Unicode code-point length; control characters and unpaired surrogates are rejected.
482
+ * @maxLength 32
483
+ */
484
+ suffix?: string;
485
+ };
486
+ /**
487
+ * @minItems 1
488
+ * @maxItems 100000
489
+ */
490
+ seats: {
491
+ /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
492
+ id: string;
493
+ /**
494
+ * Unicode code-point length; control characters and unpaired surrogates are rejected.
495
+ * @maxLength 80
496
+ */
497
+ labelOverride?: string;
498
+ attributes?: {
499
+ accessible?: boolean;
500
+ restrictedView?: boolean;
501
+ hearingAssistance?: boolean;
502
+ semiAmbulatory?: boolean;
503
+ /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
504
+ companionForSeatId?: string;
505
+ };
506
+ override?: {
507
+ offsetM?: {
508
+ /**
509
+ * @minimum -10000
510
+ * @maximum 10000
511
+ */
512
+ x: number;
513
+ /**
514
+ * @minimum -10000
515
+ * @maximum 10000
516
+ */
517
+ y: number;
518
+ };
519
+ /**
520
+ * @minimum -180
521
+ * @exclusiveMaximum 180
522
+ */
523
+ rotationDeltaDeg?: number;
524
+ sizeM?: {
525
+ /**
526
+ * @minimum 0.001
527
+ * @maximum 10000
528
+ */
529
+ width: number;
530
+ /**
531
+ * @minimum 0.001
532
+ * @maximum 10000
533
+ */
534
+ height: number;
535
+ };
536
+ };
537
+ }[];
538
+ }[];
539
+ } | {
540
+ /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
541
+ id: string;
542
+ /**
543
+ * @nullable
544
+ * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
545
+ */
546
+ parentId: string | null;
547
+ transform: {
548
+ positionM: {
549
+ /**
550
+ * @minimum -10000
551
+ * @maximum 10000
552
+ */
553
+ x: number;
554
+ /**
555
+ * @minimum -10000
556
+ * @maximum 10000
557
+ */
558
+ y: number;
559
+ };
560
+ /**
561
+ * @minimum -180
562
+ * @exclusiveMaximum 180
563
+ */
564
+ rotationDeg: number;
565
+ flipX?: boolean;
566
+ flipY?: boolean;
567
+ };
568
+ /**
569
+ * @minimum -2147483648
570
+ * @maximum 2147483647
571
+ */
572
+ zIndex: number;
573
+ /**
574
+ * Nonempty, trimmed name; at most 120 Unicode code points. Control characters and unpaired surrogates are rejected.
575
+ * @minLength 1
576
+ * @maxLength 120
577
+ */
578
+ name: string;
579
+ /**
580
+ * @nullable
581
+ * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
582
+ */
583
+ sectionId: string | null;
584
+ seatSizeM: {
585
+ /**
586
+ * @minimum 0.001
587
+ * @maximum 10000
588
+ */
589
+ width: number;
590
+ /**
591
+ * @minimum 0.001
592
+ * @maximum 10000
593
+ */
594
+ height: number;
595
+ };
596
+ boundary?: {
597
+ /**
598
+ * Implicitly closed ring; the last vertex must not repeat the first.
599
+ * @minItems 3
600
+ * @maxItems 10000
601
+ */
602
+ outer: {
603
+ /**
604
+ * @minimum -10000
605
+ * @maximum 10000
606
+ */
607
+ x: number;
608
+ /**
609
+ * @minimum -10000
610
+ * @maximum 10000
611
+ */
612
+ y: number;
613
+ }[];
614
+ /**
615
+ * @maxItems 10000
616
+ * @items.minItems 3
617
+ * @items.maxItems 10000
618
+ */
619
+ holes: {
620
+ /**
621
+ * @minimum -10000
622
+ * @maximum 10000
623
+ */
624
+ x: number;
625
+ /**
626
+ * @minimum -10000
627
+ * @maximum 10000
628
+ */
629
+ y: number;
630
+ }[][];
631
+ };
632
+ seatLabelStyle: {
633
+ visible: boolean;
634
+ /**
635
+ * @minimum 0.001
636
+ * @maximum 10000
637
+ */
638
+ fontSizeM: number;
639
+ };
640
+ kind: "curvedRows";
641
+ recipe: {
642
+ /**
643
+ * @minimum 0.001
644
+ * @maximum 10000
645
+ */
646
+ innerRadiusM: number;
647
+ /**
648
+ * @minimum 0.01
649
+ * @maximum 100
650
+ */
651
+ axisRatio?: number;
652
+ /**
653
+ * @minimum 0.001
654
+ * @maximum 10000
655
+ */
656
+ rowPitchM: number;
657
+ placement: {
658
+ kind: "fixedSweep";
659
+ /**
660
+ * @minimum -180
661
+ * @exclusiveMaximum 180
662
+ */
663
+ startAngleDeg: number;
664
+ /**
665
+ * @minimum -360
666
+ * @maximum 360
667
+ */
668
+ sweepAngleDeg: number;
669
+ } | {
670
+ kind: "fixedPitch";
671
+ /**
672
+ * @minimum -180
673
+ * @exclusiveMaximum 180
674
+ */
675
+ centerAngleDeg: number;
676
+ /**
677
+ * @minimum 0.001
678
+ * @maximum 10000
679
+ */
680
+ seatPitchM: number;
681
+ };
682
+ };
683
+ labels: {
684
+ /** Odd/even numbering requires a matching odd/even startAt value. */
685
+ rows: {
686
+ scheme: "numeric" | "odd" | "even" | "alphabetic";
687
+ /**
688
+ * @minimum 1
689
+ * @maximum 1000000000
690
+ */
691
+ startAt: number;
692
+ direction: "forward" | "reverse";
693
+ /**
694
+ * Unicode code-point length; control characters and unpaired surrogates are rejected.
695
+ * @maxLength 32
696
+ */
697
+ prefix?: string;
698
+ /**
699
+ * Unicode code-point length; control characters and unpaired surrogates are rejected.
700
+ * @maxLength 32
701
+ */
702
+ suffix?: string;
703
+ };
704
+ /** Odd/even numbering requires a matching odd/even startAt value. */
705
+ seats: {
706
+ scheme: "numeric" | "odd" | "even" | "alphabetic";
707
+ /**
708
+ * @minimum 1
709
+ * @maximum 1000000000
710
+ */
711
+ startAt: number;
712
+ direction: "forward" | "reverse";
713
+ /**
714
+ * Unicode code-point length; control characters and unpaired surrogates are rejected.
715
+ * @maxLength 32
716
+ */
717
+ prefix?: string;
718
+ /**
719
+ * Unicode code-point length; control characters and unpaired surrogates are rejected.
720
+ * @maxLength 32
721
+ */
722
+ suffix?: string;
723
+ };
724
+ rowStyle: {
725
+ visible: boolean;
726
+ /**
727
+ * @minimum 0.001
728
+ * @maximum 10000
729
+ */
730
+ fontSizeM: number;
731
+ position: "left" | "right" | "both";
732
+ };
733
+ };
734
+ /**
735
+ * @minItems 1
736
+ * @maxItems 100000
737
+ */
738
+ rows: {
739
+ /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
740
+ id: string;
741
+ /**
742
+ * Unicode code-point length; control characters and unpaired surrogates are rejected.
743
+ * @maxLength 80
744
+ */
745
+ labelOverride?: string;
746
+ offsetM?: {
747
+ /**
748
+ * @minimum -10000
749
+ * @maximum 10000
750
+ */
751
+ x: number;
752
+ /**
753
+ * @minimum -10000
754
+ * @maximum 10000
755
+ */
756
+ y: number;
757
+ };
758
+ /** Odd/even numbering requires a matching odd/even startAt value. */
759
+ seatSequenceOverride?: {
760
+ scheme: "numeric" | "odd" | "even" | "alphabetic";
761
+ /**
762
+ * @minimum 1
763
+ * @maximum 1000000000
764
+ */
765
+ startAt: number;
766
+ direction: "forward" | "reverse";
767
+ /**
768
+ * Unicode code-point length; control characters and unpaired surrogates are rejected.
769
+ * @maxLength 32
770
+ */
771
+ prefix?: string;
772
+ /**
773
+ * Unicode code-point length; control characters and unpaired surrogates are rejected.
774
+ * @maxLength 32
775
+ */
776
+ suffix?: string;
777
+ };
778
+ /**
779
+ * @minItems 1
780
+ * @maxItems 100000
781
+ */
782
+ seats: {
783
+ /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
784
+ id: string;
785
+ /**
786
+ * Unicode code-point length; control characters and unpaired surrogates are rejected.
787
+ * @maxLength 80
788
+ */
789
+ labelOverride?: string;
790
+ attributes?: {
791
+ accessible?: boolean;
792
+ restrictedView?: boolean;
793
+ hearingAssistance?: boolean;
794
+ semiAmbulatory?: boolean;
795
+ /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
796
+ companionForSeatId?: string;
797
+ };
798
+ override?: {
799
+ offsetM?: {
800
+ /**
801
+ * @minimum -10000
802
+ * @maximum 10000
803
+ */
804
+ x: number;
805
+ /**
806
+ * @minimum -10000
807
+ * @maximum 10000
808
+ */
809
+ y: number;
810
+ };
811
+ /**
812
+ * @minimum -180
813
+ * @exclusiveMaximum 180
814
+ */
815
+ rotationDeltaDeg?: number;
816
+ sizeM?: {
817
+ /**
818
+ * @minimum 0.001
819
+ * @maximum 10000
820
+ */
821
+ width: number;
822
+ /**
823
+ * @minimum 0.001
824
+ * @maximum 10000
825
+ */
826
+ height: number;
827
+ };
828
+ };
829
+ }[];
830
+ }[];
831
+ } | {
832
+ /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
833
+ id: string;
834
+ /**
835
+ * @nullable
836
+ * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
837
+ */
838
+ parentId: string | null;
839
+ transform: {
840
+ positionM: {
841
+ /**
842
+ * @minimum -10000
843
+ * @maximum 10000
844
+ */
845
+ x: number;
846
+ /**
847
+ * @minimum -10000
848
+ * @maximum 10000
849
+ */
850
+ y: number;
851
+ };
852
+ /**
853
+ * @minimum -180
854
+ * @exclusiveMaximum 180
855
+ */
856
+ rotationDeg: number;
857
+ flipX?: boolean;
858
+ flipY?: boolean;
859
+ };
860
+ /**
861
+ * @minimum -2147483648
862
+ * @maximum 2147483647
863
+ */
864
+ zIndex: number;
865
+ /**
866
+ * Nonempty, trimmed name; at most 120 Unicode code points. Control characters and unpaired surrogates are rejected.
867
+ * @minLength 1
868
+ * @maxLength 120
869
+ */
870
+ name: string;
871
+ /**
872
+ * @nullable
873
+ * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
874
+ */
875
+ sectionId: string | null;
876
+ seatSizeM: {
877
+ /**
878
+ * @minimum 0.001
879
+ * @maximum 10000
880
+ */
881
+ width: number;
882
+ /**
883
+ * @minimum 0.001
884
+ * @maximum 10000
885
+ */
886
+ height: number;
887
+ };
888
+ boundary?: {
889
+ /**
890
+ * Implicitly closed ring; the last vertex must not repeat the first.
891
+ * @minItems 3
892
+ * @maxItems 10000
893
+ */
894
+ outer: {
895
+ /**
896
+ * @minimum -10000
897
+ * @maximum 10000
898
+ */
899
+ x: number;
900
+ /**
901
+ * @minimum -10000
902
+ * @maximum 10000
903
+ */
904
+ y: number;
905
+ }[];
906
+ /**
907
+ * @maxItems 10000
908
+ * @items.minItems 3
909
+ * @items.maxItems 10000
910
+ */
911
+ holes: {
912
+ /**
913
+ * @minimum -10000
914
+ * @maximum 10000
915
+ */
916
+ x: number;
917
+ /**
918
+ * @minimum -10000
919
+ * @maximum 10000
920
+ */
921
+ y: number;
922
+ }[][];
923
+ };
924
+ seatLabelStyle: {
925
+ visible: boolean;
926
+ /**
927
+ * @minimum 0.001
928
+ * @maximum 10000
929
+ */
930
+ fontSizeM: number;
931
+ };
932
+ kind: "rectangularTable";
933
+ recipe: {
934
+ /**
935
+ * @minimum 0.001
936
+ * @maximum 10000
937
+ */
938
+ widthM: number;
939
+ /**
940
+ * @minimum 0.001
941
+ * @maximum 10000
942
+ */
943
+ depthM: number;
944
+ /**
945
+ * @minimum 0
946
+ * @maximum 10000
947
+ */
948
+ chairGapM: number;
949
+ /**
950
+ * @minimum 0.001
951
+ * @maximum 10000
952
+ */
953
+ chairPitchM?: number;
954
+ };
955
+ labels: {
956
+ /**
957
+ * Unicode code-point length; control characters and unpaired surrogates are rejected.
958
+ * @maxLength 80
959
+ */
960
+ table: string;
961
+ /** Odd/even numbering requires a matching odd/even startAt value. */
962
+ chairs: {
963
+ scheme: "numeric" | "odd" | "even" | "alphabetic";
964
+ /**
965
+ * @minimum 1
966
+ * @maximum 1000000000
967
+ */
968
+ startAt: number;
969
+ direction: "forward" | "reverse";
970
+ /**
971
+ * Unicode code-point length; control characters and unpaired surrogates are rejected.
972
+ * @maxLength 32
973
+ */
974
+ prefix?: string;
975
+ /**
976
+ * Unicode code-point length; control characters and unpaired surrogates are rejected.
977
+ * @maxLength 32
978
+ */
979
+ suffix?: string;
980
+ };
981
+ tableStyle: {
982
+ visible: boolean;
983
+ /**
984
+ * @minimum 0.001
985
+ * @maximum 10000
986
+ */
987
+ fontSizeM: number;
988
+ };
989
+ };
990
+ chairsBySide: {
991
+ /** @maxItems 100000 */
992
+ top: {
993
+ /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
994
+ id: string;
995
+ /**
996
+ * Unicode code-point length; control characters and unpaired surrogates are rejected.
997
+ * @maxLength 80
998
+ */
999
+ labelOverride?: string;
1000
+ attributes?: {
1001
+ accessible?: boolean;
1002
+ restrictedView?: boolean;
1003
+ hearingAssistance?: boolean;
1004
+ semiAmbulatory?: boolean;
1005
+ /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
1006
+ companionForSeatId?: string;
1007
+ };
1008
+ override?: {
1009
+ offsetM?: {
1010
+ /**
1011
+ * @minimum -10000
1012
+ * @maximum 10000
1013
+ */
1014
+ x: number;
1015
+ /**
1016
+ * @minimum -10000
1017
+ * @maximum 10000
1018
+ */
1019
+ y: number;
1020
+ };
1021
+ /**
1022
+ * @minimum -180
1023
+ * @exclusiveMaximum 180
1024
+ */
1025
+ rotationDeltaDeg?: number;
1026
+ sizeM?: {
1027
+ /**
1028
+ * @minimum 0.001
1029
+ * @maximum 10000
1030
+ */
1031
+ width: number;
1032
+ /**
1033
+ * @minimum 0.001
1034
+ * @maximum 10000
1035
+ */
1036
+ height: number;
1037
+ };
1038
+ };
1039
+ }[];
1040
+ /** @maxItems 100000 */
1041
+ right: {
1042
+ /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
1043
+ id: string;
1044
+ /**
1045
+ * Unicode code-point length; control characters and unpaired surrogates are rejected.
1046
+ * @maxLength 80
1047
+ */
1048
+ labelOverride?: string;
1049
+ attributes?: {
1050
+ accessible?: boolean;
1051
+ restrictedView?: boolean;
1052
+ hearingAssistance?: boolean;
1053
+ semiAmbulatory?: boolean;
1054
+ /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
1055
+ companionForSeatId?: string;
1056
+ };
1057
+ override?: {
1058
+ offsetM?: {
1059
+ /**
1060
+ * @minimum -10000
1061
+ * @maximum 10000
1062
+ */
1063
+ x: number;
1064
+ /**
1065
+ * @minimum -10000
1066
+ * @maximum 10000
1067
+ */
1068
+ y: number;
1069
+ };
1070
+ /**
1071
+ * @minimum -180
1072
+ * @exclusiveMaximum 180
1073
+ */
1074
+ rotationDeltaDeg?: number;
1075
+ sizeM?: {
1076
+ /**
1077
+ * @minimum 0.001
1078
+ * @maximum 10000
1079
+ */
1080
+ width: number;
1081
+ /**
1082
+ * @minimum 0.001
1083
+ * @maximum 10000
1084
+ */
1085
+ height: number;
1086
+ };
1087
+ };
1088
+ }[];
1089
+ /** @maxItems 100000 */
1090
+ bottom: {
1091
+ /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
1092
+ id: string;
1093
+ /**
1094
+ * Unicode code-point length; control characters and unpaired surrogates are rejected.
1095
+ * @maxLength 80
1096
+ */
1097
+ labelOverride?: string;
1098
+ attributes?: {
1099
+ accessible?: boolean;
1100
+ restrictedView?: boolean;
1101
+ hearingAssistance?: boolean;
1102
+ semiAmbulatory?: boolean;
1103
+ /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
1104
+ companionForSeatId?: string;
1105
+ };
1106
+ override?: {
1107
+ offsetM?: {
1108
+ /**
1109
+ * @minimum -10000
1110
+ * @maximum 10000
1111
+ */
1112
+ x: number;
1113
+ /**
1114
+ * @minimum -10000
1115
+ * @maximum 10000
1116
+ */
1117
+ y: number;
1118
+ };
1119
+ /**
1120
+ * @minimum -180
1121
+ * @exclusiveMaximum 180
1122
+ */
1123
+ rotationDeltaDeg?: number;
1124
+ sizeM?: {
1125
+ /**
1126
+ * @minimum 0.001
1127
+ * @maximum 10000
1128
+ */
1129
+ width: number;
1130
+ /**
1131
+ * @minimum 0.001
1132
+ * @maximum 10000
1133
+ */
1134
+ height: number;
1135
+ };
1136
+ };
1137
+ }[];
1138
+ /** @maxItems 100000 */
1139
+ left: {
1140
+ /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
1141
+ id: string;
1142
+ /**
1143
+ * Unicode code-point length; control characters and unpaired surrogates are rejected.
1144
+ * @maxLength 80
1145
+ */
1146
+ labelOverride?: string;
1147
+ attributes?: {
1148
+ accessible?: boolean;
1149
+ restrictedView?: boolean;
1150
+ hearingAssistance?: boolean;
1151
+ semiAmbulatory?: boolean;
1152
+ /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
1153
+ companionForSeatId?: string;
1154
+ };
1155
+ override?: {
1156
+ offsetM?: {
1157
+ /**
1158
+ * @minimum -10000
1159
+ * @maximum 10000
1160
+ */
1161
+ x: number;
1162
+ /**
1163
+ * @minimum -10000
1164
+ * @maximum 10000
1165
+ */
1166
+ y: number;
1167
+ };
1168
+ /**
1169
+ * @minimum -180
1170
+ * @exclusiveMaximum 180
1171
+ */
1172
+ rotationDeltaDeg?: number;
1173
+ sizeM?: {
1174
+ /**
1175
+ * @minimum 0.001
1176
+ * @maximum 10000
1177
+ */
1178
+ width: number;
1179
+ /**
1180
+ * @minimum 0.001
1181
+ * @maximum 10000
1182
+ */
1183
+ height: number;
1184
+ };
1185
+ };
1186
+ }[];
1187
+ };
1188
+ } | {
1189
+ /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
1190
+ id: string;
1191
+ /**
1192
+ * @nullable
1193
+ * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
1194
+ */
1195
+ parentId: string | null;
1196
+ transform: {
1197
+ positionM: {
1198
+ /**
1199
+ * @minimum -10000
1200
+ * @maximum 10000
1201
+ */
1202
+ x: number;
1203
+ /**
1204
+ * @minimum -10000
1205
+ * @maximum 10000
1206
+ */
1207
+ y: number;
1208
+ };
1209
+ /**
1210
+ * @minimum -180
1211
+ * @exclusiveMaximum 180
1212
+ */
1213
+ rotationDeg: number;
1214
+ flipX?: boolean;
1215
+ flipY?: boolean;
1216
+ };
1217
+ /**
1218
+ * @minimum -2147483648
1219
+ * @maximum 2147483647
1220
+ */
1221
+ zIndex: number;
1222
+ /**
1223
+ * Nonempty, trimmed name; at most 120 Unicode code points. Control characters and unpaired surrogates are rejected.
1224
+ * @minLength 1
1225
+ * @maxLength 120
1226
+ */
1227
+ name: string;
1228
+ /**
1229
+ * @nullable
1230
+ * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
1231
+ */
1232
+ sectionId: string | null;
1233
+ seatSizeM: {
1234
+ /**
1235
+ * @minimum 0.001
1236
+ * @maximum 10000
1237
+ */
1238
+ width: number;
1239
+ /**
1240
+ * @minimum 0.001
1241
+ * @maximum 10000
1242
+ */
1243
+ height: number;
1244
+ };
1245
+ boundary?: {
1246
+ /**
1247
+ * Implicitly closed ring; the last vertex must not repeat the first.
1248
+ * @minItems 3
1249
+ * @maxItems 10000
1250
+ */
1251
+ outer: {
1252
+ /**
1253
+ * @minimum -10000
1254
+ * @maximum 10000
1255
+ */
1256
+ x: number;
1257
+ /**
1258
+ * @minimum -10000
1259
+ * @maximum 10000
1260
+ */
1261
+ y: number;
1262
+ }[];
1263
+ /**
1264
+ * @maxItems 10000
1265
+ * @items.minItems 3
1266
+ * @items.maxItems 10000
1267
+ */
1268
+ holes: {
1269
+ /**
1270
+ * @minimum -10000
1271
+ * @maximum 10000
1272
+ */
1273
+ x: number;
1274
+ /**
1275
+ * @minimum -10000
1276
+ * @maximum 10000
1277
+ */
1278
+ y: number;
1279
+ }[][];
1280
+ };
1281
+ seatLabelStyle: {
1282
+ visible: boolean;
1283
+ /**
1284
+ * @minimum 0.001
1285
+ * @maximum 10000
1286
+ */
1287
+ fontSizeM: number;
1288
+ };
1289
+ kind: "roundTable";
1290
+ recipe: {
1291
+ /**
1292
+ * @minimum 0.001
1293
+ * @maximum 10000
1294
+ */
1295
+ diameterM: number;
1296
+ /**
1297
+ * @minimum 0
1298
+ * @maximum 10000
1299
+ */
1300
+ chairGapM: number;
1301
+ /**
1302
+ * @minimum -180
1303
+ * @exclusiveMaximum 180
1304
+ */
1305
+ startAngleDeg: number;
1306
+ };
1307
+ labels: {
1308
+ /**
1309
+ * Unicode code-point length; control characters and unpaired surrogates are rejected.
1310
+ * @maxLength 80
1311
+ */
1312
+ table: string;
1313
+ /** Odd/even numbering requires a matching odd/even startAt value. */
1314
+ chairs: {
1315
+ scheme: "numeric" | "odd" | "even" | "alphabetic";
1316
+ /**
1317
+ * @minimum 1
1318
+ * @maximum 1000000000
1319
+ */
1320
+ startAt: number;
1321
+ direction: "forward" | "reverse";
1322
+ /**
1323
+ * Unicode code-point length; control characters and unpaired surrogates are rejected.
1324
+ * @maxLength 32
1325
+ */
1326
+ prefix?: string;
1327
+ /**
1328
+ * Unicode code-point length; control characters and unpaired surrogates are rejected.
1329
+ * @maxLength 32
1330
+ */
1331
+ suffix?: string;
1332
+ };
1333
+ tableStyle: {
1334
+ visible: boolean;
1335
+ /**
1336
+ * @minimum 0.001
1337
+ * @maximum 10000
1338
+ */
1339
+ fontSizeM: number;
1340
+ };
1341
+ };
1342
+ /**
1343
+ * @minItems 1
1344
+ * @maxItems 100000
1345
+ */
1346
+ chairs: {
1347
+ /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
1348
+ id: string;
1349
+ /**
1350
+ * Unicode code-point length; control characters and unpaired surrogates are rejected.
1351
+ * @maxLength 80
1352
+ */
1353
+ labelOverride?: string;
1354
+ attributes?: {
1355
+ accessible?: boolean;
1356
+ restrictedView?: boolean;
1357
+ hearingAssistance?: boolean;
1358
+ semiAmbulatory?: boolean;
1359
+ /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
1360
+ companionForSeatId?: string;
1361
+ };
1362
+ override?: {
1363
+ offsetM?: {
1364
+ /**
1365
+ * @minimum -10000
1366
+ * @maximum 10000
1367
+ */
1368
+ x: number;
1369
+ /**
1370
+ * @minimum -10000
1371
+ * @maximum 10000
1372
+ */
1373
+ y: number;
1374
+ };
1375
+ /**
1376
+ * @minimum -180
1377
+ * @exclusiveMaximum 180
1378
+ */
1379
+ rotationDeltaDeg?: number;
1380
+ sizeM?: {
1381
+ /**
1382
+ * @minimum 0.001
1383
+ * @maximum 10000
1384
+ */
1385
+ width: number;
1386
+ /**
1387
+ * @minimum 0.001
1388
+ * @maximum 10000
1389
+ */
1390
+ height: number;
1391
+ };
1392
+ };
1393
+ }[];
1394
+ };
1395
+ export type PhysicalDocumentV1DtoAreasItemTransformPositionM = {
1396
+ /**
1397
+ * @minimum -10000
1398
+ * @maximum 10000
1399
+ */
1400
+ x: number;
1401
+ /**
1402
+ * @minimum -10000
1403
+ * @maximum 10000
1404
+ */
1405
+ y: number;
1406
+ };
1407
+ export type PhysicalDocumentV1DtoAreasItemTransform = {
1408
+ positionM: PhysicalDocumentV1DtoAreasItemTransformPositionM;
1409
+ /**
1410
+ * @minimum -180
1411
+ * @exclusiveMaximum 180
1412
+ */
1413
+ rotationDeg: number;
1414
+ flipX?: boolean;
1415
+ flipY?: boolean;
1416
+ };
1417
+ export type PhysicalDocumentV1DtoAreasItemLabelStyle = {
1418
+ visible: boolean;
1419
+ /**
1420
+ * @minimum 0.001
1421
+ * @maximum 10000
1422
+ */
1423
+ fontSizeM: number;
1424
+ };
1425
+ export type PhysicalDocumentV1DtoAreasItemShape = {
1426
+ kind: "rectangle";
1427
+ /**
1428
+ * @minimum 0.001
1429
+ * @maximum 10000
1430
+ */
1431
+ widthM: number;
1432
+ /**
1433
+ * @minimum 0.001
1434
+ * @maximum 10000
1435
+ */
1436
+ heightM: number;
1437
+ /**
1438
+ * @minimum 0
1439
+ * @maximum 10000
1440
+ */
1441
+ cornerRadiusM: number;
1442
+ } | {
1443
+ kind: "polygon";
1444
+ boundary: {
1445
+ /**
1446
+ * Implicitly closed ring; the last vertex must not repeat the first.
1447
+ * @minItems 3
1448
+ * @maxItems 10000
1449
+ */
1450
+ outer: {
1451
+ /**
1452
+ * @minimum -10000
1453
+ * @maximum 10000
1454
+ */
1455
+ x: number;
1456
+ /**
1457
+ * @minimum -10000
1458
+ * @maximum 10000
1459
+ */
1460
+ y: number;
1461
+ }[];
1462
+ /**
1463
+ * @maxItems 10000
1464
+ * @items.minItems 3
1465
+ * @items.maxItems 10000
1466
+ */
1467
+ holes: {
1468
+ /**
1469
+ * @minimum -10000
1470
+ * @maximum 10000
1471
+ */
1472
+ x: number;
1473
+ /**
1474
+ * @minimum -10000
1475
+ * @maximum 10000
1476
+ */
1477
+ y: number;
1478
+ }[][];
1479
+ };
1480
+ };
1481
+ export type PhysicalDocumentV1DtoAreasItem = {
1482
+ /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
1483
+ id: string;
1484
+ /**
1485
+ * @nullable
1486
+ * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
1487
+ */
1488
+ parentId: string | null;
1489
+ transform: PhysicalDocumentV1DtoAreasItemTransform;
1490
+ /**
1491
+ * @minimum -2147483648
1492
+ * @maximum 2147483647
1493
+ */
1494
+ zIndex: number;
1495
+ kind: PhysicalDocumentV1DtoAreasItemKind;
1496
+ /**
1497
+ * @nullable
1498
+ * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
1499
+ */
1500
+ sectionId: string | null;
1501
+ /**
1502
+ * Unicode code-point length; control characters and unpaired surrogates are rejected.
1503
+ * @maxLength 80
1504
+ */
1505
+ label: string;
1506
+ labelStyle: PhysicalDocumentV1DtoAreasItemLabelStyle;
1507
+ /**
1508
+ * @minimum 1
1509
+ * @maximum 2147483647
1510
+ */
1511
+ capacity: number;
1512
+ shape: PhysicalDocumentV1DtoAreasItemShape;
1513
+ };
1514
+ export type PhysicalDocumentV1DtoDecorationsItem = {
1515
+ /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
1516
+ id: string;
1517
+ /**
1518
+ * @nullable
1519
+ * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
1520
+ */
1521
+ parentId: string | null;
1522
+ transform: {
1523
+ positionM: {
1524
+ /**
1525
+ * @minimum -10000
1526
+ * @maximum 10000
1527
+ */
1528
+ x: number;
1529
+ /**
1530
+ * @minimum -10000
1531
+ * @maximum 10000
1532
+ */
1533
+ y: number;
1534
+ };
1535
+ /**
1536
+ * @minimum -180
1537
+ * @exclusiveMaximum 180
1538
+ */
1539
+ rotationDeg: number;
1540
+ flipX?: boolean;
1541
+ flipY?: boolean;
1542
+ };
1543
+ /**
1544
+ * @minimum -2147483648
1545
+ * @maximum 2147483647
1546
+ */
1547
+ zIndex: number;
1548
+ style?: {
1549
+ fill?: {
1550
+ /** @pattern ^#[0-9a-fA-F]{6}$ */
1551
+ color: string;
1552
+ /**
1553
+ * @minimum 0
1554
+ * @maximum 1
1555
+ */
1556
+ opacity: number;
1557
+ };
1558
+ stroke?: {
1559
+ /** @pattern ^#[0-9a-fA-F]{6}$ */
1560
+ color: string;
1561
+ /**
1562
+ * @minimum 0
1563
+ * @maximum 1
1564
+ */
1565
+ opacity: number;
1566
+ };
1567
+ /**
1568
+ * @minimum 0
1569
+ * @maximum 10000
1570
+ */
1571
+ strokeWidthM?: number;
1572
+ };
1573
+ kind: "text";
1574
+ /**
1575
+ * Unicode code-point length; control characters and unpaired surrogates are rejected.
1576
+ * @maxLength 10000
1577
+ */
1578
+ text: string;
1579
+ /**
1580
+ * @minimum 0.001
1581
+ * @maximum 10000
1582
+ */
1583
+ fontSizeM: number;
1584
+ align: "left" | "center" | "right";
1585
+ } | {
1586
+ /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
1587
+ id: string;
1588
+ /**
1589
+ * @nullable
1590
+ * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
1591
+ */
1592
+ parentId: string | null;
1593
+ transform: {
1594
+ positionM: {
1595
+ /**
1596
+ * @minimum -10000
1597
+ * @maximum 10000
1598
+ */
1599
+ x: number;
1600
+ /**
1601
+ * @minimum -10000
1602
+ * @maximum 10000
1603
+ */
1604
+ y: number;
1605
+ };
1606
+ /**
1607
+ * @minimum -180
1608
+ * @exclusiveMaximum 180
1609
+ */
1610
+ rotationDeg: number;
1611
+ flipX?: boolean;
1612
+ flipY?: boolean;
1613
+ };
1614
+ /**
1615
+ * @minimum -2147483648
1616
+ * @maximum 2147483647
1617
+ */
1618
+ zIndex: number;
1619
+ style?: {
1620
+ fill?: {
1621
+ /** @pattern ^#[0-9a-fA-F]{6}$ */
1622
+ color: string;
1623
+ /**
1624
+ * @minimum 0
1625
+ * @maximum 1
1626
+ */
1627
+ opacity: number;
1628
+ };
1629
+ stroke?: {
1630
+ /** @pattern ^#[0-9a-fA-F]{6}$ */
1631
+ color: string;
1632
+ /**
1633
+ * @minimum 0
1634
+ * @maximum 1
1635
+ */
1636
+ opacity: number;
1637
+ };
1638
+ /**
1639
+ * @minimum 0
1640
+ * @maximum 10000
1641
+ */
1642
+ strokeWidthM?: number;
1643
+ };
1644
+ kind: "rectangle";
1645
+ sizeM: {
1646
+ /**
1647
+ * @minimum 0.001
1648
+ * @maximum 10000
1649
+ */
1650
+ width: number;
1651
+ /**
1652
+ * @minimum 0.001
1653
+ * @maximum 10000
1654
+ */
1655
+ height: number;
1656
+ };
1657
+ /**
1658
+ * @minimum 0
1659
+ * @maximum 10000
1660
+ */
1661
+ cornerRadiusM: number;
1662
+ } | {
1663
+ /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
1664
+ id: string;
1665
+ /**
1666
+ * @nullable
1667
+ * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
1668
+ */
1669
+ parentId: string | null;
1670
+ transform: {
1671
+ positionM: {
1672
+ /**
1673
+ * @minimum -10000
1674
+ * @maximum 10000
1675
+ */
1676
+ x: number;
1677
+ /**
1678
+ * @minimum -10000
1679
+ * @maximum 10000
1680
+ */
1681
+ y: number;
1682
+ };
1683
+ /**
1684
+ * @minimum -180
1685
+ * @exclusiveMaximum 180
1686
+ */
1687
+ rotationDeg: number;
1688
+ flipX?: boolean;
1689
+ flipY?: boolean;
1690
+ };
1691
+ /**
1692
+ * @minimum -2147483648
1693
+ * @maximum 2147483647
1694
+ */
1695
+ zIndex: number;
1696
+ style?: {
1697
+ fill?: {
1698
+ /** @pattern ^#[0-9a-fA-F]{6}$ */
1699
+ color: string;
1700
+ /**
1701
+ * @minimum 0
1702
+ * @maximum 1
1703
+ */
1704
+ opacity: number;
1705
+ };
1706
+ stroke?: {
1707
+ /** @pattern ^#[0-9a-fA-F]{6}$ */
1708
+ color: string;
1709
+ /**
1710
+ * @minimum 0
1711
+ * @maximum 1
1712
+ */
1713
+ opacity: number;
1714
+ };
1715
+ /**
1716
+ * @minimum 0
1717
+ * @maximum 10000
1718
+ */
1719
+ strokeWidthM?: number;
1720
+ };
1721
+ kind: "circle";
1722
+ /**
1723
+ * @minimum 0.001
1724
+ * @maximum 10000
1725
+ */
1726
+ radiusM: number;
1727
+ } | {
1728
+ /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
1729
+ id: string;
1730
+ /**
1731
+ * @nullable
1732
+ * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
1733
+ */
1734
+ parentId: string | null;
1735
+ transform: {
1736
+ positionM: {
1737
+ /**
1738
+ * @minimum -10000
1739
+ * @maximum 10000
1740
+ */
1741
+ x: number;
1742
+ /**
1743
+ * @minimum -10000
1744
+ * @maximum 10000
1745
+ */
1746
+ y: number;
1747
+ };
1748
+ /**
1749
+ * @minimum -180
1750
+ * @exclusiveMaximum 180
1751
+ */
1752
+ rotationDeg: number;
1753
+ flipX?: boolean;
1754
+ flipY?: boolean;
1755
+ };
1756
+ /**
1757
+ * @minimum -2147483648
1758
+ * @maximum 2147483647
1759
+ */
1760
+ zIndex: number;
1761
+ style?: {
1762
+ fill?: {
1763
+ /** @pattern ^#[0-9a-fA-F]{6}$ */
1764
+ color: string;
1765
+ /**
1766
+ * @minimum 0
1767
+ * @maximum 1
1768
+ */
1769
+ opacity: number;
1770
+ };
1771
+ stroke?: {
1772
+ /** @pattern ^#[0-9a-fA-F]{6}$ */
1773
+ color: string;
1774
+ /**
1775
+ * @minimum 0
1776
+ * @maximum 1
1777
+ */
1778
+ opacity: number;
1779
+ };
1780
+ /**
1781
+ * @minimum 0
1782
+ * @maximum 10000
1783
+ */
1784
+ strokeWidthM?: number;
1785
+ };
1786
+ kind: "line";
1787
+ /**
1788
+ * @minItems 2
1789
+ * @maxItems 10000
1790
+ */
1791
+ pointsM: {
1792
+ /**
1793
+ * @minimum -10000
1794
+ * @maximum 10000
1795
+ */
1796
+ x: number;
1797
+ /**
1798
+ * @minimum -10000
1799
+ * @maximum 10000
1800
+ */
1801
+ y: number;
1802
+ }[];
1803
+ } | {
1804
+ /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
1805
+ id: string;
1806
+ /**
1807
+ * @nullable
1808
+ * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
1809
+ */
1810
+ parentId: string | null;
1811
+ transform: {
1812
+ positionM: {
1813
+ /**
1814
+ * @minimum -10000
1815
+ * @maximum 10000
1816
+ */
1817
+ x: number;
1818
+ /**
1819
+ * @minimum -10000
1820
+ * @maximum 10000
1821
+ */
1822
+ y: number;
1823
+ };
1824
+ /**
1825
+ * @minimum -180
1826
+ * @exclusiveMaximum 180
1827
+ */
1828
+ rotationDeg: number;
1829
+ flipX?: boolean;
1830
+ flipY?: boolean;
1831
+ };
1832
+ /**
1833
+ * @minimum -2147483648
1834
+ * @maximum 2147483647
1835
+ */
1836
+ zIndex: number;
1837
+ style?: {
1838
+ fill?: {
1839
+ /** @pattern ^#[0-9a-fA-F]{6}$ */
1840
+ color: string;
1841
+ /**
1842
+ * @minimum 0
1843
+ * @maximum 1
1844
+ */
1845
+ opacity: number;
1846
+ };
1847
+ stroke?: {
1848
+ /** @pattern ^#[0-9a-fA-F]{6}$ */
1849
+ color: string;
1850
+ /**
1851
+ * @minimum 0
1852
+ * @maximum 1
1853
+ */
1854
+ opacity: number;
1855
+ };
1856
+ /**
1857
+ * @minimum 0
1858
+ * @maximum 10000
1859
+ */
1860
+ strokeWidthM?: number;
1861
+ };
1862
+ kind: "polygon";
1863
+ boundary: {
1864
+ /**
1865
+ * Implicitly closed ring; the last vertex must not repeat the first.
1866
+ * @minItems 3
1867
+ * @maxItems 10000
1868
+ */
1869
+ outer: {
1870
+ /**
1871
+ * @minimum -10000
1872
+ * @maximum 10000
1873
+ */
1874
+ x: number;
1875
+ /**
1876
+ * @minimum -10000
1877
+ * @maximum 10000
1878
+ */
1879
+ y: number;
1880
+ }[];
1881
+ /**
1882
+ * @maxItems 10000
1883
+ * @items.minItems 3
1884
+ * @items.maxItems 10000
1885
+ */
1886
+ holes: {
1887
+ /**
1888
+ * @minimum -10000
1889
+ * @maximum 10000
1890
+ */
1891
+ x: number;
1892
+ /**
1893
+ * @minimum -10000
1894
+ * @maximum 10000
1895
+ */
1896
+ y: number;
1897
+ }[][];
1898
+ };
1899
+ } | {
1900
+ /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
1901
+ id: string;
1902
+ /**
1903
+ * @nullable
1904
+ * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
1905
+ */
1906
+ parentId: string | null;
1907
+ transform: {
1908
+ positionM: {
1909
+ /**
1910
+ * @minimum -10000
1911
+ * @maximum 10000
1912
+ */
1913
+ x: number;
1914
+ /**
1915
+ * @minimum -10000
1916
+ * @maximum 10000
1917
+ */
1918
+ y: number;
1919
+ };
1920
+ /**
1921
+ * @minimum -180
1922
+ * @exclusiveMaximum 180
1923
+ */
1924
+ rotationDeg: number;
1925
+ flipX?: boolean;
1926
+ flipY?: boolean;
1927
+ };
1928
+ /**
1929
+ * @minimum -2147483648
1930
+ * @maximum 2147483647
1931
+ */
1932
+ zIndex: number;
1933
+ style?: {
1934
+ fill?: {
1935
+ /** @pattern ^#[0-9a-fA-F]{6}$ */
1936
+ color: string;
1937
+ /**
1938
+ * @minimum 0
1939
+ * @maximum 1
1940
+ */
1941
+ opacity: number;
1942
+ };
1943
+ stroke?: {
1944
+ /** @pattern ^#[0-9a-fA-F]{6}$ */
1945
+ color: string;
1946
+ /**
1947
+ * @minimum 0
1948
+ * @maximum 1
1949
+ */
1950
+ opacity: number;
1951
+ };
1952
+ /**
1953
+ * @minimum 0
1954
+ * @maximum 10000
1955
+ */
1956
+ strokeWidthM?: number;
1957
+ };
1958
+ kind: "icon";
1959
+ iconId: "stage" | "entrance" | "exit" | "bar" | "restroom" | "accessible";
1960
+ sizeM: {
1961
+ /**
1962
+ * @minimum 0.001
1963
+ * @maximum 10000
1964
+ */
1965
+ width: number;
1966
+ /**
1967
+ * @minimum 0.001
1968
+ * @maximum 10000
1969
+ */
1970
+ height: number;
1971
+ };
1972
+ } | {
1973
+ /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
1974
+ id: string;
1975
+ /**
1976
+ * @nullable
1977
+ * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
1978
+ */
1979
+ parentId: string | null;
1980
+ transform: {
1981
+ positionM: {
1982
+ /**
1983
+ * @minimum -10000
1984
+ * @maximum 10000
1985
+ */
1986
+ x: number;
1987
+ /**
1988
+ * @minimum -10000
1989
+ * @maximum 10000
1990
+ */
1991
+ y: number;
1992
+ };
1993
+ /**
1994
+ * @minimum -180
1995
+ * @exclusiveMaximum 180
1996
+ */
1997
+ rotationDeg: number;
1998
+ flipX?: boolean;
1999
+ flipY?: boolean;
2000
+ };
2001
+ /**
2002
+ * @minimum -2147483648
2003
+ * @maximum 2147483647
2004
+ */
2005
+ zIndex: number;
2006
+ style?: {
2007
+ fill?: {
2008
+ /** @pattern ^#[0-9a-fA-F]{6}$ */
2009
+ color: string;
2010
+ /**
2011
+ * @minimum 0
2012
+ * @maximum 1
2013
+ */
2014
+ opacity: number;
2015
+ };
2016
+ stroke?: {
2017
+ /** @pattern ^#[0-9a-fA-F]{6}$ */
2018
+ color: string;
2019
+ /**
2020
+ * @minimum 0
2021
+ * @maximum 1
2022
+ */
2023
+ opacity: number;
2024
+ };
2025
+ /**
2026
+ * @minimum 0
2027
+ * @maximum 10000
2028
+ */
2029
+ strokeWidthM?: number;
2030
+ };
2031
+ kind: "image";
2032
+ /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
2033
+ assetId: string;
2034
+ sizeM: {
2035
+ /**
2036
+ * @minimum 0.001
2037
+ * @maximum 10000
2038
+ */
2039
+ width: number;
2040
+ /**
2041
+ * @minimum 0.001
2042
+ * @maximum 10000
2043
+ */
2044
+ height: number;
2045
+ };
2046
+ /**
2047
+ * @minimum 0
2048
+ * @maximum 1
2049
+ */
2050
+ opacity: number;
2051
+ };
2052
+ export type PhysicalDocumentV1DtoAssetsItem = {
2053
+ /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
2054
+ id: string;
2055
+ mimeType: PhysicalDocumentV1DtoAssetsItemMimeType;
2056
+ };
2057
+ export interface PhysicalDocumentV1Dto {
2058
+ schemaVersion: PhysicalDocumentV1DtoSchemaVersion;
2059
+ /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
2060
+ mapId: string;
2061
+ /**
2062
+ * Nonempty, trimmed name; at most 120 Unicode code points. Control characters and unpaired surrogates are rejected.
2063
+ * @minLength 1
2064
+ * @maxLength 120
2065
+ */
2066
+ name: string;
2067
+ coordinateSystem: PhysicalDocumentV1DtoCoordinateSystem;
2068
+ background: PhysicalDocumentV1DtoBackground;
2069
+ /** @maxItems 1024 */
2070
+ sections: PhysicalDocumentV1DtoSectionsItem[];
2071
+ /** @maxItems 10000 */
2072
+ collections: PhysicalDocumentV1DtoCollectionsItem[];
2073
+ /** @maxItems 100000 */
2074
+ seatingGroups: PhysicalDocumentV1DtoSeatingGroupsItem[];
2075
+ /** @maxItems 10000 */
2076
+ areas: PhysicalDocumentV1DtoAreasItem[];
2077
+ /** @maxItems 10000 */
2078
+ decorations: PhysicalDocumentV1DtoDecorationsItem[];
2079
+ /** @maxItems 256 */
2080
+ assets: PhysicalDocumentV1DtoAssetsItem[];
2081
+ }
2082
+ export type ReferencePresentationDtoVersion = 1;
2083
+ export type ReferencePresentationDtoSeatsItemState = "unverified" | "available" | "unavailable";
2084
+ export type ReferencePresentationDtoSeatsItemOffer = "standard" | "resale" | "vip";
2085
+ export type ReferencePresentationDtoOverviewMembershipsItem = {
2086
+ /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
2087
+ sectionId: string;
2088
+ /**
2089
+ * @maxItems 1024
2090
+ * @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}$
2091
+ */
2092
+ inventorySectionIds: string[];
2093
+ };
2094
+ export type ReferencePresentationDtoSeatsItem = {
2095
+ /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
2096
+ id: string;
2097
+ state: ReferencePresentationDtoSeatsItemState;
2098
+ offer: ReferencePresentationDtoSeatsItemOffer;
2099
+ matchesFilter?: boolean;
2100
+ };
2101
+ export interface ReferencePresentationDto {
2102
+ version: ReferencePresentationDtoVersion;
2103
+ /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
2104
+ mapId: string;
2105
+ /**
2106
+ * @minLength 1
2107
+ * @maxLength 200
2108
+ */
2109
+ source: string;
2110
+ /** @pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$ */
2111
+ capturedAt: string;
2112
+ /**
2113
+ * @maxItems 1024
2114
+ * @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}$
2115
+ */
2116
+ standingSectionIds?: string[];
2117
+ /** @maxItems 1024 */
2118
+ overviewMemberships?: ReferencePresentationDtoOverviewMembershipsItem[];
2119
+ /** @maxItems 100000 */
2120
+ seats: ReferencePresentationDtoSeatsItem[];
2121
+ }
2122
+ /**
2123
+ * 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.
2124
+ */
2125
+ export type CreateMapDtoContent = {
2126
+ physical: PhysicalDocumentV1Dto;
2127
+ referencePresentation?: ReferencePresentationDto;
2128
+ };
2129
+ export interface CreateMapDto {
2130
+ /** @pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$ */
2131
+ operationId: string;
2132
+ /** @pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$ */
2133
+ idempotencyKey: string;
2134
+ /** 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. */
2135
+ content: CreateMapDtoContent;
2136
+ }
2137
+ export interface MapIssueDto {
2138
+ code: string;
2139
+ message: string;
2140
+ entityIds: string[];
2141
+ }
2142
+ export interface MapAcknowledgementDto {
2143
+ operationId: string;
2144
+ mapId: string;
2145
+ revision: number;
2146
+ contentHash: string;
2147
+ physicalHash: string;
2148
+ /** @nullable */
2149
+ referenceHash: string | null;
2150
+ acceptedAt: string;
2151
+ lifecycle: MapLifecycle;
2152
+ unchanged: boolean;
2153
+ issues: MapIssueDto[];
2154
+ }
2155
+ export declare enum MutationStatus {
2156
+ completed = "completed",
2157
+ notCurrentlyKnown = "notCurrentlyKnown"
2158
+ }
2159
+ export interface MutationStatusDto {
2160
+ status: MutationStatus;
2161
+ result?: MapAcknowledgementDto;
2162
+ }
2163
+ export interface MapResponseDto {
2164
+ physical: PhysicalDocumentV1Dto;
2165
+ referencePresentation?: ReferencePresentationDto;
2166
+ revision: number;
2167
+ lifecycle: MapLifecycle;
2168
+ contentHash: string;
2169
+ physicalHash: string;
2170
+ /** @nullable */
2171
+ referenceHash: string | null;
2172
+ capabilities: string[];
2173
+ updatedAt: string;
2174
+ issues: MapIssueDto[];
2175
+ }
2176
+ /**
2177
+ * 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.
2178
+ */
2179
+ export type SaveMapDtoContent = {
2180
+ physical: PhysicalDocumentV1Dto;
2181
+ referencePresentation?: ReferencePresentationDto;
2182
+ };
2183
+ export interface SaveMapDto {
2184
+ /** @pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$ */
2185
+ operationId: string;
2186
+ /** @pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$ */
2187
+ idempotencyKey: string;
2188
+ /**
2189
+ * @maximum 9007199254740991
2190
+ * @exclusiveMinimum 0
2191
+ */
2192
+ expectedRevision: number;
2193
+ /** 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. */
2194
+ content: SaveMapDtoContent;
2195
+ }
2196
+ export type MapActionDto = {
2197
+ /** @pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$ */
2198
+ operationId: string;
2199
+ /** @pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$ */
2200
+ idempotencyKey: string;
2201
+ /**
2202
+ * @maximum 9007199254740991
2203
+ * @exclusiveMinimum 0
2204
+ */
2205
+ expectedRevision: number;
2206
+ action: "rename";
2207
+ /**
2208
+ * Nonempty, trimmed name; at most 120 Unicode code points. Control characters and unpaired surrogates are rejected.
2209
+ * @minLength 1
2210
+ * @maxLength 120
2211
+ */
2212
+ name: string;
2213
+ } | {
2214
+ /** @pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$ */
2215
+ operationId: string;
2216
+ /** @pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$ */
2217
+ idempotencyKey: string;
2218
+ /**
2219
+ * @maximum 9007199254740991
2220
+ * @exclusiveMinimum 0
2221
+ */
2222
+ expectedRevision: number;
2223
+ action: "copy";
2224
+ /**
2225
+ * Nonempty, trimmed name; at most 120 Unicode code points. Control characters and unpaired surrogates are rejected.
2226
+ * @minLength 1
2227
+ * @maxLength 120
2228
+ */
2229
+ name: string;
2230
+ /**
2231
+ * @maximum 9007199254740991
2232
+ * @exclusiveMinimum 0
2233
+ */
2234
+ sourceRevision: number;
2235
+ } | {
2236
+ /** @pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$ */
2237
+ operationId: string;
2238
+ /** @pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$ */
2239
+ idempotencyKey: string;
2240
+ /**
2241
+ * @maximum 9007199254740991
2242
+ * @exclusiveMinimum 0
2243
+ */
2244
+ expectedRevision: number;
2245
+ action: "archive";
2246
+ } | {
2247
+ /** @pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$ */
2248
+ operationId: string;
2249
+ /** @pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$ */
2250
+ idempotencyKey: string;
2251
+ /**
2252
+ * @maximum 9007199254740991
2253
+ * @exclusiveMinimum 0
2254
+ */
2255
+ expectedRevision: number;
2256
+ action: "restore";
2257
+ } | {
2258
+ /** @pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$ */
2259
+ operationId: string;
2260
+ /** @pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$ */
2261
+ idempotencyKey: string;
2262
+ /**
2263
+ * @maximum 9007199254740991
2264
+ * @exclusiveMinimum 0
2265
+ */
2266
+ expectedRevision: number;
2267
+ action: "trash";
2268
+ } | {
2269
+ /** @pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$ */
2270
+ operationId: string;
2271
+ /** @pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$ */
2272
+ idempotencyKey: string;
2273
+ /**
2274
+ * @maximum 9007199254740991
2275
+ * @exclusiveMinimum 0
2276
+ */
2277
+ expectedRevision: number;
2278
+ action: "restoreTrash";
2279
+ } | {
2280
+ /** @pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$ */
2281
+ operationId: string;
2282
+ /** @pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$ */
2283
+ idempotencyKey: string;
2284
+ /**
2285
+ * @maximum 9007199254740991
2286
+ * @exclusiveMinimum 0
2287
+ */
2288
+ expectedRevision: number;
2289
+ action: "restoreRevision";
2290
+ /**
2291
+ * @maximum 9007199254740991
2292
+ * @exclusiveMinimum 0
2293
+ */
2294
+ sourceRevision: number;
2295
+ };
2296
+ export declare enum MapOperation {
2297
+ create = "create",
2298
+ adopt = "adopt",
2299
+ save = "save",
2300
+ rename = "rename",
2301
+ copy = "copy",
2302
+ archive = "archive",
2303
+ restore = "restore",
2304
+ trash = "trash",
2305
+ restoreTrash = "restoreTrash",
2306
+ restoreRevision = "restoreRevision"
2307
+ }
2308
+ export interface MapRevisionDto {
2309
+ revision: number;
2310
+ contentHash: string;
2311
+ operation: MapOperation;
2312
+ createdAt: string;
2313
+ }
2314
+ export interface MapContentDto {
2315
+ physical: PhysicalDocumentV1Dto;
2316
+ referencePresentation?: ReferencePresentationDto;
2317
+ }
2318
+ export type StartLoginParams = {
2319
+ /**
2320
+ * Registered frontend return destination.
2321
+ * @maxLength 2048
2322
+ */
2323
+ returnTo: string;
2324
+ };
2325
+ export type ListMapsParams = {
2326
+ lifecycle?: ListMapsLifecycle;
2327
+ /**
2328
+ * @maxLength 120
2329
+ */
2330
+ search?: string;
2331
+ /**
2332
+ * @maxLength 200
2333
+ */
2334
+ cursor?: string;
2335
+ /**
2336
+ * @minimum 1
2337
+ * @maximum 50
2338
+ */
2339
+ limit?: number;
2340
+ };
2341
+ export declare enum ListMapsLifecycle {
2342
+ active = "active",
2343
+ archived = "archived",
2344
+ trashed = "trashed",
2345
+ deleted = "deleted"
2346
+ }
2347
+ import type { Configuration } from "./configuration.js";
2348
+ export declare class HealthClient {
2349
+ private readonly fetchApi;
2350
+ constructor(configuration: Configuration);
2351
+ getLiveness(options?: RequestInit): Promise<HealthResponseDto>;
2352
+ }
2353
+ export declare class AuthenticationClient {
2354
+ private readonly fetchApi;
2355
+ constructor(configuration: Configuration);
2356
+ getIntegrationContext(options?: RequestInit): Promise<AccountContextDto>;
2357
+ startLogin(params: StartLoginParams, options?: RequestInit): Promise<unknown>;
2358
+ completeLogin(options?: RequestInit): Promise<unknown>;
2359
+ logoutProvider(options?: RequestInit): Promise<unknown>;
2360
+ getAuthoringSession(options?: RequestInit): Promise<AuthoringSessionContextDto>;
2361
+ revokeAuthoringSession(options?: RequestInit): Promise<void>;
2362
+ getEmbedContext(mapId: string, options?: RequestInit): Promise<EmbedContextDto>;
2363
+ }
2364
+ export declare class MapsClient {
2365
+ private readonly fetchApi;
2366
+ constructor(configuration: Configuration);
2367
+ listMaps(workspaceId: string, params?: ListMapsParams, options?: RequestInit): Promise<MapListDto>;
2368
+ createMap(workspaceId: string, createMapDto: CreateMapDto, options?: RequestInit): Promise<MapAcknowledgementDto>;
2369
+ getMutationStatus(workspaceId: string, operationId: string, options?: RequestInit): Promise<MutationStatusDto>;
2370
+ getMap(workspaceId: string, mapId: string, options?: RequestInit): Promise<MapResponseDto>;
2371
+ saveMap(workspaceId: string, mapId: string, saveMapDto: SaveMapDto, options?: RequestInit): Promise<MapAcknowledgementDto>;
2372
+ changeMap(workspaceId: string, mapId: string, mapActionDto: MapActionDto, options?: RequestInit): Promise<MapAcknowledgementDto>;
2373
+ listMapRevisions(workspaceId: string, mapId: string, options?: RequestInit): Promise<MapRevisionDto[]>;
2374
+ getMapRevision(workspaceId: string, mapId: string, revision: number, options?: RequestInit): Promise<MapContentDto>;
2375
+ }