@doist/automations-cli 1.29.0 → 1.29.1

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.js CHANGED
@@ -6899,7 +6899,7 @@ import { fileURLToPath } from "node:url";
6899
6899
  // package.json
6900
6900
  var package_default = {
6901
6901
  name: "@doist/automations-cli",
6902
- version: "1.29.0",
6902
+ version: "1.29.1",
6903
6903
  description: "Command-line client for Todoist Automations",
6904
6904
  type: "module",
6905
6905
  bin: {
@@ -29236,7 +29236,8 @@ var automationListResponseSchema = external_exports.object({
29236
29236
  var triggerAutomationResponseSchema = external_exports.object({
29237
29237
  automationId: external_exports.string(),
29238
29238
  runId: external_exports.string(),
29239
- status: external_exports.literal("pending")
29239
+ // Any run status, so clients parsing this after the run started don't reject a newer API.
29240
+ status: external_exports.enum(AUTOMATION_RUN_STATUSES)
29240
29241
  });
29241
29242
  var updateAutomationSchema = external_exports.object({
29242
29243
  enabled: external_exports.boolean().optional(),