ugcinc 2.38.0 → 2.39.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.
- package/dist/automations.d.ts +10 -0
- package/dist/automations.js +9 -0
- package/package.json +1 -1
package/dist/automations.d.ts
CHANGED
|
@@ -54,6 +54,16 @@ export declare class AutomationsClient extends BaseClient {
|
|
|
54
54
|
run: AutomationRun;
|
|
55
55
|
nodes: NodeRun[];
|
|
56
56
|
}>>;
|
|
57
|
+
/**
|
|
58
|
+
* List automation runs for a template
|
|
59
|
+
*/
|
|
60
|
+
listRuns(params: {
|
|
61
|
+
templateId: string;
|
|
62
|
+
limit?: number;
|
|
63
|
+
}): Promise<ApiResponse<Array<{
|
|
64
|
+
run: AutomationRun;
|
|
65
|
+
nodeCount: number;
|
|
66
|
+
}>>>;
|
|
57
67
|
/**
|
|
58
68
|
* Validate a workflow definition without creating it
|
|
59
69
|
*/
|
package/dist/automations.js
CHANGED
|
@@ -63,6 +63,15 @@ class AutomationsClient extends base_1.BaseClient {
|
|
|
63
63
|
body: JSON.stringify(params),
|
|
64
64
|
});
|
|
65
65
|
}
|
|
66
|
+
/**
|
|
67
|
+
* List automation runs for a template
|
|
68
|
+
*/
|
|
69
|
+
async listRuns(params) {
|
|
70
|
+
return this.request('/automations/list-runs', {
|
|
71
|
+
method: 'POST',
|
|
72
|
+
body: JSON.stringify(params),
|
|
73
|
+
});
|
|
74
|
+
}
|
|
66
75
|
/**
|
|
67
76
|
* Validate a workflow definition without creating it
|
|
68
77
|
*/
|