ugcinc 2.39.0 → 2.40.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.
@@ -36,12 +36,14 @@ export declare class AutomationsClient extends BaseClient {
36
36
  * Run an automation template
37
37
  * @param variableInputs - Optional map of variable node IDs to their runtime values
38
38
  * @param saveAsPreview - If true, saves the output as a preview for sub-workflows
39
+ * @param tag - Optional tag for organizing runs
39
40
  */
40
41
  run(params: {
41
42
  templateId: string;
42
43
  orgId: string;
43
44
  variableInputs?: Record<string, string>;
44
45
  saveAsPreview?: boolean;
46
+ tag?: string;
45
47
  }): Promise<ApiResponse<{
46
48
  runId: string;
47
49
  }>>;
@@ -47,6 +47,7 @@ class AutomationsClient extends base_1.BaseClient {
47
47
  * Run an automation template
48
48
  * @param variableInputs - Optional map of variable node IDs to their runtime values
49
49
  * @param saveAsPreview - If true, saves the output as a preview for sub-workflows
50
+ * @param tag - Optional tag for organizing runs
50
51
  */
51
52
  async run(params) {
52
53
  return this.request('/automations/run', {
package/dist/types.d.ts CHANGED
@@ -695,8 +695,10 @@ export interface AutomationRun {
695
695
  id: string;
696
696
  template_id: string;
697
697
  org_id: string;
698
+ tag: string | null;
698
699
  status: 'pending' | 'running' | 'completed' | 'failed';
699
700
  variable_inputs: Record<string, string> | null;
701
+ save_as_preview: boolean | null;
700
702
  created_at: string;
701
703
  completed_at: string | null;
702
704
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ugcinc",
3
- "version": "2.39.0",
3
+ "version": "2.40.0",
4
4
  "description": "TypeScript/JavaScript client for the UGC Inc API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",