@seatmap-fyi/api-client 0.1.0-alpha.28 → 0.1.0-alpha.31

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.
@@ -104,6 +104,7 @@ export declare enum MapLifecycle {
104
104
  deleted = "deleted"
105
105
  }
106
106
  export interface MapSummaryDto {
107
+ publicationRevision?: number;
107
108
  preview: MapPreviewDto;
108
109
  /**
109
110
  * Permanent editor identifier: ten lowercase letters in three hyphen-separated groups, such as abc-defg-hjk. This code does not grant access.
@@ -436,10 +437,7 @@ export type PhysicalDocumentV1DtoSectionsItem = {
436
437
  * @nullable
437
438
  */
438
439
  categoryId?: string | null;
439
- /**
440
- * Unicode code-point length; LF is permitted. Other control characters and unpaired surrogates are rejected.
441
- * @maxLength 80
442
- */
440
+ /** Stored section display name. LF is permitted and generated copy names retain their full text. */
443
441
  displayLabel?: string;
444
442
  outline?: PhysicalDocumentV1DtoSectionsItemOutline;
445
443
  outlineRole?: PhysicalDocumentV1DtoSectionsItemOutlineRole;
@@ -720,6 +718,18 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
720
718
  */
721
719
  sectionId: string | null;
722
720
  sectionOrigin: "generated" | "existing";
721
+ sectionOutlineGridOriginM?: {
722
+ /**
723
+ * @minimum -10000
724
+ * @maximum 10000
725
+ */
726
+ x: number;
727
+ /**
728
+ * @minimum -10000
729
+ * @maximum 10000
730
+ */
731
+ y: number;
732
+ };
723
733
  /**
724
734
  * @minItems 1
725
735
  * @maxItems 400
@@ -1256,6 +1266,18 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
1256
1266
  */
1257
1267
  sectionId: string | null;
1258
1268
  sectionOrigin: "generated" | "existing";
1269
+ sectionOutlineGridOriginM?: {
1270
+ /**
1271
+ * @minimum -10000
1272
+ * @maximum 10000
1273
+ */
1274
+ x: number;
1275
+ /**
1276
+ * @minimum -10000
1277
+ * @maximum 10000
1278
+ */
1279
+ y: number;
1280
+ };
1259
1281
  /**
1260
1282
  * @minItems 1
1261
1283
  * @maxItems 400
@@ -1694,6 +1716,7 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
1694
1716
  color?: string;
1695
1717
  };
1696
1718
  kind: "rectangularTable";
1719
+ surfaceColor?: string;
1697
1720
  selling?: {
1698
1721
  mode: "individual" | "whole";
1699
1722
  } | {
@@ -1755,6 +1778,12 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
1755
1778
  */
1756
1779
  seatArcDeg?: number;
1757
1780
  };
1781
+ conversionSides?: {
1782
+ top: boolean;
1783
+ bottom: boolean;
1784
+ left: boolean;
1785
+ right: boolean;
1786
+ };
1758
1787
  labels: {
1759
1788
  /**
1760
1789
  * Unicode code-point length; control characters and unpaired surrogates are rejected.
@@ -1766,6 +1795,8 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
1766
1795
  * @maxLength 80
1767
1796
  */
1768
1797
  name?: string;
1798
+ /** @minLength 1 */
1799
+ buyerNoun?: string;
1769
1800
  chairs: {
1770
1801
  scheme: "numeric" | "odd" | "even" | "alphabetic" | "lowerAlphabetic" | "roman" | "outsideIn" | "insideOut";
1771
1802
  /**
@@ -1791,6 +1822,15 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
1791
1822
  */
1792
1823
  lastAt?: number;
1793
1824
  };
1825
+ chairNumbering?: {
1826
+ /**
1827
+ * @minimum 0
1828
+ * @maximum 999
1829
+ */
1830
+ startAt: number;
1831
+ direction: "forward" | "reverse";
1832
+ format: "prefixed" | "number" | "letter";
1833
+ };
1794
1834
  tableStyle: {
1795
1835
  visible: boolean;
1796
1836
  /**
@@ -2249,6 +2289,7 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
2249
2289
  color?: string;
2250
2290
  };
2251
2291
  kind: "roundTable";
2292
+ surfaceColor?: string;
2252
2293
  selling?: {
2253
2294
  mode: "individual" | "whole";
2254
2295
  } | {
@@ -2311,7 +2352,7 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
2311
2352
  chairPitchM?: number;
2312
2353
  chairDistribution?: "interior" | "equalSegments";
2313
2354
  };
2314
- sides: {
2355
+ sides?: {
2315
2356
  top: boolean;
2316
2357
  bottom: boolean;
2317
2358
  left: boolean;
@@ -2329,6 +2370,8 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
2329
2370
  * @maxLength 80
2330
2371
  */
2331
2372
  name?: string;
2373
+ /** @minLength 1 */
2374
+ buyerNoun?: string;
2332
2375
  chairs: {
2333
2376
  scheme: "numeric" | "odd" | "even" | "alphabetic" | "lowerAlphabetic" | "roman" | "outsideIn" | "insideOut";
2334
2377
  /**
@@ -2354,6 +2397,15 @@ export type PhysicalDocumentV1DtoSeatingGroupsItem = {
2354
2397
  */
2355
2398
  lastAt?: number;
2356
2399
  };
2400
+ chairNumbering?: {
2401
+ /**
2402
+ * @minimum 0
2403
+ * @maximum 999
2404
+ */
2405
+ startAt: number;
2406
+ direction: "forward" | "reverse";
2407
+ format: "prefixed" | "number" | "letter";
2408
+ };
2357
2409
  tableStyle: {
2358
2410
  visible: boolean;
2359
2411
  /**
@@ -3480,6 +3532,12 @@ export interface PhysicalDocumentV1Dto {
3480
3532
  * @maxLength 120
3481
3533
  */
3482
3534
  name: string;
3535
+ /**
3536
+ * Nonempty, trimmed name; at most 120 Unicode code points. Control characters and unpaired surrogates are rejected.
3537
+ * @minLength 1
3538
+ * @maxLength 120
3539
+ */
3540
+ venueName?: string;
3483
3541
  coordinateSystem: PhysicalDocumentV1DtoCoordinateSystem;
3484
3542
  background: PhysicalDocumentV1DtoBackground;
3485
3543
  /** @maxItems 1024 */
@@ -3594,6 +3652,7 @@ export interface MapResponseDto {
3594
3652
  editorState?: MapEditorStateDto;
3595
3653
  physical: PhysicalDocumentV1Dto;
3596
3654
  referencePresentation?: ReferencePresentationDto;
3655
+ publicationRevision?: number;
3597
3656
  revision: number;
3598
3657
  lifecycle: MapLifecycle;
3599
3658
  contentHash: string;
@@ -3660,7 +3719,9 @@ export type SectionLayoutSaveDto = {
3660
3719
  /**
3661
3720
  * @nullable
3662
3721
  */
3663
- createdInSection: string | null;
3722
+ workspaceSectionId: string | null;
3723
+ } | {
3724
+ arcFanGroupId: string;
3664
3725
  };
3665
3726
  } | {
3666
3727
  kind: "undo";
@@ -3721,7 +3782,9 @@ export type SectionLayoutSaveDto = {
3721
3782
  /**
3722
3783
  * @nullable
3723
3784
  */
3724
- createdInSection: string | null;
3785
+ workspaceSectionId: string | null;
3786
+ } | {
3787
+ arcFanGroupId: string;
3725
3788
  };
3726
3789
  /**
3727
3790
  * @maximum 9007199254740991
@@ -3735,6 +3798,26 @@ export type _Schema0 = string | number | boolean | null | (_Schema0 | null)[] |
3735
3798
  export type _Schema1 = string | number | boolean | null | (_Schema1 | null)[] | {
3736
3799
  [key: string]: _Schema1 | null;
3737
3800
  };
3801
+ /**
3802
+ * 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.
3803
+ */
3804
+ export type ReplaceDraftDtoContent = {
3805
+ editorState?: MapEditorStateDto;
3806
+ physical: PhysicalDocumentV1Dto;
3807
+ referencePresentation?: ReferencePresentationDto;
3808
+ };
3809
+ export interface ReplaceDraftDto {
3810
+ operationId: string;
3811
+ idempotencyKey: string;
3812
+ /**
3813
+ * @maximum 9007199254740991
3814
+ * @exclusiveMinimum 0
3815
+ */
3816
+ expectedRevision: number;
3817
+ replaceDraft: true;
3818
+ /** 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. */
3819
+ content: ReplaceDraftDtoContent;
3820
+ }
3738
3821
  export type SaveMapDto = {
3739
3822
  operationId: string;
3740
3823
  idempotencyKey: string;
@@ -3777,7 +3860,7 @@ export type SaveMapDto = {
3777
3860
  })[];
3778
3861
  baseContentHash: string;
3779
3862
  targetContentHash: string;
3780
- };
3863
+ } | ReplaceDraftDto;
3781
3864
  export type MapActionDto = {
3782
3865
  operationId: string;
3783
3866
  idempotencyKey: string;
@@ -3863,6 +3946,7 @@ export type MapActionDto = {
3863
3946
  * @exclusiveMinimum 0
3864
3947
  */
3865
3948
  sourceRevision: number;
3949
+ keepDraftAsVersion?: boolean;
3866
3950
  };
3867
3951
  export declare enum MapOperation {
3868
3952
  create = "create",
@@ -3874,13 +3958,122 @@ export declare enum MapOperation {
3874
3958
  restore = "restore",
3875
3959
  trash = "trash",
3876
3960
  restoreTrash = "restoreTrash",
3877
- restoreRevision = "restoreRevision"
3961
+ restoreRevision = "restoreRevision",
3962
+ replaceDraft = "replaceDraft"
3878
3963
  }
3879
3964
  export interface MapRevisionDto {
3880
3965
  revision: number;
3881
3966
  contentHash: string;
3882
3967
  operation: MapOperation;
3883
3968
  createdAt: string;
3969
+ beforeRestoreAt?: string;
3970
+ }
3971
+ export interface PrepareMapReleaseReviewDto {
3972
+ /**
3973
+ * @maximum 9007199254740991
3974
+ * @exclusiveMinimum 0
3975
+ */
3976
+ expectedRevision: number;
3977
+ retryFailedCaptures?: boolean;
3978
+ }
3979
+ export interface MapReleaseReviewIssueDto {
3980
+ code: string;
3981
+ message: string;
3982
+ entityIds: string[];
3983
+ blocksPublication: boolean;
3984
+ }
3985
+ export declare enum ReleaseCaptureKind {
3986
+ "buyer-preview-desktop" = "buyer-preview-desktop",
3987
+ "buyer-preview-mobile" = "buyer-preview-mobile",
3988
+ "buyer-preview-interaction-desktop" = "buyer-preview-interaction-desktop",
3989
+ "buyer-preview-interaction-mobile" = "buyer-preview-interaction-mobile",
3990
+ "buyer-preview-venue3d-desktop" = "buyer-preview-venue3d-desktop",
3991
+ "buyer-preview-venue3d-mobile" = "buyer-preview-venue3d-mobile"
3992
+ }
3993
+ export interface MapReleaseCaptureDto {
3994
+ floor: string;
3995
+ kind: ReleaseCaptureKind;
3996
+ width: number;
3997
+ height: number;
3998
+ hash?: string;
3999
+ failed?: boolean;
4000
+ }
4001
+ export declare enum ReleaseDecision {
4002
+ approve = "approve",
4003
+ reject = "reject"
4004
+ }
4005
+ export interface MapReleaseDecisionDto {
4006
+ decision: ReleaseDecision;
4007
+ revision: number;
4008
+ notes: string;
4009
+ decidedAt: string;
4010
+ }
4011
+ export interface MapReleaseReviewDto {
4012
+ id: string;
4013
+ revision: number;
4014
+ contentHash: string;
4015
+ createdAt: string;
4016
+ issues: MapReleaseReviewIssueDto[];
4017
+ captures: MapReleaseCaptureDto[];
4018
+ decision?: MapReleaseDecisionDto;
4019
+ }
4020
+ export type DecideMapReleaseDto = {
4021
+ /**
4022
+ * @maximum 9007199254740991
4023
+ * @exclusiveMinimum 0
4024
+ */
4025
+ revision: number;
4026
+ contentHash: string;
4027
+ /** @maxLength 2000 */
4028
+ notes?: string;
4029
+ decision: "approve";
4030
+ checklist: {
4031
+ labels: true;
4032
+ hierarchy: true;
4033
+ inventory: true;
4034
+ geometry: true;
4035
+ };
4036
+ /**
4037
+ * @minItems 1
4038
+ * @maxItems 6000
4039
+ */
4040
+ inspected: {
4041
+ floor: string;
4042
+ kind: "buyer-preview-desktop" | "buyer-preview-mobile" | "buyer-preview-interaction-desktop" | "buyer-preview-interaction-mobile" | "buyer-preview-venue3d-desktop" | "buyer-preview-venue3d-mobile";
4043
+ hash: string;
4044
+ }[];
4045
+ } | {
4046
+ /**
4047
+ * @maximum 9007199254740991
4048
+ * @exclusiveMinimum 0
4049
+ */
4050
+ revision: number;
4051
+ contentHash: string;
4052
+ /** @maxLength 2000 */
4053
+ notes?: string;
4054
+ decision: "reject";
4055
+ };
4056
+ export interface MapPublishedVersionDto {
4057
+ revision: number;
4058
+ publishedAt: string;
4059
+ events: number;
4060
+ firstPublish: boolean;
4061
+ publishedBySelf: boolean;
4062
+ /** @nullable */
4063
+ publisherHandle: string | null;
4064
+ }
4065
+ export interface PinEventPublicationDto {
4066
+ eventId: string;
4067
+ }
4068
+ export interface MapPublicationDto {
4069
+ mapId: string;
4070
+ revision: number;
4071
+ contentHash: string;
4072
+ chartName: string;
4073
+ venueName?: string;
4074
+ physicalSeats: number;
4075
+ gaQuantity: number;
4076
+ publishedAt: string;
3884
4077
  }
3885
4078
  export interface MapContentDto {
3886
4079
  editorState?: MapEditorStateDto;
@@ -3982,6 +4175,7 @@ export type StartLoginParams = {
3982
4175
  returnTo: string;
3983
4176
  };
3984
4177
  export type ListMapsParams = {
4178
+ publication?: ListMapsPublication;
3985
4179
  lifecycle?: ListMapsLifecycle;
3986
4180
  /**
3987
4181
  * @maxLength 120
@@ -3998,6 +4192,11 @@ export type ListMapsParams = {
3998
4192
  */
3999
4193
  limit?: number;
4000
4194
  };
4195
+ export declare enum ListMapsPublication {
4196
+ all = "all",
4197
+ published = "published",
4198
+ drafts = "drafts"
4199
+ }
4001
4200
  export declare enum ListMapsLifecycle {
4002
4201
  active = "active",
4003
4202
  archived = "archived",
@@ -4055,6 +4254,15 @@ export declare class MapsClient {
4055
4254
  saveMap(workspaceId: string, mapId: string, saveMapDto: SaveMapDto, options?: AxiosRequestConfig): Promise<AxiosResponse<MapAcknowledgementDto>>;
4056
4255
  changeMap(workspaceId: string, mapId: string, mapActionDto: MapActionDto, options?: AxiosRequestConfig): Promise<AxiosResponse<MapAcknowledgementDto>>;
4057
4256
  listMapRevisions(workspaceId: string, mapId: string, options?: AxiosRequestConfig): Promise<AxiosResponse<MapRevisionDto[]>>;
4257
+ prepareMapReleaseReview(workspaceId: string, mapId: string, prepareMapReleaseReviewDto: PrepareMapReleaseReviewDto, options?: AxiosRequestConfig): Promise<AxiosResponse<MapReleaseReviewDto>>;
4258
+ decideMapRelease(workspaceId: string, mapId: string, reviewId: string, decideMapReleaseDto: DecideMapReleaseDto, options?: AxiosRequestConfig): Promise<AxiosResponse<MapReleaseDecisionDto>>;
4259
+ getMapReleaseCapture(workspaceId: string, mapId: string, reviewId: string, floor: string, kind: "buyer-preview-desktop" | "buyer-preview-mobile" | "buyer-preview-interaction-desktop" | "buyer-preview-interaction-mobile" | "buyer-preview-venue3d-desktop" | "buyer-preview-venue3d-mobile", options?: AxiosRequestConfig): Promise<AxiosResponse<Blob>>;
4260
+ listMapPublications(workspaceId: string, mapId: string, options?: AxiosRequestConfig): Promise<AxiosResponse<MapPublishedVersionDto[]>>;
4261
+ pinMapEventPublication(workspaceId: string, mapId: string, revision: number, pinEventPublicationDto: PinEventPublicationDto, options?: AxiosRequestConfig): Promise<AxiosResponse<MapPublicationDto>>;
4262
+ getMapEventHandoff(workspaceId: string, mapId: string, revision: number, options?: AxiosRequestConfig): Promise<AxiosResponse<MapPublicationDto>>;
4263
+ getPinnedEventPublication(workspaceId: string, eventId: string, options?: AxiosRequestConfig): Promise<AxiosResponse<MapPublicationDto>>;
4264
+ getMapPublication(workspaceId: string, mapId: string, revision: number, options?: AxiosRequestConfig): Promise<AxiosResponse<MapPublicationDto>>;
4265
+ getMapPublicationContent(workspaceId: string, mapId: string, revision: number, options?: AxiosRequestConfig): Promise<AxiosResponse<MapContentDto>>;
4058
4266
  getMapRevision(workspaceId: string, mapId: string, revision: number, options?: AxiosRequestConfig): Promise<AxiosResponse<MapContentDto>>;
4059
4267
  }
4060
4268
  export declare class ArtworkClient {
package/dist/generated.js CHANGED
@@ -56,7 +56,22 @@ export var MapOperation;
56
56
  MapOperation["trash"] = "trash";
57
57
  MapOperation["restoreTrash"] = "restoreTrash";
58
58
  MapOperation["restoreRevision"] = "restoreRevision";
59
+ MapOperation["replaceDraft"] = "replaceDraft";
59
60
  })(MapOperation || (MapOperation = {}));
61
+ export var ReleaseCaptureKind;
62
+ (function (ReleaseCaptureKind) {
63
+ ReleaseCaptureKind["buyer-preview-desktop"] = "buyer-preview-desktop";
64
+ ReleaseCaptureKind["buyer-preview-mobile"] = "buyer-preview-mobile";
65
+ ReleaseCaptureKind["buyer-preview-interaction-desktop"] = "buyer-preview-interaction-desktop";
66
+ ReleaseCaptureKind["buyer-preview-interaction-mobile"] = "buyer-preview-interaction-mobile";
67
+ ReleaseCaptureKind["buyer-preview-venue3d-desktop"] = "buyer-preview-venue3d-desktop";
68
+ ReleaseCaptureKind["buyer-preview-venue3d-mobile"] = "buyer-preview-venue3d-mobile";
69
+ })(ReleaseCaptureKind || (ReleaseCaptureKind = {}));
70
+ export var ReleaseDecision;
71
+ (function (ReleaseDecision) {
72
+ ReleaseDecision["approve"] = "approve";
73
+ ReleaseDecision["reject"] = "reject";
74
+ })(ReleaseDecision || (ReleaseDecision = {}));
60
75
  export var PrepareArtworkUploadDtoMimeType;
61
76
  (function (PrepareArtworkUploadDtoMimeType) {
62
77
  PrepareArtworkUploadDtoMimeType["image/png"] = "image/png";
@@ -98,6 +113,12 @@ export var ArtworkState;
98
113
  ArtworkState["deleting"] = "deleting";
99
114
  ArtworkState["deleted"] = "deleted";
100
115
  })(ArtworkState || (ArtworkState = {}));
116
+ export var ListMapsPublication;
117
+ (function (ListMapsPublication) {
118
+ ListMapsPublication["all"] = "all";
119
+ ListMapsPublication["published"] = "published";
120
+ ListMapsPublication["drafts"] = "drafts";
121
+ })(ListMapsPublication || (ListMapsPublication = {}));
101
122
  export var ListMapsLifecycle;
102
123
  (function (ListMapsLifecycle) {
103
124
  ListMapsLifecycle["active"] = "active";
@@ -220,6 +241,42 @@ export class MapsClient {
220
241
  const requestOptions = await prepareRequestOptions(this.configuration, this.basePath, options, "GET");
221
242
  return this.operations.listMapRevisions(workspaceId, mapId, requestOptions);
222
243
  }
244
+ async prepareMapReleaseReview(workspaceId, mapId, prepareMapReleaseReviewDto, options) {
245
+ const requestOptions = await prepareRequestOptions(this.configuration, this.basePath, options, "POST", prepareMapReleaseReviewDto);
246
+ return this.operations.prepareMapReleaseReview(workspaceId, mapId, requestOptions.data instanceof ArrayBuffer ? requestOptions.data : prepareMapReleaseReviewDto, requestOptions);
247
+ }
248
+ async decideMapRelease(workspaceId, mapId, reviewId, decideMapReleaseDto, options) {
249
+ const requestOptions = await prepareRequestOptions(this.configuration, this.basePath, options, "POST", decideMapReleaseDto);
250
+ return this.operations.decideMapRelease(workspaceId, mapId, reviewId, requestOptions.data instanceof ArrayBuffer ? requestOptions.data : decideMapReleaseDto, requestOptions);
251
+ }
252
+ async getMapReleaseCapture(workspaceId, mapId, reviewId, floor, kind, options) {
253
+ const requestOptions = await prepareRequestOptions(this.configuration, this.basePath, options, "GET");
254
+ return this.operations.getMapReleaseCapture(workspaceId, mapId, reviewId, floor, kind, requestOptions);
255
+ }
256
+ async listMapPublications(workspaceId, mapId, options) {
257
+ const requestOptions = await prepareRequestOptions(this.configuration, this.basePath, options, "GET");
258
+ return this.operations.listMapPublications(workspaceId, mapId, requestOptions);
259
+ }
260
+ async pinMapEventPublication(workspaceId, mapId, revision, pinEventPublicationDto, options) {
261
+ const requestOptions = await prepareRequestOptions(this.configuration, this.basePath, options, "POST", pinEventPublicationDto);
262
+ return this.operations.pinMapEventPublication(workspaceId, mapId, revision, requestOptions.data instanceof ArrayBuffer ? requestOptions.data : pinEventPublicationDto, requestOptions);
263
+ }
264
+ async getMapEventHandoff(workspaceId, mapId, revision, options) {
265
+ const requestOptions = await prepareRequestOptions(this.configuration, this.basePath, options, "GET");
266
+ return this.operations.getMapEventHandoff(workspaceId, mapId, revision, requestOptions);
267
+ }
268
+ async getPinnedEventPublication(workspaceId, eventId, options) {
269
+ const requestOptions = await prepareRequestOptions(this.configuration, this.basePath, options, "GET");
270
+ return this.operations.getPinnedEventPublication(workspaceId, eventId, requestOptions);
271
+ }
272
+ async getMapPublication(workspaceId, mapId, revision, options) {
273
+ const requestOptions = await prepareRequestOptions(this.configuration, this.basePath, options, "GET");
274
+ return this.operations.getMapPublication(workspaceId, mapId, revision, requestOptions);
275
+ }
276
+ async getMapPublicationContent(workspaceId, mapId, revision, options) {
277
+ const requestOptions = await prepareRequestOptions(this.configuration, this.basePath, options, "GET");
278
+ return this.operations.getMapPublicationContent(workspaceId, mapId, revision, requestOptions);
279
+ }
223
280
  async getMapRevision(workspaceId, mapId, revision, options) {
224
281
  const requestOptions = await prepareRequestOptions(this.configuration, this.basePath, options, "GET");
225
282
  return this.operations.getMapRevision(workspaceId, mapId, revision, requestOptions);
@@ -539,6 +596,135 @@ const getSeatmapApi = (axiosInstance = axios) => {
539
596
  baseURL: "",
540
597
  });
541
598
  };
599
+ const prepareMapReleaseReview = (workspaceId, mapId, prepareMapReleaseReviewDto, options) => {
600
+ return axiosInstance.post(`/workspaces/${encodeURIComponent(workspaceId)}/maps/${encodeURIComponent(mapId)}/release-review`, prepareMapReleaseReviewDto, options);
601
+ };
602
+ const getPrepareMapReleaseReviewUrl = (workspaceId, mapId) => {
603
+ return axiosInstance
604
+ .create({
605
+ baseURL: "",
606
+ params: null,
607
+ })
608
+ .getUri({
609
+ url: `/workspaces/${encodeURIComponent(workspaceId)}/maps/${encodeURIComponent(mapId)}/release-review`,
610
+ baseURL: "",
611
+ });
612
+ };
613
+ const decideMapRelease = (workspaceId, mapId, reviewId, decideMapReleaseDto, options) => {
614
+ return axiosInstance.post(`/workspaces/${encodeURIComponent(workspaceId)}/maps/${encodeURIComponent(mapId)}/release-review/${encodeURIComponent(reviewId)}/decision`, decideMapReleaseDto, options);
615
+ };
616
+ const getDecideMapReleaseUrl = (workspaceId, mapId, reviewId) => {
617
+ return axiosInstance
618
+ .create({
619
+ baseURL: "",
620
+ params: null,
621
+ })
622
+ .getUri({
623
+ url: `/workspaces/${encodeURIComponent(workspaceId)}/maps/${encodeURIComponent(mapId)}/release-review/${encodeURIComponent(reviewId)}/decision`,
624
+ baseURL: "",
625
+ });
626
+ };
627
+ const getMapReleaseCapture = (workspaceId, mapId, reviewId, floor, kind, options) => {
628
+ return axiosInstance.get(`/workspaces/${encodeURIComponent(workspaceId)}/maps/${encodeURIComponent(mapId)}/release-review/${encodeURIComponent(reviewId)}/captures/${encodeURIComponent(floor)}/${encodeURIComponent(kind)}`, {
629
+ responseType: "blob",
630
+ ...options,
631
+ });
632
+ };
633
+ const getGetMapReleaseCaptureUrl = (workspaceId, mapId, reviewId, floor, kind) => {
634
+ return axiosInstance
635
+ .create({
636
+ baseURL: "",
637
+ params: null,
638
+ })
639
+ .getUri({
640
+ url: `/workspaces/${encodeURIComponent(workspaceId)}/maps/${encodeURIComponent(mapId)}/release-review/${encodeURIComponent(reviewId)}/captures/${encodeURIComponent(floor)}/${encodeURIComponent(kind)}`,
641
+ baseURL: "",
642
+ });
643
+ };
644
+ const listMapPublications = (workspaceId, mapId, options) => {
645
+ return axiosInstance.get(`/workspaces/${encodeURIComponent(workspaceId)}/maps/${encodeURIComponent(mapId)}/publications`, options);
646
+ };
647
+ const getListMapPublicationsUrl = (workspaceId, mapId) => {
648
+ return axiosInstance
649
+ .create({
650
+ baseURL: "",
651
+ params: null,
652
+ })
653
+ .getUri({
654
+ url: `/workspaces/${encodeURIComponent(workspaceId)}/maps/${encodeURIComponent(mapId)}/publications`,
655
+ baseURL: "",
656
+ });
657
+ };
658
+ const pinMapEventPublication = (workspaceId, mapId, revision, pinEventPublicationDto, options) => {
659
+ return axiosInstance.post(`/workspaces/${encodeURIComponent(workspaceId)}/maps/${encodeURIComponent(mapId)}/publications/${encodeURIComponent(revision)}/event-handoff`, pinEventPublicationDto, options);
660
+ };
661
+ const getPinMapEventPublicationUrl = (workspaceId, mapId, revision) => {
662
+ return axiosInstance
663
+ .create({
664
+ baseURL: "",
665
+ params: null,
666
+ })
667
+ .getUri({
668
+ url: `/workspaces/${encodeURIComponent(workspaceId)}/maps/${encodeURIComponent(mapId)}/publications/${encodeURIComponent(revision)}/event-handoff`,
669
+ baseURL: "",
670
+ });
671
+ };
672
+ const getMapEventHandoff = (workspaceId, mapId, revision, options) => {
673
+ return axiosInstance.get(`/workspaces/${encodeURIComponent(workspaceId)}/maps/${encodeURIComponent(mapId)}/publications/${encodeURIComponent(revision)}/event-handoff`, options);
674
+ };
675
+ const getGetMapEventHandoffUrl = (workspaceId, mapId, revision) => {
676
+ return axiosInstance
677
+ .create({
678
+ baseURL: "",
679
+ params: null,
680
+ })
681
+ .getUri({
682
+ url: `/workspaces/${encodeURIComponent(workspaceId)}/maps/${encodeURIComponent(mapId)}/publications/${encodeURIComponent(revision)}/event-handoff`,
683
+ baseURL: "",
684
+ });
685
+ };
686
+ const getPinnedEventPublication = (workspaceId, eventId, options) => {
687
+ return axiosInstance.get(`/workspaces/${encodeURIComponent(workspaceId)}/maps/events/${encodeURIComponent(eventId)}/publication`, options);
688
+ };
689
+ const getGetPinnedEventPublicationUrl = (workspaceId, eventId) => {
690
+ return axiosInstance
691
+ .create({
692
+ baseURL: "",
693
+ params: null,
694
+ })
695
+ .getUri({
696
+ url: `/workspaces/${encodeURIComponent(workspaceId)}/maps/events/${encodeURIComponent(eventId)}/publication`,
697
+ baseURL: "",
698
+ });
699
+ };
700
+ const getMapPublication = (workspaceId, mapId, revision, options) => {
701
+ return axiosInstance.get(`/workspaces/${encodeURIComponent(workspaceId)}/maps/${encodeURIComponent(mapId)}/publications/${encodeURIComponent(revision)}`, options);
702
+ };
703
+ const getGetMapPublicationUrl = (workspaceId, mapId, revision) => {
704
+ return axiosInstance
705
+ .create({
706
+ baseURL: "",
707
+ params: null,
708
+ })
709
+ .getUri({
710
+ url: `/workspaces/${encodeURIComponent(workspaceId)}/maps/${encodeURIComponent(mapId)}/publications/${encodeURIComponent(revision)}`,
711
+ baseURL: "",
712
+ });
713
+ };
714
+ const getMapPublicationContent = (workspaceId, mapId, revision, options) => {
715
+ return axiosInstance.get(`/workspaces/${encodeURIComponent(workspaceId)}/maps/${encodeURIComponent(mapId)}/publications/${encodeURIComponent(revision)}/content`, options);
716
+ };
717
+ const getGetMapPublicationContentUrl = (workspaceId, mapId, revision) => {
718
+ return axiosInstance
719
+ .create({
720
+ baseURL: "",
721
+ params: null,
722
+ })
723
+ .getUri({
724
+ url: `/workspaces/${encodeURIComponent(workspaceId)}/maps/${encodeURIComponent(mapId)}/publications/${encodeURIComponent(revision)}/content`,
725
+ baseURL: "",
726
+ });
727
+ };
542
728
  const getMapRevision = (workspaceId, mapId, revision, options) => {
543
729
  return axiosInstance.get(`/workspaces/${encodeURIComponent(workspaceId)}/maps/${encodeURIComponent(mapId)}/revisions/${encodeURIComponent(revision)}`, options);
544
730
  };
@@ -684,6 +870,15 @@ const getSeatmapApi = (axiosInstance = axios) => {
684
870
  saveMap,
685
871
  changeMap,
686
872
  listMapRevisions,
873
+ prepareMapReleaseReview,
874
+ decideMapRelease,
875
+ getMapReleaseCapture,
876
+ listMapPublications,
877
+ pinMapEventPublication,
878
+ getMapEventHandoff,
879
+ getPinnedEventPublication,
880
+ getMapPublication,
881
+ getMapPublicationContent,
687
882
  getMapRevision,
688
883
  getArtworkLimits,
689
884
  prepareArtworkUpload,
@@ -711,6 +906,15 @@ const getSeatmapApi = (axiosInstance = axios) => {
711
906
  getSaveMapUrl,
712
907
  getChangeMapUrl,
713
908
  getListMapRevisionsUrl,
909
+ getPrepareMapReleaseReviewUrl,
910
+ getDecideMapReleaseUrl,
911
+ getGetMapReleaseCaptureUrl,
912
+ getListMapPublicationsUrl,
913
+ getPinMapEventPublicationUrl,
914
+ getGetMapEventHandoffUrl,
915
+ getGetPinnedEventPublicationUrl,
916
+ getGetMapPublicationUrl,
917
+ getGetMapPublicationContentUrl,
714
918
  getGetMapRevisionUrl,
715
919
  getGetArtworkLimitsUrl,
716
920
  getPrepareArtworkUploadUrl,
package/dist/transport.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { mergeConfig } from "axios";
2
- const clientContract = "20";
2
+ const clientContract = "23";
3
3
  const requestCompressionThreshold = 64 * 1024;
4
4
  /**
5
5
  * @method prepareRequestOptions
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seatmap-fyi/api-client",
3
- "version": "0.1.0-alpha.28",
3
+ "version": "0.1.0-alpha.31",
4
4
  "license": "UNLICENSED",
5
5
  "type": "module",
6
6
  "sideEffects": false,