seatsio 87.4.0 → 87.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.
@@ -20,6 +20,11 @@ export declare class ChartObjectInfo {
20
20
  section?: string;
21
21
  isAccessible?: boolean;
22
22
  isCompanionSeat?: boolean;
23
+ hasLiftUpArmrests?: boolean;
24
+ isHearingImpaired?: boolean;
25
+ isSemiAmbulatorySeat?: boolean;
26
+ hasSignLanguageInterpretation?: boolean;
27
+ isPlusSize?: boolean;
23
28
  hasRestrictedView?: boolean;
24
29
  zone?: string;
25
30
  floor?: Floor;
@@ -22,6 +22,11 @@ var ChartObjectInfo = /** @class */ (function () {
22
22
  this.numSeats = json.numSeats;
23
23
  this.isAccessible = json.isAccessible;
24
24
  this.isCompanionSeat = json.isCompanionSeat;
25
+ this.hasLiftUpArmrests = json.hasLiftUpArmrests;
26
+ this.isHearingImpaired = json.isHearingImpaired;
27
+ this.isSemiAmbulatorySeat = json.isSemiAmbulatorySeat;
28
+ this.hasSignLanguageInterpretation = json.hasSignLanguageInterpretation;
29
+ this.isPlusSize = json.isPlusSize;
25
30
  this.hasRestrictedView = json.hasRestrictedView;
26
31
  this.zone = json.zone;
27
32
  this.floor = json.floor ? new Floor_1.Floor(json.floor.name, json.floor.displayName) : undefined;
@@ -27,6 +27,11 @@ export declare class EventObjectInfo {
27
27
  isAccessible?: boolean;
28
28
  isAvailable: boolean;
29
29
  isCompanionSeat?: boolean;
30
+ hasLiftUpArmrests?: boolean;
31
+ isHearingImpaired?: boolean;
32
+ isSemiAmbulatorySeat?: boolean;
33
+ hasSignLanguageInterpretation?: boolean;
34
+ isPlusSize?: boolean;
30
35
  label: string;
31
36
  labels: Labels;
32
37
  leftNeighbour?: string;
@@ -28,6 +28,11 @@ var EventObjectInfo = /** @class */ (function () {
28
28
  this.extraData = json.extraData;
29
29
  this.isAccessible = json.isAccessible;
30
30
  this.isCompanionSeat = json.isCompanionSeat;
31
+ this.hasLiftUpArmrests = json.hasLiftUpArmrests;
32
+ this.isHearingImpaired = json.isHearingImpaired;
33
+ this.isSemiAmbulatorySeat = json.isSemiAmbulatorySeat;
34
+ this.hasSignLanguageInterpretation = json.hasSignLanguageInterpretation;
35
+ this.isPlusSize = json.isPlusSize;
31
36
  this.hasRestrictedView = json.hasRestrictedView;
32
37
  this.displayedObjectType = json.displayedObjectType;
33
38
  this.parentDisplayedObjectType = json.parentDisplayedObjectType;
@@ -47,8 +47,8 @@ export declare class Events {
47
47
  markAsForSale(eventKey: string, objects?: string[] | null, areaPlaces?: object | null, categories?: string[] | null): Promise<import("axios").AxiosResponse<any, any, {}>>;
48
48
  markAsNotForSale(eventKey: string, objects?: string[] | null, areaPlaces?: object | null, categories?: string[] | null): Promise<import("axios").AxiosResponse<any, any, {}>>;
49
49
  markEverythingAsForSale(eventKey: string): Promise<import("axios").AxiosResponse<any, any, {}>>;
50
- overrideSeasonObjectStatus(eventKey: string, objects: string[]): Promise<import("axios").AxiosResponse<any, any, {}>>;
51
- useSeasonObjectStatus(eventKey: string, objects: string[]): Promise<import("axios").AxiosResponse<any, any, {}>>;
50
+ overrideSeasonObjectStatus(eventKey: string, objects: string[], seasonKey?: string | null): Promise<import("axios").AxiosResponse<any, any, {}>>;
51
+ useSeasonObjectStatus(eventKey: string, objects: string[], seasonKey?: string | null): Promise<import("axios").AxiosResponse<any, any, {}>>;
52
52
  updateExtraData(eventKey: string, obj: string, extraData: object): Promise<import("axios").AxiosResponse<any, any, {}>>;
53
53
  updateExtraDatas(eventKey: string, extraData: Dict<any>): Promise<import("axios").AxiosResponse<any, any, {}>>;
54
54
  retrieveObjectInfo(eventKey: string, label: string): Promise<EventObjectInfo>;
@@ -277,11 +277,21 @@ var Events = /** @class */ (function () {
277
277
  Events.prototype.markEverythingAsForSale = function (eventKey) {
278
278
  return this.client.post("events/".concat(encodeURIComponent(eventKey), "/actions/mark-everything-as-for-sale"));
279
279
  };
280
- Events.prototype.overrideSeasonObjectStatus = function (eventKey, objects) {
281
- return this.client.post("/events/".concat(encodeURIComponent(eventKey), "/actions/override-season-status"), { objects: objects });
280
+ Events.prototype.overrideSeasonObjectStatus = function (eventKey, objects, seasonKey) {
281
+ if (seasonKey === void 0) { seasonKey = null; }
282
+ var request = { objects: objects };
283
+ if (seasonKey !== null) {
284
+ request.season = seasonKey;
285
+ }
286
+ return this.client.post("/events/".concat(encodeURIComponent(eventKey), "/actions/override-season-status"), request);
282
287
  };
283
- Events.prototype.useSeasonObjectStatus = function (eventKey, objects) {
284
- return this.client.post("/events/".concat(encodeURIComponent(eventKey), "/actions/use-season-status"), { objects: objects });
288
+ Events.prototype.useSeasonObjectStatus = function (eventKey, objects, seasonKey) {
289
+ if (seasonKey === void 0) { seasonKey = null; }
290
+ var request = { objects: objects };
291
+ if (seasonKey !== null) {
292
+ request.season = seasonKey;
293
+ }
294
+ return this.client.post("/events/".concat(encodeURIComponent(eventKey), "/actions/use-season-status"), request);
285
295
  };
286
296
  Events.prototype.updateExtraData = function (eventKey, obj, extraData) {
287
297
  var requestParameters = {};
@@ -343,6 +353,9 @@ var Events = /** @class */ (function () {
343
353
  var requests = statusChangeRequests.map(function (r) {
344
354
  var json = _this.changeStatusToRequest(r.type, r.objectOrObjects, r.status, r.holdToken, r.orderId, r.keepExtraData, r.ignoreChannels, r.channelKeys, r.allowedPreviousStatuses, r.rejectedPreviousStatuses, r.resaleListingId);
345
355
  json.event = r.eventKey;
356
+ if (r.season !== null) {
357
+ json.season = r.season;
358
+ }
346
359
  return json;
347
360
  });
348
361
  var request = { statusChanges: requests };
@@ -16,6 +16,7 @@ export declare class StatusChangeRequest {
16
16
  allowedPreviousStatuses: string[] | null;
17
17
  rejectedPreviousStatuses: string[] | null;
18
18
  resaleListingId: string | null;
19
+ season: string | null;
19
20
  withType(type: string): this;
20
21
  withEventKey(eventKey: string): this;
21
22
  withObjects(objectOrObjects: ObjectOrObjects): this;
@@ -28,4 +29,5 @@ export declare class StatusChangeRequest {
28
29
  withAllowedPreviousStatuses(allowedPreviousStatuses: string[]): this;
29
30
  withRejectedPreviousStatuses(rejectedPreviousStatuses: string[]): this;
30
31
  withResaleListingId(resaleListingId: string): this;
32
+ withSeasonKey(seasonKey: string): this;
31
33
  }
@@ -15,6 +15,7 @@ var StatusChangeRequest = /** @class */ (function () {
15
15
  this.allowedPreviousStatuses = null;
16
16
  this.rejectedPreviousStatuses = null;
17
17
  this.resaleListingId = null;
18
+ this.season = null;
18
19
  }
19
20
  StatusChangeRequest.prototype.withType = function (type) {
20
21
  this.type = type;
@@ -64,6 +65,10 @@ var StatusChangeRequest = /** @class */ (function () {
64
65
  this.resaleListingId = resaleListingId;
65
66
  return this;
66
67
  };
68
+ StatusChangeRequest.prototype.withSeasonKey = function (seasonKey) {
69
+ this.season = seasonKey;
70
+ return this;
71
+ };
67
72
  StatusChangeRequest.TYPE_RELEASE = 'RELEASE';
68
73
  StatusChangeRequest.TYPE_CHANGE_STATUS_TO = 'CHANGE_STATUS_TO';
69
74
  StatusChangeRequest.TYPE_OVERRIDE_SEASON_STATUS = 'OVERRIDE_SEASON_STATUS';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "seatsio",
3
- "version": "87.4.0",
3
+ "version": "87.6.0",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "files": [
@@ -18,25 +18,25 @@
18
18
  "url": "https://github.com/seatsio/seatsio-js"
19
19
  },
20
20
  "dependencies": {
21
- "axios": "1.13.2"
21
+ "axios": "1.14.0"
22
22
  },
23
23
  "devDependencies": {
24
- "@jest/globals": "30.2.0",
24
+ "@jest/globals": "30.3.0",
25
25
  "@types/jest": "30.0.0",
26
- "@types/node": "25.0.3",
26
+ "@types/node": "25.5.0",
27
27
  "@typescript-eslint/eslint-plugin": "5.62.0",
28
28
  "@typescript-eslint/parser": "5.62.0",
29
- "ctix": "2.7.2",
29
+ "ctix": "2.7.5",
30
30
  "eslint": "8.57.1",
31
31
  "eslint-config-standard": "17.1.0",
32
32
  "eslint-plugin-import": "2.32.0",
33
33
  "eslint-plugin-n": "16.6.2",
34
34
  "eslint-plugin-promise": "6.6.0",
35
- "jest": "30.2.0",
36
- "jest-cli": "30.2.0",
37
- "prettier": "3.7.4",
38
- "semver": "7.7.3",
39
- "ts-jest": "29.4.6",
35
+ "jest": "30.3.0",
36
+ "jest-cli": "30.3.0",
37
+ "prettier": "3.8.1",
38
+ "semver": "7.7.4",
39
+ "ts-jest": "29.4.9",
40
40
  "typescript": "5.9.3",
41
41
  "zx": "8.8.5"
42
42
  }