asteroid-odyssey 1.8.140 → 1.8.141

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.d.mts CHANGED
@@ -5070,9 +5070,9 @@ type WorkflowsWorkflowCreateRequest = {
5070
5070
  */
5071
5071
  name: string;
5072
5072
  /**
5073
- * The first version of the workflow
5073
+ * The first version of the workflow. Omit it to start from a blank workflow with a single start node.
5074
5074
  */
5075
- version: WorkflowsVersionCreateRequest;
5075
+ version?: WorkflowsVersionCreateRequest;
5076
5076
  };
5077
5077
  /**
5078
5078
  * Response after creating a workflow
@@ -11866,7 +11866,7 @@ declare const workflowList: <ThrowOnError extends boolean = false>(options?: Opt
11866
11866
  /**
11867
11867
  * Create workflow
11868
11868
  *
11869
- * Create a workflow and its first version.
11869
+ * Create a workflow and its first version. Without a version, the workflow starts blank with a single start node.
11870
11870
  */
11871
11871
  declare const workflowCreate: <ThrowOnError extends boolean = false>(options: Options<WorkflowCreateData, ThrowOnError>) => RequestResult<WorkflowCreateResponses, WorkflowCreateErrors, ThrowOnError>;
11872
11872
  /**
package/dist/index.d.ts CHANGED
@@ -5070,9 +5070,9 @@ type WorkflowsWorkflowCreateRequest = {
5070
5070
  */
5071
5071
  name: string;
5072
5072
  /**
5073
- * The first version of the workflow
5073
+ * The first version of the workflow. Omit it to start from a blank workflow with a single start node.
5074
5074
  */
5075
- version: WorkflowsVersionCreateRequest;
5075
+ version?: WorkflowsVersionCreateRequest;
5076
5076
  };
5077
5077
  /**
5078
5078
  * Response after creating a workflow
@@ -11866,7 +11866,7 @@ declare const workflowList: <ThrowOnError extends boolean = false>(options?: Opt
11866
11866
  /**
11867
11867
  * Create workflow
11868
11868
  *
11869
- * Create a workflow and its first version.
11869
+ * Create a workflow and its first version. Without a version, the workflow starts blank with a single start node.
11870
11870
  */
11871
11871
  declare const workflowCreate: <ThrowOnError extends boolean = false>(options: Options<WorkflowCreateData, ThrowOnError>) => RequestResult<WorkflowCreateResponses, WorkflowCreateErrors, ThrowOnError>;
11872
11872
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asteroid-odyssey",
3
- "version": "1.8.140",
3
+ "version": "1.8.141",
4
4
  "description": "SDK for interacting with Asteroid Agents API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",