@wix/auto_sdk_seatings_seating-reservation 1.0.11 → 1.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.js +24 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +181 -96
- package/build/cjs/index.typings.js +24 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +628 -97
- package/build/cjs/meta.js +115 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +24 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +181 -96
- package/build/es/index.typings.mjs +24 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +628 -97
- package/build/es/meta.mjs +107 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +24 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +181 -96
- package/build/internal/cjs/index.typings.js +24 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +628 -97
- package/build/internal/cjs/meta.js +115 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +24 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +181 -96
- package/build/internal/es/index.typings.mjs +24 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +628 -97
- package/build/internal/es/meta.mjs +107 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -557,481 +557,560 @@ interface GetSeatingReservationSummaryResponse {
|
|
|
557
557
|
/** @maxSize 50000 */
|
|
558
558
|
places?: PlaceReservationDetails[];
|
|
559
559
|
}
|
|
560
|
+
/** A seating plan represents the layout and organization of seats within a venue. It defines the physical arrangement of seating areas, pricing categories, and individual places where attendees can be seated or positioned during an event. */
|
|
560
561
|
interface SeatingPlan {
|
|
561
562
|
/**
|
|
562
|
-
*
|
|
563
|
+
* Seating plan ID.
|
|
563
564
|
* @format GUID
|
|
564
565
|
* @readonly
|
|
565
566
|
*/
|
|
566
567
|
_id?: string | null;
|
|
567
568
|
/**
|
|
568
|
-
*
|
|
569
|
-
* Can reference external entities.
|
|
570
|
-
* Format: "{fqdn}:{entity guid}"
|
|
569
|
+
* Client-defined external ID for cross-referencing with external systems. Format: `{fqdn}:{entity_guid}`. For example, `wix.events.v1.event:abc-123-def`.
|
|
571
570
|
* @minLength 1
|
|
572
571
|
* @maxLength 100
|
|
573
572
|
*/
|
|
574
573
|
externalId?: string | null;
|
|
575
574
|
/**
|
|
576
|
-
* Human
|
|
575
|
+
* Human-friendly seating plan title. For example, `Madison Square Garden - Main Floor`.
|
|
577
576
|
* @minLength 1
|
|
578
577
|
* @maxLength 120
|
|
579
578
|
*/
|
|
580
579
|
title?: string | null;
|
|
581
580
|
/**
|
|
582
|
-
*
|
|
581
|
+
* High-level divisions of the venue, such as "Orchestra", "Balcony", or "VIP Section". A default section with `id = 0` is required and serves as the primary seating area.
|
|
583
582
|
* @maxSize 100
|
|
584
583
|
*/
|
|
585
584
|
sections?: Section[];
|
|
586
585
|
/**
|
|
587
|
-
*
|
|
586
|
+
* Pricing tiers or groupings for organizing places, such as "VIP", "General Admission", or "Student Discount". Elements and places can be assigned to categories for pricing and availability management.
|
|
588
587
|
* @maxSize 100
|
|
589
588
|
*/
|
|
590
589
|
categories?: Category[];
|
|
591
590
|
/**
|
|
592
|
-
*
|
|
591
|
+
* Date and time the seating plan was created.
|
|
593
592
|
* @readonly
|
|
594
593
|
*/
|
|
595
594
|
_createdDate?: Date | null;
|
|
596
595
|
/**
|
|
597
|
-
*
|
|
596
|
+
* Date and time the seating plan was updated.
|
|
598
597
|
* @readonly
|
|
599
598
|
*/
|
|
600
599
|
_updatedDate?: Date | null;
|
|
601
600
|
/**
|
|
602
|
-
* Total
|
|
601
|
+
* Total number of seats across all sections and elements in the seating plan. Automatically calculated by summing element capacities.
|
|
603
602
|
* @readonly
|
|
604
603
|
*/
|
|
605
604
|
totalCapacity?: number | null;
|
|
606
605
|
/**
|
|
607
|
-
* Total categories
|
|
606
|
+
* Total number of categories defined in the seating plan. Automatically calculated.
|
|
608
607
|
* @readonly
|
|
609
608
|
*/
|
|
610
609
|
totalCategories?: number | null;
|
|
611
610
|
/**
|
|
612
|
-
* Places not assigned to
|
|
611
|
+
* Places that are not assigned to any category. These places require manual category assignment for pricing and organization.
|
|
613
612
|
* @maxSize 50000
|
|
614
613
|
* @readonly
|
|
615
614
|
*/
|
|
616
615
|
uncategorizedPlaces?: Place[];
|
|
617
616
|
/**
|
|
618
|
-
*
|
|
617
|
+
* Version number of the seating plan, incremented by 1 each time the plan is updated. Used for version management and tracking changes.
|
|
619
618
|
* @readonly
|
|
620
619
|
*/
|
|
621
620
|
version?: string | null;
|
|
622
|
-
/**
|
|
621
|
+
/** Additional custom fields for extending the seating plan with app-specific data. Learn more about @extended fields. */
|
|
623
622
|
extendedFields?: ExtendedFields;
|
|
624
|
-
/**
|
|
623
|
+
/** Visual settings for the seating plan, such as background color and opacity. Used by seating chart interfaces for rendering. */
|
|
625
624
|
uiProperties?: SeatingPlanUiProperties;
|
|
626
625
|
/**
|
|
627
|
-
*
|
|
626
|
+
* Hierarchical groupings of elements for UI organization and bulk operations. Groups can contain multiple elements or nested sub-groups for easier management.
|
|
628
627
|
* @maxSize 1000
|
|
629
628
|
*/
|
|
630
629
|
elementGroups?: ElementGroup[];
|
|
631
630
|
}
|
|
631
|
+
/** A section represents a high-level division within a seating plan, such as "Orchestra", "Balcony", or "VIP Area". Sections contain elements that define the actual seating arrangements. */
|
|
632
632
|
interface Section {
|
|
633
|
-
/**
|
|
633
|
+
/** Section ID. Must be unique within the seating plan. Section with `id = 0` is required as the default section. */
|
|
634
634
|
_id?: number;
|
|
635
635
|
/**
|
|
636
|
-
* Human
|
|
636
|
+
* Human-readable section title. For example, `Orchestra` or `Balcony`.
|
|
637
637
|
* @minLength 1
|
|
638
638
|
* @maxLength 20
|
|
639
639
|
*/
|
|
640
640
|
title?: string | null;
|
|
641
641
|
/**
|
|
642
|
-
* Client configuration object
|
|
642
|
+
* Client configuration object for storing additional section metadata. Read-only field maintained for backward compatibility.
|
|
643
643
|
* @readonly
|
|
644
644
|
*/
|
|
645
645
|
config?: Record<string, any> | null;
|
|
646
646
|
/**
|
|
647
|
-
*
|
|
647
|
+
* Seating elements within this section, such as rows, tables, or general admission areas. Each element generates individual places based on its type and capacity.
|
|
648
648
|
* @maxSize 1000
|
|
649
649
|
*/
|
|
650
650
|
elements?: Element[];
|
|
651
651
|
/**
|
|
652
|
-
* Total capacity
|
|
652
|
+
* Total capacity of all elements within this section. Automatically calculated by summing element capacities.
|
|
653
653
|
* @readonly
|
|
654
654
|
*/
|
|
655
655
|
totalCapacity?: number | null;
|
|
656
656
|
/**
|
|
657
|
-
*
|
|
657
|
+
* Whether this is the default section. Always `true` for section with `id = 0`.
|
|
658
658
|
* @readonly
|
|
659
659
|
*/
|
|
660
660
|
default?: boolean;
|
|
661
661
|
}
|
|
662
|
+
/** An element represents a specific seating configuration within a section, such as a row of seats, a table, or a general admission area. Elements generate individual places based on their type and capacity. */
|
|
662
663
|
interface Element {
|
|
663
664
|
/**
|
|
664
|
-
*
|
|
665
|
+
* Element ID. Must be unique within the seating plan.
|
|
665
666
|
* @min 1
|
|
666
667
|
*/
|
|
667
668
|
_id?: number;
|
|
668
669
|
/**
|
|
669
|
-
* User
|
|
670
|
+
* User-friendly title or label for the element. For example, `Row A` or `VIP Table 1`.
|
|
670
671
|
* @minLength 1
|
|
671
672
|
* @maxLength 50
|
|
672
673
|
*/
|
|
673
674
|
title?: string | null;
|
|
674
|
-
/**
|
|
675
|
+
/** Type of seating element, which determines capacity limits and place generation behavior. See ElementTypeEnum for available types. */
|
|
675
676
|
type?: TypeWithLiterals;
|
|
676
677
|
/**
|
|
677
|
-
*
|
|
678
|
+
* Number of seats or spots in this element. Not applicable for SHAPE type elements. Maximum 50,000 per element.
|
|
678
679
|
* @min 1
|
|
679
680
|
* @max 50000
|
|
680
681
|
*/
|
|
681
682
|
capacity?: number | null;
|
|
682
|
-
/**
|
|
683
|
+
/** ID of the category this element is assigned to for pricing and organization. References a category defined in the seating plan. */
|
|
683
684
|
categoryId?: number | null;
|
|
684
|
-
/**
|
|
685
|
+
/** Configuration for generating place labels and numbering within this element. Defines how seats are labeled (e.g., 1, 2, 3 or A, B, C). */
|
|
685
686
|
sequencing?: Sequencing;
|
|
686
687
|
/**
|
|
687
|
-
*
|
|
688
|
+
* Custom place configurations that override the default generated places for specific positions. Used for accessibility seating, obstructed views, or custom labeling.
|
|
688
689
|
* @maxSize 2000
|
|
689
690
|
*/
|
|
690
691
|
overrides?: Place[];
|
|
691
692
|
/**
|
|
692
|
-
* Final
|
|
693
|
+
* Final sequence of places generated for this element, including any overrides applied. Read-only field populated by the system.
|
|
693
694
|
* @maxSize 200
|
|
694
695
|
* @readonly
|
|
695
696
|
*/
|
|
696
697
|
places?: Place[];
|
|
697
|
-
/**
|
|
698
|
+
/** Constraints on how this element can be reserved or booked. For example, requiring the entire element to be reserved as a unit. */
|
|
698
699
|
reservationOptions?: ReservationOptions;
|
|
699
|
-
/**
|
|
700
|
+
/** Visual positioning and styling properties for rendering this element in a seating chart. Includes coordinates, dimensions, and styling options. */
|
|
700
701
|
uiProperties?: ElementUiProperties;
|
|
701
|
-
/**
|
|
702
|
+
/** ID of the element group this element belongs to for hierarchical organization. References an ElementGroup defined in the seating plan. */
|
|
702
703
|
elementGroupId?: number | null;
|
|
703
|
-
/**
|
|
704
|
+
/** Additional properties for MULTI_ROW type elements, defining individual rows and their configurations. Only applicable when type is MULTI_ROW. */
|
|
704
705
|
multiRowProperties?: MultiRowProperties;
|
|
705
706
|
}
|
|
706
707
|
declare enum Type {
|
|
708
|
+
/** General admission area with a single place containing the full capacity. */
|
|
707
709
|
AREA = "AREA",
|
|
710
|
+
/** Single row of individual seats with sequential labeling. */
|
|
708
711
|
ROW = "ROW",
|
|
712
|
+
/** Multiple rows treated as one element, each with individual capacity and sequencing. */
|
|
709
713
|
MULTI_ROW = "MULTI_ROW",
|
|
714
|
+
/** Rectangular table with individual seats around the perimeter. */
|
|
710
715
|
TABLE = "TABLE",
|
|
716
|
+
/** Circular table with individual seats around the perimeter. */
|
|
711
717
|
ROUND_TABLE = "ROUND_TABLE",
|
|
718
|
+
/** Visual element with no seating capacity, used for decorative or informational purposes. */
|
|
712
719
|
SHAPE = "SHAPE"
|
|
713
720
|
}
|
|
714
721
|
/** @enumType */
|
|
715
722
|
type TypeWithLiterals = Type | 'AREA' | 'ROW' | 'MULTI_ROW' | 'TABLE' | 'ROUND_TABLE' | 'SHAPE';
|
|
723
|
+
/** Configuration for generating sequential labels for places within an element. */
|
|
716
724
|
interface Sequencing {
|
|
717
725
|
/**
|
|
718
|
-
*
|
|
726
|
+
* Starting value for the sequence. For example, `1` for numeric sequences or `A` for alphabetical sequences.
|
|
719
727
|
* @minLength 1
|
|
720
728
|
* @maxLength 4
|
|
721
729
|
*/
|
|
722
730
|
startAt?: string;
|
|
723
731
|
/**
|
|
724
|
-
*
|
|
732
|
+
* Complete sequence of labels to be used for places. Must match the element's capacity. When provided, overrides automatic label generation.
|
|
725
733
|
* @maxSize 2500
|
|
726
734
|
*/
|
|
727
735
|
labels?: string[];
|
|
728
|
-
/**
|
|
736
|
+
/** Whether to apply labels in reverse order (right-to-left instead of left-to-right). Useful for venue-specific numbering conventions. */
|
|
729
737
|
reverseOrder?: boolean | null;
|
|
730
738
|
}
|
|
739
|
+
/** An individual seat or spot within an element where an attendee can be positioned. */
|
|
731
740
|
interface Place {
|
|
732
|
-
/**
|
|
741
|
+
/** Zero-based position of this place within the element's sequence. Used to identify the place's position for overrides. */
|
|
733
742
|
index?: number;
|
|
734
743
|
/**
|
|
735
|
-
*
|
|
744
|
+
* Unique place ID in the format `{section_id}-{element_id}-{label}`. For example, `0-1-A5` for section 0, element 1, seat A5.
|
|
736
745
|
* @readonly
|
|
737
746
|
*/
|
|
738
747
|
_id?: string | null;
|
|
739
748
|
/**
|
|
740
|
-
*
|
|
749
|
+
* Human-readable label for this place, such as `A1`, `12`, or `VIP1`. Generated based on sequencing configuration or custom overrides.
|
|
741
750
|
* @minLength 1
|
|
742
751
|
* @maxLength 4
|
|
743
752
|
*/
|
|
744
753
|
label?: string;
|
|
745
754
|
/**
|
|
746
|
-
*
|
|
755
|
+
* Maximum number of people that can occupy this place. Typically 1 for individual seats, higher for AREA type places.
|
|
747
756
|
* @readonly
|
|
748
757
|
*/
|
|
749
758
|
capacity?: number | null;
|
|
750
759
|
/**
|
|
751
|
-
* Type of the parent element
|
|
760
|
+
* Type of the parent element that contains this place. Inherited from the element's type.
|
|
752
761
|
* @readonly
|
|
753
762
|
*/
|
|
754
763
|
elementType?: TypeWithLiterals;
|
|
755
764
|
/**
|
|
756
|
-
*
|
|
765
|
+
* ID of the category this place is assigned to. Inherited from element or row category assignment.
|
|
757
766
|
* @readonly
|
|
758
767
|
*/
|
|
759
768
|
categoryId?: number | null;
|
|
760
|
-
/**
|
|
769
|
+
/** Special characteristics or accessibility features of this place (standard, wheelchair, accessible, companion, obstructed, discount). */
|
|
761
770
|
type?: PlaceTypeEnumTypeWithLiterals;
|
|
762
771
|
}
|
|
763
772
|
declare enum PlaceTypeEnumType {
|
|
773
|
+
/** Unknown place type. */
|
|
764
774
|
UNKNOWN_PROPERTY = "UNKNOWN_PROPERTY",
|
|
775
|
+
/** Standard seating with no special accommodations. */
|
|
765
776
|
STANDARD = "STANDARD",
|
|
777
|
+
/** Wheelchair accessible seating space. */
|
|
766
778
|
WHEELCHAIR = "WHEELCHAIR",
|
|
779
|
+
/** Accessible seating for mobility-impaired guests. */
|
|
767
780
|
ACCESSIBLE = "ACCESSIBLE",
|
|
781
|
+
/** Companion seat adjacent to accessible seating. */
|
|
768
782
|
COMPANION = "COMPANION",
|
|
783
|
+
/** Seat with limited or obstructed view. */
|
|
769
784
|
OBSTRUCTED = "OBSTRUCTED",
|
|
785
|
+
/** Discounted pricing seat. */
|
|
770
786
|
DISCOUNT = "DISCOUNT"
|
|
771
787
|
}
|
|
772
788
|
/** @enumType */
|
|
773
789
|
type PlaceTypeEnumTypeWithLiterals = PlaceTypeEnumType | 'UNKNOWN_PROPERTY' | 'STANDARD' | 'WHEELCHAIR' | 'ACCESSIBLE' | 'COMPANION' | 'OBSTRUCTED' | 'DISCOUNT';
|
|
790
|
+
/** Configuration options that control how an element can be reserved or booked. */
|
|
774
791
|
interface ReservationOptions {
|
|
775
|
-
/**
|
|
792
|
+
/** Whether the entire element must be reserved as a single unit. When `true`, individual seats cannot be booked separately. Cannot be used with AREA type elements. */
|
|
776
793
|
reserveWholeElement?: boolean;
|
|
777
794
|
}
|
|
795
|
+
/** Visual positioning and styling properties for rendering elements in a seating chart interface. */
|
|
778
796
|
interface ElementUiProperties {
|
|
779
797
|
/**
|
|
798
|
+
* Horizontal position coordinate of the element in the seating chart coordinate system.
|
|
780
799
|
* @min -1000000
|
|
781
800
|
* @max 1000000
|
|
782
801
|
*/
|
|
783
802
|
x?: number | null;
|
|
784
803
|
/**
|
|
804
|
+
* Vertical position coordinate of the element in the seating chart coordinate system.
|
|
785
805
|
* @min -1000000
|
|
786
806
|
* @max 1000000
|
|
787
807
|
*/
|
|
788
808
|
y?: number | null;
|
|
789
809
|
/**
|
|
810
|
+
* Layering order for overlapping elements. Higher values appear on top of lower values.
|
|
790
811
|
* @min -1000000
|
|
791
812
|
* @max 1000000
|
|
792
813
|
*/
|
|
793
814
|
zIndex?: number | null;
|
|
794
|
-
/**
|
|
815
|
+
/**
|
|
816
|
+
* Width of the element in the coordinate system units.
|
|
817
|
+
* @max 1000000
|
|
818
|
+
*/
|
|
795
819
|
width?: number | null;
|
|
796
|
-
/**
|
|
820
|
+
/**
|
|
821
|
+
* Height of the element in the coordinate system units.
|
|
822
|
+
* @max 1000000
|
|
823
|
+
*/
|
|
797
824
|
height?: number | null;
|
|
798
825
|
/**
|
|
826
|
+
* Rotation angle of the element in degrees. Positive values rotate clockwise.
|
|
799
827
|
* @min -180
|
|
800
828
|
* @max 180
|
|
801
829
|
*/
|
|
802
830
|
rotationAngle?: number | null;
|
|
831
|
+
/** Shape type for SHAPE elements that don't represent seating. Only applicable when element type is SHAPE. */
|
|
803
832
|
shapeType?: ShapeTypeEnumTypeWithLiterals;
|
|
804
833
|
/**
|
|
834
|
+
* Font size for text elements in points.
|
|
805
835
|
* @min 10
|
|
806
836
|
* @max 176
|
|
807
837
|
*/
|
|
808
838
|
fontSize?: number | null;
|
|
809
|
-
/**
|
|
839
|
+
/**
|
|
840
|
+
* Corner radius for rounded rectangular shapes in coordinate system units.
|
|
841
|
+
* @max 1000000
|
|
842
|
+
*/
|
|
810
843
|
cornerRadius?: number | null;
|
|
811
844
|
/**
|
|
845
|
+
* Horizontal spacing between individual seats within the element.
|
|
812
846
|
* @min 1
|
|
813
847
|
* @max 60
|
|
814
848
|
*/
|
|
815
849
|
seatSpacing?: number | null;
|
|
850
|
+
/** Whether to hide labels on seats within this element. When `true`, seat labels are not displayed in the UI. */
|
|
816
851
|
hideLabel?: boolean | null;
|
|
852
|
+
/** Position of labels relative to seats (left, right, both sides, or none). */
|
|
817
853
|
labelPosition?: PositionWithLiterals;
|
|
854
|
+
/** Array defining the arrangement of seats within the element. Each number represents the count of seats in that position. */
|
|
818
855
|
seatLayout?: number[];
|
|
819
|
-
/**
|
|
856
|
+
/**
|
|
857
|
+
* Number of empty spaces at the top of the seating arrangement for visual spacing.
|
|
858
|
+
* @max 50
|
|
859
|
+
*/
|
|
820
860
|
emptyTopSeatSpaces?: number | null;
|
|
821
861
|
/**
|
|
822
|
-
*
|
|
862
|
+
* Text content for TEXT type shape elements. Only applicable when shape_type is TEXT.
|
|
823
863
|
* @minLength 1
|
|
824
864
|
* @maxLength 10000
|
|
825
865
|
*/
|
|
826
866
|
text?: string | null;
|
|
827
867
|
/**
|
|
828
|
-
*
|
|
868
|
+
* Primary color in hexadecimal format. For example, `#FF0000` for red.
|
|
829
869
|
* @format COLOR_HEX
|
|
830
870
|
*/
|
|
831
871
|
color?: string | null;
|
|
832
872
|
/**
|
|
833
|
-
*
|
|
873
|
+
* Fill color for shapes in hexadecimal format. For example, `#00FF00` for green.
|
|
834
874
|
* @format COLOR_HEX
|
|
835
875
|
*/
|
|
836
876
|
fillColor?: string | null;
|
|
837
877
|
/**
|
|
838
|
-
*
|
|
878
|
+
* Border color in hexadecimal format. For example, `#0000FF` for blue.
|
|
839
879
|
* @format COLOR_HEX
|
|
840
880
|
*/
|
|
841
881
|
strokeColor?: string | null;
|
|
842
882
|
/**
|
|
843
|
-
*
|
|
883
|
+
* Border width in pixels for shape outlines.
|
|
844
884
|
* @min 1
|
|
845
885
|
* @max 6
|
|
846
886
|
*/
|
|
847
887
|
strokeWidth?: number | null;
|
|
848
|
-
/**
|
|
888
|
+
/**
|
|
889
|
+
* Opacity level as a percentage from 0 (transparent) to 100 (opaque).
|
|
890
|
+
* @max 100
|
|
891
|
+
*/
|
|
849
892
|
opacity?: number | null;
|
|
893
|
+
/** Icon type for ICON shape elements. Only applicable when shape_type is ICON. */
|
|
850
894
|
icon?: IconWithLiterals;
|
|
895
|
+
/** Image object for IMAGE shape elements. Only applicable when shape_type is IMAGE. */
|
|
851
896
|
image?: Image;
|
|
897
|
+
/** Numbering scheme for seats within this element (numeric, alphabetical, or odd/even). */
|
|
852
898
|
seatNumbering?: NumberingWithLiterals;
|
|
853
899
|
}
|
|
854
900
|
declare enum ShapeTypeEnumType {
|
|
901
|
+
/** Unknown shape type. */
|
|
855
902
|
UNKNOWN_TYPE = "UNKNOWN_TYPE",
|
|
903
|
+
/** Text label or annotation. */
|
|
856
904
|
TEXT = "TEXT",
|
|
905
|
+
/** Rectangular shape. */
|
|
857
906
|
RECTANGLE = "RECTANGLE",
|
|
907
|
+
/** Circular or oval shape. */
|
|
858
908
|
ELLIPSE = "ELLIPSE",
|
|
909
|
+
/** Straight line. */
|
|
859
910
|
LINE = "LINE",
|
|
911
|
+
/** Predefined icon symbol. */
|
|
860
912
|
ICON = "ICON",
|
|
913
|
+
/** Custom image. */
|
|
861
914
|
IMAGE = "IMAGE"
|
|
862
915
|
}
|
|
863
916
|
/** @enumType */
|
|
864
917
|
type ShapeTypeEnumTypeWithLiterals = ShapeTypeEnumType | 'UNKNOWN_TYPE' | 'TEXT' | 'RECTANGLE' | 'ELLIPSE' | 'LINE' | 'ICON' | 'IMAGE';
|
|
865
918
|
declare enum Position {
|
|
919
|
+
/** Label positioning options for seats and elements. */
|
|
866
920
|
UNKNOWN_POSITION = "UNKNOWN_POSITION",
|
|
921
|
+
/** Labels appear to the left of seats. */
|
|
867
922
|
LEFT = "LEFT",
|
|
923
|
+
/** Labels appear to the right of seats. */
|
|
868
924
|
RIGHT = "RIGHT",
|
|
925
|
+
/** Labels appear on both sides of seats. */
|
|
869
926
|
BOTH = "BOTH",
|
|
927
|
+
/** No labels are displayed. */
|
|
870
928
|
NONE = "NONE"
|
|
871
929
|
}
|
|
872
930
|
/** @enumType */
|
|
873
931
|
type PositionWithLiterals = Position | 'UNKNOWN_POSITION' | 'LEFT' | 'RIGHT' | 'BOTH' | 'NONE';
|
|
874
932
|
declare enum Icon {
|
|
933
|
+
/** Available icon types for venue wayfinding and information. */
|
|
875
934
|
UNKNOWN_ICON = "UNKNOWN_ICON",
|
|
935
|
+
/** Entrance icon. */
|
|
876
936
|
ENTER = "ENTER",
|
|
937
|
+
/** Exit icon. */
|
|
877
938
|
EXIT = "EXIT",
|
|
939
|
+
/** Beverage service icon. */
|
|
878
940
|
DRINKS = "DRINKS",
|
|
941
|
+
/** Restroom icon. */
|
|
879
942
|
WC = "WC",
|
|
943
|
+
/** Men's restroom icon. */
|
|
880
944
|
WC_MEN = "WC_MEN",
|
|
945
|
+
/** Women's restroom icon. */
|
|
881
946
|
WC_WOMEN = "WC_WOMEN",
|
|
947
|
+
/** Food service icon. */
|
|
882
948
|
FOOD = "FOOD",
|
|
949
|
+
/** Stairway icon. */
|
|
883
950
|
STAIRS = "STAIRS",
|
|
951
|
+
/** Elevator icon. */
|
|
884
952
|
ELEVATOR = "ELEVATOR",
|
|
953
|
+
/** Smoking area icon. */
|
|
885
954
|
SMOKING = "SMOKING",
|
|
955
|
+
/** Coat check icon. */
|
|
886
956
|
CHECKROOM = "CHECKROOM",
|
|
957
|
+
/** Stage or performance area icon. */
|
|
887
958
|
STAGE = "STAGE"
|
|
888
959
|
}
|
|
889
960
|
/** @enumType */
|
|
890
961
|
type IconWithLiterals = Icon | 'UNKNOWN_ICON' | 'ENTER' | 'EXIT' | 'DRINKS' | 'WC' | 'WC_MEN' | 'WC_WOMEN' | 'FOOD' | 'STAIRS' | 'ELEVATOR' | 'SMOKING' | 'CHECKROOM' | 'STAGE';
|
|
962
|
+
/** Image reference for use in seating plan visual elements. */
|
|
891
963
|
interface Image {
|
|
892
|
-
/**
|
|
964
|
+
/** Image ID from Wix Media Manager. */
|
|
893
965
|
_id?: string;
|
|
894
966
|
/**
|
|
895
|
-
* Original image height.
|
|
967
|
+
* Original image height in pixels.
|
|
896
968
|
* @readonly
|
|
897
969
|
*/
|
|
898
970
|
height?: number;
|
|
899
971
|
/**
|
|
900
|
-
* Original image width.
|
|
972
|
+
* Original image width in pixels.
|
|
901
973
|
* @readonly
|
|
902
974
|
*/
|
|
903
975
|
width?: number;
|
|
904
976
|
/**
|
|
905
|
-
*
|
|
977
|
+
* Deprecated. Use the `id` field instead for referencing images.
|
|
906
978
|
* @deprecated
|
|
907
979
|
*/
|
|
908
980
|
uri?: string | null;
|
|
909
981
|
}
|
|
910
982
|
declare enum Numbering {
|
|
983
|
+
/** Seat numbering patterns for sequential label generation. */
|
|
911
984
|
UNKNOWN_NUMBERING = "UNKNOWN_NUMBERING",
|
|
985
|
+
/** Sequential numbers (1, 2, 3, ...). */
|
|
912
986
|
NUMERIC = "NUMERIC",
|
|
987
|
+
/** Alternating odd and even numbers. */
|
|
913
988
|
ODD_EVEN = "ODD_EVEN",
|
|
989
|
+
/** Sequential letters (A, B, C, ...). */
|
|
914
990
|
ALPHABETICAL = "ALPHABETICAL"
|
|
915
991
|
}
|
|
916
992
|
/** @enumType */
|
|
917
993
|
type NumberingWithLiterals = Numbering | 'UNKNOWN_NUMBERING' | 'NUMERIC' | 'ODD_EVEN' | 'ALPHABETICAL';
|
|
994
|
+
/** Configuration for multi-row elements that contain multiple individual rows, each with their own capacity and sequencing. */
|
|
918
995
|
interface MultiRowProperties {
|
|
919
996
|
/**
|
|
920
|
-
* Individual rows
|
|
997
|
+
* Individual rows within the multi-row element. Each row has its own capacity, sequencing, and category assignment.
|
|
921
998
|
* @maxSize 1000
|
|
922
999
|
*/
|
|
923
1000
|
rows?: RowElement[];
|
|
924
|
-
/**
|
|
1001
|
+
/** Configuration for labeling rows vertically (e.g., Row A, Row B, Row C). Defines how row labels are generated. */
|
|
925
1002
|
verticalSequencing?: VerticalSequencing;
|
|
926
1003
|
/**
|
|
927
|
-
*
|
|
1004
|
+
* Vertical spacing between rows in the multi-row element. Measured in coordinate system units.
|
|
928
1005
|
* @min 1
|
|
929
1006
|
* @max 60
|
|
930
1007
|
*/
|
|
931
1008
|
rowSpacing?: number | null;
|
|
932
1009
|
/**
|
|
933
|
-
*
|
|
1010
|
+
* Number of seats per row in the multi-row element.
|
|
934
1011
|
* @max 50
|
|
935
1012
|
*/
|
|
936
1013
|
seatAmount?: number | null;
|
|
937
1014
|
}
|
|
1015
|
+
/** An individual row within a multi-row element, with its own capacity, sequencing, and category assignment. */
|
|
938
1016
|
interface RowElement {
|
|
939
1017
|
/**
|
|
940
|
-
*
|
|
1018
|
+
* Row ID. Must be unique across all multi-row elements in the seating plan.
|
|
941
1019
|
* @min 1
|
|
942
1020
|
*/
|
|
943
1021
|
_id?: number;
|
|
944
1022
|
/**
|
|
945
|
-
* User
|
|
1023
|
+
* User-friendly title or label for this row. For example, `Row A` or `Front Row`.
|
|
946
1024
|
* @minLength 1
|
|
947
1025
|
* @maxLength 50
|
|
948
1026
|
*/
|
|
949
1027
|
title?: string | null;
|
|
950
1028
|
/**
|
|
951
|
-
*
|
|
1029
|
+
* Number of seats in this row. Maximum 50,000 per row.
|
|
952
1030
|
* @min 1
|
|
953
1031
|
* @max 50000
|
|
954
1032
|
*/
|
|
955
1033
|
capacity?: number | null;
|
|
956
|
-
/**
|
|
1034
|
+
/** Category assignment for this row, which can override the parent element's category. References a category defined in the seating plan. */
|
|
957
1035
|
categoryId?: number | null;
|
|
958
|
-
/**
|
|
1036
|
+
/** Configuration for generating seat labels within this row. Defines numbering scheme and starting position. */
|
|
959
1037
|
sequencing?: Sequencing;
|
|
960
|
-
/**
|
|
1038
|
+
/** Visual properties specific to this row within the multi-row element. Includes positioning relative to parent element. */
|
|
961
1039
|
uiProperties?: RowElementUiProperties;
|
|
962
1040
|
}
|
|
1041
|
+
/** Visual properties specific to individual rows within multi-row elements. */
|
|
963
1042
|
interface RowElementUiProperties {
|
|
964
1043
|
/**
|
|
965
|
-
*
|
|
1044
|
+
* Horizontal position relative to the parent multi-row element's coordinate system.
|
|
966
1045
|
* @min -1000000
|
|
967
1046
|
* @max 1000000
|
|
968
1047
|
*/
|
|
969
1048
|
relativeX?: number | null;
|
|
970
1049
|
/**
|
|
971
|
-
* Width of
|
|
1050
|
+
* Width of this row in coordinate system units.
|
|
972
1051
|
* @max 1000000
|
|
973
1052
|
*/
|
|
974
1053
|
width?: number | null;
|
|
975
1054
|
/**
|
|
976
|
-
*
|
|
1055
|
+
* Number of seats in this row. Overrides the capacity field when specified.
|
|
977
1056
|
* @max 50
|
|
978
1057
|
*/
|
|
979
1058
|
seatAmount?: number | null;
|
|
980
1059
|
/**
|
|
981
|
-
*
|
|
1060
|
+
* Spacing between seats in this row.
|
|
982
1061
|
* @min 1
|
|
983
1062
|
* @max 60
|
|
984
1063
|
*/
|
|
985
1064
|
seatSpacing?: number | null;
|
|
986
|
-
/**
|
|
1065
|
+
/** Position of labels relative to seats in this row (left, right, both sides, or none). // Position of labels relative to seats in this row. */
|
|
987
1066
|
labelPosition?: PositionWithLiterals;
|
|
988
|
-
/**
|
|
1067
|
+
/** Numbering scheme for seats in this row (numeric, alphabetical, or odd/even). */
|
|
989
1068
|
seatNumbering?: NumberingWithLiterals;
|
|
990
1069
|
}
|
|
1070
|
+
/** Configuration for labeling rows vertically in multi-row elements. */
|
|
991
1071
|
interface VerticalSequencing {
|
|
992
1072
|
/**
|
|
993
|
-
*
|
|
1073
|
+
* Starting value for row labeling. For example, `A` for alphabetical sequences or `1` for numeric sequences.
|
|
994
1074
|
* @minLength 1
|
|
995
1075
|
* @maxLength 4
|
|
996
1076
|
*/
|
|
997
1077
|
startAt?: string;
|
|
998
|
-
/**
|
|
1078
|
+
/** Numbering scheme for row labels (numeric, alphabetical, or odd/even). */
|
|
999
1079
|
rowNumbering?: NumberingWithLiterals;
|
|
1000
|
-
/**
|
|
1080
|
+
/** Whether to label rows in reverse order (bottom-to-top instead of top-to-bottom). */
|
|
1001
1081
|
reverseOrder?: boolean | null;
|
|
1002
1082
|
}
|
|
1083
|
+
/** A grouping mechanism for organizing places by pricing tier, access level, or other business criteria. */
|
|
1003
1084
|
interface Category {
|
|
1004
1085
|
/**
|
|
1005
|
-
*
|
|
1086
|
+
* Category ID. Must be unique within the seating plan.
|
|
1006
1087
|
* @min 1
|
|
1007
1088
|
*/
|
|
1008
1089
|
_id?: number;
|
|
1009
1090
|
/**
|
|
1010
|
-
*
|
|
1011
|
-
* Can reference external entities.
|
|
1012
|
-
* Format: "{entity_fqdn}:{entity_id}"
|
|
1091
|
+
* Client-defined external ID for cross-referencing with pricing or ticketing systems. Format: `{entity_fqdn}:{entity_id}`.
|
|
1013
1092
|
* @minLength 1
|
|
1014
1093
|
* @maxLength 100
|
|
1015
1094
|
*/
|
|
1016
1095
|
externalId?: string | null;
|
|
1017
1096
|
/**
|
|
1018
|
-
*
|
|
1097
|
+
* Human-readable category name, such as `VIP`, `General Admission`, or `Student Discount`.
|
|
1019
1098
|
* @minLength 1
|
|
1020
1099
|
* @maxLength 120
|
|
1021
1100
|
*/
|
|
1022
1101
|
title?: string;
|
|
1023
1102
|
/**
|
|
1024
|
-
* Client configuration object
|
|
1103
|
+
* Client configuration object for storing additional category metadata. Read-only field maintained for backward compatibility.
|
|
1025
1104
|
* @readonly
|
|
1026
1105
|
*/
|
|
1027
1106
|
config?: Record<string, any> | null;
|
|
1028
1107
|
/**
|
|
1029
|
-
* Total capacity
|
|
1108
|
+
* Total capacity of all places assigned to this category. Automatically calculated by summing place capacities.
|
|
1030
1109
|
* @readonly
|
|
1031
1110
|
*/
|
|
1032
1111
|
totalCapacity?: number | null;
|
|
1033
1112
|
/**
|
|
1034
|
-
*
|
|
1113
|
+
* All places that are assigned to this category. Populated when using the CATEGORIES fieldset.
|
|
1035
1114
|
* @maxSize 50000
|
|
1036
1115
|
* @readonly
|
|
1037
1116
|
*/
|
|
@@ -1048,51 +1127,57 @@ interface ExtendedFields {
|
|
|
1048
1127
|
*/
|
|
1049
1128
|
namespaces?: Record<string, Record<string, any>>;
|
|
1050
1129
|
}
|
|
1130
|
+
/** Visual styling properties for the overall seating plan background and appearance. */
|
|
1051
1131
|
interface SeatingPlanUiProperties {
|
|
1052
1132
|
/**
|
|
1053
|
-
*
|
|
1133
|
+
* Background color in hexadecimal format. For example, `#F0F0F0` for light gray.
|
|
1054
1134
|
* @format COLOR_HEX
|
|
1055
1135
|
*/
|
|
1056
1136
|
backgroundColor?: string | null;
|
|
1057
|
-
/**
|
|
1137
|
+
/**
|
|
1138
|
+
* Background opacity as a percentage from 0 (transparent) to 100 (opaque).
|
|
1139
|
+
* @max 100
|
|
1140
|
+
*/
|
|
1058
1141
|
backgroundOpacity?: number | null;
|
|
1059
1142
|
}
|
|
1143
|
+
/** A hierarchical grouping of elements for UI organization and bulk operations. */
|
|
1060
1144
|
interface ElementGroup {
|
|
1061
1145
|
/**
|
|
1062
|
-
*
|
|
1146
|
+
* Element group ID. Must be unique within the seating plan.
|
|
1063
1147
|
* @min 1
|
|
1064
1148
|
*/
|
|
1065
1149
|
_id?: number;
|
|
1066
|
-
/**
|
|
1150
|
+
/** ID of the parent group for creating nested group hierarchies. References another ElementGroup in the same seating plan. */
|
|
1067
1151
|
parentElementGroupId?: number | null;
|
|
1068
|
-
/**
|
|
1152
|
+
/** Visual properties for rendering this group in the UI. Includes positioning and dimensions for the group container. */
|
|
1069
1153
|
uiProperties?: ElementGroupUiProperties;
|
|
1070
1154
|
}
|
|
1155
|
+
/** Visual positioning and styling properties for element groups. */
|
|
1071
1156
|
interface ElementGroupUiProperties {
|
|
1072
1157
|
/**
|
|
1073
|
-
*
|
|
1158
|
+
* Horizontal position coordinate of the group container.
|
|
1074
1159
|
* @min -1000000
|
|
1075
1160
|
* @max 1000000
|
|
1076
1161
|
*/
|
|
1077
1162
|
x?: number | null;
|
|
1078
1163
|
/**
|
|
1079
|
-
*
|
|
1164
|
+
* Vertical position coordinate of the group container.
|
|
1080
1165
|
* @min -1000000
|
|
1081
1166
|
* @max 1000000
|
|
1082
1167
|
*/
|
|
1083
1168
|
y?: number | null;
|
|
1084
1169
|
/**
|
|
1085
|
-
*
|
|
1170
|
+
* Width of the group bounding box in coordinate system units.
|
|
1086
1171
|
* @max 1000000
|
|
1087
1172
|
*/
|
|
1088
1173
|
width?: number | null;
|
|
1089
1174
|
/**
|
|
1090
|
-
*
|
|
1175
|
+
* Height of the group bounding box in coordinate system units.
|
|
1091
1176
|
* @max 1000000
|
|
1092
1177
|
*/
|
|
1093
1178
|
height?: number | null;
|
|
1094
1179
|
/**
|
|
1095
|
-
*
|
|
1180
|
+
* Rotation angle of the group in degrees. Applied to all elements within the group.
|
|
1096
1181
|
* @min -180
|
|
1097
1182
|
* @max 180
|
|
1098
1183
|
*/
|