seatsio 81.1.0 → 81.3.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.
@@ -26,6 +26,7 @@ export declare class Charts {
26
26
  copy(key: string): Promise<Chart>;
27
27
  copyDraftVersion(key: string): Promise<Chart>;
28
28
  copyToWorkspace(key: string, workspaceKey: string): Promise<Chart>;
29
+ copyFromWorkspaceTo(key: string, fromWorkspaceKey: string, toWorkspaceKey: string): Promise<Chart>;
29
30
  retrievePublishedVersionThumbnail(key: string): Promise<any>;
30
31
  retrieveDraftVersionThumbnail(key: string): Promise<any>;
31
32
  listAllTags(): Promise<any>;
@@ -99,6 +99,10 @@ var Charts = /** @class */ (function () {
99
99
  return this.client.post("charts/".concat(key, "/version/published/actions/copy-to-workspace/").concat(workspaceKey))
100
100
  .then(function (res) { return new Chart_1.Chart(res.data); });
101
101
  };
102
+ Charts.prototype.copyFromWorkspaceTo = function (key, fromWorkspaceKey, toWorkspaceKey) {
103
+ return this.client.post("charts/".concat(key, "/version/published/actions/copy/from/").concat(fromWorkspaceKey, "/to/").concat(toWorkspaceKey))
104
+ .then(function (res) { return new Chart_1.Chart(res.data); });
105
+ };
102
106
  Charts.prototype.retrievePublishedVersionThumbnail = function (key) {
103
107
  return this.client.get("/charts/".concat(key, "/version/published/thumbnail"), { responseType: 'arraybuffer' })
104
108
  .then(function (res) { return res.data; });
@@ -36,6 +36,8 @@ export declare class Events {
36
36
  markAsForSale(eventKey: string, objects?: string[] | null, areaPlaces?: object | null, categories?: string[] | null): Promise<import("axios").AxiosResponse<any, any>>;
37
37
  markAsNotForSale(eventKey: string, objects?: string[] | null, areaPlaces?: object | null, categories?: string[] | null): Promise<import("axios").AxiosResponse<any, any>>;
38
38
  markEverythingAsForSale(eventKey: string): Promise<import("axios").AxiosResponse<any, any>>;
39
+ overrideSeasonObjectStatus(eventKey: string, objects: string[]): Promise<import("axios").AxiosResponse<any, any>>;
40
+ useSeasonObjectStatus(eventKey: string, objects: string[]): Promise<import("axios").AxiosResponse<any, any>>;
39
41
  updateExtraData(eventKey: string, obj: string, extraData: object): Promise<import("axios").AxiosResponse<any, any>>;
40
42
  updateExtraDatas(eventKey: string, extraData: Dict<any>): Promise<import("axios").AxiosResponse<any, any>>;
41
43
  retrieveObjectInfo(eventKey: string, label: string): Promise<EventObjectInfo>;
@@ -232,6 +232,12 @@ var Events = /** @class */ (function () {
232
232
  Events.prototype.markEverythingAsForSale = function (eventKey) {
233
233
  return this.client.post("events/".concat(encodeURIComponent(eventKey), "/actions/mark-everything-as-for-sale"));
234
234
  };
235
+ Events.prototype.overrideSeasonObjectStatus = function (eventKey, objects) {
236
+ return this.client.post("/events/".concat(encodeURIComponent(eventKey), "/actions/override-season-status"), { objects: objects });
237
+ };
238
+ Events.prototype.useSeasonObjectStatus = function (eventKey, objects) {
239
+ return this.client.post("/events/".concat(encodeURIComponent(eventKey), "/actions/use-season-status"), { objects: objects });
240
+ };
235
241
  Events.prototype.updateExtraData = function (eventKey, obj, extraData) {
236
242
  var requestParameters = {};
237
243
  requestParameters.extraData = extraData;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "seatsio",
3
- "version": "81.1.0",
3
+ "version": "81.3.0",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "files": [