@seatmap-fyi/api-client 0.1.0-alpha.5 → 0.1.0-alpha.7

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.
@@ -93,6 +93,10 @@ export declare enum MapLifecycle {
93
93
  deleted = "deleted"
94
94
  }
95
95
  export interface MapSummaryDto {
96
+ /**
97
+ * Permanent editor identifier: ten lowercase letters in three hyphen-separated groups, such as abc-defg-hjk. This code does not grant access.
98
+ */
99
+ editorCode: string;
96
100
  id: string;
97
101
  name: string;
98
102
  lifecycle: MapLifecycle;
@@ -123,7 +127,6 @@ export type PhysicalDocumentV1DtoCoordinateSystem = {
123
127
  rotation: PhysicalDocumentV1DtoCoordinateSystemRotation;
124
128
  };
125
129
  export type PhysicalDocumentV1DtoBackground = {
126
- /** @pattern ^#[0-9a-fA-F]{6}$ */
127
130
  color: string;
128
131
  /**
129
132
  * @minimum 0
@@ -170,7 +173,6 @@ export type PhysicalDocumentV1DtoSectionsItemOutline = {
170
173
  holes: PhysicalDocumentV1DtoSectionsItemOutlineHolesItemItem[][];
171
174
  };
172
175
  export type PhysicalDocumentV1DtoSectionsItemStyleFill = {
173
- /** @pattern ^#[0-9a-fA-F]{6}$ */
174
176
  color: string;
175
177
  /**
176
178
  * @minimum 0
@@ -179,7 +181,6 @@ export type PhysicalDocumentV1DtoSectionsItemStyleFill = {
179
181
  opacity: number;
180
182
  };
181
183
  export type PhysicalDocumentV1DtoSectionsItemStyleStroke = {
182
- /** @pattern ^#[0-9a-fA-F]{6}$ */
183
184
  color: string;
184
185
  /**
185
186
  * @minimum 0
@@ -226,7 +227,6 @@ export type PhysicalDocumentV1DtoSectionsItemLabelStyle = {
226
227
  fontSizeM: number;
227
228
  };
228
229
  export type PhysicalDocumentV1DtoSectionsItem = {
229
- /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
230
230
  id: string;
231
231
  /**
232
232
  * Unicode code-point length; control characters and unpaired surrogates are rejected.
@@ -267,11 +267,9 @@ export type PhysicalDocumentV1DtoCollectionsItemTransform = {
267
267
  flipY?: boolean;
268
268
  };
269
269
  export type PhysicalDocumentV1DtoCollectionsItem = {
270
- /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
271
270
  id: string;
272
271
  /**
273
272
  * @nullable
274
- * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
275
273
  */
276
274
  parentId: string | null;
277
275
  transform: PhysicalDocumentV1DtoCollectionsItemTransform;
@@ -288,11 +286,9 @@ export type PhysicalDocumentV1DtoCollectionsItem = {
288
286
  name: string;
289
287
  };
290
288
  export type PhysicalDocumentV1DtoSeatingGroupsItem = {
291
- /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
292
289
  id: string;
293
290
  /**
294
291
  * @nullable
295
- * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
296
292
  */
297
293
  parentId: string | null;
298
294
  transform: {
@@ -329,7 +325,6 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
329
325
  name: string;
330
326
  /**
331
327
  * @nullable
332
- * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
333
328
  */
334
329
  sectionId: string | null;
335
330
  seatSizeM: {
@@ -458,7 +453,6 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
458
453
  * @maxItems 100000
459
454
  */
460
455
  rows: {
461
- /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
462
456
  id: string;
463
457
  /**
464
458
  * Unicode code-point length; control characters and unpaired surrogates are rejected.
@@ -502,7 +496,6 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
502
496
  * @maxItems 100000
503
497
  */
504
498
  seats: {
505
- /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
506
499
  id: string;
507
500
  /**
508
501
  * Unicode code-point length; control characters and unpaired surrogates are rejected.
@@ -514,7 +507,6 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
514
507
  restrictedView?: boolean;
515
508
  hearingAssistance?: boolean;
516
509
  semiAmbulatory?: boolean;
517
- /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
518
510
  companionForSeatId?: string;
519
511
  };
520
512
  override?: {
@@ -551,11 +543,9 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
551
543
  }[];
552
544
  }[];
553
545
  } | {
554
- /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
555
546
  id: string;
556
547
  /**
557
548
  * @nullable
558
- * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
559
549
  */
560
550
  parentId: string | null;
561
551
  transform: {
@@ -592,7 +582,6 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
592
582
  name: string;
593
583
  /**
594
584
  * @nullable
595
- * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
596
585
  */
597
586
  sectionId: string | null;
598
587
  seatSizeM: {
@@ -750,7 +739,6 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
750
739
  * @maxItems 100000
751
740
  */
752
741
  rows: {
753
- /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
754
742
  id: string;
755
743
  /**
756
744
  * Unicode code-point length; control characters and unpaired surrogates are rejected.
@@ -794,7 +782,6 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
794
782
  * @maxItems 100000
795
783
  */
796
784
  seats: {
797
- /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
798
785
  id: string;
799
786
  /**
800
787
  * Unicode code-point length; control characters and unpaired surrogates are rejected.
@@ -806,7 +793,6 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
806
793
  restrictedView?: boolean;
807
794
  hearingAssistance?: boolean;
808
795
  semiAmbulatory?: boolean;
809
- /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
810
796
  companionForSeatId?: string;
811
797
  };
812
798
  override?: {
@@ -843,11 +829,9 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
843
829
  }[];
844
830
  }[];
845
831
  } | {
846
- /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
847
832
  id: string;
848
833
  /**
849
834
  * @nullable
850
- * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
851
835
  */
852
836
  parentId: string | null;
853
837
  transform: {
@@ -884,7 +868,6 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
884
868
  name: string;
885
869
  /**
886
870
  * @nullable
887
- * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
888
871
  */
889
872
  sectionId: string | null;
890
873
  seatSizeM: {
@@ -1004,7 +987,6 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
1004
987
  chairsBySide: {
1005
988
  /** @maxItems 100000 */
1006
989
  top: {
1007
- /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
1008
990
  id: string;
1009
991
  /**
1010
992
  * Unicode code-point length; control characters and unpaired surrogates are rejected.
@@ -1016,7 +998,6 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
1016
998
  restrictedView?: boolean;
1017
999
  hearingAssistance?: boolean;
1018
1000
  semiAmbulatory?: boolean;
1019
- /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
1020
1001
  companionForSeatId?: string;
1021
1002
  };
1022
1003
  override?: {
@@ -1053,7 +1034,6 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
1053
1034
  }[];
1054
1035
  /** @maxItems 100000 */
1055
1036
  right: {
1056
- /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
1057
1037
  id: string;
1058
1038
  /**
1059
1039
  * Unicode code-point length; control characters and unpaired surrogates are rejected.
@@ -1065,7 +1045,6 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
1065
1045
  restrictedView?: boolean;
1066
1046
  hearingAssistance?: boolean;
1067
1047
  semiAmbulatory?: boolean;
1068
- /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
1069
1048
  companionForSeatId?: string;
1070
1049
  };
1071
1050
  override?: {
@@ -1102,7 +1081,6 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
1102
1081
  }[];
1103
1082
  /** @maxItems 100000 */
1104
1083
  bottom: {
1105
- /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
1106
1084
  id: string;
1107
1085
  /**
1108
1086
  * Unicode code-point length; control characters and unpaired surrogates are rejected.
@@ -1114,7 +1092,6 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
1114
1092
  restrictedView?: boolean;
1115
1093
  hearingAssistance?: boolean;
1116
1094
  semiAmbulatory?: boolean;
1117
- /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
1118
1095
  companionForSeatId?: string;
1119
1096
  };
1120
1097
  override?: {
@@ -1151,7 +1128,6 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
1151
1128
  }[];
1152
1129
  /** @maxItems 100000 */
1153
1130
  left: {
1154
- /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
1155
1131
  id: string;
1156
1132
  /**
1157
1133
  * Unicode code-point length; control characters and unpaired surrogates are rejected.
@@ -1163,7 +1139,6 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
1163
1139
  restrictedView?: boolean;
1164
1140
  hearingAssistance?: boolean;
1165
1141
  semiAmbulatory?: boolean;
1166
- /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
1167
1142
  companionForSeatId?: string;
1168
1143
  };
1169
1144
  override?: {
@@ -1200,11 +1175,9 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
1200
1175
  }[];
1201
1176
  };
1202
1177
  } | {
1203
- /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
1204
1178
  id: string;
1205
1179
  /**
1206
1180
  * @nullable
1207
- * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
1208
1181
  */
1209
1182
  parentId: string | null;
1210
1183
  transform: {
@@ -1241,7 +1214,6 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
1241
1214
  name: string;
1242
1215
  /**
1243
1216
  * @nullable
1244
- * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
1245
1217
  */
1246
1218
  sectionId: string | null;
1247
1219
  seatSizeM: {
@@ -1358,7 +1330,6 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
1358
1330
  * @maxItems 100000
1359
1331
  */
1360
1332
  chairs: {
1361
- /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
1362
1333
  id: string;
1363
1334
  /**
1364
1335
  * Unicode code-point length; control characters and unpaired surrogates are rejected.
@@ -1370,7 +1341,6 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
1370
1341
  restrictedView?: boolean;
1371
1342
  hearingAssistance?: boolean;
1372
1343
  semiAmbulatory?: boolean;
1373
- /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
1374
1344
  companionForSeatId?: string;
1375
1345
  };
1376
1346
  override?: {
@@ -1493,11 +1463,9 @@ export type PhysicalDocumentV1DtoAreasItemShape = {
1493
1463
  };
1494
1464
  };
1495
1465
  export type PhysicalDocumentV1DtoAreasItem = {
1496
- /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
1497
1466
  id: string;
1498
1467
  /**
1499
1468
  * @nullable
1500
- * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
1501
1469
  */
1502
1470
  parentId: string | null;
1503
1471
  transform: PhysicalDocumentV1DtoAreasItemTransform;
@@ -1509,7 +1477,6 @@ export type PhysicalDocumentV1DtoAreasItem = {
1509
1477
  kind: PhysicalDocumentV1DtoAreasItemKind;
1510
1478
  /**
1511
1479
  * @nullable
1512
- * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
1513
1480
  */
1514
1481
  sectionId: string | null;
1515
1482
  /**
@@ -1526,11 +1493,9 @@ export type PhysicalDocumentV1DtoAreasItem = {
1526
1493
  shape: PhysicalDocumentV1DtoAreasItemShape;
1527
1494
  };
1528
1495
  export type PhysicalDocumentV1DtoDecorationsItem = {
1529
- /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
1530
1496
  id: string;
1531
1497
  /**
1532
1498
  * @nullable
1533
- * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
1534
1499
  */
1535
1500
  parentId: string | null;
1536
1501
  transform: {
@@ -1561,7 +1526,6 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
1561
1526
  zIndex: number;
1562
1527
  style?: {
1563
1528
  fill?: {
1564
- /** @pattern ^#[0-9a-fA-F]{6}$ */
1565
1529
  color: string;
1566
1530
  /**
1567
1531
  * @minimum 0
@@ -1570,7 +1534,6 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
1570
1534
  opacity: number;
1571
1535
  };
1572
1536
  stroke?: {
1573
- /** @pattern ^#[0-9a-fA-F]{6}$ */
1574
1537
  color: string;
1575
1538
  /**
1576
1539
  * @minimum 0
@@ -1597,11 +1560,9 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
1597
1560
  fontSizeM: number;
1598
1561
  align: "left" | "center" | "right";
1599
1562
  } | {
1600
- /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
1601
1563
  id: string;
1602
1564
  /**
1603
1565
  * @nullable
1604
- * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
1605
1566
  */
1606
1567
  parentId: string | null;
1607
1568
  transform: {
@@ -1632,7 +1593,6 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
1632
1593
  zIndex: number;
1633
1594
  style?: {
1634
1595
  fill?: {
1635
- /** @pattern ^#[0-9a-fA-F]{6}$ */
1636
1596
  color: string;
1637
1597
  /**
1638
1598
  * @minimum 0
@@ -1641,7 +1601,6 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
1641
1601
  opacity: number;
1642
1602
  };
1643
1603
  stroke?: {
1644
- /** @pattern ^#[0-9a-fA-F]{6}$ */
1645
1604
  color: string;
1646
1605
  /**
1647
1606
  * @minimum 0
@@ -1674,11 +1633,9 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
1674
1633
  */
1675
1634
  cornerRadiusM: number;
1676
1635
  } | {
1677
- /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
1678
1636
  id: string;
1679
1637
  /**
1680
1638
  * @nullable
1681
- * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
1682
1639
  */
1683
1640
  parentId: string | null;
1684
1641
  transform: {
@@ -1709,7 +1666,6 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
1709
1666
  zIndex: number;
1710
1667
  style?: {
1711
1668
  fill?: {
1712
- /** @pattern ^#[0-9a-fA-F]{6}$ */
1713
1669
  color: string;
1714
1670
  /**
1715
1671
  * @minimum 0
@@ -1718,7 +1674,6 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
1718
1674
  opacity: number;
1719
1675
  };
1720
1676
  stroke?: {
1721
- /** @pattern ^#[0-9a-fA-F]{6}$ */
1722
1677
  color: string;
1723
1678
  /**
1724
1679
  * @minimum 0
@@ -1739,11 +1694,9 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
1739
1694
  */
1740
1695
  radiusM: number;
1741
1696
  } | {
1742
- /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
1743
1697
  id: string;
1744
1698
  /**
1745
1699
  * @nullable
1746
- * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
1747
1700
  */
1748
1701
  parentId: string | null;
1749
1702
  transform: {
@@ -1774,7 +1727,6 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
1774
1727
  zIndex: number;
1775
1728
  style?: {
1776
1729
  fill?: {
1777
- /** @pattern ^#[0-9a-fA-F]{6}$ */
1778
1730
  color: string;
1779
1731
  /**
1780
1732
  * @minimum 0
@@ -1783,7 +1735,6 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
1783
1735
  opacity: number;
1784
1736
  };
1785
1737
  stroke?: {
1786
- /** @pattern ^#[0-9a-fA-F]{6}$ */
1787
1738
  color: string;
1788
1739
  /**
1789
1740
  * @minimum 0
@@ -1815,11 +1766,9 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
1815
1766
  y: number;
1816
1767
  }[];
1817
1768
  } | {
1818
- /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
1819
1769
  id: string;
1820
1770
  /**
1821
1771
  * @nullable
1822
- * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
1823
1772
  */
1824
1773
  parentId: string | null;
1825
1774
  transform: {
@@ -1850,7 +1799,6 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
1850
1799
  zIndex: number;
1851
1800
  style?: {
1852
1801
  fill?: {
1853
- /** @pattern ^#[0-9a-fA-F]{6}$ */
1854
1802
  color: string;
1855
1803
  /**
1856
1804
  * @minimum 0
@@ -1859,7 +1807,6 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
1859
1807
  opacity: number;
1860
1808
  };
1861
1809
  stroke?: {
1862
- /** @pattern ^#[0-9a-fA-F]{6}$ */
1863
1810
  color: string;
1864
1811
  /**
1865
1812
  * @minimum 0
@@ -1911,11 +1858,9 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
1911
1858
  }[][];
1912
1859
  };
1913
1860
  } | {
1914
- /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
1915
1861
  id: string;
1916
1862
  /**
1917
1863
  * @nullable
1918
- * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
1919
1864
  */
1920
1865
  parentId: string | null;
1921
1866
  transform: {
@@ -1946,7 +1891,6 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
1946
1891
  zIndex: number;
1947
1892
  style?: {
1948
1893
  fill?: {
1949
- /** @pattern ^#[0-9a-fA-F]{6}$ */
1950
1894
  color: string;
1951
1895
  /**
1952
1896
  * @minimum 0
@@ -1955,7 +1899,6 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
1955
1899
  opacity: number;
1956
1900
  };
1957
1901
  stroke?: {
1958
- /** @pattern ^#[0-9a-fA-F]{6}$ */
1959
1902
  color: string;
1960
1903
  /**
1961
1904
  * @minimum 0
@@ -1984,11 +1927,9 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
1984
1927
  height: number;
1985
1928
  };
1986
1929
  } | {
1987
- /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
1988
1930
  id: string;
1989
1931
  /**
1990
1932
  * @nullable
1991
- * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
1992
1933
  */
1993
1934
  parentId: string | null;
1994
1935
  transform: {
@@ -2019,7 +1960,6 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
2019
1960
  zIndex: number;
2020
1961
  style?: {
2021
1962
  fill?: {
2022
- /** @pattern ^#[0-9a-fA-F]{6}$ */
2023
1963
  color: string;
2024
1964
  /**
2025
1965
  * @minimum 0
@@ -2028,7 +1968,6 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
2028
1968
  opacity: number;
2029
1969
  };
2030
1970
  stroke?: {
2031
- /** @pattern ^#[0-9a-fA-F]{6}$ */
2032
1971
  color: string;
2033
1972
  /**
2034
1973
  * @minimum 0
@@ -2043,7 +1982,6 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
2043
1982
  strokeWidthM?: number;
2044
1983
  };
2045
1984
  kind: "image";
2046
- /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
2047
1985
  assetId: string;
2048
1986
  sizeM: {
2049
1987
  /**
@@ -2064,13 +2002,11 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
2064
2002
  opacity: number;
2065
2003
  };
2066
2004
  export type PhysicalDocumentV1DtoAssetsItem = {
2067
- /** @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
2005
  id: string;
2069
2006
  mimeType: PhysicalDocumentV1DtoAssetsItemMimeType;
2070
2007
  };
2071
2008
  export interface PhysicalDocumentV1Dto {
2072
2009
  schemaVersion: PhysicalDocumentV1DtoSchemaVersion;
2073
- /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
2074
2010
  mapId: string;
2075
2011
  /**
2076
2012
  * Nonempty, trimmed name; at most 120 Unicode code points. Control characters and unpaired surrogates are rejected.
@@ -2097,7 +2033,6 @@ export type ReferencePresentationDtoVersion = 1;
2097
2033
  export type ReferencePresentationDtoSeatsItemState = "unverified" | "available" | "unavailable";
2098
2034
  export type ReferencePresentationDtoSeatsItemOffer = "standard" | "resale" | "vip";
2099
2035
  export type ReferencePresentationDtoOverviewMembershipsItem = {
2100
- /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
2101
2036
  sectionId: string;
2102
2037
  /**
2103
2038
  * @maxItems 1024
@@ -2106,7 +2041,6 @@ export type ReferencePresentationDtoOverviewMembershipsItem = {
2106
2041
  inventorySectionIds: string[];
2107
2042
  };
2108
2043
  export type ReferencePresentationDtoSeatsItem = {
2109
- /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
2110
2044
  id: string;
2111
2045
  state: ReferencePresentationDtoSeatsItemState;
2112
2046
  offer: ReferencePresentationDtoSeatsItemOffer;
@@ -2114,14 +2048,12 @@ export type ReferencePresentationDtoSeatsItem = {
2114
2048
  };
2115
2049
  export interface ReferencePresentationDto {
2116
2050
  version: ReferencePresentationDtoVersion;
2117
- /** @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ */
2118
2051
  mapId: string;
2119
2052
  /**
2120
2053
  * @minLength 1
2121
2054
  * @maxLength 200
2122
2055
  */
2123
2056
  source: string;
2124
- /** @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))$ */
2125
2057
  capturedAt: string;
2126
2058
  /**
2127
2059
  * @maxItems 1024
@@ -2141,9 +2073,7 @@ export type CreateMapDtoContent = {
2141
2073
  referencePresentation?: ReferencePresentationDto;
2142
2074
  };
2143
2075
  export interface CreateMapDto {
2144
- /** @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)$ */
2145
2076
  operationId: string;
2146
- /** @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)$ */
2147
2077
  idempotencyKey: string;
2148
2078
  /** 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. */
2149
2079
  content: CreateMapDtoContent;
@@ -2158,9 +2088,6 @@ export interface MapAcknowledgementDto {
2158
2088
  mapId: string;
2159
2089
  revision: number;
2160
2090
  contentHash: string;
2161
- physicalHash: string;
2162
- /** @nullable */
2163
- referenceHash: string | null;
2164
2091
  acceptedAt: string;
2165
2092
  lifecycle: MapLifecycle;
2166
2093
  unchanged: boolean;
@@ -2174,30 +2101,31 @@ export interface MutationStatusDto {
2174
2101
  status: MutationStatus;
2175
2102
  result?: MapAcknowledgementDto;
2176
2103
  }
2104
+ export interface MapLinkDto {
2105
+ mapId: string;
2106
+ /**
2107
+ * Permanent editor identifier: ten lowercase letters in three hyphen-separated groups, such as abc-defg-hjk. This code does not grant access.
2108
+ */
2109
+ editorCode: string;
2110
+ }
2177
2111
  export interface MapResponseDto {
2178
2112
  physical: PhysicalDocumentV1Dto;
2179
2113
  referencePresentation?: ReferencePresentationDto;
2180
2114
  revision: number;
2181
2115
  lifecycle: MapLifecycle;
2182
2116
  contentHash: string;
2183
- physicalHash: string;
2184
- /** @nullable */
2185
- referenceHash: string | null;
2186
2117
  capabilities: string[];
2187
2118
  updatedAt: string;
2188
2119
  issues: MapIssueDto[];
2189
2120
  }
2190
- /**
2191
- * 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.
2192
- */
2193
- export type SaveMapDtoContent = {
2194
- physical: PhysicalDocumentV1Dto;
2195
- referencePresentation?: ReferencePresentationDto;
2121
+ export type _Schema0 = string | number | boolean | null | (_Schema0 | null)[] | {
2122
+ [key: string]: _Schema0 | null;
2196
2123
  };
2197
- export interface SaveMapDto {
2198
- /** @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)$ */
2124
+ export type _Schema1 = string | number | boolean | null | (_Schema1 | null)[] | {
2125
+ [key: string]: _Schema1 | null;
2126
+ };
2127
+ export type SaveMapDto = {
2199
2128
  operationId: string;
2200
- /** @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)$ */
2201
2129
  idempotencyKey: string;
2202
2130
  /**
2203
2131
  * @maximum 9007199254740991
@@ -2205,12 +2133,39 @@ export interface SaveMapDto {
2205
2133
  */
2206
2134
  expectedRevision: number;
2207
2135
  /** 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. */
2208
- content: SaveMapDtoContent;
2209
- }
2136
+ content: {
2137
+ physical: PhysicalDocumentV1Dto;
2138
+ referencePresentation?: ReferencePresentationDto;
2139
+ };
2140
+ } | {
2141
+ operationId: string;
2142
+ idempotencyKey: string;
2143
+ /**
2144
+ * @maximum 9007199254740991
2145
+ * @exclusiveMinimum 0
2146
+ */
2147
+ expectedRevision: number;
2148
+ /** @maxItems 10000 */
2149
+ changes: ({
2150
+ op: "add";
2151
+ /** @maxLength 2048 */
2152
+ path: string;
2153
+ value: _Schema0 | null;
2154
+ } | {
2155
+ op: "replace";
2156
+ /** @maxLength 2048 */
2157
+ path: string;
2158
+ value: _Schema1 | null;
2159
+ } | {
2160
+ op: "remove";
2161
+ /** @maxLength 2048 */
2162
+ path: string;
2163
+ })[];
2164
+ baseContentHash: string;
2165
+ targetContentHash: string;
2166
+ };
2210
2167
  export type MapActionDto = {
2211
- /** @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)$ */
2212
2168
  operationId: string;
2213
- /** @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)$ */
2214
2169
  idempotencyKey: string;
2215
2170
  /**
2216
2171
  * @maximum 9007199254740991
@@ -2225,9 +2180,7 @@ export type MapActionDto = {
2225
2180
  */
2226
2181
  name: string;
2227
2182
  } | {
2228
- /** @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)$ */
2229
2183
  operationId: string;
2230
- /** @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)$ */
2231
2184
  idempotencyKey: string;
2232
2185
  /**
2233
2186
  * @maximum 9007199254740991
@@ -2247,9 +2200,7 @@ export type MapActionDto = {
2247
2200
  */
2248
2201
  sourceRevision: number;
2249
2202
  } | {
2250
- /** @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)$ */
2251
2203
  operationId: string;
2252
- /** @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)$ */
2253
2204
  idempotencyKey: string;
2254
2205
  /**
2255
2206
  * @maximum 9007199254740991
@@ -2258,9 +2209,7 @@ export type MapActionDto = {
2258
2209
  expectedRevision: number;
2259
2210
  action: "archive";
2260
2211
  } | {
2261
- /** @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)$ */
2262
2212
  operationId: string;
2263
- /** @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)$ */
2264
2213
  idempotencyKey: string;
2265
2214
  /**
2266
2215
  * @maximum 9007199254740991
@@ -2269,9 +2218,7 @@ export type MapActionDto = {
2269
2218
  expectedRevision: number;
2270
2219
  action: "restore";
2271
2220
  } | {
2272
- /** @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)$ */
2273
2221
  operationId: string;
2274
- /** @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)$ */
2275
2222
  idempotencyKey: string;
2276
2223
  /**
2277
2224
  * @maximum 9007199254740991
@@ -2280,9 +2227,7 @@ export type MapActionDto = {
2280
2227
  expectedRevision: number;
2281
2228
  action: "trash";
2282
2229
  } | {
2283
- /** @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)$ */
2284
2230
  operationId: string;
2285
- /** @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)$ */
2286
2231
  idempotencyKey: string;
2287
2232
  /**
2288
2233
  * @maximum 9007199254740991
@@ -2291,9 +2236,7 @@ export type MapActionDto = {
2291
2236
  expectedRevision: number;
2292
2237
  action: "restoreTrash";
2293
2238
  } | {
2294
- /** @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)$ */
2295
2239
  operationId: string;
2296
- /** @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)$ */
2297
2240
  idempotencyKey: string;
2298
2241
  /**
2299
2242
  * @maximum 9007199254740991
@@ -2389,6 +2332,8 @@ export declare class MapsClient {
2389
2332
  listMaps(workspaceId: string, params?: ListMapsParams, options?: AxiosRequestConfig): Promise<AxiosResponse<MapListDto>>;
2390
2333
  createMap(workspaceId: string, createMapDto: CreateMapDto, options?: AxiosRequestConfig): Promise<AxiosResponse<MapAcknowledgementDto>>;
2391
2334
  getMutationStatus(workspaceId: string, operationId: string, options?: AxiosRequestConfig): Promise<AxiosResponse<MutationStatusDto>>;
2335
+ resolveMapLink(workspaceId: string, editorCode: string, options?: AxiosRequestConfig): Promise<AxiosResponse<MapLinkDto>>;
2336
+ getMapLink(workspaceId: string, mapId: string, options?: AxiosRequestConfig): Promise<AxiosResponse<MapLinkDto>>;
2392
2337
  getMap(workspaceId: string, mapId: string, options?: AxiosRequestConfig): Promise<AxiosResponse<MapResponseDto>>;
2393
2338
  saveMap(workspaceId: string, mapId: string, saveMapDto: SaveMapDto, options?: AxiosRequestConfig): Promise<AxiosResponse<MapAcknowledgementDto>>;
2394
2339
  changeMap(workspaceId: string, mapId: string, mapActionDto: MapActionDto, options?: AxiosRequestConfig): Promise<AxiosResponse<MapAcknowledgementDto>>;
package/dist/generated.js CHANGED
@@ -135,6 +135,14 @@ export class MapsClient {
135
135
  const requestOptions = await prepareRequestOptions(this.configuration, this.basePath, options, "GET");
136
136
  return this.operations.getMutationStatus(workspaceId, operationId, requestOptions);
137
137
  }
138
+ async resolveMapLink(workspaceId, editorCode, options) {
139
+ const requestOptions = await prepareRequestOptions(this.configuration, this.basePath, options, "GET");
140
+ return this.operations.resolveMapLink(workspaceId, editorCode, requestOptions);
141
+ }
142
+ async getMapLink(workspaceId, mapId, options) {
143
+ const requestOptions = await prepareRequestOptions(this.configuration, this.basePath, options, "GET");
144
+ return this.operations.getMapLink(workspaceId, mapId, requestOptions);
145
+ }
138
146
  async getMap(workspaceId, mapId, options) {
139
147
  const requestOptions = await prepareRequestOptions(this.configuration, this.basePath, options, "GET");
140
148
  return this.operations.getMap(workspaceId, mapId, requestOptions);
@@ -323,6 +331,40 @@ const getSeatmapApi = (axiosInstance = axios) => {
323
331
  baseURL: "",
324
332
  });
325
333
  };
334
+ /**
335
+ * @summary Resolve a permanent map code within an authorized workspace
336
+ */
337
+ const resolveMapLink = (workspaceId, editorCode, options) => {
338
+ return axiosInstance.get(`/workspaces/${encodeURIComponent(workspaceId)}/maps/links/${encodeURIComponent(editorCode)}`, options);
339
+ };
340
+ const getResolveMapLinkUrl = (workspaceId, editorCode) => {
341
+ return axiosInstance
342
+ .create({
343
+ baseURL: "",
344
+ params: null,
345
+ })
346
+ .getUri({
347
+ url: `/workspaces/${encodeURIComponent(workspaceId)}/maps/links/${encodeURIComponent(editorCode)}`,
348
+ baseURL: "",
349
+ });
350
+ };
351
+ /**
352
+ * @summary Get a map's permanent editor link
353
+ */
354
+ const getMapLink = (workspaceId, mapId, options) => {
355
+ return axiosInstance.get(`/workspaces/${encodeURIComponent(workspaceId)}/maps/${encodeURIComponent(mapId)}/link`, options);
356
+ };
357
+ const getGetMapLinkUrl = (workspaceId, mapId) => {
358
+ return axiosInstance
359
+ .create({
360
+ baseURL: "",
361
+ params: null,
362
+ })
363
+ .getUri({
364
+ url: `/workspaces/${encodeURIComponent(workspaceId)}/maps/${encodeURIComponent(mapId)}/link`,
365
+ baseURL: "",
366
+ });
367
+ };
326
368
  const getMap = (workspaceId, mapId, options) => {
327
369
  return axiosInstance.get(`/workspaces/${encodeURIComponent(workspaceId)}/maps/${encodeURIComponent(mapId)}`, options);
328
370
  };
@@ -405,6 +447,8 @@ const getSeatmapApi = (axiosInstance = axios) => {
405
447
  listMaps,
406
448
  createMap,
407
449
  getMutationStatus,
450
+ resolveMapLink,
451
+ getMapLink,
408
452
  getMap,
409
453
  saveMap,
410
454
  changeMap,
@@ -421,6 +465,8 @@ const getSeatmapApi = (axiosInstance = axios) => {
421
465
  getListMapsUrl,
422
466
  getCreateMapUrl,
423
467
  getGetMutationStatusUrl,
468
+ getResolveMapLinkUrl,
469
+ getGetMapLinkUrl,
424
470
  getGetMapUrl,
425
471
  getSaveMapUrl,
426
472
  getChangeMapUrl,
@@ -1,3 +1,14 @@
1
1
  import type { AxiosRequestConfig } from "axios";
2
2
  import type { Configuration } from "./configuration.js";
3
+ /**
4
+ * @method prepareRequestOptions
5
+ * @description Applies instance-scoped transport settings, the SDK write contract and optional body compression.
6
+ * @async
7
+ * @param {Configuration} configuration
8
+ * @param {string | undefined} basePath
9
+ * @param {AxiosRequestConfig | undefined} options
10
+ * @param {string} method
11
+ * @param {unknown} [body]
12
+ * @returns {Promise<AxiosRequestConfig<unknown>>}
13
+ */
3
14
  export declare function prepareRequestOptions(configuration: Configuration, basePath: string | undefined, options: AxiosRequestConfig | undefined, method: string, body?: unknown): Promise<AxiosRequestConfig<unknown>>;
package/dist/transport.js CHANGED
@@ -1,6 +1,17 @@
1
1
  import { mergeConfig } from "axios";
2
2
  const clientContract = "1";
3
3
  const requestCompressionThreshold = 64 * 1024;
4
+ /**
5
+ * @method prepareRequestOptions
6
+ * @description Applies instance-scoped transport settings, the SDK write contract and optional body compression.
7
+ * @async
8
+ * @param {Configuration} configuration
9
+ * @param {string | undefined} basePath
10
+ * @param {AxiosRequestConfig | undefined} options
11
+ * @param {string} method
12
+ * @param {unknown} [body]
13
+ * @returns {Promise<AxiosRequestConfig<unknown>>}
14
+ */
4
15
  export async function prepareRequestOptions(configuration, basePath, options, method, body) {
5
16
  const prepared = mergeConfig(configuration.baseOptions ?? {}, options ?? {});
6
17
  const headers = { ...prepared.headers };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seatmap-fyi/api-client",
3
- "version": "0.1.0-alpha.5",
3
+ "version": "0.1.0-alpha.7",
4
4
  "license": "UNLICENSED",
5
5
  "type": "module",
6
6
  "sideEffects": false,