seatsio 82.1.0 → 82.2.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.
|
@@ -27,6 +27,7 @@ export declare class Events {
|
|
|
27
27
|
retrieve(eventKey: string): Promise<Event>;
|
|
28
28
|
update(eventKey: string, params: UpdateEventParams): Promise<import("axios").AxiosResponse<any, any>>;
|
|
29
29
|
delete(eventKey: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
30
|
+
moveEventToChartCopy(eventKey: string): Promise<Event>;
|
|
30
31
|
listAll(requestParameters?: {}): import("..").AsyncIterator<Event>;
|
|
31
32
|
listFirstPage(pageSize?: number | null): Promise<Page<Event>>;
|
|
32
33
|
listPageAfter(afterId: number, pageSize?: number | null): Promise<Page<Event>>;
|
|
@@ -163,6 +163,10 @@ var Events = /** @class */ (function () {
|
|
|
163
163
|
Events.prototype.delete = function (eventKey) {
|
|
164
164
|
return this.client.delete("/events/".concat(encodeURIComponent(eventKey)));
|
|
165
165
|
};
|
|
166
|
+
Events.prototype.moveEventToChartCopy = function (eventKey) {
|
|
167
|
+
return this.client.post("events/".concat(encodeURIComponent(eventKey), "/actions/move-to-new-chart-copy"))
|
|
168
|
+
.then(function (res) { return new EventDeserializer_1.EventDeserializer().fromJson(res.data); });
|
|
169
|
+
};
|
|
166
170
|
Events.prototype.listAll = function (requestParameters) {
|
|
167
171
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
168
172
|
return this.iterator().all(requestParameters);
|