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