@runwayml/sdk 4.27.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 +18 -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 +110 -16
- package/resources/organization/webapp/audit-logs.d.mts.map +1 -1
- package/resources/organization/webapp/audit-logs.d.ts +110 -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 +36 -1
- package/resources/organization/webapp/webapp.d.mts.map +1 -1
- package/resources/organization/webapp/webapp.d.ts +36 -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/tasks.d.mts +2 -2
- package/resources/tasks.d.ts +2 -2
- 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-speech.d.mts +71 -1
- package/resources/text-to-speech.d.mts.map +1 -1
- package/resources/text-to-speech.d.ts +71 -1
- package/resources/text-to-speech.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 +117 -3
- package/resources/video-to-video.d.mts.map +1 -1
- package/resources/video-to-video.d.ts +117 -3
- 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 +70 -1
- package/src/resources/organization/webapp/audit-logs.ts +226 -14
- package/src/resources/organization/webapp/webapp.ts +53 -1
- package/src/resources/routers.ts +38 -26
- package/src/resources/tasks.ts +2 -2
- package/src/resources/text-to-image.ts +221 -0
- package/src/resources/text-to-speech.ts +86 -0
- package/src/resources/text-to-video.ts +115 -1
- package/src/resources/video-to-video.ts +160 -3
- 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
|
@@ -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
|
/**
|
|
@@ -239,6 +257,8 @@ export namespace AuditLogRetrieveResponse {
|
|
|
239
257
|
* Action-specific details.
|
|
240
258
|
*/
|
|
241
259
|
export interface Metadata {
|
|
260
|
+
'Accepted by'?: string;
|
|
261
|
+
|
|
242
262
|
'Ad account ID'?: string;
|
|
243
263
|
|
|
244
264
|
'Ad creative ID'?: string;
|
|
@@ -257,6 +277,8 @@ export namespace AuditLogRetrieveResponse {
|
|
|
257
277
|
|
|
258
278
|
'Ad sync start date'?: string;
|
|
259
279
|
|
|
280
|
+
'Added member'?: string;
|
|
281
|
+
|
|
260
282
|
'Ads created as'?: string;
|
|
261
283
|
|
|
262
284
|
'Ads onboarding answers'?: Array<string>;
|
|
@@ -271,6 +293,8 @@ export namespace AuditLogRetrieveResponse {
|
|
|
271
293
|
|
|
272
294
|
'Amount received'?: number;
|
|
273
295
|
|
|
296
|
+
Anonymous?: boolean;
|
|
297
|
+
|
|
274
298
|
'API account'?: string;
|
|
275
299
|
|
|
276
300
|
'API project ID'?: string;
|
|
@@ -285,12 +309,26 @@ export namespace AuditLogRetrieveResponse {
|
|
|
285
309
|
|
|
286
310
|
Application?: string;
|
|
287
311
|
|
|
312
|
+
'Asset ID'?: string;
|
|
313
|
+
|
|
288
314
|
'Asset name'?: string;
|
|
289
315
|
|
|
316
|
+
'Asset type'?: string;
|
|
317
|
+
|
|
318
|
+
Automatic?: boolean;
|
|
319
|
+
|
|
290
320
|
'AWS license'?: string;
|
|
291
321
|
|
|
292
322
|
'Brand kit ID'?: string;
|
|
293
323
|
|
|
324
|
+
'Campaign setup ID'?: string;
|
|
325
|
+
|
|
326
|
+
'Campaign setup type'?: string;
|
|
327
|
+
|
|
328
|
+
'Campaign setup version'?: number;
|
|
329
|
+
|
|
330
|
+
'Cancels at period end'?: boolean;
|
|
331
|
+
|
|
294
332
|
'Comment ID'?: string;
|
|
295
333
|
|
|
296
334
|
'Comment target ID'?: string;
|
|
@@ -299,12 +337,16 @@ export namespace AuditLogRetrieveResponse {
|
|
|
299
337
|
|
|
300
338
|
'Comment text'?: string;
|
|
301
339
|
|
|
340
|
+
Connector?: string;
|
|
341
|
+
|
|
302
342
|
'Creatives cancelled'?: number;
|
|
303
343
|
|
|
304
344
|
'Creatives queued'?: number;
|
|
305
345
|
|
|
306
346
|
'Creatives retried'?: number;
|
|
307
347
|
|
|
348
|
+
'Credits used'?: number;
|
|
349
|
+
|
|
308
350
|
'Default project discoverability'?: string;
|
|
309
351
|
|
|
310
352
|
'Default task name template'?: string | null;
|
|
@@ -313,10 +355,20 @@ export namespace AuditLogRetrieveResponse {
|
|
|
313
355
|
|
|
314
356
|
Direction?: string;
|
|
315
357
|
|
|
358
|
+
'Downloaded by owner'?: boolean;
|
|
359
|
+
|
|
316
360
|
'Email domain'?: string;
|
|
317
361
|
|
|
362
|
+
Enabled?: boolean;
|
|
363
|
+
|
|
318
364
|
'Error code'?: string;
|
|
319
365
|
|
|
366
|
+
Filename?: string;
|
|
367
|
+
|
|
368
|
+
'Files moved'?: number;
|
|
369
|
+
|
|
370
|
+
'From workspace ID'?: number;
|
|
371
|
+
|
|
320
372
|
'Group name'?: string;
|
|
321
373
|
|
|
322
374
|
'Hard spend cap'?: boolean;
|
|
@@ -325,8 +377,12 @@ export namespace AuditLogRetrieveResponse {
|
|
|
325
377
|
|
|
326
378
|
'Invited member'?: string;
|
|
327
379
|
|
|
380
|
+
'Join policy'?: string;
|
|
381
|
+
|
|
328
382
|
'Language model or provider'?: string;
|
|
329
383
|
|
|
384
|
+
'Link type'?: string;
|
|
385
|
+
|
|
330
386
|
'Login method'?: string;
|
|
331
387
|
|
|
332
388
|
'Media included'?: boolean;
|
|
@@ -335,8 +391,12 @@ export namespace AuditLogRetrieveResponse {
|
|
|
335
391
|
|
|
336
392
|
Mentions?: number;
|
|
337
393
|
|
|
394
|
+
Method?: string;
|
|
395
|
+
|
|
338
396
|
Model?: string;
|
|
339
397
|
|
|
398
|
+
'New email'?: string;
|
|
399
|
+
|
|
340
400
|
'New role'?: string;
|
|
341
401
|
|
|
342
402
|
'New text'?: string;
|
|
@@ -359,6 +419,8 @@ export namespace AuditLogRetrieveResponse {
|
|
|
359
419
|
|
|
360
420
|
'Platform object ID'?: string;
|
|
361
421
|
|
|
422
|
+
'Previous email'?: string;
|
|
423
|
+
|
|
362
424
|
'Previous project credit cap'?: number | null;
|
|
363
425
|
|
|
364
426
|
'Previous role'?: string | null;
|
|
@@ -367,14 +429,32 @@ export namespace AuditLogRetrieveResponse {
|
|
|
367
429
|
|
|
368
430
|
'Previous value'?: string | number | boolean | { [key: string]: boolean } | null;
|
|
369
431
|
|
|
432
|
+
'Previously shared in project'?: string | null;
|
|
433
|
+
|
|
370
434
|
'Project credit cap'?: number | null;
|
|
371
435
|
|
|
436
|
+
'Project ID'?: string;
|
|
437
|
+
|
|
438
|
+
Promotion?: string;
|
|
439
|
+
|
|
372
440
|
Provider?: string;
|
|
373
441
|
|
|
442
|
+
'Read or write'?: string;
|
|
443
|
+
|
|
374
444
|
Reason?: string | null;
|
|
375
445
|
|
|
446
|
+
'Recharge amount (USD cents)'?: number;
|
|
447
|
+
|
|
448
|
+
'Recharge below (credits)'?: number;
|
|
449
|
+
|
|
376
450
|
'Removed member'?: string;
|
|
377
451
|
|
|
452
|
+
'Requested via'?: Array<string>;
|
|
453
|
+
|
|
454
|
+
Result?: string;
|
|
455
|
+
|
|
456
|
+
'Result metric ID'?: string | null;
|
|
457
|
+
|
|
378
458
|
'Review decision'?: string;
|
|
379
459
|
|
|
380
460
|
Role?: string;
|
|
@@ -387,14 +467,24 @@ export namespace AuditLogRetrieveResponse {
|
|
|
387
467
|
|
|
388
468
|
Setting?: string;
|
|
389
469
|
|
|
470
|
+
'Shared in project'?: string | null;
|
|
471
|
+
|
|
390
472
|
'Shared with projects'?: Array<string>;
|
|
391
473
|
|
|
392
474
|
'Shared with workspace'?: boolean;
|
|
393
475
|
|
|
476
|
+
Source?: string;
|
|
477
|
+
|
|
478
|
+
'Source application'?: string;
|
|
479
|
+
|
|
394
480
|
'Source category ID'?: string;
|
|
395
481
|
|
|
482
|
+
'Source version asset ID'?: string;
|
|
483
|
+
|
|
396
484
|
'Spend cap'?: number;
|
|
397
485
|
|
|
486
|
+
'Spend cap (USD cents)'?: number;
|
|
487
|
+
|
|
398
488
|
'Spend cap change'?: number;
|
|
399
489
|
|
|
400
490
|
'Status after'?: string;
|
|
@@ -409,8 +499,18 @@ export namespace AuditLogRetrieveResponse {
|
|
|
409
499
|
|
|
410
500
|
'Target member'?: string | null;
|
|
411
501
|
|
|
502
|
+
'Task ID'?: string;
|
|
503
|
+
|
|
504
|
+
'To workspace ID'?: number;
|
|
505
|
+
|
|
506
|
+
Tool?: string;
|
|
507
|
+
|
|
508
|
+
'Updated fields'?: Array<string>;
|
|
509
|
+
|
|
412
510
|
'Via public API'?: boolean;
|
|
413
511
|
|
|
512
|
+
Watermarked?: boolean;
|
|
513
|
+
|
|
414
514
|
Workspace?: string | null;
|
|
415
515
|
|
|
416
516
|
'Workspace description'?: string | null;
|
|
@@ -428,6 +528,11 @@ export interface AuditLogListResponse {
|
|
|
428
528
|
* The action performed.
|
|
429
529
|
*/
|
|
430
530
|
action:
|
|
531
|
+
| 'AgentArtifactCommentCreated'
|
|
532
|
+
| 'AgentArtifactCreated'
|
|
533
|
+
| 'AgentArtifactVersionSaved'
|
|
534
|
+
| 'AgentArtifactSessionAttached'
|
|
535
|
+
| 'AgentArtifactSessionDetached'
|
|
431
536
|
| 'UserLogin'
|
|
432
537
|
| 'PasswordChanged'
|
|
433
538
|
| 'EmailChangeRequested'
|
|
@@ -482,6 +587,7 @@ export interface AuditLogListResponse {
|
|
|
482
587
|
| 'SeatsTransferred'
|
|
483
588
|
| 'SessionShared'
|
|
484
589
|
| 'SessionUnshared'
|
|
590
|
+
| 'SessionMadePrivateByAdmin'
|
|
485
591
|
| 'VideoProjectShared'
|
|
486
592
|
| 'VideoProjectUnshared'
|
|
487
593
|
| 'BrandKitShared'
|
|
@@ -510,6 +616,12 @@ export interface AuditLogListResponse {
|
|
|
510
616
|
| 'AppStudioAppSecretChanged'
|
|
511
617
|
| 'AppStudioAppRunwayAccessGranted'
|
|
512
618
|
| 'AppStudioAppRunwayAccessRevoked'
|
|
619
|
+
| 'AppStudioConnectorConnected'
|
|
620
|
+
| 'AppStudioConnectorDisconnected'
|
|
621
|
+
| 'AppStudioConnectorAppGranted'
|
|
622
|
+
| 'AppStudioConnectorAppRevoked'
|
|
623
|
+
| 'AppStudioConnectorPolicyChanged'
|
|
624
|
+
| 'AppStudioConnectorToolCalled'
|
|
513
625
|
| 'AccountLinkCreated'
|
|
514
626
|
| 'AccountLinkDeleted'
|
|
515
627
|
| 'AdConnectionAuthorizationStarted'
|
|
@@ -528,6 +640,11 @@ export interface AuditLogListResponse {
|
|
|
528
640
|
| 'AdPublishBatchCancelled'
|
|
529
641
|
| 'AdPublishBatchRetried'
|
|
530
642
|
| 'AdStatusChanged'
|
|
643
|
+
| 'AdCampaignSetupDrafted'
|
|
644
|
+
| 'AdCampaignSetupDiscarded'
|
|
645
|
+
| 'AdCampaignSetupConfirmed'
|
|
646
|
+
| 'AdCampaignSetupCancelled'
|
|
647
|
+
| 'AdCampaignSetupRetried'
|
|
531
648
|
| 'OrganizationSettingsUpdated'
|
|
532
649
|
| 'OrganizationDisabledModelsUpdated'
|
|
533
650
|
| 'OrganizationAgentSandboxUpdated'
|
|
@@ -546,6 +663,7 @@ export interface AuditLogListResponse {
|
|
|
546
663
|
| 'MeteredBillingRetryTriggered'
|
|
547
664
|
| 'EnterpriseSpendCapEnforcementUpdated'
|
|
548
665
|
| 'OnboardingBonusGranted'
|
|
666
|
+
| 'PromotionCreditsGranted'
|
|
549
667
|
| 'AwsMarketplaceEnterpriseSubscriptionLinked';
|
|
550
668
|
|
|
551
669
|
/**
|
|
@@ -594,6 +712,8 @@ export namespace AuditLogListResponse {
|
|
|
594
712
|
* Action-specific details.
|
|
595
713
|
*/
|
|
596
714
|
export interface Metadata {
|
|
715
|
+
'Accepted by'?: string;
|
|
716
|
+
|
|
597
717
|
'Ad account ID'?: string;
|
|
598
718
|
|
|
599
719
|
'Ad creative ID'?: string;
|
|
@@ -612,6 +732,8 @@ export namespace AuditLogListResponse {
|
|
|
612
732
|
|
|
613
733
|
'Ad sync start date'?: string;
|
|
614
734
|
|
|
735
|
+
'Added member'?: string;
|
|
736
|
+
|
|
615
737
|
'Ads created as'?: string;
|
|
616
738
|
|
|
617
739
|
'Ads onboarding answers'?: Array<string>;
|
|
@@ -626,6 +748,8 @@ export namespace AuditLogListResponse {
|
|
|
626
748
|
|
|
627
749
|
'Amount received'?: number;
|
|
628
750
|
|
|
751
|
+
Anonymous?: boolean;
|
|
752
|
+
|
|
629
753
|
'API account'?: string;
|
|
630
754
|
|
|
631
755
|
'API project ID'?: string;
|
|
@@ -640,12 +764,26 @@ export namespace AuditLogListResponse {
|
|
|
640
764
|
|
|
641
765
|
Application?: string;
|
|
642
766
|
|
|
767
|
+
'Asset ID'?: string;
|
|
768
|
+
|
|
643
769
|
'Asset name'?: string;
|
|
644
770
|
|
|
771
|
+
'Asset type'?: string;
|
|
772
|
+
|
|
773
|
+
Automatic?: boolean;
|
|
774
|
+
|
|
645
775
|
'AWS license'?: string;
|
|
646
776
|
|
|
647
777
|
'Brand kit ID'?: string;
|
|
648
778
|
|
|
779
|
+
'Campaign setup ID'?: string;
|
|
780
|
+
|
|
781
|
+
'Campaign setup type'?: string;
|
|
782
|
+
|
|
783
|
+
'Campaign setup version'?: number;
|
|
784
|
+
|
|
785
|
+
'Cancels at period end'?: boolean;
|
|
786
|
+
|
|
649
787
|
'Comment ID'?: string;
|
|
650
788
|
|
|
651
789
|
'Comment target ID'?: string;
|
|
@@ -654,12 +792,16 @@ export namespace AuditLogListResponse {
|
|
|
654
792
|
|
|
655
793
|
'Comment text'?: string;
|
|
656
794
|
|
|
795
|
+
Connector?: string;
|
|
796
|
+
|
|
657
797
|
'Creatives cancelled'?: number;
|
|
658
798
|
|
|
659
799
|
'Creatives queued'?: number;
|
|
660
800
|
|
|
661
801
|
'Creatives retried'?: number;
|
|
662
802
|
|
|
803
|
+
'Credits used'?: number;
|
|
804
|
+
|
|
663
805
|
'Default project discoverability'?: string;
|
|
664
806
|
|
|
665
807
|
'Default task name template'?: string | null;
|
|
@@ -668,10 +810,20 @@ export namespace AuditLogListResponse {
|
|
|
668
810
|
|
|
669
811
|
Direction?: string;
|
|
670
812
|
|
|
813
|
+
'Downloaded by owner'?: boolean;
|
|
814
|
+
|
|
671
815
|
'Email domain'?: string;
|
|
672
816
|
|
|
817
|
+
Enabled?: boolean;
|
|
818
|
+
|
|
673
819
|
'Error code'?: string;
|
|
674
820
|
|
|
821
|
+
Filename?: string;
|
|
822
|
+
|
|
823
|
+
'Files moved'?: number;
|
|
824
|
+
|
|
825
|
+
'From workspace ID'?: number;
|
|
826
|
+
|
|
675
827
|
'Group name'?: string;
|
|
676
828
|
|
|
677
829
|
'Hard spend cap'?: boolean;
|
|
@@ -680,8 +832,12 @@ export namespace AuditLogListResponse {
|
|
|
680
832
|
|
|
681
833
|
'Invited member'?: string;
|
|
682
834
|
|
|
835
|
+
'Join policy'?: string;
|
|
836
|
+
|
|
683
837
|
'Language model or provider'?: string;
|
|
684
838
|
|
|
839
|
+
'Link type'?: string;
|
|
840
|
+
|
|
685
841
|
'Login method'?: string;
|
|
686
842
|
|
|
687
843
|
'Media included'?: boolean;
|
|
@@ -690,8 +846,12 @@ export namespace AuditLogListResponse {
|
|
|
690
846
|
|
|
691
847
|
Mentions?: number;
|
|
692
848
|
|
|
849
|
+
Method?: string;
|
|
850
|
+
|
|
693
851
|
Model?: string;
|
|
694
852
|
|
|
853
|
+
'New email'?: string;
|
|
854
|
+
|
|
695
855
|
'New role'?: string;
|
|
696
856
|
|
|
697
857
|
'New text'?: string;
|
|
@@ -714,6 +874,8 @@ export namespace AuditLogListResponse {
|
|
|
714
874
|
|
|
715
875
|
'Platform object ID'?: string;
|
|
716
876
|
|
|
877
|
+
'Previous email'?: string;
|
|
878
|
+
|
|
717
879
|
'Previous project credit cap'?: number | null;
|
|
718
880
|
|
|
719
881
|
'Previous role'?: string | null;
|
|
@@ -722,14 +884,32 @@ export namespace AuditLogListResponse {
|
|
|
722
884
|
|
|
723
885
|
'Previous value'?: string | number | boolean | { [key: string]: boolean } | null;
|
|
724
886
|
|
|
887
|
+
'Previously shared in project'?: string | null;
|
|
888
|
+
|
|
725
889
|
'Project credit cap'?: number | null;
|
|
726
890
|
|
|
891
|
+
'Project ID'?: string;
|
|
892
|
+
|
|
893
|
+
Promotion?: string;
|
|
894
|
+
|
|
727
895
|
Provider?: string;
|
|
728
896
|
|
|
897
|
+
'Read or write'?: string;
|
|
898
|
+
|
|
729
899
|
Reason?: string | null;
|
|
730
900
|
|
|
901
|
+
'Recharge amount (USD cents)'?: number;
|
|
902
|
+
|
|
903
|
+
'Recharge below (credits)'?: number;
|
|
904
|
+
|
|
731
905
|
'Removed member'?: string;
|
|
732
906
|
|
|
907
|
+
'Requested via'?: Array<string>;
|
|
908
|
+
|
|
909
|
+
Result?: string;
|
|
910
|
+
|
|
911
|
+
'Result metric ID'?: string | null;
|
|
912
|
+
|
|
733
913
|
'Review decision'?: string;
|
|
734
914
|
|
|
735
915
|
Role?: string;
|
|
@@ -742,14 +922,24 @@ export namespace AuditLogListResponse {
|
|
|
742
922
|
|
|
743
923
|
Setting?: string;
|
|
744
924
|
|
|
925
|
+
'Shared in project'?: string | null;
|
|
926
|
+
|
|
745
927
|
'Shared with projects'?: Array<string>;
|
|
746
928
|
|
|
747
929
|
'Shared with workspace'?: boolean;
|
|
748
930
|
|
|
931
|
+
Source?: string;
|
|
932
|
+
|
|
933
|
+
'Source application'?: string;
|
|
934
|
+
|
|
749
935
|
'Source category ID'?: string;
|
|
750
936
|
|
|
937
|
+
'Source version asset ID'?: string;
|
|
938
|
+
|
|
751
939
|
'Spend cap'?: number;
|
|
752
940
|
|
|
941
|
+
'Spend cap (USD cents)'?: number;
|
|
942
|
+
|
|
753
943
|
'Spend cap change'?: number;
|
|
754
944
|
|
|
755
945
|
'Status after'?: string;
|
|
@@ -764,8 +954,18 @@ export namespace AuditLogListResponse {
|
|
|
764
954
|
|
|
765
955
|
'Target member'?: string | null;
|
|
766
956
|
|
|
957
|
+
'Task ID'?: string;
|
|
958
|
+
|
|
959
|
+
'To workspace ID'?: number;
|
|
960
|
+
|
|
961
|
+
Tool?: string;
|
|
962
|
+
|
|
963
|
+
'Updated fields'?: Array<string>;
|
|
964
|
+
|
|
767
965
|
'Via public API'?: boolean;
|
|
768
966
|
|
|
967
|
+
Watermarked?: boolean;
|
|
968
|
+
|
|
769
969
|
Workspace?: string | null;
|
|
770
970
|
|
|
771
971
|
'Workspace description'?: string | null;
|
|
@@ -781,7 +981,9 @@ export namespace AuditLogListResponse {
|
|
|
781
981
|
export interface AuditLogRetrieveParams {
|
|
782
982
|
/**
|
|
783
983
|
* Organization to report on. Optional when this API project is linked to a single
|
|
784
|
-
* 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`.
|
|
785
987
|
*/
|
|
786
988
|
organizationId?: string;
|
|
787
989
|
}
|
|
@@ -789,9 +991,11 @@ export interface AuditLogRetrieveParams {
|
|
|
789
991
|
export interface AuditLogListParams extends CursorPageParams {
|
|
790
992
|
/**
|
|
791
993
|
* Restrict results to these audit log actions, as a comma-separated list of up to
|
|
792
|
-
* 50 actions. Allowed values: `
|
|
793
|
-
* `
|
|
794
|
-
* `
|
|
994
|
+
* 50 actions. Allowed values: `AgentArtifactCommentCreated`,
|
|
995
|
+
* `AgentArtifactCreated`, `AgentArtifactVersionSaved`,
|
|
996
|
+
* `AgentArtifactSessionAttached`, `AgentArtifactSessionDetached`, `UserLogin`,
|
|
997
|
+
* `PasswordChanged`, `EmailChangeRequested`, `EmailChanged`, `UserRegistered`,
|
|
998
|
+
* `UserAccountDeleted`, `WorkspaceCreated`, `WorkspaceDeleted`, `MemberInvited`,
|
|
795
999
|
* `MemberInviteReminderSent`, `MemberRemoved`, `MemberRoleChanged`,
|
|
796
1000
|
* `InviteAccepted`, `MemberJoinedViaDomain`, `TeamSettingsUpdated`,
|
|
797
1001
|
* `InviteLinkToggled`, `UserGroupCreated`, `UserGroupUpdated`, `UserGroupDeleted`,
|
|
@@ -807,10 +1011,10 @@ export interface AuditLogListParams extends CursorPageParams {
|
|
|
807
1011
|
* `PermissionAccepted`, `SubscriptionCancelled`,
|
|
808
1012
|
* `SubscriptionReactivatedWithOffer`, `SubscriptionPlanSwitched`,
|
|
809
1013
|
* `CreditsTransferred`, `SeatsTransferred`, `SessionShared`, `SessionUnshared`,
|
|
810
|
-
* `
|
|
811
|
-
* `
|
|
812
|
-
* `
|
|
813
|
-
* `AgentSessionUnshared`, `AgentConnectorLinkTokenCreated`,
|
|
1014
|
+
* `SessionMadePrivateByAdmin`, `VideoProjectShared`, `VideoProjectUnshared`,
|
|
1015
|
+
* `BrandKitShared`, `BrandKitUnshared`, `AgentCustomSkillCreated`,
|
|
1016
|
+
* `AgentCustomSkillDeleted`, `AgentCustomSkillShared`, `AgentCustomSkillUnshared`,
|
|
1017
|
+
* `AgentSessionShared`, `AgentSessionUnshared`, `AgentConnectorLinkTokenCreated`,
|
|
814
1018
|
* `AgentConnectorConnected`, `AgentConnectorDisconnected`,
|
|
815
1019
|
* `AgentConnectorAssetExported`, `AgentConnectorSessionEnabled`,
|
|
816
1020
|
* `AgentConnectorSessionDisabled`, `GenerationCreated`, `StudioSessionOpened`,
|
|
@@ -818,22 +1022,28 @@ export interface AuditLogListParams extends CursorPageParams {
|
|
|
818
1022
|
* `AppStudioAppVisibilityChanged`, `AppStudioAppRenamed`, `AppStudioAppDeleted`,
|
|
819
1023
|
* `AppStudioAppCoOwnerChanged`, `AppStudioAppSecretChanged`,
|
|
820
1024
|
* `AppStudioAppRunwayAccessGranted`, `AppStudioAppRunwayAccessRevoked`,
|
|
1025
|
+
* `AppStudioConnectorConnected`, `AppStudioConnectorDisconnected`,
|
|
1026
|
+
* `AppStudioConnectorAppGranted`, `AppStudioConnectorAppRevoked`,
|
|
1027
|
+
* `AppStudioConnectorPolicyChanged`, `AppStudioConnectorToolCalled`,
|
|
821
1028
|
* `AccountLinkCreated`, `AccountLinkDeleted`, `AdConnectionAuthorizationStarted`,
|
|
822
1029
|
* `AdConnectionConnected`, `AdAccountSelectionUpdated`, `AdAccountSyncRequested`,
|
|
823
1030
|
* `AdConnectionDisconnected`, `AdWorkspaceOnboardingUpdated`,
|
|
824
1031
|
* `AdCreativeReviewSubmitted`, `AdCreativeReviewCancelled`,
|
|
825
1032
|
* `AdCreativeReviewDecided`, `AdCreativeApprovalRevoked`, `AdCreativeArchived`,
|
|
826
1033
|
* `AdCreativeUnarchived`, `AdPublishBatchQueued`, `AdPublishBatchCancelled`,
|
|
827
|
-
* `AdPublishBatchRetried`, `AdStatusChanged`, `
|
|
828
|
-
* `
|
|
829
|
-
* `
|
|
1034
|
+
* `AdPublishBatchRetried`, `AdStatusChanged`, `AdCampaignSetupDrafted`,
|
|
1035
|
+
* `AdCampaignSetupDiscarded`, `AdCampaignSetupConfirmed`,
|
|
1036
|
+
* `AdCampaignSetupCancelled`, `AdCampaignSetupRetried`,
|
|
1037
|
+
* `OrganizationSettingsUpdated`, `OrganizationDisabledModelsUpdated`,
|
|
1038
|
+
* `OrganizationAgentSandboxUpdated`, `OrganizationApiAccountReleased`,
|
|
1039
|
+
* `OrganizationApiAccountMemberInvited`,
|
|
830
1040
|
* `OrganizationApiAccountMemberRoleChanged`,
|
|
831
1041
|
* `OrganizationApiAccountMemberRemoved`, `WorkspaceCountryLockUpdated`,
|
|
832
1042
|
* `WorkspaceTagCreated`, `WorkspaceTagUpdated`, `WorkspaceTagDeleted`,
|
|
833
1043
|
* `WorkspaceTagAssigned`, `WorkspaceTagUnassigned`, `MeteredBillingConfigUpdated`,
|
|
834
1044
|
* `MeteredBillingRefillTriggered`, `MeteredBillingRetryTriggered`,
|
|
835
1045
|
* `EnterpriseSpendCapEnforcementUpdated`, `OnboardingBonusGranted`,
|
|
836
|
-
* `AwsMarketplaceEnterpriseSubscriptionLinked`.
|
|
1046
|
+
* `PromotionCreditsGranted`, `AwsMarketplaceEnterpriseSubscriptionLinked`.
|
|
837
1047
|
*/
|
|
838
1048
|
actions?: string;
|
|
839
1049
|
|
|
@@ -850,7 +1060,9 @@ export interface AuditLogListParams extends CursorPageParams {
|
|
|
850
1060
|
|
|
851
1061
|
/**
|
|
852
1062
|
* Organization to report on. Optional when this API project is linked to a single
|
|
853
|
-
* 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`.
|
|
854
1066
|
*/
|
|
855
1067
|
organizationId?: string;
|
|
856
1068
|
|
|
@@ -46,6 +46,56 @@ export interface WebappListUsageResponse {
|
|
|
46
46
|
*/
|
|
47
47
|
email: string;
|
|
48
48
|
|
|
49
|
+
/**
|
|
50
|
+
* Number of output files the generation returned, including ones the user later
|
|
51
|
+
* deleted and excluding attachments such as playable proxies. Copying an output
|
|
52
|
+
* into a project can raise it. 0 when it returned no files, for example while it
|
|
53
|
+
* runs or after it failed. `null` when `taskId` is null or the generation no
|
|
54
|
+
* longer exists.
|
|
55
|
+
*/
|
|
56
|
+
outputCount: number | null;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Media type of the generation's output: one of the listed values, which won't be
|
|
60
|
+
* remapped. Agent sandbox sessions report `file`. `null` when `taskId` is null,
|
|
61
|
+
* the generation no longer exists, or the type wasn't recorded.
|
|
62
|
+
*/
|
|
63
|
+
outputType:
|
|
64
|
+
| 'image'
|
|
65
|
+
| 'video'
|
|
66
|
+
| 'text'
|
|
67
|
+
| 'file'
|
|
68
|
+
| 'audio'
|
|
69
|
+
| 'font'
|
|
70
|
+
| 'model'
|
|
71
|
+
| 'project'
|
|
72
|
+
| 'mesh'
|
|
73
|
+
| 'cloud'
|
|
74
|
+
| 'splat'
|
|
75
|
+
| null;
|
|
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
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Current status of the generation when you request it, so it can change between
|
|
94
|
+
* pulls (upsert on `transactionId`). A refund row doesn't mean the generation
|
|
95
|
+
* failed. `null` when `taskId` is null or the generation no longer exists.
|
|
96
|
+
*/
|
|
97
|
+
status: 'PENDING' | 'THROTTLED' | 'RUNNING' | 'FAILED' | 'SUCCEEDED' | 'CANCELLED' | null;
|
|
98
|
+
|
|
49
99
|
/**
|
|
50
100
|
* ID of the generation this row belongs to. A charge and its refunds share it.
|
|
51
101
|
* `null` for App Studio usage, which has no generation.
|
|
@@ -111,7 +161,9 @@ export interface WebappListUsageParams extends CursorPageParams {
|
|
|
111
161
|
|
|
112
162
|
/**
|
|
113
163
|
* Organization to report on. Optional when this API project is linked to a single
|
|
114
|
-
* 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`.
|
|
115
167
|
*/
|
|
116
168
|
organizationId?: string;
|
|
117
169
|
|