seatsio 81.14.0 → 81.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.
@@ -1,6 +1,7 @@
1
1
  import { ChartValidation } from './ChartValidation';
2
2
  import { Event } from '../Events/Event';
3
3
  import { Dict } from '../Dict';
4
+ import { Zone } from './Zone';
4
5
  export type ChartJson = Dict<any>;
5
6
  export declare class Chart {
6
7
  archived: boolean;
@@ -14,5 +15,6 @@ export declare class Chart {
14
15
  tags: string[];
15
16
  validation?: ChartValidation;
16
17
  venueType?: string;
18
+ zones?: Zone[];
17
19
  constructor(chart: ChartJson);
18
20
  }
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Chart = void 0;
4
4
  var EventDeserializer_1 = require("../Events/EventDeserializer");
5
5
  var ChartValidation_1 = require("./ChartValidation");
6
+ var Zone_1 = require("./Zone");
6
7
  var Chart = /** @class */ (function () {
7
8
  function Chart(chart) {
8
9
  this.name = chart.name;
@@ -17,6 +18,7 @@ var Chart = /** @class */ (function () {
17
18
  if (chart.validation)
18
19
  this.validation = new ChartValidation_1.ChartValidation(chart.validation);
19
20
  this.venueType = chart.venueType;
21
+ this.zones = chart.zones ? chart.zones.map(function (zone) { return Zone_1.Zone.fromJson(zone); }) : [];
20
22
  }
21
23
  return Chart;
22
24
  }());
@@ -1,19 +1,24 @@
1
1
  export declare class ChartListParams {
2
2
  eventsLimit?: number;
3
- expand?: string;
4
3
  filter?: string;
5
4
  tag?: string;
6
- validation?: boolean;
5
+ expandEvents: boolean;
6
+ expandValidation: boolean;
7
+ expandVenueType: boolean;
8
+ expandZones: boolean;
7
9
  withFilter(filter: string): this;
8
10
  withTag(tag: string): this;
9
11
  withExpandEvents(expandEvents: boolean): this;
10
12
  withEventsLimit(eventsLimit: number): this;
11
13
  withValidation(validation: boolean): this;
14
+ withExpandValidation(expandValidation: boolean): this;
15
+ withExpandVenueType(expandVenueType: boolean): this;
16
+ withExpandZones(expandZones: boolean): this;
12
17
  serialize(): {
13
18
  tag: string | undefined;
14
- expand: string | undefined;
19
+ expand: string[];
15
20
  filter: string | undefined;
16
- validation: boolean | undefined;
17
21
  eventsLimit: number | undefined;
18
22
  };
23
+ private expandParams;
19
24
  }
@@ -3,6 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ChartListParams = void 0;
4
4
  var ChartListParams = /** @class */ (function () {
5
5
  function ChartListParams() {
6
+ this.expandEvents = false;
7
+ this.expandValidation = false;
8
+ this.expandVenueType = false;
9
+ this.expandZones = false;
6
10
  }
7
11
  ChartListParams.prototype.withFilter = function (filter) {
8
12
  this.filter = filter;
@@ -13,28 +17,53 @@ var ChartListParams = /** @class */ (function () {
13
17
  return this;
14
18
  };
15
19
  ChartListParams.prototype.withExpandEvents = function (expandEvents) {
16
- if (expandEvents) {
17
- this.expand = 'events';
18
- }
20
+ this.expandEvents = expandEvents;
19
21
  return this;
20
22
  };
21
23
  ChartListParams.prototype.withEventsLimit = function (eventsLimit) {
22
24
  this.eventsLimit = eventsLimit;
23
25
  return this;
24
26
  };
27
+ // @deprecated use withExpandValidation instead
25
28
  ChartListParams.prototype.withValidation = function (validation) {
26
- this.validation = validation;
29
+ return this.withExpandValidation(validation);
30
+ };
31
+ ChartListParams.prototype.withExpandValidation = function (expandValidation) {
32
+ this.expandValidation = expandValidation;
33
+ return this;
34
+ };
35
+ ChartListParams.prototype.withExpandVenueType = function (expandVenueType) {
36
+ this.expandVenueType = expandVenueType;
37
+ return this;
38
+ };
39
+ ChartListParams.prototype.withExpandZones = function (expandZones) {
40
+ this.expandZones = expandZones;
27
41
  return this;
28
42
  };
29
43
  ChartListParams.prototype.serialize = function () {
30
44
  return {
31
45
  tag: this.tag,
32
- expand: this.expand,
46
+ expand: this.expandParams(),
33
47
  filter: this.filter,
34
- validation: this.validation,
35
48
  eventsLimit: this.eventsLimit
36
49
  };
37
50
  };
51
+ ChartListParams.prototype.expandParams = function () {
52
+ var expandParams = [];
53
+ if (this.expandEvents) {
54
+ expandParams.push('events');
55
+ }
56
+ if (this.expandValidation) {
57
+ expandParams.push('validation');
58
+ }
59
+ if (this.expandVenueType) {
60
+ expandParams.push('venueType');
61
+ }
62
+ if (this.expandZones) {
63
+ expandParams.push('zones');
64
+ }
65
+ return expandParams;
66
+ };
38
67
  return ChartListParams;
39
68
  }());
40
69
  exports.ChartListParams = ChartListParams;
@@ -20,5 +20,6 @@ export declare class ChartObjectInfo {
20
20
  isAccessible?: boolean;
21
21
  isCompanionSeat?: boolean;
22
22
  hasRestrictedView?: boolean;
23
+ zone?: string;
23
24
  constructor(json: ChartObjectInfoJson);
24
25
  }
@@ -22,6 +22,7 @@ var ChartObjectInfo = /** @class */ (function () {
22
22
  this.isAccessible = json.isAccessible;
23
23
  this.isCompanionSeat = json.isCompanionSeat;
24
24
  this.hasRestrictedView = json.hasRestrictedView;
25
+ this.zone = json.zone;
25
26
  }
26
27
  return ChartObjectInfo;
27
28
  }());
@@ -0,0 +1,12 @@
1
+ export interface ZoneJson {
2
+ key: string;
3
+ label: string;
4
+ }
5
+ export declare class Zone {
6
+ private readonly key;
7
+ private readonly label;
8
+ constructor(key: string, label: string);
9
+ getKey(): string;
10
+ getLabel(): string;
11
+ static fromJson(zone: ZoneJson): Zone;
12
+ }
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Zone = void 0;
4
+ var Zone = /** @class */ (function () {
5
+ function Zone(key, label) {
6
+ this.key = key;
7
+ this.label = label;
8
+ }
9
+ Zone.prototype.getKey = function () {
10
+ return this.key;
11
+ };
12
+ Zone.prototype.getLabel = function () {
13
+ return this.label;
14
+ };
15
+ Zone.fromJson = function (zone) {
16
+ return new Zone(zone.key, zone.label);
17
+ };
18
+ return Zone;
19
+ }());
20
+ exports.Zone = Zone;
@@ -0,0 +1,15 @@
1
+ import { Dict } from '../Dict';
2
+ export declare class BestAvailableParams {
3
+ number?: number;
4
+ categories?: string[];
5
+ zone?: string;
6
+ extraData?: Dict<any>;
7
+ ticketTypes?: string[];
8
+ tryToPreventOrphanSeats?: boolean;
9
+ withNumber(number: number): this;
10
+ withCategories(categories: string[]): this;
11
+ withZone(zone: string): this;
12
+ withExtraData(extraData: Dict<any>): this;
13
+ withTicketTypes(ticketTypes: string[]): this;
14
+ withTryToPreventOrphanSeats(tryToPreventOrphanSeats: boolean): this;
15
+ }
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BestAvailableParams = void 0;
4
+ var BestAvailableParams = /** @class */ (function () {
5
+ function BestAvailableParams() {
6
+ }
7
+ BestAvailableParams.prototype.withNumber = function (number) {
8
+ this.number = number;
9
+ return this;
10
+ };
11
+ BestAvailableParams.prototype.withCategories = function (categories) {
12
+ this.categories = categories;
13
+ return this;
14
+ };
15
+ BestAvailableParams.prototype.withZone = function (zone) {
16
+ this.zone = zone;
17
+ return this;
18
+ };
19
+ BestAvailableParams.prototype.withExtraData = function (extraData) {
20
+ this.extraData = extraData;
21
+ return this;
22
+ };
23
+ BestAvailableParams.prototype.withTicketTypes = function (ticketTypes) {
24
+ this.ticketTypes = ticketTypes;
25
+ return this;
26
+ };
27
+ BestAvailableParams.prototype.withTryToPreventOrphanSeats = function (tryToPreventOrphanSeats) {
28
+ this.tryToPreventOrphanSeats = tryToPreventOrphanSeats;
29
+ return this;
30
+ };
31
+ return BestAvailableParams;
32
+ }());
33
+ exports.BestAvailableParams = BestAvailableParams;
@@ -42,5 +42,6 @@ export declare class EventObjectInfo {
42
42
  maxOccupancy?: number;
43
43
  seasonStatusOverriddenQuantity: number;
44
44
  numNotForSale?: number;
45
+ zone?: string;
45
46
  constructor(json: EventObjectInfoJson);
46
47
  }
@@ -41,6 +41,7 @@ var EventObjectInfo = /** @class */ (function () {
41
41
  this.minOccupancy = json.minOccupancy;
42
42
  this.maxOccupancy = json.maxOccupancy;
43
43
  this.seasonStatusOverriddenQuantity = json.seasonStatusOverriddenQuantity;
44
+ this.zone = json.zone;
44
45
  }
45
46
  EventObjectInfo.FREE = 'free';
46
47
  EventObjectInfo.BOOKED = 'booked';
@@ -11,6 +11,7 @@ import { Dict } from '../Dict';
11
11
  import { StatusChangeRequest } from './StatusChangeRequest';
12
12
  import { CreateEventParams } from './CreateEventParams';
13
13
  import { UpdateEventParams } from './UpdateEventParams';
14
+ import { BestAvailableParams } from './BestAvailableParams';
14
15
  export interface ObjectIdAndTicketType {
15
16
  objectId: string;
16
17
  ticketType?: string;
@@ -46,10 +47,10 @@ export declare class Events {
46
47
  changeObjectStatusInBatch(statusChangeRequests: StatusChangeRequest[]): Promise<any>;
47
48
  changeObjectStatusRequest(objectOrObjects: ObjectOrObjects, status: string, holdToken: string | null, orderId: string | null, keepExtraData: boolean | null, ignoreChannels: boolean | null, channelKeys?: string[] | null, allowedPreviousStatuses?: string[] | null, rejectedPreviousStatuses?: string[] | null): Dict<any>;
48
49
  book(eventKeyOrKeys: string | string[], objectOrObjects: ObjectOrObjects, holdToken?: string | null, orderId?: string | null, keepExtraData?: boolean | null, ignoreChannels?: boolean | null, channelKeys?: string[] | null): Promise<ChangeObjectStatusResult>;
49
- bookBestAvailable(eventKey: string, number: number, categories?: string[] | null, holdToken?: string | null, extraData?: Dict<any> | null, ticketTypes?: string[] | null, orderId?: string | null, keepExtraData?: boolean | null, ignoreChannels?: boolean | null, channelKeys?: string[] | null, tryToPreventOrphanSeats?: boolean | null): Promise<BestAvailableObjects>;
50
+ bookBestAvailable(eventKey: string, bestAvailableParams: BestAvailableParams, holdToken?: string | null, orderId?: string | null, keepExtraData?: boolean | null, ignoreChannels?: boolean | null, channelKeys?: string[] | null): Promise<BestAvailableObjects>;
50
51
  release(eventKeyOrKeys: string | string[], objectOrObjects: ObjectOrObjects, holdToken?: string | null, orderId?: string | null, keepExtraData?: boolean | null, ignoreChannels?: boolean | null, channelKeys?: string[] | null): Promise<ChangeObjectStatusResult>;
51
52
  hold(eventKeyOrKeys: string | string[], objectOrObjects: ObjectOrObjects, holdToken: string, orderId?: string | null, keepExtraData?: boolean | null, ignoreChannels?: boolean | null, channelKeys?: string[] | null): Promise<ChangeObjectStatusResult>;
52
- holdBestAvailable(eventKey: string, number: number, holdToken: string, categories?: string[] | null, extraData?: Dict<any> | null, ticketTypes?: string[] | null, orderId?: string | null, keepExtraData?: boolean | null, ignoreChannels?: boolean | null, channelKeys?: string[] | null, tryToPreventOrphanSeats?: boolean | null): Promise<BestAvailableObjects>;
53
- changeBestAvailableObjectStatus(eventKey: string, number: number, status: string, categories?: string[] | null, holdToken?: string | null, extraData?: Dict<any> | null, ticketTypes?: string[] | null, orderId?: string | null, keepExtraData?: boolean | null, ignoreChannels?: boolean | null, channelKeys?: string[] | null, tryToPreventOrphanSeats?: boolean | null): Promise<BestAvailableObjects>;
53
+ holdBestAvailable(eventKey: string, bestAvailableParams: BestAvailableParams, holdToken: string, orderId?: string | null, keepExtraData?: boolean | null, ignoreChannels?: boolean | null, channelKeys?: string[] | null): Promise<BestAvailableObjects>;
54
+ changeBestAvailableObjectStatus(eventKey: string, bestAvailableParams: BestAvailableParams, status: string, holdToken?: string | null, orderId?: string | null, keepExtraData?: boolean | null, ignoreChannels?: boolean | null, channelKeys?: string[] | null): Promise<BestAvailableObjects>;
54
55
  normalizeObjects(objectOrObjects: ObjectOrObjects): ObjectIdAndTicketType[];
55
56
  }
@@ -338,17 +338,13 @@ var Events = /** @class */ (function () {
338
338
  if (channelKeys === void 0) { channelKeys = null; }
339
339
  return this.changeObjectStatus(eventKeyOrKeys, objectOrObjects, EventObjectInfo_1.EventObjectInfo.BOOKED, holdToken, orderId, keepExtraData, ignoreChannels, channelKeys);
340
340
  };
341
- Events.prototype.bookBestAvailable = function (eventKey, number, categories, holdToken, extraData, ticketTypes, orderId, keepExtraData, ignoreChannels, channelKeys, tryToPreventOrphanSeats) {
342
- if (categories === void 0) { categories = null; }
341
+ Events.prototype.bookBestAvailable = function (eventKey, bestAvailableParams, holdToken, orderId, keepExtraData, ignoreChannels, channelKeys) {
343
342
  if (holdToken === void 0) { holdToken = null; }
344
- if (extraData === void 0) { extraData = null; }
345
- if (ticketTypes === void 0) { ticketTypes = null; }
346
343
  if (orderId === void 0) { orderId = null; }
347
344
  if (keepExtraData === void 0) { keepExtraData = null; }
348
345
  if (ignoreChannels === void 0) { ignoreChannels = null; }
349
346
  if (channelKeys === void 0) { channelKeys = null; }
350
- if (tryToPreventOrphanSeats === void 0) { tryToPreventOrphanSeats = null; }
351
- return this.changeBestAvailableObjectStatus(encodeURIComponent(eventKey), number, EventObjectInfo_1.EventObjectInfo.BOOKED, categories, holdToken, extraData, ticketTypes, orderId, keepExtraData, ignoreChannels, channelKeys, tryToPreventOrphanSeats);
347
+ return this.changeBestAvailableObjectStatus(encodeURIComponent(eventKey), bestAvailableParams, EventObjectInfo_1.EventObjectInfo.BOOKED, holdToken, orderId, keepExtraData, ignoreChannels, channelKeys);
352
348
  };
353
349
  Events.prototype.release = function (eventKeyOrKeys, objectOrObjects, holdToken, orderId, keepExtraData, ignoreChannels, channelKeys) {
354
350
  if (holdToken === void 0) { holdToken = null; }
@@ -365,49 +361,27 @@ var Events = /** @class */ (function () {
365
361
  if (channelKeys === void 0) { channelKeys = null; }
366
362
  return this.changeObjectStatus(eventKeyOrKeys, objectOrObjects, EventObjectInfo_1.EventObjectInfo.HELD, holdToken, orderId, keepExtraData, ignoreChannels, channelKeys);
367
363
  };
368
- Events.prototype.holdBestAvailable = function (eventKey, number, holdToken, categories, extraData, ticketTypes, orderId, keepExtraData, ignoreChannels, channelKeys, tryToPreventOrphanSeats) {
369
- if (categories === void 0) { categories = null; }
370
- if (extraData === void 0) { extraData = null; }
371
- if (ticketTypes === void 0) { ticketTypes = null; }
364
+ Events.prototype.holdBestAvailable = function (eventKey, bestAvailableParams, holdToken, orderId, keepExtraData, ignoreChannels, channelKeys) {
372
365
  if (orderId === void 0) { orderId = null; }
373
366
  if (keepExtraData === void 0) { keepExtraData = null; }
374
367
  if (ignoreChannels === void 0) { ignoreChannels = null; }
375
368
  if (channelKeys === void 0) { channelKeys = null; }
376
- if (tryToPreventOrphanSeats === void 0) { tryToPreventOrphanSeats = null; }
377
- return this.changeBestAvailableObjectStatus(encodeURIComponent(eventKey), number, EventObjectInfo_1.EventObjectInfo.HELD, categories, holdToken, extraData, ticketTypes, orderId, keepExtraData, ignoreChannels, channelKeys, tryToPreventOrphanSeats);
369
+ return this.changeBestAvailableObjectStatus(encodeURIComponent(eventKey), bestAvailableParams, EventObjectInfo_1.EventObjectInfo.HELD, holdToken, orderId, keepExtraData, ignoreChannels, channelKeys);
378
370
  };
379
- Events.prototype.changeBestAvailableObjectStatus = function (eventKey, number, status, categories, holdToken, extraData, ticketTypes, orderId, keepExtraData, ignoreChannels, channelKeys, tryToPreventOrphanSeats) {
380
- if (categories === void 0) { categories = null; }
371
+ Events.prototype.changeBestAvailableObjectStatus = function (eventKey, bestAvailableParams, status, holdToken, orderId, keepExtraData, ignoreChannels, channelKeys) {
381
372
  if (holdToken === void 0) { holdToken = null; }
382
- if (extraData === void 0) { extraData = null; }
383
- if (ticketTypes === void 0) { ticketTypes = null; }
384
373
  if (orderId === void 0) { orderId = null; }
385
374
  if (keepExtraData === void 0) { keepExtraData = null; }
386
375
  if (ignoreChannels === void 0) { ignoreChannels = null; }
387
376
  if (channelKeys === void 0) { channelKeys = null; }
388
- if (tryToPreventOrphanSeats === void 0) { tryToPreventOrphanSeats = null; }
389
377
  var requestParameters = {};
390
- var bestAvailable = {};
391
378
  requestParameters.status = status;
392
- bestAvailable.number = number;
393
379
  if (holdToken !== null) {
394
380
  requestParameters.holdToken = holdToken;
395
381
  }
396
382
  if (orderId !== null) {
397
383
  requestParameters.orderId = orderId;
398
384
  }
399
- if (categories !== null) {
400
- bestAvailable.categories = categories;
401
- }
402
- if (extraData !== null) {
403
- bestAvailable.extraData = extraData;
404
- }
405
- if (ticketTypes !== null) {
406
- bestAvailable.ticketTypes = ticketTypes;
407
- }
408
- if (tryToPreventOrphanSeats !== null) {
409
- bestAvailable.tryToPreventOrphanSeats = tryToPreventOrphanSeats;
410
- }
411
385
  if (keepExtraData !== null) {
412
386
  requestParameters.keepExtraData = keepExtraData;
413
387
  }
@@ -417,7 +391,7 @@ var Events = /** @class */ (function () {
417
391
  if (channelKeys !== null) {
418
392
  requestParameters.channelKeys = channelKeys;
419
393
  }
420
- requestParameters.bestAvailable = bestAvailable;
394
+ requestParameters.bestAvailable = bestAvailableParams;
421
395
  return this.client.post("/events/".concat(encodeURIComponent(eventKey), "/actions/change-object-status"), requestParameters)
422
396
  .then(function (res) { return new BestAvailableObjects_1.BestAvailableObjects(res.data); });
423
397
  };
@@ -14,7 +14,9 @@ export declare class ChartReports {
14
14
  byCategoryKey(chartKey: string, bookWholeTables?: string, version?: string): Promise<import("..").Dict<import("..").ChartObjectInfo[]>>;
15
15
  summaryByCategoryKey(chartKey: string, bookWholeTables?: string, version?: string): Promise<any>;
16
16
  bySection(chartKey: string, bookWholeTables?: string, version?: string): Promise<import("..").Dict<import("..").ChartObjectInfo[]>>;
17
+ byZone(chartKey: string, bookWholeTables?: string, version?: string): Promise<import("..").Dict<import("..").ChartObjectInfo[]>>;
17
18
  summaryBySection(chartKey: string, bookWholeTables?: string, version?: string): Promise<any>;
19
+ summaryByZone(chartKey: string, bookWholeTables?: string, version?: string): Promise<any>;
18
20
  fetchReport(reportType: string, chartKey: string, bookWholeTables?: string, version?: string): Promise<import("..").Dict<import("..").ChartObjectInfo[]>>;
19
21
  fetchSummaryReport(reportType: string, chartKey: string, bookWholeTables?: string, version?: string): Promise<any>;
20
22
  }
@@ -38,9 +38,15 @@ var ChartReports = /** @class */ (function () {
38
38
  ChartReports.prototype.bySection = function (chartKey, bookWholeTables, version) {
39
39
  return this.fetchReport('bySection', chartKey, bookWholeTables, version);
40
40
  };
41
+ ChartReports.prototype.byZone = function (chartKey, bookWholeTables, version) {
42
+ return this.fetchReport('byZone', chartKey, bookWholeTables, version);
43
+ };
41
44
  ChartReports.prototype.summaryBySection = function (chartKey, bookWholeTables, version) {
42
45
  return this.fetchSummaryReport('bySection', chartKey, bookWholeTables, version);
43
46
  };
47
+ ChartReports.prototype.summaryByZone = function (chartKey, bookWholeTables, version) {
48
+ return this.fetchSummaryReport('byZone', chartKey, bookWholeTables, version);
49
+ };
44
50
  ChartReports.prototype.fetchReport = function (reportType, chartKey, bookWholeTables, version) {
45
51
  return this.client.get("/reports/charts/".concat(encodeURIComponent(chartKey), "/").concat(reportType), { params: { bookWholeTables: bookWholeTables, version: version } })
46
52
  .then(function (res) { return reportUtility_1.Utilities.createChartReport(res.data); });
@@ -20,6 +20,9 @@ export declare class EventReports {
20
20
  bySection(eventKey: string, section?: string | null): Promise<import("..").Dict<import("..").EventObjectInfo[]>>;
21
21
  summaryBySection(eventKey: string): Promise<any>;
22
22
  deepSummaryBySection(eventKey: string): Promise<any>;
23
+ byZone(eventKey: string, zone?: string | null): Promise<import("..").Dict<import("..").EventObjectInfo[]>>;
24
+ summaryByZone(eventKey: string): Promise<any>;
25
+ deepSummaryByZone(eventKey: string): Promise<any>;
23
26
  byAvailability(eventKey: string, availability?: string | null): Promise<import("..").Dict<import("..").EventObjectInfo[]>>;
24
27
  byAvailabilityReason(eventKey: string, availabilityReason?: string | null): Promise<import("..").Dict<import("..").EventObjectInfo[]>>;
25
28
  summaryByAvailability(eventKey: string): Promise<any>;
@@ -81,6 +81,19 @@ var EventReports = /** @class */ (function () {
81
81
  return this.client.get(EventReports.deepSummaryReportUrl('bySection', eventKey))
82
82
  .then(function (res) { return res.data; });
83
83
  };
84
+ EventReports.prototype.byZone = function (eventKey, zone) {
85
+ if (zone === void 0) { zone = null; }
86
+ return this.client.get(EventReports.reportUrl('byZone', eventKey, zone))
87
+ .then(function (res) { return reportUtility_1.Utilities.createEventReport(res.data); });
88
+ };
89
+ EventReports.prototype.summaryByZone = function (eventKey) {
90
+ return this.client.get(EventReports.summaryReportUrl('byZone', eventKey))
91
+ .then(function (res) { return res.data; });
92
+ };
93
+ EventReports.prototype.deepSummaryByZone = function (eventKey) {
94
+ return this.client.get(EventReports.deepSummaryReportUrl('byZone', eventKey))
95
+ .then(function (res) { return res.data; });
96
+ };
84
97
  EventReports.prototype.byAvailability = function (eventKey, availability) {
85
98
  if (availability === void 0) { availability = null; }
86
99
  return this.client.get(EventReports.reportUrl('byAvailability', eventKey, availability))
@@ -37,6 +37,9 @@ export declare class SeatsioClient {
37
37
  };
38
38
  headers: any;
39
39
  errorHandle: boolean;
40
+ paramsSerializer: {
41
+ indexes: null;
42
+ };
40
43
  };
41
44
  _setupRequestListenerInterceptors(): void;
42
45
  setRequestListener(requestListener: any): this;
@@ -50,7 +50,10 @@ var SeatsioClient = /** @class */ (function () {
50
50
  password: null
51
51
  },
52
52
  headers: extraHeaders,
53
- errorHandle: false
53
+ errorHandle: false,
54
+ paramsSerializer: {
55
+ indexes: null
56
+ }
54
57
  };
55
58
  config.headers['X-Client-Lib'] = 'js';
56
59
  if (workspaceKey) {
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.errorResponseHandler = void 0;
3
+ exports.errorResponseHandler = errorResponseHandler;
4
4
  function errorResponseHandler(e) {
5
5
  return new Promise(function (resolve, reject) {
6
6
  if (typeof e.response !== 'undefined') {
@@ -16,4 +16,3 @@ function errorResponseHandler(e) {
16
16
  }
17
17
  });
18
18
  }
19
- exports.errorResponseHandler = errorResponseHandler;
@@ -18,6 +18,7 @@ export * from './Charts/ChartListParams';
18
18
  export * from './Charts/ChartObjectInfo';
19
19
  export * from './Charts/Charts';
20
20
  export * from './Charts/ChartValidation';
21
+ export * from './Charts/Zone';
21
22
  export * from './Common/IDs';
22
23
  export * from './Common/LabelAndType';
23
24
  export * from './Common/Labels';
@@ -25,6 +26,7 @@ export * from './EventLog/EventLog';
25
26
  export * from './EventLog/EventLogItem';
26
27
  export * from './Events/AbstractEventParams';
27
28
  export * from './Events/BestAvailableObjects';
29
+ export * from './Events/BestAvailableParams';
28
30
  export * from './Events/ChangeObjectStatusResult';
29
31
  export * from './Events/Channel';
30
32
  export * from './Events/Channels';
package/dist/src/index.js CHANGED
@@ -34,6 +34,7 @@ __exportStar(require("./Charts/ChartListParams"), exports);
34
34
  __exportStar(require("./Charts/ChartObjectInfo"), exports);
35
35
  __exportStar(require("./Charts/Charts"), exports);
36
36
  __exportStar(require("./Charts/ChartValidation"), exports);
37
+ __exportStar(require("./Charts/Zone"), exports);
37
38
  __exportStar(require("./Common/IDs"), exports);
38
39
  __exportStar(require("./Common/LabelAndType"), exports);
39
40
  __exportStar(require("./Common/Labels"), exports);
@@ -41,6 +42,7 @@ __exportStar(require("./EventLog/EventLog"), exports);
41
42
  __exportStar(require("./EventLog/EventLogItem"), exports);
42
43
  __exportStar(require("./Events/AbstractEventParams"), exports);
43
44
  __exportStar(require("./Events/BestAvailableObjects"), exports);
45
+ __exportStar(require("./Events/BestAvailableParams"), exports);
44
46
  __exportStar(require("./Events/ChangeObjectStatusResult"), exports);
45
47
  __exportStar(require("./Events/Channel"), exports);
46
48
  __exportStar(require("./Events/Channels"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "seatsio",
3
- "version": "81.14.0",
3
+ "version": "81.15.0",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "files": [
@@ -23,20 +23,20 @@
23
23
  "devDependencies": {
24
24
  "@jest/globals": "29.7.0",
25
25
  "@types/jest": "29.5.12",
26
- "@types/node": "20.13.0",
27
- "@types/uuid": "9.0.8",
26
+ "@types/node": "20.14.9",
27
+ "@types/uuid": "10.0.0",
28
28
  "@typescript-eslint/eslint-plugin": "5.62.0",
29
29
  "@typescript-eslint/parser": "5.62.0",
30
30
  "eslint": "8.57.0",
31
31
  "eslint-config-standard": "17.1.0",
32
32
  "eslint-plugin-import": "2.29.1",
33
33
  "eslint-plugin-n": "16.6.2",
34
- "eslint-plugin-promise": "6.2.0",
34
+ "eslint-plugin-promise": "6.4.0",
35
35
  "jest": "29.7.0",
36
36
  "jest-cli": "29.7.0",
37
- "ts-jest": "29.1.4",
38
- "typescript": "5.4.5",
39
- "ctix": "2.4.4",
40
- "uuid": "9.0.1"
37
+ "ts-jest": "29.1.5",
38
+ "typescript": "5.5.2",
39
+ "ctix": "2.5.1",
40
+ "uuid": "10.0.0"
41
41
  }
42
42
  }