@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.
@@ -1057,7 +1057,7 @@ export class automation extends HeyApiClient {
1057
1057
  });
1058
1058
  }
1059
1059
  /**
1060
- * Trigger one automation job immediately
1060
+ * Start one automation job and return its admission receipt
1061
1061
  */
1062
1062
  triggerAutomationJob(options) {
1063
1063
  return (options.client ?? this.client).post({
@@ -1086,6 +1086,16 @@ export class automation extends HeyApiClient {
1086
1086
  ...options,
1087
1087
  });
1088
1088
  }
1089
+ /**
1090
+ * Cancel an orphaned automation run
1091
+ */
1092
+ cancelAutomationRun(options) {
1093
+ return (options.client ?? this.client).post({
1094
+ responseStyle: "data",
1095
+ url: "/api/automation/runs/{id}/cancel",
1096
+ ...options,
1097
+ });
1098
+ }
1089
1099
  /**
1090
1100
  * List consent-first automation suggestions for one workspace
1091
1101
  */