ugcinc 3.2.1 → 3.2.3
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 +6 -0
- package/dist/automations.js +9 -0
- package/dist/types.d.ts +0 -1
- package/package.json +1 -1
package/dist/automations.d.ts
CHANGED
|
@@ -98,6 +98,12 @@ export declare class AutomationsClient extends BaseClient {
|
|
|
98
98
|
valid: boolean;
|
|
99
99
|
errors: string[];
|
|
100
100
|
}>>;
|
|
101
|
+
/**
|
|
102
|
+
* Delete an automation run
|
|
103
|
+
*/
|
|
104
|
+
deleteRun(params: {
|
|
105
|
+
runId: string;
|
|
106
|
+
}): Promise<ApiResponse<null>>;
|
|
101
107
|
}
|
|
102
108
|
/**
|
|
103
109
|
* Get all available automation nodes
|
package/dist/automations.js
CHANGED
|
@@ -101,6 +101,15 @@ class AutomationsClient extends base_1.BaseClient {
|
|
|
101
101
|
body: JSON.stringify(params),
|
|
102
102
|
});
|
|
103
103
|
}
|
|
104
|
+
/**
|
|
105
|
+
* Delete an automation run
|
|
106
|
+
*/
|
|
107
|
+
async deleteRun(params) {
|
|
108
|
+
return this.request('/automations/delete-run', {
|
|
109
|
+
method: 'POST',
|
|
110
|
+
body: JSON.stringify(params),
|
|
111
|
+
});
|
|
112
|
+
}
|
|
104
113
|
}
|
|
105
114
|
exports.AutomationsClient = AutomationsClient;
|
|
106
115
|
/**
|
package/dist/types.d.ts
CHANGED
|
@@ -944,7 +944,6 @@ export interface OutputNodeConfig {
|
|
|
944
944
|
*/
|
|
945
945
|
export interface ManualTriggerOutput {
|
|
946
946
|
id: string;
|
|
947
|
-
title: string;
|
|
948
947
|
type: 'image' | 'video' | 'audio' | 'text' | 'social_audio' | 'account';
|
|
949
948
|
/** Whether this variable is optional (default: false = required) */
|
|
950
949
|
optional?: boolean;
|