@seatsio/seatsio-types 6.9.0 → 6.11.0
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/dist/index.d.ts +10 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -647,6 +647,10 @@ export type Category = {
|
|
|
647
647
|
};
|
|
648
648
|
hasSelectableObjects: boolean;
|
|
649
649
|
};
|
|
650
|
+
export type Zone = {
|
|
651
|
+
key: string;
|
|
652
|
+
label: string | null;
|
|
653
|
+
};
|
|
650
654
|
export type HoldToken = {
|
|
651
655
|
token: string;
|
|
652
656
|
expiresAt: string;
|
|
@@ -1000,6 +1004,7 @@ export interface InteractiveObject {
|
|
|
1000
1004
|
readonly label: string;
|
|
1001
1005
|
readonly labels: Labels;
|
|
1002
1006
|
readonly floor?: string;
|
|
1007
|
+
readonly zone?: string;
|
|
1003
1008
|
}
|
|
1004
1009
|
export interface NonBookableTable extends InteractiveObject {
|
|
1005
1010
|
readonly seats: Seat[];
|
|
@@ -1026,6 +1031,10 @@ export interface AbstractSelectableObject extends InteractiveObject {
|
|
|
1026
1031
|
readonly selected: boolean;
|
|
1027
1032
|
readonly selectedTicketType: string | undefined;
|
|
1028
1033
|
readonly accessible: boolean | undefined;
|
|
1034
|
+
readonly hearingImpaired: boolean | undefined;
|
|
1035
|
+
readonly signLanguageInterpretation: boolean | undefined;
|
|
1036
|
+
readonly cartServices: boolean | undefined;
|
|
1037
|
+
readonly plusSize: boolean | undefined;
|
|
1029
1038
|
readonly restrictedView: boolean | undefined;
|
|
1030
1039
|
readonly companionSeat: boolean | undefined;
|
|
1031
1040
|
readonly liftUpArmrests: boolean | undefined;
|
|
@@ -1116,6 +1125,7 @@ export interface SeatingChart {
|
|
|
1116
1125
|
getReportBySelectability: () => Promise<Object>;
|
|
1117
1126
|
holdToken: string;
|
|
1118
1127
|
listCategories: () => Promise<Category[]>;
|
|
1128
|
+
listZones: () => Promise<Zone[]>;
|
|
1119
1129
|
listSelectedObjects: () => Promise<SelectableObject[]>;
|
|
1120
1130
|
render: () => SeatingChart;
|
|
1121
1131
|
rerender: () => void;
|