@seatmap-fyi/api-client 0.1.0-alpha.1 → 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.
@@ -1,8 +1,23 @@
1
+ import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from "axios";
1
2
  export interface DocumentErrorIssueDto {
2
3
  code: string;
3
4
  message: string;
4
5
  }
5
- export interface HttpErrorDto {
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;
6
21
  /**
7
22
  * Rate-limit retry delay in seconds; also returned in Retry-After.
8
23
  * @minimum 1
@@ -13,16 +28,15 @@ export interface HttpErrorDto {
13
28
  * @maxItems 50
14
29
  */
15
30
  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;
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;
26
40
  }
27
41
  export interface HealthResponseDto {
28
42
  status: string;
@@ -54,6 +68,7 @@ export interface AccountContextDto {
54
68
  export interface AuthoringSessionContextDto {
55
69
  userId: string;
56
70
  workspaceId: string;
71
+ workspaceName: string;
57
72
  readContract: string;
58
73
  writeContract: string;
59
74
  session: AccountContextDto;
@@ -72,6 +87,16 @@ export interface EmbedContextDto {
72
87
  capabilities: EmbedContextDtoCapabilitiesItem[];
73
88
  expiresAt: string;
74
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
+ }
75
100
  export declare enum MapLifecycle {
76
101
  active = "active",
77
102
  archived = "archived",
@@ -79,6 +104,11 @@ export declare enum MapLifecycle {
79
104
  deleted = "deleted"
80
105
  }
81
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;
82
112
  id: string;
83
113
  name: string;
84
114
  lifecycle: MapLifecycle;
@@ -93,6 +123,22 @@ export interface MapListDto {
93
123
  /** @nullable */
94
124
  nextCursor: string | null;
95
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
+ }
96
142
  export type PhysicalDocumentV1DtoSchemaVersion = 1;
97
143
  export type PhysicalDocumentV1DtoCoordinateSystemUnit = "metre";
98
144
  export type PhysicalDocumentV1DtoCoordinateSystemXAxis = "right";
@@ -109,7 +155,6 @@ export type PhysicalDocumentV1DtoCoordinateSystem = {
109
155
  rotation: PhysicalDocumentV1DtoCoordinateSystemRotation;
110
156
  };
111
157
  export type PhysicalDocumentV1DtoBackground = {
112
- /** @pattern ^#[0-9a-fA-F]{6}$ */
113
158
  color: string;
114
159
  /**
115
160
  * @minimum 0
@@ -156,7 +201,6 @@ export type PhysicalDocumentV1DtoSectionsItemOutline = {
156
201
  holes: PhysicalDocumentV1DtoSectionsItemOutlineHolesItemItem[][];
157
202
  };
158
203
  export type PhysicalDocumentV1DtoSectionsItemStyleFill = {
159
- /** @pattern ^#[0-9a-fA-F]{6}$ */
160
204
  color: string;
161
205
  /**
162
206
  * @minimum 0
@@ -165,7 +209,6 @@ export type PhysicalDocumentV1DtoSectionsItemStyleFill = {
165
209
  opacity: number;
166
210
  };
167
211
  export type PhysicalDocumentV1DtoSectionsItemStyleStroke = {
168
- /** @pattern ^#[0-9a-fA-F]{6}$ */
169
212
  color: string;
170
213
  /**
171
214
  * @minimum 0
@@ -212,7 +255,6 @@ export type PhysicalDocumentV1DtoSectionsItemLabelStyle = {
212
255
  fontSizeM: number;
213
256
  };
214
257
  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
258
  id: string;
217
259
  /**
218
260
  * Unicode code-point length; control characters and unpaired surrogates are rejected.
@@ -253,11 +295,9 @@ export type PhysicalDocumentV1DtoCollectionsItemTransform = {
253
295
  flipY?: boolean;
254
296
  };
255
297
  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
298
  id: string;
258
299
  /**
259
300
  * @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
301
  */
262
302
  parentId: string | null;
263
303
  transform: PhysicalDocumentV1DtoCollectionsItemTransform;
@@ -274,11 +314,9 @@ export type PhysicalDocumentV1DtoCollectionsItem = {
274
314
  name: string;
275
315
  };
276
316
  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
317
  id: string;
279
318
  /**
280
319
  * @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
320
  */
283
321
  parentId: string | null;
284
322
  transform: {
@@ -315,7 +353,6 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
315
353
  name: string;
316
354
  /**
317
355
  * @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
356
  */
320
357
  sectionId: string | null;
321
358
  seatSizeM: {
@@ -444,7 +481,6 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
444
481
  * @maxItems 100000
445
482
  */
446
483
  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
484
  id: string;
449
485
  /**
450
486
  * Unicode code-point length; control characters and unpaired surrogates are rejected.
@@ -488,7 +524,6 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
488
524
  * @maxItems 100000
489
525
  */
490
526
  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
527
  id: string;
493
528
  /**
494
529
  * Unicode code-point length; control characters and unpaired surrogates are rejected.
@@ -500,7 +535,6 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
500
535
  restrictedView?: boolean;
501
536
  hearingAssistance?: boolean;
502
537
  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
538
  companionForSeatId?: string;
505
539
  };
506
540
  override?: {
@@ -537,11 +571,9 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
537
571
  }[];
538
572
  }[];
539
573
  } | {
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
574
  id: string;
542
575
  /**
543
576
  * @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
577
  */
546
578
  parentId: string | null;
547
579
  transform: {
@@ -578,7 +610,6 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
578
610
  name: string;
579
611
  /**
580
612
  * @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
613
  */
583
614
  sectionId: string | null;
584
615
  seatSizeM: {
@@ -736,7 +767,6 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
736
767
  * @maxItems 100000
737
768
  */
738
769
  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
770
  id: string;
741
771
  /**
742
772
  * Unicode code-point length; control characters and unpaired surrogates are rejected.
@@ -780,7 +810,6 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
780
810
  * @maxItems 100000
781
811
  */
782
812
  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
813
  id: string;
785
814
  /**
786
815
  * Unicode code-point length; control characters and unpaired surrogates are rejected.
@@ -792,7 +821,6 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
792
821
  restrictedView?: boolean;
793
822
  hearingAssistance?: boolean;
794
823
  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
824
  companionForSeatId?: string;
797
825
  };
798
826
  override?: {
@@ -829,11 +857,9 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
829
857
  }[];
830
858
  }[];
831
859
  } | {
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
860
  id: string;
834
861
  /**
835
862
  * @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
863
  */
838
864
  parentId: string | null;
839
865
  transform: {
@@ -870,7 +896,6 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
870
896
  name: string;
871
897
  /**
872
898
  * @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
899
  */
875
900
  sectionId: string | null;
876
901
  seatSizeM: {
@@ -990,7 +1015,6 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
990
1015
  chairsBySide: {
991
1016
  /** @maxItems 100000 */
992
1017
  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
1018
  id: string;
995
1019
  /**
996
1020
  * Unicode code-point length; control characters and unpaired surrogates are rejected.
@@ -1002,7 +1026,6 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
1002
1026
  restrictedView?: boolean;
1003
1027
  hearingAssistance?: boolean;
1004
1028
  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
1029
  companionForSeatId?: string;
1007
1030
  };
1008
1031
  override?: {
@@ -1039,7 +1062,6 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
1039
1062
  }[];
1040
1063
  /** @maxItems 100000 */
1041
1064
  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
1065
  id: string;
1044
1066
  /**
1045
1067
  * Unicode code-point length; control characters and unpaired surrogates are rejected.
@@ -1051,7 +1073,6 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
1051
1073
  restrictedView?: boolean;
1052
1074
  hearingAssistance?: boolean;
1053
1075
  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
1076
  companionForSeatId?: string;
1056
1077
  };
1057
1078
  override?: {
@@ -1088,7 +1109,6 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
1088
1109
  }[];
1089
1110
  /** @maxItems 100000 */
1090
1111
  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
1112
  id: string;
1093
1113
  /**
1094
1114
  * Unicode code-point length; control characters and unpaired surrogates are rejected.
@@ -1100,7 +1120,6 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
1100
1120
  restrictedView?: boolean;
1101
1121
  hearingAssistance?: boolean;
1102
1122
  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
1123
  companionForSeatId?: string;
1105
1124
  };
1106
1125
  override?: {
@@ -1137,7 +1156,6 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
1137
1156
  }[];
1138
1157
  /** @maxItems 100000 */
1139
1158
  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
1159
  id: string;
1142
1160
  /**
1143
1161
  * Unicode code-point length; control characters and unpaired surrogates are rejected.
@@ -1149,7 +1167,6 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
1149
1167
  restrictedView?: boolean;
1150
1168
  hearingAssistance?: boolean;
1151
1169
  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
1170
  companionForSeatId?: string;
1154
1171
  };
1155
1172
  override?: {
@@ -1186,11 +1203,9 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
1186
1203
  }[];
1187
1204
  };
1188
1205
  } | {
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
1206
  id: string;
1191
1207
  /**
1192
1208
  * @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
1209
  */
1195
1210
  parentId: string | null;
1196
1211
  transform: {
@@ -1227,7 +1242,6 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
1227
1242
  name: string;
1228
1243
  /**
1229
1244
  * @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
1245
  */
1232
1246
  sectionId: string | null;
1233
1247
  seatSizeM: {
@@ -1344,7 +1358,6 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
1344
1358
  * @maxItems 100000
1345
1359
  */
1346
1360
  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
1361
  id: string;
1349
1362
  /**
1350
1363
  * Unicode code-point length; control characters and unpaired surrogates are rejected.
@@ -1356,7 +1369,6 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
1356
1369
  restrictedView?: boolean;
1357
1370
  hearingAssistance?: boolean;
1358
1371
  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
1372
  companionForSeatId?: string;
1361
1373
  };
1362
1374
  override?: {
@@ -1479,11 +1491,9 @@ export type PhysicalDocumentV1DtoAreasItemShape = {
1479
1491
  };
1480
1492
  };
1481
1493
  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
1494
  id: string;
1484
1495
  /**
1485
1496
  * @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
1497
  */
1488
1498
  parentId: string | null;
1489
1499
  transform: PhysicalDocumentV1DtoAreasItemTransform;
@@ -1495,7 +1505,6 @@ export type PhysicalDocumentV1DtoAreasItem = {
1495
1505
  kind: PhysicalDocumentV1DtoAreasItemKind;
1496
1506
  /**
1497
1507
  * @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
1508
  */
1500
1509
  sectionId: string | null;
1501
1510
  /**
@@ -1512,11 +1521,9 @@ export type PhysicalDocumentV1DtoAreasItem = {
1512
1521
  shape: PhysicalDocumentV1DtoAreasItemShape;
1513
1522
  };
1514
1523
  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
1524
  id: string;
1517
1525
  /**
1518
1526
  * @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
1527
  */
1521
1528
  parentId: string | null;
1522
1529
  transform: {
@@ -1547,7 +1554,6 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
1547
1554
  zIndex: number;
1548
1555
  style?: {
1549
1556
  fill?: {
1550
- /** @pattern ^#[0-9a-fA-F]{6}$ */
1551
1557
  color: string;
1552
1558
  /**
1553
1559
  * @minimum 0
@@ -1556,7 +1562,6 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
1556
1562
  opacity: number;
1557
1563
  };
1558
1564
  stroke?: {
1559
- /** @pattern ^#[0-9a-fA-F]{6}$ */
1560
1565
  color: string;
1561
1566
  /**
1562
1567
  * @minimum 0
@@ -1583,11 +1588,9 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
1583
1588
  fontSizeM: number;
1584
1589
  align: "left" | "center" | "right";
1585
1590
  } | {
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
1591
  id: string;
1588
1592
  /**
1589
1593
  * @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
1594
  */
1592
1595
  parentId: string | null;
1593
1596
  transform: {
@@ -1618,7 +1621,6 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
1618
1621
  zIndex: number;
1619
1622
  style?: {
1620
1623
  fill?: {
1621
- /** @pattern ^#[0-9a-fA-F]{6}$ */
1622
1624
  color: string;
1623
1625
  /**
1624
1626
  * @minimum 0
@@ -1627,7 +1629,6 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
1627
1629
  opacity: number;
1628
1630
  };
1629
1631
  stroke?: {
1630
- /** @pattern ^#[0-9a-fA-F]{6}$ */
1631
1632
  color: string;
1632
1633
  /**
1633
1634
  * @minimum 0
@@ -1660,11 +1661,9 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
1660
1661
  */
1661
1662
  cornerRadiusM: number;
1662
1663
  } | {
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
1664
  id: string;
1665
1665
  /**
1666
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
1667
  */
1669
1668
  parentId: string | null;
1670
1669
  transform: {
@@ -1695,7 +1694,6 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
1695
1694
  zIndex: number;
1696
1695
  style?: {
1697
1696
  fill?: {
1698
- /** @pattern ^#[0-9a-fA-F]{6}$ */
1699
1697
  color: string;
1700
1698
  /**
1701
1699
  * @minimum 0
@@ -1704,7 +1702,6 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
1704
1702
  opacity: number;
1705
1703
  };
1706
1704
  stroke?: {
1707
- /** @pattern ^#[0-9a-fA-F]{6}$ */
1708
1705
  color: string;
1709
1706
  /**
1710
1707
  * @minimum 0
@@ -1725,11 +1722,9 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
1725
1722
  */
1726
1723
  radiusM: number;
1727
1724
  } | {
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
1725
  id: string;
1730
1726
  /**
1731
1727
  * @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
1728
  */
1734
1729
  parentId: string | null;
1735
1730
  transform: {
@@ -1760,7 +1755,6 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
1760
1755
  zIndex: number;
1761
1756
  style?: {
1762
1757
  fill?: {
1763
- /** @pattern ^#[0-9a-fA-F]{6}$ */
1764
1758
  color: string;
1765
1759
  /**
1766
1760
  * @minimum 0
@@ -1769,7 +1763,6 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
1769
1763
  opacity: number;
1770
1764
  };
1771
1765
  stroke?: {
1772
- /** @pattern ^#[0-9a-fA-F]{6}$ */
1773
1766
  color: string;
1774
1767
  /**
1775
1768
  * @minimum 0
@@ -1801,11 +1794,9 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
1801
1794
  y: number;
1802
1795
  }[];
1803
1796
  } | {
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
1797
  id: string;
1806
1798
  /**
1807
1799
  * @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
1800
  */
1810
1801
  parentId: string | null;
1811
1802
  transform: {
@@ -1836,7 +1827,6 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
1836
1827
  zIndex: number;
1837
1828
  style?: {
1838
1829
  fill?: {
1839
- /** @pattern ^#[0-9a-fA-F]{6}$ */
1840
1830
  color: string;
1841
1831
  /**
1842
1832
  * @minimum 0
@@ -1845,7 +1835,6 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
1845
1835
  opacity: number;
1846
1836
  };
1847
1837
  stroke?: {
1848
- /** @pattern ^#[0-9a-fA-F]{6}$ */
1849
1838
  color: string;
1850
1839
  /**
1851
1840
  * @minimum 0
@@ -1897,11 +1886,9 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
1897
1886
  }[][];
1898
1887
  };
1899
1888
  } | {
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
1889
  id: string;
1902
1890
  /**
1903
1891
  * @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
1892
  */
1906
1893
  parentId: string | null;
1907
1894
  transform: {
@@ -1932,7 +1919,6 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
1932
1919
  zIndex: number;
1933
1920
  style?: {
1934
1921
  fill?: {
1935
- /** @pattern ^#[0-9a-fA-F]{6}$ */
1936
1922
  color: string;
1937
1923
  /**
1938
1924
  * @minimum 0
@@ -1941,7 +1927,6 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
1941
1927
  opacity: number;
1942
1928
  };
1943
1929
  stroke?: {
1944
- /** @pattern ^#[0-9a-fA-F]{6}$ */
1945
1930
  color: string;
1946
1931
  /**
1947
1932
  * @minimum 0
@@ -1970,11 +1955,9 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
1970
1955
  height: number;
1971
1956
  };
1972
1957
  } | {
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
1958
  id: string;
1975
1959
  /**
1976
1960
  * @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
1961
  */
1979
1962
  parentId: string | null;
1980
1963
  transform: {
@@ -2005,7 +1988,6 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
2005
1988
  zIndex: number;
2006
1989
  style?: {
2007
1990
  fill?: {
2008
- /** @pattern ^#[0-9a-fA-F]{6}$ */
2009
1991
  color: string;
2010
1992
  /**
2011
1993
  * @minimum 0
@@ -2014,7 +1996,6 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
2014
1996
  opacity: number;
2015
1997
  };
2016
1998
  stroke?: {
2017
- /** @pattern ^#[0-9a-fA-F]{6}$ */
2018
1999
  color: string;
2019
2000
  /**
2020
2001
  * @minimum 0
@@ -2029,7 +2010,6 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
2029
2010
  strokeWidthM?: number;
2030
2011
  };
2031
2012
  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
2013
  assetId: string;
2034
2014
  sizeM: {
2035
2015
  /**
@@ -2050,13 +2030,11 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
2050
2030
  opacity: number;
2051
2031
  };
2052
2032
  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
2033
  id: string;
2055
2034
  mimeType: PhysicalDocumentV1DtoAssetsItemMimeType;
2056
2035
  };
2057
2036
  export interface PhysicalDocumentV1Dto {
2058
2037
  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
2038
  mapId: string;
2061
2039
  /**
2062
2040
  * Nonempty, trimmed name; at most 120 Unicode code points. Control characters and unpaired surrogates are rejected.
@@ -2083,7 +2061,6 @@ export type ReferencePresentationDtoVersion = 1;
2083
2061
  export type ReferencePresentationDtoSeatsItemState = "unverified" | "available" | "unavailable";
2084
2062
  export type ReferencePresentationDtoSeatsItemOffer = "standard" | "resale" | "vip";
2085
2063
  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
2064
  sectionId: string;
2088
2065
  /**
2089
2066
  * @maxItems 1024
@@ -2092,7 +2069,6 @@ export type ReferencePresentationDtoOverviewMembershipsItem = {
2092
2069
  inventorySectionIds: string[];
2093
2070
  };
2094
2071
  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
2072
  id: string;
2097
2073
  state: ReferencePresentationDtoSeatsItemState;
2098
2074
  offer: ReferencePresentationDtoSeatsItemOffer;
@@ -2100,14 +2076,12 @@ export type ReferencePresentationDtoSeatsItem = {
2100
2076
  };
2101
2077
  export interface ReferencePresentationDto {
2102
2078
  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
2079
  mapId: string;
2105
2080
  /**
2106
2081
  * @minLength 1
2107
2082
  * @maxLength 200
2108
2083
  */
2109
2084
  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
2085
  capturedAt: string;
2112
2086
  /**
2113
2087
  * @maxItems 1024
@@ -2123,13 +2097,12 @@ export interface ReferencePresentationDto {
2123
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.
2124
2098
  */
2125
2099
  export type CreateMapDtoContent = {
2100
+ editorState?: MapEditorStateDto;
2126
2101
  physical: PhysicalDocumentV1Dto;
2127
2102
  referencePresentation?: ReferencePresentationDto;
2128
2103
  };
2129
2104
  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
2105
  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
2106
  idempotencyKey: string;
2134
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. */
2135
2108
  content: CreateMapDtoContent;
@@ -2144,9 +2117,6 @@ export interface MapAcknowledgementDto {
2144
2117
  mapId: string;
2145
2118
  revision: number;
2146
2119
  contentHash: string;
2147
- physicalHash: string;
2148
- /** @nullable */
2149
- referenceHash: string | null;
2150
2120
  acceptedAt: string;
2151
2121
  lifecycle: MapLifecycle;
2152
2122
  unchanged: boolean;
@@ -2160,30 +2130,32 @@ export interface MutationStatusDto {
2160
2130
  status: MutationStatus;
2161
2131
  result?: MapAcknowledgementDto;
2162
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
+ }
2163
2140
  export interface MapResponseDto {
2141
+ editorState?: MapEditorStateDto;
2164
2142
  physical: PhysicalDocumentV1Dto;
2165
2143
  referencePresentation?: ReferencePresentationDto;
2166
2144
  revision: number;
2167
2145
  lifecycle: MapLifecycle;
2168
2146
  contentHash: string;
2169
- physicalHash: string;
2170
- /** @nullable */
2171
- referenceHash: string | null;
2172
2147
  capabilities: string[];
2173
2148
  updatedAt: string;
2174
2149
  issues: MapIssueDto[];
2175
2150
  }
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;
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;
2182
2156
  };
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)$ */
2157
+ export type SaveMapDto = {
2185
2158
  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
2159
  idempotencyKey: string;
2188
2160
  /**
2189
2161
  * @maximum 9007199254740991
@@ -2191,12 +2163,40 @@ export interface SaveMapDto {
2191
2163
  */
2192
2164
  expectedRevision: number;
2193
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. */
2194
- content: SaveMapDtoContent;
2195
- }
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
+ };
2196
2198
  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
2199
  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
2200
  idempotencyKey: string;
2201
2201
  /**
2202
2202
  * @maximum 9007199254740991
@@ -2211,9 +2211,7 @@ export type MapActionDto = {
2211
2211
  */
2212
2212
  name: string;
2213
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
2214
  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
2215
  idempotencyKey: string;
2218
2216
  /**
2219
2217
  * @maximum 9007199254740991
@@ -2233,9 +2231,7 @@ export type MapActionDto = {
2233
2231
  */
2234
2232
  sourceRevision: number;
2235
2233
  } | {
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
2234
  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
2235
  idempotencyKey: string;
2240
2236
  /**
2241
2237
  * @maximum 9007199254740991
@@ -2244,9 +2240,7 @@ export type MapActionDto = {
2244
2240
  expectedRevision: number;
2245
2241
  action: "archive";
2246
2242
  } | {
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
2243
  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
2244
  idempotencyKey: string;
2251
2245
  /**
2252
2246
  * @maximum 9007199254740991
@@ -2255,9 +2249,7 @@ export type MapActionDto = {
2255
2249
  expectedRevision: number;
2256
2250
  action: "restore";
2257
2251
  } | {
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
2252
  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
2253
  idempotencyKey: string;
2262
2254
  /**
2263
2255
  * @maximum 9007199254740991
@@ -2266,9 +2258,7 @@ export type MapActionDto = {
2266
2258
  expectedRevision: number;
2267
2259
  action: "trash";
2268
2260
  } | {
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
2261
  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
2262
  idempotencyKey: string;
2273
2263
  /**
2274
2264
  * @maximum 9007199254740991
@@ -2277,9 +2267,7 @@ export type MapActionDto = {
2277
2267
  expectedRevision: number;
2278
2268
  action: "restoreTrash";
2279
2269
  } | {
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
2270
  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
2271
  idempotencyKey: string;
2284
2272
  /**
2285
2273
  * @maximum 9007199254740991
@@ -2312,9 +2300,97 @@ export interface MapRevisionDto {
2312
2300
  createdAt: string;
2313
2301
  }
2314
2302
  export interface MapContentDto {
2303
+ editorState?: MapEditorStateDto;
2315
2304
  physical: PhysicalDocumentV1Dto;
2316
2305
  referencePresentation?: ReferencePresentationDto;
2317
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
+ }
2318
2394
  export type StartLoginParams = {
2319
2395
  /**
2320
2396
  * Registered frontend return destination.
@@ -2328,8 +2404,9 @@ export type ListMapsParams = {
2328
2404
  * @maxLength 120
2329
2405
  */
2330
2406
  search?: string;
2407
+ sort?: ListMapsSort;
2331
2408
  /**
2332
- * @maxLength 200
2409
+ * @maxLength 2048
2333
2410
  */
2334
2411
  cursor?: string;
2335
2412
  /**
@@ -2344,32 +2421,70 @@ export declare enum ListMapsLifecycle {
2344
2421
  trashed = "trashed",
2345
2422
  deleted = "deleted"
2346
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
+ };
2347
2437
  import type { Configuration } from "./configuration.js";
2348
2438
  export declare class HealthClient {
2349
- private readonly fetchApi;
2350
- constructor(configuration: Configuration);
2351
- getLiveness(options?: RequestInit): Promise<HealthResponseDto>;
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>>;
2352
2444
  }
2353
2445
  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>;
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;
2363
2459
  }
2364
2460
  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>;
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[]>>;
2375
2490
  }