ugcinc 3.10.0 → 3.10.2
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 +8 -0
- package/dist/automations.js +11 -0
- package/dist/types.d.ts +4 -0
- package/package.json +1 -1
package/dist/automations.d.ts
CHANGED
|
@@ -118,6 +118,14 @@ export declare class AutomationsClient extends BaseClient {
|
|
|
118
118
|
exportRun(params: {
|
|
119
119
|
runId: string;
|
|
120
120
|
}): Promise<ApiResponse<AutomationRunExport>>;
|
|
121
|
+
/**
|
|
122
|
+
* Stop a running automation
|
|
123
|
+
* Marks the run as failed and all pending executors as failed.
|
|
124
|
+
* In-flight executors will complete gracefully.
|
|
125
|
+
*/
|
|
126
|
+
stop(params: {
|
|
127
|
+
runId: string;
|
|
128
|
+
}): Promise<ApiResponse<null>>;
|
|
121
129
|
}
|
|
122
130
|
/**
|
|
123
131
|
* Get all available automation nodes
|
package/dist/automations.js
CHANGED
|
@@ -130,6 +130,17 @@ class AutomationsClient extends base_1.BaseClient {
|
|
|
130
130
|
body: JSON.stringify(params),
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
|
+
/**
|
|
134
|
+
* Stop a running automation
|
|
135
|
+
* Marks the run as failed and all pending executors as failed.
|
|
136
|
+
* In-flight executors will complete gracefully.
|
|
137
|
+
*/
|
|
138
|
+
async stop(params) {
|
|
139
|
+
return this.request('/automations/stop', {
|
|
140
|
+
method: 'POST',
|
|
141
|
+
body: JSON.stringify(params),
|
|
142
|
+
});
|
|
143
|
+
}
|
|
133
144
|
}
|
|
134
145
|
exports.AutomationsClient = AutomationsClient;
|
|
135
146
|
/**
|
package/dist/types.d.ts
CHANGED
|
@@ -1235,6 +1235,10 @@ export interface AutoCaptionNodeConfig {
|
|
|
1235
1235
|
backgroundColor?: string;
|
|
1236
1236
|
/** Vertical position */
|
|
1237
1237
|
position?: AutoCaptionPosition;
|
|
1238
|
+
/** Vertical offset in pixels from position anchor */
|
|
1239
|
+
yOffset?: number;
|
|
1240
|
+
/** Maximum width as percentage of video width (0-100) */
|
|
1241
|
+
maxWidth?: number;
|
|
1238
1242
|
/** Words per subtitle segment (1-12) */
|
|
1239
1243
|
wordsPerSubtitle?: number;
|
|
1240
1244
|
/** Enable bounce animation effect */
|