seatsio 82.0.0 → 82.1.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.
|
@@ -48,6 +48,7 @@ var EventObjectInfo = /** @class */ (function () {
|
|
|
48
48
|
EventObjectInfo.FREE = 'free';
|
|
49
49
|
EventObjectInfo.BOOKED = 'booked';
|
|
50
50
|
EventObjectInfo.HELD = 'reservedByToken';
|
|
51
|
+
EventObjectInfo.RESALE = 'resale';
|
|
51
52
|
return EventObjectInfo;
|
|
52
53
|
}());
|
|
53
54
|
exports.EventObjectInfo = EventObjectInfo;
|
|
@@ -51,6 +51,7 @@ export declare class Events {
|
|
|
51
51
|
private buildChangeObjectStatusRequest;
|
|
52
52
|
book(eventKeyOrKeys: string | string[], objectOrObjects: ObjectOrObjects, holdToken?: string | null, orderId?: string | null, keepExtraData?: boolean | null, ignoreChannels?: boolean | null, channelKeys?: string[] | null): Promise<ChangeObjectStatusResult>;
|
|
53
53
|
bookBestAvailable(eventKey: string, bestAvailableParams: BestAvailableParams, holdToken?: string | null, orderId?: string | null, keepExtraData?: boolean | null, ignoreChannels?: boolean | null, channelKeys?: string[] | null): Promise<BestAvailableObjects>;
|
|
54
|
+
putUpForResale(eventKeyOrKeys: string | string[], objectOrObjects: ObjectOrObjects): Promise<ChangeObjectStatusResult>;
|
|
54
55
|
release(eventKeyOrKeys: string | string[], objectOrObjects: ObjectOrObjects, holdToken?: string | null, orderId?: string | null, keepExtraData?: boolean | null, ignoreChannels?: boolean | null, channelKeys?: string[] | null): Promise<ChangeObjectStatusResult>;
|
|
55
56
|
hold(eventKeyOrKeys: string | string[], objectOrObjects: ObjectOrObjects, holdToken: string, orderId?: string | null, keepExtraData?: boolean | null, ignoreChannels?: boolean | null, channelKeys?: string[] | null): Promise<ChangeObjectStatusResult>;
|
|
56
57
|
holdBestAvailable(eventKey: string, bestAvailableParams: BestAvailableParams, holdToken: string, orderId?: string | null, keepExtraData?: boolean | null, ignoreChannels?: boolean | null, channelKeys?: string[] | null): Promise<BestAvailableObjects>;
|
|
@@ -362,6 +362,9 @@ var Events = /** @class */ (function () {
|
|
|
362
362
|
if (channelKeys === void 0) { channelKeys = null; }
|
|
363
363
|
return this.changeBestAvailableObjectStatus(encodeURIComponent(eventKey), bestAvailableParams, EventObjectInfo_1.EventObjectInfo.BOOKED, holdToken, orderId, keepExtraData, ignoreChannels, channelKeys);
|
|
364
364
|
};
|
|
365
|
+
Events.prototype.putUpForResale = function (eventKeyOrKeys, objectOrObjects) {
|
|
366
|
+
return this.changeObjectStatus(eventKeyOrKeys, objectOrObjects, EventObjectInfo_1.EventObjectInfo.RESALE);
|
|
367
|
+
};
|
|
365
368
|
Events.prototype.release = function (eventKeyOrKeys, objectOrObjects, holdToken, orderId, keepExtraData, ignoreChannels, channelKeys) {
|
|
366
369
|
if (holdToken === void 0) { holdToken = null; }
|
|
367
370
|
if (orderId === void 0) { orderId = null; }
|