@wix/seatings 1.0.30 → 1.0.32
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/build/es/package.json +3 -0
- package/meta/package.json +1 -5
- package/package.json +25 -17
- package/context/package.json +0 -7
- package/type-bundles/context.bundle.d.ts +0 -2787
- package/type-bundles/index.bundle.d.ts +0 -2787
- package/type-bundles/meta.bundle.d.ts +0 -2722
|
@@ -1,2722 +0,0 @@
|
|
|
1
|
-
interface SeatingPlan$3 {
|
|
2
|
-
/**
|
|
3
|
-
* Auto generated unique plan id
|
|
4
|
-
* @readonly
|
|
5
|
-
*/
|
|
6
|
-
id?: string | null;
|
|
7
|
-
/**
|
|
8
|
-
* A client defined external id for cross referencing.
|
|
9
|
-
* Can reference external entities.
|
|
10
|
-
* Format: "{fqdn}:{entity guid}"
|
|
11
|
-
*/
|
|
12
|
-
externalId?: string | null;
|
|
13
|
-
/** Human friendly plan title */
|
|
14
|
-
title?: string | null;
|
|
15
|
-
/** Sections of the plan. Seating plan is divided in high level sections. */
|
|
16
|
-
sections?: Section$3[];
|
|
17
|
-
/** Categories for plan element grouping. */
|
|
18
|
-
categories?: Category$3[];
|
|
19
|
-
/**
|
|
20
|
-
* Seating plan created timestamp.
|
|
21
|
-
* @readonly
|
|
22
|
-
*/
|
|
23
|
-
createdDate?: Date | null;
|
|
24
|
-
/**
|
|
25
|
-
* Seating plan updated timestamp.
|
|
26
|
-
* @readonly
|
|
27
|
-
*/
|
|
28
|
-
updatedDate?: Date | null;
|
|
29
|
-
/**
|
|
30
|
-
* Total capacity
|
|
31
|
-
* @readonly
|
|
32
|
-
*/
|
|
33
|
-
totalCapacity?: number | null;
|
|
34
|
-
/**
|
|
35
|
-
* Total categories
|
|
36
|
-
* @readonly
|
|
37
|
-
*/
|
|
38
|
-
totalCategories?: number | null;
|
|
39
|
-
/**
|
|
40
|
-
* Places not assigned to categories
|
|
41
|
-
* @readonly
|
|
42
|
-
*/
|
|
43
|
-
uncategorizedPlaces?: Place$3[];
|
|
44
|
-
/**
|
|
45
|
-
* A version of the seating plan
|
|
46
|
-
* @readonly
|
|
47
|
-
*/
|
|
48
|
-
version?: string | null;
|
|
49
|
-
/** Data extensions */
|
|
50
|
-
extendedFields?: ExtendedFields$3;
|
|
51
|
-
/** Seating Plan UI settings */
|
|
52
|
-
uiProperties?: SeatingPlanUiProperties$3;
|
|
53
|
-
/** Element groups */
|
|
54
|
-
elementGroups?: ElementGroup$3[];
|
|
55
|
-
}
|
|
56
|
-
interface Section$3 {
|
|
57
|
-
/** Unique section id */
|
|
58
|
-
id?: number;
|
|
59
|
-
/** Human readable section title */
|
|
60
|
-
title?: string | null;
|
|
61
|
-
/**
|
|
62
|
-
* Client configuration object
|
|
63
|
-
* @readonly
|
|
64
|
-
*/
|
|
65
|
-
config?: Record<string, any> | null;
|
|
66
|
-
/** Elements of the section. */
|
|
67
|
-
elements?: Element$3[];
|
|
68
|
-
/**
|
|
69
|
-
* Total capacity
|
|
70
|
-
* @readonly
|
|
71
|
-
*/
|
|
72
|
-
totalCapacity?: number | null;
|
|
73
|
-
/**
|
|
74
|
-
* Is default section
|
|
75
|
-
* @readonly
|
|
76
|
-
*/
|
|
77
|
-
default?: boolean;
|
|
78
|
-
}
|
|
79
|
-
interface Element$3 {
|
|
80
|
-
/** Unique element id */
|
|
81
|
-
id?: number;
|
|
82
|
-
/** User friendly title/label of the element. */
|
|
83
|
-
title?: string | null;
|
|
84
|
-
/** Element type */
|
|
85
|
-
type?: Type$3;
|
|
86
|
-
/** Capacity. None for Shape type Element. */
|
|
87
|
-
capacity?: number | null;
|
|
88
|
-
/** Assigned to a category */
|
|
89
|
-
categoryId?: number | null;
|
|
90
|
-
/** A place numbering meta data */
|
|
91
|
-
sequencing?: Sequencing$3;
|
|
92
|
-
/**
|
|
93
|
-
* Place override (by seq_id)
|
|
94
|
-
* @deprecated
|
|
95
|
-
*/
|
|
96
|
-
overrides?: Place$3[];
|
|
97
|
-
/**
|
|
98
|
-
* Final place sequence with overrides
|
|
99
|
-
* @readonly
|
|
100
|
-
*/
|
|
101
|
-
places?: Place$3[];
|
|
102
|
-
/** Element reservation options */
|
|
103
|
-
reservationOptions?: ReservationOptions$3;
|
|
104
|
-
/** Element UI settings */
|
|
105
|
-
uiProperties?: ElementUiProperties$3;
|
|
106
|
-
/** Element group id */
|
|
107
|
-
elementGroupId?: number | null;
|
|
108
|
-
/** Multi row element relevant for MULTI_ROW element type */
|
|
109
|
-
multiRowProperties?: MultiRowProperties$3;
|
|
110
|
-
}
|
|
111
|
-
declare enum Type$3 {
|
|
112
|
-
AREA = "AREA",
|
|
113
|
-
ROW = "ROW",
|
|
114
|
-
MULTI_ROW = "MULTI_ROW",
|
|
115
|
-
TABLE = "TABLE",
|
|
116
|
-
ROUND_TABLE = "ROUND_TABLE",
|
|
117
|
-
SHAPE = "SHAPE"
|
|
118
|
-
}
|
|
119
|
-
interface Sequencing$3 {
|
|
120
|
-
/** First seq element */
|
|
121
|
-
startAt?: string;
|
|
122
|
-
/** Finite generated seq of labels */
|
|
123
|
-
labels?: string[];
|
|
124
|
-
/** If true - direction right to left. Otherwise left to right. */
|
|
125
|
-
reverseOrder?: boolean | null;
|
|
126
|
-
}
|
|
127
|
-
interface Place$3 {
|
|
128
|
-
/** Local id of the place in the sequence */
|
|
129
|
-
index?: number;
|
|
130
|
-
/**
|
|
131
|
-
* Generated composite unique id in the seating plan.
|
|
132
|
-
* @readonly
|
|
133
|
-
*/
|
|
134
|
-
id?: string | null;
|
|
135
|
-
/** Unique label of the place */
|
|
136
|
-
label?: string;
|
|
137
|
-
/**
|
|
138
|
-
* Max capacity per place
|
|
139
|
-
* @readonly
|
|
140
|
-
*/
|
|
141
|
-
capacity?: number | null;
|
|
142
|
-
/**
|
|
143
|
-
* Type of the parent element
|
|
144
|
-
* @readonly
|
|
145
|
-
*/
|
|
146
|
-
elementType?: Type$3;
|
|
147
|
-
/**
|
|
148
|
-
* Assigned category id
|
|
149
|
-
* @readonly
|
|
150
|
-
*/
|
|
151
|
-
categoryId?: number | null;
|
|
152
|
-
/** Place type */
|
|
153
|
-
type?: PlaceTypeEnumType$3;
|
|
154
|
-
}
|
|
155
|
-
declare enum PlaceTypeEnumType$3 {
|
|
156
|
-
UNKNOWN_PROPERTY = "UNKNOWN_PROPERTY",
|
|
157
|
-
STANDARD = "STANDARD",
|
|
158
|
-
WHEELCHAIR = "WHEELCHAIR",
|
|
159
|
-
ACCESSIBLE = "ACCESSIBLE",
|
|
160
|
-
COMPANION = "COMPANION",
|
|
161
|
-
OBSTRUCTED = "OBSTRUCTED",
|
|
162
|
-
DISCOUNT = "DISCOUNT"
|
|
163
|
-
}
|
|
164
|
-
interface ReservationOptions$3 {
|
|
165
|
-
/** Indicates whether the entire element must be reserved */
|
|
166
|
-
reserveWholeElement?: boolean;
|
|
167
|
-
}
|
|
168
|
-
interface ElementUiProperties$3 {
|
|
169
|
-
x?: number | null;
|
|
170
|
-
y?: number | null;
|
|
171
|
-
zIndex?: number | null;
|
|
172
|
-
width?: number | null;
|
|
173
|
-
height?: number | null;
|
|
174
|
-
rotationAngle?: number | null;
|
|
175
|
-
shapeType?: ShapeTypeEnumType$3;
|
|
176
|
-
fontSize?: number | null;
|
|
177
|
-
cornerRadius?: number | null;
|
|
178
|
-
seatSpacing?: number | null;
|
|
179
|
-
hideLabel?: boolean | null;
|
|
180
|
-
labelPosition?: Position$3;
|
|
181
|
-
seatLayout?: number[];
|
|
182
|
-
emptyTopSeatSpaces?: number | null;
|
|
183
|
-
/** needs research */
|
|
184
|
-
text?: string | null;
|
|
185
|
-
/** #F0F0F0 */
|
|
186
|
-
color?: string | null;
|
|
187
|
-
/** #F0F0F0 */
|
|
188
|
-
fillColor?: string | null;
|
|
189
|
-
/** #F0F0F0 */
|
|
190
|
-
strokeColor?: string | null;
|
|
191
|
-
/** px */
|
|
192
|
-
strokeWidth?: number | null;
|
|
193
|
-
opacity?: number | null;
|
|
194
|
-
icon?: Icon$3;
|
|
195
|
-
image?: Image$3;
|
|
196
|
-
seatNumbering?: Numbering$3;
|
|
197
|
-
}
|
|
198
|
-
declare enum ShapeTypeEnumType$3 {
|
|
199
|
-
UNKNOWN_TYPE = "UNKNOWN_TYPE",
|
|
200
|
-
TEXT = "TEXT",
|
|
201
|
-
RECTANGLE = "RECTANGLE",
|
|
202
|
-
ELLIPSE = "ELLIPSE",
|
|
203
|
-
LINE = "LINE",
|
|
204
|
-
ICON = "ICON",
|
|
205
|
-
IMAGE = "IMAGE"
|
|
206
|
-
}
|
|
207
|
-
declare enum Position$3 {
|
|
208
|
-
UNKNOWN_POSITION = "UNKNOWN_POSITION",
|
|
209
|
-
LEFT = "LEFT",
|
|
210
|
-
RIGHT = "RIGHT",
|
|
211
|
-
BOTH = "BOTH",
|
|
212
|
-
NONE = "NONE"
|
|
213
|
-
}
|
|
214
|
-
declare enum Icon$3 {
|
|
215
|
-
UNKNOWN_ICON = "UNKNOWN_ICON",
|
|
216
|
-
ENTER = "ENTER",
|
|
217
|
-
EXIT = "EXIT",
|
|
218
|
-
DRINKS = "DRINKS",
|
|
219
|
-
WC = "WC",
|
|
220
|
-
WC_MEN = "WC_MEN",
|
|
221
|
-
WC_WOMEN = "WC_WOMEN",
|
|
222
|
-
FOOD = "FOOD",
|
|
223
|
-
STAIRS = "STAIRS",
|
|
224
|
-
ELEVATOR = "ELEVATOR",
|
|
225
|
-
SMOKING = "SMOKING",
|
|
226
|
-
CHECKROOM = "CHECKROOM",
|
|
227
|
-
STAGE = "STAGE"
|
|
228
|
-
}
|
|
229
|
-
interface Image$3 {
|
|
230
|
-
/** WixMedia image ID. */
|
|
231
|
-
id?: string;
|
|
232
|
-
/**
|
|
233
|
-
* Original image height.
|
|
234
|
-
* @readonly
|
|
235
|
-
*/
|
|
236
|
-
height?: number;
|
|
237
|
-
/**
|
|
238
|
-
* Original image width.
|
|
239
|
-
* @readonly
|
|
240
|
-
*/
|
|
241
|
-
width?: number;
|
|
242
|
-
/**
|
|
243
|
-
* WixMedia image URI.
|
|
244
|
-
* @deprecated
|
|
245
|
-
*/
|
|
246
|
-
uri?: string | null;
|
|
247
|
-
}
|
|
248
|
-
declare enum Numbering$3 {
|
|
249
|
-
UNKNOWN_NUMBERING = "UNKNOWN_NUMBERING",
|
|
250
|
-
NUMERIC = "NUMERIC",
|
|
251
|
-
ODD_EVEN = "ODD_EVEN",
|
|
252
|
-
ALPHABETICAL = "ALPHABETICAL"
|
|
253
|
-
}
|
|
254
|
-
interface MultiRowProperties$3 {
|
|
255
|
-
/** Individual rows of the multi row element */
|
|
256
|
-
rows?: RowElement$3[];
|
|
257
|
-
/** Meta data for vertical labeling */
|
|
258
|
-
verticalSequencing?: VerticalSequencing$3;
|
|
259
|
-
/** Row spacing */
|
|
260
|
-
rowSpacing?: number | null;
|
|
261
|
-
}
|
|
262
|
-
interface RowElement$3 {
|
|
263
|
-
/** Unique row id */
|
|
264
|
-
id?: number;
|
|
265
|
-
/** User friendly title/label of the row */
|
|
266
|
-
title?: string | null;
|
|
267
|
-
/** Row capacity */
|
|
268
|
-
capacity?: number | null;
|
|
269
|
-
/** Assigned to a category */
|
|
270
|
-
categoryId?: number | null;
|
|
271
|
-
/** A place numbering meta data for a single row */
|
|
272
|
-
sequencing?: Sequencing$3;
|
|
273
|
-
/** Row UI settings */
|
|
274
|
-
uiProperties?: RowElementUiProperties$3;
|
|
275
|
-
}
|
|
276
|
-
interface RowElementUiProperties$3 {
|
|
277
|
-
/** Relative x position to the parent element */
|
|
278
|
-
relativeX?: number | null;
|
|
279
|
-
/** Width of the row */
|
|
280
|
-
width?: number | null;
|
|
281
|
-
/** Seat spacing */
|
|
282
|
-
seatSpacing?: number | null;
|
|
283
|
-
/** Label position */
|
|
284
|
-
labelPosition?: Position$3;
|
|
285
|
-
/** Seat numbering */
|
|
286
|
-
seatNumbering?: Numbering$3;
|
|
287
|
-
}
|
|
288
|
-
interface VerticalSequencing$3 {
|
|
289
|
-
/** First seq element */
|
|
290
|
-
startAt?: string;
|
|
291
|
-
/** Row numbering */
|
|
292
|
-
rowNumbering?: Numbering$3;
|
|
293
|
-
/** If true - direction bottom to top. Otherwise top to bottom. */
|
|
294
|
-
reverseOrder?: boolean | null;
|
|
295
|
-
}
|
|
296
|
-
interface Category$3 {
|
|
297
|
-
/** Local category id within the seating plan */
|
|
298
|
-
id?: number;
|
|
299
|
-
/**
|
|
300
|
-
* A client defined external id for cross referencing.
|
|
301
|
-
* Can reference external entities.
|
|
302
|
-
* Format: "{entity_fqdn}:{entity_id}"
|
|
303
|
-
*/
|
|
304
|
-
externalId?: string | null;
|
|
305
|
-
/** Category label */
|
|
306
|
-
title?: string;
|
|
307
|
-
/**
|
|
308
|
-
* Client configuration object
|
|
309
|
-
* @readonly
|
|
310
|
-
*/
|
|
311
|
-
config?: Record<string, any> | null;
|
|
312
|
-
/**
|
|
313
|
-
* Total capacity
|
|
314
|
-
* @readonly
|
|
315
|
-
*/
|
|
316
|
-
totalCapacity?: number | null;
|
|
317
|
-
/**
|
|
318
|
-
* Possible places
|
|
319
|
-
* @readonly
|
|
320
|
-
*/
|
|
321
|
-
places?: Place$3[];
|
|
322
|
-
}
|
|
323
|
-
interface ExtendedFields$3 {
|
|
324
|
-
/**
|
|
325
|
-
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
326
|
-
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
327
|
-
*
|
|
328
|
-
* You can only access fields for which you have the appropriate permissions.
|
|
329
|
-
*
|
|
330
|
-
* Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
|
|
331
|
-
*/
|
|
332
|
-
namespaces?: Record<string, Record<string, any>>;
|
|
333
|
-
}
|
|
334
|
-
interface SeatingPlanUiProperties$3 {
|
|
335
|
-
/** #F0F0F0 */
|
|
336
|
-
backgroundColor?: string | null;
|
|
337
|
-
backgroundOpacity?: number | null;
|
|
338
|
-
}
|
|
339
|
-
interface ElementGroup$3 {
|
|
340
|
-
/** Unique element group id */
|
|
341
|
-
id?: number;
|
|
342
|
-
/** Parent group id */
|
|
343
|
-
parentElementGroupId?: number | null;
|
|
344
|
-
/** Element group UI settings */
|
|
345
|
-
uiProperties?: ElementGroupUiProperties$3;
|
|
346
|
-
}
|
|
347
|
-
interface ElementGroupUiProperties$3 {
|
|
348
|
-
/** x position of the group */
|
|
349
|
-
x?: number | null;
|
|
350
|
-
/** y position of the group */
|
|
351
|
-
y?: number | null;
|
|
352
|
-
/** width of the group */
|
|
353
|
-
width?: number | null;
|
|
354
|
-
/** height of the group */
|
|
355
|
-
height?: number | null;
|
|
356
|
-
/** rotation angle of the group */
|
|
357
|
-
rotationAngle?: number | null;
|
|
358
|
-
}
|
|
359
|
-
interface CreateSeatingPlanRequest$1 {
|
|
360
|
-
/** A plan to be created */
|
|
361
|
-
plan: SeatingPlan$3;
|
|
362
|
-
}
|
|
363
|
-
interface CreateSeatingPlanResponse$1 {
|
|
364
|
-
/** The created plan */
|
|
365
|
-
plan?: SeatingPlan$3;
|
|
366
|
-
}
|
|
367
|
-
interface UpdateSeatingPlanRequest$1 {
|
|
368
|
-
/** The plan updates */
|
|
369
|
-
plan?: SeatingPlan$3;
|
|
370
|
-
}
|
|
371
|
-
interface UpdateSeatingPlanResponse$1 {
|
|
372
|
-
/** The updated plan */
|
|
373
|
-
plan?: SeatingPlan$3;
|
|
374
|
-
}
|
|
375
|
-
interface CopySeatingPlanRequest$1 {
|
|
376
|
-
/** The id of the plan to be copied */
|
|
377
|
-
id: string | null;
|
|
378
|
-
/** New plan title */
|
|
379
|
-
title: string | null;
|
|
380
|
-
/** Format: "{fqdn}:{entity guid}" */
|
|
381
|
-
externalId: string | null;
|
|
382
|
-
}
|
|
383
|
-
interface CopySeatingPlanResponse$1 {
|
|
384
|
-
/** The copied plan */
|
|
385
|
-
plan?: SeatingPlan$3;
|
|
386
|
-
}
|
|
387
|
-
interface QuerySeatingPlanRequest$1 {
|
|
388
|
-
/**
|
|
389
|
-
* Generic query object
|
|
390
|
-
* Possible fieldsets: "elements", "categories", "places", "config".
|
|
391
|
-
*/
|
|
392
|
-
query: QueryV2$3;
|
|
393
|
-
/** A fieldset for the response */
|
|
394
|
-
fieldset?: Fieldset$1[];
|
|
395
|
-
}
|
|
396
|
-
interface QueryV2$3 extends QueryV2PagingMethodOneOf$3 {
|
|
397
|
-
/** Paging options to limit and skip the number of items. */
|
|
398
|
-
paging?: Paging$3;
|
|
399
|
-
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
400
|
-
cursorPaging?: CursorPaging$3;
|
|
401
|
-
/**
|
|
402
|
-
* Filter object.
|
|
403
|
-
*
|
|
404
|
-
* Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).
|
|
405
|
-
*/
|
|
406
|
-
filter?: Record<string, any> | null;
|
|
407
|
-
/**
|
|
408
|
-
* Sort object.
|
|
409
|
-
*
|
|
410
|
-
* Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
411
|
-
*/
|
|
412
|
-
sort?: Sorting$3[];
|
|
413
|
-
/** Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned. */
|
|
414
|
-
fields?: string[];
|
|
415
|
-
/** Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned. */
|
|
416
|
-
fieldsets?: string[];
|
|
417
|
-
}
|
|
418
|
-
/** @oneof */
|
|
419
|
-
interface QueryV2PagingMethodOneOf$3 {
|
|
420
|
-
/** Paging options to limit and skip the number of items. */
|
|
421
|
-
paging?: Paging$3;
|
|
422
|
-
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
423
|
-
cursorPaging?: CursorPaging$3;
|
|
424
|
-
}
|
|
425
|
-
interface Sorting$3 {
|
|
426
|
-
/** Name of the field to sort by. */
|
|
427
|
-
fieldName?: string;
|
|
428
|
-
/** Sort order. */
|
|
429
|
-
order?: SortOrder$3;
|
|
430
|
-
}
|
|
431
|
-
declare enum SortOrder$3 {
|
|
432
|
-
ASC = "ASC",
|
|
433
|
-
DESC = "DESC"
|
|
434
|
-
}
|
|
435
|
-
interface Paging$3 {
|
|
436
|
-
/** Number of items to load. */
|
|
437
|
-
limit?: number | null;
|
|
438
|
-
/** Number of items to skip in the current sort order. */
|
|
439
|
-
offset?: number | null;
|
|
440
|
-
}
|
|
441
|
-
interface CursorPaging$3 {
|
|
442
|
-
/** Maximum number of items to return in the results. */
|
|
443
|
-
limit?: number | null;
|
|
444
|
-
/**
|
|
445
|
-
* Pointer to the next or previous page in the list of results.
|
|
446
|
-
*
|
|
447
|
-
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
448
|
-
* Not relevant for the first request.
|
|
449
|
-
*/
|
|
450
|
-
cursor?: string | null;
|
|
451
|
-
}
|
|
452
|
-
declare enum Fieldset$1 {
|
|
453
|
-
ELEMENTS = "ELEMENTS",
|
|
454
|
-
CATEGORIES = "CATEGORIES",
|
|
455
|
-
PLACES = "PLACES",
|
|
456
|
-
CONFIG = "CONFIG",
|
|
457
|
-
ELEMENT_GROUPS = "ELEMENT_GROUPS"
|
|
458
|
-
}
|
|
459
|
-
interface QuerySeatingPlanResponse$1 {
|
|
460
|
-
/** Plan results */
|
|
461
|
-
plans?: SeatingPlan$3[];
|
|
462
|
-
}
|
|
463
|
-
interface GetSeatingPlanRequest$1 {
|
|
464
|
-
/** The id of the plan */
|
|
465
|
-
id: string | null;
|
|
466
|
-
/**
|
|
467
|
-
* A fieldset for the response
|
|
468
|
-
* @deprecated
|
|
469
|
-
*/
|
|
470
|
-
fieldset?: Fieldset$1[];
|
|
471
|
-
/**
|
|
472
|
-
* Projection on the result object - list of named projections.
|
|
473
|
-
* Possible values: "elements", "categories", "places", "config".
|
|
474
|
-
*/
|
|
475
|
-
fieldsets?: string[];
|
|
476
|
-
/** Seating Plan Mask */
|
|
477
|
-
seatingPlanMask?: SeatingPlanMask$1;
|
|
478
|
-
}
|
|
479
|
-
interface SeatingPlanMask$1 {
|
|
480
|
-
/** Filter seating plan by place ids */
|
|
481
|
-
placeId?: string[];
|
|
482
|
-
}
|
|
483
|
-
interface GetSeatingPlanResponse$1 {
|
|
484
|
-
/** The plan */
|
|
485
|
-
plan?: SeatingPlan$3;
|
|
486
|
-
}
|
|
487
|
-
interface FindSeatingPlanRequest$1 {
|
|
488
|
-
/** The filter of the plan */
|
|
489
|
-
filter: Record<string, any> | null;
|
|
490
|
-
/**
|
|
491
|
-
* A fieldset for the response
|
|
492
|
-
* @deprecated
|
|
493
|
-
*/
|
|
494
|
-
fieldset?: Fieldset$1[];
|
|
495
|
-
/**
|
|
496
|
-
* Projection on the result object - list of named projections.
|
|
497
|
-
* Possible values: "elements", "categories", "places", "config".
|
|
498
|
-
*/
|
|
499
|
-
fieldsets?: string[];
|
|
500
|
-
/** Seating Plan Mask */
|
|
501
|
-
seatingPlanMask?: SeatingPlanMask$1;
|
|
502
|
-
}
|
|
503
|
-
interface FindSeatingPlanResponse$1 {
|
|
504
|
-
/** The plan */
|
|
505
|
-
plan?: SeatingPlan$3;
|
|
506
|
-
}
|
|
507
|
-
interface DeleteSeatingPlanRequest$1 {
|
|
508
|
-
/** The id of the plan */
|
|
509
|
-
id: string | null;
|
|
510
|
-
}
|
|
511
|
-
interface DeleteSeatingPlanResponse$1 {
|
|
512
|
-
/** Deleted plan */
|
|
513
|
-
plan?: SeatingPlan$3;
|
|
514
|
-
}
|
|
515
|
-
interface UpdateSeatingPlanThumbnailRequest$1 {
|
|
516
|
-
thumbnail: SeatingPlanThumbnail$1;
|
|
517
|
-
}
|
|
518
|
-
interface SeatingPlanThumbnail$1 {
|
|
519
|
-
/** @readonly */
|
|
520
|
-
id?: string | null;
|
|
521
|
-
img?: string | null;
|
|
522
|
-
}
|
|
523
|
-
interface UpdateSeatingPlanThumbnailResponse$1 {
|
|
524
|
-
thumbnail?: SeatingPlanThumbnail$1;
|
|
525
|
-
}
|
|
526
|
-
interface GetSeatingPlanThumbnailRequest$1 {
|
|
527
|
-
/** @readonly */
|
|
528
|
-
id: string | null;
|
|
529
|
-
}
|
|
530
|
-
interface GetSeatingPlanThumbnailResponse$1 {
|
|
531
|
-
thumbnail?: SeatingPlanThumbnail$1;
|
|
532
|
-
}
|
|
533
|
-
interface SequencingNonNullableFields$3 {
|
|
534
|
-
startAt: string;
|
|
535
|
-
labels: string[];
|
|
536
|
-
}
|
|
537
|
-
interface PlaceNonNullableFields$3 {
|
|
538
|
-
index: number;
|
|
539
|
-
label: string;
|
|
540
|
-
elementType: Type$3;
|
|
541
|
-
type: PlaceTypeEnumType$3;
|
|
542
|
-
}
|
|
543
|
-
interface ReservationOptionsNonNullableFields$3 {
|
|
544
|
-
reserveWholeElement: boolean;
|
|
545
|
-
}
|
|
546
|
-
interface ImageNonNullableFields$3 {
|
|
547
|
-
id: string;
|
|
548
|
-
height: number;
|
|
549
|
-
width: number;
|
|
550
|
-
}
|
|
551
|
-
interface ElementUiPropertiesNonNullableFields$3 {
|
|
552
|
-
shapeType: ShapeTypeEnumType$3;
|
|
553
|
-
labelPosition: Position$3;
|
|
554
|
-
seatLayout: number[];
|
|
555
|
-
icon: Icon$3;
|
|
556
|
-
image?: ImageNonNullableFields$3;
|
|
557
|
-
seatNumbering: Numbering$3;
|
|
558
|
-
}
|
|
559
|
-
interface RowElementUiPropertiesNonNullableFields$3 {
|
|
560
|
-
labelPosition: Position$3;
|
|
561
|
-
seatNumbering: Numbering$3;
|
|
562
|
-
}
|
|
563
|
-
interface RowElementNonNullableFields$3 {
|
|
564
|
-
id: number;
|
|
565
|
-
sequencing?: SequencingNonNullableFields$3;
|
|
566
|
-
uiProperties?: RowElementUiPropertiesNonNullableFields$3;
|
|
567
|
-
}
|
|
568
|
-
interface VerticalSequencingNonNullableFields$3 {
|
|
569
|
-
startAt: string;
|
|
570
|
-
rowNumbering: Numbering$3;
|
|
571
|
-
}
|
|
572
|
-
interface MultiRowPropertiesNonNullableFields$3 {
|
|
573
|
-
rows: RowElementNonNullableFields$3[];
|
|
574
|
-
verticalSequencing?: VerticalSequencingNonNullableFields$3;
|
|
575
|
-
}
|
|
576
|
-
interface ElementNonNullableFields$3 {
|
|
577
|
-
id: number;
|
|
578
|
-
type: Type$3;
|
|
579
|
-
sequencing?: SequencingNonNullableFields$3;
|
|
580
|
-
overrides: PlaceNonNullableFields$3[];
|
|
581
|
-
places: PlaceNonNullableFields$3[];
|
|
582
|
-
reservationOptions?: ReservationOptionsNonNullableFields$3;
|
|
583
|
-
uiProperties?: ElementUiPropertiesNonNullableFields$3;
|
|
584
|
-
multiRowProperties?: MultiRowPropertiesNonNullableFields$3;
|
|
585
|
-
}
|
|
586
|
-
interface SectionNonNullableFields$3 {
|
|
587
|
-
id: number;
|
|
588
|
-
elements: ElementNonNullableFields$3[];
|
|
589
|
-
default: boolean;
|
|
590
|
-
}
|
|
591
|
-
interface CategoryNonNullableFields$3 {
|
|
592
|
-
id: number;
|
|
593
|
-
title: string;
|
|
594
|
-
places: PlaceNonNullableFields$3[];
|
|
595
|
-
}
|
|
596
|
-
interface ElementGroupNonNullableFields$3 {
|
|
597
|
-
id: number;
|
|
598
|
-
}
|
|
599
|
-
interface SeatingPlanNonNullableFields$3 {
|
|
600
|
-
sections: SectionNonNullableFields$3[];
|
|
601
|
-
categories: CategoryNonNullableFields$3[];
|
|
602
|
-
uncategorizedPlaces: PlaceNonNullableFields$3[];
|
|
603
|
-
elementGroups: ElementGroupNonNullableFields$3[];
|
|
604
|
-
}
|
|
605
|
-
interface CreateSeatingPlanResponseNonNullableFields$1 {
|
|
606
|
-
plan?: SeatingPlanNonNullableFields$3;
|
|
607
|
-
}
|
|
608
|
-
interface UpdateSeatingPlanResponseNonNullableFields$1 {
|
|
609
|
-
plan?: SeatingPlanNonNullableFields$3;
|
|
610
|
-
}
|
|
611
|
-
interface CopySeatingPlanResponseNonNullableFields$1 {
|
|
612
|
-
plan?: SeatingPlanNonNullableFields$3;
|
|
613
|
-
}
|
|
614
|
-
interface QuerySeatingPlanResponseNonNullableFields$1 {
|
|
615
|
-
plans: SeatingPlanNonNullableFields$3[];
|
|
616
|
-
}
|
|
617
|
-
interface GetSeatingPlanResponseNonNullableFields$1 {
|
|
618
|
-
plan?: SeatingPlanNonNullableFields$3;
|
|
619
|
-
}
|
|
620
|
-
interface FindSeatingPlanResponseNonNullableFields$1 {
|
|
621
|
-
plan?: SeatingPlanNonNullableFields$3;
|
|
622
|
-
}
|
|
623
|
-
interface DeleteSeatingPlanResponseNonNullableFields$1 {
|
|
624
|
-
plan?: SeatingPlanNonNullableFields$3;
|
|
625
|
-
}
|
|
626
|
-
|
|
627
|
-
interface SeatingPlan$2 {
|
|
628
|
-
/**
|
|
629
|
-
* Auto generated unique plan id
|
|
630
|
-
* @readonly
|
|
631
|
-
*/
|
|
632
|
-
_id?: string | null;
|
|
633
|
-
/**
|
|
634
|
-
* A client defined external id for cross referencing.
|
|
635
|
-
* Can reference external entities.
|
|
636
|
-
* Format: "{fqdn}:{entity guid}"
|
|
637
|
-
*/
|
|
638
|
-
externalId?: string | null;
|
|
639
|
-
/** Human friendly plan title */
|
|
640
|
-
title?: string | null;
|
|
641
|
-
/** Sections of the plan. Seating plan is divided in high level sections. */
|
|
642
|
-
sections?: Section$2[];
|
|
643
|
-
/** Categories for plan element grouping. */
|
|
644
|
-
categories?: Category$2[];
|
|
645
|
-
/**
|
|
646
|
-
* Seating plan created timestamp.
|
|
647
|
-
* @readonly
|
|
648
|
-
*/
|
|
649
|
-
_createdDate?: Date | null;
|
|
650
|
-
/**
|
|
651
|
-
* Seating plan updated timestamp.
|
|
652
|
-
* @readonly
|
|
653
|
-
*/
|
|
654
|
-
_updatedDate?: Date | null;
|
|
655
|
-
/**
|
|
656
|
-
* Total capacity
|
|
657
|
-
* @readonly
|
|
658
|
-
*/
|
|
659
|
-
totalCapacity?: number | null;
|
|
660
|
-
/**
|
|
661
|
-
* Total categories
|
|
662
|
-
* @readonly
|
|
663
|
-
*/
|
|
664
|
-
totalCategories?: number | null;
|
|
665
|
-
/**
|
|
666
|
-
* Places not assigned to categories
|
|
667
|
-
* @readonly
|
|
668
|
-
*/
|
|
669
|
-
uncategorizedPlaces?: Place$2[];
|
|
670
|
-
/**
|
|
671
|
-
* A version of the seating plan
|
|
672
|
-
* @readonly
|
|
673
|
-
*/
|
|
674
|
-
version?: string | null;
|
|
675
|
-
/** Data extensions */
|
|
676
|
-
extendedFields?: ExtendedFields$2;
|
|
677
|
-
/** Seating Plan UI settings */
|
|
678
|
-
uiProperties?: SeatingPlanUiProperties$2;
|
|
679
|
-
/** Element groups */
|
|
680
|
-
elementGroups?: ElementGroup$2[];
|
|
681
|
-
}
|
|
682
|
-
interface Section$2 {
|
|
683
|
-
/** Unique section id */
|
|
684
|
-
_id?: number;
|
|
685
|
-
/** Human readable section title */
|
|
686
|
-
title?: string | null;
|
|
687
|
-
/**
|
|
688
|
-
* Client configuration object
|
|
689
|
-
* @readonly
|
|
690
|
-
*/
|
|
691
|
-
config?: Record<string, any> | null;
|
|
692
|
-
/** Elements of the section. */
|
|
693
|
-
elements?: Element$2[];
|
|
694
|
-
/**
|
|
695
|
-
* Total capacity
|
|
696
|
-
* @readonly
|
|
697
|
-
*/
|
|
698
|
-
totalCapacity?: number | null;
|
|
699
|
-
/**
|
|
700
|
-
* Is default section
|
|
701
|
-
* @readonly
|
|
702
|
-
*/
|
|
703
|
-
default?: boolean;
|
|
704
|
-
}
|
|
705
|
-
interface Element$2 {
|
|
706
|
-
/** Unique element id */
|
|
707
|
-
_id?: number;
|
|
708
|
-
/** User friendly title/label of the element. */
|
|
709
|
-
title?: string | null;
|
|
710
|
-
/** Element type */
|
|
711
|
-
type?: Type$2;
|
|
712
|
-
/** Capacity. None for Shape type Element. */
|
|
713
|
-
capacity?: number | null;
|
|
714
|
-
/** Assigned to a category */
|
|
715
|
-
categoryId?: number | null;
|
|
716
|
-
/** A place numbering meta data */
|
|
717
|
-
sequencing?: Sequencing$2;
|
|
718
|
-
/**
|
|
719
|
-
* Place override (by seq_id)
|
|
720
|
-
* @deprecated
|
|
721
|
-
*/
|
|
722
|
-
overrides?: Place$2[];
|
|
723
|
-
/**
|
|
724
|
-
* Final place sequence with overrides
|
|
725
|
-
* @readonly
|
|
726
|
-
*/
|
|
727
|
-
places?: Place$2[];
|
|
728
|
-
/** Element reservation options */
|
|
729
|
-
reservationOptions?: ReservationOptions$2;
|
|
730
|
-
/** Element UI settings */
|
|
731
|
-
uiProperties?: ElementUiProperties$2;
|
|
732
|
-
/** Element group id */
|
|
733
|
-
elementGroupId?: number | null;
|
|
734
|
-
/** Multi row element relevant for MULTI_ROW element type */
|
|
735
|
-
multiRowProperties?: MultiRowProperties$2;
|
|
736
|
-
}
|
|
737
|
-
declare enum Type$2 {
|
|
738
|
-
AREA = "AREA",
|
|
739
|
-
ROW = "ROW",
|
|
740
|
-
MULTI_ROW = "MULTI_ROW",
|
|
741
|
-
TABLE = "TABLE",
|
|
742
|
-
ROUND_TABLE = "ROUND_TABLE",
|
|
743
|
-
SHAPE = "SHAPE"
|
|
744
|
-
}
|
|
745
|
-
interface Sequencing$2 {
|
|
746
|
-
/** First seq element */
|
|
747
|
-
startAt?: string;
|
|
748
|
-
/** Finite generated seq of labels */
|
|
749
|
-
labels?: string[];
|
|
750
|
-
/** If true - direction right to left. Otherwise left to right. */
|
|
751
|
-
reverseOrder?: boolean | null;
|
|
752
|
-
}
|
|
753
|
-
interface Place$2 {
|
|
754
|
-
/** Local id of the place in the sequence */
|
|
755
|
-
index?: number;
|
|
756
|
-
/**
|
|
757
|
-
* Generated composite unique id in the seating plan.
|
|
758
|
-
* @readonly
|
|
759
|
-
*/
|
|
760
|
-
_id?: string | null;
|
|
761
|
-
/** Unique label of the place */
|
|
762
|
-
label?: string;
|
|
763
|
-
/**
|
|
764
|
-
* Max capacity per place
|
|
765
|
-
* @readonly
|
|
766
|
-
*/
|
|
767
|
-
capacity?: number | null;
|
|
768
|
-
/**
|
|
769
|
-
* Type of the parent element
|
|
770
|
-
* @readonly
|
|
771
|
-
*/
|
|
772
|
-
elementType?: Type$2;
|
|
773
|
-
/**
|
|
774
|
-
* Assigned category id
|
|
775
|
-
* @readonly
|
|
776
|
-
*/
|
|
777
|
-
categoryId?: number | null;
|
|
778
|
-
/** Place type */
|
|
779
|
-
type?: PlaceTypeEnumType$2;
|
|
780
|
-
}
|
|
781
|
-
declare enum PlaceTypeEnumType$2 {
|
|
782
|
-
UNKNOWN_PROPERTY = "UNKNOWN_PROPERTY",
|
|
783
|
-
STANDARD = "STANDARD",
|
|
784
|
-
WHEELCHAIR = "WHEELCHAIR",
|
|
785
|
-
ACCESSIBLE = "ACCESSIBLE",
|
|
786
|
-
COMPANION = "COMPANION",
|
|
787
|
-
OBSTRUCTED = "OBSTRUCTED",
|
|
788
|
-
DISCOUNT = "DISCOUNT"
|
|
789
|
-
}
|
|
790
|
-
interface ReservationOptions$2 {
|
|
791
|
-
/** Indicates whether the entire element must be reserved */
|
|
792
|
-
reserveWholeElement?: boolean;
|
|
793
|
-
}
|
|
794
|
-
interface ElementUiProperties$2 {
|
|
795
|
-
x?: number | null;
|
|
796
|
-
y?: number | null;
|
|
797
|
-
zIndex?: number | null;
|
|
798
|
-
width?: number | null;
|
|
799
|
-
height?: number | null;
|
|
800
|
-
rotationAngle?: number | null;
|
|
801
|
-
shapeType?: ShapeTypeEnumType$2;
|
|
802
|
-
fontSize?: number | null;
|
|
803
|
-
cornerRadius?: number | null;
|
|
804
|
-
seatSpacing?: number | null;
|
|
805
|
-
hideLabel?: boolean | null;
|
|
806
|
-
labelPosition?: Position$2;
|
|
807
|
-
seatLayout?: number[];
|
|
808
|
-
emptyTopSeatSpaces?: number | null;
|
|
809
|
-
/** needs research */
|
|
810
|
-
text?: string | null;
|
|
811
|
-
/** #F0F0F0 */
|
|
812
|
-
color?: string | null;
|
|
813
|
-
/** #F0F0F0 */
|
|
814
|
-
fillColor?: string | null;
|
|
815
|
-
/** #F0F0F0 */
|
|
816
|
-
strokeColor?: string | null;
|
|
817
|
-
/** px */
|
|
818
|
-
strokeWidth?: number | null;
|
|
819
|
-
opacity?: number | null;
|
|
820
|
-
icon?: Icon$2;
|
|
821
|
-
image?: Image$2;
|
|
822
|
-
seatNumbering?: Numbering$2;
|
|
823
|
-
}
|
|
824
|
-
declare enum ShapeTypeEnumType$2 {
|
|
825
|
-
UNKNOWN_TYPE = "UNKNOWN_TYPE",
|
|
826
|
-
TEXT = "TEXT",
|
|
827
|
-
RECTANGLE = "RECTANGLE",
|
|
828
|
-
ELLIPSE = "ELLIPSE",
|
|
829
|
-
LINE = "LINE",
|
|
830
|
-
ICON = "ICON",
|
|
831
|
-
IMAGE = "IMAGE"
|
|
832
|
-
}
|
|
833
|
-
declare enum Position$2 {
|
|
834
|
-
UNKNOWN_POSITION = "UNKNOWN_POSITION",
|
|
835
|
-
LEFT = "LEFT",
|
|
836
|
-
RIGHT = "RIGHT",
|
|
837
|
-
BOTH = "BOTH",
|
|
838
|
-
NONE = "NONE"
|
|
839
|
-
}
|
|
840
|
-
declare enum Icon$2 {
|
|
841
|
-
UNKNOWN_ICON = "UNKNOWN_ICON",
|
|
842
|
-
ENTER = "ENTER",
|
|
843
|
-
EXIT = "EXIT",
|
|
844
|
-
DRINKS = "DRINKS",
|
|
845
|
-
WC = "WC",
|
|
846
|
-
WC_MEN = "WC_MEN",
|
|
847
|
-
WC_WOMEN = "WC_WOMEN",
|
|
848
|
-
FOOD = "FOOD",
|
|
849
|
-
STAIRS = "STAIRS",
|
|
850
|
-
ELEVATOR = "ELEVATOR",
|
|
851
|
-
SMOKING = "SMOKING",
|
|
852
|
-
CHECKROOM = "CHECKROOM",
|
|
853
|
-
STAGE = "STAGE"
|
|
854
|
-
}
|
|
855
|
-
interface Image$2 {
|
|
856
|
-
/** WixMedia image ID. */
|
|
857
|
-
_id?: string;
|
|
858
|
-
/**
|
|
859
|
-
* Original image height.
|
|
860
|
-
* @readonly
|
|
861
|
-
*/
|
|
862
|
-
height?: number;
|
|
863
|
-
/**
|
|
864
|
-
* Original image width.
|
|
865
|
-
* @readonly
|
|
866
|
-
*/
|
|
867
|
-
width?: number;
|
|
868
|
-
/**
|
|
869
|
-
* WixMedia image URI.
|
|
870
|
-
* @deprecated
|
|
871
|
-
*/
|
|
872
|
-
uri?: string | null;
|
|
873
|
-
}
|
|
874
|
-
declare enum Numbering$2 {
|
|
875
|
-
UNKNOWN_NUMBERING = "UNKNOWN_NUMBERING",
|
|
876
|
-
NUMERIC = "NUMERIC",
|
|
877
|
-
ODD_EVEN = "ODD_EVEN",
|
|
878
|
-
ALPHABETICAL = "ALPHABETICAL"
|
|
879
|
-
}
|
|
880
|
-
interface MultiRowProperties$2 {
|
|
881
|
-
/** Individual rows of the multi row element */
|
|
882
|
-
rows?: RowElement$2[];
|
|
883
|
-
/** Meta data for vertical labeling */
|
|
884
|
-
verticalSequencing?: VerticalSequencing$2;
|
|
885
|
-
/** Row spacing */
|
|
886
|
-
rowSpacing?: number | null;
|
|
887
|
-
}
|
|
888
|
-
interface RowElement$2 {
|
|
889
|
-
/** Unique row id */
|
|
890
|
-
_id?: number;
|
|
891
|
-
/** User friendly title/label of the row */
|
|
892
|
-
title?: string | null;
|
|
893
|
-
/** Row capacity */
|
|
894
|
-
capacity?: number | null;
|
|
895
|
-
/** Assigned to a category */
|
|
896
|
-
categoryId?: number | null;
|
|
897
|
-
/** A place numbering meta data for a single row */
|
|
898
|
-
sequencing?: Sequencing$2;
|
|
899
|
-
/** Row UI settings */
|
|
900
|
-
uiProperties?: RowElementUiProperties$2;
|
|
901
|
-
}
|
|
902
|
-
interface RowElementUiProperties$2 {
|
|
903
|
-
/** Relative x position to the parent element */
|
|
904
|
-
relativeX?: number | null;
|
|
905
|
-
/** Width of the row */
|
|
906
|
-
width?: number | null;
|
|
907
|
-
/** Seat spacing */
|
|
908
|
-
seatSpacing?: number | null;
|
|
909
|
-
/** Label position */
|
|
910
|
-
labelPosition?: Position$2;
|
|
911
|
-
/** Seat numbering */
|
|
912
|
-
seatNumbering?: Numbering$2;
|
|
913
|
-
}
|
|
914
|
-
interface VerticalSequencing$2 {
|
|
915
|
-
/** First seq element */
|
|
916
|
-
startAt?: string;
|
|
917
|
-
/** Row numbering */
|
|
918
|
-
rowNumbering?: Numbering$2;
|
|
919
|
-
/** If true - direction bottom to top. Otherwise top to bottom. */
|
|
920
|
-
reverseOrder?: boolean | null;
|
|
921
|
-
}
|
|
922
|
-
interface Category$2 {
|
|
923
|
-
/** Local category id within the seating plan */
|
|
924
|
-
_id?: number;
|
|
925
|
-
/**
|
|
926
|
-
* A client defined external id for cross referencing.
|
|
927
|
-
* Can reference external entities.
|
|
928
|
-
* Format: "{entity_fqdn}:{entity_id}"
|
|
929
|
-
*/
|
|
930
|
-
externalId?: string | null;
|
|
931
|
-
/** Category label */
|
|
932
|
-
title?: string;
|
|
933
|
-
/**
|
|
934
|
-
* Client configuration object
|
|
935
|
-
* @readonly
|
|
936
|
-
*/
|
|
937
|
-
config?: Record<string, any> | null;
|
|
938
|
-
/**
|
|
939
|
-
* Total capacity
|
|
940
|
-
* @readonly
|
|
941
|
-
*/
|
|
942
|
-
totalCapacity?: number | null;
|
|
943
|
-
/**
|
|
944
|
-
* Possible places
|
|
945
|
-
* @readonly
|
|
946
|
-
*/
|
|
947
|
-
places?: Place$2[];
|
|
948
|
-
}
|
|
949
|
-
interface ExtendedFields$2 {
|
|
950
|
-
/**
|
|
951
|
-
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
952
|
-
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
953
|
-
*
|
|
954
|
-
* You can only access fields for which you have the appropriate permissions.
|
|
955
|
-
*
|
|
956
|
-
* Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
|
|
957
|
-
*/
|
|
958
|
-
namespaces?: Record<string, Record<string, any>>;
|
|
959
|
-
}
|
|
960
|
-
interface SeatingPlanUiProperties$2 {
|
|
961
|
-
/** #F0F0F0 */
|
|
962
|
-
backgroundColor?: string | null;
|
|
963
|
-
backgroundOpacity?: number | null;
|
|
964
|
-
}
|
|
965
|
-
interface ElementGroup$2 {
|
|
966
|
-
/** Unique element group id */
|
|
967
|
-
_id?: number;
|
|
968
|
-
/** Parent group id */
|
|
969
|
-
parentElementGroupId?: number | null;
|
|
970
|
-
/** Element group UI settings */
|
|
971
|
-
uiProperties?: ElementGroupUiProperties$2;
|
|
972
|
-
}
|
|
973
|
-
interface ElementGroupUiProperties$2 {
|
|
974
|
-
/** x position of the group */
|
|
975
|
-
x?: number | null;
|
|
976
|
-
/** y position of the group */
|
|
977
|
-
y?: number | null;
|
|
978
|
-
/** width of the group */
|
|
979
|
-
width?: number | null;
|
|
980
|
-
/** height of the group */
|
|
981
|
-
height?: number | null;
|
|
982
|
-
/** rotation angle of the group */
|
|
983
|
-
rotationAngle?: number | null;
|
|
984
|
-
}
|
|
985
|
-
interface CreateSeatingPlanRequest {
|
|
986
|
-
/** A plan to be created */
|
|
987
|
-
plan: SeatingPlan$2;
|
|
988
|
-
}
|
|
989
|
-
interface CreateSeatingPlanResponse {
|
|
990
|
-
/** The created plan */
|
|
991
|
-
plan?: SeatingPlan$2;
|
|
992
|
-
}
|
|
993
|
-
interface UpdateSeatingPlanRequest {
|
|
994
|
-
/** The plan updates */
|
|
995
|
-
plan?: SeatingPlan$2;
|
|
996
|
-
}
|
|
997
|
-
interface UpdateSeatingPlanResponse {
|
|
998
|
-
/** The updated plan */
|
|
999
|
-
plan?: SeatingPlan$2;
|
|
1000
|
-
}
|
|
1001
|
-
interface CopySeatingPlanRequest {
|
|
1002
|
-
/** The id of the plan to be copied */
|
|
1003
|
-
_id: string | null;
|
|
1004
|
-
/** New plan title */
|
|
1005
|
-
title: string | null;
|
|
1006
|
-
/** Format: "{fqdn}:{entity guid}" */
|
|
1007
|
-
externalId: string | null;
|
|
1008
|
-
}
|
|
1009
|
-
interface CopySeatingPlanResponse {
|
|
1010
|
-
/** The copied plan */
|
|
1011
|
-
plan?: SeatingPlan$2;
|
|
1012
|
-
}
|
|
1013
|
-
interface QuerySeatingPlanRequest {
|
|
1014
|
-
/**
|
|
1015
|
-
* Generic query object
|
|
1016
|
-
* Possible fieldsets: "elements", "categories", "places", "config".
|
|
1017
|
-
*/
|
|
1018
|
-
query: QueryV2$2;
|
|
1019
|
-
/** A fieldset for the response */
|
|
1020
|
-
fieldset?: Fieldset[];
|
|
1021
|
-
}
|
|
1022
|
-
interface QueryV2$2 extends QueryV2PagingMethodOneOf$2 {
|
|
1023
|
-
/** Paging options to limit and skip the number of items. */
|
|
1024
|
-
paging?: Paging$2;
|
|
1025
|
-
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
1026
|
-
cursorPaging?: CursorPaging$2;
|
|
1027
|
-
/**
|
|
1028
|
-
* Filter object.
|
|
1029
|
-
*
|
|
1030
|
-
* Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).
|
|
1031
|
-
*/
|
|
1032
|
-
filter?: Record<string, any> | null;
|
|
1033
|
-
/**
|
|
1034
|
-
* Sort object.
|
|
1035
|
-
*
|
|
1036
|
-
* Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
1037
|
-
*/
|
|
1038
|
-
sort?: Sorting$2[];
|
|
1039
|
-
/** Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned. */
|
|
1040
|
-
fields?: string[];
|
|
1041
|
-
/** Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned. */
|
|
1042
|
-
fieldsets?: string[];
|
|
1043
|
-
}
|
|
1044
|
-
/** @oneof */
|
|
1045
|
-
interface QueryV2PagingMethodOneOf$2 {
|
|
1046
|
-
/** Paging options to limit and skip the number of items. */
|
|
1047
|
-
paging?: Paging$2;
|
|
1048
|
-
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
1049
|
-
cursorPaging?: CursorPaging$2;
|
|
1050
|
-
}
|
|
1051
|
-
interface Sorting$2 {
|
|
1052
|
-
/** Name of the field to sort by. */
|
|
1053
|
-
fieldName?: string;
|
|
1054
|
-
/** Sort order. */
|
|
1055
|
-
order?: SortOrder$2;
|
|
1056
|
-
}
|
|
1057
|
-
declare enum SortOrder$2 {
|
|
1058
|
-
ASC = "ASC",
|
|
1059
|
-
DESC = "DESC"
|
|
1060
|
-
}
|
|
1061
|
-
interface Paging$2 {
|
|
1062
|
-
/** Number of items to load. */
|
|
1063
|
-
limit?: number | null;
|
|
1064
|
-
/** Number of items to skip in the current sort order. */
|
|
1065
|
-
offset?: number | null;
|
|
1066
|
-
}
|
|
1067
|
-
interface CursorPaging$2 {
|
|
1068
|
-
/** Maximum number of items to return in the results. */
|
|
1069
|
-
limit?: number | null;
|
|
1070
|
-
/**
|
|
1071
|
-
* Pointer to the next or previous page in the list of results.
|
|
1072
|
-
*
|
|
1073
|
-
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
1074
|
-
* Not relevant for the first request.
|
|
1075
|
-
*/
|
|
1076
|
-
cursor?: string | null;
|
|
1077
|
-
}
|
|
1078
|
-
declare enum Fieldset {
|
|
1079
|
-
ELEMENTS = "ELEMENTS",
|
|
1080
|
-
CATEGORIES = "CATEGORIES",
|
|
1081
|
-
PLACES = "PLACES",
|
|
1082
|
-
CONFIG = "CONFIG",
|
|
1083
|
-
ELEMENT_GROUPS = "ELEMENT_GROUPS"
|
|
1084
|
-
}
|
|
1085
|
-
interface QuerySeatingPlanResponse {
|
|
1086
|
-
/** Plan results */
|
|
1087
|
-
plans?: SeatingPlan$2[];
|
|
1088
|
-
}
|
|
1089
|
-
interface GetSeatingPlanRequest {
|
|
1090
|
-
/** The id of the plan */
|
|
1091
|
-
_id: string | null;
|
|
1092
|
-
/**
|
|
1093
|
-
* A fieldset for the response
|
|
1094
|
-
* @deprecated
|
|
1095
|
-
*/
|
|
1096
|
-
fieldset?: Fieldset[];
|
|
1097
|
-
/**
|
|
1098
|
-
* Projection on the result object - list of named projections.
|
|
1099
|
-
* Possible values: "elements", "categories", "places", "config".
|
|
1100
|
-
*/
|
|
1101
|
-
fieldsets?: string[];
|
|
1102
|
-
/** Seating Plan Mask */
|
|
1103
|
-
seatingPlanMask?: SeatingPlanMask;
|
|
1104
|
-
}
|
|
1105
|
-
interface SeatingPlanMask {
|
|
1106
|
-
/** Filter seating plan by place ids */
|
|
1107
|
-
placeId?: string[];
|
|
1108
|
-
}
|
|
1109
|
-
interface GetSeatingPlanResponse {
|
|
1110
|
-
/** The plan */
|
|
1111
|
-
plan?: SeatingPlan$2;
|
|
1112
|
-
}
|
|
1113
|
-
interface FindSeatingPlanRequest {
|
|
1114
|
-
/** The filter of the plan */
|
|
1115
|
-
filter: Record<string, any> | null;
|
|
1116
|
-
/**
|
|
1117
|
-
* A fieldset for the response
|
|
1118
|
-
* @deprecated
|
|
1119
|
-
*/
|
|
1120
|
-
fieldset?: Fieldset[];
|
|
1121
|
-
/**
|
|
1122
|
-
* Projection on the result object - list of named projections.
|
|
1123
|
-
* Possible values: "elements", "categories", "places", "config".
|
|
1124
|
-
*/
|
|
1125
|
-
fieldsets?: string[];
|
|
1126
|
-
/** Seating Plan Mask */
|
|
1127
|
-
seatingPlanMask?: SeatingPlanMask;
|
|
1128
|
-
}
|
|
1129
|
-
interface FindSeatingPlanResponse {
|
|
1130
|
-
/** The plan */
|
|
1131
|
-
plan?: SeatingPlan$2;
|
|
1132
|
-
}
|
|
1133
|
-
interface DeleteSeatingPlanRequest {
|
|
1134
|
-
/** The id of the plan */
|
|
1135
|
-
_id: string | null;
|
|
1136
|
-
}
|
|
1137
|
-
interface DeleteSeatingPlanResponse {
|
|
1138
|
-
/** Deleted plan */
|
|
1139
|
-
plan?: SeatingPlan$2;
|
|
1140
|
-
}
|
|
1141
|
-
interface UpdateSeatingPlanThumbnailRequest {
|
|
1142
|
-
thumbnail: SeatingPlanThumbnail;
|
|
1143
|
-
}
|
|
1144
|
-
interface SeatingPlanThumbnail {
|
|
1145
|
-
/** @readonly */
|
|
1146
|
-
_id?: string | null;
|
|
1147
|
-
img?: string | null;
|
|
1148
|
-
}
|
|
1149
|
-
interface UpdateSeatingPlanThumbnailResponse {
|
|
1150
|
-
thumbnail?: SeatingPlanThumbnail;
|
|
1151
|
-
}
|
|
1152
|
-
interface GetSeatingPlanThumbnailRequest {
|
|
1153
|
-
/** @readonly */
|
|
1154
|
-
_id: string | null;
|
|
1155
|
-
}
|
|
1156
|
-
interface GetSeatingPlanThumbnailResponse {
|
|
1157
|
-
thumbnail?: SeatingPlanThumbnail;
|
|
1158
|
-
}
|
|
1159
|
-
interface SequencingNonNullableFields$2 {
|
|
1160
|
-
startAt: string;
|
|
1161
|
-
labels: string[];
|
|
1162
|
-
}
|
|
1163
|
-
interface PlaceNonNullableFields$2 {
|
|
1164
|
-
index: number;
|
|
1165
|
-
label: string;
|
|
1166
|
-
elementType: Type$2;
|
|
1167
|
-
type: PlaceTypeEnumType$2;
|
|
1168
|
-
}
|
|
1169
|
-
interface ReservationOptionsNonNullableFields$2 {
|
|
1170
|
-
reserveWholeElement: boolean;
|
|
1171
|
-
}
|
|
1172
|
-
interface ImageNonNullableFields$2 {
|
|
1173
|
-
_id: string;
|
|
1174
|
-
height: number;
|
|
1175
|
-
width: number;
|
|
1176
|
-
}
|
|
1177
|
-
interface ElementUiPropertiesNonNullableFields$2 {
|
|
1178
|
-
shapeType: ShapeTypeEnumType$2;
|
|
1179
|
-
labelPosition: Position$2;
|
|
1180
|
-
seatLayout: number[];
|
|
1181
|
-
icon: Icon$2;
|
|
1182
|
-
image?: ImageNonNullableFields$2;
|
|
1183
|
-
seatNumbering: Numbering$2;
|
|
1184
|
-
}
|
|
1185
|
-
interface RowElementUiPropertiesNonNullableFields$2 {
|
|
1186
|
-
labelPosition: Position$2;
|
|
1187
|
-
seatNumbering: Numbering$2;
|
|
1188
|
-
}
|
|
1189
|
-
interface RowElementNonNullableFields$2 {
|
|
1190
|
-
_id: number;
|
|
1191
|
-
sequencing?: SequencingNonNullableFields$2;
|
|
1192
|
-
uiProperties?: RowElementUiPropertiesNonNullableFields$2;
|
|
1193
|
-
}
|
|
1194
|
-
interface VerticalSequencingNonNullableFields$2 {
|
|
1195
|
-
startAt: string;
|
|
1196
|
-
rowNumbering: Numbering$2;
|
|
1197
|
-
}
|
|
1198
|
-
interface MultiRowPropertiesNonNullableFields$2 {
|
|
1199
|
-
rows: RowElementNonNullableFields$2[];
|
|
1200
|
-
verticalSequencing?: VerticalSequencingNonNullableFields$2;
|
|
1201
|
-
}
|
|
1202
|
-
interface ElementNonNullableFields$2 {
|
|
1203
|
-
_id: number;
|
|
1204
|
-
type: Type$2;
|
|
1205
|
-
sequencing?: SequencingNonNullableFields$2;
|
|
1206
|
-
overrides: PlaceNonNullableFields$2[];
|
|
1207
|
-
places: PlaceNonNullableFields$2[];
|
|
1208
|
-
reservationOptions?: ReservationOptionsNonNullableFields$2;
|
|
1209
|
-
uiProperties?: ElementUiPropertiesNonNullableFields$2;
|
|
1210
|
-
multiRowProperties?: MultiRowPropertiesNonNullableFields$2;
|
|
1211
|
-
}
|
|
1212
|
-
interface SectionNonNullableFields$2 {
|
|
1213
|
-
_id: number;
|
|
1214
|
-
elements: ElementNonNullableFields$2[];
|
|
1215
|
-
default: boolean;
|
|
1216
|
-
}
|
|
1217
|
-
interface CategoryNonNullableFields$2 {
|
|
1218
|
-
_id: number;
|
|
1219
|
-
title: string;
|
|
1220
|
-
places: PlaceNonNullableFields$2[];
|
|
1221
|
-
}
|
|
1222
|
-
interface ElementGroupNonNullableFields$2 {
|
|
1223
|
-
_id: number;
|
|
1224
|
-
}
|
|
1225
|
-
interface SeatingPlanNonNullableFields$2 {
|
|
1226
|
-
sections: SectionNonNullableFields$2[];
|
|
1227
|
-
categories: CategoryNonNullableFields$2[];
|
|
1228
|
-
uncategorizedPlaces: PlaceNonNullableFields$2[];
|
|
1229
|
-
elementGroups: ElementGroupNonNullableFields$2[];
|
|
1230
|
-
}
|
|
1231
|
-
interface CreateSeatingPlanResponseNonNullableFields {
|
|
1232
|
-
plan?: SeatingPlanNonNullableFields$2;
|
|
1233
|
-
}
|
|
1234
|
-
interface UpdateSeatingPlanResponseNonNullableFields {
|
|
1235
|
-
plan?: SeatingPlanNonNullableFields$2;
|
|
1236
|
-
}
|
|
1237
|
-
interface CopySeatingPlanResponseNonNullableFields {
|
|
1238
|
-
plan?: SeatingPlanNonNullableFields$2;
|
|
1239
|
-
}
|
|
1240
|
-
interface QuerySeatingPlanResponseNonNullableFields {
|
|
1241
|
-
plans: SeatingPlanNonNullableFields$2[];
|
|
1242
|
-
}
|
|
1243
|
-
interface GetSeatingPlanResponseNonNullableFields {
|
|
1244
|
-
plan?: SeatingPlanNonNullableFields$2;
|
|
1245
|
-
}
|
|
1246
|
-
interface FindSeatingPlanResponseNonNullableFields {
|
|
1247
|
-
plan?: SeatingPlanNonNullableFields$2;
|
|
1248
|
-
}
|
|
1249
|
-
interface DeleteSeatingPlanResponseNonNullableFields {
|
|
1250
|
-
plan?: SeatingPlanNonNullableFields$2;
|
|
1251
|
-
}
|
|
1252
|
-
|
|
1253
|
-
type __PublicMethodMetaInfo$1<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
1254
|
-
getUrl: (context: any) => string;
|
|
1255
|
-
httpMethod: K;
|
|
1256
|
-
path: string;
|
|
1257
|
-
pathParams: M;
|
|
1258
|
-
__requestType: T;
|
|
1259
|
-
__originalRequestType: S;
|
|
1260
|
-
__responseType: Q;
|
|
1261
|
-
__originalResponseType: R;
|
|
1262
|
-
};
|
|
1263
|
-
declare function createSeatingPlan(): __PublicMethodMetaInfo$1<'POST', {}, CreateSeatingPlanRequest, CreateSeatingPlanRequest$1, CreateSeatingPlanResponse & CreateSeatingPlanResponseNonNullableFields, CreateSeatingPlanResponse$1 & CreateSeatingPlanResponseNonNullableFields$1>;
|
|
1264
|
-
declare function updateSeatingPlan(): __PublicMethodMetaInfo$1<'PUT', {}, UpdateSeatingPlanRequest, UpdateSeatingPlanRequest$1, UpdateSeatingPlanResponse & UpdateSeatingPlanResponseNonNullableFields, UpdateSeatingPlanResponse$1 & UpdateSeatingPlanResponseNonNullableFields$1>;
|
|
1265
|
-
declare function copySeatingPlan(): __PublicMethodMetaInfo$1<'POST', {}, CopySeatingPlanRequest, CopySeatingPlanRequest$1, CopySeatingPlanResponse & CopySeatingPlanResponseNonNullableFields, CopySeatingPlanResponse$1 & CopySeatingPlanResponseNonNullableFields$1>;
|
|
1266
|
-
declare function querySeatingPlan(): __PublicMethodMetaInfo$1<'POST', {}, QuerySeatingPlanRequest, QuerySeatingPlanRequest$1, QuerySeatingPlanResponse & QuerySeatingPlanResponseNonNullableFields, QuerySeatingPlanResponse$1 & QuerySeatingPlanResponseNonNullableFields$1>;
|
|
1267
|
-
declare function getSeatingPlan(): __PublicMethodMetaInfo$1<'GET', {
|
|
1268
|
-
id: string;
|
|
1269
|
-
}, GetSeatingPlanRequest, GetSeatingPlanRequest$1, GetSeatingPlanResponse & GetSeatingPlanResponseNonNullableFields, GetSeatingPlanResponse$1 & GetSeatingPlanResponseNonNullableFields$1>;
|
|
1270
|
-
declare function findSeatingPlan(): __PublicMethodMetaInfo$1<'POST', {}, FindSeatingPlanRequest, FindSeatingPlanRequest$1, FindSeatingPlanResponse & FindSeatingPlanResponseNonNullableFields, FindSeatingPlanResponse$1 & FindSeatingPlanResponseNonNullableFields$1>;
|
|
1271
|
-
declare function deleteSeatingPlan(): __PublicMethodMetaInfo$1<'DELETE', {
|
|
1272
|
-
id: string;
|
|
1273
|
-
}, DeleteSeatingPlanRequest, DeleteSeatingPlanRequest$1, DeleteSeatingPlanResponse & DeleteSeatingPlanResponseNonNullableFields, DeleteSeatingPlanResponse$1 & DeleteSeatingPlanResponseNonNullableFields$1>;
|
|
1274
|
-
declare function updateSeatingPlanThumbnail(): __PublicMethodMetaInfo$1<'POST', {}, UpdateSeatingPlanThumbnailRequest, UpdateSeatingPlanThumbnailRequest$1, UpdateSeatingPlanThumbnailResponse, UpdateSeatingPlanThumbnailResponse$1>;
|
|
1275
|
-
declare function getSeatingPlanThumbnail(): __PublicMethodMetaInfo$1<'GET', {}, GetSeatingPlanThumbnailRequest, GetSeatingPlanThumbnailRequest$1, GetSeatingPlanThumbnailResponse, GetSeatingPlanThumbnailResponse$1>;
|
|
1276
|
-
|
|
1277
|
-
declare const meta$1_copySeatingPlan: typeof copySeatingPlan;
|
|
1278
|
-
declare const meta$1_createSeatingPlan: typeof createSeatingPlan;
|
|
1279
|
-
declare const meta$1_deleteSeatingPlan: typeof deleteSeatingPlan;
|
|
1280
|
-
declare const meta$1_findSeatingPlan: typeof findSeatingPlan;
|
|
1281
|
-
declare const meta$1_getSeatingPlan: typeof getSeatingPlan;
|
|
1282
|
-
declare const meta$1_getSeatingPlanThumbnail: typeof getSeatingPlanThumbnail;
|
|
1283
|
-
declare const meta$1_querySeatingPlan: typeof querySeatingPlan;
|
|
1284
|
-
declare const meta$1_updateSeatingPlan: typeof updateSeatingPlan;
|
|
1285
|
-
declare const meta$1_updateSeatingPlanThumbnail: typeof updateSeatingPlanThumbnail;
|
|
1286
|
-
declare namespace meta$1 {
|
|
1287
|
-
export { type __PublicMethodMetaInfo$1 as __PublicMethodMetaInfo, meta$1_copySeatingPlan as copySeatingPlan, meta$1_createSeatingPlan as createSeatingPlan, meta$1_deleteSeatingPlan as deleteSeatingPlan, meta$1_findSeatingPlan as findSeatingPlan, meta$1_getSeatingPlan as getSeatingPlan, meta$1_getSeatingPlanThumbnail as getSeatingPlanThumbnail, meta$1_querySeatingPlan as querySeatingPlan, meta$1_updateSeatingPlan as updateSeatingPlan, meta$1_updateSeatingPlanThumbnail as updateSeatingPlanThumbnail };
|
|
1288
|
-
}
|
|
1289
|
-
|
|
1290
|
-
interface SeatingReservation$1 {
|
|
1291
|
-
/**
|
|
1292
|
-
* The id of the reservation
|
|
1293
|
-
* @readonly
|
|
1294
|
-
*/
|
|
1295
|
-
id?: string | null;
|
|
1296
|
-
/**
|
|
1297
|
-
* The seating plan id
|
|
1298
|
-
* @readonly
|
|
1299
|
-
*/
|
|
1300
|
-
seatingPlanId?: string | null;
|
|
1301
|
-
/**
|
|
1302
|
-
* The external seating plan id
|
|
1303
|
-
* @readonly
|
|
1304
|
-
*/
|
|
1305
|
-
externalSeatingPlanId?: string | null;
|
|
1306
|
-
/** Reserved places */
|
|
1307
|
-
reservedPlaces?: PlaceReservation$1[];
|
|
1308
|
-
/**
|
|
1309
|
-
* A client defined external id for cross referencing.
|
|
1310
|
-
* Can reference external entities.
|
|
1311
|
-
* Format: "{fqdn}:{entity guid}"
|
|
1312
|
-
*/
|
|
1313
|
-
externalId?: string | null;
|
|
1314
|
-
}
|
|
1315
|
-
interface PlaceReservation$1 {
|
|
1316
|
-
/** The place id. */
|
|
1317
|
-
id?: string;
|
|
1318
|
-
/**
|
|
1319
|
-
* Number of places in the spot. If not provided - defaults to 1.
|
|
1320
|
-
* Used to reserve for more that one place in areas.
|
|
1321
|
-
*/
|
|
1322
|
-
capacity?: number | null;
|
|
1323
|
-
/**
|
|
1324
|
-
* Optional section label.
|
|
1325
|
-
* @readonly
|
|
1326
|
-
*/
|
|
1327
|
-
sectionLabel?: string | null;
|
|
1328
|
-
/**
|
|
1329
|
-
* Area label.
|
|
1330
|
-
* @readonly
|
|
1331
|
-
*/
|
|
1332
|
-
areaLabel?: string | null;
|
|
1333
|
-
/**
|
|
1334
|
-
* Table label.
|
|
1335
|
-
* @readonly
|
|
1336
|
-
*/
|
|
1337
|
-
tableLabel?: string | null;
|
|
1338
|
-
/**
|
|
1339
|
-
* Row label.
|
|
1340
|
-
* @readonly
|
|
1341
|
-
*/
|
|
1342
|
-
rowLabel?: string | null;
|
|
1343
|
-
/**
|
|
1344
|
-
* Seat label in a row or table.
|
|
1345
|
-
* @readonly
|
|
1346
|
-
*/
|
|
1347
|
-
seatLabel?: string | null;
|
|
1348
|
-
}
|
|
1349
|
-
interface CategoryDetails$1 {
|
|
1350
|
-
/**
|
|
1351
|
-
* Seating plan id
|
|
1352
|
-
* @readonly
|
|
1353
|
-
*/
|
|
1354
|
-
seatingPlanId?: string | null;
|
|
1355
|
-
/**
|
|
1356
|
-
* External seating plan id
|
|
1357
|
-
* @readonly
|
|
1358
|
-
*/
|
|
1359
|
-
externalSeatingPlanId?: string | null;
|
|
1360
|
-
/**
|
|
1361
|
-
* External category id
|
|
1362
|
-
* @readonly
|
|
1363
|
-
*/
|
|
1364
|
-
externalCategoryId?: string | null;
|
|
1365
|
-
/**
|
|
1366
|
-
* Total capacity in the category
|
|
1367
|
-
* @readonly
|
|
1368
|
-
*/
|
|
1369
|
-
totalCapacity?: number | null;
|
|
1370
|
-
/**
|
|
1371
|
-
* Already reserved capacity
|
|
1372
|
-
* @readonly
|
|
1373
|
-
*/
|
|
1374
|
-
reserved?: number | null;
|
|
1375
|
-
}
|
|
1376
|
-
interface CreateSeatingReservationRequest$1 {
|
|
1377
|
-
/** A reservation to create */
|
|
1378
|
-
reservation?: SeatingReservation$1;
|
|
1379
|
-
}
|
|
1380
|
-
interface CreateSeatingReservationResponse$1 {
|
|
1381
|
-
/** Created reservation */
|
|
1382
|
-
reservation?: SeatingReservation$1;
|
|
1383
|
-
}
|
|
1384
|
-
interface GetReservationRequest$1 {
|
|
1385
|
-
/** The id of the reservation to return */
|
|
1386
|
-
id: string | null;
|
|
1387
|
-
}
|
|
1388
|
-
interface GetReservationResponse$1 {
|
|
1389
|
-
/** Created reservation */
|
|
1390
|
-
reservation?: SeatingReservation$1;
|
|
1391
|
-
}
|
|
1392
|
-
interface QuerySeatingReservationRequest$1 {
|
|
1393
|
-
/** A query object */
|
|
1394
|
-
query: QueryV2$1;
|
|
1395
|
-
}
|
|
1396
|
-
interface QueryV2$1 extends QueryV2PagingMethodOneOf$1 {
|
|
1397
|
-
/** Paging options to limit and skip the number of items. */
|
|
1398
|
-
paging?: Paging$1;
|
|
1399
|
-
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
1400
|
-
cursorPaging?: CursorPaging$1;
|
|
1401
|
-
/**
|
|
1402
|
-
* Filter object.
|
|
1403
|
-
*
|
|
1404
|
-
* Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).
|
|
1405
|
-
*/
|
|
1406
|
-
filter?: Record<string, any> | null;
|
|
1407
|
-
/**
|
|
1408
|
-
* Sort object.
|
|
1409
|
-
*
|
|
1410
|
-
* Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
1411
|
-
*/
|
|
1412
|
-
sort?: Sorting$1[];
|
|
1413
|
-
/** Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned. */
|
|
1414
|
-
fields?: string[];
|
|
1415
|
-
/** Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned. */
|
|
1416
|
-
fieldsets?: string[];
|
|
1417
|
-
}
|
|
1418
|
-
/** @oneof */
|
|
1419
|
-
interface QueryV2PagingMethodOneOf$1 {
|
|
1420
|
-
/** Paging options to limit and skip the number of items. */
|
|
1421
|
-
paging?: Paging$1;
|
|
1422
|
-
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
1423
|
-
cursorPaging?: CursorPaging$1;
|
|
1424
|
-
}
|
|
1425
|
-
interface Sorting$1 {
|
|
1426
|
-
/** Name of the field to sort by. */
|
|
1427
|
-
fieldName?: string;
|
|
1428
|
-
/** Sort order. */
|
|
1429
|
-
order?: SortOrder$1;
|
|
1430
|
-
}
|
|
1431
|
-
declare enum SortOrder$1 {
|
|
1432
|
-
ASC = "ASC",
|
|
1433
|
-
DESC = "DESC"
|
|
1434
|
-
}
|
|
1435
|
-
interface Paging$1 {
|
|
1436
|
-
/** Number of items to load. */
|
|
1437
|
-
limit?: number | null;
|
|
1438
|
-
/** Number of items to skip in the current sort order. */
|
|
1439
|
-
offset?: number | null;
|
|
1440
|
-
}
|
|
1441
|
-
interface CursorPaging$1 {
|
|
1442
|
-
/** Maximum number of items to return in the results. */
|
|
1443
|
-
limit?: number | null;
|
|
1444
|
-
/**
|
|
1445
|
-
* Pointer to the next or previous page in the list of results.
|
|
1446
|
-
*
|
|
1447
|
-
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
1448
|
-
* Not relevant for the first request.
|
|
1449
|
-
*/
|
|
1450
|
-
cursor?: string | null;
|
|
1451
|
-
}
|
|
1452
|
-
interface QuerySeatingReservationResponse$1 {
|
|
1453
|
-
/** Found reservations */
|
|
1454
|
-
reservations?: SeatingReservation$1[];
|
|
1455
|
-
/** Paging meta data */
|
|
1456
|
-
metadata?: PagingMetadataV2$1;
|
|
1457
|
-
}
|
|
1458
|
-
interface PagingMetadataV2$1 {
|
|
1459
|
-
/** Number of items returned in the response. */
|
|
1460
|
-
count?: number | null;
|
|
1461
|
-
/** Offset that was requested. */
|
|
1462
|
-
offset?: number | null;
|
|
1463
|
-
/** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
|
|
1464
|
-
total?: number | null;
|
|
1465
|
-
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
1466
|
-
tooManyToCount?: boolean | null;
|
|
1467
|
-
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
1468
|
-
cursors?: Cursors$1;
|
|
1469
|
-
}
|
|
1470
|
-
interface Cursors$1 {
|
|
1471
|
-
/** Cursor string pointing to the next page in the list of results. */
|
|
1472
|
-
next?: string | null;
|
|
1473
|
-
/** Cursor pointing to the previous page in the list of results. */
|
|
1474
|
-
prev?: string | null;
|
|
1475
|
-
}
|
|
1476
|
-
interface DeleteSeatingReservationRequest$1 {
|
|
1477
|
-
/** The id of the reservation to delete */
|
|
1478
|
-
id: string | null;
|
|
1479
|
-
}
|
|
1480
|
-
interface DeleteSeatingReservationResponse$1 {
|
|
1481
|
-
/** The deleted reservation */
|
|
1482
|
-
reservation?: SeatingReservation$1;
|
|
1483
|
-
}
|
|
1484
|
-
interface GetSeatingCategoriesSummaryRequest$1 {
|
|
1485
|
-
/** Seating plan external id */
|
|
1486
|
-
externalId?: string[];
|
|
1487
|
-
}
|
|
1488
|
-
interface GetSeatingCategoriesSummaryResponse$1 {
|
|
1489
|
-
/** Ticket counts by category */
|
|
1490
|
-
categories?: CategoryDetails$1[];
|
|
1491
|
-
}
|
|
1492
|
-
interface GetSeatingCategorySummaryRequest$1 {
|
|
1493
|
-
/** Seating plan external id */
|
|
1494
|
-
externalId?: string;
|
|
1495
|
-
}
|
|
1496
|
-
interface GetSeatingCategorySummaryResponse$1 {
|
|
1497
|
-
/** Ticket counts by category */
|
|
1498
|
-
categories?: CategoryDetails$1[];
|
|
1499
|
-
}
|
|
1500
|
-
interface GetSeatingReservationsSummaryRequest$1 {
|
|
1501
|
-
/** Filter for seating plan */
|
|
1502
|
-
filter: Record<string, any> | null;
|
|
1503
|
-
}
|
|
1504
|
-
interface GetSeatingReservationsSummaryResponse$1 {
|
|
1505
|
-
plan?: SeatingPlan$1;
|
|
1506
|
-
seatingReservationsSummary?: SeatingReservationsSummary$1;
|
|
1507
|
-
}
|
|
1508
|
-
interface SeatingPlan$1 {
|
|
1509
|
-
/**
|
|
1510
|
-
* Auto generated unique plan id
|
|
1511
|
-
* @readonly
|
|
1512
|
-
*/
|
|
1513
|
-
id?: string | null;
|
|
1514
|
-
/**
|
|
1515
|
-
* A client defined external id for cross referencing.
|
|
1516
|
-
* Can reference external entities.
|
|
1517
|
-
* Format: "{fqdn}:{entity guid}"
|
|
1518
|
-
*/
|
|
1519
|
-
externalId?: string | null;
|
|
1520
|
-
/** Human friendly plan title */
|
|
1521
|
-
title?: string | null;
|
|
1522
|
-
/** Sections of the plan. Seating plan is divided in high level sections. */
|
|
1523
|
-
sections?: Section$1[];
|
|
1524
|
-
/** Categories for plan element grouping. */
|
|
1525
|
-
categories?: Category$1[];
|
|
1526
|
-
/**
|
|
1527
|
-
* Seating plan created timestamp.
|
|
1528
|
-
* @readonly
|
|
1529
|
-
*/
|
|
1530
|
-
createdDate?: Date | null;
|
|
1531
|
-
/**
|
|
1532
|
-
* Seating plan updated timestamp.
|
|
1533
|
-
* @readonly
|
|
1534
|
-
*/
|
|
1535
|
-
updatedDate?: Date | null;
|
|
1536
|
-
/**
|
|
1537
|
-
* Total capacity
|
|
1538
|
-
* @readonly
|
|
1539
|
-
*/
|
|
1540
|
-
totalCapacity?: number | null;
|
|
1541
|
-
/**
|
|
1542
|
-
* Total categories
|
|
1543
|
-
* @readonly
|
|
1544
|
-
*/
|
|
1545
|
-
totalCategories?: number | null;
|
|
1546
|
-
/**
|
|
1547
|
-
* Places not assigned to categories
|
|
1548
|
-
* @readonly
|
|
1549
|
-
*/
|
|
1550
|
-
uncategorizedPlaces?: Place$1[];
|
|
1551
|
-
/**
|
|
1552
|
-
* A version of the seating plan
|
|
1553
|
-
* @readonly
|
|
1554
|
-
*/
|
|
1555
|
-
version?: string | null;
|
|
1556
|
-
/** Data extensions */
|
|
1557
|
-
extendedFields?: ExtendedFields$1;
|
|
1558
|
-
/** Seating Plan UI settings */
|
|
1559
|
-
uiProperties?: SeatingPlanUiProperties$1;
|
|
1560
|
-
/** Element groups */
|
|
1561
|
-
elementGroups?: ElementGroup$1[];
|
|
1562
|
-
}
|
|
1563
|
-
interface Section$1 {
|
|
1564
|
-
/** Unique section id */
|
|
1565
|
-
id?: number;
|
|
1566
|
-
/** Human readable section title */
|
|
1567
|
-
title?: string | null;
|
|
1568
|
-
/**
|
|
1569
|
-
* Client configuration object
|
|
1570
|
-
* @readonly
|
|
1571
|
-
*/
|
|
1572
|
-
config?: Record<string, any> | null;
|
|
1573
|
-
/** Elements of the section. */
|
|
1574
|
-
elements?: Element$1[];
|
|
1575
|
-
/**
|
|
1576
|
-
* Total capacity
|
|
1577
|
-
* @readonly
|
|
1578
|
-
*/
|
|
1579
|
-
totalCapacity?: number | null;
|
|
1580
|
-
/**
|
|
1581
|
-
* Is default section
|
|
1582
|
-
* @readonly
|
|
1583
|
-
*/
|
|
1584
|
-
default?: boolean;
|
|
1585
|
-
}
|
|
1586
|
-
interface Element$1 {
|
|
1587
|
-
/** Unique element id */
|
|
1588
|
-
id?: number;
|
|
1589
|
-
/** User friendly title/label of the element. */
|
|
1590
|
-
title?: string | null;
|
|
1591
|
-
/** Element type */
|
|
1592
|
-
type?: Type$1;
|
|
1593
|
-
/** Capacity. None for Shape type Element. */
|
|
1594
|
-
capacity?: number | null;
|
|
1595
|
-
/** Assigned to a category */
|
|
1596
|
-
categoryId?: number | null;
|
|
1597
|
-
/** A place numbering meta data */
|
|
1598
|
-
sequencing?: Sequencing$1;
|
|
1599
|
-
/**
|
|
1600
|
-
* Place override (by seq_id)
|
|
1601
|
-
* @deprecated
|
|
1602
|
-
*/
|
|
1603
|
-
overrides?: Place$1[];
|
|
1604
|
-
/**
|
|
1605
|
-
* Final place sequence with overrides
|
|
1606
|
-
* @readonly
|
|
1607
|
-
*/
|
|
1608
|
-
places?: Place$1[];
|
|
1609
|
-
/** Element reservation options */
|
|
1610
|
-
reservationOptions?: ReservationOptions$1;
|
|
1611
|
-
/** Element UI settings */
|
|
1612
|
-
uiProperties?: ElementUiProperties$1;
|
|
1613
|
-
/** Element group id */
|
|
1614
|
-
elementGroupId?: number | null;
|
|
1615
|
-
/** Multi row element relevant for MULTI_ROW element type */
|
|
1616
|
-
multiRowProperties?: MultiRowProperties$1;
|
|
1617
|
-
}
|
|
1618
|
-
declare enum Type$1 {
|
|
1619
|
-
AREA = "AREA",
|
|
1620
|
-
ROW = "ROW",
|
|
1621
|
-
MULTI_ROW = "MULTI_ROW",
|
|
1622
|
-
TABLE = "TABLE",
|
|
1623
|
-
ROUND_TABLE = "ROUND_TABLE",
|
|
1624
|
-
SHAPE = "SHAPE"
|
|
1625
|
-
}
|
|
1626
|
-
interface Sequencing$1 {
|
|
1627
|
-
/** First seq element */
|
|
1628
|
-
startAt?: string;
|
|
1629
|
-
/** Finite generated seq of labels */
|
|
1630
|
-
labels?: string[];
|
|
1631
|
-
/** If true - direction right to left. Otherwise left to right. */
|
|
1632
|
-
reverseOrder?: boolean | null;
|
|
1633
|
-
}
|
|
1634
|
-
interface Place$1 {
|
|
1635
|
-
/** Local id of the place in the sequence */
|
|
1636
|
-
index?: number;
|
|
1637
|
-
/**
|
|
1638
|
-
* Generated composite unique id in the seating plan.
|
|
1639
|
-
* @readonly
|
|
1640
|
-
*/
|
|
1641
|
-
id?: string | null;
|
|
1642
|
-
/** Unique label of the place */
|
|
1643
|
-
label?: string;
|
|
1644
|
-
/**
|
|
1645
|
-
* Max capacity per place
|
|
1646
|
-
* @readonly
|
|
1647
|
-
*/
|
|
1648
|
-
capacity?: number | null;
|
|
1649
|
-
/**
|
|
1650
|
-
* Type of the parent element
|
|
1651
|
-
* @readonly
|
|
1652
|
-
*/
|
|
1653
|
-
elementType?: Type$1;
|
|
1654
|
-
/**
|
|
1655
|
-
* Assigned category id
|
|
1656
|
-
* @readonly
|
|
1657
|
-
*/
|
|
1658
|
-
categoryId?: number | null;
|
|
1659
|
-
/** Place type */
|
|
1660
|
-
type?: PlaceTypeEnumType$1;
|
|
1661
|
-
}
|
|
1662
|
-
declare enum PlaceTypeEnumType$1 {
|
|
1663
|
-
UNKNOWN_PROPERTY = "UNKNOWN_PROPERTY",
|
|
1664
|
-
STANDARD = "STANDARD",
|
|
1665
|
-
WHEELCHAIR = "WHEELCHAIR",
|
|
1666
|
-
ACCESSIBLE = "ACCESSIBLE",
|
|
1667
|
-
COMPANION = "COMPANION",
|
|
1668
|
-
OBSTRUCTED = "OBSTRUCTED",
|
|
1669
|
-
DISCOUNT = "DISCOUNT"
|
|
1670
|
-
}
|
|
1671
|
-
interface ReservationOptions$1 {
|
|
1672
|
-
/** Indicates whether the entire element must be reserved */
|
|
1673
|
-
reserveWholeElement?: boolean;
|
|
1674
|
-
}
|
|
1675
|
-
interface ElementUiProperties$1 {
|
|
1676
|
-
x?: number | null;
|
|
1677
|
-
y?: number | null;
|
|
1678
|
-
zIndex?: number | null;
|
|
1679
|
-
width?: number | null;
|
|
1680
|
-
height?: number | null;
|
|
1681
|
-
rotationAngle?: number | null;
|
|
1682
|
-
shapeType?: ShapeTypeEnumType$1;
|
|
1683
|
-
fontSize?: number | null;
|
|
1684
|
-
cornerRadius?: number | null;
|
|
1685
|
-
seatSpacing?: number | null;
|
|
1686
|
-
hideLabel?: boolean | null;
|
|
1687
|
-
labelPosition?: Position$1;
|
|
1688
|
-
seatLayout?: number[];
|
|
1689
|
-
emptyTopSeatSpaces?: number | null;
|
|
1690
|
-
/** needs research */
|
|
1691
|
-
text?: string | null;
|
|
1692
|
-
/** #F0F0F0 */
|
|
1693
|
-
color?: string | null;
|
|
1694
|
-
/** #F0F0F0 */
|
|
1695
|
-
fillColor?: string | null;
|
|
1696
|
-
/** #F0F0F0 */
|
|
1697
|
-
strokeColor?: string | null;
|
|
1698
|
-
/** px */
|
|
1699
|
-
strokeWidth?: number | null;
|
|
1700
|
-
opacity?: number | null;
|
|
1701
|
-
icon?: Icon$1;
|
|
1702
|
-
image?: Image$1;
|
|
1703
|
-
seatNumbering?: Numbering$1;
|
|
1704
|
-
}
|
|
1705
|
-
declare enum ShapeTypeEnumType$1 {
|
|
1706
|
-
UNKNOWN_TYPE = "UNKNOWN_TYPE",
|
|
1707
|
-
TEXT = "TEXT",
|
|
1708
|
-
RECTANGLE = "RECTANGLE",
|
|
1709
|
-
ELLIPSE = "ELLIPSE",
|
|
1710
|
-
LINE = "LINE",
|
|
1711
|
-
ICON = "ICON",
|
|
1712
|
-
IMAGE = "IMAGE"
|
|
1713
|
-
}
|
|
1714
|
-
declare enum Position$1 {
|
|
1715
|
-
UNKNOWN_POSITION = "UNKNOWN_POSITION",
|
|
1716
|
-
LEFT = "LEFT",
|
|
1717
|
-
RIGHT = "RIGHT",
|
|
1718
|
-
BOTH = "BOTH",
|
|
1719
|
-
NONE = "NONE"
|
|
1720
|
-
}
|
|
1721
|
-
declare enum Icon$1 {
|
|
1722
|
-
UNKNOWN_ICON = "UNKNOWN_ICON",
|
|
1723
|
-
ENTER = "ENTER",
|
|
1724
|
-
EXIT = "EXIT",
|
|
1725
|
-
DRINKS = "DRINKS",
|
|
1726
|
-
WC = "WC",
|
|
1727
|
-
WC_MEN = "WC_MEN",
|
|
1728
|
-
WC_WOMEN = "WC_WOMEN",
|
|
1729
|
-
FOOD = "FOOD",
|
|
1730
|
-
STAIRS = "STAIRS",
|
|
1731
|
-
ELEVATOR = "ELEVATOR",
|
|
1732
|
-
SMOKING = "SMOKING",
|
|
1733
|
-
CHECKROOM = "CHECKROOM",
|
|
1734
|
-
STAGE = "STAGE"
|
|
1735
|
-
}
|
|
1736
|
-
interface Image$1 {
|
|
1737
|
-
/** WixMedia image ID. */
|
|
1738
|
-
id?: string;
|
|
1739
|
-
/**
|
|
1740
|
-
* Original image height.
|
|
1741
|
-
* @readonly
|
|
1742
|
-
*/
|
|
1743
|
-
height?: number;
|
|
1744
|
-
/**
|
|
1745
|
-
* Original image width.
|
|
1746
|
-
* @readonly
|
|
1747
|
-
*/
|
|
1748
|
-
width?: number;
|
|
1749
|
-
/**
|
|
1750
|
-
* WixMedia image URI.
|
|
1751
|
-
* @deprecated
|
|
1752
|
-
*/
|
|
1753
|
-
uri?: string | null;
|
|
1754
|
-
}
|
|
1755
|
-
declare enum Numbering$1 {
|
|
1756
|
-
UNKNOWN_NUMBERING = "UNKNOWN_NUMBERING",
|
|
1757
|
-
NUMERIC = "NUMERIC",
|
|
1758
|
-
ODD_EVEN = "ODD_EVEN",
|
|
1759
|
-
ALPHABETICAL = "ALPHABETICAL"
|
|
1760
|
-
}
|
|
1761
|
-
interface MultiRowProperties$1 {
|
|
1762
|
-
/** Individual rows of the multi row element */
|
|
1763
|
-
rows?: RowElement$1[];
|
|
1764
|
-
/** Meta data for vertical labeling */
|
|
1765
|
-
verticalSequencing?: VerticalSequencing$1;
|
|
1766
|
-
/** Row spacing */
|
|
1767
|
-
rowSpacing?: number | null;
|
|
1768
|
-
}
|
|
1769
|
-
interface RowElement$1 {
|
|
1770
|
-
/** Unique row id */
|
|
1771
|
-
id?: number;
|
|
1772
|
-
/** User friendly title/label of the row */
|
|
1773
|
-
title?: string | null;
|
|
1774
|
-
/** Row capacity */
|
|
1775
|
-
capacity?: number | null;
|
|
1776
|
-
/** Assigned to a category */
|
|
1777
|
-
categoryId?: number | null;
|
|
1778
|
-
/** A place numbering meta data for a single row */
|
|
1779
|
-
sequencing?: Sequencing$1;
|
|
1780
|
-
/** Row UI settings */
|
|
1781
|
-
uiProperties?: RowElementUiProperties$1;
|
|
1782
|
-
}
|
|
1783
|
-
interface RowElementUiProperties$1 {
|
|
1784
|
-
/** Relative x position to the parent element */
|
|
1785
|
-
relativeX?: number | null;
|
|
1786
|
-
/** Width of the row */
|
|
1787
|
-
width?: number | null;
|
|
1788
|
-
/** Seat spacing */
|
|
1789
|
-
seatSpacing?: number | null;
|
|
1790
|
-
/** Label position */
|
|
1791
|
-
labelPosition?: Position$1;
|
|
1792
|
-
/** Seat numbering */
|
|
1793
|
-
seatNumbering?: Numbering$1;
|
|
1794
|
-
}
|
|
1795
|
-
interface VerticalSequencing$1 {
|
|
1796
|
-
/** First seq element */
|
|
1797
|
-
startAt?: string;
|
|
1798
|
-
/** Row numbering */
|
|
1799
|
-
rowNumbering?: Numbering$1;
|
|
1800
|
-
/** If true - direction bottom to top. Otherwise top to bottom. */
|
|
1801
|
-
reverseOrder?: boolean | null;
|
|
1802
|
-
}
|
|
1803
|
-
interface Category$1 {
|
|
1804
|
-
/** Local category id within the seating plan */
|
|
1805
|
-
id?: number;
|
|
1806
|
-
/**
|
|
1807
|
-
* A client defined external id for cross referencing.
|
|
1808
|
-
* Can reference external entities.
|
|
1809
|
-
* Format: "{entity_fqdn}:{entity_id}"
|
|
1810
|
-
*/
|
|
1811
|
-
externalId?: string | null;
|
|
1812
|
-
/** Category label */
|
|
1813
|
-
title?: string;
|
|
1814
|
-
/**
|
|
1815
|
-
* Client configuration object
|
|
1816
|
-
* @readonly
|
|
1817
|
-
*/
|
|
1818
|
-
config?: Record<string, any> | null;
|
|
1819
|
-
/**
|
|
1820
|
-
* Total capacity
|
|
1821
|
-
* @readonly
|
|
1822
|
-
*/
|
|
1823
|
-
totalCapacity?: number | null;
|
|
1824
|
-
/**
|
|
1825
|
-
* Possible places
|
|
1826
|
-
* @readonly
|
|
1827
|
-
*/
|
|
1828
|
-
places?: Place$1[];
|
|
1829
|
-
}
|
|
1830
|
-
interface ExtendedFields$1 {
|
|
1831
|
-
/**
|
|
1832
|
-
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
1833
|
-
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
1834
|
-
*
|
|
1835
|
-
* You can only access fields for which you have the appropriate permissions.
|
|
1836
|
-
*
|
|
1837
|
-
* Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
|
|
1838
|
-
*/
|
|
1839
|
-
namespaces?: Record<string, Record<string, any>>;
|
|
1840
|
-
}
|
|
1841
|
-
interface SeatingPlanUiProperties$1 {
|
|
1842
|
-
/** #F0F0F0 */
|
|
1843
|
-
backgroundColor?: string | null;
|
|
1844
|
-
backgroundOpacity?: number | null;
|
|
1845
|
-
}
|
|
1846
|
-
interface ElementGroup$1 {
|
|
1847
|
-
/** Unique element group id */
|
|
1848
|
-
id?: number;
|
|
1849
|
-
/** Parent group id */
|
|
1850
|
-
parentElementGroupId?: number | null;
|
|
1851
|
-
/** Element group UI settings */
|
|
1852
|
-
uiProperties?: ElementGroupUiProperties$1;
|
|
1853
|
-
}
|
|
1854
|
-
interface ElementGroupUiProperties$1 {
|
|
1855
|
-
/** x position of the group */
|
|
1856
|
-
x?: number | null;
|
|
1857
|
-
/** y position of the group */
|
|
1858
|
-
y?: number | null;
|
|
1859
|
-
/** width of the group */
|
|
1860
|
-
width?: number | null;
|
|
1861
|
-
/** height of the group */
|
|
1862
|
-
height?: number | null;
|
|
1863
|
-
/** rotation angle of the group */
|
|
1864
|
-
rotationAngle?: number | null;
|
|
1865
|
-
}
|
|
1866
|
-
interface SeatingReservationsSummary$1 {
|
|
1867
|
-
places?: PlaceReservationDetails$1[];
|
|
1868
|
-
}
|
|
1869
|
-
interface PlaceReservationDetails$1 {
|
|
1870
|
-
placeId?: string;
|
|
1871
|
-
occupied?: number;
|
|
1872
|
-
}
|
|
1873
|
-
interface GetSeatingReservationSummaryRequest$1 {
|
|
1874
|
-
/** Seating plan external id */
|
|
1875
|
-
externalId: string;
|
|
1876
|
-
}
|
|
1877
|
-
interface GetSeatingReservationSummaryResponse$1 {
|
|
1878
|
-
plan?: SeatingPlan$1;
|
|
1879
|
-
places?: PlaceReservationDetails$1[];
|
|
1880
|
-
}
|
|
1881
|
-
interface PlaceReservationNonNullableFields$1 {
|
|
1882
|
-
id: string;
|
|
1883
|
-
}
|
|
1884
|
-
interface SeatingReservationNonNullableFields$1 {
|
|
1885
|
-
reservedPlaces: PlaceReservationNonNullableFields$1[];
|
|
1886
|
-
}
|
|
1887
|
-
interface CreateSeatingReservationResponseNonNullableFields$1 {
|
|
1888
|
-
reservation?: SeatingReservationNonNullableFields$1;
|
|
1889
|
-
}
|
|
1890
|
-
interface GetReservationResponseNonNullableFields$1 {
|
|
1891
|
-
reservation?: SeatingReservationNonNullableFields$1;
|
|
1892
|
-
}
|
|
1893
|
-
interface QuerySeatingReservationResponseNonNullableFields$1 {
|
|
1894
|
-
reservations: SeatingReservationNonNullableFields$1[];
|
|
1895
|
-
}
|
|
1896
|
-
interface DeleteSeatingReservationResponseNonNullableFields$1 {
|
|
1897
|
-
reservation?: SeatingReservationNonNullableFields$1;
|
|
1898
|
-
}
|
|
1899
|
-
interface SequencingNonNullableFields$1 {
|
|
1900
|
-
startAt: string;
|
|
1901
|
-
labels: string[];
|
|
1902
|
-
}
|
|
1903
|
-
interface PlaceNonNullableFields$1 {
|
|
1904
|
-
index: number;
|
|
1905
|
-
label: string;
|
|
1906
|
-
elementType: Type$1;
|
|
1907
|
-
type: PlaceTypeEnumType$1;
|
|
1908
|
-
}
|
|
1909
|
-
interface ReservationOptionsNonNullableFields$1 {
|
|
1910
|
-
reserveWholeElement: boolean;
|
|
1911
|
-
}
|
|
1912
|
-
interface ImageNonNullableFields$1 {
|
|
1913
|
-
id: string;
|
|
1914
|
-
height: number;
|
|
1915
|
-
width: number;
|
|
1916
|
-
}
|
|
1917
|
-
interface ElementUiPropertiesNonNullableFields$1 {
|
|
1918
|
-
shapeType: ShapeTypeEnumType$1;
|
|
1919
|
-
labelPosition: Position$1;
|
|
1920
|
-
seatLayout: number[];
|
|
1921
|
-
icon: Icon$1;
|
|
1922
|
-
image?: ImageNonNullableFields$1;
|
|
1923
|
-
seatNumbering: Numbering$1;
|
|
1924
|
-
}
|
|
1925
|
-
interface RowElementUiPropertiesNonNullableFields$1 {
|
|
1926
|
-
labelPosition: Position$1;
|
|
1927
|
-
seatNumbering: Numbering$1;
|
|
1928
|
-
}
|
|
1929
|
-
interface RowElementNonNullableFields$1 {
|
|
1930
|
-
id: number;
|
|
1931
|
-
sequencing?: SequencingNonNullableFields$1;
|
|
1932
|
-
uiProperties?: RowElementUiPropertiesNonNullableFields$1;
|
|
1933
|
-
}
|
|
1934
|
-
interface VerticalSequencingNonNullableFields$1 {
|
|
1935
|
-
startAt: string;
|
|
1936
|
-
rowNumbering: Numbering$1;
|
|
1937
|
-
}
|
|
1938
|
-
interface MultiRowPropertiesNonNullableFields$1 {
|
|
1939
|
-
rows: RowElementNonNullableFields$1[];
|
|
1940
|
-
verticalSequencing?: VerticalSequencingNonNullableFields$1;
|
|
1941
|
-
}
|
|
1942
|
-
interface ElementNonNullableFields$1 {
|
|
1943
|
-
id: number;
|
|
1944
|
-
type: Type$1;
|
|
1945
|
-
sequencing?: SequencingNonNullableFields$1;
|
|
1946
|
-
overrides: PlaceNonNullableFields$1[];
|
|
1947
|
-
places: PlaceNonNullableFields$1[];
|
|
1948
|
-
reservationOptions?: ReservationOptionsNonNullableFields$1;
|
|
1949
|
-
uiProperties?: ElementUiPropertiesNonNullableFields$1;
|
|
1950
|
-
multiRowProperties?: MultiRowPropertiesNonNullableFields$1;
|
|
1951
|
-
}
|
|
1952
|
-
interface SectionNonNullableFields$1 {
|
|
1953
|
-
id: number;
|
|
1954
|
-
elements: ElementNonNullableFields$1[];
|
|
1955
|
-
default: boolean;
|
|
1956
|
-
}
|
|
1957
|
-
interface CategoryNonNullableFields$1 {
|
|
1958
|
-
id: number;
|
|
1959
|
-
title: string;
|
|
1960
|
-
places: PlaceNonNullableFields$1[];
|
|
1961
|
-
}
|
|
1962
|
-
interface ElementGroupNonNullableFields$1 {
|
|
1963
|
-
id: number;
|
|
1964
|
-
}
|
|
1965
|
-
interface SeatingPlanNonNullableFields$1 {
|
|
1966
|
-
sections: SectionNonNullableFields$1[];
|
|
1967
|
-
categories: CategoryNonNullableFields$1[];
|
|
1968
|
-
uncategorizedPlaces: PlaceNonNullableFields$1[];
|
|
1969
|
-
elementGroups: ElementGroupNonNullableFields$1[];
|
|
1970
|
-
}
|
|
1971
|
-
interface PlaceReservationDetailsNonNullableFields$1 {
|
|
1972
|
-
placeId: string;
|
|
1973
|
-
occupied: number;
|
|
1974
|
-
}
|
|
1975
|
-
interface SeatingReservationsSummaryNonNullableFields$1 {
|
|
1976
|
-
places: PlaceReservationDetailsNonNullableFields$1[];
|
|
1977
|
-
}
|
|
1978
|
-
interface GetSeatingReservationsSummaryResponseNonNullableFields$1 {
|
|
1979
|
-
plan?: SeatingPlanNonNullableFields$1;
|
|
1980
|
-
seatingReservationsSummary?: SeatingReservationsSummaryNonNullableFields$1;
|
|
1981
|
-
}
|
|
1982
|
-
interface GetSeatingReservationSummaryResponseNonNullableFields$1 {
|
|
1983
|
-
plan?: SeatingPlanNonNullableFields$1;
|
|
1984
|
-
places: PlaceReservationDetailsNonNullableFields$1[];
|
|
1985
|
-
}
|
|
1986
|
-
|
|
1987
|
-
interface SeatingReservation {
|
|
1988
|
-
/**
|
|
1989
|
-
* The id of the reservation
|
|
1990
|
-
* @readonly
|
|
1991
|
-
*/
|
|
1992
|
-
_id?: string | null;
|
|
1993
|
-
/**
|
|
1994
|
-
* The seating plan id
|
|
1995
|
-
* @readonly
|
|
1996
|
-
*/
|
|
1997
|
-
seatingPlanId?: string | null;
|
|
1998
|
-
/**
|
|
1999
|
-
* The external seating plan id
|
|
2000
|
-
* @readonly
|
|
2001
|
-
*/
|
|
2002
|
-
externalSeatingPlanId?: string | null;
|
|
2003
|
-
/** Reserved places */
|
|
2004
|
-
reservedPlaces?: PlaceReservation[];
|
|
2005
|
-
/**
|
|
2006
|
-
* A client defined external id for cross referencing.
|
|
2007
|
-
* Can reference external entities.
|
|
2008
|
-
* Format: "{fqdn}:{entity guid}"
|
|
2009
|
-
*/
|
|
2010
|
-
externalId?: string | null;
|
|
2011
|
-
}
|
|
2012
|
-
interface PlaceReservation {
|
|
2013
|
-
/** The place id. */
|
|
2014
|
-
_id?: string;
|
|
2015
|
-
/**
|
|
2016
|
-
* Number of places in the spot. If not provided - defaults to 1.
|
|
2017
|
-
* Used to reserve for more that one place in areas.
|
|
2018
|
-
*/
|
|
2019
|
-
capacity?: number | null;
|
|
2020
|
-
/**
|
|
2021
|
-
* Optional section label.
|
|
2022
|
-
* @readonly
|
|
2023
|
-
*/
|
|
2024
|
-
sectionLabel?: string | null;
|
|
2025
|
-
/**
|
|
2026
|
-
* Area label.
|
|
2027
|
-
* @readonly
|
|
2028
|
-
*/
|
|
2029
|
-
areaLabel?: string | null;
|
|
2030
|
-
/**
|
|
2031
|
-
* Table label.
|
|
2032
|
-
* @readonly
|
|
2033
|
-
*/
|
|
2034
|
-
tableLabel?: string | null;
|
|
2035
|
-
/**
|
|
2036
|
-
* Row label.
|
|
2037
|
-
* @readonly
|
|
2038
|
-
*/
|
|
2039
|
-
rowLabel?: string | null;
|
|
2040
|
-
/**
|
|
2041
|
-
* Seat label in a row or table.
|
|
2042
|
-
* @readonly
|
|
2043
|
-
*/
|
|
2044
|
-
seatLabel?: string | null;
|
|
2045
|
-
}
|
|
2046
|
-
interface CategoryDetails {
|
|
2047
|
-
/**
|
|
2048
|
-
* Seating plan id
|
|
2049
|
-
* @readonly
|
|
2050
|
-
*/
|
|
2051
|
-
seatingPlanId?: string | null;
|
|
2052
|
-
/**
|
|
2053
|
-
* External seating plan id
|
|
2054
|
-
* @readonly
|
|
2055
|
-
*/
|
|
2056
|
-
externalSeatingPlanId?: string | null;
|
|
2057
|
-
/**
|
|
2058
|
-
* External category id
|
|
2059
|
-
* @readonly
|
|
2060
|
-
*/
|
|
2061
|
-
externalCategoryId?: string | null;
|
|
2062
|
-
/**
|
|
2063
|
-
* Total capacity in the category
|
|
2064
|
-
* @readonly
|
|
2065
|
-
*/
|
|
2066
|
-
totalCapacity?: number | null;
|
|
2067
|
-
/**
|
|
2068
|
-
* Already reserved capacity
|
|
2069
|
-
* @readonly
|
|
2070
|
-
*/
|
|
2071
|
-
reserved?: number | null;
|
|
2072
|
-
}
|
|
2073
|
-
interface CreateSeatingReservationRequest {
|
|
2074
|
-
/** A reservation to create */
|
|
2075
|
-
reservation?: SeatingReservation;
|
|
2076
|
-
}
|
|
2077
|
-
interface CreateSeatingReservationResponse {
|
|
2078
|
-
/** Created reservation */
|
|
2079
|
-
reservation?: SeatingReservation;
|
|
2080
|
-
}
|
|
2081
|
-
interface GetReservationRequest {
|
|
2082
|
-
/** The id of the reservation to return */
|
|
2083
|
-
_id: string | null;
|
|
2084
|
-
}
|
|
2085
|
-
interface GetReservationResponse {
|
|
2086
|
-
/** Created reservation */
|
|
2087
|
-
reservation?: SeatingReservation;
|
|
2088
|
-
}
|
|
2089
|
-
interface QuerySeatingReservationRequest {
|
|
2090
|
-
/** A query object */
|
|
2091
|
-
query: QueryV2;
|
|
2092
|
-
}
|
|
2093
|
-
interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
2094
|
-
/** Paging options to limit and skip the number of items. */
|
|
2095
|
-
paging?: Paging;
|
|
2096
|
-
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
2097
|
-
cursorPaging?: CursorPaging;
|
|
2098
|
-
/**
|
|
2099
|
-
* Filter object.
|
|
2100
|
-
*
|
|
2101
|
-
* Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).
|
|
2102
|
-
*/
|
|
2103
|
-
filter?: Record<string, any> | null;
|
|
2104
|
-
/**
|
|
2105
|
-
* Sort object.
|
|
2106
|
-
*
|
|
2107
|
-
* Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
2108
|
-
*/
|
|
2109
|
-
sort?: Sorting[];
|
|
2110
|
-
/** Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned. */
|
|
2111
|
-
fields?: string[];
|
|
2112
|
-
/** Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned. */
|
|
2113
|
-
fieldsets?: string[];
|
|
2114
|
-
}
|
|
2115
|
-
/** @oneof */
|
|
2116
|
-
interface QueryV2PagingMethodOneOf {
|
|
2117
|
-
/** Paging options to limit and skip the number of items. */
|
|
2118
|
-
paging?: Paging;
|
|
2119
|
-
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
2120
|
-
cursorPaging?: CursorPaging;
|
|
2121
|
-
}
|
|
2122
|
-
interface Sorting {
|
|
2123
|
-
/** Name of the field to sort by. */
|
|
2124
|
-
fieldName?: string;
|
|
2125
|
-
/** Sort order. */
|
|
2126
|
-
order?: SortOrder;
|
|
2127
|
-
}
|
|
2128
|
-
declare enum SortOrder {
|
|
2129
|
-
ASC = "ASC",
|
|
2130
|
-
DESC = "DESC"
|
|
2131
|
-
}
|
|
2132
|
-
interface Paging {
|
|
2133
|
-
/** Number of items to load. */
|
|
2134
|
-
limit?: number | null;
|
|
2135
|
-
/** Number of items to skip in the current sort order. */
|
|
2136
|
-
offset?: number | null;
|
|
2137
|
-
}
|
|
2138
|
-
interface CursorPaging {
|
|
2139
|
-
/** Maximum number of items to return in the results. */
|
|
2140
|
-
limit?: number | null;
|
|
2141
|
-
/**
|
|
2142
|
-
* Pointer to the next or previous page in the list of results.
|
|
2143
|
-
*
|
|
2144
|
-
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
2145
|
-
* Not relevant for the first request.
|
|
2146
|
-
*/
|
|
2147
|
-
cursor?: string | null;
|
|
2148
|
-
}
|
|
2149
|
-
interface QuerySeatingReservationResponse {
|
|
2150
|
-
/** Found reservations */
|
|
2151
|
-
reservations?: SeatingReservation[];
|
|
2152
|
-
/** Paging meta data */
|
|
2153
|
-
metadata?: PagingMetadataV2;
|
|
2154
|
-
}
|
|
2155
|
-
interface PagingMetadataV2 {
|
|
2156
|
-
/** Number of items returned in the response. */
|
|
2157
|
-
count?: number | null;
|
|
2158
|
-
/** Offset that was requested. */
|
|
2159
|
-
offset?: number | null;
|
|
2160
|
-
/** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
|
|
2161
|
-
total?: number | null;
|
|
2162
|
-
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
2163
|
-
tooManyToCount?: boolean | null;
|
|
2164
|
-
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
2165
|
-
cursors?: Cursors;
|
|
2166
|
-
}
|
|
2167
|
-
interface Cursors {
|
|
2168
|
-
/** Cursor string pointing to the next page in the list of results. */
|
|
2169
|
-
next?: string | null;
|
|
2170
|
-
/** Cursor pointing to the previous page in the list of results. */
|
|
2171
|
-
prev?: string | null;
|
|
2172
|
-
}
|
|
2173
|
-
interface DeleteSeatingReservationRequest {
|
|
2174
|
-
/** The id of the reservation to delete */
|
|
2175
|
-
_id: string | null;
|
|
2176
|
-
}
|
|
2177
|
-
interface DeleteSeatingReservationResponse {
|
|
2178
|
-
/** The deleted reservation */
|
|
2179
|
-
reservation?: SeatingReservation;
|
|
2180
|
-
}
|
|
2181
|
-
interface GetSeatingCategoriesSummaryRequest {
|
|
2182
|
-
/** Seating plan external id */
|
|
2183
|
-
externalId?: string[];
|
|
2184
|
-
}
|
|
2185
|
-
interface GetSeatingCategoriesSummaryResponse {
|
|
2186
|
-
/** Ticket counts by category */
|
|
2187
|
-
categories?: CategoryDetails[];
|
|
2188
|
-
}
|
|
2189
|
-
interface GetSeatingCategorySummaryRequest {
|
|
2190
|
-
/** Seating plan external id */
|
|
2191
|
-
externalId?: string;
|
|
2192
|
-
}
|
|
2193
|
-
interface GetSeatingCategorySummaryResponse {
|
|
2194
|
-
/** Ticket counts by category */
|
|
2195
|
-
categories?: CategoryDetails[];
|
|
2196
|
-
}
|
|
2197
|
-
interface GetSeatingReservationsSummaryRequest {
|
|
2198
|
-
/** Filter for seating plan */
|
|
2199
|
-
filter: Record<string, any> | null;
|
|
2200
|
-
}
|
|
2201
|
-
interface GetSeatingReservationsSummaryResponse {
|
|
2202
|
-
plan?: SeatingPlan;
|
|
2203
|
-
seatingReservationsSummary?: SeatingReservationsSummary;
|
|
2204
|
-
}
|
|
2205
|
-
interface SeatingPlan {
|
|
2206
|
-
/**
|
|
2207
|
-
* Auto generated unique plan id
|
|
2208
|
-
* @readonly
|
|
2209
|
-
*/
|
|
2210
|
-
_id?: string | null;
|
|
2211
|
-
/**
|
|
2212
|
-
* A client defined external id for cross referencing.
|
|
2213
|
-
* Can reference external entities.
|
|
2214
|
-
* Format: "{fqdn}:{entity guid}"
|
|
2215
|
-
*/
|
|
2216
|
-
externalId?: string | null;
|
|
2217
|
-
/** Human friendly plan title */
|
|
2218
|
-
title?: string | null;
|
|
2219
|
-
/** Sections of the plan. Seating plan is divided in high level sections. */
|
|
2220
|
-
sections?: Section[];
|
|
2221
|
-
/** Categories for plan element grouping. */
|
|
2222
|
-
categories?: Category[];
|
|
2223
|
-
/**
|
|
2224
|
-
* Seating plan created timestamp.
|
|
2225
|
-
* @readonly
|
|
2226
|
-
*/
|
|
2227
|
-
_createdDate?: Date | null;
|
|
2228
|
-
/**
|
|
2229
|
-
* Seating plan updated timestamp.
|
|
2230
|
-
* @readonly
|
|
2231
|
-
*/
|
|
2232
|
-
_updatedDate?: Date | null;
|
|
2233
|
-
/**
|
|
2234
|
-
* Total capacity
|
|
2235
|
-
* @readonly
|
|
2236
|
-
*/
|
|
2237
|
-
totalCapacity?: number | null;
|
|
2238
|
-
/**
|
|
2239
|
-
* Total categories
|
|
2240
|
-
* @readonly
|
|
2241
|
-
*/
|
|
2242
|
-
totalCategories?: number | null;
|
|
2243
|
-
/**
|
|
2244
|
-
* Places not assigned to categories
|
|
2245
|
-
* @readonly
|
|
2246
|
-
*/
|
|
2247
|
-
uncategorizedPlaces?: Place[];
|
|
2248
|
-
/**
|
|
2249
|
-
* A version of the seating plan
|
|
2250
|
-
* @readonly
|
|
2251
|
-
*/
|
|
2252
|
-
version?: string | null;
|
|
2253
|
-
/** Data extensions */
|
|
2254
|
-
extendedFields?: ExtendedFields;
|
|
2255
|
-
/** Seating Plan UI settings */
|
|
2256
|
-
uiProperties?: SeatingPlanUiProperties;
|
|
2257
|
-
/** Element groups */
|
|
2258
|
-
elementGroups?: ElementGroup[];
|
|
2259
|
-
}
|
|
2260
|
-
interface Section {
|
|
2261
|
-
/** Unique section id */
|
|
2262
|
-
_id?: number;
|
|
2263
|
-
/** Human readable section title */
|
|
2264
|
-
title?: string | null;
|
|
2265
|
-
/**
|
|
2266
|
-
* Client configuration object
|
|
2267
|
-
* @readonly
|
|
2268
|
-
*/
|
|
2269
|
-
config?: Record<string, any> | null;
|
|
2270
|
-
/** Elements of the section. */
|
|
2271
|
-
elements?: Element[];
|
|
2272
|
-
/**
|
|
2273
|
-
* Total capacity
|
|
2274
|
-
* @readonly
|
|
2275
|
-
*/
|
|
2276
|
-
totalCapacity?: number | null;
|
|
2277
|
-
/**
|
|
2278
|
-
* Is default section
|
|
2279
|
-
* @readonly
|
|
2280
|
-
*/
|
|
2281
|
-
default?: boolean;
|
|
2282
|
-
}
|
|
2283
|
-
interface Element {
|
|
2284
|
-
/** Unique element id */
|
|
2285
|
-
_id?: number;
|
|
2286
|
-
/** User friendly title/label of the element. */
|
|
2287
|
-
title?: string | null;
|
|
2288
|
-
/** Element type */
|
|
2289
|
-
type?: Type;
|
|
2290
|
-
/** Capacity. None for Shape type Element. */
|
|
2291
|
-
capacity?: number | null;
|
|
2292
|
-
/** Assigned to a category */
|
|
2293
|
-
categoryId?: number | null;
|
|
2294
|
-
/** A place numbering meta data */
|
|
2295
|
-
sequencing?: Sequencing;
|
|
2296
|
-
/**
|
|
2297
|
-
* Place override (by seq_id)
|
|
2298
|
-
* @deprecated
|
|
2299
|
-
*/
|
|
2300
|
-
overrides?: Place[];
|
|
2301
|
-
/**
|
|
2302
|
-
* Final place sequence with overrides
|
|
2303
|
-
* @readonly
|
|
2304
|
-
*/
|
|
2305
|
-
places?: Place[];
|
|
2306
|
-
/** Element reservation options */
|
|
2307
|
-
reservationOptions?: ReservationOptions;
|
|
2308
|
-
/** Element UI settings */
|
|
2309
|
-
uiProperties?: ElementUiProperties;
|
|
2310
|
-
/** Element group id */
|
|
2311
|
-
elementGroupId?: number | null;
|
|
2312
|
-
/** Multi row element relevant for MULTI_ROW element type */
|
|
2313
|
-
multiRowProperties?: MultiRowProperties;
|
|
2314
|
-
}
|
|
2315
|
-
declare enum Type {
|
|
2316
|
-
AREA = "AREA",
|
|
2317
|
-
ROW = "ROW",
|
|
2318
|
-
MULTI_ROW = "MULTI_ROW",
|
|
2319
|
-
TABLE = "TABLE",
|
|
2320
|
-
ROUND_TABLE = "ROUND_TABLE",
|
|
2321
|
-
SHAPE = "SHAPE"
|
|
2322
|
-
}
|
|
2323
|
-
interface Sequencing {
|
|
2324
|
-
/** First seq element */
|
|
2325
|
-
startAt?: string;
|
|
2326
|
-
/** Finite generated seq of labels */
|
|
2327
|
-
labels?: string[];
|
|
2328
|
-
/** If true - direction right to left. Otherwise left to right. */
|
|
2329
|
-
reverseOrder?: boolean | null;
|
|
2330
|
-
}
|
|
2331
|
-
interface Place {
|
|
2332
|
-
/** Local id of the place in the sequence */
|
|
2333
|
-
index?: number;
|
|
2334
|
-
/**
|
|
2335
|
-
* Generated composite unique id in the seating plan.
|
|
2336
|
-
* @readonly
|
|
2337
|
-
*/
|
|
2338
|
-
_id?: string | null;
|
|
2339
|
-
/** Unique label of the place */
|
|
2340
|
-
label?: string;
|
|
2341
|
-
/**
|
|
2342
|
-
* Max capacity per place
|
|
2343
|
-
* @readonly
|
|
2344
|
-
*/
|
|
2345
|
-
capacity?: number | null;
|
|
2346
|
-
/**
|
|
2347
|
-
* Type of the parent element
|
|
2348
|
-
* @readonly
|
|
2349
|
-
*/
|
|
2350
|
-
elementType?: Type;
|
|
2351
|
-
/**
|
|
2352
|
-
* Assigned category id
|
|
2353
|
-
* @readonly
|
|
2354
|
-
*/
|
|
2355
|
-
categoryId?: number | null;
|
|
2356
|
-
/** Place type */
|
|
2357
|
-
type?: PlaceTypeEnumType;
|
|
2358
|
-
}
|
|
2359
|
-
declare enum PlaceTypeEnumType {
|
|
2360
|
-
UNKNOWN_PROPERTY = "UNKNOWN_PROPERTY",
|
|
2361
|
-
STANDARD = "STANDARD",
|
|
2362
|
-
WHEELCHAIR = "WHEELCHAIR",
|
|
2363
|
-
ACCESSIBLE = "ACCESSIBLE",
|
|
2364
|
-
COMPANION = "COMPANION",
|
|
2365
|
-
OBSTRUCTED = "OBSTRUCTED",
|
|
2366
|
-
DISCOUNT = "DISCOUNT"
|
|
2367
|
-
}
|
|
2368
|
-
interface ReservationOptions {
|
|
2369
|
-
/** Indicates whether the entire element must be reserved */
|
|
2370
|
-
reserveWholeElement?: boolean;
|
|
2371
|
-
}
|
|
2372
|
-
interface ElementUiProperties {
|
|
2373
|
-
x?: number | null;
|
|
2374
|
-
y?: number | null;
|
|
2375
|
-
zIndex?: number | null;
|
|
2376
|
-
width?: number | null;
|
|
2377
|
-
height?: number | null;
|
|
2378
|
-
rotationAngle?: number | null;
|
|
2379
|
-
shapeType?: ShapeTypeEnumType;
|
|
2380
|
-
fontSize?: number | null;
|
|
2381
|
-
cornerRadius?: number | null;
|
|
2382
|
-
seatSpacing?: number | null;
|
|
2383
|
-
hideLabel?: boolean | null;
|
|
2384
|
-
labelPosition?: Position;
|
|
2385
|
-
seatLayout?: number[];
|
|
2386
|
-
emptyTopSeatSpaces?: number | null;
|
|
2387
|
-
/** needs research */
|
|
2388
|
-
text?: string | null;
|
|
2389
|
-
/** #F0F0F0 */
|
|
2390
|
-
color?: string | null;
|
|
2391
|
-
/** #F0F0F0 */
|
|
2392
|
-
fillColor?: string | null;
|
|
2393
|
-
/** #F0F0F0 */
|
|
2394
|
-
strokeColor?: string | null;
|
|
2395
|
-
/** px */
|
|
2396
|
-
strokeWidth?: number | null;
|
|
2397
|
-
opacity?: number | null;
|
|
2398
|
-
icon?: Icon;
|
|
2399
|
-
image?: Image;
|
|
2400
|
-
seatNumbering?: Numbering;
|
|
2401
|
-
}
|
|
2402
|
-
declare enum ShapeTypeEnumType {
|
|
2403
|
-
UNKNOWN_TYPE = "UNKNOWN_TYPE",
|
|
2404
|
-
TEXT = "TEXT",
|
|
2405
|
-
RECTANGLE = "RECTANGLE",
|
|
2406
|
-
ELLIPSE = "ELLIPSE",
|
|
2407
|
-
LINE = "LINE",
|
|
2408
|
-
ICON = "ICON",
|
|
2409
|
-
IMAGE = "IMAGE"
|
|
2410
|
-
}
|
|
2411
|
-
declare enum Position {
|
|
2412
|
-
UNKNOWN_POSITION = "UNKNOWN_POSITION",
|
|
2413
|
-
LEFT = "LEFT",
|
|
2414
|
-
RIGHT = "RIGHT",
|
|
2415
|
-
BOTH = "BOTH",
|
|
2416
|
-
NONE = "NONE"
|
|
2417
|
-
}
|
|
2418
|
-
declare enum Icon {
|
|
2419
|
-
UNKNOWN_ICON = "UNKNOWN_ICON",
|
|
2420
|
-
ENTER = "ENTER",
|
|
2421
|
-
EXIT = "EXIT",
|
|
2422
|
-
DRINKS = "DRINKS",
|
|
2423
|
-
WC = "WC",
|
|
2424
|
-
WC_MEN = "WC_MEN",
|
|
2425
|
-
WC_WOMEN = "WC_WOMEN",
|
|
2426
|
-
FOOD = "FOOD",
|
|
2427
|
-
STAIRS = "STAIRS",
|
|
2428
|
-
ELEVATOR = "ELEVATOR",
|
|
2429
|
-
SMOKING = "SMOKING",
|
|
2430
|
-
CHECKROOM = "CHECKROOM",
|
|
2431
|
-
STAGE = "STAGE"
|
|
2432
|
-
}
|
|
2433
|
-
interface Image {
|
|
2434
|
-
/** WixMedia image ID. */
|
|
2435
|
-
_id?: string;
|
|
2436
|
-
/**
|
|
2437
|
-
* Original image height.
|
|
2438
|
-
* @readonly
|
|
2439
|
-
*/
|
|
2440
|
-
height?: number;
|
|
2441
|
-
/**
|
|
2442
|
-
* Original image width.
|
|
2443
|
-
* @readonly
|
|
2444
|
-
*/
|
|
2445
|
-
width?: number;
|
|
2446
|
-
/**
|
|
2447
|
-
* WixMedia image URI.
|
|
2448
|
-
* @deprecated
|
|
2449
|
-
*/
|
|
2450
|
-
uri?: string | null;
|
|
2451
|
-
}
|
|
2452
|
-
declare enum Numbering {
|
|
2453
|
-
UNKNOWN_NUMBERING = "UNKNOWN_NUMBERING",
|
|
2454
|
-
NUMERIC = "NUMERIC",
|
|
2455
|
-
ODD_EVEN = "ODD_EVEN",
|
|
2456
|
-
ALPHABETICAL = "ALPHABETICAL"
|
|
2457
|
-
}
|
|
2458
|
-
interface MultiRowProperties {
|
|
2459
|
-
/** Individual rows of the multi row element */
|
|
2460
|
-
rows?: RowElement[];
|
|
2461
|
-
/** Meta data for vertical labeling */
|
|
2462
|
-
verticalSequencing?: VerticalSequencing;
|
|
2463
|
-
/** Row spacing */
|
|
2464
|
-
rowSpacing?: number | null;
|
|
2465
|
-
}
|
|
2466
|
-
interface RowElement {
|
|
2467
|
-
/** Unique row id */
|
|
2468
|
-
_id?: number;
|
|
2469
|
-
/** User friendly title/label of the row */
|
|
2470
|
-
title?: string | null;
|
|
2471
|
-
/** Row capacity */
|
|
2472
|
-
capacity?: number | null;
|
|
2473
|
-
/** Assigned to a category */
|
|
2474
|
-
categoryId?: number | null;
|
|
2475
|
-
/** A place numbering meta data for a single row */
|
|
2476
|
-
sequencing?: Sequencing;
|
|
2477
|
-
/** Row UI settings */
|
|
2478
|
-
uiProperties?: RowElementUiProperties;
|
|
2479
|
-
}
|
|
2480
|
-
interface RowElementUiProperties {
|
|
2481
|
-
/** Relative x position to the parent element */
|
|
2482
|
-
relativeX?: number | null;
|
|
2483
|
-
/** Width of the row */
|
|
2484
|
-
width?: number | null;
|
|
2485
|
-
/** Seat spacing */
|
|
2486
|
-
seatSpacing?: number | null;
|
|
2487
|
-
/** Label position */
|
|
2488
|
-
labelPosition?: Position;
|
|
2489
|
-
/** Seat numbering */
|
|
2490
|
-
seatNumbering?: Numbering;
|
|
2491
|
-
}
|
|
2492
|
-
interface VerticalSequencing {
|
|
2493
|
-
/** First seq element */
|
|
2494
|
-
startAt?: string;
|
|
2495
|
-
/** Row numbering */
|
|
2496
|
-
rowNumbering?: Numbering;
|
|
2497
|
-
/** If true - direction bottom to top. Otherwise top to bottom. */
|
|
2498
|
-
reverseOrder?: boolean | null;
|
|
2499
|
-
}
|
|
2500
|
-
interface Category {
|
|
2501
|
-
/** Local category id within the seating plan */
|
|
2502
|
-
_id?: number;
|
|
2503
|
-
/**
|
|
2504
|
-
* A client defined external id for cross referencing.
|
|
2505
|
-
* Can reference external entities.
|
|
2506
|
-
* Format: "{entity_fqdn}:{entity_id}"
|
|
2507
|
-
*/
|
|
2508
|
-
externalId?: string | null;
|
|
2509
|
-
/** Category label */
|
|
2510
|
-
title?: string;
|
|
2511
|
-
/**
|
|
2512
|
-
* Client configuration object
|
|
2513
|
-
* @readonly
|
|
2514
|
-
*/
|
|
2515
|
-
config?: Record<string, any> | null;
|
|
2516
|
-
/**
|
|
2517
|
-
* Total capacity
|
|
2518
|
-
* @readonly
|
|
2519
|
-
*/
|
|
2520
|
-
totalCapacity?: number | null;
|
|
2521
|
-
/**
|
|
2522
|
-
* Possible places
|
|
2523
|
-
* @readonly
|
|
2524
|
-
*/
|
|
2525
|
-
places?: Place[];
|
|
2526
|
-
}
|
|
2527
|
-
interface ExtendedFields {
|
|
2528
|
-
/**
|
|
2529
|
-
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
2530
|
-
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
2531
|
-
*
|
|
2532
|
-
* You can only access fields for which you have the appropriate permissions.
|
|
2533
|
-
*
|
|
2534
|
-
* Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
|
|
2535
|
-
*/
|
|
2536
|
-
namespaces?: Record<string, Record<string, any>>;
|
|
2537
|
-
}
|
|
2538
|
-
interface SeatingPlanUiProperties {
|
|
2539
|
-
/** #F0F0F0 */
|
|
2540
|
-
backgroundColor?: string | null;
|
|
2541
|
-
backgroundOpacity?: number | null;
|
|
2542
|
-
}
|
|
2543
|
-
interface ElementGroup {
|
|
2544
|
-
/** Unique element group id */
|
|
2545
|
-
_id?: number;
|
|
2546
|
-
/** Parent group id */
|
|
2547
|
-
parentElementGroupId?: number | null;
|
|
2548
|
-
/** Element group UI settings */
|
|
2549
|
-
uiProperties?: ElementGroupUiProperties;
|
|
2550
|
-
}
|
|
2551
|
-
interface ElementGroupUiProperties {
|
|
2552
|
-
/** x position of the group */
|
|
2553
|
-
x?: number | null;
|
|
2554
|
-
/** y position of the group */
|
|
2555
|
-
y?: number | null;
|
|
2556
|
-
/** width of the group */
|
|
2557
|
-
width?: number | null;
|
|
2558
|
-
/** height of the group */
|
|
2559
|
-
height?: number | null;
|
|
2560
|
-
/** rotation angle of the group */
|
|
2561
|
-
rotationAngle?: number | null;
|
|
2562
|
-
}
|
|
2563
|
-
interface SeatingReservationsSummary {
|
|
2564
|
-
places?: PlaceReservationDetails[];
|
|
2565
|
-
}
|
|
2566
|
-
interface PlaceReservationDetails {
|
|
2567
|
-
placeId?: string;
|
|
2568
|
-
occupied?: number;
|
|
2569
|
-
}
|
|
2570
|
-
interface GetSeatingReservationSummaryRequest {
|
|
2571
|
-
/** Seating plan external id */
|
|
2572
|
-
externalId: string;
|
|
2573
|
-
}
|
|
2574
|
-
interface GetSeatingReservationSummaryResponse {
|
|
2575
|
-
plan?: SeatingPlan;
|
|
2576
|
-
places?: PlaceReservationDetails[];
|
|
2577
|
-
}
|
|
2578
|
-
interface PlaceReservationNonNullableFields {
|
|
2579
|
-
_id: string;
|
|
2580
|
-
}
|
|
2581
|
-
interface SeatingReservationNonNullableFields {
|
|
2582
|
-
reservedPlaces: PlaceReservationNonNullableFields[];
|
|
2583
|
-
}
|
|
2584
|
-
interface CreateSeatingReservationResponseNonNullableFields {
|
|
2585
|
-
reservation?: SeatingReservationNonNullableFields;
|
|
2586
|
-
}
|
|
2587
|
-
interface GetReservationResponseNonNullableFields {
|
|
2588
|
-
reservation?: SeatingReservationNonNullableFields;
|
|
2589
|
-
}
|
|
2590
|
-
interface QuerySeatingReservationResponseNonNullableFields {
|
|
2591
|
-
reservations: SeatingReservationNonNullableFields[];
|
|
2592
|
-
}
|
|
2593
|
-
interface DeleteSeatingReservationResponseNonNullableFields {
|
|
2594
|
-
reservation?: SeatingReservationNonNullableFields;
|
|
2595
|
-
}
|
|
2596
|
-
interface SequencingNonNullableFields {
|
|
2597
|
-
startAt: string;
|
|
2598
|
-
labels: string[];
|
|
2599
|
-
}
|
|
2600
|
-
interface PlaceNonNullableFields {
|
|
2601
|
-
index: number;
|
|
2602
|
-
label: string;
|
|
2603
|
-
elementType: Type;
|
|
2604
|
-
type: PlaceTypeEnumType;
|
|
2605
|
-
}
|
|
2606
|
-
interface ReservationOptionsNonNullableFields {
|
|
2607
|
-
reserveWholeElement: boolean;
|
|
2608
|
-
}
|
|
2609
|
-
interface ImageNonNullableFields {
|
|
2610
|
-
_id: string;
|
|
2611
|
-
height: number;
|
|
2612
|
-
width: number;
|
|
2613
|
-
}
|
|
2614
|
-
interface ElementUiPropertiesNonNullableFields {
|
|
2615
|
-
shapeType: ShapeTypeEnumType;
|
|
2616
|
-
labelPosition: Position;
|
|
2617
|
-
seatLayout: number[];
|
|
2618
|
-
icon: Icon;
|
|
2619
|
-
image?: ImageNonNullableFields;
|
|
2620
|
-
seatNumbering: Numbering;
|
|
2621
|
-
}
|
|
2622
|
-
interface RowElementUiPropertiesNonNullableFields {
|
|
2623
|
-
labelPosition: Position;
|
|
2624
|
-
seatNumbering: Numbering;
|
|
2625
|
-
}
|
|
2626
|
-
interface RowElementNonNullableFields {
|
|
2627
|
-
_id: number;
|
|
2628
|
-
sequencing?: SequencingNonNullableFields;
|
|
2629
|
-
uiProperties?: RowElementUiPropertiesNonNullableFields;
|
|
2630
|
-
}
|
|
2631
|
-
interface VerticalSequencingNonNullableFields {
|
|
2632
|
-
startAt: string;
|
|
2633
|
-
rowNumbering: Numbering;
|
|
2634
|
-
}
|
|
2635
|
-
interface MultiRowPropertiesNonNullableFields {
|
|
2636
|
-
rows: RowElementNonNullableFields[];
|
|
2637
|
-
verticalSequencing?: VerticalSequencingNonNullableFields;
|
|
2638
|
-
}
|
|
2639
|
-
interface ElementNonNullableFields {
|
|
2640
|
-
_id: number;
|
|
2641
|
-
type: Type;
|
|
2642
|
-
sequencing?: SequencingNonNullableFields;
|
|
2643
|
-
overrides: PlaceNonNullableFields[];
|
|
2644
|
-
places: PlaceNonNullableFields[];
|
|
2645
|
-
reservationOptions?: ReservationOptionsNonNullableFields;
|
|
2646
|
-
uiProperties?: ElementUiPropertiesNonNullableFields;
|
|
2647
|
-
multiRowProperties?: MultiRowPropertiesNonNullableFields;
|
|
2648
|
-
}
|
|
2649
|
-
interface SectionNonNullableFields {
|
|
2650
|
-
_id: number;
|
|
2651
|
-
elements: ElementNonNullableFields[];
|
|
2652
|
-
default: boolean;
|
|
2653
|
-
}
|
|
2654
|
-
interface CategoryNonNullableFields {
|
|
2655
|
-
_id: number;
|
|
2656
|
-
title: string;
|
|
2657
|
-
places: PlaceNonNullableFields[];
|
|
2658
|
-
}
|
|
2659
|
-
interface ElementGroupNonNullableFields {
|
|
2660
|
-
_id: number;
|
|
2661
|
-
}
|
|
2662
|
-
interface SeatingPlanNonNullableFields {
|
|
2663
|
-
sections: SectionNonNullableFields[];
|
|
2664
|
-
categories: CategoryNonNullableFields[];
|
|
2665
|
-
uncategorizedPlaces: PlaceNonNullableFields[];
|
|
2666
|
-
elementGroups: ElementGroupNonNullableFields[];
|
|
2667
|
-
}
|
|
2668
|
-
interface PlaceReservationDetailsNonNullableFields {
|
|
2669
|
-
placeId: string;
|
|
2670
|
-
occupied: number;
|
|
2671
|
-
}
|
|
2672
|
-
interface SeatingReservationsSummaryNonNullableFields {
|
|
2673
|
-
places: PlaceReservationDetailsNonNullableFields[];
|
|
2674
|
-
}
|
|
2675
|
-
interface GetSeatingReservationsSummaryResponseNonNullableFields {
|
|
2676
|
-
plan?: SeatingPlanNonNullableFields;
|
|
2677
|
-
seatingReservationsSummary?: SeatingReservationsSummaryNonNullableFields;
|
|
2678
|
-
}
|
|
2679
|
-
interface GetSeatingReservationSummaryResponseNonNullableFields {
|
|
2680
|
-
plan?: SeatingPlanNonNullableFields;
|
|
2681
|
-
places: PlaceReservationDetailsNonNullableFields[];
|
|
2682
|
-
}
|
|
2683
|
-
|
|
2684
|
-
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
2685
|
-
getUrl: (context: any) => string;
|
|
2686
|
-
httpMethod: K;
|
|
2687
|
-
path: string;
|
|
2688
|
-
pathParams: M;
|
|
2689
|
-
__requestType: T;
|
|
2690
|
-
__originalRequestType: S;
|
|
2691
|
-
__responseType: Q;
|
|
2692
|
-
__originalResponseType: R;
|
|
2693
|
-
};
|
|
2694
|
-
declare function createSeatingReservation(): __PublicMethodMetaInfo<'POST', {}, CreateSeatingReservationRequest, CreateSeatingReservationRequest$1, CreateSeatingReservationResponse & CreateSeatingReservationResponseNonNullableFields, CreateSeatingReservationResponse$1 & CreateSeatingReservationResponseNonNullableFields$1>;
|
|
2695
|
-
declare function getReservation(): __PublicMethodMetaInfo<'GET', {
|
|
2696
|
-
id: string;
|
|
2697
|
-
}, GetReservationRequest, GetReservationRequest$1, GetReservationResponse & GetReservationResponseNonNullableFields, GetReservationResponse$1 & GetReservationResponseNonNullableFields$1>;
|
|
2698
|
-
declare function querySeatingReservation(): __PublicMethodMetaInfo<'POST', {}, QuerySeatingReservationRequest, QuerySeatingReservationRequest$1, QuerySeatingReservationResponse & QuerySeatingReservationResponseNonNullableFields, QuerySeatingReservationResponse$1 & QuerySeatingReservationResponseNonNullableFields$1>;
|
|
2699
|
-
declare function deleteSeatingReservation(): __PublicMethodMetaInfo<'DELETE', {
|
|
2700
|
-
id: string;
|
|
2701
|
-
}, DeleteSeatingReservationRequest, DeleteSeatingReservationRequest$1, DeleteSeatingReservationResponse & DeleteSeatingReservationResponseNonNullableFields, DeleteSeatingReservationResponse$1 & DeleteSeatingReservationResponseNonNullableFields$1>;
|
|
2702
|
-
declare function getSeatingCategoriesSummary(): __PublicMethodMetaInfo<'GET', {}, GetSeatingCategoriesSummaryRequest, GetSeatingCategoriesSummaryRequest$1, GetSeatingCategoriesSummaryResponse, GetSeatingCategoriesSummaryResponse$1>;
|
|
2703
|
-
declare function getSeatingCategorySummary(): __PublicMethodMetaInfo<'GET', {}, GetSeatingCategorySummaryRequest, GetSeatingCategorySummaryRequest$1, GetSeatingCategorySummaryResponse, GetSeatingCategorySummaryResponse$1>;
|
|
2704
|
-
declare function getSeatingReservationsSummary(): __PublicMethodMetaInfo<'POST', {}, GetSeatingReservationsSummaryRequest, GetSeatingReservationsSummaryRequest$1, GetSeatingReservationsSummaryResponse & GetSeatingReservationsSummaryResponseNonNullableFields, GetSeatingReservationsSummaryResponse$1 & GetSeatingReservationsSummaryResponseNonNullableFields$1>;
|
|
2705
|
-
declare function getSeatingReservationSummary(): __PublicMethodMetaInfo<'GET', {
|
|
2706
|
-
externalId: string;
|
|
2707
|
-
}, GetSeatingReservationSummaryRequest, GetSeatingReservationSummaryRequest$1, GetSeatingReservationSummaryResponse & GetSeatingReservationSummaryResponseNonNullableFields, GetSeatingReservationSummaryResponse$1 & GetSeatingReservationSummaryResponseNonNullableFields$1>;
|
|
2708
|
-
|
|
2709
|
-
type meta___PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = __PublicMethodMetaInfo<K, M, T, S, Q, R>;
|
|
2710
|
-
declare const meta_createSeatingReservation: typeof createSeatingReservation;
|
|
2711
|
-
declare const meta_deleteSeatingReservation: typeof deleteSeatingReservation;
|
|
2712
|
-
declare const meta_getReservation: typeof getReservation;
|
|
2713
|
-
declare const meta_getSeatingCategoriesSummary: typeof getSeatingCategoriesSummary;
|
|
2714
|
-
declare const meta_getSeatingCategorySummary: typeof getSeatingCategorySummary;
|
|
2715
|
-
declare const meta_getSeatingReservationSummary: typeof getSeatingReservationSummary;
|
|
2716
|
-
declare const meta_getSeatingReservationsSummary: typeof getSeatingReservationsSummary;
|
|
2717
|
-
declare const meta_querySeatingReservation: typeof querySeatingReservation;
|
|
2718
|
-
declare namespace meta {
|
|
2719
|
-
export { type meta___PublicMethodMetaInfo as __PublicMethodMetaInfo, meta_createSeatingReservation as createSeatingReservation, meta_deleteSeatingReservation as deleteSeatingReservation, meta_getReservation as getReservation, meta_getSeatingCategoriesSummary as getSeatingCategoriesSummary, meta_getSeatingCategorySummary as getSeatingCategorySummary, meta_getSeatingReservationSummary as getSeatingReservationSummary, meta_getSeatingReservationsSummary as getSeatingReservationsSummary, meta_querySeatingReservation as querySeatingReservation };
|
|
2720
|
-
}
|
|
2721
|
-
|
|
2722
|
-
export { meta$1 as seatingPlan, meta as seatingReservation };
|