@seatmap-fyi/api-client 0.1.0-alpha.31 → 0.1.0-alpha.34
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.
- package/dist/generated.d.ts +277 -1
- package/dist/generated.js +111 -0
- package/dist/transport.js +1 -1
- package/package.json +1 -1
package/dist/generated.d.ts
CHANGED
|
@@ -124,6 +124,152 @@ export interface MapListDto {
|
|
|
124
124
|
/** @nullable */
|
|
125
125
|
nextCursor: string | null;
|
|
126
126
|
}
|
|
127
|
+
export type ReadPlanBlockDtoAt = {
|
|
128
|
+
/**
|
|
129
|
+
* @minimum 0
|
|
130
|
+
* @maximum 1
|
|
131
|
+
*/
|
|
132
|
+
x: number;
|
|
133
|
+
/**
|
|
134
|
+
* @minimum 0
|
|
135
|
+
* @maximum 1
|
|
136
|
+
*/
|
|
137
|
+
y: number;
|
|
138
|
+
};
|
|
139
|
+
export interface ReadPlanBlockDto {
|
|
140
|
+
/**
|
|
141
|
+
* @maximum 9007199254740991
|
|
142
|
+
* @exclusiveMinimum 0
|
|
143
|
+
*/
|
|
144
|
+
revision: number;
|
|
145
|
+
planId: string;
|
|
146
|
+
at: ReadPlanBlockDtoAt;
|
|
147
|
+
}
|
|
148
|
+
export declare enum PlanReadKind {
|
|
149
|
+
miss = "miss",
|
|
150
|
+
rows = "rows",
|
|
151
|
+
shape = "shape"
|
|
152
|
+
}
|
|
153
|
+
export interface PlanPointDto {
|
|
154
|
+
x: number;
|
|
155
|
+
y: number;
|
|
156
|
+
}
|
|
157
|
+
export interface PlanRowDto {
|
|
158
|
+
first: PlanPointDto;
|
|
159
|
+
last: PlanPointDto;
|
|
160
|
+
count: number;
|
|
161
|
+
}
|
|
162
|
+
export interface PlanBoundaryDto {
|
|
163
|
+
left: number;
|
|
164
|
+
top: number;
|
|
165
|
+
width: number;
|
|
166
|
+
height: number;
|
|
167
|
+
}
|
|
168
|
+
export interface PlanReadResultDto {
|
|
169
|
+
kind: PlanReadKind;
|
|
170
|
+
rows?: PlanRowDto[];
|
|
171
|
+
boundary?: PlanBoundaryDto;
|
|
172
|
+
}
|
|
173
|
+
export type ReadPlanCurveDtoFirst = {
|
|
174
|
+
/**
|
|
175
|
+
* @minimum 0
|
|
176
|
+
* @maximum 1
|
|
177
|
+
*/
|
|
178
|
+
x: number;
|
|
179
|
+
/**
|
|
180
|
+
* @minimum 0
|
|
181
|
+
* @maximum 1
|
|
182
|
+
*/
|
|
183
|
+
y: number;
|
|
184
|
+
};
|
|
185
|
+
export type ReadPlanCurveDtoMiddle = {
|
|
186
|
+
/**
|
|
187
|
+
* @minimum 0
|
|
188
|
+
* @maximum 1
|
|
189
|
+
*/
|
|
190
|
+
x: number;
|
|
191
|
+
/**
|
|
192
|
+
* @minimum 0
|
|
193
|
+
* @maximum 1
|
|
194
|
+
*/
|
|
195
|
+
y: number;
|
|
196
|
+
};
|
|
197
|
+
export type ReadPlanCurveDtoLast = {
|
|
198
|
+
/**
|
|
199
|
+
* @minimum 0
|
|
200
|
+
* @maximum 1
|
|
201
|
+
*/
|
|
202
|
+
x: number;
|
|
203
|
+
/**
|
|
204
|
+
* @minimum 0
|
|
205
|
+
* @maximum 1
|
|
206
|
+
*/
|
|
207
|
+
y: number;
|
|
208
|
+
};
|
|
209
|
+
export interface ReadPlanCurveDto {
|
|
210
|
+
/**
|
|
211
|
+
* @maximum 9007199254740991
|
|
212
|
+
* @exclusiveMinimum 0
|
|
213
|
+
*/
|
|
214
|
+
revision: number;
|
|
215
|
+
planId: string;
|
|
216
|
+
first: ReadPlanCurveDtoFirst;
|
|
217
|
+
middle: ReadPlanCurveDtoMiddle;
|
|
218
|
+
last: ReadPlanCurveDtoLast;
|
|
219
|
+
}
|
|
220
|
+
export interface PlanCurvedRowDto {
|
|
221
|
+
first: PlanPointDto;
|
|
222
|
+
middle: PlanPointDto;
|
|
223
|
+
last: PlanPointDto;
|
|
224
|
+
count: number;
|
|
225
|
+
diameterFraction: number;
|
|
226
|
+
}
|
|
227
|
+
export interface PlanCurveReadResultDto {
|
|
228
|
+
row?: PlanCurvedRowDto;
|
|
229
|
+
}
|
|
230
|
+
export interface ReviewPlanDto {
|
|
231
|
+
/**
|
|
232
|
+
* @maximum 9007199254740991
|
|
233
|
+
* @exclusiveMinimum 0
|
|
234
|
+
*/
|
|
235
|
+
revision: number;
|
|
236
|
+
planId: string;
|
|
237
|
+
}
|
|
238
|
+
export interface PlanSectionOutlineDto {
|
|
239
|
+
points: PlanPointDto[];
|
|
240
|
+
holes?: PlanPointDto[][];
|
|
241
|
+
}
|
|
242
|
+
export interface PlanSectionFindResultDto {
|
|
243
|
+
sections: PlanSectionOutlineDto[];
|
|
244
|
+
}
|
|
245
|
+
export interface PlanPageBlockDto {
|
|
246
|
+
rows: PlanRowDto[];
|
|
247
|
+
boundary?: PlanBoundaryDto;
|
|
248
|
+
}
|
|
249
|
+
export interface PlanPageReadResultDto {
|
|
250
|
+
blocks: PlanPageBlockDto[];
|
|
251
|
+
sections: PlanSectionOutlineDto[];
|
|
252
|
+
glyphLimitReached: boolean;
|
|
253
|
+
/**
|
|
254
|
+
* Nearby seat-like marks the scan left out of its row proposals. Requires recognized rows.
|
|
255
|
+
* @minimum 0
|
|
256
|
+
*/
|
|
257
|
+
uncertainMarks?: number;
|
|
258
|
+
}
|
|
259
|
+
export declare enum PlanReviewVerdict {
|
|
260
|
+
matched = "matched",
|
|
261
|
+
"insufficient-evidence" = "insufficient-evidence"
|
|
262
|
+
}
|
|
263
|
+
export interface PlanReviewResultDto {
|
|
264
|
+
verdict: PlanReviewVerdict;
|
|
265
|
+
printedSeats?: number;
|
|
266
|
+
matchedSeats?: number;
|
|
267
|
+
/**
|
|
268
|
+
* Seat-like marks excluded from the printed count that may need manual review.
|
|
269
|
+
* @minimum 1
|
|
270
|
+
*/
|
|
271
|
+
uncertainMarks?: number;
|
|
272
|
+
}
|
|
127
273
|
export declare enum MapEditorStateDtoVersion {
|
|
128
274
|
NUMBER_1 = 1
|
|
129
275
|
}
|
|
@@ -159,8 +305,37 @@ export type PhysicalDocumentV1DtoSegmentedRowsItemSequenceNumberFrom = "first" |
|
|
|
159
305
|
*/
|
|
160
306
|
export type PhysicalDocumentV1DtoSegmentedRowsItemPartsItemJoinBefore = "aisle" | "continuous";
|
|
161
307
|
export type PhysicalDocumentV1DtoAssetsItemMimeType = "image/png" | "image/jpeg" | "image/webp" | "image/svg+xml";
|
|
308
|
+
export type PhysicalDocumentV1DtoBuyerPhotoSourceDimensions = {
|
|
309
|
+
/**
|
|
310
|
+
* @maximum 9007199254740991
|
|
311
|
+
* @exclusiveMinimum 0
|
|
312
|
+
*/
|
|
313
|
+
width: number;
|
|
314
|
+
/**
|
|
315
|
+
* @maximum 9007199254740991
|
|
316
|
+
* @exclusiveMinimum 0
|
|
317
|
+
*/
|
|
318
|
+
height: number;
|
|
319
|
+
};
|
|
162
320
|
export type PhysicalDocumentV1DtoBuyerPhoto = {
|
|
163
321
|
assetId: string;
|
|
322
|
+
/**
|
|
323
|
+
* @minimum -360
|
|
324
|
+
* @maximum 360
|
|
325
|
+
*/
|
|
326
|
+
initialBearingDeg?: number;
|
|
327
|
+
/**
|
|
328
|
+
* @minimum -35
|
|
329
|
+
* @maximum 35
|
|
330
|
+
*/
|
|
331
|
+
initialPitchDeg?: number;
|
|
332
|
+
capturedAt?: string;
|
|
333
|
+
/**
|
|
334
|
+
* Unicode code-point length; control characters and unpaired surrogates are rejected.
|
|
335
|
+
* @maxLength 100
|
|
336
|
+
*/
|
|
337
|
+
sourceLabel?: string;
|
|
338
|
+
sourceDimensions?: PhysicalDocumentV1DtoBuyerPhotoSourceDimensions;
|
|
164
339
|
};
|
|
165
340
|
export type PhysicalDocumentV1DtoCoordinateSystem = {
|
|
166
341
|
unit: PhysicalDocumentV1DtoCoordinateSystemUnit;
|
|
@@ -507,6 +682,7 @@ export type PhysicalDocumentV1DtoCollectionsItem = {
|
|
|
507
682
|
* @maxLength 120
|
|
508
683
|
*/
|
|
509
684
|
name: string;
|
|
685
|
+
independentLayers?: true;
|
|
510
686
|
};
|
|
511
687
|
export type PhysicalDocumentV1DtoSeatingGroupsItem = {
|
|
512
688
|
entrance?: {
|
|
@@ -3044,6 +3220,7 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
|
|
|
3044
3220
|
opens?: string;
|
|
3045
3221
|
showToBuyers?: boolean;
|
|
3046
3222
|
};
|
|
3223
|
+
wayfindingBlock?: "entrance" | "exit" | "restroom";
|
|
3047
3224
|
sizeM: {
|
|
3048
3225
|
/**
|
|
3049
3226
|
* @minimum 0.001
|
|
@@ -3200,6 +3377,7 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
|
|
|
3200
3377
|
strokeWidthM?: number;
|
|
3201
3378
|
};
|
|
3202
3379
|
kind: "line";
|
|
3380
|
+
lineShape?: "straight" | "path";
|
|
3203
3381
|
route?: {
|
|
3204
3382
|
stepFree: boolean;
|
|
3205
3383
|
};
|
|
@@ -3300,6 +3478,18 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
|
|
|
3300
3478
|
opens?: string;
|
|
3301
3479
|
showToBuyers?: boolean;
|
|
3302
3480
|
};
|
|
3481
|
+
stage?: {
|
|
3482
|
+
preset?: "flat" | "round";
|
|
3483
|
+
labelStyle?: {
|
|
3484
|
+
color?: string;
|
|
3485
|
+
/**
|
|
3486
|
+
* Single-line label text without control characters or unpaired surrogates.
|
|
3487
|
+
* @minLength 1
|
|
3488
|
+
*/
|
|
3489
|
+
fontFamily?: string;
|
|
3490
|
+
underline?: boolean;
|
|
3491
|
+
};
|
|
3492
|
+
};
|
|
3303
3493
|
boundary: {
|
|
3304
3494
|
/**
|
|
3305
3495
|
* Implicitly closed ring; the last vertex must not repeat the first.
|
|
@@ -3419,7 +3609,7 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
|
|
|
3419
3609
|
strokeWidthM?: number;
|
|
3420
3610
|
};
|
|
3421
3611
|
kind: "icon";
|
|
3422
|
-
iconId: "stage" | "entrance" | "exit" | "bar" | "restroom" | "accessible";
|
|
3612
|
+
iconId: "stage" | "entrance" | "exit" | "bar" | "restroom" | "accessible" | "mensRestroom" | "womensRestroom" | "accessibleRestroom" | "firstAid" | "cloakroom" | "atm" | "info" | "lostAndFound" | "chargingPoint" | "smokingArea" | "noSmoking" | "screen" | "soundBooth" | "security" | "lockers" | "babyChange" | "prayerRoom" | "quietRoom" | "wifi" | "vipLounge" | "food" | "coffee" | "water" | "merch" | "emergencyExit" | "stairs" | "lift" | "parking" | "boxOffice" | "escalator" | "ramp" | "taxi" | "transit" | "bikeParking" | "meetingPoint" | "hearingAssistance" | "accessibleEntrance" | "assistanceDog";
|
|
3423
3613
|
sizeM: {
|
|
3424
3614
|
/**
|
|
3425
3615
|
* @minimum 0.001
|
|
@@ -3499,6 +3689,58 @@ export type PhysicalDocumentV1DtoDecorationsItem = {
|
|
|
3499
3689
|
strokeWidthM?: number;
|
|
3500
3690
|
};
|
|
3501
3691
|
kind: "image";
|
|
3692
|
+
referencePlan?: true;
|
|
3693
|
+
referenceSource?: {
|
|
3694
|
+
/**
|
|
3695
|
+
* @minLength 1
|
|
3696
|
+
* @maxLength 255
|
|
3697
|
+
*/
|
|
3698
|
+
fileName: string;
|
|
3699
|
+
/**
|
|
3700
|
+
* @minimum 1
|
|
3701
|
+
* @maximum 100
|
|
3702
|
+
*/
|
|
3703
|
+
page?: number;
|
|
3704
|
+
};
|
|
3705
|
+
referenceLayer?: "below-chart" | "above-chart";
|
|
3706
|
+
referenceCrop?: {
|
|
3707
|
+
/**
|
|
3708
|
+
* @minimum 0
|
|
3709
|
+
* @maximum 1
|
|
3710
|
+
*/
|
|
3711
|
+
left: number;
|
|
3712
|
+
/**
|
|
3713
|
+
* @minimum 0
|
|
3714
|
+
* @maximum 1
|
|
3715
|
+
*/
|
|
3716
|
+
top: number;
|
|
3717
|
+
/**
|
|
3718
|
+
* @maximum 1
|
|
3719
|
+
* @exclusiveMinimum 0
|
|
3720
|
+
*/
|
|
3721
|
+
width: number;
|
|
3722
|
+
/**
|
|
3723
|
+
* @maximum 1
|
|
3724
|
+
* @exclusiveMinimum 0
|
|
3725
|
+
*/
|
|
3726
|
+
height: number;
|
|
3727
|
+
};
|
|
3728
|
+
referenceCalibration?: {
|
|
3729
|
+
firstPx: {
|
|
3730
|
+
/** @minimum 0 */
|
|
3731
|
+
x: number;
|
|
3732
|
+
/** @minimum 0 */
|
|
3733
|
+
y: number;
|
|
3734
|
+
};
|
|
3735
|
+
secondPx: {
|
|
3736
|
+
/** @minimum 0 */
|
|
3737
|
+
x: number;
|
|
3738
|
+
/** @minimum 0 */
|
|
3739
|
+
y: number;
|
|
3740
|
+
};
|
|
3741
|
+
/** @exclusiveMinimum 0 */
|
|
3742
|
+
distanceM: number;
|
|
3743
|
+
};
|
|
3502
3744
|
assetId: string;
|
|
3503
3745
|
sizeM: {
|
|
3504
3746
|
/**
|
|
@@ -3631,6 +3873,7 @@ export interface MapAcknowledgementDto {
|
|
|
3631
3873
|
acceptedAt: string;
|
|
3632
3874
|
lifecycle: MapLifecycle;
|
|
3633
3875
|
unchanged: boolean;
|
|
3876
|
+
expiredUndoRevisions?: number[];
|
|
3634
3877
|
issues: MapIssueDto[];
|
|
3635
3878
|
}
|
|
3636
3879
|
export declare enum MutationStatus {
|
|
@@ -3722,6 +3965,8 @@ export type SectionLayoutSaveDto = {
|
|
|
3722
3965
|
workspaceSectionId: string | null;
|
|
3723
3966
|
} | {
|
|
3724
3967
|
arcFanGroupId: string;
|
|
3968
|
+
} | {
|
|
3969
|
+
gateId: string;
|
|
3725
3970
|
};
|
|
3726
3971
|
} | {
|
|
3727
3972
|
kind: "undo";
|
|
@@ -3785,6 +4030,8 @@ export type SectionLayoutSaveDto = {
|
|
|
3785
4030
|
workspaceSectionId: string | null;
|
|
3786
4031
|
} | {
|
|
3787
4032
|
arcFanGroupId: string;
|
|
4033
|
+
} | {
|
|
4034
|
+
gateId: string;
|
|
3788
4035
|
};
|
|
3789
4036
|
/**
|
|
3790
4037
|
* @maximum 9007199254740991
|
|
@@ -3814,6 +4061,12 @@ export interface ReplaceDraftDto {
|
|
|
3814
4061
|
* @exclusiveMinimum 0
|
|
3815
4062
|
*/
|
|
3816
4063
|
expectedRevision: number;
|
|
4064
|
+
/**
|
|
4065
|
+
* @maxItems 100
|
|
4066
|
+
* @items.maximum 9007199254740991
|
|
4067
|
+
* @items.exclusiveMinimum 0
|
|
4068
|
+
*/
|
|
4069
|
+
undoRevisions?: number[];
|
|
3817
4070
|
replaceDraft: true;
|
|
3818
4071
|
/** 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
4072
|
content: ReplaceDraftDtoContent;
|
|
@@ -3826,6 +4079,12 @@ export type SaveMapDto = {
|
|
|
3826
4079
|
* @exclusiveMinimum 0
|
|
3827
4080
|
*/
|
|
3828
4081
|
expectedRevision: number;
|
|
4082
|
+
/**
|
|
4083
|
+
* @maxItems 100
|
|
4084
|
+
* @items.maximum 9007199254740991
|
|
4085
|
+
* @items.exclusiveMinimum 0
|
|
4086
|
+
*/
|
|
4087
|
+
undoRevisions?: number[];
|
|
3829
4088
|
sectionLayout?: SectionLayoutSaveDto;
|
|
3830
4089
|
/** 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. */
|
|
3831
4090
|
content: {
|
|
@@ -3841,6 +4100,12 @@ export type SaveMapDto = {
|
|
|
3841
4100
|
* @exclusiveMinimum 0
|
|
3842
4101
|
*/
|
|
3843
4102
|
expectedRevision: number;
|
|
4103
|
+
/**
|
|
4104
|
+
* @maxItems 100
|
|
4105
|
+
* @items.maximum 9007199254740991
|
|
4106
|
+
* @items.exclusiveMinimum 0
|
|
4107
|
+
*/
|
|
4108
|
+
undoRevisions?: number[];
|
|
3844
4109
|
sectionLayout?: SectionLayoutSaveDto;
|
|
3845
4110
|
/** @maxItems 10000 */
|
|
3846
4111
|
changes: ({
|
|
@@ -3947,6 +4212,12 @@ export type MapActionDto = {
|
|
|
3947
4212
|
*/
|
|
3948
4213
|
sourceRevision: number;
|
|
3949
4214
|
keepDraftAsVersion?: boolean;
|
|
4215
|
+
/**
|
|
4216
|
+
* @maxItems 100
|
|
4217
|
+
* @items.maximum 9007199254740991
|
|
4218
|
+
* @items.exclusiveMinimum 0
|
|
4219
|
+
*/
|
|
4220
|
+
undoRevisions?: number[];
|
|
3950
4221
|
};
|
|
3951
4222
|
export declare enum MapOperation {
|
|
3952
4223
|
create = "create",
|
|
@@ -4246,6 +4517,11 @@ export declare class MapsClient {
|
|
|
4246
4517
|
constructor(configuration: Configuration, basePath?: string | undefined, axiosInstance?: AxiosInstance);
|
|
4247
4518
|
listMaps(workspaceId: string, params?: ListMapsParams, options?: AxiosRequestConfig): Promise<AxiosResponse<MapListDto>>;
|
|
4248
4519
|
createMap(workspaceId: string, createMapDto: CreateMapDto, options?: AxiosRequestConfig): Promise<AxiosResponse<MapAcknowledgementDto>>;
|
|
4520
|
+
readReferencePlanBlock(workspaceId: string, mapId: string, readPlanBlockDto: ReadPlanBlockDto, options?: AxiosRequestConfig): Promise<AxiosResponse<PlanReadResultDto>>;
|
|
4521
|
+
readReferencePlanCurve(workspaceId: string, mapId: string, readPlanCurveDto: ReadPlanCurveDto, options?: AxiosRequestConfig): Promise<AxiosResponse<PlanCurveReadResultDto>>;
|
|
4522
|
+
findReferencePlanSections(workspaceId: string, mapId: string, reviewPlanDto: ReviewPlanDto, options?: AxiosRequestConfig): Promise<AxiosResponse<PlanSectionFindResultDto>>;
|
|
4523
|
+
readWholeReferencePlan(workspaceId: string, mapId: string, reviewPlanDto: ReviewPlanDto, options?: AxiosRequestConfig): Promise<AxiosResponse<PlanPageReadResultDto>>;
|
|
4524
|
+
reviewReferencePlan(workspaceId: string, mapId: string, reviewPlanDto: ReviewPlanDto, options?: AxiosRequestConfig): Promise<AxiosResponse<PlanReviewResultDto>>;
|
|
4249
4525
|
getMapPreview(workspaceId: string, mapId: string, params: GetMapPreviewParams, options?: AxiosRequestConfig): Promise<AxiosResponse<Blob>>;
|
|
4250
4526
|
getMutationStatus(workspaceId: string, operationId: string, options?: AxiosRequestConfig): Promise<AxiosResponse<MutationStatusDto>>;
|
|
4251
4527
|
resolveMapLink(workspaceId: string, editorCode: string, options?: AxiosRequestConfig): Promise<AxiosResponse<MapLinkDto>>;
|
package/dist/generated.js
CHANGED
|
@@ -35,6 +35,17 @@ export var MapLifecycle;
|
|
|
35
35
|
MapLifecycle["trashed"] = "trashed";
|
|
36
36
|
MapLifecycle["deleted"] = "deleted";
|
|
37
37
|
})(MapLifecycle || (MapLifecycle = {}));
|
|
38
|
+
export var PlanReadKind;
|
|
39
|
+
(function (PlanReadKind) {
|
|
40
|
+
PlanReadKind["miss"] = "miss";
|
|
41
|
+
PlanReadKind["rows"] = "rows";
|
|
42
|
+
PlanReadKind["shape"] = "shape";
|
|
43
|
+
})(PlanReadKind || (PlanReadKind = {}));
|
|
44
|
+
export var PlanReviewVerdict;
|
|
45
|
+
(function (PlanReviewVerdict) {
|
|
46
|
+
PlanReviewVerdict["matched"] = "matched";
|
|
47
|
+
PlanReviewVerdict["insufficient-evidence"] = "insufficient-evidence";
|
|
48
|
+
})(PlanReviewVerdict || (PlanReviewVerdict = {}));
|
|
38
49
|
export var MapEditorStateDtoVersion;
|
|
39
50
|
(function (MapEditorStateDtoVersion) {
|
|
40
51
|
MapEditorStateDtoVersion[MapEditorStateDtoVersion["NUMBER_1"] = 1] = "NUMBER_1";
|
|
@@ -209,6 +220,26 @@ export class MapsClient {
|
|
|
209
220
|
const requestOptions = await prepareRequestOptions(this.configuration, this.basePath, options, "POST", createMapDto);
|
|
210
221
|
return this.operations.createMap(workspaceId, requestOptions.data instanceof ArrayBuffer ? requestOptions.data : createMapDto, requestOptions);
|
|
211
222
|
}
|
|
223
|
+
async readReferencePlanBlock(workspaceId, mapId, readPlanBlockDto, options) {
|
|
224
|
+
const requestOptions = await prepareRequestOptions(this.configuration, this.basePath, options, "POST", readPlanBlockDto);
|
|
225
|
+
return this.operations.readReferencePlanBlock(workspaceId, mapId, requestOptions.data instanceof ArrayBuffer ? requestOptions.data : readPlanBlockDto, requestOptions);
|
|
226
|
+
}
|
|
227
|
+
async readReferencePlanCurve(workspaceId, mapId, readPlanCurveDto, options) {
|
|
228
|
+
const requestOptions = await prepareRequestOptions(this.configuration, this.basePath, options, "POST", readPlanCurveDto);
|
|
229
|
+
return this.operations.readReferencePlanCurve(workspaceId, mapId, requestOptions.data instanceof ArrayBuffer ? requestOptions.data : readPlanCurveDto, requestOptions);
|
|
230
|
+
}
|
|
231
|
+
async findReferencePlanSections(workspaceId, mapId, reviewPlanDto, options) {
|
|
232
|
+
const requestOptions = await prepareRequestOptions(this.configuration, this.basePath, options, "POST", reviewPlanDto);
|
|
233
|
+
return this.operations.findReferencePlanSections(workspaceId, mapId, requestOptions.data instanceof ArrayBuffer ? requestOptions.data : reviewPlanDto, requestOptions);
|
|
234
|
+
}
|
|
235
|
+
async readWholeReferencePlan(workspaceId, mapId, reviewPlanDto, options) {
|
|
236
|
+
const requestOptions = await prepareRequestOptions(this.configuration, this.basePath, options, "POST", reviewPlanDto);
|
|
237
|
+
return this.operations.readWholeReferencePlan(workspaceId, mapId, requestOptions.data instanceof ArrayBuffer ? requestOptions.data : reviewPlanDto, requestOptions);
|
|
238
|
+
}
|
|
239
|
+
async reviewReferencePlan(workspaceId, mapId, reviewPlanDto, options) {
|
|
240
|
+
const requestOptions = await prepareRequestOptions(this.configuration, this.basePath, options, "POST", reviewPlanDto);
|
|
241
|
+
return this.operations.reviewReferencePlan(workspaceId, mapId, requestOptions.data instanceof ArrayBuffer ? requestOptions.data : reviewPlanDto, requestOptions);
|
|
242
|
+
}
|
|
212
243
|
async getMapPreview(workspaceId, mapId, params, options) {
|
|
213
244
|
const requestOptions = await prepareRequestOptions(this.configuration, this.basePath, options, "GET");
|
|
214
245
|
return this.operations.getMapPreview(workspaceId, mapId, params, requestOptions);
|
|
@@ -473,6 +504,76 @@ const getSeatmapApi = (axiosInstance = axios) => {
|
|
|
473
504
|
baseURL: "",
|
|
474
505
|
});
|
|
475
506
|
};
|
|
507
|
+
const readReferencePlanBlock = (workspaceId, mapId, readPlanBlockDto, options) => {
|
|
508
|
+
return axiosInstance.post(`/workspaces/${encodeURIComponent(workspaceId)}/maps/${encodeURIComponent(mapId)}/reference-plan/read-block`, readPlanBlockDto, options);
|
|
509
|
+
};
|
|
510
|
+
const getReadReferencePlanBlockUrl = (workspaceId, mapId) => {
|
|
511
|
+
return axiosInstance
|
|
512
|
+
.create({
|
|
513
|
+
baseURL: "",
|
|
514
|
+
params: null,
|
|
515
|
+
})
|
|
516
|
+
.getUri({
|
|
517
|
+
url: `/workspaces/${encodeURIComponent(workspaceId)}/maps/${encodeURIComponent(mapId)}/reference-plan/read-block`,
|
|
518
|
+
baseURL: "",
|
|
519
|
+
});
|
|
520
|
+
};
|
|
521
|
+
const readReferencePlanCurve = (workspaceId, mapId, readPlanCurveDto, options) => {
|
|
522
|
+
return axiosInstance.post(`/workspaces/${encodeURIComponent(workspaceId)}/maps/${encodeURIComponent(mapId)}/reference-plan/read-curved-row`, readPlanCurveDto, options);
|
|
523
|
+
};
|
|
524
|
+
const getReadReferencePlanCurveUrl = (workspaceId, mapId) => {
|
|
525
|
+
return axiosInstance
|
|
526
|
+
.create({
|
|
527
|
+
baseURL: "",
|
|
528
|
+
params: null,
|
|
529
|
+
})
|
|
530
|
+
.getUri({
|
|
531
|
+
url: `/workspaces/${encodeURIComponent(workspaceId)}/maps/${encodeURIComponent(mapId)}/reference-plan/read-curved-row`,
|
|
532
|
+
baseURL: "",
|
|
533
|
+
});
|
|
534
|
+
};
|
|
535
|
+
const findReferencePlanSections = (workspaceId, mapId, reviewPlanDto, options) => {
|
|
536
|
+
return axiosInstance.post(`/workspaces/${encodeURIComponent(workspaceId)}/maps/${encodeURIComponent(mapId)}/reference-plan/find-sections`, reviewPlanDto, options);
|
|
537
|
+
};
|
|
538
|
+
const getFindReferencePlanSectionsUrl = (workspaceId, mapId) => {
|
|
539
|
+
return axiosInstance
|
|
540
|
+
.create({
|
|
541
|
+
baseURL: "",
|
|
542
|
+
params: null,
|
|
543
|
+
})
|
|
544
|
+
.getUri({
|
|
545
|
+
url: `/workspaces/${encodeURIComponent(workspaceId)}/maps/${encodeURIComponent(mapId)}/reference-plan/find-sections`,
|
|
546
|
+
baseURL: "",
|
|
547
|
+
});
|
|
548
|
+
};
|
|
549
|
+
const readWholeReferencePlan = (workspaceId, mapId, reviewPlanDto, options) => {
|
|
550
|
+
return axiosInstance.post(`/workspaces/${encodeURIComponent(workspaceId)}/maps/${encodeURIComponent(mapId)}/reference-plan/read-all`, reviewPlanDto, options);
|
|
551
|
+
};
|
|
552
|
+
const getReadWholeReferencePlanUrl = (workspaceId, mapId) => {
|
|
553
|
+
return axiosInstance
|
|
554
|
+
.create({
|
|
555
|
+
baseURL: "",
|
|
556
|
+
params: null,
|
|
557
|
+
})
|
|
558
|
+
.getUri({
|
|
559
|
+
url: `/workspaces/${encodeURIComponent(workspaceId)}/maps/${encodeURIComponent(mapId)}/reference-plan/read-all`,
|
|
560
|
+
baseURL: "",
|
|
561
|
+
});
|
|
562
|
+
};
|
|
563
|
+
const reviewReferencePlan = (workspaceId, mapId, reviewPlanDto, options) => {
|
|
564
|
+
return axiosInstance.post(`/workspaces/${encodeURIComponent(workspaceId)}/maps/${encodeURIComponent(mapId)}/reference-plan/review`, reviewPlanDto, options);
|
|
565
|
+
};
|
|
566
|
+
const getReviewReferencePlanUrl = (workspaceId, mapId) => {
|
|
567
|
+
return axiosInstance
|
|
568
|
+
.create({
|
|
569
|
+
baseURL: "",
|
|
570
|
+
params: null,
|
|
571
|
+
})
|
|
572
|
+
.getUri({
|
|
573
|
+
url: `/workspaces/${encodeURIComponent(workspaceId)}/maps/${encodeURIComponent(mapId)}/reference-plan/review`,
|
|
574
|
+
baseURL: "",
|
|
575
|
+
});
|
|
576
|
+
};
|
|
476
577
|
const getMapPreview = (workspaceId, mapId, params, options) => {
|
|
477
578
|
return axiosInstance.get(`/workspaces/${encodeURIComponent(workspaceId)}/maps/${encodeURIComponent(mapId)}/preview`, {
|
|
478
579
|
responseType: "blob",
|
|
@@ -862,6 +963,11 @@ const getSeatmapApi = (axiosInstance = axios) => {
|
|
|
862
963
|
getEmbedContext,
|
|
863
964
|
listMaps,
|
|
864
965
|
createMap,
|
|
966
|
+
readReferencePlanBlock,
|
|
967
|
+
readReferencePlanCurve,
|
|
968
|
+
findReferencePlanSections,
|
|
969
|
+
readWholeReferencePlan,
|
|
970
|
+
reviewReferencePlan,
|
|
865
971
|
getMapPreview,
|
|
866
972
|
getMutationStatus,
|
|
867
973
|
resolveMapLink,
|
|
@@ -898,6 +1004,11 @@ const getSeatmapApi = (axiosInstance = axios) => {
|
|
|
898
1004
|
getGetEmbedContextUrl,
|
|
899
1005
|
getListMapsUrl,
|
|
900
1006
|
getCreateMapUrl,
|
|
1007
|
+
getReadReferencePlanBlockUrl,
|
|
1008
|
+
getReadReferencePlanCurveUrl,
|
|
1009
|
+
getFindReferencePlanSectionsUrl,
|
|
1010
|
+
getReadWholeReferencePlanUrl,
|
|
1011
|
+
getReviewReferencePlanUrl,
|
|
901
1012
|
getGetMapPreviewUrl,
|
|
902
1013
|
getGetMutationStatusUrl,
|
|
903
1014
|
getResolveMapLinkUrl,
|
package/dist/transport.js
CHANGED