seatsio 81.1.0 → 81.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.
@@ -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; });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "seatsio",
3
- "version": "81.1.0",
3
+ "version": "81.2.0",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "files": [