@wix/seatings 1.0.9 → 1.0.11
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/cjs/index.d.ts +3 -2
- package/build/cjs/index.js +4 -2
- package/build/cjs/index.js.map +1 -1
- package/build/es/index.d.ts +3 -2
- package/build/es/index.js +3 -2
- package/build/es/index.js.map +1 -1
- package/package.json +7 -6
- package/type-bundles/context.bundle.d.ts +2242 -22
- package/type-bundles/index.bundle.d.ts +454 -714
- package/type-bundles/meta.bundle.d.ts +412 -1118
|
@@ -42,23 +42,1103 @@ declare global {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
+
interface SeatingPlan$1 {
|
|
46
|
+
/**
|
|
47
|
+
* Auto generated unique plan id
|
|
48
|
+
* @readonly
|
|
49
|
+
*/
|
|
50
|
+
_id?: string | null;
|
|
51
|
+
/**
|
|
52
|
+
* A client defined external id for cross referencing.
|
|
53
|
+
* Can reference external entities.
|
|
54
|
+
* Format: "{fqdn}:{entity guid}"
|
|
55
|
+
*/
|
|
56
|
+
externalId?: string | null;
|
|
57
|
+
/** Human friendly plan title */
|
|
58
|
+
title?: string | null;
|
|
59
|
+
/** Sections of the plan. Seating plan is divided in high level sections. */
|
|
60
|
+
sections?: Section$1[];
|
|
61
|
+
/** Categories for plan element grouping. */
|
|
62
|
+
categories?: Category$1[];
|
|
63
|
+
/**
|
|
64
|
+
* Seating plan created timestamp.
|
|
65
|
+
* @readonly
|
|
66
|
+
*/
|
|
67
|
+
_createdDate?: Date;
|
|
68
|
+
/**
|
|
69
|
+
* Seating plan updated timestamp.
|
|
70
|
+
* @readonly
|
|
71
|
+
*/
|
|
72
|
+
_updatedDate?: Date;
|
|
73
|
+
/**
|
|
74
|
+
* Total capacity
|
|
75
|
+
* @readonly
|
|
76
|
+
*/
|
|
77
|
+
totalCapacity?: number | null;
|
|
78
|
+
/**
|
|
79
|
+
* Total categories
|
|
80
|
+
* @readonly
|
|
81
|
+
*/
|
|
82
|
+
totalCategories?: number | null;
|
|
83
|
+
/**
|
|
84
|
+
* Places not assigned to categories
|
|
85
|
+
* @readonly
|
|
86
|
+
*/
|
|
87
|
+
uncategorizedPlaces?: Place$1[];
|
|
88
|
+
/**
|
|
89
|
+
* A version of the seating plan
|
|
90
|
+
* @readonly
|
|
91
|
+
*/
|
|
92
|
+
version?: string | null;
|
|
93
|
+
/** Data extensions */
|
|
94
|
+
extendedFields?: ExtendedFields$1;
|
|
95
|
+
/** Seating Plan UI settings */
|
|
96
|
+
uiProperties?: SeatingPlanUiProperties$1;
|
|
97
|
+
}
|
|
98
|
+
interface Section$1 {
|
|
99
|
+
/** Unique section id */
|
|
100
|
+
_id?: number;
|
|
101
|
+
/** Human readable section title */
|
|
102
|
+
title?: string | null;
|
|
103
|
+
/**
|
|
104
|
+
* Client configuration object
|
|
105
|
+
* @readonly
|
|
106
|
+
*/
|
|
107
|
+
config?: Record<string, any> | null;
|
|
108
|
+
/** Elements of the section. */
|
|
109
|
+
elements?: Element$1[];
|
|
110
|
+
/**
|
|
111
|
+
* Total capacity
|
|
112
|
+
* @readonly
|
|
113
|
+
*/
|
|
114
|
+
totalCapacity?: number | null;
|
|
115
|
+
/**
|
|
116
|
+
* Is default section
|
|
117
|
+
* @readonly
|
|
118
|
+
*/
|
|
119
|
+
default?: boolean;
|
|
120
|
+
}
|
|
121
|
+
interface Element$1 {
|
|
122
|
+
/** Unique element id */
|
|
123
|
+
_id?: number;
|
|
124
|
+
/** User friendly title/label of the element. */
|
|
125
|
+
title?: string | null;
|
|
126
|
+
/** Element type */
|
|
127
|
+
type?: Type$1;
|
|
128
|
+
/** Capacity. None for Shape type Element. */
|
|
129
|
+
capacity?: number | null;
|
|
130
|
+
/** Assigned to a category */
|
|
131
|
+
categoryId?: number | null;
|
|
132
|
+
/** A place numbering meta data */
|
|
133
|
+
sequencing?: Sequencing$1;
|
|
134
|
+
/**
|
|
135
|
+
* Place override (by seq_id)
|
|
136
|
+
* @deprecated
|
|
137
|
+
*/
|
|
138
|
+
overrides?: Place$1[];
|
|
139
|
+
/**
|
|
140
|
+
* Final place sequence with overrides
|
|
141
|
+
* @readonly
|
|
142
|
+
*/
|
|
143
|
+
places?: Place$1[];
|
|
144
|
+
/** Element reservation options */
|
|
145
|
+
reservationOptions?: ReservationOptions$1;
|
|
146
|
+
/** Element UI settings */
|
|
147
|
+
uiProperties?: ElementUiProperties$1;
|
|
148
|
+
}
|
|
149
|
+
declare enum Type$1 {
|
|
150
|
+
AREA = "AREA",
|
|
151
|
+
ROW = "ROW",
|
|
152
|
+
MULTI_ROW = "MULTI_ROW",
|
|
153
|
+
TABLE = "TABLE",
|
|
154
|
+
ROUND_TABLE = "ROUND_TABLE",
|
|
155
|
+
SHAPE = "SHAPE"
|
|
156
|
+
}
|
|
157
|
+
interface Sequencing$1 {
|
|
158
|
+
/** First seq element */
|
|
159
|
+
startAt?: string;
|
|
160
|
+
/** Finite generated seq of labels */
|
|
161
|
+
labels?: string[];
|
|
162
|
+
/** If true - direction right to left. Otherwise left to right. */
|
|
163
|
+
reverseOrder?: boolean | null;
|
|
164
|
+
}
|
|
165
|
+
interface Place$1 {
|
|
166
|
+
/** Local id of the place in the sequence */
|
|
167
|
+
index?: number;
|
|
168
|
+
/**
|
|
169
|
+
* Generated composite unique id in the seating plan.
|
|
170
|
+
* @readonly
|
|
171
|
+
*/
|
|
172
|
+
_id?: string | null;
|
|
173
|
+
/** Unique label of the place */
|
|
174
|
+
label?: string;
|
|
175
|
+
/**
|
|
176
|
+
* Max capacity per place
|
|
177
|
+
* @readonly
|
|
178
|
+
*/
|
|
179
|
+
capacity?: number | null;
|
|
180
|
+
/**
|
|
181
|
+
* Type of the parent element
|
|
182
|
+
* @readonly
|
|
183
|
+
*/
|
|
184
|
+
elementType?: Type$1;
|
|
185
|
+
/**
|
|
186
|
+
* Assigned category id
|
|
187
|
+
* @readonly
|
|
188
|
+
*/
|
|
189
|
+
categoryId?: number | null;
|
|
190
|
+
/** Place type */
|
|
191
|
+
type?: PlaceTypeEnumType$1;
|
|
192
|
+
}
|
|
193
|
+
declare enum PlaceTypeEnumType$1 {
|
|
194
|
+
UNKNOWN_PROPERTY = "UNKNOWN_PROPERTY",
|
|
195
|
+
STANDARD = "STANDARD",
|
|
196
|
+
WHEELCHAIR = "WHEELCHAIR",
|
|
197
|
+
ACCESSIBLE = "ACCESSIBLE",
|
|
198
|
+
COMPANION = "COMPANION",
|
|
199
|
+
OBSTRUCTED = "OBSTRUCTED",
|
|
200
|
+
DISCOUNT = "DISCOUNT"
|
|
201
|
+
}
|
|
202
|
+
interface ReservationOptions$1 {
|
|
203
|
+
/** Indicates whether the entire element must be reserved */
|
|
204
|
+
reserveWholeElement?: boolean;
|
|
205
|
+
}
|
|
206
|
+
interface ElementUiProperties$1 {
|
|
207
|
+
x?: number | null;
|
|
208
|
+
y?: number | null;
|
|
209
|
+
zIndex?: number | null;
|
|
210
|
+
width?: number | null;
|
|
211
|
+
height?: number | null;
|
|
212
|
+
rotationAngle?: number | null;
|
|
213
|
+
shapeType?: ShapeTypeEnumType$1;
|
|
214
|
+
fontSize?: number | null;
|
|
215
|
+
cornerRadius?: number | null;
|
|
216
|
+
seatSpacing?: number | null;
|
|
217
|
+
hideLabel?: boolean | null;
|
|
218
|
+
labelPosition?: Position$1;
|
|
219
|
+
seatLayout?: number[];
|
|
220
|
+
emptyTopSeatSpaces?: number | null;
|
|
221
|
+
/** needs research */
|
|
222
|
+
text?: string | null;
|
|
223
|
+
/** #F0F0F0 */
|
|
224
|
+
color?: string | null;
|
|
225
|
+
/** #F0F0F0 */
|
|
226
|
+
fillColor?: string | null;
|
|
227
|
+
/** #F0F0F0 */
|
|
228
|
+
strokeColor?: string | null;
|
|
229
|
+
/** px */
|
|
230
|
+
strokeWidth?: number | null;
|
|
231
|
+
opacity?: number | null;
|
|
232
|
+
icon?: Icon$1;
|
|
233
|
+
image?: Image$1;
|
|
234
|
+
seatNumbering?: Numbering$1;
|
|
235
|
+
}
|
|
236
|
+
declare enum ShapeTypeEnumType$1 {
|
|
237
|
+
UNKNOWN_TYPE = "UNKNOWN_TYPE",
|
|
238
|
+
TEXT = "TEXT",
|
|
239
|
+
RECTANGLE = "RECTANGLE",
|
|
240
|
+
ELLIPSE = "ELLIPSE",
|
|
241
|
+
LINE = "LINE",
|
|
242
|
+
ICON = "ICON",
|
|
243
|
+
IMAGE = "IMAGE"
|
|
244
|
+
}
|
|
245
|
+
declare enum Position$1 {
|
|
246
|
+
UNKNOWN_POSITION = "UNKNOWN_POSITION",
|
|
247
|
+
LEFT = "LEFT",
|
|
248
|
+
RIGHT = "RIGHT",
|
|
249
|
+
BOTH = "BOTH",
|
|
250
|
+
NONE = "NONE"
|
|
251
|
+
}
|
|
252
|
+
declare enum Icon$1 {
|
|
253
|
+
UNKNOWN_ICON = "UNKNOWN_ICON",
|
|
254
|
+
ENTER = "ENTER",
|
|
255
|
+
EXIT = "EXIT",
|
|
256
|
+
DRINKS = "DRINKS",
|
|
257
|
+
WC = "WC",
|
|
258
|
+
WC_MEN = "WC_MEN",
|
|
259
|
+
WC_WOMEN = "WC_WOMEN",
|
|
260
|
+
FOOD = "FOOD",
|
|
261
|
+
STAIRS = "STAIRS",
|
|
262
|
+
ELEVATOR = "ELEVATOR",
|
|
263
|
+
SMOKING = "SMOKING",
|
|
264
|
+
CHECKROOM = "CHECKROOM",
|
|
265
|
+
STAGE = "STAGE"
|
|
266
|
+
}
|
|
267
|
+
interface Image$1 {
|
|
268
|
+
/** WixMedia image ID. */
|
|
269
|
+
_id?: string;
|
|
270
|
+
/**
|
|
271
|
+
* Original image height.
|
|
272
|
+
* @readonly
|
|
273
|
+
*/
|
|
274
|
+
height?: number;
|
|
275
|
+
/**
|
|
276
|
+
* Original image width.
|
|
277
|
+
* @readonly
|
|
278
|
+
*/
|
|
279
|
+
width?: number;
|
|
280
|
+
/**
|
|
281
|
+
* WixMedia image URI.
|
|
282
|
+
* @deprecated
|
|
283
|
+
*/
|
|
284
|
+
uri?: string | null;
|
|
285
|
+
}
|
|
286
|
+
declare enum Numbering$1 {
|
|
287
|
+
UNKNOWN_NUMBERING = "UNKNOWN_NUMBERING",
|
|
288
|
+
NUMERIC = "NUMERIC",
|
|
289
|
+
ODD_EVEN = "ODD_EVEN",
|
|
290
|
+
ALPHABETICAL = "ALPHABETICAL"
|
|
291
|
+
}
|
|
292
|
+
interface MultiRowProperties$1 {
|
|
293
|
+
/** Individual rows of the multi row element */
|
|
294
|
+
rows?: RowElement$1[];
|
|
295
|
+
/** Meta data for vertical labeling */
|
|
296
|
+
verticalSequencing?: VerticalSequencing$1;
|
|
297
|
+
/** Row spacing */
|
|
298
|
+
rowSpacing?: number | null;
|
|
299
|
+
}
|
|
300
|
+
interface RowElement$1 {
|
|
301
|
+
/** Unique row id */
|
|
302
|
+
_id?: number;
|
|
303
|
+
/** User friendly title/label of the row */
|
|
304
|
+
title?: string | null;
|
|
305
|
+
/** Row capacity */
|
|
306
|
+
capacity?: number | null;
|
|
307
|
+
/** Assigned to a category */
|
|
308
|
+
categoryId?: number | null;
|
|
309
|
+
/** A place numbering meta data for a single row */
|
|
310
|
+
sequencing?: Sequencing$1;
|
|
311
|
+
/** Row UI settings */
|
|
312
|
+
uiProperties?: RowElementUiProperties$1;
|
|
313
|
+
}
|
|
314
|
+
interface RowElementUiProperties$1 {
|
|
315
|
+
/** Relative x position to the parent element */
|
|
316
|
+
relativeX?: number | null;
|
|
317
|
+
/** Seat spacing */
|
|
318
|
+
seatSpacing?: number | null;
|
|
319
|
+
/** Label position */
|
|
320
|
+
labelPosition?: Position$1;
|
|
321
|
+
/** Seat numbering */
|
|
322
|
+
seatNumbering?: Numbering$1;
|
|
323
|
+
}
|
|
324
|
+
interface VerticalSequencing$1 {
|
|
325
|
+
/** First seq element */
|
|
326
|
+
startAt?: string;
|
|
327
|
+
/** Row numbering */
|
|
328
|
+
rowNumbering?: Numbering$1;
|
|
329
|
+
/** If true - direction bottom to top. Otherwise top to bottom. */
|
|
330
|
+
reverseOrder?: boolean | null;
|
|
331
|
+
}
|
|
332
|
+
interface Category$1 {
|
|
333
|
+
/** Local category id within the seating plan */
|
|
334
|
+
_id?: number;
|
|
335
|
+
/**
|
|
336
|
+
* A client defined external id for cross referencing.
|
|
337
|
+
* Can reference external entities.
|
|
338
|
+
* Format: "{entity_fqdn}:{entity_id}"
|
|
339
|
+
*/
|
|
340
|
+
externalId?: string | null;
|
|
341
|
+
/** Category label */
|
|
342
|
+
title?: string;
|
|
343
|
+
/**
|
|
344
|
+
* Client configuration object
|
|
345
|
+
* @readonly
|
|
346
|
+
*/
|
|
347
|
+
config?: Record<string, any> | null;
|
|
348
|
+
/**
|
|
349
|
+
* Total capacity
|
|
350
|
+
* @readonly
|
|
351
|
+
*/
|
|
352
|
+
totalCapacity?: number | null;
|
|
353
|
+
/**
|
|
354
|
+
* Possible places
|
|
355
|
+
* @readonly
|
|
356
|
+
*/
|
|
357
|
+
places?: Place$1[];
|
|
358
|
+
}
|
|
359
|
+
interface ExtendedFields$1 {
|
|
360
|
+
/**
|
|
361
|
+
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
362
|
+
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
363
|
+
*
|
|
364
|
+
* You can only access fields for which you have the appropriate permissions.
|
|
365
|
+
*
|
|
366
|
+
* Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
|
|
367
|
+
*/
|
|
368
|
+
namespaces?: Record<string, Record<string, any>>;
|
|
369
|
+
}
|
|
370
|
+
interface SeatingPlanUiProperties$1 {
|
|
371
|
+
/** #F0F0F0 */
|
|
372
|
+
backgroundColor?: string | null;
|
|
373
|
+
backgroundOpacity?: number | null;
|
|
374
|
+
}
|
|
375
|
+
interface ElementGroup$1 {
|
|
376
|
+
/** Unique element group id */
|
|
377
|
+
_id?: number;
|
|
378
|
+
/** Parent group id */
|
|
379
|
+
parentElementGroupId?: number | null;
|
|
380
|
+
/** Element group UI settings */
|
|
381
|
+
uiProperties?: ElementGroupUiProperties$1;
|
|
382
|
+
}
|
|
383
|
+
interface ElementGroupUiProperties$1 {
|
|
384
|
+
/** x position of the group */
|
|
385
|
+
x?: number | null;
|
|
386
|
+
/** y position of the group */
|
|
387
|
+
y?: number | null;
|
|
388
|
+
/** width of the group */
|
|
389
|
+
width?: number | null;
|
|
390
|
+
/** height of the group */
|
|
391
|
+
height?: number | null;
|
|
392
|
+
/** rotation angle of the group */
|
|
393
|
+
rotationAngle?: number | null;
|
|
394
|
+
}
|
|
395
|
+
interface CreateSeatingPlanRequest {
|
|
396
|
+
/** A plan to be created */
|
|
397
|
+
plan: SeatingPlan$1;
|
|
398
|
+
}
|
|
399
|
+
interface CreateSeatingPlanResponse {
|
|
400
|
+
/** The created plan */
|
|
401
|
+
plan?: SeatingPlan$1;
|
|
402
|
+
}
|
|
403
|
+
interface CapacityExceededViolation {
|
|
404
|
+
/** Max allowed capacity */
|
|
405
|
+
maxCapacity?: number;
|
|
406
|
+
/** Invalid capacity */
|
|
407
|
+
capacity?: number;
|
|
408
|
+
/** The element id */
|
|
409
|
+
elementId?: number | null;
|
|
410
|
+
}
|
|
411
|
+
interface UpdateSeatingPlanRequest {
|
|
412
|
+
/** The plan updates */
|
|
413
|
+
plan?: SeatingPlan$1;
|
|
414
|
+
}
|
|
415
|
+
interface UpdateSeatingPlanResponse {
|
|
416
|
+
/** The updated plan */
|
|
417
|
+
plan?: SeatingPlan$1;
|
|
418
|
+
}
|
|
419
|
+
interface CopySeatingPlanRequest {
|
|
420
|
+
/** The id of the plan to be copied */
|
|
421
|
+
_id: string | null;
|
|
422
|
+
/** New plan title */
|
|
423
|
+
title: string | null;
|
|
424
|
+
/** Format: "{fqdn}:{entity guid}" */
|
|
425
|
+
externalId: string | null;
|
|
426
|
+
}
|
|
427
|
+
interface CopySeatingPlanResponse {
|
|
428
|
+
/** The copied plan */
|
|
429
|
+
plan?: SeatingPlan$1;
|
|
430
|
+
}
|
|
431
|
+
interface QuerySeatingPlanRequest {
|
|
432
|
+
/**
|
|
433
|
+
* Generic query object
|
|
434
|
+
* Possible fieldsets: "elements", "categories", "places", "config".
|
|
435
|
+
*/
|
|
436
|
+
query: QueryV2$1;
|
|
437
|
+
/** A fieldset for the response */
|
|
438
|
+
fieldset?: Fieldset[];
|
|
439
|
+
}
|
|
440
|
+
interface QueryV2$1 extends QueryV2PagingMethodOneOf$1 {
|
|
441
|
+
/** Paging options to limit and skip the number of items. */
|
|
442
|
+
paging?: Paging$1;
|
|
443
|
+
/** 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`. */
|
|
444
|
+
cursorPaging?: CursorPaging$1;
|
|
445
|
+
/**
|
|
446
|
+
* Filter object.
|
|
447
|
+
*
|
|
448
|
+
* Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).
|
|
449
|
+
*/
|
|
450
|
+
filter?: Record<string, any> | null;
|
|
451
|
+
/**
|
|
452
|
+
* Sort object.
|
|
453
|
+
*
|
|
454
|
+
* Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
455
|
+
*/
|
|
456
|
+
sort?: Sorting$1[];
|
|
457
|
+
/** 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. */
|
|
458
|
+
fields?: string[];
|
|
459
|
+
/** 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. */
|
|
460
|
+
fieldsets?: string[];
|
|
461
|
+
}
|
|
462
|
+
/** @oneof */
|
|
463
|
+
interface QueryV2PagingMethodOneOf$1 {
|
|
464
|
+
/** Paging options to limit and skip the number of items. */
|
|
465
|
+
paging?: Paging$1;
|
|
466
|
+
/** 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`. */
|
|
467
|
+
cursorPaging?: CursorPaging$1;
|
|
468
|
+
}
|
|
469
|
+
interface Sorting$1 {
|
|
470
|
+
/** Name of the field to sort by. */
|
|
471
|
+
fieldName?: string;
|
|
472
|
+
/** Sort order. */
|
|
473
|
+
order?: SortOrder$1;
|
|
474
|
+
}
|
|
475
|
+
declare enum SortOrder$1 {
|
|
476
|
+
ASC = "ASC",
|
|
477
|
+
DESC = "DESC"
|
|
478
|
+
}
|
|
479
|
+
interface Paging$1 {
|
|
480
|
+
/** Number of items to load. */
|
|
481
|
+
limit?: number | null;
|
|
482
|
+
/** Number of items to skip in the current sort order. */
|
|
483
|
+
offset?: number | null;
|
|
484
|
+
}
|
|
485
|
+
interface CursorPaging$1 {
|
|
486
|
+
/** Maximum number of items to return in the results. */
|
|
487
|
+
limit?: number | null;
|
|
488
|
+
/**
|
|
489
|
+
* Pointer to the next or previous page in the list of results.
|
|
490
|
+
*
|
|
491
|
+
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
492
|
+
* Not relevant for the first request.
|
|
493
|
+
*/
|
|
494
|
+
cursor?: string | null;
|
|
495
|
+
}
|
|
496
|
+
declare enum Fieldset {
|
|
497
|
+
ELEMENTS = "ELEMENTS",
|
|
498
|
+
CATEGORIES = "CATEGORIES",
|
|
499
|
+
PLACES = "PLACES",
|
|
500
|
+
CONFIG = "CONFIG",
|
|
501
|
+
ELEMENT_GROUPS = "ELEMENT_GROUPS"
|
|
502
|
+
}
|
|
503
|
+
interface QuerySeatingPlanResponse {
|
|
504
|
+
/** Plan results */
|
|
505
|
+
plans?: SeatingPlan$1[];
|
|
506
|
+
}
|
|
507
|
+
interface GetSeatingPlanRequest {
|
|
508
|
+
/** The id of the plan */
|
|
509
|
+
_id: string | null;
|
|
510
|
+
/**
|
|
511
|
+
* A fieldset for the response
|
|
512
|
+
* @deprecated
|
|
513
|
+
*/
|
|
514
|
+
fieldset?: Fieldset[];
|
|
515
|
+
/**
|
|
516
|
+
* Projection on the result object - list of named projections.
|
|
517
|
+
* Possible values: "elements", "categories", "places", "config".
|
|
518
|
+
*/
|
|
519
|
+
fieldsets?: string[];
|
|
520
|
+
/** Seating Plan Mask */
|
|
521
|
+
seatingPlanMask?: SeatingPlanMask;
|
|
522
|
+
}
|
|
523
|
+
interface SeatingPlanMask {
|
|
524
|
+
/** Filter seating plan by place ids */
|
|
525
|
+
placeId?: string[];
|
|
526
|
+
}
|
|
527
|
+
interface GetSeatingPlanResponse {
|
|
528
|
+
/** The plan */
|
|
529
|
+
plan?: SeatingPlan$1;
|
|
530
|
+
}
|
|
531
|
+
interface FindSeatingPlanRequest {
|
|
532
|
+
/** The filter of the plan */
|
|
533
|
+
filter: Record<string, any> | null;
|
|
534
|
+
/**
|
|
535
|
+
* A fieldset for the response
|
|
536
|
+
* @deprecated
|
|
537
|
+
*/
|
|
538
|
+
fieldset?: Fieldset[];
|
|
539
|
+
/**
|
|
540
|
+
* Projection on the result object - list of named projections.
|
|
541
|
+
* Possible values: "elements", "categories", "places", "config".
|
|
542
|
+
*/
|
|
543
|
+
fieldsets?: string[];
|
|
544
|
+
/** Seating Plan Mask */
|
|
545
|
+
seatingPlanMask?: SeatingPlanMask;
|
|
546
|
+
}
|
|
547
|
+
interface FindSeatingPlanResponse {
|
|
548
|
+
/** The plan */
|
|
549
|
+
plan?: SeatingPlan$1;
|
|
550
|
+
}
|
|
551
|
+
interface DeleteSeatingPlanRequest {
|
|
552
|
+
/** The id of the plan */
|
|
553
|
+
_id: string | null;
|
|
554
|
+
}
|
|
555
|
+
interface DeleteSeatingPlanResponse {
|
|
556
|
+
/** Deleted plan */
|
|
557
|
+
plan?: SeatingPlan$1;
|
|
558
|
+
}
|
|
559
|
+
interface DomainEvent$1 extends DomainEventBodyOneOf$1 {
|
|
560
|
+
createdEvent?: EntityCreatedEvent$1;
|
|
561
|
+
updatedEvent?: EntityUpdatedEvent$1;
|
|
562
|
+
deletedEvent?: EntityDeletedEvent$1;
|
|
563
|
+
actionEvent?: ActionEvent$1;
|
|
564
|
+
/**
|
|
565
|
+
* Unique event ID.
|
|
566
|
+
* Allows clients to ignore duplicate webhooks.
|
|
567
|
+
*/
|
|
568
|
+
_id?: string;
|
|
569
|
+
/**
|
|
570
|
+
* Assumes actions are also always typed to an entity_type
|
|
571
|
+
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
572
|
+
*/
|
|
573
|
+
entityFqdn?: string;
|
|
574
|
+
/**
|
|
575
|
+
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
576
|
+
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
577
|
+
* Example: created/updated/deleted/started/completed/email_opened
|
|
578
|
+
*/
|
|
579
|
+
slug?: string;
|
|
580
|
+
/** ID of the entity associated with the event. */
|
|
581
|
+
entityId?: string;
|
|
582
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
583
|
+
eventTime?: Date;
|
|
584
|
+
/**
|
|
585
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
586
|
+
* (for example, GDPR).
|
|
587
|
+
*/
|
|
588
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
589
|
+
/** If present, indicates the action that triggered the event. */
|
|
590
|
+
originatedFrom?: string | null;
|
|
591
|
+
/**
|
|
592
|
+
* A sequence number defining the order of updates to the underlying entity.
|
|
593
|
+
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
594
|
+
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
595
|
+
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
596
|
+
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
597
|
+
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
598
|
+
*/
|
|
599
|
+
entityEventSequence?: string | null;
|
|
600
|
+
}
|
|
601
|
+
/** @oneof */
|
|
602
|
+
interface DomainEventBodyOneOf$1 {
|
|
603
|
+
createdEvent?: EntityCreatedEvent$1;
|
|
604
|
+
updatedEvent?: EntityUpdatedEvent$1;
|
|
605
|
+
deletedEvent?: EntityDeletedEvent$1;
|
|
606
|
+
actionEvent?: ActionEvent$1;
|
|
607
|
+
}
|
|
608
|
+
interface EntityCreatedEvent$1 {
|
|
609
|
+
entity?: string;
|
|
610
|
+
}
|
|
611
|
+
interface RestoreInfo$1 {
|
|
612
|
+
deletedDate?: Date;
|
|
613
|
+
}
|
|
614
|
+
interface EntityUpdatedEvent$1 {
|
|
615
|
+
/**
|
|
616
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
617
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
618
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
619
|
+
*/
|
|
620
|
+
currentEntity?: string;
|
|
621
|
+
}
|
|
622
|
+
interface EntityDeletedEvent$1 {
|
|
623
|
+
/** Entity that was deleted */
|
|
624
|
+
deletedEntity?: string | null;
|
|
625
|
+
}
|
|
626
|
+
interface ActionEvent$1 {
|
|
627
|
+
body?: string;
|
|
628
|
+
}
|
|
629
|
+
interface MessageEnvelope$1 {
|
|
630
|
+
/** App instance ID. */
|
|
631
|
+
instanceId?: string | null;
|
|
632
|
+
/** Event type. */
|
|
633
|
+
eventType?: string;
|
|
634
|
+
/** The identification type and identity data. */
|
|
635
|
+
identity?: IdentificationData$1;
|
|
636
|
+
/** Stringify payload. */
|
|
637
|
+
data?: string;
|
|
638
|
+
}
|
|
639
|
+
interface IdentificationData$1 extends IdentificationDataIdOneOf$1 {
|
|
640
|
+
/** ID of a site visitor that has not logged in to the site. */
|
|
641
|
+
anonymousVisitorId?: string;
|
|
642
|
+
/** ID of a site visitor that has logged in to the site. */
|
|
643
|
+
memberId?: string;
|
|
644
|
+
/** ID of a Wix user (site owner, contributor, etc.). */
|
|
645
|
+
wixUserId?: string;
|
|
646
|
+
/** ID of an app. */
|
|
647
|
+
appId?: string;
|
|
648
|
+
/** @readonly */
|
|
649
|
+
identityType?: WebhookIdentityType$1;
|
|
650
|
+
}
|
|
651
|
+
/** @oneof */
|
|
652
|
+
interface IdentificationDataIdOneOf$1 {
|
|
653
|
+
/** ID of a site visitor that has not logged in to the site. */
|
|
654
|
+
anonymousVisitorId?: string;
|
|
655
|
+
/** ID of a site visitor that has logged in to the site. */
|
|
656
|
+
memberId?: string;
|
|
657
|
+
/** ID of a Wix user (site owner, contributor, etc.). */
|
|
658
|
+
wixUserId?: string;
|
|
659
|
+
/** ID of an app. */
|
|
660
|
+
appId?: string;
|
|
661
|
+
}
|
|
662
|
+
declare enum WebhookIdentityType$1 {
|
|
663
|
+
UNKNOWN = "UNKNOWN",
|
|
664
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
665
|
+
MEMBER = "MEMBER",
|
|
666
|
+
WIX_USER = "WIX_USER",
|
|
667
|
+
APP = "APP"
|
|
668
|
+
}
|
|
669
|
+
interface UpdateSeatingPlanThumbnailRequest {
|
|
670
|
+
thumbnail: SeatingPlanThumbnail;
|
|
671
|
+
}
|
|
672
|
+
interface SeatingPlanThumbnail {
|
|
673
|
+
/** @readonly */
|
|
674
|
+
_id?: string | null;
|
|
675
|
+
img?: string | null;
|
|
676
|
+
}
|
|
677
|
+
interface UpdateSeatingPlanThumbnailResponse {
|
|
678
|
+
thumbnail?: SeatingPlanThumbnail;
|
|
679
|
+
}
|
|
680
|
+
interface GetSeatingPlanThumbnailRequest {
|
|
681
|
+
/** @readonly */
|
|
682
|
+
_id: string | null;
|
|
683
|
+
}
|
|
684
|
+
interface GetSeatingPlanThumbnailResponse {
|
|
685
|
+
thumbnail?: SeatingPlanThumbnail;
|
|
686
|
+
}
|
|
687
|
+
interface SaveSeatingPlanVersionRequest {
|
|
688
|
+
/** A plan version to be saved */
|
|
689
|
+
plan?: SeatingPlan$1;
|
|
690
|
+
/**
|
|
691
|
+
* Parent version of the plan.
|
|
692
|
+
* Use this field to override history of plan versions.
|
|
693
|
+
* The next version of the plan will still be latest version +1,
|
|
694
|
+
* but intermediate versions will be removed. Example:
|
|
695
|
+
* Existing versions [1, 2, 3, 4, 5].
|
|
696
|
+
* Save request with parent_version 2 will yield versions [1, 2, 6].
|
|
697
|
+
*/
|
|
698
|
+
parentVersion?: string | null;
|
|
699
|
+
}
|
|
700
|
+
interface SaveSeatingPlanVersionResponse {
|
|
701
|
+
/** Updated plan version */
|
|
702
|
+
plan?: SeatingPlan$1;
|
|
703
|
+
}
|
|
704
|
+
interface QuerySeatingPlanVersionsRequest {
|
|
705
|
+
/**
|
|
706
|
+
* Generic query object
|
|
707
|
+
* Possible fieldsets: "elements", "categories", "places", "config".
|
|
708
|
+
*/
|
|
709
|
+
query?: QueryV2$1;
|
|
710
|
+
}
|
|
711
|
+
interface QuerySeatingPlanVersionsResponse {
|
|
712
|
+
/** Plan results */
|
|
713
|
+
plans?: SeatingPlan$1[];
|
|
714
|
+
/** Paging meta data */
|
|
715
|
+
metadata?: PagingMetadataV2$1;
|
|
716
|
+
}
|
|
717
|
+
interface PagingMetadataV2$1 {
|
|
718
|
+
/** Number of items returned in the response. */
|
|
719
|
+
count?: number | null;
|
|
720
|
+
/** Offset that was requested. */
|
|
721
|
+
offset?: number | null;
|
|
722
|
+
/** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
|
|
723
|
+
total?: number | null;
|
|
724
|
+
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
725
|
+
tooManyToCount?: boolean | null;
|
|
726
|
+
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
727
|
+
cursors?: Cursors$1;
|
|
728
|
+
}
|
|
729
|
+
interface Cursors$1 {
|
|
730
|
+
/** Cursor string pointing to the next page in the list of results. */
|
|
731
|
+
next?: string | null;
|
|
732
|
+
/** Cursor pointing to the previous page in the list of results. */
|
|
733
|
+
prev?: string | null;
|
|
734
|
+
}
|
|
735
|
+
interface DiscardSeatingPlanVersionsRequest {
|
|
736
|
+
/** Seating Plan ID */
|
|
737
|
+
seatingPlanId?: string | null;
|
|
738
|
+
/** Version from which all higher versions will be discarded. */
|
|
739
|
+
version?: string | null;
|
|
740
|
+
}
|
|
741
|
+
interface DiscardSeatingPlanVersionsResponse {
|
|
742
|
+
}
|
|
743
|
+
interface RestoreSeatingPlanRequest {
|
|
744
|
+
/** Seating Plan ID */
|
|
745
|
+
seatingPlanId?: string | null;
|
|
746
|
+
/** Version to witch the seating plan should be restored. */
|
|
747
|
+
version?: string | null;
|
|
748
|
+
}
|
|
749
|
+
interface RestoreSeatingPlanResponse {
|
|
750
|
+
/** Seating Plan */
|
|
751
|
+
plan?: SeatingPlan$1;
|
|
752
|
+
}
|
|
753
|
+
interface SequencingNonNullableFields$1 {
|
|
754
|
+
startAt: string;
|
|
755
|
+
labels: string[];
|
|
756
|
+
}
|
|
757
|
+
interface PlaceNonNullableFields$1 {
|
|
758
|
+
index: number;
|
|
759
|
+
label: string;
|
|
760
|
+
elementType: Type$1;
|
|
761
|
+
type: PlaceTypeEnumType$1;
|
|
762
|
+
}
|
|
763
|
+
interface ReservationOptionsNonNullableFields$1 {
|
|
764
|
+
reserveWholeElement: boolean;
|
|
765
|
+
}
|
|
766
|
+
interface ImageNonNullableFields$1 {
|
|
767
|
+
_id: string;
|
|
768
|
+
height: number;
|
|
769
|
+
width: number;
|
|
770
|
+
}
|
|
771
|
+
interface ElementUiPropertiesNonNullableFields$1 {
|
|
772
|
+
shapeType: ShapeTypeEnumType$1;
|
|
773
|
+
labelPosition: Position$1;
|
|
774
|
+
seatLayout: number[];
|
|
775
|
+
icon: Icon$1;
|
|
776
|
+
image?: ImageNonNullableFields$1;
|
|
777
|
+
seatNumbering: Numbering$1;
|
|
778
|
+
}
|
|
779
|
+
interface RowElementUiPropertiesNonNullableFields$1 {
|
|
780
|
+
labelPosition: Position$1;
|
|
781
|
+
seatNumbering: Numbering$1;
|
|
782
|
+
}
|
|
783
|
+
interface RowElementNonNullableFields$1 {
|
|
784
|
+
_id: number;
|
|
785
|
+
sequencing?: SequencingNonNullableFields$1;
|
|
786
|
+
uiProperties?: RowElementUiPropertiesNonNullableFields$1;
|
|
787
|
+
}
|
|
788
|
+
interface VerticalSequencingNonNullableFields$1 {
|
|
789
|
+
startAt: string;
|
|
790
|
+
rowNumbering: Numbering$1;
|
|
791
|
+
}
|
|
792
|
+
interface MultiRowPropertiesNonNullableFields$1 {
|
|
793
|
+
rows: RowElementNonNullableFields$1[];
|
|
794
|
+
verticalSequencing?: VerticalSequencingNonNullableFields$1;
|
|
795
|
+
}
|
|
796
|
+
interface ElementNonNullableFields$1 {
|
|
797
|
+
_id: number;
|
|
798
|
+
type: Type$1;
|
|
799
|
+
sequencing?: SequencingNonNullableFields$1;
|
|
800
|
+
overrides: PlaceNonNullableFields$1[];
|
|
801
|
+
places: PlaceNonNullableFields$1[];
|
|
802
|
+
reservationOptions?: ReservationOptionsNonNullableFields$1;
|
|
803
|
+
uiProperties?: ElementUiPropertiesNonNullableFields$1;
|
|
804
|
+
multiRowProperties?: MultiRowPropertiesNonNullableFields$1;
|
|
805
|
+
}
|
|
806
|
+
interface SectionNonNullableFields$1 {
|
|
807
|
+
_id: number;
|
|
808
|
+
elements: ElementNonNullableFields$1[];
|
|
809
|
+
default: boolean;
|
|
810
|
+
}
|
|
811
|
+
interface CategoryNonNullableFields$1 {
|
|
812
|
+
_id: number;
|
|
813
|
+
title: string;
|
|
814
|
+
places: PlaceNonNullableFields$1[];
|
|
815
|
+
}
|
|
816
|
+
interface ElementGroupNonNullableFields$1 {
|
|
817
|
+
_id: number;
|
|
818
|
+
}
|
|
819
|
+
interface SeatingPlanNonNullableFields$1 {
|
|
820
|
+
sections: SectionNonNullableFields$1[];
|
|
821
|
+
categories: CategoryNonNullableFields$1[];
|
|
822
|
+
uncategorizedPlaces: PlaceNonNullableFields$1[];
|
|
823
|
+
elementGroups: ElementGroupNonNullableFields$1[];
|
|
824
|
+
}
|
|
825
|
+
interface CreateSeatingPlanResponseNonNullableFields {
|
|
826
|
+
plan?: SeatingPlanNonNullableFields$1;
|
|
827
|
+
}
|
|
828
|
+
interface UpdateSeatingPlanResponseNonNullableFields {
|
|
829
|
+
plan?: SeatingPlanNonNullableFields$1;
|
|
830
|
+
}
|
|
831
|
+
interface CopySeatingPlanResponseNonNullableFields {
|
|
832
|
+
plan?: SeatingPlanNonNullableFields$1;
|
|
833
|
+
}
|
|
834
|
+
interface QuerySeatingPlanResponseNonNullableFields {
|
|
835
|
+
plans: SeatingPlanNonNullableFields$1[];
|
|
836
|
+
}
|
|
837
|
+
interface GetSeatingPlanResponseNonNullableFields {
|
|
838
|
+
plan?: SeatingPlanNonNullableFields$1;
|
|
839
|
+
}
|
|
840
|
+
interface FindSeatingPlanResponseNonNullableFields {
|
|
841
|
+
plan?: SeatingPlanNonNullableFields$1;
|
|
842
|
+
}
|
|
843
|
+
interface DeleteSeatingPlanResponseNonNullableFields {
|
|
844
|
+
plan?: SeatingPlanNonNullableFields$1;
|
|
845
|
+
}
|
|
846
|
+
interface BaseEventMetadata$1 {
|
|
847
|
+
/** App instance ID. */
|
|
848
|
+
instanceId?: string | null;
|
|
849
|
+
/** Event type. */
|
|
850
|
+
eventType?: string;
|
|
851
|
+
/** The identification type and identity data. */
|
|
852
|
+
identity?: IdentificationData$1;
|
|
853
|
+
}
|
|
854
|
+
interface EventMetadata$1 extends BaseEventMetadata$1 {
|
|
855
|
+
/**
|
|
856
|
+
* Unique event ID.
|
|
857
|
+
* Allows clients to ignore duplicate webhooks.
|
|
858
|
+
*/
|
|
859
|
+
_id?: string;
|
|
860
|
+
/**
|
|
861
|
+
* Assumes actions are also always typed to an entity_type
|
|
862
|
+
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
863
|
+
*/
|
|
864
|
+
entityFqdn?: string;
|
|
865
|
+
/**
|
|
866
|
+
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
867
|
+
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
868
|
+
* Example: created/updated/deleted/started/completed/email_opened
|
|
869
|
+
*/
|
|
870
|
+
slug?: string;
|
|
871
|
+
/** ID of the entity associated with the event. */
|
|
872
|
+
entityId?: string;
|
|
873
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
874
|
+
eventTime?: Date;
|
|
875
|
+
/**
|
|
876
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
877
|
+
* (for example, GDPR).
|
|
878
|
+
*/
|
|
879
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
880
|
+
/** If present, indicates the action that triggered the event. */
|
|
881
|
+
originatedFrom?: string | null;
|
|
882
|
+
/**
|
|
883
|
+
* A sequence number defining the order of updates to the underlying entity.
|
|
884
|
+
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
885
|
+
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
886
|
+
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
887
|
+
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
888
|
+
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
889
|
+
*/
|
|
890
|
+
entityEventSequence?: string | null;
|
|
891
|
+
}
|
|
892
|
+
interface SeatingPlanCreatedEnvelope {
|
|
893
|
+
entity: SeatingPlan$1;
|
|
894
|
+
metadata: EventMetadata$1;
|
|
895
|
+
}
|
|
896
|
+
interface SeatingPlanUpdatedEnvelope {
|
|
897
|
+
entity: SeatingPlan$1;
|
|
898
|
+
metadata: EventMetadata$1;
|
|
899
|
+
}
|
|
900
|
+
interface SeatingPlanDeletedEnvelope {
|
|
901
|
+
entity: SeatingPlan$1;
|
|
902
|
+
metadata: EventMetadata$1;
|
|
903
|
+
}
|
|
904
|
+
interface UpdateSeatingPlanOptions {
|
|
905
|
+
/** The plan updates */
|
|
906
|
+
plan?: SeatingPlan$1;
|
|
907
|
+
}
|
|
908
|
+
interface CopySeatingPlanOptions {
|
|
909
|
+
/** New plan title */
|
|
910
|
+
title: string | null;
|
|
911
|
+
/** Format: "{fqdn}:{entity guid}" */
|
|
912
|
+
externalId: string | null;
|
|
913
|
+
}
|
|
914
|
+
interface QuerySeatingPlanOptions {
|
|
915
|
+
/** A fieldset for the response */
|
|
916
|
+
fieldset?: Fieldset[] | undefined;
|
|
917
|
+
}
|
|
918
|
+
interface QueryCursorResult$1 {
|
|
919
|
+
cursors: Cursors$1;
|
|
920
|
+
hasNext: () => boolean;
|
|
921
|
+
hasPrev: () => boolean;
|
|
922
|
+
length: number;
|
|
923
|
+
pageSize: number;
|
|
924
|
+
}
|
|
925
|
+
interface PlansQueryResult extends QueryCursorResult$1 {
|
|
926
|
+
items: SeatingPlan$1[];
|
|
927
|
+
query: PlansQueryBuilder;
|
|
928
|
+
next: () => Promise<PlansQueryResult>;
|
|
929
|
+
prev: () => Promise<PlansQueryResult>;
|
|
930
|
+
}
|
|
931
|
+
interface PlansQueryBuilder {
|
|
932
|
+
/** @param limit - Number of items to return, which is also the `pageSize` of the results object.
|
|
933
|
+
* @documentationMaturity preview
|
|
934
|
+
*/
|
|
935
|
+
limit: (limit: number) => PlansQueryBuilder;
|
|
936
|
+
/** @param cursor - A pointer to specific record
|
|
937
|
+
* @documentationMaturity preview
|
|
938
|
+
*/
|
|
939
|
+
skipTo: (cursor: string) => PlansQueryBuilder;
|
|
940
|
+
/** @documentationMaturity preview */
|
|
941
|
+
find: () => Promise<PlansQueryResult>;
|
|
942
|
+
}
|
|
943
|
+
interface GetSeatingPlanOptions {
|
|
944
|
+
/**
|
|
945
|
+
* A fieldset for the response
|
|
946
|
+
* @deprecated
|
|
947
|
+
*/
|
|
948
|
+
fieldset?: Fieldset[];
|
|
949
|
+
/**
|
|
950
|
+
* Projection on the result object - list of named projections.
|
|
951
|
+
* Possible values: "elements", "categories", "places", "config".
|
|
952
|
+
*/
|
|
953
|
+
fieldsets?: string[];
|
|
954
|
+
/** Seating Plan Mask */
|
|
955
|
+
seatingPlanMask?: SeatingPlanMask;
|
|
956
|
+
}
|
|
957
|
+
interface FindSeatingPlanOptions {
|
|
958
|
+
/**
|
|
959
|
+
* A fieldset for the response
|
|
960
|
+
* @deprecated
|
|
961
|
+
*/
|
|
962
|
+
fieldset?: Fieldset[];
|
|
963
|
+
/**
|
|
964
|
+
* Projection on the result object - list of named projections.
|
|
965
|
+
* Possible values: "elements", "categories", "places", "config".
|
|
966
|
+
*/
|
|
967
|
+
fieldsets?: string[];
|
|
968
|
+
/** Seating Plan Mask */
|
|
969
|
+
seatingPlanMask?: SeatingPlanMask;
|
|
970
|
+
}
|
|
971
|
+
|
|
972
|
+
declare function createSeatingPlan$1(httpClient: HttpClient): CreateSeatingPlanSignature;
|
|
973
|
+
interface CreateSeatingPlanSignature {
|
|
974
|
+
/**
|
|
975
|
+
* Crates a seating plan
|
|
976
|
+
* @param - A plan to be created
|
|
977
|
+
* @returns The created plan
|
|
978
|
+
*/
|
|
979
|
+
(plan: SeatingPlan$1): Promise<SeatingPlan$1 & SeatingPlanNonNullableFields$1>;
|
|
980
|
+
}
|
|
981
|
+
declare function updateSeatingPlan$1(httpClient: HttpClient): UpdateSeatingPlanSignature;
|
|
982
|
+
interface UpdateSeatingPlanSignature {
|
|
983
|
+
/**
|
|
984
|
+
* Updates the seating plan
|
|
985
|
+
* @returns The updated plan
|
|
986
|
+
*/
|
|
987
|
+
(options?: UpdateSeatingPlanOptions | undefined): Promise<SeatingPlan$1 & SeatingPlanNonNullableFields$1>;
|
|
988
|
+
}
|
|
989
|
+
declare function copySeatingPlan$1(httpClient: HttpClient): CopySeatingPlanSignature;
|
|
990
|
+
interface CopySeatingPlanSignature {
|
|
991
|
+
/**
|
|
992
|
+
* Copies the seating plan
|
|
993
|
+
* @param - The id of the plan to be copied
|
|
994
|
+
*/
|
|
995
|
+
(_id: string | null, options: CopySeatingPlanOptions): Promise<CopySeatingPlanResponse & CopySeatingPlanResponseNonNullableFields>;
|
|
996
|
+
}
|
|
997
|
+
declare function querySeatingPlan$1(httpClient: HttpClient): QuerySeatingPlanSignature;
|
|
998
|
+
interface QuerySeatingPlanSignature {
|
|
999
|
+
/**
|
|
1000
|
+
* Lists seating plans by provided query request
|
|
1001
|
+
*/
|
|
1002
|
+
(options?: QuerySeatingPlanOptions | undefined): PlansQueryBuilder;
|
|
1003
|
+
}
|
|
1004
|
+
declare function getSeatingPlan$1(httpClient: HttpClient): GetSeatingPlanSignature;
|
|
1005
|
+
interface GetSeatingPlanSignature {
|
|
1006
|
+
/**
|
|
1007
|
+
* Returns the seating plan. Fails of not fond.
|
|
1008
|
+
* @param - The id of the plan
|
|
1009
|
+
* @returns The plan
|
|
1010
|
+
*/
|
|
1011
|
+
(_id: string | null, options?: GetSeatingPlanOptions | undefined): Promise<SeatingPlan$1 & SeatingPlanNonNullableFields$1>;
|
|
1012
|
+
}
|
|
1013
|
+
declare function findSeatingPlan$1(httpClient: HttpClient): FindSeatingPlanSignature;
|
|
1014
|
+
interface FindSeatingPlanSignature {
|
|
1015
|
+
/**
|
|
1016
|
+
* Returns the first seating plan found by filter request.
|
|
1017
|
+
* @param - The filter of the plan
|
|
1018
|
+
*/
|
|
1019
|
+
(filter: Record<string, any> | null, options?: FindSeatingPlanOptions | undefined): Promise<FindSeatingPlanResponse & FindSeatingPlanResponseNonNullableFields>;
|
|
1020
|
+
}
|
|
1021
|
+
declare function deleteSeatingPlan$1(httpClient: HttpClient): DeleteSeatingPlanSignature;
|
|
1022
|
+
interface DeleteSeatingPlanSignature {
|
|
1023
|
+
/**
|
|
1024
|
+
* Deletes the seating plan.
|
|
1025
|
+
* @param - The id of the plan
|
|
1026
|
+
*/
|
|
1027
|
+
(_id: string | null): Promise<DeleteSeatingPlanResponse & DeleteSeatingPlanResponseNonNullableFields>;
|
|
1028
|
+
}
|
|
1029
|
+
declare function updateSeatingPlanThumbnail$1(httpClient: HttpClient): UpdateSeatingPlanThumbnailSignature;
|
|
1030
|
+
interface UpdateSeatingPlanThumbnailSignature {
|
|
1031
|
+
/**
|
|
1032
|
+
* Updates seating plan thumbnail.
|
|
1033
|
+
*/
|
|
1034
|
+
(thumbnail: SeatingPlanThumbnail): Promise<UpdateSeatingPlanThumbnailResponse>;
|
|
1035
|
+
}
|
|
1036
|
+
declare function getSeatingPlanThumbnail$1(httpClient: HttpClient): GetSeatingPlanThumbnailSignature;
|
|
1037
|
+
interface GetSeatingPlanThumbnailSignature {
|
|
1038
|
+
/**
|
|
1039
|
+
* Get seating plan thumbnail.
|
|
1040
|
+
*/
|
|
1041
|
+
(_id: string | null): Promise<GetSeatingPlanThumbnailResponse>;
|
|
1042
|
+
}
|
|
1043
|
+
declare const onSeatingPlanCreated$1: EventDefinition<SeatingPlanCreatedEnvelope, "wix.seating.v1.seating_plan_created">;
|
|
1044
|
+
declare const onSeatingPlanUpdated$1: EventDefinition<SeatingPlanUpdatedEnvelope, "wix.seating.v1.seating_plan_updated">;
|
|
1045
|
+
declare const onSeatingPlanDeleted$1: EventDefinition<SeatingPlanDeletedEnvelope, "wix.seating.v1.seating_plan_deleted">;
|
|
1046
|
+
|
|
45
1047
|
declare function createRESTModule$1<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
|
|
46
1048
|
|
|
47
1049
|
declare function createEventModule$1<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
48
1050
|
|
|
49
|
-
|
|
50
|
-
declare const
|
|
51
|
-
|
|
52
|
-
declare const
|
|
53
|
-
|
|
54
|
-
declare const
|
|
55
|
-
|
|
56
|
-
declare const
|
|
57
|
-
|
|
58
|
-
declare const
|
|
59
|
-
|
|
60
|
-
declare const
|
|
1051
|
+
type _publicCreateSeatingPlanType = typeof createSeatingPlan$1;
|
|
1052
|
+
declare const createSeatingPlan: ReturnType<typeof createRESTModule$1<_publicCreateSeatingPlanType>>;
|
|
1053
|
+
type _publicUpdateSeatingPlanType = typeof updateSeatingPlan$1;
|
|
1054
|
+
declare const updateSeatingPlan: ReturnType<typeof createRESTModule$1<_publicUpdateSeatingPlanType>>;
|
|
1055
|
+
type _publicCopySeatingPlanType = typeof copySeatingPlan$1;
|
|
1056
|
+
declare const copySeatingPlan: ReturnType<typeof createRESTModule$1<_publicCopySeatingPlanType>>;
|
|
1057
|
+
type _publicQuerySeatingPlanType = typeof querySeatingPlan$1;
|
|
1058
|
+
declare const querySeatingPlan: ReturnType<typeof createRESTModule$1<_publicQuerySeatingPlanType>>;
|
|
1059
|
+
type _publicGetSeatingPlanType = typeof getSeatingPlan$1;
|
|
1060
|
+
declare const getSeatingPlan: ReturnType<typeof createRESTModule$1<_publicGetSeatingPlanType>>;
|
|
1061
|
+
type _publicFindSeatingPlanType = typeof findSeatingPlan$1;
|
|
1062
|
+
declare const findSeatingPlan: ReturnType<typeof createRESTModule$1<_publicFindSeatingPlanType>>;
|
|
1063
|
+
type _publicDeleteSeatingPlanType = typeof deleteSeatingPlan$1;
|
|
1064
|
+
declare const deleteSeatingPlan: ReturnType<typeof createRESTModule$1<_publicDeleteSeatingPlanType>>;
|
|
1065
|
+
type _publicUpdateSeatingPlanThumbnailType = typeof updateSeatingPlanThumbnail$1;
|
|
1066
|
+
declare const updateSeatingPlanThumbnail: ReturnType<typeof createRESTModule$1<_publicUpdateSeatingPlanThumbnailType>>;
|
|
1067
|
+
type _publicGetSeatingPlanThumbnailType = typeof getSeatingPlanThumbnail$1;
|
|
1068
|
+
declare const getSeatingPlanThumbnail: ReturnType<typeof createRESTModule$1<_publicGetSeatingPlanThumbnailType>>;
|
|
1069
|
+
|
|
1070
|
+
type _publicOnSeatingPlanCreatedType = typeof onSeatingPlanCreated$1;
|
|
1071
|
+
/** */
|
|
1072
|
+
declare const onSeatingPlanCreated: ReturnType<typeof createEventModule$1<_publicOnSeatingPlanCreatedType>>;
|
|
1073
|
+
|
|
1074
|
+
type _publicOnSeatingPlanUpdatedType = typeof onSeatingPlanUpdated$1;
|
|
1075
|
+
/** */
|
|
1076
|
+
declare const onSeatingPlanUpdated: ReturnType<typeof createEventModule$1<_publicOnSeatingPlanUpdatedType>>;
|
|
61
1077
|
|
|
1078
|
+
type _publicOnSeatingPlanDeletedType = typeof onSeatingPlanDeleted$1;
|
|
1079
|
+
/** */
|
|
1080
|
+
declare const onSeatingPlanDeleted: ReturnType<typeof createEventModule$1<_publicOnSeatingPlanDeletedType>>;
|
|
1081
|
+
|
|
1082
|
+
type context$1_CapacityExceededViolation = CapacityExceededViolation;
|
|
1083
|
+
type context$1_CopySeatingPlanOptions = CopySeatingPlanOptions;
|
|
1084
|
+
type context$1_CopySeatingPlanRequest = CopySeatingPlanRequest;
|
|
1085
|
+
type context$1_CopySeatingPlanResponse = CopySeatingPlanResponse;
|
|
1086
|
+
type context$1_CopySeatingPlanResponseNonNullableFields = CopySeatingPlanResponseNonNullableFields;
|
|
1087
|
+
type context$1_CreateSeatingPlanRequest = CreateSeatingPlanRequest;
|
|
1088
|
+
type context$1_CreateSeatingPlanResponse = CreateSeatingPlanResponse;
|
|
1089
|
+
type context$1_CreateSeatingPlanResponseNonNullableFields = CreateSeatingPlanResponseNonNullableFields;
|
|
1090
|
+
type context$1_DeleteSeatingPlanRequest = DeleteSeatingPlanRequest;
|
|
1091
|
+
type context$1_DeleteSeatingPlanResponse = DeleteSeatingPlanResponse;
|
|
1092
|
+
type context$1_DeleteSeatingPlanResponseNonNullableFields = DeleteSeatingPlanResponseNonNullableFields;
|
|
1093
|
+
type context$1_DiscardSeatingPlanVersionsRequest = DiscardSeatingPlanVersionsRequest;
|
|
1094
|
+
type context$1_DiscardSeatingPlanVersionsResponse = DiscardSeatingPlanVersionsResponse;
|
|
1095
|
+
type context$1_Fieldset = Fieldset;
|
|
1096
|
+
declare const context$1_Fieldset: typeof Fieldset;
|
|
1097
|
+
type context$1_FindSeatingPlanOptions = FindSeatingPlanOptions;
|
|
1098
|
+
type context$1_FindSeatingPlanRequest = FindSeatingPlanRequest;
|
|
1099
|
+
type context$1_FindSeatingPlanResponse = FindSeatingPlanResponse;
|
|
1100
|
+
type context$1_FindSeatingPlanResponseNonNullableFields = FindSeatingPlanResponseNonNullableFields;
|
|
1101
|
+
type context$1_GetSeatingPlanOptions = GetSeatingPlanOptions;
|
|
1102
|
+
type context$1_GetSeatingPlanRequest = GetSeatingPlanRequest;
|
|
1103
|
+
type context$1_GetSeatingPlanResponse = GetSeatingPlanResponse;
|
|
1104
|
+
type context$1_GetSeatingPlanResponseNonNullableFields = GetSeatingPlanResponseNonNullableFields;
|
|
1105
|
+
type context$1_GetSeatingPlanThumbnailRequest = GetSeatingPlanThumbnailRequest;
|
|
1106
|
+
type context$1_GetSeatingPlanThumbnailResponse = GetSeatingPlanThumbnailResponse;
|
|
1107
|
+
type context$1_PlansQueryBuilder = PlansQueryBuilder;
|
|
1108
|
+
type context$1_PlansQueryResult = PlansQueryResult;
|
|
1109
|
+
type context$1_QuerySeatingPlanOptions = QuerySeatingPlanOptions;
|
|
1110
|
+
type context$1_QuerySeatingPlanRequest = QuerySeatingPlanRequest;
|
|
1111
|
+
type context$1_QuerySeatingPlanResponse = QuerySeatingPlanResponse;
|
|
1112
|
+
type context$1_QuerySeatingPlanResponseNonNullableFields = QuerySeatingPlanResponseNonNullableFields;
|
|
1113
|
+
type context$1_QuerySeatingPlanVersionsRequest = QuerySeatingPlanVersionsRequest;
|
|
1114
|
+
type context$1_QuerySeatingPlanVersionsResponse = QuerySeatingPlanVersionsResponse;
|
|
1115
|
+
type context$1_RestoreSeatingPlanRequest = RestoreSeatingPlanRequest;
|
|
1116
|
+
type context$1_RestoreSeatingPlanResponse = RestoreSeatingPlanResponse;
|
|
1117
|
+
type context$1_SaveSeatingPlanVersionRequest = SaveSeatingPlanVersionRequest;
|
|
1118
|
+
type context$1_SaveSeatingPlanVersionResponse = SaveSeatingPlanVersionResponse;
|
|
1119
|
+
type context$1_SeatingPlanCreatedEnvelope = SeatingPlanCreatedEnvelope;
|
|
1120
|
+
type context$1_SeatingPlanDeletedEnvelope = SeatingPlanDeletedEnvelope;
|
|
1121
|
+
type context$1_SeatingPlanMask = SeatingPlanMask;
|
|
1122
|
+
type context$1_SeatingPlanThumbnail = SeatingPlanThumbnail;
|
|
1123
|
+
type context$1_SeatingPlanUpdatedEnvelope = SeatingPlanUpdatedEnvelope;
|
|
1124
|
+
type context$1_UpdateSeatingPlanOptions = UpdateSeatingPlanOptions;
|
|
1125
|
+
type context$1_UpdateSeatingPlanRequest = UpdateSeatingPlanRequest;
|
|
1126
|
+
type context$1_UpdateSeatingPlanResponse = UpdateSeatingPlanResponse;
|
|
1127
|
+
type context$1_UpdateSeatingPlanResponseNonNullableFields = UpdateSeatingPlanResponseNonNullableFields;
|
|
1128
|
+
type context$1_UpdateSeatingPlanThumbnailRequest = UpdateSeatingPlanThumbnailRequest;
|
|
1129
|
+
type context$1_UpdateSeatingPlanThumbnailResponse = UpdateSeatingPlanThumbnailResponse;
|
|
1130
|
+
type context$1__publicCopySeatingPlanType = _publicCopySeatingPlanType;
|
|
1131
|
+
type context$1__publicCreateSeatingPlanType = _publicCreateSeatingPlanType;
|
|
1132
|
+
type context$1__publicDeleteSeatingPlanType = _publicDeleteSeatingPlanType;
|
|
1133
|
+
type context$1__publicFindSeatingPlanType = _publicFindSeatingPlanType;
|
|
1134
|
+
type context$1__publicGetSeatingPlanThumbnailType = _publicGetSeatingPlanThumbnailType;
|
|
1135
|
+
type context$1__publicGetSeatingPlanType = _publicGetSeatingPlanType;
|
|
1136
|
+
type context$1__publicOnSeatingPlanCreatedType = _publicOnSeatingPlanCreatedType;
|
|
1137
|
+
type context$1__publicOnSeatingPlanDeletedType = _publicOnSeatingPlanDeletedType;
|
|
1138
|
+
type context$1__publicOnSeatingPlanUpdatedType = _publicOnSeatingPlanUpdatedType;
|
|
1139
|
+
type context$1__publicQuerySeatingPlanType = _publicQuerySeatingPlanType;
|
|
1140
|
+
type context$1__publicUpdateSeatingPlanThumbnailType = _publicUpdateSeatingPlanThumbnailType;
|
|
1141
|
+
type context$1__publicUpdateSeatingPlanType = _publicUpdateSeatingPlanType;
|
|
62
1142
|
declare const context$1_copySeatingPlan: typeof copySeatingPlan;
|
|
63
1143
|
declare const context$1_createSeatingPlan: typeof createSeatingPlan;
|
|
64
1144
|
declare const context$1_deleteSeatingPlan: typeof deleteSeatingPlan;
|
|
@@ -72,22 +1152,1162 @@ declare const context$1_querySeatingPlan: typeof querySeatingPlan;
|
|
|
72
1152
|
declare const context$1_updateSeatingPlan: typeof updateSeatingPlan;
|
|
73
1153
|
declare const context$1_updateSeatingPlanThumbnail: typeof updateSeatingPlanThumbnail;
|
|
74
1154
|
declare namespace context$1 {
|
|
75
|
-
export { context$1_copySeatingPlan as copySeatingPlan, context$1_createSeatingPlan as createSeatingPlan, context$1_deleteSeatingPlan as deleteSeatingPlan, context$1_findSeatingPlan as findSeatingPlan, context$1_getSeatingPlan as getSeatingPlan, context$1_getSeatingPlanThumbnail as getSeatingPlanThumbnail, context$1_onSeatingPlanCreated as onSeatingPlanCreated, context$1_onSeatingPlanDeleted as onSeatingPlanDeleted, context$1_onSeatingPlanUpdated as onSeatingPlanUpdated, context$1_querySeatingPlan as querySeatingPlan, context$1_updateSeatingPlan as updateSeatingPlan, context$1_updateSeatingPlanThumbnail as updateSeatingPlanThumbnail };
|
|
1155
|
+
export { type ActionEvent$1 as ActionEvent, type BaseEventMetadata$1 as BaseEventMetadata, type context$1_CapacityExceededViolation as CapacityExceededViolation, type Category$1 as Category, type context$1_CopySeatingPlanOptions as CopySeatingPlanOptions, type context$1_CopySeatingPlanRequest as CopySeatingPlanRequest, type context$1_CopySeatingPlanResponse as CopySeatingPlanResponse, type context$1_CopySeatingPlanResponseNonNullableFields as CopySeatingPlanResponseNonNullableFields, type context$1_CreateSeatingPlanRequest as CreateSeatingPlanRequest, type context$1_CreateSeatingPlanResponse as CreateSeatingPlanResponse, type context$1_CreateSeatingPlanResponseNonNullableFields as CreateSeatingPlanResponseNonNullableFields, type CursorPaging$1 as CursorPaging, type Cursors$1 as Cursors, type context$1_DeleteSeatingPlanRequest as DeleteSeatingPlanRequest, type context$1_DeleteSeatingPlanResponse as DeleteSeatingPlanResponse, type context$1_DeleteSeatingPlanResponseNonNullableFields as DeleteSeatingPlanResponseNonNullableFields, type context$1_DiscardSeatingPlanVersionsRequest as DiscardSeatingPlanVersionsRequest, type context$1_DiscardSeatingPlanVersionsResponse as DiscardSeatingPlanVersionsResponse, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type Element$1 as Element, type ElementGroup$1 as ElementGroup, type ElementGroupUiProperties$1 as ElementGroupUiProperties, type ElementUiProperties$1 as ElementUiProperties, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type ExtendedFields$1 as ExtendedFields, context$1_Fieldset as Fieldset, type context$1_FindSeatingPlanOptions as FindSeatingPlanOptions, type context$1_FindSeatingPlanRequest as FindSeatingPlanRequest, type context$1_FindSeatingPlanResponse as FindSeatingPlanResponse, type context$1_FindSeatingPlanResponseNonNullableFields as FindSeatingPlanResponseNonNullableFields, type context$1_GetSeatingPlanOptions as GetSeatingPlanOptions, type context$1_GetSeatingPlanRequest as GetSeatingPlanRequest, type context$1_GetSeatingPlanResponse as GetSeatingPlanResponse, type context$1_GetSeatingPlanResponseNonNullableFields as GetSeatingPlanResponseNonNullableFields, type context$1_GetSeatingPlanThumbnailRequest as GetSeatingPlanThumbnailRequest, type context$1_GetSeatingPlanThumbnailResponse as GetSeatingPlanThumbnailResponse, Icon$1 as Icon, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type Image$1 as Image, type MessageEnvelope$1 as MessageEnvelope, type MultiRowProperties$1 as MultiRowProperties, Numbering$1 as Numbering, type Paging$1 as Paging, type PagingMetadataV2$1 as PagingMetadataV2, type Place$1 as Place, PlaceTypeEnumType$1 as PlaceTypeEnumType, type context$1_PlansQueryBuilder as PlansQueryBuilder, type context$1_PlansQueryResult as PlansQueryResult, Position$1 as Position, type context$1_QuerySeatingPlanOptions as QuerySeatingPlanOptions, type context$1_QuerySeatingPlanRequest as QuerySeatingPlanRequest, type context$1_QuerySeatingPlanResponse as QuerySeatingPlanResponse, type context$1_QuerySeatingPlanResponseNonNullableFields as QuerySeatingPlanResponseNonNullableFields, type context$1_QuerySeatingPlanVersionsRequest as QuerySeatingPlanVersionsRequest, type context$1_QuerySeatingPlanVersionsResponse as QuerySeatingPlanVersionsResponse, type QueryV2$1 as QueryV2, type QueryV2PagingMethodOneOf$1 as QueryV2PagingMethodOneOf, type ReservationOptions$1 as ReservationOptions, type RestoreInfo$1 as RestoreInfo, type context$1_RestoreSeatingPlanRequest as RestoreSeatingPlanRequest, type context$1_RestoreSeatingPlanResponse as RestoreSeatingPlanResponse, type RowElement$1 as RowElement, type RowElementUiProperties$1 as RowElementUiProperties, type context$1_SaveSeatingPlanVersionRequest as SaveSeatingPlanVersionRequest, type context$1_SaveSeatingPlanVersionResponse as SaveSeatingPlanVersionResponse, type SeatingPlan$1 as SeatingPlan, type context$1_SeatingPlanCreatedEnvelope as SeatingPlanCreatedEnvelope, type context$1_SeatingPlanDeletedEnvelope as SeatingPlanDeletedEnvelope, type context$1_SeatingPlanMask as SeatingPlanMask, type SeatingPlanNonNullableFields$1 as SeatingPlanNonNullableFields, type context$1_SeatingPlanThumbnail as SeatingPlanThumbnail, type SeatingPlanUiProperties$1 as SeatingPlanUiProperties, type context$1_SeatingPlanUpdatedEnvelope as SeatingPlanUpdatedEnvelope, type Section$1 as Section, type Sequencing$1 as Sequencing, ShapeTypeEnumType$1 as ShapeTypeEnumType, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, Type$1 as Type, type context$1_UpdateSeatingPlanOptions as UpdateSeatingPlanOptions, type context$1_UpdateSeatingPlanRequest as UpdateSeatingPlanRequest, type context$1_UpdateSeatingPlanResponse as UpdateSeatingPlanResponse, type context$1_UpdateSeatingPlanResponseNonNullableFields as UpdateSeatingPlanResponseNonNullableFields, type context$1_UpdateSeatingPlanThumbnailRequest as UpdateSeatingPlanThumbnailRequest, type context$1_UpdateSeatingPlanThumbnailResponse as UpdateSeatingPlanThumbnailResponse, type VerticalSequencing$1 as VerticalSequencing, WebhookIdentityType$1 as WebhookIdentityType, type context$1__publicCopySeatingPlanType as _publicCopySeatingPlanType, type context$1__publicCreateSeatingPlanType as _publicCreateSeatingPlanType, type context$1__publicDeleteSeatingPlanType as _publicDeleteSeatingPlanType, type context$1__publicFindSeatingPlanType as _publicFindSeatingPlanType, type context$1__publicGetSeatingPlanThumbnailType as _publicGetSeatingPlanThumbnailType, type context$1__publicGetSeatingPlanType as _publicGetSeatingPlanType, type context$1__publicOnSeatingPlanCreatedType as _publicOnSeatingPlanCreatedType, type context$1__publicOnSeatingPlanDeletedType as _publicOnSeatingPlanDeletedType, type context$1__publicOnSeatingPlanUpdatedType as _publicOnSeatingPlanUpdatedType, type context$1__publicQuerySeatingPlanType as _publicQuerySeatingPlanType, type context$1__publicUpdateSeatingPlanThumbnailType as _publicUpdateSeatingPlanThumbnailType, type context$1__publicUpdateSeatingPlanType as _publicUpdateSeatingPlanType, context$1_copySeatingPlan as copySeatingPlan, context$1_createSeatingPlan as createSeatingPlan, context$1_deleteSeatingPlan as deleteSeatingPlan, context$1_findSeatingPlan as findSeatingPlan, context$1_getSeatingPlan as getSeatingPlan, context$1_getSeatingPlanThumbnail as getSeatingPlanThumbnail, context$1_onSeatingPlanCreated as onSeatingPlanCreated, context$1_onSeatingPlanDeleted as onSeatingPlanDeleted, context$1_onSeatingPlanUpdated as onSeatingPlanUpdated, onSeatingPlanCreated$1 as publicOnSeatingPlanCreated, onSeatingPlanDeleted$1 as publicOnSeatingPlanDeleted, onSeatingPlanUpdated$1 as publicOnSeatingPlanUpdated, context$1_querySeatingPlan as querySeatingPlan, context$1_updateSeatingPlan as updateSeatingPlan, context$1_updateSeatingPlanThumbnail as updateSeatingPlanThumbnail };
|
|
76
1156
|
}
|
|
77
1157
|
|
|
1158
|
+
interface SeatingReservation {
|
|
1159
|
+
/**
|
|
1160
|
+
* The id of the reservation
|
|
1161
|
+
* @readonly
|
|
1162
|
+
*/
|
|
1163
|
+
_id?: string | null;
|
|
1164
|
+
/**
|
|
1165
|
+
* The seating plan id
|
|
1166
|
+
* @readonly
|
|
1167
|
+
*/
|
|
1168
|
+
seatingPlanId?: string | null;
|
|
1169
|
+
/**
|
|
1170
|
+
* The external seating plan id
|
|
1171
|
+
* @readonly
|
|
1172
|
+
*/
|
|
1173
|
+
externalSeatingPlanId?: string | null;
|
|
1174
|
+
/** Reserved places */
|
|
1175
|
+
reservedPlaces?: PlaceReservation[];
|
|
1176
|
+
/**
|
|
1177
|
+
* A client defined external id for cross referencing.
|
|
1178
|
+
* Can reference external entities.
|
|
1179
|
+
* Format: "{fqdn}:{entity guid}"
|
|
1180
|
+
*/
|
|
1181
|
+
externalId?: string | null;
|
|
1182
|
+
}
|
|
1183
|
+
interface PlaceReservation {
|
|
1184
|
+
/** The place id. */
|
|
1185
|
+
_id?: string;
|
|
1186
|
+
/**
|
|
1187
|
+
* Number of places in the spot. If not provided - defaults to 1.
|
|
1188
|
+
* Used to reserve for more that one place in areas.
|
|
1189
|
+
*/
|
|
1190
|
+
capacity?: number | null;
|
|
1191
|
+
/**
|
|
1192
|
+
* Optional section label.
|
|
1193
|
+
* @readonly
|
|
1194
|
+
*/
|
|
1195
|
+
sectionLabel?: string | null;
|
|
1196
|
+
/**
|
|
1197
|
+
* Area label.
|
|
1198
|
+
* @readonly
|
|
1199
|
+
*/
|
|
1200
|
+
areaLabel?: string | null;
|
|
1201
|
+
/**
|
|
1202
|
+
* Table label.
|
|
1203
|
+
* @readonly
|
|
1204
|
+
*/
|
|
1205
|
+
tableLabel?: string | null;
|
|
1206
|
+
/**
|
|
1207
|
+
* Row label.
|
|
1208
|
+
* @readonly
|
|
1209
|
+
*/
|
|
1210
|
+
rowLabel?: string | null;
|
|
1211
|
+
/**
|
|
1212
|
+
* Seat label in a row or table.
|
|
1213
|
+
* @readonly
|
|
1214
|
+
*/
|
|
1215
|
+
seatLabel?: string | null;
|
|
1216
|
+
}
|
|
1217
|
+
interface SeatingPlanCategoriesSummaryUpdated {
|
|
1218
|
+
/** Seating plan id */
|
|
1219
|
+
seatingPlanId?: string;
|
|
1220
|
+
/** External seating plan id */
|
|
1221
|
+
externalSeatingPlanId?: string | null;
|
|
1222
|
+
/** Ticket counts by category */
|
|
1223
|
+
categories?: CategoryDetails[];
|
|
1224
|
+
/**
|
|
1225
|
+
* Summary revision.
|
|
1226
|
+
* @readonly
|
|
1227
|
+
*/
|
|
1228
|
+
revision?: string | null;
|
|
1229
|
+
}
|
|
1230
|
+
interface CategoryDetails {
|
|
1231
|
+
/**
|
|
1232
|
+
* Seating plan id
|
|
1233
|
+
* @readonly
|
|
1234
|
+
*/
|
|
1235
|
+
seatingPlanId?: string | null;
|
|
1236
|
+
/**
|
|
1237
|
+
* External seating plan id
|
|
1238
|
+
* @readonly
|
|
1239
|
+
*/
|
|
1240
|
+
externalSeatingPlanId?: string | null;
|
|
1241
|
+
/**
|
|
1242
|
+
* External category id
|
|
1243
|
+
* @readonly
|
|
1244
|
+
*/
|
|
1245
|
+
externalCategoryId?: string | null;
|
|
1246
|
+
/**
|
|
1247
|
+
* Total capacity in the category
|
|
1248
|
+
* @readonly
|
|
1249
|
+
*/
|
|
1250
|
+
totalCapacity?: number | null;
|
|
1251
|
+
/**
|
|
1252
|
+
* Already reserved capacity
|
|
1253
|
+
* @readonly
|
|
1254
|
+
*/
|
|
1255
|
+
reserved?: number | null;
|
|
1256
|
+
}
|
|
1257
|
+
interface InvalidateCache extends InvalidateCacheGetByOneOf {
|
|
1258
|
+
/** Invalidate by msId. NOT recommended, as this will invalidate the entire site cache! */
|
|
1259
|
+
metaSiteId?: string;
|
|
1260
|
+
/** Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache! */
|
|
1261
|
+
siteId?: string;
|
|
1262
|
+
/** Invalidate by App */
|
|
1263
|
+
app?: App;
|
|
1264
|
+
/** Invalidate by page id */
|
|
1265
|
+
page?: Page;
|
|
1266
|
+
/** Invalidate by URI path */
|
|
1267
|
+
uri?: URI;
|
|
1268
|
+
/** Invalidate by file (for media files such as PDFs) */
|
|
1269
|
+
file?: File;
|
|
1270
|
+
/** tell us why you're invalidating the cache. You don't need to add your app name */
|
|
1271
|
+
reason?: string | null;
|
|
1272
|
+
/** Is local DS */
|
|
1273
|
+
localDc?: boolean;
|
|
1274
|
+
}
|
|
1275
|
+
/** @oneof */
|
|
1276
|
+
interface InvalidateCacheGetByOneOf {
|
|
1277
|
+
/** Invalidate by msId. NOT recommended, as this will invalidate the entire site cache! */
|
|
1278
|
+
metaSiteId?: string;
|
|
1279
|
+
/** Invalidate by Site ID. NOT recommended, as this will invalidate the entire site cache! */
|
|
1280
|
+
siteId?: string;
|
|
1281
|
+
/** Invalidate by App */
|
|
1282
|
+
app?: App;
|
|
1283
|
+
/** Invalidate by page id */
|
|
1284
|
+
page?: Page;
|
|
1285
|
+
/** Invalidate by URI path */
|
|
1286
|
+
uri?: URI;
|
|
1287
|
+
/** Invalidate by file (for media files such as PDFs) */
|
|
1288
|
+
file?: File;
|
|
1289
|
+
}
|
|
1290
|
+
interface App {
|
|
1291
|
+
/** The AppDefId */
|
|
1292
|
+
appDefId?: string;
|
|
1293
|
+
/** The instance Id */
|
|
1294
|
+
instanceId?: string;
|
|
1295
|
+
}
|
|
1296
|
+
interface Page {
|
|
1297
|
+
/** the msid the page is on */
|
|
1298
|
+
metaSiteId?: string;
|
|
1299
|
+
/** Invalidate by Page ID */
|
|
1300
|
+
pageId?: string;
|
|
1301
|
+
}
|
|
1302
|
+
interface URI {
|
|
1303
|
+
/** the msid the URI is on */
|
|
1304
|
+
metaSiteId?: string;
|
|
1305
|
+
/** URI path to invalidate (e.g. page/my/path) - without leading/trailing slashes */
|
|
1306
|
+
uriPath?: string;
|
|
1307
|
+
}
|
|
1308
|
+
interface File {
|
|
1309
|
+
/** the msid the file is related to */
|
|
1310
|
+
metaSiteId?: string;
|
|
1311
|
+
/** Invalidate by filename (for media files such as PDFs) */
|
|
1312
|
+
fileName?: string;
|
|
1313
|
+
}
|
|
1314
|
+
interface CreateSeatingReservationRequest {
|
|
1315
|
+
/** A reservation to create */
|
|
1316
|
+
reservation?: SeatingReservation;
|
|
1317
|
+
}
|
|
1318
|
+
interface CreateSeatingReservationResponse {
|
|
1319
|
+
/** Created reservation */
|
|
1320
|
+
reservation?: SeatingReservation;
|
|
1321
|
+
}
|
|
1322
|
+
interface Places {
|
|
1323
|
+
/** Places */
|
|
1324
|
+
places?: string[];
|
|
1325
|
+
}
|
|
1326
|
+
interface UnavailablePlaces {
|
|
1327
|
+
/** Places that cannot be reserved */
|
|
1328
|
+
unavailablePlaces?: string[];
|
|
1329
|
+
/** Reservation error details */
|
|
1330
|
+
reservationErrorDetails?: ReservationErrorDetails[];
|
|
1331
|
+
}
|
|
1332
|
+
interface ReservationErrorDetails {
|
|
1333
|
+
/** Place */
|
|
1334
|
+
_id?: string;
|
|
1335
|
+
/** Available capacity */
|
|
1336
|
+
available?: number;
|
|
1337
|
+
/** Requested capacity */
|
|
1338
|
+
requested?: number;
|
|
1339
|
+
}
|
|
1340
|
+
interface GetReservationRequest {
|
|
1341
|
+
/** The id of the reservation to return */
|
|
1342
|
+
_id: string | null;
|
|
1343
|
+
}
|
|
1344
|
+
interface GetReservationResponse {
|
|
1345
|
+
/** Created reservation */
|
|
1346
|
+
reservation?: SeatingReservation;
|
|
1347
|
+
}
|
|
1348
|
+
interface QuerySeatingReservationRequest {
|
|
1349
|
+
/** A query object */
|
|
1350
|
+
query: QueryV2;
|
|
1351
|
+
}
|
|
1352
|
+
interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
1353
|
+
/** Paging options to limit and skip the number of items. */
|
|
1354
|
+
paging?: Paging;
|
|
1355
|
+
/** 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`. */
|
|
1356
|
+
cursorPaging?: CursorPaging;
|
|
1357
|
+
/**
|
|
1358
|
+
* Filter object.
|
|
1359
|
+
*
|
|
1360
|
+
* Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).
|
|
1361
|
+
*/
|
|
1362
|
+
filter?: Record<string, any> | null;
|
|
1363
|
+
/**
|
|
1364
|
+
* Sort object.
|
|
1365
|
+
*
|
|
1366
|
+
* Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
|
|
1367
|
+
*/
|
|
1368
|
+
sort?: Sorting[];
|
|
1369
|
+
/** 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. */
|
|
1370
|
+
fields?: string[];
|
|
1371
|
+
/** 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. */
|
|
1372
|
+
fieldsets?: string[];
|
|
1373
|
+
}
|
|
1374
|
+
/** @oneof */
|
|
1375
|
+
interface QueryV2PagingMethodOneOf {
|
|
1376
|
+
/** Paging options to limit and skip the number of items. */
|
|
1377
|
+
paging?: Paging;
|
|
1378
|
+
/** 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`. */
|
|
1379
|
+
cursorPaging?: CursorPaging;
|
|
1380
|
+
}
|
|
1381
|
+
interface Sorting {
|
|
1382
|
+
/** Name of the field to sort by. */
|
|
1383
|
+
fieldName?: string;
|
|
1384
|
+
/** Sort order. */
|
|
1385
|
+
order?: SortOrder;
|
|
1386
|
+
}
|
|
1387
|
+
declare enum SortOrder {
|
|
1388
|
+
ASC = "ASC",
|
|
1389
|
+
DESC = "DESC"
|
|
1390
|
+
}
|
|
1391
|
+
interface Paging {
|
|
1392
|
+
/** Number of items to load. */
|
|
1393
|
+
limit?: number | null;
|
|
1394
|
+
/** Number of items to skip in the current sort order. */
|
|
1395
|
+
offset?: number | null;
|
|
1396
|
+
}
|
|
1397
|
+
interface CursorPaging {
|
|
1398
|
+
/** Maximum number of items to return in the results. */
|
|
1399
|
+
limit?: number | null;
|
|
1400
|
+
/**
|
|
1401
|
+
* Pointer to the next or previous page in the list of results.
|
|
1402
|
+
*
|
|
1403
|
+
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
1404
|
+
* Not relevant for the first request.
|
|
1405
|
+
*/
|
|
1406
|
+
cursor?: string | null;
|
|
1407
|
+
}
|
|
1408
|
+
interface QuerySeatingReservationResponse {
|
|
1409
|
+
/** Found reservations */
|
|
1410
|
+
reservations?: SeatingReservation[];
|
|
1411
|
+
/** Paging meta data */
|
|
1412
|
+
metadata?: PagingMetadataV2;
|
|
1413
|
+
}
|
|
1414
|
+
interface PagingMetadataV2 {
|
|
1415
|
+
/** Number of items returned in the response. */
|
|
1416
|
+
count?: number | null;
|
|
1417
|
+
/** Offset that was requested. */
|
|
1418
|
+
offset?: number | null;
|
|
1419
|
+
/** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
|
|
1420
|
+
total?: number | null;
|
|
1421
|
+
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
1422
|
+
tooManyToCount?: boolean | null;
|
|
1423
|
+
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
1424
|
+
cursors?: Cursors;
|
|
1425
|
+
}
|
|
1426
|
+
interface Cursors {
|
|
1427
|
+
/** Cursor string pointing to the next page in the list of results. */
|
|
1428
|
+
next?: string | null;
|
|
1429
|
+
/** Cursor pointing to the previous page in the list of results. */
|
|
1430
|
+
prev?: string | null;
|
|
1431
|
+
}
|
|
1432
|
+
interface DeleteSeatingReservationRequest {
|
|
1433
|
+
/** The id of the reservation to delete */
|
|
1434
|
+
_id: string | null;
|
|
1435
|
+
}
|
|
1436
|
+
interface DeleteSeatingReservationResponse {
|
|
1437
|
+
/** The deleted reservation */
|
|
1438
|
+
reservation?: SeatingReservation;
|
|
1439
|
+
}
|
|
1440
|
+
interface DeleteSeatingPlaceReservationRequest {
|
|
1441
|
+
/** The id of the place reservation to delete */
|
|
1442
|
+
_id?: string | null;
|
|
1443
|
+
/** The id of the place reservation's reservation */
|
|
1444
|
+
reservationId?: string | null;
|
|
1445
|
+
}
|
|
1446
|
+
interface Empty {
|
|
1447
|
+
}
|
|
1448
|
+
interface GetReservedPlacesRequest {
|
|
1449
|
+
/** Seating plan id */
|
|
1450
|
+
_id?: string | null;
|
|
1451
|
+
}
|
|
1452
|
+
interface GetReservedPlacesResponse {
|
|
1453
|
+
/** Reserved places of the plan */
|
|
1454
|
+
placeReservations?: PlaceReservation[];
|
|
1455
|
+
}
|
|
1456
|
+
interface GetSeatingCategoriesSummaryRequest {
|
|
1457
|
+
/** Seating plan external id */
|
|
1458
|
+
externalId?: string[];
|
|
1459
|
+
}
|
|
1460
|
+
interface GetSeatingCategoriesSummaryResponse {
|
|
1461
|
+
/** Ticket counts by category */
|
|
1462
|
+
categories?: CategoryDetails[];
|
|
1463
|
+
}
|
|
1464
|
+
interface GetSeatingReservationsSummaryRequest {
|
|
1465
|
+
/** Filter for seating plan */
|
|
1466
|
+
filter: Record<string, any> | null;
|
|
1467
|
+
}
|
|
1468
|
+
interface GetSeatingReservationsSummaryResponse {
|
|
1469
|
+
plan?: SeatingPlan;
|
|
1470
|
+
seatingReservationsSummary?: SeatingReservationsSummary;
|
|
1471
|
+
}
|
|
1472
|
+
interface SeatingPlan {
|
|
1473
|
+
/**
|
|
1474
|
+
* Auto generated unique plan id
|
|
1475
|
+
* @readonly
|
|
1476
|
+
*/
|
|
1477
|
+
_id?: string | null;
|
|
1478
|
+
/**
|
|
1479
|
+
* A client defined external id for cross referencing.
|
|
1480
|
+
* Can reference external entities.
|
|
1481
|
+
* Format: "{fqdn}:{entity guid}"
|
|
1482
|
+
*/
|
|
1483
|
+
externalId?: string | null;
|
|
1484
|
+
/** Human friendly plan title */
|
|
1485
|
+
title?: string | null;
|
|
1486
|
+
/** Sections of the plan. Seating plan is divided in high level sections. */
|
|
1487
|
+
sections?: Section[];
|
|
1488
|
+
/** Categories for plan element grouping. */
|
|
1489
|
+
categories?: Category[];
|
|
1490
|
+
/**
|
|
1491
|
+
* Seating plan created timestamp.
|
|
1492
|
+
* @readonly
|
|
1493
|
+
*/
|
|
1494
|
+
_createdDate?: Date;
|
|
1495
|
+
/**
|
|
1496
|
+
* Seating plan updated timestamp.
|
|
1497
|
+
* @readonly
|
|
1498
|
+
*/
|
|
1499
|
+
_updatedDate?: Date;
|
|
1500
|
+
/**
|
|
1501
|
+
* Total capacity
|
|
1502
|
+
* @readonly
|
|
1503
|
+
*/
|
|
1504
|
+
totalCapacity?: number | null;
|
|
1505
|
+
/**
|
|
1506
|
+
* Total categories
|
|
1507
|
+
* @readonly
|
|
1508
|
+
*/
|
|
1509
|
+
totalCategories?: number | null;
|
|
1510
|
+
/**
|
|
1511
|
+
* Places not assigned to categories
|
|
1512
|
+
* @readonly
|
|
1513
|
+
*/
|
|
1514
|
+
uncategorizedPlaces?: Place[];
|
|
1515
|
+
/**
|
|
1516
|
+
* A version of the seating plan
|
|
1517
|
+
* @readonly
|
|
1518
|
+
*/
|
|
1519
|
+
version?: string | null;
|
|
1520
|
+
/** Data extensions */
|
|
1521
|
+
extendedFields?: ExtendedFields;
|
|
1522
|
+
/** Seating Plan UI settings */
|
|
1523
|
+
uiProperties?: SeatingPlanUiProperties;
|
|
1524
|
+
}
|
|
1525
|
+
interface Section {
|
|
1526
|
+
/** Unique section id */
|
|
1527
|
+
_id?: number;
|
|
1528
|
+
/** Human readable section title */
|
|
1529
|
+
title?: string | null;
|
|
1530
|
+
/**
|
|
1531
|
+
* Client configuration object
|
|
1532
|
+
* @readonly
|
|
1533
|
+
*/
|
|
1534
|
+
config?: Record<string, any> | null;
|
|
1535
|
+
/** Elements of the section. */
|
|
1536
|
+
elements?: Element[];
|
|
1537
|
+
/**
|
|
1538
|
+
* Total capacity
|
|
1539
|
+
* @readonly
|
|
1540
|
+
*/
|
|
1541
|
+
totalCapacity?: number | null;
|
|
1542
|
+
/**
|
|
1543
|
+
* Is default section
|
|
1544
|
+
* @readonly
|
|
1545
|
+
*/
|
|
1546
|
+
default?: boolean;
|
|
1547
|
+
}
|
|
1548
|
+
interface Element {
|
|
1549
|
+
/** Unique element id */
|
|
1550
|
+
_id?: number;
|
|
1551
|
+
/** User friendly title/label of the element. */
|
|
1552
|
+
title?: string | null;
|
|
1553
|
+
/** Element type */
|
|
1554
|
+
type?: Type;
|
|
1555
|
+
/** Capacity. None for Shape type Element. */
|
|
1556
|
+
capacity?: number | null;
|
|
1557
|
+
/** Assigned to a category */
|
|
1558
|
+
categoryId?: number | null;
|
|
1559
|
+
/** A place numbering meta data */
|
|
1560
|
+
sequencing?: Sequencing;
|
|
1561
|
+
/**
|
|
1562
|
+
* Place override (by seq_id)
|
|
1563
|
+
* @deprecated
|
|
1564
|
+
*/
|
|
1565
|
+
overrides?: Place[];
|
|
1566
|
+
/**
|
|
1567
|
+
* Final place sequence with overrides
|
|
1568
|
+
* @readonly
|
|
1569
|
+
*/
|
|
1570
|
+
places?: Place[];
|
|
1571
|
+
/** Element reservation options */
|
|
1572
|
+
reservationOptions?: ReservationOptions;
|
|
1573
|
+
/** Element UI settings */
|
|
1574
|
+
uiProperties?: ElementUiProperties;
|
|
1575
|
+
}
|
|
1576
|
+
declare enum Type {
|
|
1577
|
+
AREA = "AREA",
|
|
1578
|
+
ROW = "ROW",
|
|
1579
|
+
MULTI_ROW = "MULTI_ROW",
|
|
1580
|
+
TABLE = "TABLE",
|
|
1581
|
+
ROUND_TABLE = "ROUND_TABLE",
|
|
1582
|
+
SHAPE = "SHAPE"
|
|
1583
|
+
}
|
|
1584
|
+
interface Sequencing {
|
|
1585
|
+
/** First seq element */
|
|
1586
|
+
startAt?: string;
|
|
1587
|
+
/** Finite generated seq of labels */
|
|
1588
|
+
labels?: string[];
|
|
1589
|
+
/** If true - direction right to left. Otherwise left to right. */
|
|
1590
|
+
reverseOrder?: boolean | null;
|
|
1591
|
+
}
|
|
1592
|
+
interface Place {
|
|
1593
|
+
/** Local id of the place in the sequence */
|
|
1594
|
+
index?: number;
|
|
1595
|
+
/**
|
|
1596
|
+
* Generated composite unique id in the seating plan.
|
|
1597
|
+
* @readonly
|
|
1598
|
+
*/
|
|
1599
|
+
_id?: string | null;
|
|
1600
|
+
/** Unique label of the place */
|
|
1601
|
+
label?: string;
|
|
1602
|
+
/**
|
|
1603
|
+
* Max capacity per place
|
|
1604
|
+
* @readonly
|
|
1605
|
+
*/
|
|
1606
|
+
capacity?: number | null;
|
|
1607
|
+
/**
|
|
1608
|
+
* Type of the parent element
|
|
1609
|
+
* @readonly
|
|
1610
|
+
*/
|
|
1611
|
+
elementType?: Type;
|
|
1612
|
+
/**
|
|
1613
|
+
* Assigned category id
|
|
1614
|
+
* @readonly
|
|
1615
|
+
*/
|
|
1616
|
+
categoryId?: number | null;
|
|
1617
|
+
/** Place type */
|
|
1618
|
+
type?: PlaceTypeEnumType;
|
|
1619
|
+
}
|
|
1620
|
+
declare enum PlaceTypeEnumType {
|
|
1621
|
+
UNKNOWN_PROPERTY = "UNKNOWN_PROPERTY",
|
|
1622
|
+
STANDARD = "STANDARD",
|
|
1623
|
+
WHEELCHAIR = "WHEELCHAIR",
|
|
1624
|
+
ACCESSIBLE = "ACCESSIBLE",
|
|
1625
|
+
COMPANION = "COMPANION",
|
|
1626
|
+
OBSTRUCTED = "OBSTRUCTED",
|
|
1627
|
+
DISCOUNT = "DISCOUNT"
|
|
1628
|
+
}
|
|
1629
|
+
interface ReservationOptions {
|
|
1630
|
+
/** Indicates whether the entire element must be reserved */
|
|
1631
|
+
reserveWholeElement?: boolean;
|
|
1632
|
+
}
|
|
1633
|
+
interface ElementUiProperties {
|
|
1634
|
+
x?: number | null;
|
|
1635
|
+
y?: number | null;
|
|
1636
|
+
zIndex?: number | null;
|
|
1637
|
+
width?: number | null;
|
|
1638
|
+
height?: number | null;
|
|
1639
|
+
rotationAngle?: number | null;
|
|
1640
|
+
shapeType?: ShapeTypeEnumType;
|
|
1641
|
+
fontSize?: number | null;
|
|
1642
|
+
cornerRadius?: number | null;
|
|
1643
|
+
seatSpacing?: number | null;
|
|
1644
|
+
hideLabel?: boolean | null;
|
|
1645
|
+
labelPosition?: Position;
|
|
1646
|
+
seatLayout?: number[];
|
|
1647
|
+
emptyTopSeatSpaces?: number | null;
|
|
1648
|
+
/** needs research */
|
|
1649
|
+
text?: string | null;
|
|
1650
|
+
/** #F0F0F0 */
|
|
1651
|
+
color?: string | null;
|
|
1652
|
+
/** #F0F0F0 */
|
|
1653
|
+
fillColor?: string | null;
|
|
1654
|
+
/** #F0F0F0 */
|
|
1655
|
+
strokeColor?: string | null;
|
|
1656
|
+
/** px */
|
|
1657
|
+
strokeWidth?: number | null;
|
|
1658
|
+
opacity?: number | null;
|
|
1659
|
+
icon?: Icon;
|
|
1660
|
+
image?: Image;
|
|
1661
|
+
seatNumbering?: Numbering;
|
|
1662
|
+
}
|
|
1663
|
+
declare enum ShapeTypeEnumType {
|
|
1664
|
+
UNKNOWN_TYPE = "UNKNOWN_TYPE",
|
|
1665
|
+
TEXT = "TEXT",
|
|
1666
|
+
RECTANGLE = "RECTANGLE",
|
|
1667
|
+
ELLIPSE = "ELLIPSE",
|
|
1668
|
+
LINE = "LINE",
|
|
1669
|
+
ICON = "ICON",
|
|
1670
|
+
IMAGE = "IMAGE"
|
|
1671
|
+
}
|
|
1672
|
+
declare enum Position {
|
|
1673
|
+
UNKNOWN_POSITION = "UNKNOWN_POSITION",
|
|
1674
|
+
LEFT = "LEFT",
|
|
1675
|
+
RIGHT = "RIGHT",
|
|
1676
|
+
BOTH = "BOTH",
|
|
1677
|
+
NONE = "NONE"
|
|
1678
|
+
}
|
|
1679
|
+
declare enum Icon {
|
|
1680
|
+
UNKNOWN_ICON = "UNKNOWN_ICON",
|
|
1681
|
+
ENTER = "ENTER",
|
|
1682
|
+
EXIT = "EXIT",
|
|
1683
|
+
DRINKS = "DRINKS",
|
|
1684
|
+
WC = "WC",
|
|
1685
|
+
WC_MEN = "WC_MEN",
|
|
1686
|
+
WC_WOMEN = "WC_WOMEN",
|
|
1687
|
+
FOOD = "FOOD",
|
|
1688
|
+
STAIRS = "STAIRS",
|
|
1689
|
+
ELEVATOR = "ELEVATOR",
|
|
1690
|
+
SMOKING = "SMOKING",
|
|
1691
|
+
CHECKROOM = "CHECKROOM",
|
|
1692
|
+
STAGE = "STAGE"
|
|
1693
|
+
}
|
|
1694
|
+
interface Image {
|
|
1695
|
+
/** WixMedia image ID. */
|
|
1696
|
+
_id?: string;
|
|
1697
|
+
/**
|
|
1698
|
+
* Original image height.
|
|
1699
|
+
* @readonly
|
|
1700
|
+
*/
|
|
1701
|
+
height?: number;
|
|
1702
|
+
/**
|
|
1703
|
+
* Original image width.
|
|
1704
|
+
* @readonly
|
|
1705
|
+
*/
|
|
1706
|
+
width?: number;
|
|
1707
|
+
/**
|
|
1708
|
+
* WixMedia image URI.
|
|
1709
|
+
* @deprecated
|
|
1710
|
+
*/
|
|
1711
|
+
uri?: string | null;
|
|
1712
|
+
}
|
|
1713
|
+
declare enum Numbering {
|
|
1714
|
+
UNKNOWN_NUMBERING = "UNKNOWN_NUMBERING",
|
|
1715
|
+
NUMERIC = "NUMERIC",
|
|
1716
|
+
ODD_EVEN = "ODD_EVEN",
|
|
1717
|
+
ALPHABETICAL = "ALPHABETICAL"
|
|
1718
|
+
}
|
|
1719
|
+
interface MultiRowProperties {
|
|
1720
|
+
/** Individual rows of the multi row element */
|
|
1721
|
+
rows?: RowElement[];
|
|
1722
|
+
/** Meta data for vertical labeling */
|
|
1723
|
+
verticalSequencing?: VerticalSequencing;
|
|
1724
|
+
/** Row spacing */
|
|
1725
|
+
rowSpacing?: number | null;
|
|
1726
|
+
}
|
|
1727
|
+
interface RowElement {
|
|
1728
|
+
/** Unique row id */
|
|
1729
|
+
_id?: number;
|
|
1730
|
+
/** User friendly title/label of the row */
|
|
1731
|
+
title?: string | null;
|
|
1732
|
+
/** Row capacity */
|
|
1733
|
+
capacity?: number | null;
|
|
1734
|
+
/** Assigned to a category */
|
|
1735
|
+
categoryId?: number | null;
|
|
1736
|
+
/** A place numbering meta data for a single row */
|
|
1737
|
+
sequencing?: Sequencing;
|
|
1738
|
+
/** Row UI settings */
|
|
1739
|
+
uiProperties?: RowElementUiProperties;
|
|
1740
|
+
}
|
|
1741
|
+
interface RowElementUiProperties {
|
|
1742
|
+
/** Relative x position to the parent element */
|
|
1743
|
+
relativeX?: number | null;
|
|
1744
|
+
/** Seat spacing */
|
|
1745
|
+
seatSpacing?: number | null;
|
|
1746
|
+
/** Label position */
|
|
1747
|
+
labelPosition?: Position;
|
|
1748
|
+
/** Seat numbering */
|
|
1749
|
+
seatNumbering?: Numbering;
|
|
1750
|
+
}
|
|
1751
|
+
interface VerticalSequencing {
|
|
1752
|
+
/** First seq element */
|
|
1753
|
+
startAt?: string;
|
|
1754
|
+
/** Row numbering */
|
|
1755
|
+
rowNumbering?: Numbering;
|
|
1756
|
+
/** If true - direction bottom to top. Otherwise top to bottom. */
|
|
1757
|
+
reverseOrder?: boolean | null;
|
|
1758
|
+
}
|
|
1759
|
+
interface Category {
|
|
1760
|
+
/** Local category id within the seating plan */
|
|
1761
|
+
_id?: number;
|
|
1762
|
+
/**
|
|
1763
|
+
* A client defined external id for cross referencing.
|
|
1764
|
+
* Can reference external entities.
|
|
1765
|
+
* Format: "{entity_fqdn}:{entity_id}"
|
|
1766
|
+
*/
|
|
1767
|
+
externalId?: string | null;
|
|
1768
|
+
/** Category label */
|
|
1769
|
+
title?: string;
|
|
1770
|
+
/**
|
|
1771
|
+
* Client configuration object
|
|
1772
|
+
* @readonly
|
|
1773
|
+
*/
|
|
1774
|
+
config?: Record<string, any> | null;
|
|
1775
|
+
/**
|
|
1776
|
+
* Total capacity
|
|
1777
|
+
* @readonly
|
|
1778
|
+
*/
|
|
1779
|
+
totalCapacity?: number | null;
|
|
1780
|
+
/**
|
|
1781
|
+
* Possible places
|
|
1782
|
+
* @readonly
|
|
1783
|
+
*/
|
|
1784
|
+
places?: Place[];
|
|
1785
|
+
}
|
|
1786
|
+
interface ExtendedFields {
|
|
1787
|
+
/**
|
|
1788
|
+
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
1789
|
+
* The value of each key is structured according to the schema defined when the extended fields were configured.
|
|
1790
|
+
*
|
|
1791
|
+
* You can only access fields for which you have the appropriate permissions.
|
|
1792
|
+
*
|
|
1793
|
+
* Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).
|
|
1794
|
+
*/
|
|
1795
|
+
namespaces?: Record<string, Record<string, any>>;
|
|
1796
|
+
}
|
|
1797
|
+
interface SeatingPlanUiProperties {
|
|
1798
|
+
/** #F0F0F0 */
|
|
1799
|
+
backgroundColor?: string | null;
|
|
1800
|
+
backgroundOpacity?: number | null;
|
|
1801
|
+
}
|
|
1802
|
+
interface ElementGroup {
|
|
1803
|
+
/** Unique element group id */
|
|
1804
|
+
_id?: number;
|
|
1805
|
+
/** Parent group id */
|
|
1806
|
+
parentElementGroupId?: number | null;
|
|
1807
|
+
/** Element group UI settings */
|
|
1808
|
+
uiProperties?: ElementGroupUiProperties;
|
|
1809
|
+
}
|
|
1810
|
+
interface ElementGroupUiProperties {
|
|
1811
|
+
/** x position of the group */
|
|
1812
|
+
x?: number | null;
|
|
1813
|
+
/** y position of the group */
|
|
1814
|
+
y?: number | null;
|
|
1815
|
+
/** width of the group */
|
|
1816
|
+
width?: number | null;
|
|
1817
|
+
/** height of the group */
|
|
1818
|
+
height?: number | null;
|
|
1819
|
+
/** rotation angle of the group */
|
|
1820
|
+
rotationAngle?: number | null;
|
|
1821
|
+
}
|
|
1822
|
+
interface SeatingReservationsSummary {
|
|
1823
|
+
places?: PlaceReservationDetails[];
|
|
1824
|
+
}
|
|
1825
|
+
interface PlaceReservationDetails {
|
|
1826
|
+
placeId?: string;
|
|
1827
|
+
occupied?: number;
|
|
1828
|
+
}
|
|
1829
|
+
interface RegenerateSummariesRequest {
|
|
1830
|
+
/** Seating plan id */
|
|
1831
|
+
planId?: string | null;
|
|
1832
|
+
}
|
|
1833
|
+
interface RegenerateSummariesResponse {
|
|
1834
|
+
seatingReservationsSummary?: SeatingReservationsSummary;
|
|
1835
|
+
categories?: CategoryDetails[];
|
|
1836
|
+
}
|
|
1837
|
+
interface DomainEvent extends DomainEventBodyOneOf {
|
|
1838
|
+
createdEvent?: EntityCreatedEvent;
|
|
1839
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
1840
|
+
deletedEvent?: EntityDeletedEvent;
|
|
1841
|
+
actionEvent?: ActionEvent;
|
|
1842
|
+
/**
|
|
1843
|
+
* Unique event ID.
|
|
1844
|
+
* Allows clients to ignore duplicate webhooks.
|
|
1845
|
+
*/
|
|
1846
|
+
_id?: string;
|
|
1847
|
+
/**
|
|
1848
|
+
* Assumes actions are also always typed to an entity_type
|
|
1849
|
+
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
1850
|
+
*/
|
|
1851
|
+
entityFqdn?: string;
|
|
1852
|
+
/**
|
|
1853
|
+
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
1854
|
+
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
1855
|
+
* Example: created/updated/deleted/started/completed/email_opened
|
|
1856
|
+
*/
|
|
1857
|
+
slug?: string;
|
|
1858
|
+
/** ID of the entity associated with the event. */
|
|
1859
|
+
entityId?: string;
|
|
1860
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
1861
|
+
eventTime?: Date;
|
|
1862
|
+
/**
|
|
1863
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
1864
|
+
* (for example, GDPR).
|
|
1865
|
+
*/
|
|
1866
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
1867
|
+
/** If present, indicates the action that triggered the event. */
|
|
1868
|
+
originatedFrom?: string | null;
|
|
1869
|
+
/**
|
|
1870
|
+
* A sequence number defining the order of updates to the underlying entity.
|
|
1871
|
+
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
1872
|
+
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
1873
|
+
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
1874
|
+
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
1875
|
+
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
1876
|
+
*/
|
|
1877
|
+
entityEventSequence?: string | null;
|
|
1878
|
+
}
|
|
1879
|
+
/** @oneof */
|
|
1880
|
+
interface DomainEventBodyOneOf {
|
|
1881
|
+
createdEvent?: EntityCreatedEvent;
|
|
1882
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
1883
|
+
deletedEvent?: EntityDeletedEvent;
|
|
1884
|
+
actionEvent?: ActionEvent;
|
|
1885
|
+
}
|
|
1886
|
+
interface EntityCreatedEvent {
|
|
1887
|
+
entity?: string;
|
|
1888
|
+
}
|
|
1889
|
+
interface RestoreInfo {
|
|
1890
|
+
deletedDate?: Date;
|
|
1891
|
+
}
|
|
1892
|
+
interface EntityUpdatedEvent {
|
|
1893
|
+
/**
|
|
1894
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
1895
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
1896
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
1897
|
+
*/
|
|
1898
|
+
currentEntity?: string;
|
|
1899
|
+
}
|
|
1900
|
+
interface EntityDeletedEvent {
|
|
1901
|
+
/** Entity that was deleted */
|
|
1902
|
+
deletedEntity?: string | null;
|
|
1903
|
+
}
|
|
1904
|
+
interface ActionEvent {
|
|
1905
|
+
body?: string;
|
|
1906
|
+
}
|
|
1907
|
+
interface MessageEnvelope {
|
|
1908
|
+
/** App instance ID. */
|
|
1909
|
+
instanceId?: string | null;
|
|
1910
|
+
/** Event type. */
|
|
1911
|
+
eventType?: string;
|
|
1912
|
+
/** The identification type and identity data. */
|
|
1913
|
+
identity?: IdentificationData;
|
|
1914
|
+
/** Stringify payload. */
|
|
1915
|
+
data?: string;
|
|
1916
|
+
}
|
|
1917
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
1918
|
+
/** ID of a site visitor that has not logged in to the site. */
|
|
1919
|
+
anonymousVisitorId?: string;
|
|
1920
|
+
/** ID of a site visitor that has logged in to the site. */
|
|
1921
|
+
memberId?: string;
|
|
1922
|
+
/** ID of a Wix user (site owner, contributor, etc.). */
|
|
1923
|
+
wixUserId?: string;
|
|
1924
|
+
/** ID of an app. */
|
|
1925
|
+
appId?: string;
|
|
1926
|
+
/** @readonly */
|
|
1927
|
+
identityType?: WebhookIdentityType;
|
|
1928
|
+
}
|
|
1929
|
+
/** @oneof */
|
|
1930
|
+
interface IdentificationDataIdOneOf {
|
|
1931
|
+
/** ID of a site visitor that has not logged in to the site. */
|
|
1932
|
+
anonymousVisitorId?: string;
|
|
1933
|
+
/** ID of a site visitor that has logged in to the site. */
|
|
1934
|
+
memberId?: string;
|
|
1935
|
+
/** ID of a Wix user (site owner, contributor, etc.). */
|
|
1936
|
+
wixUserId?: string;
|
|
1937
|
+
/** ID of an app. */
|
|
1938
|
+
appId?: string;
|
|
1939
|
+
}
|
|
1940
|
+
declare enum WebhookIdentityType {
|
|
1941
|
+
UNKNOWN = "UNKNOWN",
|
|
1942
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
1943
|
+
MEMBER = "MEMBER",
|
|
1944
|
+
WIX_USER = "WIX_USER",
|
|
1945
|
+
APP = "APP"
|
|
1946
|
+
}
|
|
1947
|
+
interface PlaceReservationNonNullableFields {
|
|
1948
|
+
_id: string;
|
|
1949
|
+
}
|
|
1950
|
+
interface SeatingReservationNonNullableFields {
|
|
1951
|
+
reservedPlaces: PlaceReservationNonNullableFields[];
|
|
1952
|
+
}
|
|
1953
|
+
interface CreateSeatingReservationResponseNonNullableFields {
|
|
1954
|
+
reservation?: SeatingReservationNonNullableFields;
|
|
1955
|
+
}
|
|
1956
|
+
interface GetReservationResponseNonNullableFields {
|
|
1957
|
+
reservation?: SeatingReservationNonNullableFields;
|
|
1958
|
+
}
|
|
1959
|
+
interface QuerySeatingReservationResponseNonNullableFields {
|
|
1960
|
+
reservations: SeatingReservationNonNullableFields[];
|
|
1961
|
+
}
|
|
1962
|
+
interface DeleteSeatingReservationResponseNonNullableFields {
|
|
1963
|
+
reservation?: SeatingReservationNonNullableFields;
|
|
1964
|
+
}
|
|
1965
|
+
interface SequencingNonNullableFields {
|
|
1966
|
+
startAt: string;
|
|
1967
|
+
labels: string[];
|
|
1968
|
+
}
|
|
1969
|
+
interface PlaceNonNullableFields {
|
|
1970
|
+
index: number;
|
|
1971
|
+
label: string;
|
|
1972
|
+
elementType: Type;
|
|
1973
|
+
type: PlaceTypeEnumType;
|
|
1974
|
+
}
|
|
1975
|
+
interface ReservationOptionsNonNullableFields {
|
|
1976
|
+
reserveWholeElement: boolean;
|
|
1977
|
+
}
|
|
1978
|
+
interface ImageNonNullableFields {
|
|
1979
|
+
_id: string;
|
|
1980
|
+
height: number;
|
|
1981
|
+
width: number;
|
|
1982
|
+
}
|
|
1983
|
+
interface ElementUiPropertiesNonNullableFields {
|
|
1984
|
+
shapeType: ShapeTypeEnumType;
|
|
1985
|
+
labelPosition: Position;
|
|
1986
|
+
seatLayout: number[];
|
|
1987
|
+
icon: Icon;
|
|
1988
|
+
image?: ImageNonNullableFields;
|
|
1989
|
+
seatNumbering: Numbering;
|
|
1990
|
+
}
|
|
1991
|
+
interface RowElementUiPropertiesNonNullableFields {
|
|
1992
|
+
labelPosition: Position;
|
|
1993
|
+
seatNumbering: Numbering;
|
|
1994
|
+
}
|
|
1995
|
+
interface RowElementNonNullableFields {
|
|
1996
|
+
_id: number;
|
|
1997
|
+
sequencing?: SequencingNonNullableFields;
|
|
1998
|
+
uiProperties?: RowElementUiPropertiesNonNullableFields;
|
|
1999
|
+
}
|
|
2000
|
+
interface VerticalSequencingNonNullableFields {
|
|
2001
|
+
startAt: string;
|
|
2002
|
+
rowNumbering: Numbering;
|
|
2003
|
+
}
|
|
2004
|
+
interface MultiRowPropertiesNonNullableFields {
|
|
2005
|
+
rows: RowElementNonNullableFields[];
|
|
2006
|
+
verticalSequencing?: VerticalSequencingNonNullableFields;
|
|
2007
|
+
}
|
|
2008
|
+
interface ElementNonNullableFields {
|
|
2009
|
+
_id: number;
|
|
2010
|
+
type: Type;
|
|
2011
|
+
sequencing?: SequencingNonNullableFields;
|
|
2012
|
+
overrides: PlaceNonNullableFields[];
|
|
2013
|
+
places: PlaceNonNullableFields[];
|
|
2014
|
+
reservationOptions?: ReservationOptionsNonNullableFields;
|
|
2015
|
+
uiProperties?: ElementUiPropertiesNonNullableFields;
|
|
2016
|
+
multiRowProperties?: MultiRowPropertiesNonNullableFields;
|
|
2017
|
+
}
|
|
2018
|
+
interface SectionNonNullableFields {
|
|
2019
|
+
_id: number;
|
|
2020
|
+
elements: ElementNonNullableFields[];
|
|
2021
|
+
default: boolean;
|
|
2022
|
+
}
|
|
2023
|
+
interface CategoryNonNullableFields {
|
|
2024
|
+
_id: number;
|
|
2025
|
+
title: string;
|
|
2026
|
+
places: PlaceNonNullableFields[];
|
|
2027
|
+
}
|
|
2028
|
+
interface ElementGroupNonNullableFields {
|
|
2029
|
+
_id: number;
|
|
2030
|
+
}
|
|
2031
|
+
interface SeatingPlanNonNullableFields {
|
|
2032
|
+
sections: SectionNonNullableFields[];
|
|
2033
|
+
categories: CategoryNonNullableFields[];
|
|
2034
|
+
uncategorizedPlaces: PlaceNonNullableFields[];
|
|
2035
|
+
elementGroups: ElementGroupNonNullableFields[];
|
|
2036
|
+
}
|
|
2037
|
+
interface PlaceReservationDetailsNonNullableFields {
|
|
2038
|
+
placeId: string;
|
|
2039
|
+
occupied: number;
|
|
2040
|
+
}
|
|
2041
|
+
interface SeatingReservationsSummaryNonNullableFields {
|
|
2042
|
+
places: PlaceReservationDetailsNonNullableFields[];
|
|
2043
|
+
}
|
|
2044
|
+
interface GetSeatingReservationsSummaryResponseNonNullableFields {
|
|
2045
|
+
plan?: SeatingPlanNonNullableFields;
|
|
2046
|
+
seatingReservationsSummary?: SeatingReservationsSummaryNonNullableFields;
|
|
2047
|
+
}
|
|
2048
|
+
interface BaseEventMetadata {
|
|
2049
|
+
/** App instance ID. */
|
|
2050
|
+
instanceId?: string | null;
|
|
2051
|
+
/** Event type. */
|
|
2052
|
+
eventType?: string;
|
|
2053
|
+
/** The identification type and identity data. */
|
|
2054
|
+
identity?: IdentificationData;
|
|
2055
|
+
}
|
|
2056
|
+
interface EventMetadata extends BaseEventMetadata {
|
|
2057
|
+
/**
|
|
2058
|
+
* Unique event ID.
|
|
2059
|
+
* Allows clients to ignore duplicate webhooks.
|
|
2060
|
+
*/
|
|
2061
|
+
_id?: string;
|
|
2062
|
+
/**
|
|
2063
|
+
* Assumes actions are also always typed to an entity_type
|
|
2064
|
+
* Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
|
|
2065
|
+
*/
|
|
2066
|
+
entityFqdn?: string;
|
|
2067
|
+
/**
|
|
2068
|
+
* This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
|
|
2069
|
+
* This is although the created/updated/deleted notion is duplication of the oneof types
|
|
2070
|
+
* Example: created/updated/deleted/started/completed/email_opened
|
|
2071
|
+
*/
|
|
2072
|
+
slug?: string;
|
|
2073
|
+
/** ID of the entity associated with the event. */
|
|
2074
|
+
entityId?: string;
|
|
2075
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
|
|
2076
|
+
eventTime?: Date;
|
|
2077
|
+
/**
|
|
2078
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
2079
|
+
* (for example, GDPR).
|
|
2080
|
+
*/
|
|
2081
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
2082
|
+
/** If present, indicates the action that triggered the event. */
|
|
2083
|
+
originatedFrom?: string | null;
|
|
2084
|
+
/**
|
|
2085
|
+
* A sequence number defining the order of updates to the underlying entity.
|
|
2086
|
+
* For example, given that some entity was updated at 16:00 and than again at 16:01,
|
|
2087
|
+
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
2088
|
+
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
2089
|
+
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
2090
|
+
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
2091
|
+
*/
|
|
2092
|
+
entityEventSequence?: string | null;
|
|
2093
|
+
}
|
|
2094
|
+
interface SeatingReservationCreatedEnvelope {
|
|
2095
|
+
entity: SeatingReservation;
|
|
2096
|
+
metadata: EventMetadata;
|
|
2097
|
+
}
|
|
2098
|
+
interface SeatingReservationDeletedEnvelope {
|
|
2099
|
+
entity: SeatingReservation;
|
|
2100
|
+
metadata: EventMetadata;
|
|
2101
|
+
}
|
|
2102
|
+
interface CreateSeatingReservationOptions {
|
|
2103
|
+
/** A reservation to create */
|
|
2104
|
+
reservation?: SeatingReservation;
|
|
2105
|
+
}
|
|
2106
|
+
interface QueryCursorResult {
|
|
2107
|
+
cursors: Cursors;
|
|
2108
|
+
hasNext: () => boolean;
|
|
2109
|
+
hasPrev: () => boolean;
|
|
2110
|
+
length: number;
|
|
2111
|
+
pageSize: number;
|
|
2112
|
+
}
|
|
2113
|
+
interface ReservationsQueryResult extends QueryCursorResult {
|
|
2114
|
+
items: SeatingReservation[];
|
|
2115
|
+
query: ReservationsQueryBuilder;
|
|
2116
|
+
next: () => Promise<ReservationsQueryResult>;
|
|
2117
|
+
prev: () => Promise<ReservationsQueryResult>;
|
|
2118
|
+
}
|
|
2119
|
+
interface ReservationsQueryBuilder {
|
|
2120
|
+
/** @param limit - Number of items to return, which is also the `pageSize` of the results object.
|
|
2121
|
+
* @documentationMaturity preview
|
|
2122
|
+
*/
|
|
2123
|
+
limit: (limit: number) => ReservationsQueryBuilder;
|
|
2124
|
+
/** @param cursor - A pointer to specific record
|
|
2125
|
+
* @documentationMaturity preview
|
|
2126
|
+
*/
|
|
2127
|
+
skipTo: (cursor: string) => ReservationsQueryBuilder;
|
|
2128
|
+
/** @documentationMaturity preview */
|
|
2129
|
+
find: () => Promise<ReservationsQueryResult>;
|
|
2130
|
+
}
|
|
2131
|
+
interface GetSeatingCategoriesSummaryOptions {
|
|
2132
|
+
/** Seating plan external id */
|
|
2133
|
+
externalId?: string[];
|
|
2134
|
+
}
|
|
2135
|
+
|
|
2136
|
+
declare function createSeatingReservation$1(httpClient: HttpClient): CreateSeatingReservationSignature;
|
|
2137
|
+
interface CreateSeatingReservationSignature {
|
|
2138
|
+
/**
|
|
2139
|
+
* Creates a seating reservation
|
|
2140
|
+
* @returns Created reservation
|
|
2141
|
+
*/
|
|
2142
|
+
(options?: CreateSeatingReservationOptions | undefined): Promise<SeatingReservation & SeatingReservationNonNullableFields>;
|
|
2143
|
+
}
|
|
2144
|
+
declare function getReservation$1(httpClient: HttpClient): GetReservationSignature;
|
|
2145
|
+
interface GetReservationSignature {
|
|
2146
|
+
/**
|
|
2147
|
+
* Returns available seat counts by category id
|
|
2148
|
+
* @param - The id of the reservation to return
|
|
2149
|
+
* @returns Created reservation
|
|
2150
|
+
*/
|
|
2151
|
+
(_id: string | null): Promise<SeatingReservation & SeatingReservationNonNullableFields>;
|
|
2152
|
+
}
|
|
2153
|
+
declare function querySeatingReservation$1(httpClient: HttpClient): QuerySeatingReservationSignature;
|
|
2154
|
+
interface QuerySeatingReservationSignature {
|
|
2155
|
+
/**
|
|
2156
|
+
* Lists seating reservations by query request
|
|
2157
|
+
*/
|
|
2158
|
+
(): ReservationsQueryBuilder;
|
|
2159
|
+
}
|
|
2160
|
+
declare function deleteSeatingReservation$1(httpClient: HttpClient): DeleteSeatingReservationSignature;
|
|
2161
|
+
interface DeleteSeatingReservationSignature {
|
|
2162
|
+
/**
|
|
2163
|
+
* Deletes the seating reservation
|
|
2164
|
+
* @param - The id of the reservation to delete
|
|
2165
|
+
*/
|
|
2166
|
+
(_id: string | null): Promise<DeleteSeatingReservationResponse & DeleteSeatingReservationResponseNonNullableFields>;
|
|
2167
|
+
}
|
|
2168
|
+
declare function getSeatingCategoriesSummary$1(httpClient: HttpClient): GetSeatingCategoriesSummarySignature;
|
|
2169
|
+
interface GetSeatingCategoriesSummarySignature {
|
|
2170
|
+
/** */
|
|
2171
|
+
(options?: GetSeatingCategoriesSummaryOptions | undefined): Promise<GetSeatingCategoriesSummaryResponse>;
|
|
2172
|
+
}
|
|
2173
|
+
declare function getSeatingReservationsSummary$1(httpClient: HttpClient): GetSeatingReservationsSummarySignature;
|
|
2174
|
+
interface GetSeatingReservationsSummarySignature {
|
|
2175
|
+
/** @param - Filter for seating plan */
|
|
2176
|
+
(filter: Record<string, any> | null): Promise<GetSeatingReservationsSummaryResponse & GetSeatingReservationsSummaryResponseNonNullableFields>;
|
|
2177
|
+
}
|
|
2178
|
+
declare const onSeatingReservationCreated$1: EventDefinition<SeatingReservationCreatedEnvelope, "wix.seating.v1.seating_reservation_created">;
|
|
2179
|
+
declare const onSeatingReservationDeleted$1: EventDefinition<SeatingReservationDeletedEnvelope, "wix.seating.v1.seating_reservation_deleted">;
|
|
2180
|
+
|
|
78
2181
|
declare function createRESTModule<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
|
|
79
2182
|
|
|
80
2183
|
declare function createEventModule<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
81
2184
|
|
|
82
|
-
|
|
83
|
-
declare const
|
|
84
|
-
|
|
85
|
-
declare const
|
|
86
|
-
|
|
87
|
-
declare const
|
|
88
|
-
|
|
89
|
-
declare const
|
|
2185
|
+
type _publicCreateSeatingReservationType = typeof createSeatingReservation$1;
|
|
2186
|
+
declare const createSeatingReservation: ReturnType<typeof createRESTModule<_publicCreateSeatingReservationType>>;
|
|
2187
|
+
type _publicGetReservationType = typeof getReservation$1;
|
|
2188
|
+
declare const getReservation: ReturnType<typeof createRESTModule<_publicGetReservationType>>;
|
|
2189
|
+
type _publicQuerySeatingReservationType = typeof querySeatingReservation$1;
|
|
2190
|
+
declare const querySeatingReservation: ReturnType<typeof createRESTModule<_publicQuerySeatingReservationType>>;
|
|
2191
|
+
type _publicDeleteSeatingReservationType = typeof deleteSeatingReservation$1;
|
|
2192
|
+
declare const deleteSeatingReservation: ReturnType<typeof createRESTModule<_publicDeleteSeatingReservationType>>;
|
|
2193
|
+
type _publicGetSeatingCategoriesSummaryType = typeof getSeatingCategoriesSummary$1;
|
|
2194
|
+
declare const getSeatingCategoriesSummary: ReturnType<typeof createRESTModule<_publicGetSeatingCategoriesSummaryType>>;
|
|
2195
|
+
type _publicGetSeatingReservationsSummaryType = typeof getSeatingReservationsSummary$1;
|
|
2196
|
+
declare const getSeatingReservationsSummary: ReturnType<typeof createRESTModule<_publicGetSeatingReservationsSummaryType>>;
|
|
2197
|
+
|
|
2198
|
+
type _publicOnSeatingReservationCreatedType = typeof onSeatingReservationCreated$1;
|
|
2199
|
+
/** */
|
|
2200
|
+
declare const onSeatingReservationCreated: ReturnType<typeof createEventModule<_publicOnSeatingReservationCreatedType>>;
|
|
2201
|
+
|
|
2202
|
+
type _publicOnSeatingReservationDeletedType = typeof onSeatingReservationDeleted$1;
|
|
2203
|
+
/** */
|
|
2204
|
+
declare const onSeatingReservationDeleted: ReturnType<typeof createEventModule<_publicOnSeatingReservationDeletedType>>;
|
|
90
2205
|
|
|
2206
|
+
type context_ActionEvent = ActionEvent;
|
|
2207
|
+
type context_App = App;
|
|
2208
|
+
type context_BaseEventMetadata = BaseEventMetadata;
|
|
2209
|
+
type context_Category = Category;
|
|
2210
|
+
type context_CategoryDetails = CategoryDetails;
|
|
2211
|
+
type context_CreateSeatingReservationOptions = CreateSeatingReservationOptions;
|
|
2212
|
+
type context_CreateSeatingReservationRequest = CreateSeatingReservationRequest;
|
|
2213
|
+
type context_CreateSeatingReservationResponse = CreateSeatingReservationResponse;
|
|
2214
|
+
type context_CreateSeatingReservationResponseNonNullableFields = CreateSeatingReservationResponseNonNullableFields;
|
|
2215
|
+
type context_CursorPaging = CursorPaging;
|
|
2216
|
+
type context_Cursors = Cursors;
|
|
2217
|
+
type context_DeleteSeatingPlaceReservationRequest = DeleteSeatingPlaceReservationRequest;
|
|
2218
|
+
type context_DeleteSeatingReservationRequest = DeleteSeatingReservationRequest;
|
|
2219
|
+
type context_DeleteSeatingReservationResponse = DeleteSeatingReservationResponse;
|
|
2220
|
+
type context_DeleteSeatingReservationResponseNonNullableFields = DeleteSeatingReservationResponseNonNullableFields;
|
|
2221
|
+
type context_DomainEvent = DomainEvent;
|
|
2222
|
+
type context_DomainEventBodyOneOf = DomainEventBodyOneOf;
|
|
2223
|
+
type context_Element = Element;
|
|
2224
|
+
type context_ElementGroup = ElementGroup;
|
|
2225
|
+
type context_ElementGroupUiProperties = ElementGroupUiProperties;
|
|
2226
|
+
type context_ElementUiProperties = ElementUiProperties;
|
|
2227
|
+
type context_Empty = Empty;
|
|
2228
|
+
type context_EntityCreatedEvent = EntityCreatedEvent;
|
|
2229
|
+
type context_EntityDeletedEvent = EntityDeletedEvent;
|
|
2230
|
+
type context_EntityUpdatedEvent = EntityUpdatedEvent;
|
|
2231
|
+
type context_EventMetadata = EventMetadata;
|
|
2232
|
+
type context_ExtendedFields = ExtendedFields;
|
|
2233
|
+
type context_File = File;
|
|
2234
|
+
type context_GetReservationRequest = GetReservationRequest;
|
|
2235
|
+
type context_GetReservationResponse = GetReservationResponse;
|
|
2236
|
+
type context_GetReservationResponseNonNullableFields = GetReservationResponseNonNullableFields;
|
|
2237
|
+
type context_GetReservedPlacesRequest = GetReservedPlacesRequest;
|
|
2238
|
+
type context_GetReservedPlacesResponse = GetReservedPlacesResponse;
|
|
2239
|
+
type context_GetSeatingCategoriesSummaryOptions = GetSeatingCategoriesSummaryOptions;
|
|
2240
|
+
type context_GetSeatingCategoriesSummaryRequest = GetSeatingCategoriesSummaryRequest;
|
|
2241
|
+
type context_GetSeatingCategoriesSummaryResponse = GetSeatingCategoriesSummaryResponse;
|
|
2242
|
+
type context_GetSeatingReservationsSummaryRequest = GetSeatingReservationsSummaryRequest;
|
|
2243
|
+
type context_GetSeatingReservationsSummaryResponse = GetSeatingReservationsSummaryResponse;
|
|
2244
|
+
type context_GetSeatingReservationsSummaryResponseNonNullableFields = GetSeatingReservationsSummaryResponseNonNullableFields;
|
|
2245
|
+
type context_Icon = Icon;
|
|
2246
|
+
declare const context_Icon: typeof Icon;
|
|
2247
|
+
type context_IdentificationData = IdentificationData;
|
|
2248
|
+
type context_IdentificationDataIdOneOf = IdentificationDataIdOneOf;
|
|
2249
|
+
type context_Image = Image;
|
|
2250
|
+
type context_InvalidateCache = InvalidateCache;
|
|
2251
|
+
type context_InvalidateCacheGetByOneOf = InvalidateCacheGetByOneOf;
|
|
2252
|
+
type context_MessageEnvelope = MessageEnvelope;
|
|
2253
|
+
type context_MultiRowProperties = MultiRowProperties;
|
|
2254
|
+
type context_Numbering = Numbering;
|
|
2255
|
+
declare const context_Numbering: typeof Numbering;
|
|
2256
|
+
type context_Page = Page;
|
|
2257
|
+
type context_Paging = Paging;
|
|
2258
|
+
type context_PagingMetadataV2 = PagingMetadataV2;
|
|
2259
|
+
type context_Place = Place;
|
|
2260
|
+
type context_PlaceReservation = PlaceReservation;
|
|
2261
|
+
type context_PlaceReservationDetails = PlaceReservationDetails;
|
|
2262
|
+
type context_PlaceTypeEnumType = PlaceTypeEnumType;
|
|
2263
|
+
declare const context_PlaceTypeEnumType: typeof PlaceTypeEnumType;
|
|
2264
|
+
type context_Places = Places;
|
|
2265
|
+
type context_Position = Position;
|
|
2266
|
+
declare const context_Position: typeof Position;
|
|
2267
|
+
type context_QuerySeatingReservationRequest = QuerySeatingReservationRequest;
|
|
2268
|
+
type context_QuerySeatingReservationResponse = QuerySeatingReservationResponse;
|
|
2269
|
+
type context_QuerySeatingReservationResponseNonNullableFields = QuerySeatingReservationResponseNonNullableFields;
|
|
2270
|
+
type context_QueryV2 = QueryV2;
|
|
2271
|
+
type context_QueryV2PagingMethodOneOf = QueryV2PagingMethodOneOf;
|
|
2272
|
+
type context_RegenerateSummariesRequest = RegenerateSummariesRequest;
|
|
2273
|
+
type context_RegenerateSummariesResponse = RegenerateSummariesResponse;
|
|
2274
|
+
type context_ReservationErrorDetails = ReservationErrorDetails;
|
|
2275
|
+
type context_ReservationOptions = ReservationOptions;
|
|
2276
|
+
type context_ReservationsQueryBuilder = ReservationsQueryBuilder;
|
|
2277
|
+
type context_ReservationsQueryResult = ReservationsQueryResult;
|
|
2278
|
+
type context_RestoreInfo = RestoreInfo;
|
|
2279
|
+
type context_RowElement = RowElement;
|
|
2280
|
+
type context_RowElementUiProperties = RowElementUiProperties;
|
|
2281
|
+
type context_SeatingPlan = SeatingPlan;
|
|
2282
|
+
type context_SeatingPlanCategoriesSummaryUpdated = SeatingPlanCategoriesSummaryUpdated;
|
|
2283
|
+
type context_SeatingPlanUiProperties = SeatingPlanUiProperties;
|
|
2284
|
+
type context_SeatingReservation = SeatingReservation;
|
|
2285
|
+
type context_SeatingReservationCreatedEnvelope = SeatingReservationCreatedEnvelope;
|
|
2286
|
+
type context_SeatingReservationDeletedEnvelope = SeatingReservationDeletedEnvelope;
|
|
2287
|
+
type context_SeatingReservationNonNullableFields = SeatingReservationNonNullableFields;
|
|
2288
|
+
type context_SeatingReservationsSummary = SeatingReservationsSummary;
|
|
2289
|
+
type context_Section = Section;
|
|
2290
|
+
type context_Sequencing = Sequencing;
|
|
2291
|
+
type context_ShapeTypeEnumType = ShapeTypeEnumType;
|
|
2292
|
+
declare const context_ShapeTypeEnumType: typeof ShapeTypeEnumType;
|
|
2293
|
+
type context_SortOrder = SortOrder;
|
|
2294
|
+
declare const context_SortOrder: typeof SortOrder;
|
|
2295
|
+
type context_Sorting = Sorting;
|
|
2296
|
+
type context_Type = Type;
|
|
2297
|
+
declare const context_Type: typeof Type;
|
|
2298
|
+
type context_URI = URI;
|
|
2299
|
+
type context_UnavailablePlaces = UnavailablePlaces;
|
|
2300
|
+
type context_VerticalSequencing = VerticalSequencing;
|
|
2301
|
+
type context_WebhookIdentityType = WebhookIdentityType;
|
|
2302
|
+
declare const context_WebhookIdentityType: typeof WebhookIdentityType;
|
|
2303
|
+
type context__publicCreateSeatingReservationType = _publicCreateSeatingReservationType;
|
|
2304
|
+
type context__publicDeleteSeatingReservationType = _publicDeleteSeatingReservationType;
|
|
2305
|
+
type context__publicGetReservationType = _publicGetReservationType;
|
|
2306
|
+
type context__publicGetSeatingCategoriesSummaryType = _publicGetSeatingCategoriesSummaryType;
|
|
2307
|
+
type context__publicGetSeatingReservationsSummaryType = _publicGetSeatingReservationsSummaryType;
|
|
2308
|
+
type context__publicOnSeatingReservationCreatedType = _publicOnSeatingReservationCreatedType;
|
|
2309
|
+
type context__publicOnSeatingReservationDeletedType = _publicOnSeatingReservationDeletedType;
|
|
2310
|
+
type context__publicQuerySeatingReservationType = _publicQuerySeatingReservationType;
|
|
91
2311
|
declare const context_createSeatingReservation: typeof createSeatingReservation;
|
|
92
2312
|
declare const context_deleteSeatingReservation: typeof deleteSeatingReservation;
|
|
93
2313
|
declare const context_getReservation: typeof getReservation;
|
|
@@ -97,7 +2317,7 @@ declare const context_onSeatingReservationCreated: typeof onSeatingReservationCr
|
|
|
97
2317
|
declare const context_onSeatingReservationDeleted: typeof onSeatingReservationDeleted;
|
|
98
2318
|
declare const context_querySeatingReservation: typeof querySeatingReservation;
|
|
99
2319
|
declare namespace context {
|
|
100
|
-
export { context_createSeatingReservation as createSeatingReservation, context_deleteSeatingReservation as deleteSeatingReservation, context_getReservation as getReservation, context_getSeatingCategoriesSummary as getSeatingCategoriesSummary, context_getSeatingReservationsSummary as getSeatingReservationsSummary, context_onSeatingReservationCreated as onSeatingReservationCreated, context_onSeatingReservationDeleted as onSeatingReservationDeleted, context_querySeatingReservation as querySeatingReservation };
|
|
2320
|
+
export { type context_ActionEvent as ActionEvent, type context_App as App, type context_BaseEventMetadata as BaseEventMetadata, type context_Category as Category, type context_CategoryDetails as CategoryDetails, type context_CreateSeatingReservationOptions as CreateSeatingReservationOptions, type context_CreateSeatingReservationRequest as CreateSeatingReservationRequest, type context_CreateSeatingReservationResponse as CreateSeatingReservationResponse, type context_CreateSeatingReservationResponseNonNullableFields as CreateSeatingReservationResponseNonNullableFields, type context_CursorPaging as CursorPaging, type context_Cursors as Cursors, type context_DeleteSeatingPlaceReservationRequest as DeleteSeatingPlaceReservationRequest, type context_DeleteSeatingReservationRequest as DeleteSeatingReservationRequest, type context_DeleteSeatingReservationResponse as DeleteSeatingReservationResponse, type context_DeleteSeatingReservationResponseNonNullableFields as DeleteSeatingReservationResponseNonNullableFields, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_Element as Element, type context_ElementGroup as ElementGroup, type context_ElementGroupUiProperties as ElementGroupUiProperties, type context_ElementUiProperties as ElementUiProperties, type context_Empty as Empty, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, type context_EventMetadata as EventMetadata, type context_ExtendedFields as ExtendedFields, type context_File as File, type context_GetReservationRequest as GetReservationRequest, type context_GetReservationResponse as GetReservationResponse, type context_GetReservationResponseNonNullableFields as GetReservationResponseNonNullableFields, type context_GetReservedPlacesRequest as GetReservedPlacesRequest, type context_GetReservedPlacesResponse as GetReservedPlacesResponse, type context_GetSeatingCategoriesSummaryOptions as GetSeatingCategoriesSummaryOptions, type context_GetSeatingCategoriesSummaryRequest as GetSeatingCategoriesSummaryRequest, type context_GetSeatingCategoriesSummaryResponse as GetSeatingCategoriesSummaryResponse, type context_GetSeatingReservationsSummaryRequest as GetSeatingReservationsSummaryRequest, type context_GetSeatingReservationsSummaryResponse as GetSeatingReservationsSummaryResponse, type context_GetSeatingReservationsSummaryResponseNonNullableFields as GetSeatingReservationsSummaryResponseNonNullableFields, context_Icon as Icon, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type context_Image as Image, type context_InvalidateCache as InvalidateCache, type context_InvalidateCacheGetByOneOf as InvalidateCacheGetByOneOf, type context_MessageEnvelope as MessageEnvelope, type context_MultiRowProperties as MultiRowProperties, context_Numbering as Numbering, type context_Page as Page, type context_Paging as Paging, type context_PagingMetadataV2 as PagingMetadataV2, type context_Place as Place, type context_PlaceReservation as PlaceReservation, type context_PlaceReservationDetails as PlaceReservationDetails, context_PlaceTypeEnumType as PlaceTypeEnumType, type context_Places as Places, context_Position as Position, type context_QuerySeatingReservationRequest as QuerySeatingReservationRequest, type context_QuerySeatingReservationResponse as QuerySeatingReservationResponse, type context_QuerySeatingReservationResponseNonNullableFields as QuerySeatingReservationResponseNonNullableFields, type context_QueryV2 as QueryV2, type context_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type context_RegenerateSummariesRequest as RegenerateSummariesRequest, type context_RegenerateSummariesResponse as RegenerateSummariesResponse, type context_ReservationErrorDetails as ReservationErrorDetails, type context_ReservationOptions as ReservationOptions, type context_ReservationsQueryBuilder as ReservationsQueryBuilder, type context_ReservationsQueryResult as ReservationsQueryResult, type context_RestoreInfo as RestoreInfo, type context_RowElement as RowElement, type context_RowElementUiProperties as RowElementUiProperties, type context_SeatingPlan as SeatingPlan, type context_SeatingPlanCategoriesSummaryUpdated as SeatingPlanCategoriesSummaryUpdated, type context_SeatingPlanUiProperties as SeatingPlanUiProperties, type context_SeatingReservation as SeatingReservation, type context_SeatingReservationCreatedEnvelope as SeatingReservationCreatedEnvelope, type context_SeatingReservationDeletedEnvelope as SeatingReservationDeletedEnvelope, type context_SeatingReservationNonNullableFields as SeatingReservationNonNullableFields, type context_SeatingReservationsSummary as SeatingReservationsSummary, type context_Section as Section, type context_Sequencing as Sequencing, context_ShapeTypeEnumType as ShapeTypeEnumType, context_SortOrder as SortOrder, type context_Sorting as Sorting, context_Type as Type, type context_URI as URI, type context_UnavailablePlaces as UnavailablePlaces, type context_VerticalSequencing as VerticalSequencing, context_WebhookIdentityType as WebhookIdentityType, type context__publicCreateSeatingReservationType as _publicCreateSeatingReservationType, type context__publicDeleteSeatingReservationType as _publicDeleteSeatingReservationType, type context__publicGetReservationType as _publicGetReservationType, type context__publicGetSeatingCategoriesSummaryType as _publicGetSeatingCategoriesSummaryType, type context__publicGetSeatingReservationsSummaryType as _publicGetSeatingReservationsSummaryType, type context__publicOnSeatingReservationCreatedType as _publicOnSeatingReservationCreatedType, type context__publicOnSeatingReservationDeletedType as _publicOnSeatingReservationDeletedType, type context__publicQuerySeatingReservationType as _publicQuerySeatingReservationType, context_createSeatingReservation as createSeatingReservation, context_deleteSeatingReservation as deleteSeatingReservation, context_getReservation as getReservation, context_getSeatingCategoriesSummary as getSeatingCategoriesSummary, context_getSeatingReservationsSummary as getSeatingReservationsSummary, context_onSeatingReservationCreated as onSeatingReservationCreated, context_onSeatingReservationDeleted as onSeatingReservationDeleted, onSeatingReservationCreated$1 as publicOnSeatingReservationCreated, onSeatingReservationDeleted$1 as publicOnSeatingReservationDeleted, context_querySeatingReservation as querySeatingReservation };
|
|
101
2321
|
}
|
|
102
2322
|
|
|
103
2323
|
export { context$1 as seatingPlan, context as seatingReservation };
|