@wix/seatings 1.0.31 → 1.0.33

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