@compozy/client 0.6.0 → 0.6.2

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.
@@ -1063,7 +1063,7 @@ class automation extends HeyApiClient {
1063
1063
  });
1064
1064
  }
1065
1065
  /**
1066
- * Trigger one automation job immediately
1066
+ * Start one automation job and return its admission receipt
1067
1067
  */
1068
1068
  triggerAutomationJob(options) {
1069
1069
  return (options.client ?? this.client).post({
@@ -1092,6 +1092,16 @@ class automation extends HeyApiClient {
1092
1092
  ...options,
1093
1093
  });
1094
1094
  }
1095
+ /**
1096
+ * Cancel an orphaned automation run
1097
+ */
1098
+ cancelAutomationRun(options) {
1099
+ return (options.client ?? this.client).post({
1100
+ responseStyle: "data",
1101
+ url: "/api/automation/runs/{id}/cancel",
1102
+ ...options,
1103
+ });
1104
+ }
1095
1105
  /**
1096
1106
  * List consent-first automation suggestions for one workspace
1097
1107
  */