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

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