@runwayml/sdk 4.28.0 → 4.29.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/CHANGELOG.md +10 -0
- package/README.md +2 -2
- package/package.json +1 -1
- package/resources/avatar-conversations.d.mts +1 -1
- package/resources/avatar-conversations.d.mts.map +1 -1
- package/resources/avatar-conversations.d.ts +1 -1
- package/resources/avatar-conversations.d.ts.map +1 -1
- package/resources/avatar-conversations.js +1 -1
- package/resources/avatar-conversations.js.map +1 -1
- package/resources/avatar-conversations.mjs +1 -1
- package/resources/avatar-conversations.mjs.map +1 -1
- package/resources/avatars.d.mts +2 -4
- package/resources/avatars.d.mts.map +1 -1
- package/resources/avatars.d.ts +2 -4
- package/resources/avatars.d.ts.map +1 -1
- package/resources/avatars.js +2 -4
- package/resources/avatars.js.map +1 -1
- package/resources/avatars.mjs +2 -4
- package/resources/avatars.mjs.map +1 -1
- package/resources/documents.d.mts +4 -10
- package/resources/documents.d.mts.map +1 -1
- package/resources/documents.d.ts +4 -10
- package/resources/documents.d.ts.map +1 -1
- package/resources/documents.js +2 -8
- package/resources/documents.js.map +1 -1
- package/resources/documents.mjs +2 -8
- package/resources/documents.mjs.map +1 -1
- package/resources/image-to-video.d.mts +72 -1
- package/resources/image-to-video.d.mts.map +1 -1
- package/resources/image-to-video.d.ts +72 -1
- package/resources/image-to-video.d.ts.map +1 -1
- package/resources/organization/organization.d.mts +52 -3
- package/resources/organization/organization.d.mts.map +1 -1
- package/resources/organization/organization.d.ts +52 -3
- package/resources/organization/organization.d.ts.map +1 -1
- package/resources/organization/organization.js +1 -1
- package/resources/organization/organization.js.map +1 -1
- package/resources/organization/organization.mjs +1 -1
- package/resources/organization/organization.mjs.map +1 -1
- package/resources/organization/webapp/audit-logs.d.mts +48 -16
- package/resources/organization/webapp/audit-logs.d.mts.map +1 -1
- package/resources/organization/webapp/audit-logs.d.ts +48 -16
- package/resources/organization/webapp/audit-logs.d.ts.map +1 -1
- package/resources/organization/webapp/audit-logs.js +1 -1
- package/resources/organization/webapp/audit-logs.js.map +1 -1
- package/resources/organization/webapp/audit-logs.mjs +1 -1
- package/resources/organization/webapp/audit-logs.mjs.map +1 -1
- package/resources/organization/webapp/webapp.d.mts +16 -1
- package/resources/organization/webapp/webapp.d.mts.map +1 -1
- package/resources/organization/webapp/webapp.d.ts +16 -1
- package/resources/organization/webapp/webapp.d.ts.map +1 -1
- package/resources/organization/webapp/webapp.js.map +1 -1
- package/resources/organization/webapp/webapp.mjs.map +1 -1
- package/resources/routers.d.mts +32 -26
- package/resources/routers.d.mts.map +1 -1
- package/resources/routers.d.ts +32 -26
- package/resources/routers.d.ts.map +1 -1
- package/resources/routers.js +2 -2
- package/resources/routers.js.map +1 -1
- package/resources/routers.mjs +2 -2
- package/resources/routers.mjs.map +1 -1
- package/resources/text-to-image.d.mts +122 -1
- package/resources/text-to-image.d.mts.map +1 -1
- package/resources/text-to-image.d.ts +122 -1
- package/resources/text-to-image.d.ts.map +1 -1
- package/resources/text-to-video.d.mts +87 -1
- package/resources/text-to-video.d.mts.map +1 -1
- package/resources/text-to-video.d.ts +87 -1
- package/resources/text-to-video.d.ts.map +1 -1
- package/resources/video-to-video.d.mts +100 -1
- package/resources/video-to-video.d.mts.map +1 -1
- package/resources/video-to-video.d.ts +100 -1
- package/resources/video-to-video.d.ts.map +1 -1
- package/resources/voices.d.mts +1 -1
- package/resources/voices.d.mts.map +1 -1
- package/resources/voices.d.ts +1 -1
- package/resources/voices.d.ts.map +1 -1
- package/resources/voices.js +1 -1
- package/resources/voices.js.map +1 -1
- package/resources/voices.mjs +1 -1
- package/resources/voices.mjs.map +1 -1
- package/src/resources/avatar-conversations.ts +1 -1
- package/src/resources/avatars.ts +2 -4
- package/src/resources/documents.ts +4 -10
- package/src/resources/image-to-video.ts +98 -1
- package/src/resources/organization/organization.ts +66 -1
- package/src/resources/organization/webapp/audit-logs.ts +102 -14
- package/src/resources/organization/webapp/webapp.ts +18 -1
- package/src/resources/routers.ts +38 -26
- package/src/resources/text-to-image.ts +221 -0
- package/src/resources/text-to-video.ts +115 -1
- package/src/resources/video-to-video.ts +130 -1
- package/src/resources/voices.ts +1 -1
- 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
|
@@ -85,7 +85,8 @@ export type ImageToVideoCreateParams =
|
|
|
85
85
|
| ImageToVideoCreateParams.GeminiOmniFlash1_2
|
|
86
86
|
| ImageToVideoCreateParams.Kling4Flash
|
|
87
87
|
| ImageToVideoCreateParams.Hailuo3Highspeed
|
|
88
|
-
| ImageToVideoCreateParams.Hailuo3Lite
|
|
88
|
+
| ImageToVideoCreateParams.Hailuo3Lite
|
|
89
|
+
| ImageToVideoCreateParams.Seedance2_5Flash;
|
|
89
90
|
|
|
90
91
|
export declare namespace ImageToVideoCreateParams {
|
|
91
92
|
export interface Gen4_5 {
|
|
@@ -2312,6 +2313,102 @@ export declare namespace ImageToVideoCreateParams {
|
|
|
2312
2313
|
uri: string;
|
|
2313
2314
|
}
|
|
2314
2315
|
}
|
|
2316
|
+
|
|
2317
|
+
export interface Seedance2_5Flash {
|
|
2318
|
+
model: 'seedance2_5_flash';
|
|
2319
|
+
|
|
2320
|
+
/**
|
|
2321
|
+
* An image or array of images. Use position `first`/`last` for keyframe mode, or
|
|
2322
|
+
* omit position for reference images. The two modes cannot be mixed.
|
|
2323
|
+
*/
|
|
2324
|
+
promptImage: string | Array<Seedance2_5Flash.PromptImage>;
|
|
2325
|
+
|
|
2326
|
+
/**
|
|
2327
|
+
* Whether to generate audio for the video.
|
|
2328
|
+
*/
|
|
2329
|
+
audio?: boolean;
|
|
2330
|
+
|
|
2331
|
+
/**
|
|
2332
|
+
* Seconds of video to generate, or `auto` to let the model choose. `auto` is
|
|
2333
|
+
* billed at the variant maximum up front; unused credits are refunded after the
|
|
2334
|
+
* generation finishes.
|
|
2335
|
+
*/
|
|
2336
|
+
duration?: number | 'auto';
|
|
2337
|
+
|
|
2338
|
+
/**
|
|
2339
|
+
* Container for the output video. `mov` keeps high colour precision for grading
|
|
2340
|
+
* and compositing. Defaults to `mp4`.
|
|
2341
|
+
*/
|
|
2342
|
+
outputFormat?: 'mp4' | 'mov';
|
|
2343
|
+
|
|
2344
|
+
/**
|
|
2345
|
+
* An optional text prompt up to 15000 characters describing what should appear in
|
|
2346
|
+
* the output.
|
|
2347
|
+
*/
|
|
2348
|
+
promptText?: string;
|
|
2349
|
+
|
|
2350
|
+
/**
|
|
2351
|
+
* The resolution of the output video. Seedance 2.5 Flash supports 480p and 720p.
|
|
2352
|
+
*/
|
|
2353
|
+
ratio?:
|
|
2354
|
+
| '992:432'
|
|
2355
|
+
| '854:480'
|
|
2356
|
+
| '752:560'
|
|
2357
|
+
| '640:640'
|
|
2358
|
+
| '560:752'
|
|
2359
|
+
| '480:854'
|
|
2360
|
+
| '1470:630'
|
|
2361
|
+
| '1280:720'
|
|
2362
|
+
| '1112:834'
|
|
2363
|
+
| '960:960'
|
|
2364
|
+
| '834:1112'
|
|
2365
|
+
| '720:1280';
|
|
2366
|
+
|
|
2367
|
+
/**
|
|
2368
|
+
* An optional array of audio references. The total combined duration must be less
|
|
2369
|
+
* than 30 seconds.
|
|
2370
|
+
*/
|
|
2371
|
+
referenceAudio?: Array<Seedance2_5Flash.ReferenceAudio>;
|
|
2372
|
+
|
|
2373
|
+
/**
|
|
2374
|
+
* If unspecified, a random number is chosen. Varying the seed integer is a way to
|
|
2375
|
+
* get different results for the same other request parameters. Using the same seed
|
|
2376
|
+
* integer for an identical request will produce similar results.
|
|
2377
|
+
*/
|
|
2378
|
+
seed?: number;
|
|
2379
|
+
}
|
|
2380
|
+
|
|
2381
|
+
export namespace Seedance2_5Flash {
|
|
2382
|
+
export interface PromptImage {
|
|
2383
|
+
/**
|
|
2384
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
2385
|
+
* `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
|
|
2386
|
+
* [our docs](/assets/inputs#images) on image inputs for more information.
|
|
2387
|
+
*/
|
|
2388
|
+
uri: string;
|
|
2389
|
+
|
|
2390
|
+
/**
|
|
2391
|
+
* The position of the image in the output video. "first" will use the image as the
|
|
2392
|
+
* first frame, "last" as the last frame. Omit for a reference image.
|
|
2393
|
+
*/
|
|
2394
|
+
position?: 'first' | 'last';
|
|
2395
|
+
}
|
|
2396
|
+
|
|
2397
|
+
/**
|
|
2398
|
+
* An audio reference allows the model to use the audio as additional context for
|
|
2399
|
+
* the output.
|
|
2400
|
+
*/
|
|
2401
|
+
export interface ReferenceAudio {
|
|
2402
|
+
type: 'audio';
|
|
2403
|
+
|
|
2404
|
+
/**
|
|
2405
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
2406
|
+
* `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
|
|
2407
|
+
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
2408
|
+
*/
|
|
2409
|
+
uri: string;
|
|
2410
|
+
}
|
|
2411
|
+
}
|
|
2315
2412
|
}
|
|
2316
2413
|
|
|
2317
2414
|
export declare namespace ImageToVideo {
|
|
@@ -25,7 +25,7 @@ export class Organization extends APIResource {
|
|
|
25
25
|
/**
|
|
26
26
|
* Fetch credit usage data broken down by model and day for the organization
|
|
27
27
|
* associated with the API key used to make the request. Up to 90 days of data can
|
|
28
|
-
* be queried at a time.
|
|
28
|
+
* be queried at a time. Usage updates hourly; recent activity may not appear yet.
|
|
29
29
|
*/
|
|
30
30
|
retrieveUsage(
|
|
31
31
|
body: OrganizationRetrieveUsageParams | null | undefined = {},
|
|
@@ -138,6 +138,8 @@ export interface OrganizationRetrieveUsageResponse {
|
|
|
138
138
|
| 'seedream5_pro_layers'
|
|
139
139
|
| 'seedream5_pro'
|
|
140
140
|
| 'seedream5_flash'
|
|
141
|
+
| 'seedream5.5'
|
|
142
|
+
| 'seedream5.5_layers'
|
|
141
143
|
| 'seedream5_lite'
|
|
142
144
|
| 'gemini_omni_flash'
|
|
143
145
|
| 'gemini_omni_flash_1.2'
|
|
@@ -161,6 +163,7 @@ export interface OrganizationRetrieveUsageResponse {
|
|
|
161
163
|
| 'voice_processing'
|
|
162
164
|
| 'seedance2'
|
|
163
165
|
| 'seedance2_5'
|
|
166
|
+
| 'seedance2_5_flash'
|
|
164
167
|
| 'seedance2_fast'
|
|
165
168
|
| 'seedance2_mini'
|
|
166
169
|
| 'hailuo3'
|
|
@@ -173,6 +176,7 @@ export interface OrganizationRetrieveUsageResponse {
|
|
|
173
176
|
| 'grok_imagine_1_5_lite'
|
|
174
177
|
| 'grok_imagine_image_2'
|
|
175
178
|
| 'muse_image'
|
|
179
|
+
| 'minimax_h3_image'
|
|
176
180
|
| 'bria_fibo_1_5'
|
|
177
181
|
| 'bria_fibo_edit_1_5'
|
|
178
182
|
| 'ideogram_4_0'
|
|
@@ -212,6 +216,20 @@ export interface OrganizationRetrieveUsageResponse {
|
|
|
212
216
|
* Reserved for future use.
|
|
213
217
|
*/
|
|
214
218
|
resultsByApiKey?: Array<OrganizationRetrieveUsageResponse.ResultsByAPIKey>;
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* Credit usage broken down by tag, present when `groupBy` is set. With
|
|
222
|
+
* `groupBy: "tag"`, a generation with several tags counts toward each of them, so
|
|
223
|
+
* the buckets can add up to more than the total. With `groupBy: "tag:<key>"`, each
|
|
224
|
+
* generation counts once, under its `<key>:<value>` tag.
|
|
225
|
+
*/
|
|
226
|
+
resultsByTag?: Array<OrganizationRetrieveUsageResponse.ResultsByTag>;
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* The tags on usage in the queried time range, sorted alphabetically, present when
|
|
230
|
+
* `tags` or `groupBy` is set. Lists at most the 1,000 tags with the most credits.
|
|
231
|
+
*/
|
|
232
|
+
tags?: Array<string>;
|
|
215
233
|
}
|
|
216
234
|
|
|
217
235
|
export namespace OrganizationRetrieveUsageResponse {
|
|
@@ -266,6 +284,8 @@ export namespace OrganizationRetrieveUsageResponse {
|
|
|
266
284
|
| 'seedream5_pro_layers'
|
|
267
285
|
| 'seedream5_pro'
|
|
268
286
|
| 'seedream5_flash'
|
|
287
|
+
| 'seedream5.5'
|
|
288
|
+
| 'seedream5.5_layers'
|
|
269
289
|
| 'seedream5_lite'
|
|
270
290
|
| 'gemini_omni_flash'
|
|
271
291
|
| 'gemini_omni_flash_1.2'
|
|
@@ -289,6 +309,7 @@ export namespace OrganizationRetrieveUsageResponse {
|
|
|
289
309
|
| 'voice_processing'
|
|
290
310
|
| 'seedance2'
|
|
291
311
|
| 'seedance2_5'
|
|
312
|
+
| 'seedance2_5_flash'
|
|
292
313
|
| 'seedance2_fast'
|
|
293
314
|
| 'seedance2_mini'
|
|
294
315
|
| 'hailuo3'
|
|
@@ -301,6 +322,7 @@ export namespace OrganizationRetrieveUsageResponse {
|
|
|
301
322
|
| 'grok_imagine_1_5_lite'
|
|
302
323
|
| 'grok_imagine_image_2'
|
|
303
324
|
| 'muse_image'
|
|
325
|
+
| 'minimax_h3_image'
|
|
304
326
|
| 'bria_fibo_1_5'
|
|
305
327
|
| 'bria_fibo_edit_1_5'
|
|
306
328
|
| 'ideogram_4_0'
|
|
@@ -343,6 +365,34 @@ export namespace OrganizationRetrieveUsageResponse {
|
|
|
343
365
|
apiKeyId: string;
|
|
344
366
|
}
|
|
345
367
|
}
|
|
368
|
+
|
|
369
|
+
export interface ResultsByTag {
|
|
370
|
+
/**
|
|
371
|
+
* The date of the usage data in ISO-8601 format (YYYY-MM-DD). All dates are in
|
|
372
|
+
* UTC.
|
|
373
|
+
*/
|
|
374
|
+
date: string;
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* The credits used per tag for the date.
|
|
378
|
+
*/
|
|
379
|
+
usedCredits: Array<ResultsByTag.UsedCredit>;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
export namespace ResultsByTag {
|
|
383
|
+
export interface UsedCredit {
|
|
384
|
+
/**
|
|
385
|
+
* The net number of credits spent under the tag. May be negative if refunds
|
|
386
|
+
* exceeded charges on this day.
|
|
387
|
+
*/
|
|
388
|
+
amount: number;
|
|
389
|
+
|
|
390
|
+
/**
|
|
391
|
+
* The tag that credits were spent under, or null for usage without a matching tag.
|
|
392
|
+
*/
|
|
393
|
+
tag: string | null;
|
|
394
|
+
}
|
|
395
|
+
}
|
|
346
396
|
}
|
|
347
397
|
|
|
348
398
|
export interface OrganizationRetrieveUsageParams {
|
|
@@ -353,12 +403,27 @@ export interface OrganizationRetrieveUsageParams {
|
|
|
353
403
|
*/
|
|
354
404
|
beforeDate?: string;
|
|
355
405
|
|
|
406
|
+
/**
|
|
407
|
+
* Also break usage down by tag in `resultsByTag`. `"tag"` gives one bucket per
|
|
408
|
+
* tag; a generation with several tags counts toward each of them. `"tag:<key>"`
|
|
409
|
+
* (for example `"tag:team"`) gives one bucket per value of that key, so each
|
|
410
|
+
* generation counts once. Generations without a matching tag fall under a `null`
|
|
411
|
+
* tag.
|
|
412
|
+
*/
|
|
413
|
+
groupBy?: string;
|
|
414
|
+
|
|
356
415
|
/**
|
|
357
416
|
* The start date of the usage data in ISO-8601 format (YYYY-MM-DD). If
|
|
358
417
|
* unspecified, it will default to 30 days before the current date. All dates are
|
|
359
418
|
* in UTC.
|
|
360
419
|
*/
|
|
361
420
|
startDate?: string;
|
|
421
|
+
|
|
422
|
+
/**
|
|
423
|
+
* Only count generations that were created with every one of these tags in the
|
|
424
|
+
* `X-Runway-Tags` header. Tags are case-insensitive. Up to 10 tags.
|
|
425
|
+
*/
|
|
426
|
+
tags?: Array<string>;
|
|
362
427
|
}
|
|
363
428
|
|
|
364
429
|
Organization.Webapp = Webapp;
|
|
@@ -26,7 +26,7 @@ export class AuditLogs extends APIResource {
|
|
|
26
26
|
* workspace.
|
|
27
27
|
*/
|
|
28
28
|
list(
|
|
29
|
-
query: AuditLogListParams,
|
|
29
|
+
query: AuditLogListParams | null | undefined = {},
|
|
30
30
|
options?: RequestOptions,
|
|
31
31
|
): PagePromise<AuditLogListResponsesCursorPage, AuditLogListResponse> {
|
|
32
32
|
return this._client.getAPIList('/v1/organization/webapp/audit_logs', CursorPage<AuditLogListResponse>, {
|
|
@@ -43,6 +43,11 @@ export interface AuditLogRetrieveResponse {
|
|
|
43
43
|
* The action performed.
|
|
44
44
|
*/
|
|
45
45
|
action:
|
|
46
|
+
| 'AgentArtifactCommentCreated'
|
|
47
|
+
| 'AgentArtifactCreated'
|
|
48
|
+
| 'AgentArtifactVersionSaved'
|
|
49
|
+
| 'AgentArtifactSessionAttached'
|
|
50
|
+
| 'AgentArtifactSessionDetached'
|
|
46
51
|
| 'UserLogin'
|
|
47
52
|
| 'PasswordChanged'
|
|
48
53
|
| 'EmailChangeRequested'
|
|
@@ -97,6 +102,7 @@ export interface AuditLogRetrieveResponse {
|
|
|
97
102
|
| 'SeatsTransferred'
|
|
98
103
|
| 'SessionShared'
|
|
99
104
|
| 'SessionUnshared'
|
|
105
|
+
| 'SessionMadePrivateByAdmin'
|
|
100
106
|
| 'VideoProjectShared'
|
|
101
107
|
| 'VideoProjectUnshared'
|
|
102
108
|
| 'BrandKitShared'
|
|
@@ -125,6 +131,12 @@ export interface AuditLogRetrieveResponse {
|
|
|
125
131
|
| 'AppStudioAppSecretChanged'
|
|
126
132
|
| 'AppStudioAppRunwayAccessGranted'
|
|
127
133
|
| 'AppStudioAppRunwayAccessRevoked'
|
|
134
|
+
| 'AppStudioConnectorConnected'
|
|
135
|
+
| 'AppStudioConnectorDisconnected'
|
|
136
|
+
| 'AppStudioConnectorAppGranted'
|
|
137
|
+
| 'AppStudioConnectorAppRevoked'
|
|
138
|
+
| 'AppStudioConnectorPolicyChanged'
|
|
139
|
+
| 'AppStudioConnectorToolCalled'
|
|
128
140
|
| 'AccountLinkCreated'
|
|
129
141
|
| 'AccountLinkDeleted'
|
|
130
142
|
| 'AdConnectionAuthorizationStarted'
|
|
@@ -143,6 +155,11 @@ export interface AuditLogRetrieveResponse {
|
|
|
143
155
|
| 'AdPublishBatchCancelled'
|
|
144
156
|
| 'AdPublishBatchRetried'
|
|
145
157
|
| 'AdStatusChanged'
|
|
158
|
+
| 'AdCampaignSetupDrafted'
|
|
159
|
+
| 'AdCampaignSetupDiscarded'
|
|
160
|
+
| 'AdCampaignSetupConfirmed'
|
|
161
|
+
| 'AdCampaignSetupCancelled'
|
|
162
|
+
| 'AdCampaignSetupRetried'
|
|
146
163
|
| 'OrganizationSettingsUpdated'
|
|
147
164
|
| 'OrganizationDisabledModelsUpdated'
|
|
148
165
|
| 'OrganizationAgentSandboxUpdated'
|
|
@@ -161,6 +178,7 @@ export interface AuditLogRetrieveResponse {
|
|
|
161
178
|
| 'MeteredBillingRetryTriggered'
|
|
162
179
|
| 'EnterpriseSpendCapEnforcementUpdated'
|
|
163
180
|
| 'OnboardingBonusGranted'
|
|
181
|
+
| 'PromotionCreditsGranted'
|
|
164
182
|
| 'AwsMarketplaceEnterpriseSubscriptionLinked';
|
|
165
183
|
|
|
166
184
|
/**
|
|
@@ -291,6 +309,8 @@ export namespace AuditLogRetrieveResponse {
|
|
|
291
309
|
|
|
292
310
|
Application?: string;
|
|
293
311
|
|
|
312
|
+
'Asset ID'?: string;
|
|
313
|
+
|
|
294
314
|
'Asset name'?: string;
|
|
295
315
|
|
|
296
316
|
'Asset type'?: string;
|
|
@@ -301,6 +321,12 @@ export namespace AuditLogRetrieveResponse {
|
|
|
301
321
|
|
|
302
322
|
'Brand kit ID'?: string;
|
|
303
323
|
|
|
324
|
+
'Campaign setup ID'?: string;
|
|
325
|
+
|
|
326
|
+
'Campaign setup type'?: string;
|
|
327
|
+
|
|
328
|
+
'Campaign setup version'?: number;
|
|
329
|
+
|
|
304
330
|
'Cancels at period end'?: boolean;
|
|
305
331
|
|
|
306
332
|
'Comment ID'?: string;
|
|
@@ -339,6 +365,8 @@ export namespace AuditLogRetrieveResponse {
|
|
|
339
365
|
|
|
340
366
|
Filename?: string;
|
|
341
367
|
|
|
368
|
+
'Files moved'?: number;
|
|
369
|
+
|
|
342
370
|
'From workspace ID'?: number;
|
|
343
371
|
|
|
344
372
|
'Group name'?: string;
|
|
@@ -401,12 +429,18 @@ export namespace AuditLogRetrieveResponse {
|
|
|
401
429
|
|
|
402
430
|
'Previous value'?: string | number | boolean | { [key: string]: boolean } | null;
|
|
403
431
|
|
|
432
|
+
'Previously shared in project'?: string | null;
|
|
433
|
+
|
|
404
434
|
'Project credit cap'?: number | null;
|
|
405
435
|
|
|
406
436
|
'Project ID'?: string;
|
|
407
437
|
|
|
438
|
+
Promotion?: string;
|
|
439
|
+
|
|
408
440
|
Provider?: string;
|
|
409
441
|
|
|
442
|
+
'Read or write'?: string;
|
|
443
|
+
|
|
410
444
|
Reason?: string | null;
|
|
411
445
|
|
|
412
446
|
'Recharge amount (USD cents)'?: number;
|
|
@@ -417,6 +451,8 @@ export namespace AuditLogRetrieveResponse {
|
|
|
417
451
|
|
|
418
452
|
'Requested via'?: Array<string>;
|
|
419
453
|
|
|
454
|
+
Result?: string;
|
|
455
|
+
|
|
420
456
|
'Result metric ID'?: string | null;
|
|
421
457
|
|
|
422
458
|
'Review decision'?: string;
|
|
@@ -443,6 +479,8 @@ export namespace AuditLogRetrieveResponse {
|
|
|
443
479
|
|
|
444
480
|
'Source category ID'?: string;
|
|
445
481
|
|
|
482
|
+
'Source version asset ID'?: string;
|
|
483
|
+
|
|
446
484
|
'Spend cap'?: number;
|
|
447
485
|
|
|
448
486
|
'Spend cap (USD cents)'?: number;
|
|
@@ -490,6 +528,11 @@ export interface AuditLogListResponse {
|
|
|
490
528
|
* The action performed.
|
|
491
529
|
*/
|
|
492
530
|
action:
|
|
531
|
+
| 'AgentArtifactCommentCreated'
|
|
532
|
+
| 'AgentArtifactCreated'
|
|
533
|
+
| 'AgentArtifactVersionSaved'
|
|
534
|
+
| 'AgentArtifactSessionAttached'
|
|
535
|
+
| 'AgentArtifactSessionDetached'
|
|
493
536
|
| 'UserLogin'
|
|
494
537
|
| 'PasswordChanged'
|
|
495
538
|
| 'EmailChangeRequested'
|
|
@@ -544,6 +587,7 @@ export interface AuditLogListResponse {
|
|
|
544
587
|
| 'SeatsTransferred'
|
|
545
588
|
| 'SessionShared'
|
|
546
589
|
| 'SessionUnshared'
|
|
590
|
+
| 'SessionMadePrivateByAdmin'
|
|
547
591
|
| 'VideoProjectShared'
|
|
548
592
|
| 'VideoProjectUnshared'
|
|
549
593
|
| 'BrandKitShared'
|
|
@@ -572,6 +616,12 @@ export interface AuditLogListResponse {
|
|
|
572
616
|
| 'AppStudioAppSecretChanged'
|
|
573
617
|
| 'AppStudioAppRunwayAccessGranted'
|
|
574
618
|
| 'AppStudioAppRunwayAccessRevoked'
|
|
619
|
+
| 'AppStudioConnectorConnected'
|
|
620
|
+
| 'AppStudioConnectorDisconnected'
|
|
621
|
+
| 'AppStudioConnectorAppGranted'
|
|
622
|
+
| 'AppStudioConnectorAppRevoked'
|
|
623
|
+
| 'AppStudioConnectorPolicyChanged'
|
|
624
|
+
| 'AppStudioConnectorToolCalled'
|
|
575
625
|
| 'AccountLinkCreated'
|
|
576
626
|
| 'AccountLinkDeleted'
|
|
577
627
|
| 'AdConnectionAuthorizationStarted'
|
|
@@ -590,6 +640,11 @@ export interface AuditLogListResponse {
|
|
|
590
640
|
| 'AdPublishBatchCancelled'
|
|
591
641
|
| 'AdPublishBatchRetried'
|
|
592
642
|
| 'AdStatusChanged'
|
|
643
|
+
| 'AdCampaignSetupDrafted'
|
|
644
|
+
| 'AdCampaignSetupDiscarded'
|
|
645
|
+
| 'AdCampaignSetupConfirmed'
|
|
646
|
+
| 'AdCampaignSetupCancelled'
|
|
647
|
+
| 'AdCampaignSetupRetried'
|
|
593
648
|
| 'OrganizationSettingsUpdated'
|
|
594
649
|
| 'OrganizationDisabledModelsUpdated'
|
|
595
650
|
| 'OrganizationAgentSandboxUpdated'
|
|
@@ -608,6 +663,7 @@ export interface AuditLogListResponse {
|
|
|
608
663
|
| 'MeteredBillingRetryTriggered'
|
|
609
664
|
| 'EnterpriseSpendCapEnforcementUpdated'
|
|
610
665
|
| 'OnboardingBonusGranted'
|
|
666
|
+
| 'PromotionCreditsGranted'
|
|
611
667
|
| 'AwsMarketplaceEnterpriseSubscriptionLinked';
|
|
612
668
|
|
|
613
669
|
/**
|
|
@@ -708,6 +764,8 @@ export namespace AuditLogListResponse {
|
|
|
708
764
|
|
|
709
765
|
Application?: string;
|
|
710
766
|
|
|
767
|
+
'Asset ID'?: string;
|
|
768
|
+
|
|
711
769
|
'Asset name'?: string;
|
|
712
770
|
|
|
713
771
|
'Asset type'?: string;
|
|
@@ -718,6 +776,12 @@ export namespace AuditLogListResponse {
|
|
|
718
776
|
|
|
719
777
|
'Brand kit ID'?: string;
|
|
720
778
|
|
|
779
|
+
'Campaign setup ID'?: string;
|
|
780
|
+
|
|
781
|
+
'Campaign setup type'?: string;
|
|
782
|
+
|
|
783
|
+
'Campaign setup version'?: number;
|
|
784
|
+
|
|
721
785
|
'Cancels at period end'?: boolean;
|
|
722
786
|
|
|
723
787
|
'Comment ID'?: string;
|
|
@@ -756,6 +820,8 @@ export namespace AuditLogListResponse {
|
|
|
756
820
|
|
|
757
821
|
Filename?: string;
|
|
758
822
|
|
|
823
|
+
'Files moved'?: number;
|
|
824
|
+
|
|
759
825
|
'From workspace ID'?: number;
|
|
760
826
|
|
|
761
827
|
'Group name'?: string;
|
|
@@ -818,12 +884,18 @@ export namespace AuditLogListResponse {
|
|
|
818
884
|
|
|
819
885
|
'Previous value'?: string | number | boolean | { [key: string]: boolean } | null;
|
|
820
886
|
|
|
887
|
+
'Previously shared in project'?: string | null;
|
|
888
|
+
|
|
821
889
|
'Project credit cap'?: number | null;
|
|
822
890
|
|
|
823
891
|
'Project ID'?: string;
|
|
824
892
|
|
|
893
|
+
Promotion?: string;
|
|
894
|
+
|
|
825
895
|
Provider?: string;
|
|
826
896
|
|
|
897
|
+
'Read or write'?: string;
|
|
898
|
+
|
|
827
899
|
Reason?: string | null;
|
|
828
900
|
|
|
829
901
|
'Recharge amount (USD cents)'?: number;
|
|
@@ -834,6 +906,8 @@ export namespace AuditLogListResponse {
|
|
|
834
906
|
|
|
835
907
|
'Requested via'?: Array<string>;
|
|
836
908
|
|
|
909
|
+
Result?: string;
|
|
910
|
+
|
|
837
911
|
'Result metric ID'?: string | null;
|
|
838
912
|
|
|
839
913
|
'Review decision'?: string;
|
|
@@ -860,6 +934,8 @@ export namespace AuditLogListResponse {
|
|
|
860
934
|
|
|
861
935
|
'Source category ID'?: string;
|
|
862
936
|
|
|
937
|
+
'Source version asset ID'?: string;
|
|
938
|
+
|
|
863
939
|
'Spend cap'?: number;
|
|
864
940
|
|
|
865
941
|
'Spend cap (USD cents)'?: number;
|
|
@@ -905,7 +981,9 @@ export namespace AuditLogListResponse {
|
|
|
905
981
|
export interface AuditLogRetrieveParams {
|
|
906
982
|
/**
|
|
907
983
|
* Organization to report on. Optional when this API project is linked to a single
|
|
908
|
-
* organization; required when it is linked to more than one.
|
|
984
|
+
* organization; required when it is linked to more than one. If it is missing
|
|
985
|
+
* then, the 400 response lists the IDs and names of the linked organizations in
|
|
986
|
+
* `details.organizations`.
|
|
909
987
|
*/
|
|
910
988
|
organizationId?: string;
|
|
911
989
|
}
|
|
@@ -913,9 +991,11 @@ export interface AuditLogRetrieveParams {
|
|
|
913
991
|
export interface AuditLogListParams extends CursorPageParams {
|
|
914
992
|
/**
|
|
915
993
|
* Restrict results to these audit log actions, as a comma-separated list of up to
|
|
916
|
-
* 50 actions. Allowed values: `
|
|
917
|
-
* `
|
|
918
|
-
* `
|
|
994
|
+
* 50 actions. Allowed values: `AgentArtifactCommentCreated`,
|
|
995
|
+
* `AgentArtifactCreated`, `AgentArtifactVersionSaved`,
|
|
996
|
+
* `AgentArtifactSessionAttached`, `AgentArtifactSessionDetached`, `UserLogin`,
|
|
997
|
+
* `PasswordChanged`, `EmailChangeRequested`, `EmailChanged`, `UserRegistered`,
|
|
998
|
+
* `UserAccountDeleted`, `WorkspaceCreated`, `WorkspaceDeleted`, `MemberInvited`,
|
|
919
999
|
* `MemberInviteReminderSent`, `MemberRemoved`, `MemberRoleChanged`,
|
|
920
1000
|
* `InviteAccepted`, `MemberJoinedViaDomain`, `TeamSettingsUpdated`,
|
|
921
1001
|
* `InviteLinkToggled`, `UserGroupCreated`, `UserGroupUpdated`, `UserGroupDeleted`,
|
|
@@ -931,10 +1011,10 @@ export interface AuditLogListParams extends CursorPageParams {
|
|
|
931
1011
|
* `PermissionAccepted`, `SubscriptionCancelled`,
|
|
932
1012
|
* `SubscriptionReactivatedWithOffer`, `SubscriptionPlanSwitched`,
|
|
933
1013
|
* `CreditsTransferred`, `SeatsTransferred`, `SessionShared`, `SessionUnshared`,
|
|
934
|
-
* `
|
|
935
|
-
* `
|
|
936
|
-
* `
|
|
937
|
-
* `AgentSessionUnshared`, `AgentConnectorLinkTokenCreated`,
|
|
1014
|
+
* `SessionMadePrivateByAdmin`, `VideoProjectShared`, `VideoProjectUnshared`,
|
|
1015
|
+
* `BrandKitShared`, `BrandKitUnshared`, `AgentCustomSkillCreated`,
|
|
1016
|
+
* `AgentCustomSkillDeleted`, `AgentCustomSkillShared`, `AgentCustomSkillUnshared`,
|
|
1017
|
+
* `AgentSessionShared`, `AgentSessionUnshared`, `AgentConnectorLinkTokenCreated`,
|
|
938
1018
|
* `AgentConnectorConnected`, `AgentConnectorDisconnected`,
|
|
939
1019
|
* `AgentConnectorAssetExported`, `AgentConnectorSessionEnabled`,
|
|
940
1020
|
* `AgentConnectorSessionDisabled`, `GenerationCreated`, `StudioSessionOpened`,
|
|
@@ -942,22 +1022,28 @@ export interface AuditLogListParams extends CursorPageParams {
|
|
|
942
1022
|
* `AppStudioAppVisibilityChanged`, `AppStudioAppRenamed`, `AppStudioAppDeleted`,
|
|
943
1023
|
* `AppStudioAppCoOwnerChanged`, `AppStudioAppSecretChanged`,
|
|
944
1024
|
* `AppStudioAppRunwayAccessGranted`, `AppStudioAppRunwayAccessRevoked`,
|
|
1025
|
+
* `AppStudioConnectorConnected`, `AppStudioConnectorDisconnected`,
|
|
1026
|
+
* `AppStudioConnectorAppGranted`, `AppStudioConnectorAppRevoked`,
|
|
1027
|
+
* `AppStudioConnectorPolicyChanged`, `AppStudioConnectorToolCalled`,
|
|
945
1028
|
* `AccountLinkCreated`, `AccountLinkDeleted`, `AdConnectionAuthorizationStarted`,
|
|
946
1029
|
* `AdConnectionConnected`, `AdAccountSelectionUpdated`, `AdAccountSyncRequested`,
|
|
947
1030
|
* `AdConnectionDisconnected`, `AdWorkspaceOnboardingUpdated`,
|
|
948
1031
|
* `AdCreativeReviewSubmitted`, `AdCreativeReviewCancelled`,
|
|
949
1032
|
* `AdCreativeReviewDecided`, `AdCreativeApprovalRevoked`, `AdCreativeArchived`,
|
|
950
1033
|
* `AdCreativeUnarchived`, `AdPublishBatchQueued`, `AdPublishBatchCancelled`,
|
|
951
|
-
* `AdPublishBatchRetried`, `AdStatusChanged`, `
|
|
952
|
-
* `
|
|
953
|
-
* `
|
|
1034
|
+
* `AdPublishBatchRetried`, `AdStatusChanged`, `AdCampaignSetupDrafted`,
|
|
1035
|
+
* `AdCampaignSetupDiscarded`, `AdCampaignSetupConfirmed`,
|
|
1036
|
+
* `AdCampaignSetupCancelled`, `AdCampaignSetupRetried`,
|
|
1037
|
+
* `OrganizationSettingsUpdated`, `OrganizationDisabledModelsUpdated`,
|
|
1038
|
+
* `OrganizationAgentSandboxUpdated`, `OrganizationApiAccountReleased`,
|
|
1039
|
+
* `OrganizationApiAccountMemberInvited`,
|
|
954
1040
|
* `OrganizationApiAccountMemberRoleChanged`,
|
|
955
1041
|
* `OrganizationApiAccountMemberRemoved`, `WorkspaceCountryLockUpdated`,
|
|
956
1042
|
* `WorkspaceTagCreated`, `WorkspaceTagUpdated`, `WorkspaceTagDeleted`,
|
|
957
1043
|
* `WorkspaceTagAssigned`, `WorkspaceTagUnassigned`, `MeteredBillingConfigUpdated`,
|
|
958
1044
|
* `MeteredBillingRefillTriggered`, `MeteredBillingRetryTriggered`,
|
|
959
1045
|
* `EnterpriseSpendCapEnforcementUpdated`, `OnboardingBonusGranted`,
|
|
960
|
-
* `AwsMarketplaceEnterpriseSubscriptionLinked`.
|
|
1046
|
+
* `PromotionCreditsGranted`, `AwsMarketplaceEnterpriseSubscriptionLinked`.
|
|
961
1047
|
*/
|
|
962
1048
|
actions?: string;
|
|
963
1049
|
|
|
@@ -974,7 +1060,9 @@ export interface AuditLogListParams extends CursorPageParams {
|
|
|
974
1060
|
|
|
975
1061
|
/**
|
|
976
1062
|
* Organization to report on. Optional when this API project is linked to a single
|
|
977
|
-
* organization; required when it is linked to more than one.
|
|
1063
|
+
* organization; required when it is linked to more than one. If it is missing
|
|
1064
|
+
* then, the 400 response lists the IDs and names of the linked organizations in
|
|
1065
|
+
* `details.organizations`.
|
|
978
1066
|
*/
|
|
979
1067
|
organizationId?: string;
|
|
980
1068
|
|
|
@@ -74,6 +74,21 @@ export interface WebappListUsageResponse {
|
|
|
74
74
|
| 'splat'
|
|
75
75
|
| null;
|
|
76
76
|
|
|
77
|
+
/**
|
|
78
|
+
* ID of the Runway web app project the generation was made in (not this API
|
|
79
|
+
* project). `null` when no project is recorded for it, which includes generations
|
|
80
|
+
* made outside a project, generations made before project tracking was rolled out
|
|
81
|
+
* (late May to mid-August 2026), and rows with a null `taskId`.
|
|
82
|
+
*/
|
|
83
|
+
projectId: string | null;
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Current name of that project, so it changes when the project is renamed (group
|
|
87
|
+
* by `projectId`). Still returned after the project is archived or deleted. `null`
|
|
88
|
+
* when `projectId` is null.
|
|
89
|
+
*/
|
|
90
|
+
projectName: string | null;
|
|
91
|
+
|
|
77
92
|
/**
|
|
78
93
|
* Current status of the generation when you request it, so it can change between
|
|
79
94
|
* pulls (upsert on `transactionId`). A refund row doesn't mean the generation
|
|
@@ -146,7 +161,9 @@ export interface WebappListUsageParams extends CursorPageParams {
|
|
|
146
161
|
|
|
147
162
|
/**
|
|
148
163
|
* Organization to report on. Optional when this API project is linked to a single
|
|
149
|
-
* organization; required when it is linked to more than one.
|
|
164
|
+
* organization; required when it is linked to more than one. If it is missing
|
|
165
|
+
* then, the 400 response lists the IDs and names of the linked organizations in
|
|
166
|
+
* `details.organizations`.
|
|
150
167
|
*/
|
|
151
168
|
organizationId?: string;
|
|
152
169
|
|