@seatsio/seatsio-types 6.14.0 → 6.16.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 +14 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -377,7 +377,7 @@ export interface BaseEventManagerConfigOptions extends CommonConfigOptions, Extr
|
|
|
377
377
|
*/
|
|
378
378
|
showTechnicalLabel?: boolean;
|
|
379
379
|
};
|
|
380
|
-
|
|
380
|
+
viewSettings?: {
|
|
381
381
|
/**
|
|
382
382
|
* @default false
|
|
383
383
|
*/
|
|
@@ -1119,6 +1119,18 @@ export interface GeneralAdmissionArea extends AbstractBookableObject {
|
|
|
1119
1119
|
}
|
|
1120
1120
|
export type BookableObject = Seat | GeneralAdmissionArea | Booth | Table;
|
|
1121
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
|
+
}
|
|
1122
1134
|
export type ReportGroupedBy = 'zone';
|
|
1123
1135
|
export interface SeatingChart {
|
|
1124
1136
|
changeConfig: (config: ConfigChange) => Promise<void>;
|
|
@@ -1129,6 +1141,7 @@ export interface SeatingChart {
|
|
|
1129
1141
|
findObject: (label: string) => Promise<SelectableObject>;
|
|
1130
1142
|
getReportBySelectability: () => Promise<Object>;
|
|
1131
1143
|
getReportBySelectabilityGroupedBy: (groupBy: ReportGroupedBy) => Promise<Object>;
|
|
1144
|
+
holdBestAvailable: (config: BestAvailableConfig) => Promise<BestAvailableHeldResult>;
|
|
1132
1145
|
holdToken: string;
|
|
1133
1146
|
listCategories: () => Promise<Category[]>;
|
|
1134
1147
|
listZones: () => Promise<Zone[]>;
|