orchestrator-client 5.14.3 → 5.15.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.
package/dist/index.cjs CHANGED
@@ -887,6 +887,13 @@ var OrchestratorAsync = class {
887
887
  });
888
888
  return { message: data.message ?? "" };
889
889
  }
890
+ async approveVSAAction(taskId, approved = true) {
891
+ const data = await this._post("/task/vsa/action", {
892
+ task_id: taskId,
893
+ approved
894
+ });
895
+ return { message: data.message ?? "" };
896
+ }
890
897
  async deleteVSA(taskId) {
891
898
  const data = await this._post("/task/vsa/delete", {
892
899
  task_id: taskId
@@ -1728,6 +1735,9 @@ var Orchestrator = class {
1728
1735
  stopVSA(taskId) {
1729
1736
  return runSync(this._async.stopVSA(taskId));
1730
1737
  }
1738
+ approveVSAAction(taskId, approved = true) {
1739
+ return runSync(this._async.approveVSAAction(taskId, approved));
1740
+ }
1731
1741
  deleteVSA(taskId) {
1732
1742
  return runSync(this._async.deleteVSA(taskId));
1733
1743
  }