seatsio 90.4.0 → 90.6.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.
@@ -3,6 +3,7 @@ import { Labels } from '../Common/Labels.js';
3
3
  import { Dict } from '../Dict.js';
4
4
  import { Floor } from '../Common/Floor.js';
5
5
  import { AreaType } from '../Common/AreaType.js';
6
+ import { TableType } from '../Common/TableType.js';
6
7
  export type ChartObjectInfoJson = Dict<any>;
7
8
  export declare class ChartObjectInfo {
8
9
  bookAsAWhole?: boolean;
@@ -30,5 +31,6 @@ export declare class ChartObjectInfo {
30
31
  zone?: string;
31
32
  floor?: Floor;
32
33
  areaType?: AreaType;
34
+ tableType?: TableType;
33
35
  constructor(json: ChartObjectInfoJson);
34
36
  }
@@ -27,6 +27,7 @@ export class ChartObjectInfo {
27
27
  zone;
28
28
  floor;
29
29
  areaType;
30
+ tableType;
30
31
  constructor(json) {
31
32
  this.label = json.label;
32
33
  this.labels = HelperFunctions.labelCreator(json);
@@ -53,5 +54,6 @@ export class ChartObjectInfo {
53
54
  this.zone = json.zone;
54
55
  this.floor = json.floor ? new Floor(json.floor.name, json.floor.displayName) : undefined;
55
56
  this.areaType = json.areaType;
57
+ this.tableType = json.tableType;
56
58
  }
57
59
  }
@@ -0,0 +1,7 @@
1
+ export type TableType = 'bookByTable' | 'bookBySeat' | 'variableOccupancy' | 'generalAdmission';
2
+ export declare const TableTypes: {
3
+ readonly BOOK_BY_TABLE: "bookByTable";
4
+ readonly BOOK_BY_SEAT: "bookBySeat";
5
+ readonly VARIABLE_OCCUPANCY: "variableOccupancy";
6
+ readonly GENERAL_ADMISSION: "generalAdmission";
7
+ };
@@ -0,0 +1,6 @@
1
+ export const TableTypes = {
2
+ BOOK_BY_TABLE: 'bookByTable',
3
+ BOOK_BY_SEAT: 'bookBySeat',
4
+ VARIABLE_OCCUPANCY: 'variableOccupancy',
5
+ GENERAL_ADMISSION: 'generalAdmission'
6
+ };
@@ -3,6 +3,7 @@ import { Labels } from '../Common/Labels.js';
3
3
  import { Dict } from '../Dict.js';
4
4
  import { Floor } from '../Common/Floor.js';
5
5
  import { AreaType } from '../Common/AreaType.js';
6
+ import { TableType } from '../Common/TableType.js';
6
7
  export type EventObjectInfoJson = Dict<any>;
7
8
  export declare class EventObjectInfo {
8
9
  static FREE: string;
@@ -55,5 +56,6 @@ export declare class EventObjectInfo {
55
56
  floor?: Floor;
56
57
  resaleListingId?: string;
57
58
  areaType?: AreaType;
59
+ tableType?: TableType;
58
60
  constructor(json: EventObjectInfoJson);
59
61
  }
@@ -52,6 +52,7 @@ export class EventObjectInfo {
52
52
  floor;
53
53
  resaleListingId;
54
54
  areaType;
55
+ tableType;
55
56
  constructor(json) {
56
57
  this.label = json.label;
57
58
  this.labels = HelperFunctions.labelCreator(json);
@@ -99,5 +100,6 @@ export class EventObjectInfo {
99
100
  this.floor = json.floor ? new Floor(json.floor.name, json.floor.displayName) : undefined;
100
101
  this.resaleListingId = json.resaleListingId;
101
102
  this.areaType = json.areaType;
103
+ this.tableType = json.tableType;
102
104
  }
103
105
  }
@@ -25,6 +25,7 @@ export * from './Common/IDs.js';
25
25
  export * from './Common/LabelAndType.js';
26
26
  export * from './Common/Labels.js';
27
27
  export * from './Common/Month.js';
28
+ export * from './Common/TableType.js';
28
29
  export * from './EventLog/EventLog.js';
29
30
  export * from './EventLog/EventLogItem.js';
30
31
  export * from './Events/AbstractEventParams.js';
package/dist/src/index.js CHANGED
@@ -25,6 +25,7 @@ export * from './Common/IDs.js';
25
25
  export * from './Common/LabelAndType.js';
26
26
  export * from './Common/Labels.js';
27
27
  export * from './Common/Month.js';
28
+ export * from './Common/TableType.js';
28
29
  export * from './EventLog/EventLog.js';
29
30
  export * from './EventLog/EventLogItem.js';
30
31
  export * from './Events/AbstractEventParams.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "seatsio",
3
- "version": "90.4.0",
3
+ "version": "90.6.0",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "type": "module",