@seatsio/seatsio-types 6.11.0 → 6.13.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 +4 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -906,6 +906,8 @@ export type TicketType = {
|
|
|
906
906
|
label?: string;
|
|
907
907
|
description?: string;
|
|
908
908
|
primary?: boolean;
|
|
909
|
+
unavailable?: boolean;
|
|
910
|
+
unavailableReason?: 'unavailable' | 'soldOut' | (string & {});
|
|
909
911
|
};
|
|
910
912
|
export type PricingForCategory = (SimplePricing | MultiLevelPricing);
|
|
911
913
|
export type PricingForObjects = (SimplePricingForObjects | MultiLevelPricingForObjects);
|
|
@@ -1115,6 +1117,7 @@ export interface GeneralAdmissionArea extends AbstractBookableObject {
|
|
|
1115
1117
|
}
|
|
1116
1118
|
export type BookableObject = Seat | GeneralAdmissionArea | Booth | Table;
|
|
1117
1119
|
export type SelectableObject = BookableObject | InteractiveSection;
|
|
1120
|
+
export type ReportGroupedBy = 'zone';
|
|
1118
1121
|
export interface SeatingChart {
|
|
1119
1122
|
changeConfig: (config: ConfigChange) => Promise<void>;
|
|
1120
1123
|
clearSelection: () => Promise<void>;
|
|
@@ -1123,6 +1126,7 @@ export interface SeatingChart {
|
|
|
1123
1126
|
destroy: () => void;
|
|
1124
1127
|
findObject: (label: string) => Promise<SelectableObject>;
|
|
1125
1128
|
getReportBySelectability: () => Promise<Object>;
|
|
1129
|
+
getReportBySelectabilityGroupedBy: (groupBy: ReportGroupedBy) => Promise<Object>;
|
|
1126
1130
|
holdToken: string;
|
|
1127
1131
|
listCategories: () => Promise<Category[]>;
|
|
1128
1132
|
listZones: () => Promise<Zone[]>;
|