@runwayml/sdk 4.19.1 → 4.20.1
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/CHANGELOG.md +22 -0
- package/package.json +1 -1
- package/resources/image-to-video.d.mts +192 -19
- package/resources/image-to-video.d.mts.map +1 -1
- package/resources/image-to-video.d.ts +192 -19
- package/resources/image-to-video.d.ts.map +1 -1
- package/resources/image-to-video.js +9 -0
- package/resources/image-to-video.js.map +1 -1
- package/resources/image-to-video.mjs +9 -0
- package/resources/image-to-video.mjs.map +1 -1
- package/resources/organization/organization.d.mts +6 -4
- package/resources/organization/organization.d.mts.map +1 -1
- package/resources/organization/organization.d.ts +6 -4
- package/resources/organization/organization.d.ts.map +1 -1
- package/resources/organization/organization.js.map +1 -1
- package/resources/organization/organization.mjs.map +1 -1
- package/resources/organization/webapp/audit-logs.d.mts +59 -22
- package/resources/organization/webapp/audit-logs.d.mts.map +1 -1
- package/resources/organization/webapp/audit-logs.d.ts +59 -22
- package/resources/organization/webapp/audit-logs.d.ts.map +1 -1
- package/resources/realtime-sessions.d.mts +6 -3
- package/resources/realtime-sessions.d.mts.map +1 -1
- package/resources/realtime-sessions.d.ts +6 -3
- package/resources/realtime-sessions.d.ts.map +1 -1
- package/resources/tasks.d.mts +12 -6
- package/resources/tasks.d.mts.map +1 -1
- package/resources/tasks.d.ts +12 -6
- package/resources/tasks.d.ts.map +1 -1
- package/resources/text-to-image.d.mts +142 -47
- package/resources/text-to-image.d.mts.map +1 -1
- package/resources/text-to-image.d.ts +142 -47
- package/resources/text-to-image.d.ts.map +1 -1
- package/resources/text-to-speech.d.mts +5 -3
- package/resources/text-to-speech.d.mts.map +1 -1
- package/resources/text-to-speech.d.ts +5 -3
- package/resources/text-to-speech.d.ts.map +1 -1
- package/resources/text-to-video.d.mts +177 -24
- package/resources/text-to-video.d.mts.map +1 -1
- package/resources/text-to-video.d.ts +177 -24
- package/resources/text-to-video.d.ts.map +1 -1
- package/resources/text-to-video.js +8 -0
- package/resources/text-to-video.js.map +1 -1
- package/resources/text-to-video.mjs +8 -0
- package/resources/text-to-video.mjs.map +1 -1
- package/resources/video-to-hdr.d.mts +25 -9
- package/resources/video-to-hdr.d.mts.map +1 -1
- package/resources/video-to-hdr.d.ts +25 -9
- package/resources/video-to-hdr.d.ts.map +1 -1
- package/resources/video-to-hdr.js +4 -2
- package/resources/video-to-hdr.js.map +1 -1
- package/resources/video-to-hdr.mjs +4 -2
- package/resources/video-to-hdr.mjs.map +1 -1
- package/resources/video-to-video.d.mts +53 -5
- package/resources/video-to-video.d.mts.map +1 -1
- package/resources/video-to-video.d.ts +53 -5
- package/resources/video-to-video.d.ts.map +1 -1
- package/resources/video-upscale.d.mts +49 -33
- package/resources/video-upscale.d.mts.map +1 -1
- package/resources/video-upscale.d.ts +49 -33
- package/resources/video-upscale.d.ts.map +1 -1
- package/resources/workflow-invocations.d.mts +29 -4
- package/resources/workflow-invocations.d.mts.map +1 -1
- package/resources/workflow-invocations.d.ts +29 -4
- package/resources/workflow-invocations.d.ts.map +1 -1
- package/resources/workflow-invocations.js +3 -1
- package/resources/workflow-invocations.js.map +1 -1
- package/resources/workflow-invocations.mjs +3 -1
- package/resources/workflow-invocations.mjs.map +1 -1
- package/src/resources/image-to-video.ts +258 -26
- package/src/resources/organization/organization.ts +22 -2
- package/src/resources/organization/webapp/audit-logs.ts +119 -22
- package/src/resources/realtime-sessions.ts +6 -3
- package/src/resources/tasks.ts +12 -6
- package/src/resources/text-to-image.ts +262 -85
- package/src/resources/text-to-speech.ts +5 -3
- package/src/resources/text-to-video.ts +242 -31
- package/src/resources/video-to-hdr.ts +31 -9
- package/src/resources/video-to-video.ts +70 -5
- package/src/resources/video-upscale.ts +55 -33
- package/src/resources/workflow-invocations.ts +32 -4
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -9,7 +9,9 @@ export class WorkflowInvocations extends APIResource {
|
|
|
9
9
|
/**
|
|
10
10
|
* Return details about a workflow invocation. Consumers of this API should not
|
|
11
11
|
* expect updates more frequent than once every five seconds for a given workflow
|
|
12
|
-
* invocation.
|
|
12
|
+
* invocation. A `SUCCEEDED` invocation may still have had individual nodes fail,
|
|
13
|
+
* so check `nodeErrors` to detect a partial run rather than relying on `status`
|
|
14
|
+
* alone.
|
|
13
15
|
*/
|
|
14
16
|
retrieve(
|
|
15
17
|
id: string,
|
|
@@ -127,6 +129,14 @@ export namespace WorkflowInvocationRetrieveResponse {
|
|
|
127
129
|
*/
|
|
128
130
|
message: string;
|
|
129
131
|
|
|
132
|
+
/**
|
|
133
|
+
* A machine-readable error code for the node failure. See
|
|
134
|
+
* https://docs.dev.runwayml.com/errors/task-failures/ for more information. Absent
|
|
135
|
+
* for nodes that failed before generation began, such as an input validation
|
|
136
|
+
* error.
|
|
137
|
+
*/
|
|
138
|
+
failureCode?: string;
|
|
139
|
+
|
|
130
140
|
/**
|
|
131
141
|
* The human-readable name of the node that errored.
|
|
132
142
|
*/
|
|
@@ -176,6 +186,14 @@ export namespace WorkflowInvocationRetrieveResponse {
|
|
|
176
186
|
*/
|
|
177
187
|
message: string;
|
|
178
188
|
|
|
189
|
+
/**
|
|
190
|
+
* A machine-readable error code for the node failure. See
|
|
191
|
+
* https://docs.dev.runwayml.com/errors/task-failures/ for more information. Absent
|
|
192
|
+
* for nodes that failed before generation began, such as an input validation
|
|
193
|
+
* error.
|
|
194
|
+
*/
|
|
195
|
+
failureCode?: string;
|
|
196
|
+
|
|
179
197
|
/**
|
|
180
198
|
* The human-readable name of the node that errored.
|
|
181
199
|
*/
|
|
@@ -209,9 +227,11 @@ export namespace WorkflowInvocationRetrieveResponse {
|
|
|
209
227
|
status: 'SUCCEEDED';
|
|
210
228
|
|
|
211
229
|
/**
|
|
212
|
-
* A record mapping workflow node IDs to their error details.
|
|
213
|
-
*
|
|
214
|
-
*
|
|
230
|
+
* A record mapping workflow node IDs to their error details. A workflow invocation
|
|
231
|
+
* succeeds as long as every node reached a terminal state, so individual nodes may
|
|
232
|
+
* still have failed — for example a moderated prompt or an upstream provider
|
|
233
|
+
* outage — leaving their output missing from `output`. Check this field to detect
|
|
234
|
+
* a partial run. Only present when one or more nodes have errored.
|
|
215
235
|
*/
|
|
216
236
|
nodeErrors?: { [key: string]: Succeeded.NodeErrors };
|
|
217
237
|
}
|
|
@@ -223,6 +243,14 @@ export namespace WorkflowInvocationRetrieveResponse {
|
|
|
223
243
|
*/
|
|
224
244
|
message: string;
|
|
225
245
|
|
|
246
|
+
/**
|
|
247
|
+
* A machine-readable error code for the node failure. See
|
|
248
|
+
* https://docs.dev.runwayml.com/errors/task-failures/ for more information. Absent
|
|
249
|
+
* for nodes that failed before generation began, such as an input validation
|
|
250
|
+
* error.
|
|
251
|
+
*/
|
|
252
|
+
failureCode?: string;
|
|
253
|
+
|
|
226
254
|
/**
|
|
227
255
|
* The human-readable name of the node that errored.
|
|
228
256
|
*/
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '4.
|
|
1
|
+
export const VERSION = '4.20.1'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "4.
|
|
1
|
+
export declare const VERSION = "4.20.1";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "4.
|
|
1
|
+
export declare const VERSION = "4.20.1";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '4.
|
|
1
|
+
export const VERSION = '4.20.1'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|