@runwayml/sdk 4.22.0 → 4.24.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 +15 -0
- package/client.d.mts +6 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts +6 -0
- package/client.d.ts.map +1 -1
- package/client.js +6 -0
- package/client.js.map +1 -1
- package/client.mjs +6 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/avatar-conversations.d.mts +1 -1
- package/resources/avatar-conversations.d.ts +1 -1
- package/resources/avatar-conversations.js +1 -1
- package/resources/avatar-conversations.mjs +1 -1
- package/resources/generate/image.d.mts +6 -4
- package/resources/generate/image.d.mts.map +1 -1
- package/resources/generate/image.d.ts +6 -4
- package/resources/generate/image.d.ts.map +1 -1
- package/resources/image-to-video.d.mts +683 -73
- package/resources/image-to-video.d.mts.map +1 -1
- package/resources/image-to-video.d.ts +683 -73
- package/resources/image-to-video.d.ts.map +1 -1
- package/resources/index.d.mts +1 -0
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/organization/organization.d.mts +2 -2
- package/resources/organization/organization.d.mts.map +1 -1
- package/resources/organization/organization.d.ts +2 -2
- 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 +105 -80
- package/resources/organization/webapp/audit-logs.d.mts.map +1 -1
- package/resources/organization/webapp/audit-logs.d.ts +105 -80
- package/resources/organization/webapp/audit-logs.d.ts.map +1 -1
- package/resources/organization/webapp/webapp.d.mts +6 -4
- package/resources/organization/webapp/webapp.d.mts.map +1 -1
- package/resources/organization/webapp/webapp.d.ts +6 -4
- 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 +14 -10
- package/resources/routers.d.mts.map +1 -1
- package/resources/routers.d.ts +14 -10
- package/resources/routers.d.ts.map +1 -1
- package/resources/sound-effect.d.mts +28 -1
- package/resources/sound-effect.d.mts.map +1 -1
- package/resources/sound-effect.d.ts +28 -1
- package/resources/sound-effect.d.ts.map +1 -1
- package/resources/tasks.d.mts +7 -0
- package/resources/tasks.d.mts.map +1 -1
- package/resources/tasks.d.ts +7 -0
- package/resources/tasks.d.ts.map +1 -1
- package/resources/tasks.js +7 -0
- package/resources/tasks.js.map +1 -1
- package/resources/tasks.mjs +7 -0
- package/resources/tasks.mjs.map +1 -1
- package/resources/text-to-image.d.mts +238 -1
- package/resources/text-to-image.d.mts.map +1 -1
- package/resources/text-to-image.d.ts +238 -1
- package/resources/text-to-image.d.ts.map +1 -1
- package/resources/text-to-video.d.mts +492 -81
- package/resources/text-to-video.d.mts.map +1 -1
- package/resources/text-to-video.d.ts +492 -81
- package/resources/text-to-video.d.ts.map +1 -1
- package/resources/video-to-audio.d.mts +84 -0
- package/resources/video-to-audio.d.mts.map +1 -0
- package/resources/video-to-audio.d.ts +84 -0
- package/resources/video-to-audio.d.ts.map +1 -0
- package/resources/video-to-audio.js +29 -0
- package/resources/video-to-audio.js.map +1 -0
- package/resources/video-to-audio.mjs +25 -0
- package/resources/video-to-audio.mjs.map +1 -0
- package/resources/video-to-video.d.mts +277 -20
- package/resources/video-to-video.d.mts.map +1 -1
- package/resources/video-to-video.d.ts +277 -20
- package/resources/video-to-video.d.ts.map +1 -1
- package/src/client.ts +16 -0
- package/src/resources/avatar-conversations.ts +1 -1
- package/src/resources/generate/image.ts +6 -4
- package/src/resources/image-to-video.ts +836 -111
- package/src/resources/index.ts +5 -0
- package/src/resources/organization/organization.ts +20 -0
- package/src/resources/organization/webapp/audit-logs.ts +142 -78
- package/src/resources/organization/webapp/webapp.ts +6 -4
- package/src/resources/routers.ts +14 -10
- package/src/resources/sound-effect.ts +35 -0
- package/src/resources/tasks.ts +7 -0
- package/src/resources/text-to-image.ts +406 -0
- package/src/resources/text-to-video.ts +621 -114
- package/src/resources/video-to-audio.ts +109 -0
- package/src/resources/video-to-video.ts +335 -30
- 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
package/src/resources/index.ts
CHANGED
|
@@ -105,6 +105,11 @@ export {
|
|
|
105
105
|
type TextToSpeechCreateParams,
|
|
106
106
|
} from './text-to-speech';
|
|
107
107
|
export { TextToVideo, type TextToVideoCreateResponse, type TextToVideoCreateParams } from './text-to-video';
|
|
108
|
+
export {
|
|
109
|
+
VideoToAudio,
|
|
110
|
+
type VideoToAudioCreateResponse,
|
|
111
|
+
type VideoToAudioCreateParams,
|
|
112
|
+
} from './video-to-audio';
|
|
108
113
|
export { VideoToHdr, type VideoToHdrCreateResponse, type VideoToHdrCreateParams } from './video-to-hdr';
|
|
109
114
|
export {
|
|
110
115
|
VideoToVideo,
|
|
@@ -115,6 +115,7 @@ export interface OrganizationRetrieveUsageResponse {
|
|
|
115
115
|
| 'gen4.5'
|
|
116
116
|
| 'gen3a_turbo'
|
|
117
117
|
| 'gen4_turbo'
|
|
118
|
+
| 'recraft_v4_1_vector'
|
|
118
119
|
| 'gen4_image'
|
|
119
120
|
| 'gen4_image_turbo'
|
|
120
121
|
| 'gpt_image_2'
|
|
@@ -128,7 +129,11 @@ export interface OrganizationRetrieveUsageResponse {
|
|
|
128
129
|
| 'gemini_2.5_flash'
|
|
129
130
|
| 'gemini_image3_pro'
|
|
130
131
|
| 'gemini_image3.1_flash'
|
|
132
|
+
| 'gemini_image3.1_flash_lite'
|
|
133
|
+
| 'nano_banana_2.1'
|
|
134
|
+
| 'recraft_v4_1_flash'
|
|
131
135
|
| 'seedream5_pro'
|
|
136
|
+
| 'seedream5_flash'
|
|
132
137
|
| 'seedream5_lite'
|
|
133
138
|
| 'gemini_omni_flash'
|
|
134
139
|
| 'gemini_omni_flash_1.1'
|
|
@@ -137,6 +142,7 @@ export interface OrganizationRetrieveUsageResponse {
|
|
|
137
142
|
| 'eleven_v3'
|
|
138
143
|
| 'eleven_v4'
|
|
139
144
|
| 'eleven_text_to_sound_v2'
|
|
145
|
+
| 'mirelo_sfx_2_0'
|
|
140
146
|
| 'eleven_voice_isolation'
|
|
141
147
|
| 'eleven_voice_dubbing'
|
|
142
148
|
| 'eleven_multilingual_sts_v2'
|
|
@@ -157,12 +163,16 @@ export interface OrganizationRetrieveUsageResponse {
|
|
|
157
163
|
| 'grok_imagine_1_5_lite'
|
|
158
164
|
| 'grok_imagine_image_2'
|
|
159
165
|
| 'muse_image'
|
|
166
|
+
| 'bria_fibo_1_5'
|
|
167
|
+
| 'bria_fibo_edit_1_5'
|
|
160
168
|
| 'ideogram_4_0'
|
|
169
|
+
| 'ideogram_4_5'
|
|
161
170
|
| 'magnific_precision_upscaler_v2'
|
|
162
171
|
| 'magnific_video_upscaler_creative'
|
|
163
172
|
| 'ruby'
|
|
164
173
|
| 'enhance_frame_rate'
|
|
165
174
|
| 'kling2.5_turbo_pro'
|
|
175
|
+
| 'kling_4'
|
|
166
176
|
| 'kling3.0_pro'
|
|
167
177
|
| 'kling3.0_4k'
|
|
168
178
|
| 'kling3.0_standard'
|
|
@@ -222,6 +232,7 @@ export namespace OrganizationRetrieveUsageResponse {
|
|
|
222
232
|
| 'gen4.5'
|
|
223
233
|
| 'gen3a_turbo'
|
|
224
234
|
| 'gen4_turbo'
|
|
235
|
+
| 'recraft_v4_1_vector'
|
|
225
236
|
| 'gen4_image'
|
|
226
237
|
| 'gen4_image_turbo'
|
|
227
238
|
| 'gpt_image_2'
|
|
@@ -235,7 +246,11 @@ export namespace OrganizationRetrieveUsageResponse {
|
|
|
235
246
|
| 'gemini_2.5_flash'
|
|
236
247
|
| 'gemini_image3_pro'
|
|
237
248
|
| 'gemini_image3.1_flash'
|
|
249
|
+
| 'gemini_image3.1_flash_lite'
|
|
250
|
+
| 'nano_banana_2.1'
|
|
251
|
+
| 'recraft_v4_1_flash'
|
|
238
252
|
| 'seedream5_pro'
|
|
253
|
+
| 'seedream5_flash'
|
|
239
254
|
| 'seedream5_lite'
|
|
240
255
|
| 'gemini_omni_flash'
|
|
241
256
|
| 'gemini_omni_flash_1.1'
|
|
@@ -244,6 +259,7 @@ export namespace OrganizationRetrieveUsageResponse {
|
|
|
244
259
|
| 'eleven_v3'
|
|
245
260
|
| 'eleven_v4'
|
|
246
261
|
| 'eleven_text_to_sound_v2'
|
|
262
|
+
| 'mirelo_sfx_2_0'
|
|
247
263
|
| 'eleven_voice_isolation'
|
|
248
264
|
| 'eleven_voice_dubbing'
|
|
249
265
|
| 'eleven_multilingual_sts_v2'
|
|
@@ -264,12 +280,16 @@ export namespace OrganizationRetrieveUsageResponse {
|
|
|
264
280
|
| 'grok_imagine_1_5_lite'
|
|
265
281
|
| 'grok_imagine_image_2'
|
|
266
282
|
| 'muse_image'
|
|
283
|
+
| 'bria_fibo_1_5'
|
|
284
|
+
| 'bria_fibo_edit_1_5'
|
|
267
285
|
| 'ideogram_4_0'
|
|
286
|
+
| 'ideogram_4_5'
|
|
268
287
|
| 'magnific_precision_upscaler_v2'
|
|
269
288
|
| 'magnific_video_upscaler_creative'
|
|
270
289
|
| 'ruby'
|
|
271
290
|
| 'enhance_frame_rate'
|
|
272
291
|
| 'kling2.5_turbo_pro'
|
|
292
|
+
| 'kling_4'
|
|
273
293
|
| 'kling3.0_pro'
|
|
274
294
|
| 'kling3.0_4k'
|
|
275
295
|
| 'kling3.0_standard'
|
|
@@ -52,6 +52,7 @@ export interface AuditLogRetrieveResponse {
|
|
|
52
52
|
| 'WorkspaceCreated'
|
|
53
53
|
| 'WorkspaceDeleted'
|
|
54
54
|
| 'MemberInvited'
|
|
55
|
+
| 'MemberInviteReminderSent'
|
|
55
56
|
| 'MemberRemoved'
|
|
56
57
|
| 'MemberRoleChanged'
|
|
57
58
|
| 'InviteAccepted'
|
|
@@ -66,6 +67,7 @@ export interface AuditLogRetrieveResponse {
|
|
|
66
67
|
| 'UserGroupMemberAdded'
|
|
67
68
|
| 'UserGroupMemberRemoved'
|
|
68
69
|
| 'UserGroupCreditCapUpdated'
|
|
70
|
+
| 'UserGroupVisibilityUpdated'
|
|
69
71
|
| 'SSOLogin'
|
|
70
72
|
| 'SSOUserProvisioned'
|
|
71
73
|
| 'SSOConfigCreated'
|
|
@@ -113,6 +115,7 @@ export interface AuditLogRetrieveResponse {
|
|
|
113
115
|
| 'AgentConnectorSessionDisabled'
|
|
114
116
|
| 'GenerationCreated'
|
|
115
117
|
| 'StudioSessionOpened'
|
|
118
|
+
| 'AppStudioAiRunOpened'
|
|
116
119
|
| 'AccountLinkCreated'
|
|
117
120
|
| 'AccountLinkDeleted'
|
|
118
121
|
| 'AdConnectionAuthorizationStarted'
|
|
@@ -120,6 +123,16 @@ export interface AuditLogRetrieveResponse {
|
|
|
120
123
|
| 'AdAccountSelectionUpdated'
|
|
121
124
|
| 'AdAccountSyncRequested'
|
|
122
125
|
| 'AdConnectionDisconnected'
|
|
126
|
+
| 'AdWorkspaceOnboardingUpdated'
|
|
127
|
+
| 'AdCreativeReviewSubmitted'
|
|
128
|
+
| 'AdCreativeReviewCancelled'
|
|
129
|
+
| 'AdCreativeReviewDecided'
|
|
130
|
+
| 'AdCreativeApprovalRevoked'
|
|
131
|
+
| 'AdCreativeArchived'
|
|
132
|
+
| 'AdCreativeUnarchived'
|
|
133
|
+
| 'AdPublishBatchQueued'
|
|
134
|
+
| 'AdPublishBatchCancelled'
|
|
135
|
+
| 'AdPublishBatchRetried'
|
|
123
136
|
| 'OrganizationSettingsUpdated'
|
|
124
137
|
| 'OrganizationDisabledModelsUpdated'
|
|
125
138
|
| 'OrganizationAgentSandboxUpdated'
|
|
@@ -137,6 +150,7 @@ export interface AuditLogRetrieveResponse {
|
|
|
137
150
|
| 'MeteredBillingRefillTriggered'
|
|
138
151
|
| 'MeteredBillingRetryTriggered'
|
|
139
152
|
| 'EnterpriseSpendCapEnforcementUpdated'
|
|
153
|
+
| 'OnboardingBonusGranted'
|
|
140
154
|
| 'AwsMarketplaceEnterpriseSubscriptionLinked';
|
|
141
155
|
|
|
142
156
|
/**
|
|
@@ -215,141 +229,171 @@ export namespace AuditLogRetrieveResponse {
|
|
|
215
229
|
* Action-specific details.
|
|
216
230
|
*/
|
|
217
231
|
export interface Metadata {
|
|
218
|
-
'Ad account ID'?:
|
|
232
|
+
'Ad account ID'?: string;
|
|
219
233
|
|
|
220
|
-
'Ad
|
|
234
|
+
'Ad creative ID'?: string;
|
|
221
235
|
|
|
222
|
-
'Ad
|
|
236
|
+
'Ad publish batch ID'?: string;
|
|
223
237
|
|
|
224
|
-
'Ad
|
|
238
|
+
'Ad review batch ID'?: string;
|
|
225
239
|
|
|
226
|
-
'
|
|
240
|
+
'Ad review request ID'?: string;
|
|
227
241
|
|
|
228
|
-
'
|
|
242
|
+
'Ad sync end date'?: string;
|
|
229
243
|
|
|
230
|
-
|
|
244
|
+
'Ad sync run ID'?: string;
|
|
231
245
|
|
|
232
|
-
'
|
|
246
|
+
'Ad sync start date'?: string;
|
|
233
247
|
|
|
234
|
-
'
|
|
248
|
+
'Ads onboarding answers'?: Array<string>;
|
|
235
249
|
|
|
236
|
-
'
|
|
250
|
+
'Ads onboarding completed'?: boolean;
|
|
237
251
|
|
|
238
|
-
'
|
|
252
|
+
'Agent session ID'?: string;
|
|
239
253
|
|
|
240
|
-
'
|
|
254
|
+
'Agent tagged'?: boolean;
|
|
241
255
|
|
|
242
|
-
|
|
256
|
+
Amount?: number;
|
|
243
257
|
|
|
244
|
-
'
|
|
258
|
+
'Amount received'?: number;
|
|
245
259
|
|
|
246
|
-
'
|
|
260
|
+
'API account'?: string;
|
|
247
261
|
|
|
248
|
-
'
|
|
262
|
+
'API project ID'?: string;
|
|
249
263
|
|
|
250
|
-
'
|
|
264
|
+
'App Studio app'?: string;
|
|
251
265
|
|
|
252
|
-
'
|
|
266
|
+
'App Studio session'?: string;
|
|
253
267
|
|
|
254
|
-
|
|
268
|
+
Application?: string;
|
|
255
269
|
|
|
256
|
-
'
|
|
270
|
+
'Asset name'?: string;
|
|
257
271
|
|
|
258
|
-
'
|
|
272
|
+
'AWS license'?: string;
|
|
259
273
|
|
|
260
|
-
'
|
|
274
|
+
'Brand kit ID'?: string;
|
|
261
275
|
|
|
262
|
-
|
|
276
|
+
'Comment ID'?: string;
|
|
263
277
|
|
|
264
|
-
'
|
|
278
|
+
'Comment target ID'?: string;
|
|
265
279
|
|
|
266
|
-
'
|
|
280
|
+
'Comment target type'?: string;
|
|
267
281
|
|
|
268
|
-
'
|
|
282
|
+
'Comment text'?: string;
|
|
269
283
|
|
|
270
|
-
'
|
|
284
|
+
'Creatives cancelled'?: number;
|
|
271
285
|
|
|
272
|
-
'
|
|
286
|
+
'Creatives queued'?: number;
|
|
273
287
|
|
|
274
|
-
'
|
|
288
|
+
'Creatives retried'?: number;
|
|
275
289
|
|
|
276
|
-
'
|
|
290
|
+
'Default project discoverability'?: string;
|
|
277
291
|
|
|
278
|
-
'
|
|
292
|
+
'Default task name template'?: string | null;
|
|
279
293
|
|
|
280
|
-
|
|
294
|
+
'Destination category ID'?: string;
|
|
281
295
|
|
|
282
|
-
|
|
296
|
+
Direction?: string;
|
|
283
297
|
|
|
284
|
-
'
|
|
298
|
+
'Email domain'?: string;
|
|
285
299
|
|
|
286
|
-
'
|
|
300
|
+
'Error code'?: string;
|
|
287
301
|
|
|
288
|
-
'
|
|
302
|
+
'Group name'?: string;
|
|
289
303
|
|
|
290
|
-
'
|
|
304
|
+
'Hard spend cap'?: boolean;
|
|
291
305
|
|
|
292
|
-
|
|
306
|
+
'Into a new test ad set'?: boolean;
|
|
293
307
|
|
|
294
|
-
|
|
308
|
+
'Invited member'?: string;
|
|
295
309
|
|
|
296
|
-
|
|
310
|
+
'Language model or provider'?: string;
|
|
297
311
|
|
|
298
|
-
|
|
312
|
+
'Login method'?: string;
|
|
299
313
|
|
|
300
|
-
|
|
314
|
+
'Media included'?: boolean;
|
|
301
315
|
|
|
302
|
-
'
|
|
316
|
+
'Member email'?: string;
|
|
303
317
|
|
|
304
|
-
|
|
318
|
+
Mentions?: number;
|
|
305
319
|
|
|
306
|
-
|
|
320
|
+
Model?: string;
|
|
307
321
|
|
|
308
|
-
'
|
|
322
|
+
'New role'?: string;
|
|
309
323
|
|
|
310
|
-
'
|
|
324
|
+
'New text'?: string;
|
|
311
325
|
|
|
312
|
-
|
|
326
|
+
'New User'?: boolean;
|
|
313
327
|
|
|
314
|
-
|
|
328
|
+
'New value'?: string | number | boolean | { [key: string]: boolean } | null;
|
|
315
329
|
|
|
316
|
-
|
|
330
|
+
Operation?: string;
|
|
317
331
|
|
|
318
|
-
|
|
332
|
+
Organization?: string;
|
|
319
333
|
|
|
320
|
-
|
|
334
|
+
Outcome?: string;
|
|
321
335
|
|
|
322
|
-
|
|
336
|
+
Plan?: string;
|
|
323
337
|
|
|
324
|
-
|
|
338
|
+
Platform?: string;
|
|
325
339
|
|
|
326
|
-
'
|
|
340
|
+
'Platform ad account ID'?: string;
|
|
327
341
|
|
|
328
|
-
'
|
|
342
|
+
'Previous project credit cap'?: number | null;
|
|
329
343
|
|
|
330
|
-
'
|
|
344
|
+
'Previous role'?: string | null;
|
|
331
345
|
|
|
332
|
-
'
|
|
346
|
+
'Previous text'?: string;
|
|
333
347
|
|
|
334
|
-
'
|
|
348
|
+
'Previous value'?: string | number | boolean | { [key: string]: boolean } | null;
|
|
335
349
|
|
|
336
|
-
'
|
|
350
|
+
'Project credit cap'?: number | null;
|
|
337
351
|
|
|
338
|
-
|
|
352
|
+
Provider?: string;
|
|
339
353
|
|
|
340
|
-
|
|
354
|
+
Reason?: string | null;
|
|
341
355
|
|
|
342
|
-
'
|
|
356
|
+
'Removed member'?: string;
|
|
343
357
|
|
|
344
|
-
|
|
358
|
+
'Review decision'?: string;
|
|
345
359
|
|
|
346
|
-
|
|
360
|
+
Role?: string;
|
|
347
361
|
|
|
348
|
-
'
|
|
362
|
+
'Root asset ID'?: string;
|
|
349
363
|
|
|
350
|
-
|
|
364
|
+
Selected?: boolean;
|
|
351
365
|
|
|
352
|
-
|
|
366
|
+
Setting?: string;
|
|
367
|
+
|
|
368
|
+
'Shared with projects'?: Array<string>;
|
|
369
|
+
|
|
370
|
+
'Shared with workspace'?: boolean;
|
|
371
|
+
|
|
372
|
+
'Source category ID'?: string;
|
|
373
|
+
|
|
374
|
+
'Spend cap'?: number;
|
|
375
|
+
|
|
376
|
+
'Spend cap change'?: number;
|
|
377
|
+
|
|
378
|
+
'Submitted via'?: string;
|
|
379
|
+
|
|
380
|
+
'Tag color'?: string;
|
|
381
|
+
|
|
382
|
+
'Tag name'?: string;
|
|
383
|
+
|
|
384
|
+
'Target member'?: string | null;
|
|
385
|
+
|
|
386
|
+
'Via public API'?: boolean;
|
|
387
|
+
|
|
388
|
+
Workspace?: string | null;
|
|
389
|
+
|
|
390
|
+
'Workspace description'?: string | null;
|
|
391
|
+
|
|
392
|
+
'Workspace ID'?: number;
|
|
393
|
+
|
|
394
|
+
'Workspace name'?: string | null;
|
|
395
|
+
|
|
396
|
+
'Workspace picture'?: string | null;
|
|
353
397
|
}
|
|
354
398
|
}
|
|
355
399
|
|
|
@@ -367,6 +411,7 @@ export interface AuditLogListResponse {
|
|
|
367
411
|
| 'WorkspaceCreated'
|
|
368
412
|
| 'WorkspaceDeleted'
|
|
369
413
|
| 'MemberInvited'
|
|
414
|
+
| 'MemberInviteReminderSent'
|
|
370
415
|
| 'MemberRemoved'
|
|
371
416
|
| 'MemberRoleChanged'
|
|
372
417
|
| 'InviteAccepted'
|
|
@@ -381,6 +426,7 @@ export interface AuditLogListResponse {
|
|
|
381
426
|
| 'UserGroupMemberAdded'
|
|
382
427
|
| 'UserGroupMemberRemoved'
|
|
383
428
|
| 'UserGroupCreditCapUpdated'
|
|
429
|
+
| 'UserGroupVisibilityUpdated'
|
|
384
430
|
| 'SSOLogin'
|
|
385
431
|
| 'SSOUserProvisioned'
|
|
386
432
|
| 'SSOConfigCreated'
|
|
@@ -428,6 +474,7 @@ export interface AuditLogListResponse {
|
|
|
428
474
|
| 'AgentConnectorSessionDisabled'
|
|
429
475
|
| 'GenerationCreated'
|
|
430
476
|
| 'StudioSessionOpened'
|
|
477
|
+
| 'AppStudioAiRunOpened'
|
|
431
478
|
| 'AccountLinkCreated'
|
|
432
479
|
| 'AccountLinkDeleted'
|
|
433
480
|
| 'AdConnectionAuthorizationStarted'
|
|
@@ -435,6 +482,16 @@ export interface AuditLogListResponse {
|
|
|
435
482
|
| 'AdAccountSelectionUpdated'
|
|
436
483
|
| 'AdAccountSyncRequested'
|
|
437
484
|
| 'AdConnectionDisconnected'
|
|
485
|
+
| 'AdWorkspaceOnboardingUpdated'
|
|
486
|
+
| 'AdCreativeReviewSubmitted'
|
|
487
|
+
| 'AdCreativeReviewCancelled'
|
|
488
|
+
| 'AdCreativeReviewDecided'
|
|
489
|
+
| 'AdCreativeApprovalRevoked'
|
|
490
|
+
| 'AdCreativeArchived'
|
|
491
|
+
| 'AdCreativeUnarchived'
|
|
492
|
+
| 'AdPublishBatchQueued'
|
|
493
|
+
| 'AdPublishBatchCancelled'
|
|
494
|
+
| 'AdPublishBatchRetried'
|
|
438
495
|
| 'OrganizationSettingsUpdated'
|
|
439
496
|
| 'OrganizationDisabledModelsUpdated'
|
|
440
497
|
| 'OrganizationAgentSandboxUpdated'
|
|
@@ -452,6 +509,7 @@ export interface AuditLogListResponse {
|
|
|
452
509
|
| 'MeteredBillingRefillTriggered'
|
|
453
510
|
| 'MeteredBillingRetryTriggered'
|
|
454
511
|
| 'EnterpriseSpendCapEnforcementUpdated'
|
|
512
|
+
| 'OnboardingBonusGranted'
|
|
455
513
|
| 'AwsMarketplaceEnterpriseSubscriptionLinked';
|
|
456
514
|
|
|
457
515
|
/**
|
|
@@ -503,12 +561,13 @@ export interface AuditLogListParams extends CursorPageParams {
|
|
|
503
561
|
* Restrict results to these audit log actions, as a comma-separated list of up to
|
|
504
562
|
* 50 actions. Allowed values: `UserLogin`, `PasswordChanged`,
|
|
505
563
|
* `EmailChangeRequested`, `EmailChanged`, `UserRegistered`, `UserAccountDeleted`,
|
|
506
|
-
* `WorkspaceCreated`, `WorkspaceDeleted`, `MemberInvited`,
|
|
507
|
-
* `
|
|
508
|
-
* `
|
|
509
|
-
* `
|
|
510
|
-
* `
|
|
511
|
-
* `
|
|
564
|
+
* `WorkspaceCreated`, `WorkspaceDeleted`, `MemberInvited`,
|
|
565
|
+
* `MemberInviteReminderSent`, `MemberRemoved`, `MemberRoleChanged`,
|
|
566
|
+
* `InviteAccepted`, `MemberJoinedViaDomain`, `TeamSettingsUpdated`,
|
|
567
|
+
* `InviteLinkToggled`, `UserGroupCreated`, `UserGroupUpdated`, `UserGroupDeleted`,
|
|
568
|
+
* `UserGroupArchived`, `UserGroupRestored`, `UserGroupMemberAdded`,
|
|
569
|
+
* `UserGroupMemberRemoved`, `UserGroupCreditCapUpdated`,
|
|
570
|
+
* `UserGroupVisibilityUpdated`, `SSOLogin`, `SSOUserProvisioned`,
|
|
512
571
|
* `SSOConfigCreated`, `SSOUserAutoAddedToTeam`, `SSODomainRegistrationCloned`,
|
|
513
572
|
* `AssetCreated`, `AssetUpdated`, `AssetDeleted`, `AssetDownloaded`,
|
|
514
573
|
* `AssetShared`, `AssetUnshared`, `CommentCreated`, `CommentEdited`,
|
|
@@ -525,9 +584,14 @@ export interface AuditLogListParams extends CursorPageParams {
|
|
|
525
584
|
* `AgentConnectorConnected`, `AgentConnectorDisconnected`,
|
|
526
585
|
* `AgentConnectorAssetExported`, `AgentConnectorSessionEnabled`,
|
|
527
586
|
* `AgentConnectorSessionDisabled`, `GenerationCreated`, `StudioSessionOpened`,
|
|
528
|
-
* `
|
|
529
|
-
* `
|
|
530
|
-
* `
|
|
587
|
+
* `AppStudioAiRunOpened`, `AccountLinkCreated`, `AccountLinkDeleted`,
|
|
588
|
+
* `AdConnectionAuthorizationStarted`, `AdConnectionConnected`,
|
|
589
|
+
* `AdAccountSelectionUpdated`, `AdAccountSyncRequested`,
|
|
590
|
+
* `AdConnectionDisconnected`, `AdWorkspaceOnboardingUpdated`,
|
|
591
|
+
* `AdCreativeReviewSubmitted`, `AdCreativeReviewCancelled`,
|
|
592
|
+
* `AdCreativeReviewDecided`, `AdCreativeApprovalRevoked`, `AdCreativeArchived`,
|
|
593
|
+
* `AdCreativeUnarchived`, `AdPublishBatchQueued`, `AdPublishBatchCancelled`,
|
|
594
|
+
* `AdPublishBatchRetried`, `OrganizationSettingsUpdated`,
|
|
531
595
|
* `OrganizationDisabledModelsUpdated`, `OrganizationAgentSandboxUpdated`,
|
|
532
596
|
* `OrganizationApiAccountReleased`, `OrganizationApiAccountMemberInvited`,
|
|
533
597
|
* `OrganizationApiAccountMemberRoleChanged`,
|
|
@@ -535,7 +599,7 @@ export interface AuditLogListParams extends CursorPageParams {
|
|
|
535
599
|
* `WorkspaceTagCreated`, `WorkspaceTagUpdated`, `WorkspaceTagDeleted`,
|
|
536
600
|
* `WorkspaceTagAssigned`, `WorkspaceTagUnassigned`, `MeteredBillingConfigUpdated`,
|
|
537
601
|
* `MeteredBillingRefillTriggered`, `MeteredBillingRetryTriggered`,
|
|
538
|
-
* `EnterpriseSpendCapEnforcementUpdated`,
|
|
602
|
+
* `EnterpriseSpendCapEnforcementUpdated`, `OnboardingBonusGranted`,
|
|
539
603
|
* `AwsMarketplaceEnterpriseSubscriptionLinked`.
|
|
540
604
|
*/
|
|
541
605
|
actions?: string;
|
|
@@ -75,15 +75,17 @@ export interface WebappListUsageResponse {
|
|
|
75
75
|
|
|
76
76
|
export interface WebappListUsageParams extends CursorPageParams {
|
|
77
77
|
/**
|
|
78
|
-
* Start of the time window (inclusive), ISO-8601 datetime.
|
|
78
|
+
* Start of the time window (inclusive), ISO-8601 datetime or date. A date means
|
|
79
|
+
* midnight UTC.
|
|
79
80
|
*/
|
|
80
|
-
from: string;
|
|
81
|
+
from: (string & {}) | (string & {});
|
|
81
82
|
|
|
82
83
|
/**
|
|
83
|
-
* End of the time window (exclusive), ISO-8601 datetime. A
|
|
84
|
+
* End of the time window (exclusive), ISO-8601 datetime or date. A date means
|
|
85
|
+
* midnight UTC, so `to=2026-08-01` covers all of July 31. A `cursor` can only
|
|
84
86
|
* narrow this window, never extend it past `to`.
|
|
85
87
|
*/
|
|
86
|
-
to: string;
|
|
88
|
+
to: (string & {}) | (string & {});
|
|
87
89
|
|
|
88
90
|
/**
|
|
89
91
|
* Organization to report on. Optional when this API project is linked to a single
|
package/src/resources/routers.ts
CHANGED
|
@@ -765,7 +765,9 @@ export interface RouterUpdateParams {
|
|
|
765
765
|
/**
|
|
766
766
|
* Nested merge: omitted settings fields keep their current values. When models is
|
|
767
767
|
* present, omitted models.mode or models.ids are preserved (sending only
|
|
768
|
-
* optimizeFor does not clear the model allowlist or credit ceiling).
|
|
768
|
+
* optimizeFor does not clear the model allowlist or credit ceiling). Set
|
|
769
|
+
* maxCreditsPerGeneration, or one of its modalities, to null to remove those
|
|
770
|
+
* credit caps.
|
|
769
771
|
*/
|
|
770
772
|
settings?: RouterUpdateParams.Settings;
|
|
771
773
|
}
|
|
@@ -774,7 +776,9 @@ export namespace RouterUpdateParams {
|
|
|
774
776
|
/**
|
|
775
777
|
* Nested merge: omitted settings fields keep their current values. When models is
|
|
776
778
|
* present, omitted models.mode or models.ids are preserved (sending only
|
|
777
|
-
* optimizeFor does not clear the model allowlist or credit ceiling).
|
|
779
|
+
* optimizeFor does not clear the model allowlist or credit ceiling). Set
|
|
780
|
+
* maxCreditsPerGeneration, or one of its modalities, to null to remove those
|
|
781
|
+
* credit caps.
|
|
778
782
|
*/
|
|
779
783
|
export interface Settings {
|
|
780
784
|
/**
|
|
@@ -784,10 +788,10 @@ export namespace RouterUpdateParams {
|
|
|
784
788
|
fallback?: Settings.Fallback;
|
|
785
789
|
|
|
786
790
|
/**
|
|
787
|
-
*
|
|
788
|
-
*
|
|
791
|
+
* Per-modality credit caps to change, applied per generated output. Omitted
|
|
792
|
+
* modalities keep their current cap; null removes that cap.
|
|
789
793
|
*/
|
|
790
|
-
maxCreditsPerGeneration?: Settings.MaxCreditsPerGeneration;
|
|
794
|
+
maxCreditsPerGeneration?: Settings.MaxCreditsPerGeneration | null;
|
|
791
795
|
|
|
792
796
|
/**
|
|
793
797
|
* When mode is allow_new_except, ids are excluded; when allowlist_only, ids are
|
|
@@ -824,15 +828,15 @@ export namespace RouterUpdateParams {
|
|
|
824
828
|
}
|
|
825
829
|
|
|
826
830
|
/**
|
|
827
|
-
*
|
|
828
|
-
*
|
|
831
|
+
* Per-modality credit caps to change, applied per generated output. Omitted
|
|
832
|
+
* modalities keep their current cap; null removes that cap.
|
|
829
833
|
*/
|
|
830
834
|
export interface MaxCreditsPerGeneration {
|
|
831
|
-
audio?: number;
|
|
835
|
+
audio?: number | null;
|
|
832
836
|
|
|
833
|
-
image?: number;
|
|
837
|
+
image?: number | null;
|
|
834
838
|
|
|
835
|
-
video?: number;
|
|
839
|
+
video?: number | null;
|
|
836
840
|
}
|
|
837
841
|
|
|
838
842
|
/**
|
|
@@ -50,6 +50,7 @@ export namespace SoundEffectCreateResponse {
|
|
|
50
50
|
|
|
51
51
|
export type SoundEffectCreateParams =
|
|
52
52
|
| SoundEffectCreateParams.SeedAudio
|
|
53
|
+
| SoundEffectCreateParams.MireloSfx2_0
|
|
53
54
|
| SoundEffectCreateParams.ElevenTextToSoundV2;
|
|
54
55
|
|
|
55
56
|
export declare namespace SoundEffectCreateParams {
|
|
@@ -95,6 +96,40 @@ export declare namespace SoundEffectCreateParams {
|
|
|
95
96
|
speechRate?: number;
|
|
96
97
|
}
|
|
97
98
|
|
|
99
|
+
export interface MireloSfx2_0 {
|
|
100
|
+
/**
|
|
101
|
+
* The duration of the generated audio in seconds.
|
|
102
|
+
*/
|
|
103
|
+
duration: number;
|
|
104
|
+
|
|
105
|
+
model: 'mirelo_sfx_2_0';
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* A description of the sound effects to generate.
|
|
109
|
+
*/
|
|
110
|
+
promptText: string;
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* The format of the generated audio.
|
|
114
|
+
*/
|
|
115
|
+
format?: 'mp3' | 'wav' | 'flac';
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Sounds to avoid in the generated audio.
|
|
119
|
+
*/
|
|
120
|
+
negativePrompt?: string;
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* The number of audio variations to generate.
|
|
124
|
+
*/
|
|
125
|
+
numVariants?: number;
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* A seed for reproducible generation.
|
|
129
|
+
*/
|
|
130
|
+
seed?: number;
|
|
131
|
+
}
|
|
132
|
+
|
|
98
133
|
export interface ElevenTextToSoundV2 {
|
|
99
134
|
model: 'eleven_text_to_sound_v2';
|
|
100
135
|
|
package/src/resources/tasks.ts
CHANGED
|
@@ -26,6 +26,13 @@ export class Tasks extends APIResource {
|
|
|
26
26
|
* Tasks that are running, pending, or throttled can be canceled by invoking this
|
|
27
27
|
* method. Invoking this method for other tasks will delete them.
|
|
28
28
|
*
|
|
29
|
+
* Refund eligibility is based on the task status observed by the server during
|
|
30
|
+
* cancellation. If that check observes RUNNING, cancellation does not refund
|
|
31
|
+
* credits. Task execution can advance concurrently with cancellation, so neither a
|
|
32
|
+
* refund nor successful cancellation guarantees that generation stops. A prior GET
|
|
33
|
+
* response reporting PENDING or THROTTLED does not guarantee a refund. Deleting a
|
|
34
|
+
* completed task does not refund its charge.
|
|
35
|
+
*
|
|
29
36
|
* The output data associated with a deleted task will be deleted from persistent
|
|
30
37
|
* storage in accordance with our data retention policy. Aborted and deleted tasks
|
|
31
38
|
* will not be able to be fetched again in the future.
|