@seatsio/seatsio-types 6.13.0 → 6.15.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 +15 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1028,11 +1028,13 @@ export interface NonBookableTableSeat extends InteractiveObject {
|
|
|
1028
1028
|
type: 'row' | 'table';
|
|
1029
1029
|
};
|
|
1030
1030
|
}
|
|
1031
|
+
export type WheelchairSpaceType = 'WHEELCHAIR_ACCESSIBLE_SEAT' | 'WHEELCHAIR_SPACE';
|
|
1031
1032
|
export interface AbstractSelectableObject extends InteractiveObject {
|
|
1032
1033
|
readonly objectType: string;
|
|
1033
1034
|
readonly selected: boolean;
|
|
1034
1035
|
readonly selectedTicketType: string | undefined;
|
|
1035
1036
|
readonly accessible: boolean | undefined;
|
|
1037
|
+
readonly wheelchairSpaceType: WheelchairSpaceType | undefined;
|
|
1036
1038
|
readonly hearingImpaired: boolean | undefined;
|
|
1037
1039
|
readonly signLanguageInterpretation: boolean | undefined;
|
|
1038
1040
|
readonly cartServices: boolean | undefined;
|
|
@@ -1117,6 +1119,18 @@ export interface GeneralAdmissionArea extends AbstractBookableObject {
|
|
|
1117
1119
|
}
|
|
1118
1120
|
export type BookableObject = Seat | GeneralAdmissionArea | Booth | Table;
|
|
1119
1121
|
export type SelectableObject = BookableObject | InteractiveSection;
|
|
1122
|
+
export interface BestAvailableConfig {
|
|
1123
|
+
number?: number;
|
|
1124
|
+
categories?: CategoryKey[];
|
|
1125
|
+
zone?: string;
|
|
1126
|
+
sections?: string[];
|
|
1127
|
+
accessibleSeats?: number;
|
|
1128
|
+
ticketTypes?: Dict<number>;
|
|
1129
|
+
}
|
|
1130
|
+
export interface BestAvailableHeldResult {
|
|
1131
|
+
objects: SelectableObject[];
|
|
1132
|
+
nextToEachOther?: boolean;
|
|
1133
|
+
}
|
|
1120
1134
|
export type ReportGroupedBy = 'zone';
|
|
1121
1135
|
export interface SeatingChart {
|
|
1122
1136
|
changeConfig: (config: ConfigChange) => Promise<void>;
|
|
@@ -1127,6 +1141,7 @@ export interface SeatingChart {
|
|
|
1127
1141
|
findObject: (label: string) => Promise<SelectableObject>;
|
|
1128
1142
|
getReportBySelectability: () => Promise<Object>;
|
|
1129
1143
|
getReportBySelectabilityGroupedBy: (groupBy: ReportGroupedBy) => Promise<Object>;
|
|
1144
|
+
holdBestAvailable: (config: BestAvailableConfig) => Promise<BestAvailableHeldResult>;
|
|
1130
1145
|
holdToken: string;
|
|
1131
1146
|
listCategories: () => Promise<Category[]>;
|
|
1132
1147
|
listZones: () => Promise<Zone[]>;
|