@deepraxis/sdk 0.1.1-dev.b3a6ca0 → 0.1.1-dev.b7ad2a3
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/METHODS.md +76 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +149 -5
- package/dist/generated/sdk.gen.js +460 -4
- package/dist/generated/types.gen.d.ts +2502 -1
- package/dist/operations.generated.d.ts +611 -5
- package/dist/operations.generated.js +746 -5
- package/dist/resources.generated.d.ts +76 -0
- package/dist/resources.generated.js +48 -0
- package/package.json +1 -1
|
@@ -11185,6 +11185,616 @@ export type CanvasExecuteResult = {
|
|
|
11185
11185
|
*/
|
|
11186
11186
|
viewer_url: string;
|
|
11187
11187
|
};
|
|
11188
|
+
/**
|
|
11189
|
+
* Organization-owned editing project; reuse its id for project operations.
|
|
11190
|
+
*/
|
|
11191
|
+
export type CutProject = {
|
|
11192
|
+
/**
|
|
11193
|
+
* Project id assigned by create; pass as project_id on subsequent requests.
|
|
11194
|
+
*/
|
|
11195
|
+
id: string;
|
|
11196
|
+
/**
|
|
11197
|
+
* Human-readable editing project name; not an API identifier.
|
|
11198
|
+
*/
|
|
11199
|
+
name: string;
|
|
11200
|
+
/**
|
|
11201
|
+
* Organization that owns the project and its editing history.
|
|
11202
|
+
*/
|
|
11203
|
+
owner: string;
|
|
11204
|
+
/**
|
|
11205
|
+
* User-defined string labels for organizing projects; label keys retain their original spelling.
|
|
11206
|
+
*/
|
|
11207
|
+
labels: {
|
|
11208
|
+
[key: string]: string;
|
|
11209
|
+
};
|
|
11210
|
+
/**
|
|
11211
|
+
* active projects can be edited; deleted projects are retained until purge_time and may be undeleted.
|
|
11212
|
+
*/
|
|
11213
|
+
state: 'active' | 'deleted';
|
|
11214
|
+
revision: CutRevision;
|
|
11215
|
+
/**
|
|
11216
|
+
* Rendering dimensions, frame rate and audio sample rate for this project.
|
|
11217
|
+
*/
|
|
11218
|
+
settings: CutSettings;
|
|
11219
|
+
/**
|
|
11220
|
+
* Named library bindings available to scripts, imports and exports.
|
|
11221
|
+
*/
|
|
11222
|
+
bindings: Array<CutBinding>;
|
|
11223
|
+
/**
|
|
11224
|
+
* ISO 8601 timestamp when this project was created.
|
|
11225
|
+
*/
|
|
11226
|
+
create_time: string;
|
|
11227
|
+
/**
|
|
11228
|
+
* ISO 8601 timestamp of the latest committed project update.
|
|
11229
|
+
*/
|
|
11230
|
+
update_time: string;
|
|
11231
|
+
/**
|
|
11232
|
+
* ISO 8601 deadline for permanent removal of a deleted project; absent for active projects.
|
|
11233
|
+
*/
|
|
11234
|
+
purge_time?: string;
|
|
11235
|
+
};
|
|
11236
|
+
/**
|
|
11237
|
+
* Create a blank project bound to the media libraries it may use.
|
|
11238
|
+
*/
|
|
11239
|
+
export type CutCreateProjectInput = {
|
|
11240
|
+
/**
|
|
11241
|
+
* Human-readable project name; required and must contain non-whitespace text.
|
|
11242
|
+
*/
|
|
11243
|
+
name: string;
|
|
11244
|
+
/**
|
|
11245
|
+
* User-defined string labels for organizing projects; label keys retain their original spelling.
|
|
11246
|
+
*/
|
|
11247
|
+
labels?: {
|
|
11248
|
+
[key: string]: string;
|
|
11249
|
+
};
|
|
11250
|
+
settings: CutSettingsInput;
|
|
11251
|
+
/**
|
|
11252
|
+
* Accessible library bindings; exactly one read_write entry must have default_upload true.
|
|
11253
|
+
*/
|
|
11254
|
+
bindings: Array<CutBinding>;
|
|
11255
|
+
};
|
|
11256
|
+
/**
|
|
11257
|
+
* One page of organization-accessible projects.
|
|
11258
|
+
*/
|
|
11259
|
+
export type CutProjectPage = {
|
|
11260
|
+
/**
|
|
11261
|
+
* Resources in this page; continue with next_page_token when present.
|
|
11262
|
+
*/
|
|
11263
|
+
projects: Array<CutProject>;
|
|
11264
|
+
/**
|
|
11265
|
+
* Opaque continuation token for page_token on the next request; absent when no more results remain.
|
|
11266
|
+
*/
|
|
11267
|
+
next_page_token?: string;
|
|
11268
|
+
};
|
|
11269
|
+
export type CutProjectDetail = CutProject & {
|
|
11270
|
+
/**
|
|
11271
|
+
* Complete second-based timeline, present when expand includes timeline.
|
|
11272
|
+
*/
|
|
11273
|
+
timeline?: CutTimeline;
|
|
11274
|
+
/**
|
|
11275
|
+
* Project exports, present when expand includes exports.
|
|
11276
|
+
*/
|
|
11277
|
+
exports?: Array<CutExport>;
|
|
11278
|
+
/**
|
|
11279
|
+
* Saved project versions, present when expand includes versions.
|
|
11280
|
+
*/
|
|
11281
|
+
versions?: Array<CutVersion>;
|
|
11282
|
+
};
|
|
11283
|
+
/**
|
|
11284
|
+
* Update only the named project metadata fields; timeline edits use execute.
|
|
11285
|
+
*/
|
|
11286
|
+
export type CutUpdateProjectInput = {
|
|
11287
|
+
/**
|
|
11288
|
+
* Replacement display name when update_mask includes name.
|
|
11289
|
+
*/
|
|
11290
|
+
name?: string;
|
|
11291
|
+
/**
|
|
11292
|
+
* User-defined string labels for organizing projects; label keys retain their original spelling.
|
|
11293
|
+
*/
|
|
11294
|
+
labels?: {
|
|
11295
|
+
[key: string]: string;
|
|
11296
|
+
};
|
|
11297
|
+
/**
|
|
11298
|
+
* Metadata fields to replace; name changes the display name and labels replaces all labels.
|
|
11299
|
+
*/
|
|
11300
|
+
update_mask: Array<'name' | 'labels'>;
|
|
11301
|
+
};
|
|
11302
|
+
/**
|
|
11303
|
+
* Committed revision and outputs from a successful synchronous editing script.
|
|
11304
|
+
*/
|
|
11305
|
+
export type CutExecuteResult = {
|
|
11306
|
+
revision: CutRevision;
|
|
11307
|
+
/**
|
|
11308
|
+
* Committed edit counts and second-based duration changes.
|
|
11309
|
+
*/
|
|
11310
|
+
summary: CutSummary;
|
|
11311
|
+
/**
|
|
11312
|
+
* Script result names mapped to newly created clip or track ids; keys retain their original spelling.
|
|
11313
|
+
*/
|
|
11314
|
+
created: {
|
|
11315
|
+
[key: string]: string;
|
|
11316
|
+
};
|
|
11317
|
+
/**
|
|
11318
|
+
* String output from Print calls in execution order.
|
|
11319
|
+
*/
|
|
11320
|
+
prints: Array<string>;
|
|
11321
|
+
/**
|
|
11322
|
+
* Non-fatal issues to inspect after the edit committed.
|
|
11323
|
+
*/
|
|
11324
|
+
warnings: Array<{
|
|
11325
|
+
/**
|
|
11326
|
+
* Machine-readable warning category used to select a follow-up check.
|
|
11327
|
+
*/
|
|
11328
|
+
code: string;
|
|
11329
|
+
/**
|
|
11330
|
+
* Affected clip identifier; use GetItem or inspect the timeline.
|
|
11331
|
+
*/
|
|
11332
|
+
clip_id?: string;
|
|
11333
|
+
/**
|
|
11334
|
+
* Human-readable explanation of the warning.
|
|
11335
|
+
*/
|
|
11336
|
+
message: string;
|
|
11337
|
+
}>;
|
|
11338
|
+
/**
|
|
11339
|
+
* Optional rendered previews keyed by requested time in seconds.
|
|
11340
|
+
*/
|
|
11341
|
+
frames?: {
|
|
11342
|
+
[key: string]: CutRenderRef;
|
|
11343
|
+
};
|
|
11344
|
+
};
|
|
11345
|
+
export type CutExecuteInput = unknown & {
|
|
11346
|
+
/**
|
|
11347
|
+
* Synchronous editing source using Cut execute functions; submit this or edit_id, never both. Script source is opaque: function names and object fields inside JavaScript use their documented camelCase spelling.
|
|
11348
|
+
*/
|
|
11349
|
+
script?: string;
|
|
11350
|
+
/**
|
|
11351
|
+
* Saved failed script identifier from error.details.edit_id; valid for ten minutes.
|
|
11352
|
+
*/
|
|
11353
|
+
edit_id?: string;
|
|
11354
|
+
/**
|
|
11355
|
+
* Literal replacements applied to the saved source before rerunning.
|
|
11356
|
+
*/
|
|
11357
|
+
edits?: Array<{
|
|
11358
|
+
/**
|
|
11359
|
+
* Literal source text to locate in the saved script.
|
|
11360
|
+
*/
|
|
11361
|
+
find: string;
|
|
11362
|
+
/**
|
|
11363
|
+
* Replacement source text; passed to the script without renaming fields.
|
|
11364
|
+
*/
|
|
11365
|
+
replace: string;
|
|
11366
|
+
/**
|
|
11367
|
+
* True replaces every occurrence; false or omission requires exactly one match.
|
|
11368
|
+
*/
|
|
11369
|
+
all?: boolean;
|
|
11370
|
+
}>;
|
|
11371
|
+
expected_revision?: CutRevision;
|
|
11372
|
+
};
|
|
11373
|
+
/**
|
|
11374
|
+
* Lightweight editing context before preparing a script.
|
|
11375
|
+
*/
|
|
11376
|
+
export type CutState = {
|
|
11377
|
+
revision: CutRevision;
|
|
11378
|
+
/**
|
|
11379
|
+
* Current rendering settings for the project.
|
|
11380
|
+
*/
|
|
11381
|
+
settings: CutSettings;
|
|
11382
|
+
/**
|
|
11383
|
+
* Current project duration. In seconds, not frames or microseconds.
|
|
11384
|
+
*/
|
|
11385
|
+
duration_sec: number;
|
|
11386
|
+
/**
|
|
11387
|
+
* Track summaries and clip counts.
|
|
11388
|
+
*/
|
|
11389
|
+
tracks: Array<CutTrackSummary>;
|
|
11390
|
+
/**
|
|
11391
|
+
* Libraries currently available to the project.
|
|
11392
|
+
*/
|
|
11393
|
+
bindings: Array<CutBinding>;
|
|
11394
|
+
/**
|
|
11395
|
+
* Number of clips with unavailable media requiring attention.
|
|
11396
|
+
*/
|
|
11397
|
+
offline_count: number;
|
|
11398
|
+
};
|
|
11399
|
+
export type CutTimelineResult = {
|
|
11400
|
+
revision: CutRevision;
|
|
11401
|
+
/**
|
|
11402
|
+
* full returns the structured timeline.
|
|
11403
|
+
*/
|
|
11404
|
+
view: 'full';
|
|
11405
|
+
timeline: CutTimeline;
|
|
11406
|
+
} | {
|
|
11407
|
+
revision: CutRevision;
|
|
11408
|
+
/**
|
|
11409
|
+
* compact returns human-readable editing context.
|
|
11410
|
+
*/
|
|
11411
|
+
view: 'compact';
|
|
11412
|
+
/**
|
|
11413
|
+
* Compact timeline description with second-based positions, suitable as context for an editing script.
|
|
11414
|
+
*/
|
|
11415
|
+
text: string;
|
|
11416
|
+
};
|
|
11417
|
+
/**
|
|
11418
|
+
* Rendered images from one project revision.
|
|
11419
|
+
*/
|
|
11420
|
+
export type CutFramesResult = {
|
|
11421
|
+
revision: CutRevision;
|
|
11422
|
+
/**
|
|
11423
|
+
* Requested times in seconds mapped to rendered images; keys retain their numeric spelling.
|
|
11424
|
+
*/
|
|
11425
|
+
images: {
|
|
11426
|
+
[key: string]: CutRenderRef;
|
|
11427
|
+
};
|
|
11428
|
+
};
|
|
11429
|
+
/**
|
|
11430
|
+
* Analysis status and available ranges for each source asset and kind.
|
|
11431
|
+
*/
|
|
11432
|
+
export type CutAnalysisResult = {
|
|
11433
|
+
/**
|
|
11434
|
+
* Per-asset analysis outcomes.
|
|
11435
|
+
*/
|
|
11436
|
+
results: Array<{
|
|
11437
|
+
media: CutMediaRef;
|
|
11438
|
+
/**
|
|
11439
|
+
* Source asset version analyzed; changes when that asset is overwritten.
|
|
11440
|
+
*/
|
|
11441
|
+
version: number;
|
|
11442
|
+
/**
|
|
11443
|
+
* silence identifies quiet spans; filler identifies filler-word spans; scenes identifies scene ranges.
|
|
11444
|
+
*/
|
|
11445
|
+
kind: 'silence' | 'filler' | 'scenes';
|
|
11446
|
+
/**
|
|
11447
|
+
* pending means analysis is still running; ready means segments are available; unsupported means this asset or analysis kind is inapplicable; failed means analysis did not complete.
|
|
11448
|
+
*/
|
|
11449
|
+
status: 'pending' | 'ready' | 'unsupported' | 'failed';
|
|
11450
|
+
/**
|
|
11451
|
+
* Detected source ranges in seconds, available when status is ready.
|
|
11452
|
+
*/
|
|
11453
|
+
segments?: Array<{
|
|
11454
|
+
/**
|
|
11455
|
+
* Inclusive source range start. In seconds, not frames or microseconds.
|
|
11456
|
+
*/
|
|
11457
|
+
from: number;
|
|
11458
|
+
/**
|
|
11459
|
+
* Source range end. In seconds, not frames or microseconds.
|
|
11460
|
+
*/
|
|
11461
|
+
to: number;
|
|
11462
|
+
/**
|
|
11463
|
+
* Optional human-readable classification for this range.
|
|
11464
|
+
*/
|
|
11465
|
+
label?: string;
|
|
11466
|
+
/**
|
|
11467
|
+
* Optional confidence score for this detection.
|
|
11468
|
+
*/
|
|
11469
|
+
confidence?: number;
|
|
11470
|
+
}>;
|
|
11471
|
+
/**
|
|
11472
|
+
* Suggested delay before checking a pending analysis again. In seconds, not frames or microseconds.
|
|
11473
|
+
*/
|
|
11474
|
+
retry_after_sec?: number;
|
|
11475
|
+
}>;
|
|
11476
|
+
};
|
|
11477
|
+
/**
|
|
11478
|
+
* Select analysis kinds and optionally limit source assets.
|
|
11479
|
+
*/
|
|
11480
|
+
export type CutAnalysisInput = {
|
|
11481
|
+
/**
|
|
11482
|
+
* Bound-library assets to analyze; omission selects project media.
|
|
11483
|
+
*/
|
|
11484
|
+
media?: Array<CutMediaRef>;
|
|
11485
|
+
/**
|
|
11486
|
+
* Analysis types to request for the selected source assets.
|
|
11487
|
+
*/
|
|
11488
|
+
kinds: Array<'silence' | 'filler' | 'scenes'>;
|
|
11489
|
+
};
|
|
11490
|
+
/**
|
|
11491
|
+
* Current project media library bindings.
|
|
11492
|
+
*/
|
|
11493
|
+
export type CutBindingsResult = {
|
|
11494
|
+
/**
|
|
11495
|
+
* Named libraries available to scripts and media operations.
|
|
11496
|
+
*/
|
|
11497
|
+
bindings: Array<CutBinding>;
|
|
11498
|
+
};
|
|
11499
|
+
/**
|
|
11500
|
+
* A named project link to a media library. Exactly one read_write binding must be default_upload.
|
|
11501
|
+
*/
|
|
11502
|
+
export type CutBinding = {
|
|
11503
|
+
/**
|
|
11504
|
+
* Unique binding alias used in imports and exports; begins with a lowercase letter.
|
|
11505
|
+
*/
|
|
11506
|
+
name: string;
|
|
11507
|
+
/**
|
|
11508
|
+
* Media library id from praxis.media.libraries.create or list; must be accessible to this organization.
|
|
11509
|
+
*/
|
|
11510
|
+
library_id: string;
|
|
11511
|
+
/**
|
|
11512
|
+
* read permits using library assets; read_write also permits imports and exports into the library.
|
|
11513
|
+
*/
|
|
11514
|
+
access: 'read' | 'read_write';
|
|
11515
|
+
/**
|
|
11516
|
+
* True selects the one read_write library used when an import or export omits binding.
|
|
11517
|
+
*/
|
|
11518
|
+
default_upload: boolean;
|
|
11519
|
+
};
|
|
11520
|
+
/**
|
|
11521
|
+
* Attach a media library using a project-local name.
|
|
11522
|
+
*/
|
|
11523
|
+
export type CutBindingInput = {
|
|
11524
|
+
binding: CutBinding;
|
|
11525
|
+
};
|
|
11526
|
+
/**
|
|
11527
|
+
* Confirmation that the unused binding was detached.
|
|
11528
|
+
*/
|
|
11529
|
+
export type CutDeletedBinding = {
|
|
11530
|
+
/**
|
|
11531
|
+
* Always true after the requested binding has been removed.
|
|
11532
|
+
*/
|
|
11533
|
+
deleted: boolean;
|
|
11534
|
+
};
|
|
11535
|
+
export type CutImportedMedia = CutMediaRef & {
|
|
11536
|
+
/**
|
|
11537
|
+
* Source media facts returned after import.
|
|
11538
|
+
*/
|
|
11539
|
+
info: {
|
|
11540
|
+
/**
|
|
11541
|
+
* Destination library containing the imported asset.
|
|
11542
|
+
*/
|
|
11543
|
+
library_id: string;
|
|
11544
|
+
/**
|
|
11545
|
+
* New asset identifier to use in execute script MediaRef objects.
|
|
11546
|
+
*/
|
|
11547
|
+
asset_id: string;
|
|
11548
|
+
/**
|
|
11549
|
+
* Current source asset version after import.
|
|
11550
|
+
*/
|
|
11551
|
+
version: number;
|
|
11552
|
+
/**
|
|
11553
|
+
* video is moving footage; audio is sound-only; image is a still visual.
|
|
11554
|
+
*/
|
|
11555
|
+
kind: 'video' | 'audio' | 'image';
|
|
11556
|
+
/**
|
|
11557
|
+
* Source media duration, when time-based. In seconds, not frames or microseconds.
|
|
11558
|
+
*/
|
|
11559
|
+
duration_sec?: number;
|
|
11560
|
+
/**
|
|
11561
|
+
* Source visual width in pixels, if available.
|
|
11562
|
+
*/
|
|
11563
|
+
width?: number;
|
|
11564
|
+
/**
|
|
11565
|
+
* Source visual height in pixels, if available.
|
|
11566
|
+
*/
|
|
11567
|
+
height?: number;
|
|
11568
|
+
/**
|
|
11569
|
+
* Source frames per second, if the source is video.
|
|
11570
|
+
*/
|
|
11571
|
+
fps?: number;
|
|
11572
|
+
/**
|
|
11573
|
+
* True when the source includes an audio stream.
|
|
11574
|
+
*/
|
|
11575
|
+
has_audio: boolean;
|
|
11576
|
+
};
|
|
11577
|
+
};
|
|
11578
|
+
/**
|
|
11579
|
+
* Import one external asset into a writable project library.
|
|
11580
|
+
*/
|
|
11581
|
+
export type CutMediaImportInput = {
|
|
11582
|
+
/**
|
|
11583
|
+
* Writable binding name from project bindings; omission uses default_upload.
|
|
11584
|
+
*/
|
|
11585
|
+
binding?: string;
|
|
11586
|
+
source: unknown & {
|
|
11587
|
+
/**
|
|
11588
|
+
* Publicly readable source URL to import.
|
|
11589
|
+
*/
|
|
11590
|
+
url?: string;
|
|
11591
|
+
/**
|
|
11592
|
+
* Inline data URI containing the source bytes.
|
|
11593
|
+
*/
|
|
11594
|
+
data_uri?: string;
|
|
11595
|
+
/**
|
|
11596
|
+
* Existing platform file id whose bytes should be imported.
|
|
11597
|
+
*/
|
|
11598
|
+
file_id?: string;
|
|
11599
|
+
};
|
|
11600
|
+
/**
|
|
11601
|
+
* Optional human-readable display name for the new media asset.
|
|
11602
|
+
*/
|
|
11603
|
+
display_name?: string;
|
|
11604
|
+
};
|
|
11605
|
+
/**
|
|
11606
|
+
* Asynchronous rendering job; retrieve by id until it reaches a terminal state.
|
|
11607
|
+
*/
|
|
11608
|
+
export type CutExport = {
|
|
11609
|
+
/**
|
|
11610
|
+
* Export id returned by create; use as export_id for retrieve or cancel.
|
|
11611
|
+
*/
|
|
11612
|
+
id: string;
|
|
11613
|
+
/**
|
|
11614
|
+
* Project id whose timeline is being exported.
|
|
11615
|
+
*/
|
|
11616
|
+
project_id: string;
|
|
11617
|
+
/**
|
|
11618
|
+
* Organization that owns this export job.
|
|
11619
|
+
*/
|
|
11620
|
+
owner: string;
|
|
11621
|
+
revision: CutRevision;
|
|
11622
|
+
/**
|
|
11623
|
+
* queued awaits capacity; fetching loads sources; rendering renders chunks; stitching joins chunks; saving writes the asset; done means output is ready; failed means inspect error; canceled means no further output is expected.
|
|
11624
|
+
*/
|
|
11625
|
+
status: 'queued' | 'fetching' | 'rendering' | 'stitching' | 'saving' | 'done' | 'failed' | 'canceled';
|
|
11626
|
+
/**
|
|
11627
|
+
* Effective video rendering options for this job.
|
|
11628
|
+
*/
|
|
11629
|
+
output: CutExportOutput;
|
|
11630
|
+
/**
|
|
11631
|
+
* Bound library receiving the completed export.
|
|
11632
|
+
*/
|
|
11633
|
+
target: {
|
|
11634
|
+
/**
|
|
11635
|
+
* Project binding alias chosen for the output.
|
|
11636
|
+
*/
|
|
11637
|
+
binding: string;
|
|
11638
|
+
/**
|
|
11639
|
+
* Destination media library identifier.
|
|
11640
|
+
*/
|
|
11641
|
+
library_id: string;
|
|
11642
|
+
};
|
|
11643
|
+
/**
|
|
11644
|
+
* Rendering progress; partial progress is not successful completion.
|
|
11645
|
+
*/
|
|
11646
|
+
progress: {
|
|
11647
|
+
/**
|
|
11648
|
+
* Number of render work units completed.
|
|
11649
|
+
*/
|
|
11650
|
+
done: number;
|
|
11651
|
+
/**
|
|
11652
|
+
* Total render work units planned.
|
|
11653
|
+
*/
|
|
11654
|
+
total: number;
|
|
11655
|
+
/**
|
|
11656
|
+
* pending means audio processing has not finished; done means audio is ready.
|
|
11657
|
+
*/
|
|
11658
|
+
audio: 'pending' | 'done';
|
|
11659
|
+
};
|
|
11660
|
+
/**
|
|
11661
|
+
* Output media reference, available after the export reaches done.
|
|
11662
|
+
*/
|
|
11663
|
+
asset?: CutMediaRef;
|
|
11664
|
+
/**
|
|
11665
|
+
* Failure information, present when the export failed.
|
|
11666
|
+
*/
|
|
11667
|
+
error?: {
|
|
11668
|
+
/**
|
|
11669
|
+
* Machine-readable failure code used to choose a recovery action.
|
|
11670
|
+
*/
|
|
11671
|
+
code: string;
|
|
11672
|
+
/**
|
|
11673
|
+
* Human-readable explanation of the export failure.
|
|
11674
|
+
*/
|
|
11675
|
+
message: string;
|
|
11676
|
+
/**
|
|
11677
|
+
* Optional index of the failed render chunk.
|
|
11678
|
+
*/
|
|
11679
|
+
chunk?: number;
|
|
11680
|
+
/**
|
|
11681
|
+
* Optional lower-level explanation of the render failure.
|
|
11682
|
+
*/
|
|
11683
|
+
cause?: string;
|
|
11684
|
+
};
|
|
11685
|
+
/**
|
|
11686
|
+
* ISO 8601 timestamp when this export was accepted.
|
|
11687
|
+
*/
|
|
11688
|
+
create_time: string;
|
|
11689
|
+
/**
|
|
11690
|
+
* ISO 8601 timestamp when this export reached a terminal state.
|
|
11691
|
+
*/
|
|
11692
|
+
finish_time?: string;
|
|
11693
|
+
/**
|
|
11694
|
+
* Elapsed wall-clock rendering time in milliseconds, when available.
|
|
11695
|
+
*/
|
|
11696
|
+
wall_ms?: number;
|
|
11697
|
+
};
|
|
11698
|
+
/**
|
|
11699
|
+
* Start an export from a project revision into a bound library.
|
|
11700
|
+
*/
|
|
11701
|
+
export type CutExportInput = {
|
|
11702
|
+
/**
|
|
11703
|
+
* Optional render settings; omitted fields use the project export defaults.
|
|
11704
|
+
*/
|
|
11705
|
+
output?: CutExportOutput;
|
|
11706
|
+
/**
|
|
11707
|
+
* Writable binding name used as the export destination; omission uses default_upload.
|
|
11708
|
+
*/
|
|
11709
|
+
binding?: string;
|
|
11710
|
+
revision?: CutRevision;
|
|
11711
|
+
};
|
|
11712
|
+
/**
|
|
11713
|
+
* One page of organization-accessible exports.
|
|
11714
|
+
*/
|
|
11715
|
+
export type CutExportPage = {
|
|
11716
|
+
/**
|
|
11717
|
+
* Resources in this page; continue with next_page_token when present.
|
|
11718
|
+
*/
|
|
11719
|
+
exports: Array<CutExport>;
|
|
11720
|
+
/**
|
|
11721
|
+
* Opaque continuation token for page_token on the next request; absent when no more results remain.
|
|
11722
|
+
*/
|
|
11723
|
+
next_page_token?: string;
|
|
11724
|
+
};
|
|
11725
|
+
/**
|
|
11726
|
+
* One page of organization-accessible versions.
|
|
11727
|
+
*/
|
|
11728
|
+
export type CutVersionPage = {
|
|
11729
|
+
/**
|
|
11730
|
+
* Resources in this page; continue with next_page_token when present.
|
|
11731
|
+
*/
|
|
11732
|
+
versions: Array<CutVersion>;
|
|
11733
|
+
/**
|
|
11734
|
+
* Opaque continuation token for page_token on the next request; absent when no more results remain.
|
|
11735
|
+
*/
|
|
11736
|
+
next_page_token?: string;
|
|
11737
|
+
};
|
|
11738
|
+
/**
|
|
11739
|
+
* Saved project snapshot; restore its id to create a new current revision.
|
|
11740
|
+
*/
|
|
11741
|
+
export type CutVersion = {
|
|
11742
|
+
/**
|
|
11743
|
+
* Version id returned by versions.create or list; pass as version_id to restore.
|
|
11744
|
+
*/
|
|
11745
|
+
id: string;
|
|
11746
|
+
/**
|
|
11747
|
+
* Identifier of the project this version belongs to.
|
|
11748
|
+
*/
|
|
11749
|
+
project_id: string;
|
|
11750
|
+
revision: CutRevision;
|
|
11751
|
+
/**
|
|
11752
|
+
* Optional human-readable label supplied when saving this version.
|
|
11753
|
+
*/
|
|
11754
|
+
label?: string;
|
|
11755
|
+
/**
|
|
11756
|
+
* ISO 8601 timestamp when this version was saved.
|
|
11757
|
+
*/
|
|
11758
|
+
create_time: string;
|
|
11759
|
+
/**
|
|
11760
|
+
* Creator identity recorded as human:<user-id> or agent:<user-id>.
|
|
11761
|
+
*/
|
|
11762
|
+
actor: string;
|
|
11763
|
+
};
|
|
11764
|
+
/**
|
|
11765
|
+
* Save the current project revision with an optional label.
|
|
11766
|
+
*/
|
|
11767
|
+
export type CutVersionInput = {
|
|
11768
|
+
/**
|
|
11769
|
+
* Human-readable snapshot label, such as Before captions.
|
|
11770
|
+
*/
|
|
11771
|
+
label?: string;
|
|
11772
|
+
};
|
|
11773
|
+
/**
|
|
11774
|
+
* Committed transaction produced by restoring a saved version.
|
|
11775
|
+
*/
|
|
11776
|
+
export type CutTransaction = {
|
|
11777
|
+
revision: CutRevision;
|
|
11778
|
+
/**
|
|
11779
|
+
* Identity that restored the version, as human:<id> or agent:<id>.
|
|
11780
|
+
*/
|
|
11781
|
+
actor: string;
|
|
11782
|
+
/**
|
|
11783
|
+
* Applied operation records; time values are seconds and other fields depend on op.
|
|
11784
|
+
*/
|
|
11785
|
+
ops: Array<{
|
|
11786
|
+
/**
|
|
11787
|
+
* Operation name such as insert, update, delete, split, trim, move, track_add or settings_update.
|
|
11788
|
+
*/
|
|
11789
|
+
op: string;
|
|
11790
|
+
[key: string]: unknown;
|
|
11791
|
+
}>;
|
|
11792
|
+
summary: CutSummary;
|
|
11793
|
+
/**
|
|
11794
|
+
* ISO 8601 timestamp when this transaction committed.
|
|
11795
|
+
*/
|
|
11796
|
+
time: string;
|
|
11797
|
+
};
|
|
11188
11798
|
export type DatabaseCreateDatabaseInput = {
|
|
11189
11799
|
/**
|
|
11190
11800
|
* Display name for the database: 1–64 visible characters after trimming; control characters are rejected. It is not an identifier, so later calls still use the returned id.
|
|
@@ -21921,6 +22531,259 @@ export type CanvasFrame = {
|
|
|
21921
22531
|
export type CanvasPenNode = {
|
|
21922
22532
|
[key: string]: unknown;
|
|
21923
22533
|
};
|
|
22534
|
+
/**
|
|
22535
|
+
* Committed project revision from retrieve, state, timeline or execute; increases after each successful write.
|
|
22536
|
+
*/
|
|
22537
|
+
export type CutRevision = number;
|
|
22538
|
+
/**
|
|
22539
|
+
* Current project rendering settings, including the normalized rational frame rate.
|
|
22540
|
+
*/
|
|
22541
|
+
export type CutSettings = {
|
|
22542
|
+
/**
|
|
22543
|
+
* Output width in pixels; even integer between 16 and 4096.
|
|
22544
|
+
*/
|
|
22545
|
+
width: number;
|
|
22546
|
+
/**
|
|
22547
|
+
* Output height in pixels; even integer between 16 and 4096.
|
|
22548
|
+
*/
|
|
22549
|
+
height: number;
|
|
22550
|
+
/**
|
|
22551
|
+
* Exact frames-per-second fraction used to snap second-based edits to project frames.
|
|
22552
|
+
*/
|
|
22553
|
+
fps: CutFrameRate;
|
|
22554
|
+
/**
|
|
22555
|
+
* Background color as #RRGGBB or #RRGGBBAA; omission uses black.
|
|
22556
|
+
*/
|
|
22557
|
+
background: string;
|
|
22558
|
+
/**
|
|
22559
|
+
* Project audio sample rate in hertz; fixed at 48000.
|
|
22560
|
+
*/
|
|
22561
|
+
sample_rate: 48000;
|
|
22562
|
+
};
|
|
22563
|
+
/**
|
|
22564
|
+
* Failure envelope returned with a non-success HTTP status.
|
|
22565
|
+
*/
|
|
22566
|
+
export type CutCutError = {
|
|
22567
|
+
/**
|
|
22568
|
+
* Domain failure and optional recovery context.
|
|
22569
|
+
*/
|
|
22570
|
+
error: {
|
|
22571
|
+
/**
|
|
22572
|
+
* Machine-readable Cut error code; use the operation status description to choose recovery.
|
|
22573
|
+
*/
|
|
22574
|
+
code: string;
|
|
22575
|
+
/**
|
|
22576
|
+
* Human-readable explanation of the failed request.
|
|
22577
|
+
*/
|
|
22578
|
+
message: string;
|
|
22579
|
+
/**
|
|
22580
|
+
* Error-specific context; script failures may include an edit_id for a source-patch retry.
|
|
22581
|
+
*/
|
|
22582
|
+
details?: {
|
|
22583
|
+
/**
|
|
22584
|
+
* Saved failed script id; use with edits within ten minutes.
|
|
22585
|
+
*/
|
|
22586
|
+
edit_id?: string;
|
|
22587
|
+
/**
|
|
22588
|
+
* Committed project revision from retrieve, state, timeline or execute; increases after each successful write.
|
|
22589
|
+
*/
|
|
22590
|
+
revision?: number;
|
|
22591
|
+
/**
|
|
22592
|
+
* Optional source line where script evaluation failed.
|
|
22593
|
+
*/
|
|
22594
|
+
line?: number;
|
|
22595
|
+
/**
|
|
22596
|
+
* Optional source column where script evaluation failed.
|
|
22597
|
+
*/
|
|
22598
|
+
column?: number;
|
|
22599
|
+
/**
|
|
22600
|
+
* Number of timeline references preventing the requested binding removal.
|
|
22601
|
+
*/
|
|
22602
|
+
references?: number;
|
|
22603
|
+
/**
|
|
22604
|
+
* Rejected editing operations; the whole transaction was rolled back.
|
|
22605
|
+
*/
|
|
22606
|
+
rejections?: Array<{
|
|
22607
|
+
/**
|
|
22608
|
+
* Zero-based index of the rejected operation in the transaction.
|
|
22609
|
+
*/
|
|
22610
|
+
op_index: number;
|
|
22611
|
+
/**
|
|
22612
|
+
* Machine-readable rejection cause, such as LOCKED_TRACK or OUT_OF_SOURCE.
|
|
22613
|
+
*/
|
|
22614
|
+
code: string;
|
|
22615
|
+
/**
|
|
22616
|
+
* Human-readable explanation of the rejected operation.
|
|
22617
|
+
*/
|
|
22618
|
+
message: string;
|
|
22619
|
+
}>;
|
|
22620
|
+
[key: string]: unknown;
|
|
22621
|
+
};
|
|
22622
|
+
};
|
|
22623
|
+
};
|
|
22624
|
+
/**
|
|
22625
|
+
* Dimensions and frame rate for a new editing project.
|
|
22626
|
+
*/
|
|
22627
|
+
export type CutSettingsInput = {
|
|
22628
|
+
/**
|
|
22629
|
+
* Output width in pixels; even integer between 16 and 4096.
|
|
22630
|
+
*/
|
|
22631
|
+
width: number;
|
|
22632
|
+
/**
|
|
22633
|
+
* Output height in pixels; even integer between 16 and 4096.
|
|
22634
|
+
*/
|
|
22635
|
+
height: number;
|
|
22636
|
+
/**
|
|
22637
|
+
* Project frames per second, as a positive number or an exact num/den fraction.
|
|
22638
|
+
*/
|
|
22639
|
+
fps: number | CutFrameRate;
|
|
22640
|
+
/**
|
|
22641
|
+
* Background color as #RRGGBB or #RRGGBBAA; omission uses black.
|
|
22642
|
+
*/
|
|
22643
|
+
background?: string;
|
|
22644
|
+
};
|
|
22645
|
+
/**
|
|
22646
|
+
* Full timeline at one revision; positions and lengths are seconds.
|
|
22647
|
+
*/
|
|
22648
|
+
export type CutTimeline = {
|
|
22649
|
+
/**
|
|
22650
|
+
* Total duration derived from the latest clip end. In seconds, not frames or microseconds.
|
|
22651
|
+
*/
|
|
22652
|
+
duration: number;
|
|
22653
|
+
/**
|
|
22654
|
+
* Ordered tracks, topmost visual layer first.
|
|
22655
|
+
*/
|
|
22656
|
+
tracks: Array<CutTrack>;
|
|
22657
|
+
/**
|
|
22658
|
+
* Named points on the timeline.
|
|
22659
|
+
*/
|
|
22660
|
+
markers: Array<CutMarker>;
|
|
22661
|
+
};
|
|
22662
|
+
/**
|
|
22663
|
+
* Counts and duration changes committed by an editing transaction.
|
|
22664
|
+
*/
|
|
22665
|
+
export type CutSummary = {
|
|
22666
|
+
/**
|
|
22667
|
+
* Number of clips added by the transaction.
|
|
22668
|
+
*/
|
|
22669
|
+
added: number;
|
|
22670
|
+
/**
|
|
22671
|
+
* Number of clips removed by the transaction.
|
|
22672
|
+
*/
|
|
22673
|
+
removed: number;
|
|
22674
|
+
/**
|
|
22675
|
+
* Number of clips changed by the transaction.
|
|
22676
|
+
*/
|
|
22677
|
+
modified: number;
|
|
22678
|
+
/**
|
|
22679
|
+
* Project duration before the transaction. In seconds, not frames or microseconds.
|
|
22680
|
+
*/
|
|
22681
|
+
duration_before: number;
|
|
22682
|
+
/**
|
|
22683
|
+
* Project duration after the transaction. In seconds, not frames or microseconds.
|
|
22684
|
+
*/
|
|
22685
|
+
duration_after: number;
|
|
22686
|
+
/**
|
|
22687
|
+
* Human-readable descriptions of the committed edits.
|
|
22688
|
+
*/
|
|
22689
|
+
lines: Array<string>;
|
|
22690
|
+
};
|
|
22691
|
+
/**
|
|
22692
|
+
* Rendered image available until its signed URL expires.
|
|
22693
|
+
*/
|
|
22694
|
+
export type CutRenderRef = {
|
|
22695
|
+
/**
|
|
22696
|
+
* Fetchable image URL for this render result.
|
|
22697
|
+
*/
|
|
22698
|
+
url: string;
|
|
22699
|
+
/**
|
|
22700
|
+
* Rendered image width in pixels.
|
|
22701
|
+
*/
|
|
22702
|
+
width: number;
|
|
22703
|
+
/**
|
|
22704
|
+
* Rendered image height in pixels.
|
|
22705
|
+
*/
|
|
22706
|
+
height: number;
|
|
22707
|
+
/**
|
|
22708
|
+
* ISO 8601 timestamp after which the image URL must be refreshed.
|
|
22709
|
+
*/
|
|
22710
|
+
expires_at: string;
|
|
22711
|
+
};
|
|
22712
|
+
/**
|
|
22713
|
+
* Compact track metadata without individual clip documents.
|
|
22714
|
+
*/
|
|
22715
|
+
export type CutTrackSummary = {
|
|
22716
|
+
/**
|
|
22717
|
+
* Track id created by AddTrack; reuse in Insert, UpdateTrack or DeleteTrack.
|
|
22718
|
+
*/
|
|
22719
|
+
id: string;
|
|
22720
|
+
/**
|
|
22721
|
+
* Human-readable track name chosen by the editing script.
|
|
22722
|
+
*/
|
|
22723
|
+
name: string;
|
|
22724
|
+
/**
|
|
22725
|
+
* video contains visual clips; audio contains sound clips; caption contains timed text.
|
|
22726
|
+
*/
|
|
22727
|
+
kind: 'video' | 'audio' | 'caption';
|
|
22728
|
+
/**
|
|
22729
|
+
* True prevents editing clips on this track.
|
|
22730
|
+
*/
|
|
22731
|
+
locked: boolean;
|
|
22732
|
+
/**
|
|
22733
|
+
* True hides a visual or caption track from the rendered output.
|
|
22734
|
+
*/
|
|
22735
|
+
hidden?: boolean;
|
|
22736
|
+
/**
|
|
22737
|
+
* True silences an audio track.
|
|
22738
|
+
*/
|
|
22739
|
+
muted?: boolean;
|
|
22740
|
+
/**
|
|
22741
|
+
* Zero-based layer order; zero is topmost.
|
|
22742
|
+
*/
|
|
22743
|
+
index: number;
|
|
22744
|
+
/**
|
|
22745
|
+
* Number of clips on this track.
|
|
22746
|
+
*/
|
|
22747
|
+
items: number;
|
|
22748
|
+
};
|
|
22749
|
+
/**
|
|
22750
|
+
* Reference to an asset in a bound library; follows asset overwrites to the latest version rather than pinning a version.
|
|
22751
|
+
*/
|
|
22752
|
+
export type CutMediaRef = {
|
|
22753
|
+
/**
|
|
22754
|
+
* Identifier of a library present in the project bindings.
|
|
22755
|
+
*/
|
|
22756
|
+
library_id: string;
|
|
22757
|
+
/**
|
|
22758
|
+
* Asset identifier returned by media import or praxis.media asset operations.
|
|
22759
|
+
*/
|
|
22760
|
+
asset_id: string;
|
|
22761
|
+
};
|
|
22762
|
+
/**
|
|
22763
|
+
* Rendering options for an exported video.
|
|
22764
|
+
*/
|
|
22765
|
+
export type CutExportOutput = {
|
|
22766
|
+
/**
|
|
22767
|
+
* mp4 produces an MPEG-4 video file.
|
|
22768
|
+
*/
|
|
22769
|
+
format?: 'mp4';
|
|
22770
|
+
/**
|
|
22771
|
+
* Output video width in pixels.
|
|
22772
|
+
*/
|
|
22773
|
+
width?: number;
|
|
22774
|
+
/**
|
|
22775
|
+
* Output video height in pixels.
|
|
22776
|
+
*/
|
|
22777
|
+
height?: number;
|
|
22778
|
+
/**
|
|
22779
|
+
* Output frames per second.
|
|
22780
|
+
*/
|
|
22781
|
+
fps?: number;
|
|
22782
|
+
/**
|
|
22783
|
+
* draft favors faster review renders; high favors final delivery quality.
|
|
22784
|
+
*/
|
|
22785
|
+
quality?: 'draft' | 'high';
|
|
22786
|
+
};
|
|
21924
22787
|
export type DatabaseField = {
|
|
21925
22788
|
/**
|
|
21926
22789
|
* Field identifier, prefixed fld_. Stable across renames; accepted wherever a field path parameter takes an id or name.
|
|
@@ -26813,6 +27676,77 @@ export type AutomationHumanTaskActor = {
|
|
|
26813
27676
|
*/
|
|
26814
27677
|
display_name: string | null;
|
|
26815
27678
|
};
|
|
27679
|
+
/**
|
|
27680
|
+
* Exact project frame rate; num divided by den gives frames per second.
|
|
27681
|
+
*/
|
|
27682
|
+
export type CutFrameRate = {
|
|
27683
|
+
/**
|
|
27684
|
+
* Positive numerator of the project frame rate.
|
|
27685
|
+
*/
|
|
27686
|
+
num: number;
|
|
27687
|
+
/**
|
|
27688
|
+
* Positive denominator of the project frame rate.
|
|
27689
|
+
*/
|
|
27690
|
+
den: number;
|
|
27691
|
+
};
|
|
27692
|
+
/**
|
|
27693
|
+
* Ordered timeline layer; index zero is the topmost layer.
|
|
27694
|
+
*/
|
|
27695
|
+
export type CutTrack = {
|
|
27696
|
+
/**
|
|
27697
|
+
* Track id created by AddTrack; reuse in Insert, UpdateTrack or DeleteTrack.
|
|
27698
|
+
*/
|
|
27699
|
+
id: string;
|
|
27700
|
+
/**
|
|
27701
|
+
* Human-readable track name chosen by the editing script.
|
|
27702
|
+
*/
|
|
27703
|
+
name: string;
|
|
27704
|
+
/**
|
|
27705
|
+
* video contains visual clips; audio contains sound clips; caption contains timed text.
|
|
27706
|
+
*/
|
|
27707
|
+
kind: 'video' | 'audio' | 'caption';
|
|
27708
|
+
/**
|
|
27709
|
+
* True prevents editing clips on this track.
|
|
27710
|
+
*/
|
|
27711
|
+
locked: boolean;
|
|
27712
|
+
/**
|
|
27713
|
+
* True hides a visual or caption track from the rendered output.
|
|
27714
|
+
*/
|
|
27715
|
+
hidden?: boolean;
|
|
27716
|
+
/**
|
|
27717
|
+
* True silences an audio track.
|
|
27718
|
+
*/
|
|
27719
|
+
muted?: boolean;
|
|
27720
|
+
/**
|
|
27721
|
+
* Audio track gain in decibels; added to the clip audio level.
|
|
27722
|
+
*/
|
|
27723
|
+
gain_db?: number;
|
|
27724
|
+
/**
|
|
27725
|
+
* Default caption styling for this track.
|
|
27726
|
+
*/
|
|
27727
|
+
style?: CutTextStyle;
|
|
27728
|
+
/**
|
|
27729
|
+
* Clips on the track in timeline order.
|
|
27730
|
+
*/
|
|
27731
|
+
items: Array<CutItem>;
|
|
27732
|
+
};
|
|
27733
|
+
/**
|
|
27734
|
+
* A named point on the project timeline.
|
|
27735
|
+
*/
|
|
27736
|
+
export type CutMarker = {
|
|
27737
|
+
/**
|
|
27738
|
+
* Marker identifier used in the editing transaction.
|
|
27739
|
+
*/
|
|
27740
|
+
id: string;
|
|
27741
|
+
/**
|
|
27742
|
+
* Marker position on the project timeline. In seconds, not frames or microseconds.
|
|
27743
|
+
*/
|
|
27744
|
+
at: number;
|
|
27745
|
+
/**
|
|
27746
|
+
* Human-readable annotation shown at this timeline point.
|
|
27747
|
+
*/
|
|
27748
|
+
label: string;
|
|
27749
|
+
};
|
|
26816
27750
|
export type KnowledgeStaticChunking = {
|
|
26817
27751
|
/**
|
|
26818
27752
|
* static selects explicit chunk-size and overlap settings.
|
|
@@ -27549,6 +28483,166 @@ export type AnthropicToolReferenceBlock = {
|
|
|
27549
28483
|
*/
|
|
27550
28484
|
type: 'tool_reference';
|
|
27551
28485
|
};
|
|
28486
|
+
/**
|
|
28487
|
+
* Text and caption styling in output pixels.
|
|
28488
|
+
*/
|
|
28489
|
+
export type CutTextStyle = {
|
|
28490
|
+
/**
|
|
28491
|
+
* Geist is the Latin typeface; Noto Sans SC is the simplified Chinese typeface.
|
|
28492
|
+
*/
|
|
28493
|
+
font_family?: 'Geist' | 'Noto Sans SC';
|
|
28494
|
+
/**
|
|
28495
|
+
* Text size in output pixels.
|
|
28496
|
+
*/
|
|
28497
|
+
font_size?: number;
|
|
28498
|
+
/**
|
|
28499
|
+
* Font weight: 400 is regular, 500 is medium and 700 is bold.
|
|
28500
|
+
*/
|
|
28501
|
+
font_weight?: 400 | 500 | 700;
|
|
28502
|
+
/**
|
|
28503
|
+
* Text color in #RRGGBB or #RRGGBBAA notation.
|
|
28504
|
+
*/
|
|
28505
|
+
color?: string;
|
|
28506
|
+
/**
|
|
28507
|
+
* Optional text outline.
|
|
28508
|
+
*/
|
|
28509
|
+
stroke?: {
|
|
28510
|
+
/**
|
|
28511
|
+
* Outline color as a hexadecimal RGB or RGBA color.
|
|
28512
|
+
*/
|
|
28513
|
+
color?: string;
|
|
28514
|
+
/**
|
|
28515
|
+
* Outline width in output pixels.
|
|
28516
|
+
*/
|
|
28517
|
+
width?: number;
|
|
28518
|
+
};
|
|
28519
|
+
/**
|
|
28520
|
+
* Optional text background color as hexadecimal RGB or RGBA.
|
|
28521
|
+
*/
|
|
28522
|
+
background?: string;
|
|
28523
|
+
/**
|
|
28524
|
+
* left aligns the text to its left edge; center centers it; right aligns its right edge.
|
|
28525
|
+
*/
|
|
28526
|
+
align?: 'left' | 'center' | 'right';
|
|
28527
|
+
/**
|
|
28528
|
+
* Maximum text width as a fraction of the output canvas width.
|
|
28529
|
+
*/
|
|
28530
|
+
max_width?: number;
|
|
28531
|
+
/**
|
|
28532
|
+
* Caption placement: top is near the upper edge, middle is centered, bottom is near the lower edge.
|
|
28533
|
+
*/
|
|
28534
|
+
position?: 'top' | 'middle' | 'bottom';
|
|
28535
|
+
/**
|
|
28536
|
+
* Optional color applied to the currently spoken caption word.
|
|
28537
|
+
*/
|
|
28538
|
+
highlight_color?: string;
|
|
28539
|
+
/**
|
|
28540
|
+
* Maximum caption line count; fixed at 2.
|
|
28541
|
+
*/
|
|
28542
|
+
max_lines?: 2;
|
|
28543
|
+
};
|
|
28544
|
+
/**
|
|
28545
|
+
* Timeline clip or caption; fields depend on type and all media positions use seconds.
|
|
28546
|
+
*/
|
|
28547
|
+
export type CutItem = {
|
|
28548
|
+
/**
|
|
28549
|
+
* Clip identifier used by GetItem, Update, Delete, Split, Trim and Move.
|
|
28550
|
+
*/
|
|
28551
|
+
id: string;
|
|
28552
|
+
/**
|
|
28553
|
+
* video references moving footage; image references a still; text displays styled text; color fills a region; audio plays sound; caption displays transcript text.
|
|
28554
|
+
*/
|
|
28555
|
+
type: 'video' | 'image' | 'text' | 'color' | 'audio' | 'caption';
|
|
28556
|
+
/**
|
|
28557
|
+
* Clip start on the project timeline. In seconds, not frames or microseconds.
|
|
28558
|
+
*/
|
|
28559
|
+
start: number;
|
|
28560
|
+
/**
|
|
28561
|
+
* Clip duration on the project timeline. In seconds, not frames or microseconds.
|
|
28562
|
+
*/
|
|
28563
|
+
length: number;
|
|
28564
|
+
/**
|
|
28565
|
+
* Bound-library source asset used by video, image or audio clips.
|
|
28566
|
+
*/
|
|
28567
|
+
media?: CutMediaRef;
|
|
28568
|
+
/**
|
|
28569
|
+
* Source media offset where this clip starts reading. In seconds, not frames or microseconds.
|
|
28570
|
+
*/
|
|
28571
|
+
source_in?: number;
|
|
28572
|
+
/**
|
|
28573
|
+
* Playback speed multiplier; fixed at 1.
|
|
28574
|
+
*/
|
|
28575
|
+
speed?: 1;
|
|
28576
|
+
/**
|
|
28577
|
+
* Clip audio level in decibels; 0 preserves the source level.
|
|
28578
|
+
*/
|
|
28579
|
+
volume_db?: number;
|
|
28580
|
+
/**
|
|
28581
|
+
* Visual placement for this clip.
|
|
28582
|
+
*/
|
|
28583
|
+
transform?: CutTransform;
|
|
28584
|
+
/**
|
|
28585
|
+
* contain preserves all content with possible empty margins; cover crops to fill; fill stretches; none keeps natural size.
|
|
28586
|
+
*/
|
|
28587
|
+
fit?: 'contain' | 'cover' | 'fill' | 'none';
|
|
28588
|
+
/**
|
|
28589
|
+
* asset_deleted means the asset is gone; library_unbound means the binding was removed; access_denied means the caller cannot read it; source_shorter means the source no longer covers this clip.
|
|
28590
|
+
*/
|
|
28591
|
+
offline?: 'asset_deleted' | 'library_unbound' | 'access_denied' | 'source_shorter';
|
|
28592
|
+
/**
|
|
28593
|
+
* Visible text for a text clip or caption.
|
|
28594
|
+
*/
|
|
28595
|
+
text?: string;
|
|
28596
|
+
/**
|
|
28597
|
+
* Per-clip text styling where this clip type supports it.
|
|
28598
|
+
*/
|
|
28599
|
+
style?: CutTextStyle;
|
|
28600
|
+
/**
|
|
28601
|
+
* Fill color for a color clip as #RRGGBB or #RRGGBBAA.
|
|
28602
|
+
*/
|
|
28603
|
+
color?: string;
|
|
28604
|
+
/**
|
|
28605
|
+
* Audio fade-in duration. In seconds, not frames or microseconds.
|
|
28606
|
+
*/
|
|
28607
|
+
fade_in?: number;
|
|
28608
|
+
/**
|
|
28609
|
+
* Audio fade-out duration. In seconds, not frames or microseconds.
|
|
28610
|
+
*/
|
|
28611
|
+
fade_out?: number;
|
|
28612
|
+
/**
|
|
28613
|
+
* Audio ducking relative to another track.
|
|
28614
|
+
*/
|
|
28615
|
+
duck?: {
|
|
28616
|
+
/**
|
|
28617
|
+
* Track id whose activity triggers ducking.
|
|
28618
|
+
*/
|
|
28619
|
+
under?: string;
|
|
28620
|
+
/**
|
|
28621
|
+
* Attenuated level in decibels while the other track is active.
|
|
28622
|
+
*/
|
|
28623
|
+
to_db?: number;
|
|
28624
|
+
/**
|
|
28625
|
+
* Time to reach the attenuated level. In seconds, not frames or microseconds.
|
|
28626
|
+
*/
|
|
28627
|
+
attack?: number;
|
|
28628
|
+
/**
|
|
28629
|
+
* Time to recover the original level. In seconds, not frames or microseconds.
|
|
28630
|
+
*/
|
|
28631
|
+
release?: number;
|
|
28632
|
+
};
|
|
28633
|
+
/**
|
|
28634
|
+
* Transition at the incoming clip edge.
|
|
28635
|
+
*/
|
|
28636
|
+
transition_in?: CutTransition;
|
|
28637
|
+
/**
|
|
28638
|
+
* Transition at the outgoing clip edge.
|
|
28639
|
+
*/
|
|
28640
|
+
transition_out?: CutTransition;
|
|
28641
|
+
/**
|
|
28642
|
+
* Optional per-word timing for a caption.
|
|
28643
|
+
*/
|
|
28644
|
+
words?: Array<CutCaptionWord>;
|
|
28645
|
+
};
|
|
27552
28646
|
export type SandboxSandboxIamToken = {
|
|
27553
28647
|
/**
|
|
27554
28648
|
* Audience of the workload token, stored exactly as provided.
|
|
@@ -27734,6 +28828,82 @@ export type AnthropicCitationsConfig = {
|
|
|
27734
28828
|
*/
|
|
27735
28829
|
enabled: boolean;
|
|
27736
28830
|
};
|
|
28831
|
+
/**
|
|
28832
|
+
* Visual placement; coordinates are normalized canvas centers.
|
|
28833
|
+
*/
|
|
28834
|
+
export type CutTransform = {
|
|
28835
|
+
/**
|
|
28836
|
+
* Horizontal center as a fraction of the canvas width.
|
|
28837
|
+
*/
|
|
28838
|
+
x?: number;
|
|
28839
|
+
/**
|
|
28840
|
+
* Vertical center as a fraction of the canvas height.
|
|
28841
|
+
*/
|
|
28842
|
+
y?: number;
|
|
28843
|
+
/**
|
|
28844
|
+
* Scale multiplier relative to the fitted visual size; 1 keeps fitted size.
|
|
28845
|
+
*/
|
|
28846
|
+
scale?: number;
|
|
28847
|
+
/**
|
|
28848
|
+
* Clockwise visual rotation in degrees.
|
|
28849
|
+
*/
|
|
28850
|
+
rotation?: number;
|
|
28851
|
+
/**
|
|
28852
|
+
* Visible opacity from 0 for transparent to 1 for opaque.
|
|
28853
|
+
*/
|
|
28854
|
+
opacity?: number;
|
|
28855
|
+
/**
|
|
28856
|
+
* Crop inset fractions for each edge.
|
|
28857
|
+
*/
|
|
28858
|
+
crop?: {
|
|
28859
|
+
/**
|
|
28860
|
+
* Normalized crop inset at the top edge.
|
|
28861
|
+
*/
|
|
28862
|
+
top?: number;
|
|
28863
|
+
/**
|
|
28864
|
+
* Normalized crop inset at the right edge.
|
|
28865
|
+
*/
|
|
28866
|
+
right?: number;
|
|
28867
|
+
/**
|
|
28868
|
+
* Normalized crop inset at the bottom edge.
|
|
28869
|
+
*/
|
|
28870
|
+
bottom?: number;
|
|
28871
|
+
/**
|
|
28872
|
+
* Normalized crop inset at the left edge.
|
|
28873
|
+
*/
|
|
28874
|
+
left?: number;
|
|
28875
|
+
};
|
|
28876
|
+
};
|
|
28877
|
+
/**
|
|
28878
|
+
* Transition attached to the incoming or outgoing edge of a clip.
|
|
28879
|
+
*/
|
|
28880
|
+
export type CutTransition = {
|
|
28881
|
+
/**
|
|
28882
|
+
* fade blends with the background; dissolve blends clips; push_left and push_right slide clips; wipe_left reveals the next clip.
|
|
28883
|
+
*/
|
|
28884
|
+
kind: 'fade' | 'dissolve' | 'push_left' | 'push_right' | 'wipe_left';
|
|
28885
|
+
/**
|
|
28886
|
+
* Transition duration. In seconds, not frames or microseconds.
|
|
28887
|
+
*/
|
|
28888
|
+
length: number;
|
|
28889
|
+
};
|
|
28890
|
+
/**
|
|
28891
|
+
* One word positioned on the caption timeline.
|
|
28892
|
+
*/
|
|
28893
|
+
export type CutCaptionWord = {
|
|
28894
|
+
/**
|
|
28895
|
+
* Displayed word text from the selected transcript.
|
|
28896
|
+
*/
|
|
28897
|
+
text: string;
|
|
28898
|
+
/**
|
|
28899
|
+
* Word start on the project timeline. In seconds, not frames or microseconds.
|
|
28900
|
+
*/
|
|
28901
|
+
start: number;
|
|
28902
|
+
/**
|
|
28903
|
+
* Word display duration. In seconds, not frames or microseconds.
|
|
28904
|
+
*/
|
|
28905
|
+
length: number;
|
|
28906
|
+
};
|
|
27737
28907
|
export type PraxisSdkSseGetBrowserV1SessionsSessionIdStream = BrowserStreamMessage;
|
|
27738
28908
|
/**
|
|
27739
28909
|
* One decoded SSE event. The data field contains the decoded JSON payload, or a documented string sentinel. SSE comments are keepalives, not events. Optional id/event fields are absent when the server does not send them.
|
|
@@ -28147,6 +29317,22 @@ export type SandboxSandboxId = string;
|
|
|
28147
29317
|
* Canvas id returned by create or list, in the form cvs_ followed by 16 lowercase letters or digits; a display name is not accepted.
|
|
28148
29318
|
*/
|
|
28149
29319
|
export type CanvasCanvasId = string;
|
|
29320
|
+
/**
|
|
29321
|
+
* Project identifier returned by its create or list operation; use the id, not a display name.
|
|
29322
|
+
*/
|
|
29323
|
+
export type CutProjectId = string;
|
|
29324
|
+
/**
|
|
29325
|
+
* Project-local binding alias from bindings.list; detach only after removing all clips that reference its library.
|
|
29326
|
+
*/
|
|
29327
|
+
export type CutBindingName = string;
|
|
29328
|
+
/**
|
|
29329
|
+
* Export identifier returned by its create or list operation; use the id, not a display name.
|
|
29330
|
+
*/
|
|
29331
|
+
export type CutExportId = string;
|
|
29332
|
+
/**
|
|
29333
|
+
* Version identifier returned by its create or list operation; use the id, not a display name.
|
|
29334
|
+
*/
|
|
29335
|
+
export type CutVersionId = string;
|
|
28150
29336
|
/**
|
|
28151
29337
|
* Cursor to start the list from
|
|
28152
29338
|
*/
|
|
@@ -38850,7 +40036,7 @@ export type ListModelsData = {
|
|
|
38850
40036
|
/**
|
|
38851
40037
|
* Match any comma-separated declared protocol ID; omitted or empty includes all models. Combined with type and output_modalities using AND. Invalid IDs return 400 with all legal values.
|
|
38852
40038
|
*/
|
|
38853
|
-
supported_api?: Array<'anthropic.messages' | 'cohere.rerank' | 'google.generateContent' | 'mistral.ocr' | 'openai.audio.speech' | 'openai.audio.transcriptions' | 'openai.chat.completions' | 'openai.embeddings' | 'openai.images.edits' | 'openai.images.generations' | 'openai.responses' | 'openai.videos'>;
|
|
40039
|
+
supported_api?: Array<'anthropic.messages' | 'cohere.rerank' | 'google.generateContent' | 'mistral.ocr' | 'openai.audio.speech' | 'openai.audio.transcriptions' | 'openai.chat.completions' | 'openai.embeddings' | 'openai.images.edits' | 'openai.images.generations' | 'openai.responses' | 'openai.videos' | 'typesafe.systemone'>;
|
|
38854
40040
|
/**
|
|
38855
40041
|
* Filter by one or more model types (comma-separated).
|
|
38856
40042
|
*/
|
|
@@ -39834,6 +41020,251 @@ export type RemixVideoErrors = {
|
|
|
39834
41020
|
*/
|
|
39835
41021
|
400: unknown;
|
|
39836
41022
|
};
|
|
41023
|
+
export type CreateSystemoneData = {
|
|
41024
|
+
body: {
|
|
41025
|
+
/**
|
|
41026
|
+
* Published model id from model.models.list with supported_apis containing typesafe.systemone; returned unchanged in the response.
|
|
41027
|
+
*/
|
|
41028
|
+
model: string;
|
|
41029
|
+
/**
|
|
41030
|
+
* Shared content evaluated by every question, supplied as text, a JSON object or an array.
|
|
41031
|
+
*/
|
|
41032
|
+
state: string | {
|
|
41033
|
+
[key: string]: unknown;
|
|
41034
|
+
} | Array<unknown>;
|
|
41035
|
+
/**
|
|
41036
|
+
* Non-empty map of caller-chosen question ids to typed questions; answers preserve these ids. noul evaluates yes/no, choice selects a named option, score rates ordered levels. box is unsupported.
|
|
41037
|
+
*/
|
|
41038
|
+
questions: {
|
|
41039
|
+
[key: string]: {
|
|
41040
|
+
/**
|
|
41041
|
+
* noul asks a yes/no question and returns the probability of yes.
|
|
41042
|
+
*/
|
|
41043
|
+
type: 'noul';
|
|
41044
|
+
/**
|
|
41045
|
+
* Optional instructions for this question; text, object, array or null. Omit to let the criteria supply the question context.
|
|
41046
|
+
*/
|
|
41047
|
+
instructions?: string | {
|
|
41048
|
+
[key: string]: unknown;
|
|
41049
|
+
} | Array<unknown> | null;
|
|
41050
|
+
/**
|
|
41051
|
+
* Optional descriptions of the true and false outcomes; only these two keys are accepted.
|
|
41052
|
+
*/
|
|
41053
|
+
criteria?: {
|
|
41054
|
+
/**
|
|
41055
|
+
* Description of the yes outcome used to evaluate this noul question.
|
|
41056
|
+
*/
|
|
41057
|
+
true?: string | {
|
|
41058
|
+
[key: string]: unknown;
|
|
41059
|
+
} | Array<unknown> | null;
|
|
41060
|
+
/**
|
|
41061
|
+
* Description of the no outcome used to evaluate this noul question.
|
|
41062
|
+
*/
|
|
41063
|
+
false?: string | {
|
|
41064
|
+
[key: string]: unknown;
|
|
41065
|
+
} | Array<unknown> | null;
|
|
41066
|
+
};
|
|
41067
|
+
} | {
|
|
41068
|
+
/**
|
|
41069
|
+
* choice selects an option from the named criteria and returns every option probability.
|
|
41070
|
+
*/
|
|
41071
|
+
type: 'choice';
|
|
41072
|
+
/**
|
|
41073
|
+
* Optional instructions for this question; text, object, array or null. Omit to let the criteria supply the question context.
|
|
41074
|
+
*/
|
|
41075
|
+
instructions?: string | {
|
|
41076
|
+
[key: string]: unknown;
|
|
41077
|
+
} | Array<unknown> | null;
|
|
41078
|
+
/**
|
|
41079
|
+
* One to 255 named options; each value describes that option as text, object, array or null. The selected choice is one of these keys.
|
|
41080
|
+
*/
|
|
41081
|
+
criteria: {
|
|
41082
|
+
[key: string]: string | {
|
|
41083
|
+
[key: string]: unknown;
|
|
41084
|
+
} | Array<unknown> | null;
|
|
41085
|
+
};
|
|
41086
|
+
} | {
|
|
41087
|
+
/**
|
|
41088
|
+
* score evaluates ordered criteria from low to high and returns a normalized score.
|
|
41089
|
+
*/
|
|
41090
|
+
type: 'score';
|
|
41091
|
+
/**
|
|
41092
|
+
* Optional instructions for this question; text, object, array or null. Omit to let the criteria supply the question context.
|
|
41093
|
+
*/
|
|
41094
|
+
instructions?: string | {
|
|
41095
|
+
[key: string]: unknown;
|
|
41096
|
+
} | Array<unknown> | null;
|
|
41097
|
+
/**
|
|
41098
|
+
* One to ten descriptive levels ordered from low to high; each is text, an object or an array. Legend keys in the answer index these levels.
|
|
41099
|
+
*/
|
|
41100
|
+
criteria: Array<string | {
|
|
41101
|
+
[key: string]: unknown;
|
|
41102
|
+
} | Array<unknown>>;
|
|
41103
|
+
};
|
|
41104
|
+
};
|
|
41105
|
+
/**
|
|
41106
|
+
* Unsupported image assets. Supplying this field, including null or an empty collection, returns 400: images are not supported.
|
|
41107
|
+
*/
|
|
41108
|
+
assets?: {
|
|
41109
|
+
[key: string]: unknown;
|
|
41110
|
+
};
|
|
41111
|
+
[key: string]: unknown;
|
|
41112
|
+
};
|
|
41113
|
+
path?: never;
|
|
41114
|
+
query?: never;
|
|
41115
|
+
url: '/model/v1/systemone';
|
|
41116
|
+
};
|
|
41117
|
+
export type CreateSystemoneErrors = {
|
|
41118
|
+
/**
|
|
41119
|
+
* Missing model, state or questions; invalid question type or criteria size; box or assets unsupported. Correct the named field before retrying.
|
|
41120
|
+
*/
|
|
41121
|
+
400: {
|
|
41122
|
+
type: string;
|
|
41123
|
+
title: string;
|
|
41124
|
+
status: number;
|
|
41125
|
+
detail: string;
|
|
41126
|
+
[key: string]: unknown;
|
|
41127
|
+
};
|
|
41128
|
+
/**
|
|
41129
|
+
* Missing or invalid API credentials; supply a valid platform API key in Authorization: Bearer.
|
|
41130
|
+
*/
|
|
41131
|
+
401: {
|
|
41132
|
+
type: string;
|
|
41133
|
+
title: string;
|
|
41134
|
+
status: number;
|
|
41135
|
+
detail: string;
|
|
41136
|
+
[key: string]: unknown;
|
|
41137
|
+
};
|
|
41138
|
+
/**
|
|
41139
|
+
* Unknown model or MODEL_PROTOCOL_NOT_OFFERED; select a catalog model declaring typesafe.systemone.
|
|
41140
|
+
*/
|
|
41141
|
+
404: {
|
|
41142
|
+
type: string;
|
|
41143
|
+
title: string;
|
|
41144
|
+
status: number;
|
|
41145
|
+
detail: string;
|
|
41146
|
+
[key: string]: unknown;
|
|
41147
|
+
};
|
|
41148
|
+
/**
|
|
41149
|
+
* The platform or upstream is rate limited; wait before retrying the request.
|
|
41150
|
+
*/
|
|
41151
|
+
429: {
|
|
41152
|
+
type: string;
|
|
41153
|
+
title: string;
|
|
41154
|
+
status: number;
|
|
41155
|
+
detail: string;
|
|
41156
|
+
[key: string]: unknown;
|
|
41157
|
+
};
|
|
41158
|
+
/**
|
|
41159
|
+
* Upstream credentials, transport or response failed; retry later or choose another declared model.
|
|
41160
|
+
*/
|
|
41161
|
+
502: {
|
|
41162
|
+
type: string;
|
|
41163
|
+
title: string;
|
|
41164
|
+
status: number;
|
|
41165
|
+
detail: string;
|
|
41166
|
+
[key: string]: unknown;
|
|
41167
|
+
};
|
|
41168
|
+
/**
|
|
41169
|
+
* No available native System One line; retry later or choose another declared model.
|
|
41170
|
+
*/
|
|
41171
|
+
503: {
|
|
41172
|
+
type: string;
|
|
41173
|
+
title: string;
|
|
41174
|
+
status: number;
|
|
41175
|
+
detail: string;
|
|
41176
|
+
[key: string]: unknown;
|
|
41177
|
+
};
|
|
41178
|
+
};
|
|
41179
|
+
export type CreateSystemoneError = CreateSystemoneErrors[keyof CreateSystemoneErrors];
|
|
41180
|
+
export type CreateSystemoneResponses = {
|
|
41181
|
+
/**
|
|
41182
|
+
* Typed answers keyed by the original question ids, token usage, and the actual customer charge in USD.
|
|
41183
|
+
*/
|
|
41184
|
+
200: {
|
|
41185
|
+
/**
|
|
41186
|
+
* Model id exactly as supplied in the request, including any public alias or creator prefix.
|
|
41187
|
+
*/
|
|
41188
|
+
model: string;
|
|
41189
|
+
/**
|
|
41190
|
+
* Results mapped by the caller's question ids; each discriminator matches that question's type.
|
|
41191
|
+
*/
|
|
41192
|
+
answers: {
|
|
41193
|
+
[key: string]: {
|
|
41194
|
+
/**
|
|
41195
|
+
* Answer discriminator: noul corresponds to the question of the same type.
|
|
41196
|
+
*/
|
|
41197
|
+
type: 'noul';
|
|
41198
|
+
/**
|
|
41199
|
+
* Calibrated probability that the answer to the yes/no question is yes.
|
|
41200
|
+
*/
|
|
41201
|
+
noul: number;
|
|
41202
|
+
} | {
|
|
41203
|
+
/**
|
|
41204
|
+
* Answer discriminator: choice corresponds to the question of the same type.
|
|
41205
|
+
*/
|
|
41206
|
+
type: 'choice';
|
|
41207
|
+
/**
|
|
41208
|
+
* Selected option name, always a key from this question's criteria.
|
|
41209
|
+
*/
|
|
41210
|
+
choice: string;
|
|
41211
|
+
/**
|
|
41212
|
+
* Certainty of the selected choice or score, distinct from the per-option probabilities.
|
|
41213
|
+
*/
|
|
41214
|
+
confidence: number;
|
|
41215
|
+
/**
|
|
41216
|
+
* Probability of each caller-defined choice or zero-based score level; the probabilities sum to one.
|
|
41217
|
+
*/
|
|
41218
|
+
probabilities: {
|
|
41219
|
+
[key: string]: number;
|
|
41220
|
+
};
|
|
41221
|
+
} | {
|
|
41222
|
+
/**
|
|
41223
|
+
* Answer discriminator: score corresponds to the question of the same type.
|
|
41224
|
+
*/
|
|
41225
|
+
type: 'score';
|
|
41226
|
+
/**
|
|
41227
|
+
* Normalized rating across the ordered criteria, from the lowest to the highest level.
|
|
41228
|
+
*/
|
|
41229
|
+
score: number;
|
|
41230
|
+
/**
|
|
41231
|
+
* Certainty of the selected choice or score, distinct from the per-option probabilities.
|
|
41232
|
+
*/
|
|
41233
|
+
confidence: number;
|
|
41234
|
+
/**
|
|
41235
|
+
* Zero-based level keys mapped to their descriptions, with one key per request criterion.
|
|
41236
|
+
*/
|
|
41237
|
+
legend: {
|
|
41238
|
+
[key: string]: unknown;
|
|
41239
|
+
};
|
|
41240
|
+
/**
|
|
41241
|
+
* Probability of each caller-defined choice or zero-based score level; the probabilities sum to one.
|
|
41242
|
+
*/
|
|
41243
|
+
probabilities: {
|
|
41244
|
+
[key: string]: number;
|
|
41245
|
+
};
|
|
41246
|
+
};
|
|
41247
|
+
};
|
|
41248
|
+
/**
|
|
41249
|
+
* Provider token counts and the actual input-only customer charge; output tokens are free.
|
|
41250
|
+
*/
|
|
41251
|
+
usage: {
|
|
41252
|
+
/**
|
|
41253
|
+
* Authoritative upstream count of input tokens; the sole billed quantity for this operation.
|
|
41254
|
+
*/
|
|
41255
|
+
input_tokens: number;
|
|
41256
|
+
/**
|
|
41257
|
+
* Upstream count of output tokens, returned for visibility and never charged.
|
|
41258
|
+
*/
|
|
41259
|
+
output_tokens: number;
|
|
41260
|
+
/**
|
|
41261
|
+
* Actual customer charge in USD after micro-dollar rounding; exactly the value in X-Praxis-Cost-Usd, never upstream procurement cost.
|
|
41262
|
+
*/
|
|
41263
|
+
cost: number;
|
|
41264
|
+
};
|
|
41265
|
+
};
|
|
41266
|
+
};
|
|
41267
|
+
export type CreateSystemoneResponse = CreateSystemoneResponses[keyof CreateSystemoneResponses];
|
|
39837
41268
|
export type CreateAudioTranscriptionData = {
|
|
39838
41269
|
body: {
|
|
39839
41270
|
/**
|
|
@@ -60758,6 +62189,1076 @@ export type CanvasExecuteResponses = {
|
|
|
60758
62189
|
200: CanvasExecuteResult;
|
|
60759
62190
|
};
|
|
60760
62191
|
export type CanvasExecuteResponse = CanvasExecuteResponses[keyof CanvasExecuteResponses];
|
|
62192
|
+
export type CutListProjectsData = {
|
|
62193
|
+
body?: never;
|
|
62194
|
+
path?: never;
|
|
62195
|
+
query?: {
|
|
62196
|
+
/**
|
|
62197
|
+
* Maximum resources in one page, from 1 to 100; defaults to 50.
|
|
62198
|
+
*/
|
|
62199
|
+
page_size?: number;
|
|
62200
|
+
/**
|
|
62201
|
+
* Opaque next_page_token from the preceding page; omit on the first request.
|
|
62202
|
+
*/
|
|
62203
|
+
page_token?: string;
|
|
62204
|
+
/**
|
|
62205
|
+
* Optional resource filter; projects supports state = "active" or state = "deleted".
|
|
62206
|
+
*/
|
|
62207
|
+
filter?: string;
|
|
62208
|
+
/**
|
|
62209
|
+
* Optional ordering expression; projects supports updateTime desc.
|
|
62210
|
+
*/
|
|
62211
|
+
order_by?: string;
|
|
62212
|
+
};
|
|
62213
|
+
url: '/cut/v1/projects';
|
|
62214
|
+
};
|
|
62215
|
+
export type CutListProjectsErrors = {
|
|
62216
|
+
/**
|
|
62217
|
+
* INVALID_PARAMS or BINDING_INVALID means a request field, identifier or library binding is invalid; correct the indicated input before retrying.
|
|
62218
|
+
*/
|
|
62219
|
+
400: CutCutError;
|
|
62220
|
+
/**
|
|
62221
|
+
* The API key is missing, invalid or has no organization; supply a valid organization API key before retrying.
|
|
62222
|
+
*/
|
|
62223
|
+
401: CutCutError;
|
|
62224
|
+
/**
|
|
62225
|
+
* PERMISSION_DENIED means the credential cannot perform this operation; use a key with the required Cut access in the owning organization.
|
|
62226
|
+
*/
|
|
62227
|
+
403: CutCutError;
|
|
62228
|
+
/**
|
|
62229
|
+
* INTERNAL means the request could not complete; inspect current project state before retrying a write to avoid duplicating a committed edit.
|
|
62230
|
+
*/
|
|
62231
|
+
500: CutCutError;
|
|
62232
|
+
};
|
|
62233
|
+
export type CutListProjectsError = CutListProjectsErrors[keyof CutListProjectsErrors];
|
|
62234
|
+
export type CutListProjectsResponses = {
|
|
62235
|
+
/**
|
|
62236
|
+
* Requested resource or operation result; use its revision when preparing a guarded edit.
|
|
62237
|
+
*/
|
|
62238
|
+
200: CutProjectPage;
|
|
62239
|
+
};
|
|
62240
|
+
export type CutListProjectsResponse = CutListProjectsResponses[keyof CutListProjectsResponses];
|
|
62241
|
+
export type CutCreateProjectData = {
|
|
62242
|
+
/**
|
|
62243
|
+
* Create a blank project bound to the media libraries it may use.
|
|
62244
|
+
*/
|
|
62245
|
+
body: CutCreateProjectInput;
|
|
62246
|
+
path?: never;
|
|
62247
|
+
query?: never;
|
|
62248
|
+
url: '/cut/v1/projects';
|
|
62249
|
+
};
|
|
62250
|
+
export type CutCreateProjectErrors = {
|
|
62251
|
+
/**
|
|
62252
|
+
* INVALID_PARAMS or BINDING_INVALID means a request field, identifier or library binding is invalid; correct the indicated input before retrying.
|
|
62253
|
+
*/
|
|
62254
|
+
400: CutCutError;
|
|
62255
|
+
/**
|
|
62256
|
+
* The API key is missing, invalid or has no organization; supply a valid organization API key before retrying.
|
|
62257
|
+
*/
|
|
62258
|
+
401: CutCutError;
|
|
62259
|
+
/**
|
|
62260
|
+
* PERMISSION_DENIED means the credential cannot perform this operation; use a key with the required Cut access in the owning organization.
|
|
62261
|
+
*/
|
|
62262
|
+
403: CutCutError;
|
|
62263
|
+
/**
|
|
62264
|
+
* PROJECT_NOT_FOUND, EXPORT_NOT_FOUND, VERSION_NOT_FOUND or LIBRARY_NOT_FOUND means the requested resource is missing, deleted or outside the organization; choose an accessible identifier from its list operation.
|
|
62265
|
+
*/
|
|
62266
|
+
404: CutCutError;
|
|
62267
|
+
/**
|
|
62268
|
+
* INTERNAL means the request could not complete; inspect current project state before retrying a write to avoid duplicating a committed edit.
|
|
62269
|
+
*/
|
|
62270
|
+
500: CutCutError;
|
|
62271
|
+
};
|
|
62272
|
+
export type CutCreateProjectError = CutCreateProjectErrors[keyof CutCreateProjectErrors];
|
|
62273
|
+
export type CutCreateProjectResponses = {
|
|
62274
|
+
/**
|
|
62275
|
+
* New resource; save its id for subsequent calls.
|
|
62276
|
+
*/
|
|
62277
|
+
201: CutProject;
|
|
62278
|
+
};
|
|
62279
|
+
export type CutCreateProjectResponse = CutCreateProjectResponses[keyof CutCreateProjectResponses];
|
|
62280
|
+
export type CutDeleteProjectData = {
|
|
62281
|
+
body?: never;
|
|
62282
|
+
path: {
|
|
62283
|
+
/**
|
|
62284
|
+
* Project identifier returned by its create or list operation; use the id, not a display name.
|
|
62285
|
+
*/
|
|
62286
|
+
project_id: string;
|
|
62287
|
+
};
|
|
62288
|
+
query?: never;
|
|
62289
|
+
url: '/cut/v1/projects/{project_id}';
|
|
62290
|
+
};
|
|
62291
|
+
export type CutDeleteProjectErrors = {
|
|
62292
|
+
/**
|
|
62293
|
+
* INVALID_PARAMS or BINDING_INVALID means a request field, identifier or library binding is invalid; correct the indicated input before retrying.
|
|
62294
|
+
*/
|
|
62295
|
+
400: CutCutError;
|
|
62296
|
+
/**
|
|
62297
|
+
* The API key is missing, invalid or has no organization; supply a valid organization API key before retrying.
|
|
62298
|
+
*/
|
|
62299
|
+
401: CutCutError;
|
|
62300
|
+
/**
|
|
62301
|
+
* PERMISSION_DENIED means the credential cannot perform this operation; use a key with the required Cut access in the owning organization.
|
|
62302
|
+
*/
|
|
62303
|
+
403: CutCutError;
|
|
62304
|
+
/**
|
|
62305
|
+
* PROJECT_NOT_FOUND, EXPORT_NOT_FOUND, VERSION_NOT_FOUND or LIBRARY_NOT_FOUND means the requested resource is missing, deleted or outside the organization; choose an accessible identifier from its list operation.
|
|
62306
|
+
*/
|
|
62307
|
+
404: CutCutError;
|
|
62308
|
+
/**
|
|
62309
|
+
* INTERNAL means the request could not complete; inspect current project state before retrying a write to avoid duplicating a committed edit.
|
|
62310
|
+
*/
|
|
62311
|
+
500: CutCutError;
|
|
62312
|
+
};
|
|
62313
|
+
export type CutDeleteProjectError = CutDeleteProjectErrors[keyof CutDeleteProjectErrors];
|
|
62314
|
+
export type CutDeleteProjectResponses = {
|
|
62315
|
+
/**
|
|
62316
|
+
* Requested resource or operation result; use its revision when preparing a guarded edit.
|
|
62317
|
+
*/
|
|
62318
|
+
200: CutProject;
|
|
62319
|
+
};
|
|
62320
|
+
export type CutDeleteProjectResponse = CutDeleteProjectResponses[keyof CutDeleteProjectResponses];
|
|
62321
|
+
export type CutRetrieveProjectData = {
|
|
62322
|
+
body?: never;
|
|
62323
|
+
path: {
|
|
62324
|
+
/**
|
|
62325
|
+
* Project identifier returned by its create or list operation; use the id, not a display name.
|
|
62326
|
+
*/
|
|
62327
|
+
project_id: string;
|
|
62328
|
+
};
|
|
62329
|
+
query?: {
|
|
62330
|
+
/**
|
|
62331
|
+
* Comma-separated expansions: timeline includes clips, exports includes render jobs, versions includes saved snapshots.
|
|
62332
|
+
*/
|
|
62333
|
+
expand?: string;
|
|
62334
|
+
};
|
|
62335
|
+
url: '/cut/v1/projects/{project_id}';
|
|
62336
|
+
};
|
|
62337
|
+
export type CutRetrieveProjectErrors = {
|
|
62338
|
+
/**
|
|
62339
|
+
* INVALID_PARAMS or BINDING_INVALID means a request field, identifier or library binding is invalid; correct the indicated input before retrying.
|
|
62340
|
+
*/
|
|
62341
|
+
400: CutCutError;
|
|
62342
|
+
/**
|
|
62343
|
+
* The API key is missing, invalid or has no organization; supply a valid organization API key before retrying.
|
|
62344
|
+
*/
|
|
62345
|
+
401: CutCutError;
|
|
62346
|
+
/**
|
|
62347
|
+
* PERMISSION_DENIED means the credential cannot perform this operation; use a key with the required Cut access in the owning organization.
|
|
62348
|
+
*/
|
|
62349
|
+
403: CutCutError;
|
|
62350
|
+
/**
|
|
62351
|
+
* PROJECT_NOT_FOUND, EXPORT_NOT_FOUND, VERSION_NOT_FOUND or LIBRARY_NOT_FOUND means the requested resource is missing, deleted or outside the organization; choose an accessible identifier from its list operation.
|
|
62352
|
+
*/
|
|
62353
|
+
404: CutCutError;
|
|
62354
|
+
/**
|
|
62355
|
+
* PROJECT_TOO_LARGE or RESPONSE_TOO_LARGE means an edit or response exceeds its size limit; reduce the edit batch or narrow the requested timeline range.
|
|
62356
|
+
*/
|
|
62357
|
+
413: CutCutError;
|
|
62358
|
+
/**
|
|
62359
|
+
* INTERNAL means the request could not complete; inspect current project state before retrying a write to avoid duplicating a committed edit.
|
|
62360
|
+
*/
|
|
62361
|
+
500: CutCutError;
|
|
62362
|
+
};
|
|
62363
|
+
export type CutRetrieveProjectError = CutRetrieveProjectErrors[keyof CutRetrieveProjectErrors];
|
|
62364
|
+
export type CutRetrieveProjectResponses = {
|
|
62365
|
+
/**
|
|
62366
|
+
* Requested resource or operation result; use its revision when preparing a guarded edit.
|
|
62367
|
+
*/
|
|
62368
|
+
200: CutProjectDetail;
|
|
62369
|
+
};
|
|
62370
|
+
export type CutRetrieveProjectResponse = CutRetrieveProjectResponses[keyof CutRetrieveProjectResponses];
|
|
62371
|
+
export type CutUpdateProjectData = {
|
|
62372
|
+
/**
|
|
62373
|
+
* Update only the named project metadata fields; timeline edits use execute.
|
|
62374
|
+
*/
|
|
62375
|
+
body: CutUpdateProjectInput;
|
|
62376
|
+
path: {
|
|
62377
|
+
/**
|
|
62378
|
+
* Project identifier returned by its create or list operation; use the id, not a display name.
|
|
62379
|
+
*/
|
|
62380
|
+
project_id: string;
|
|
62381
|
+
};
|
|
62382
|
+
query?: never;
|
|
62383
|
+
url: '/cut/v1/projects/{project_id}';
|
|
62384
|
+
};
|
|
62385
|
+
export type CutUpdateProjectErrors = {
|
|
62386
|
+
/**
|
|
62387
|
+
* INVALID_PARAMS or BINDING_INVALID means a request field, identifier or library binding is invalid; correct the indicated input before retrying.
|
|
62388
|
+
*/
|
|
62389
|
+
400: CutCutError;
|
|
62390
|
+
/**
|
|
62391
|
+
* The API key is missing, invalid or has no organization; supply a valid organization API key before retrying.
|
|
62392
|
+
*/
|
|
62393
|
+
401: CutCutError;
|
|
62394
|
+
/**
|
|
62395
|
+
* PERMISSION_DENIED means the credential cannot perform this operation; use a key with the required Cut access in the owning organization.
|
|
62396
|
+
*/
|
|
62397
|
+
403: CutCutError;
|
|
62398
|
+
/**
|
|
62399
|
+
* PROJECT_NOT_FOUND, EXPORT_NOT_FOUND, VERSION_NOT_FOUND or LIBRARY_NOT_FOUND means the requested resource is missing, deleted or outside the organization; choose an accessible identifier from its list operation.
|
|
62400
|
+
*/
|
|
62401
|
+
404: CutCutError;
|
|
62402
|
+
/**
|
|
62403
|
+
* INTERNAL means the request could not complete; inspect current project state before retrying a write to avoid duplicating a committed edit.
|
|
62404
|
+
*/
|
|
62405
|
+
500: CutCutError;
|
|
62406
|
+
};
|
|
62407
|
+
export type CutUpdateProjectError = CutUpdateProjectErrors[keyof CutUpdateProjectErrors];
|
|
62408
|
+
export type CutUpdateProjectResponses = {
|
|
62409
|
+
/**
|
|
62410
|
+
* Requested resource or operation result; use its revision when preparing a guarded edit.
|
|
62411
|
+
*/
|
|
62412
|
+
200: CutProject;
|
|
62413
|
+
};
|
|
62414
|
+
export type CutUpdateProjectResponse = CutUpdateProjectResponses[keyof CutUpdateProjectResponses];
|
|
62415
|
+
export type CutUndeleteProjectData = {
|
|
62416
|
+
body?: never;
|
|
62417
|
+
path: {
|
|
62418
|
+
/**
|
|
62419
|
+
* Project identifier returned by its create or list operation; use the id, not a display name.
|
|
62420
|
+
*/
|
|
62421
|
+
project_id: string;
|
|
62422
|
+
};
|
|
62423
|
+
query?: never;
|
|
62424
|
+
url: '/cut/v1/projects/{project_id}:undelete';
|
|
62425
|
+
};
|
|
62426
|
+
export type CutUndeleteProjectErrors = {
|
|
62427
|
+
/**
|
|
62428
|
+
* INVALID_PARAMS or BINDING_INVALID means a request field, identifier or library binding is invalid; correct the indicated input before retrying.
|
|
62429
|
+
*/
|
|
62430
|
+
400: CutCutError;
|
|
62431
|
+
/**
|
|
62432
|
+
* The API key is missing, invalid or has no organization; supply a valid organization API key before retrying.
|
|
62433
|
+
*/
|
|
62434
|
+
401: CutCutError;
|
|
62435
|
+
/**
|
|
62436
|
+
* PERMISSION_DENIED means the credential cannot perform this operation; use a key with the required Cut access in the owning organization.
|
|
62437
|
+
*/
|
|
62438
|
+
403: CutCutError;
|
|
62439
|
+
/**
|
|
62440
|
+
* PROJECT_NOT_FOUND, EXPORT_NOT_FOUND, VERSION_NOT_FOUND or LIBRARY_NOT_FOUND means the requested resource is missing, deleted or outside the organization; choose an accessible identifier from its list operation.
|
|
62441
|
+
*/
|
|
62442
|
+
404: CutCutError;
|
|
62443
|
+
/**
|
|
62444
|
+
* INTERNAL means the request could not complete; inspect current project state before retrying a write to avoid duplicating a committed edit.
|
|
62445
|
+
*/
|
|
62446
|
+
500: CutCutError;
|
|
62447
|
+
};
|
|
62448
|
+
export type CutUndeleteProjectError = CutUndeleteProjectErrors[keyof CutUndeleteProjectErrors];
|
|
62449
|
+
export type CutUndeleteProjectResponses = {
|
|
62450
|
+
/**
|
|
62451
|
+
* Requested resource or operation result; use its revision when preparing a guarded edit.
|
|
62452
|
+
*/
|
|
62453
|
+
200: CutProject;
|
|
62454
|
+
};
|
|
62455
|
+
export type CutUndeleteProjectResponse = CutUndeleteProjectResponses[keyof CutUndeleteProjectResponses];
|
|
62456
|
+
export type CutExecuteData = {
|
|
62457
|
+
/**
|
|
62458
|
+
* Submit new synchronous source or patch a saved failed script; script and edit_id are exclusive.
|
|
62459
|
+
*/
|
|
62460
|
+
body: CutExecuteInput;
|
|
62461
|
+
path: {
|
|
62462
|
+
/**
|
|
62463
|
+
* Project identifier returned by its create or list operation; use the id, not a display name.
|
|
62464
|
+
*/
|
|
62465
|
+
project_id: string;
|
|
62466
|
+
};
|
|
62467
|
+
query?: never;
|
|
62468
|
+
url: '/cut/v1/projects/{project_id}:execute';
|
|
62469
|
+
};
|
|
62470
|
+
export type CutExecuteErrors = {
|
|
62471
|
+
/**
|
|
62472
|
+
* SCRIPT_ERROR, SCRIPT_LIMIT or OPS_REJECTED means the script failed and its writes rolled back; correct the source using error.details.edit_id and edits when provided. EDIT_EXPIRED means the saved source is older than ten minutes; resubmit corrected script source.
|
|
62473
|
+
*/
|
|
62474
|
+
400: CutCutError;
|
|
62475
|
+
/**
|
|
62476
|
+
* The API key is missing, invalid or has no organization; supply a valid organization API key before retrying.
|
|
62477
|
+
*/
|
|
62478
|
+
401: CutCutError;
|
|
62479
|
+
/**
|
|
62480
|
+
* PERMISSION_DENIED means the credential cannot perform this operation; use a key with the required Cut access in the owning organization.
|
|
62481
|
+
*/
|
|
62482
|
+
403: CutCutError;
|
|
62483
|
+
/**
|
|
62484
|
+
* PROJECT_NOT_FOUND, EXPORT_NOT_FOUND, VERSION_NOT_FOUND or LIBRARY_NOT_FOUND means the requested resource is missing, deleted or outside the organization; choose an accessible identifier from its list operation.
|
|
62485
|
+
*/
|
|
62486
|
+
404: CutCutError;
|
|
62487
|
+
/**
|
|
62488
|
+
* REVISION_CONFLICT means the project changed since expected_revision or while preparing the second-based response; retrieve the current state and inspect whether a write committed before retrying, then merge concurrent edits.
|
|
62489
|
+
*/
|
|
62490
|
+
409: CutCutError;
|
|
62491
|
+
/**
|
|
62492
|
+
* PROJECT_TOO_LARGE or RESPONSE_TOO_LARGE means an edit or response exceeds its size limit; reduce the edit batch or narrow the requested timeline range.
|
|
62493
|
+
*/
|
|
62494
|
+
413: CutCutError;
|
|
62495
|
+
/**
|
|
62496
|
+
* CUT_BUSY means too much work is queued for this project; let pending work complete before retrying.
|
|
62497
|
+
*/
|
|
62498
|
+
429: CutCutError;
|
|
62499
|
+
/**
|
|
62500
|
+
* INTERNAL means the request could not complete; inspect current project state before retrying a write to avoid duplicating a committed edit.
|
|
62501
|
+
*/
|
|
62502
|
+
500: CutCutError;
|
|
62503
|
+
/**
|
|
62504
|
+
* MEDIA_OFFLINE, MEDIA_UNAVAILABLE, MEDIA_IMPORT_FAILED or EXPORT_FAILED means required media or rendering could not complete; inspect source availability or the export error before retrying.
|
|
62505
|
+
*/
|
|
62506
|
+
503: CutCutError;
|
|
62507
|
+
};
|
|
62508
|
+
export type CutExecuteError = CutExecuteErrors[keyof CutExecuteErrors];
|
|
62509
|
+
export type CutExecuteResponses = {
|
|
62510
|
+
/**
|
|
62511
|
+
* Requested resource or operation result; use its revision when preparing a guarded edit.
|
|
62512
|
+
*/
|
|
62513
|
+
200: CutExecuteResult;
|
|
62514
|
+
};
|
|
62515
|
+
export type CutExecuteResponse = CutExecuteResponses[keyof CutExecuteResponses];
|
|
62516
|
+
export type CutRetrieveStateData = {
|
|
62517
|
+
body?: never;
|
|
62518
|
+
path: {
|
|
62519
|
+
/**
|
|
62520
|
+
* Project identifier returned by its create or list operation; use the id, not a display name.
|
|
62521
|
+
*/
|
|
62522
|
+
project_id: string;
|
|
62523
|
+
};
|
|
62524
|
+
query?: never;
|
|
62525
|
+
url: '/cut/v1/projects/{project_id}/state';
|
|
62526
|
+
};
|
|
62527
|
+
export type CutRetrieveStateErrors = {
|
|
62528
|
+
/**
|
|
62529
|
+
* INVALID_PARAMS or BINDING_INVALID means a request field, identifier or library binding is invalid; correct the indicated input before retrying.
|
|
62530
|
+
*/
|
|
62531
|
+
400: CutCutError;
|
|
62532
|
+
/**
|
|
62533
|
+
* The API key is missing, invalid or has no organization; supply a valid organization API key before retrying.
|
|
62534
|
+
*/
|
|
62535
|
+
401: CutCutError;
|
|
62536
|
+
/**
|
|
62537
|
+
* PERMISSION_DENIED means the credential cannot perform this operation; use a key with the required Cut access in the owning organization.
|
|
62538
|
+
*/
|
|
62539
|
+
403: CutCutError;
|
|
62540
|
+
/**
|
|
62541
|
+
* PROJECT_NOT_FOUND, EXPORT_NOT_FOUND, VERSION_NOT_FOUND or LIBRARY_NOT_FOUND means the requested resource is missing, deleted or outside the organization; choose an accessible identifier from its list operation.
|
|
62542
|
+
*/
|
|
62543
|
+
404: CutCutError;
|
|
62544
|
+
/**
|
|
62545
|
+
* INTERNAL means the request could not complete; inspect current project state before retrying a write to avoid duplicating a committed edit.
|
|
62546
|
+
*/
|
|
62547
|
+
500: CutCutError;
|
|
62548
|
+
};
|
|
62549
|
+
export type CutRetrieveStateError = CutRetrieveStateErrors[keyof CutRetrieveStateErrors];
|
|
62550
|
+
export type CutRetrieveStateResponses = {
|
|
62551
|
+
/**
|
|
62552
|
+
* Requested resource or operation result; use its revision when preparing a guarded edit.
|
|
62553
|
+
*/
|
|
62554
|
+
200: CutState;
|
|
62555
|
+
};
|
|
62556
|
+
export type CutRetrieveStateResponse = CutRetrieveStateResponses[keyof CutRetrieveStateResponses];
|
|
62557
|
+
export type CutRetrieveTimelineData = {
|
|
62558
|
+
body?: never;
|
|
62559
|
+
path: {
|
|
62560
|
+
/**
|
|
62561
|
+
* Project identifier returned by its create or list operation; use the id, not a display name.
|
|
62562
|
+
*/
|
|
62563
|
+
project_id: string;
|
|
62564
|
+
};
|
|
62565
|
+
query?: {
|
|
62566
|
+
/**
|
|
62567
|
+
* full returns structured clips; compact returns compact textual editing context.
|
|
62568
|
+
*/
|
|
62569
|
+
view?: 'full' | 'compact';
|
|
62570
|
+
/**
|
|
62571
|
+
* Optional start of the selected project range in seconds; omit for the beginning.
|
|
62572
|
+
*/
|
|
62573
|
+
from?: number;
|
|
62574
|
+
/**
|
|
62575
|
+
* Optional end of the selected project range in seconds; omit for the end.
|
|
62576
|
+
*/
|
|
62577
|
+
to?: number;
|
|
62578
|
+
/**
|
|
62579
|
+
* Comma-separated track ids from state to include; omit to include every track.
|
|
62580
|
+
*/
|
|
62581
|
+
tracks?: string;
|
|
62582
|
+
};
|
|
62583
|
+
url: '/cut/v1/projects/{project_id}/timeline';
|
|
62584
|
+
};
|
|
62585
|
+
export type CutRetrieveTimelineErrors = {
|
|
62586
|
+
/**
|
|
62587
|
+
* INVALID_PARAMS or BINDING_INVALID means a request field, identifier or library binding is invalid; correct the indicated input before retrying.
|
|
62588
|
+
*/
|
|
62589
|
+
400: CutCutError;
|
|
62590
|
+
/**
|
|
62591
|
+
* The API key is missing, invalid or has no organization; supply a valid organization API key before retrying.
|
|
62592
|
+
*/
|
|
62593
|
+
401: CutCutError;
|
|
62594
|
+
/**
|
|
62595
|
+
* PERMISSION_DENIED means the credential cannot perform this operation; use a key with the required Cut access in the owning organization.
|
|
62596
|
+
*/
|
|
62597
|
+
403: CutCutError;
|
|
62598
|
+
/**
|
|
62599
|
+
* PROJECT_NOT_FOUND, EXPORT_NOT_FOUND, VERSION_NOT_FOUND or LIBRARY_NOT_FOUND means the requested resource is missing, deleted or outside the organization; choose an accessible identifier from its list operation.
|
|
62600
|
+
*/
|
|
62601
|
+
404: CutCutError;
|
|
62602
|
+
/**
|
|
62603
|
+
* REVISION_CONFLICT means the project changed since expected_revision or while preparing the second-based response; retrieve the current state and inspect whether a write committed before retrying, then merge concurrent edits.
|
|
62604
|
+
*/
|
|
62605
|
+
409: CutCutError;
|
|
62606
|
+
/**
|
|
62607
|
+
* PROJECT_TOO_LARGE or RESPONSE_TOO_LARGE means an edit or response exceeds its size limit; reduce the edit batch or narrow the requested timeline range.
|
|
62608
|
+
*/
|
|
62609
|
+
413: CutCutError;
|
|
62610
|
+
/**
|
|
62611
|
+
* INTERNAL means the request could not complete; inspect current project state before retrying a write to avoid duplicating a committed edit.
|
|
62612
|
+
*/
|
|
62613
|
+
500: CutCutError;
|
|
62614
|
+
};
|
|
62615
|
+
export type CutRetrieveTimelineError = CutRetrieveTimelineErrors[keyof CutRetrieveTimelineErrors];
|
|
62616
|
+
export type CutRetrieveTimelineResponses = {
|
|
62617
|
+
/**
|
|
62618
|
+
* Requested resource or operation result; use its revision when preparing a guarded edit.
|
|
62619
|
+
*/
|
|
62620
|
+
200: CutTimelineResult;
|
|
62621
|
+
};
|
|
62622
|
+
export type CutRetrieveTimelineResponse = CutRetrieveTimelineResponses[keyof CutRetrieveTimelineResponses];
|
|
62623
|
+
export type CutListFramesData = {
|
|
62624
|
+
body?: never;
|
|
62625
|
+
path: {
|
|
62626
|
+
/**
|
|
62627
|
+
* Project identifier returned by its create or list operation; use the id, not a display name.
|
|
62628
|
+
*/
|
|
62629
|
+
project_id: string;
|
|
62630
|
+
};
|
|
62631
|
+
query: {
|
|
62632
|
+
/**
|
|
62633
|
+
* Required comma-separated non-negative project times in seconds, for example 12,15.5.
|
|
62634
|
+
*/
|
|
62635
|
+
at: string;
|
|
62636
|
+
/**
|
|
62637
|
+
* Positive image size multiplier; 0.5 renders at half the project dimensions.
|
|
62638
|
+
*/
|
|
62639
|
+
scale?: number;
|
|
62640
|
+
/**
|
|
62641
|
+
* Committed project revision from retrieve, state, timeline or execute; increases after each successful write.
|
|
62642
|
+
*/
|
|
62643
|
+
revision?: number;
|
|
62644
|
+
};
|
|
62645
|
+
url: '/cut/v1/projects/{project_id}/frames';
|
|
62646
|
+
};
|
|
62647
|
+
export type CutListFramesErrors = {
|
|
62648
|
+
/**
|
|
62649
|
+
* INVALID_PARAMS or BINDING_INVALID means a request field, identifier or library binding is invalid; correct the indicated input before retrying.
|
|
62650
|
+
*/
|
|
62651
|
+
400: CutCutError;
|
|
62652
|
+
/**
|
|
62653
|
+
* The API key is missing, invalid or has no organization; supply a valid organization API key before retrying.
|
|
62654
|
+
*/
|
|
62655
|
+
401: CutCutError;
|
|
62656
|
+
/**
|
|
62657
|
+
* PERMISSION_DENIED means the credential cannot perform this operation; use a key with the required Cut access in the owning organization.
|
|
62658
|
+
*/
|
|
62659
|
+
403: CutCutError;
|
|
62660
|
+
/**
|
|
62661
|
+
* PROJECT_NOT_FOUND, EXPORT_NOT_FOUND, VERSION_NOT_FOUND or LIBRARY_NOT_FOUND means the requested resource is missing, deleted or outside the organization; choose an accessible identifier from its list operation.
|
|
62662
|
+
*/
|
|
62663
|
+
404: CutCutError;
|
|
62664
|
+
/**
|
|
62665
|
+
* PROJECT_TOO_LARGE or RESPONSE_TOO_LARGE means an edit or response exceeds its size limit; reduce the edit batch or narrow the requested timeline range.
|
|
62666
|
+
*/
|
|
62667
|
+
413: CutCutError;
|
|
62668
|
+
/**
|
|
62669
|
+
* CUT_BUSY means too much work is queued for this project; let pending work complete before retrying.
|
|
62670
|
+
*/
|
|
62671
|
+
429: CutCutError;
|
|
62672
|
+
/**
|
|
62673
|
+
* INTERNAL means the request could not complete; inspect current project state before retrying a write to avoid duplicating a committed edit.
|
|
62674
|
+
*/
|
|
62675
|
+
500: CutCutError;
|
|
62676
|
+
/**
|
|
62677
|
+
* MEDIA_OFFLINE, MEDIA_UNAVAILABLE, MEDIA_IMPORT_FAILED or EXPORT_FAILED means required media or rendering could not complete; inspect source availability or the export error before retrying.
|
|
62678
|
+
*/
|
|
62679
|
+
503: CutCutError;
|
|
62680
|
+
};
|
|
62681
|
+
export type CutListFramesError = CutListFramesErrors[keyof CutListFramesErrors];
|
|
62682
|
+
export type CutListFramesResponses = {
|
|
62683
|
+
/**
|
|
62684
|
+
* Requested resource or operation result; use its revision when preparing a guarded edit.
|
|
62685
|
+
*/
|
|
62686
|
+
200: CutFramesResult;
|
|
62687
|
+
};
|
|
62688
|
+
export type CutListFramesResponse = CutListFramesResponses[keyof CutListFramesResponses];
|
|
62689
|
+
export type CutCreateAnalysisData = {
|
|
62690
|
+
/**
|
|
62691
|
+
* Select analysis kinds and optionally limit source assets.
|
|
62692
|
+
*/
|
|
62693
|
+
body: CutAnalysisInput;
|
|
62694
|
+
path: {
|
|
62695
|
+
/**
|
|
62696
|
+
* Project identifier returned by its create or list operation; use the id, not a display name.
|
|
62697
|
+
*/
|
|
62698
|
+
project_id: string;
|
|
62699
|
+
};
|
|
62700
|
+
query?: never;
|
|
62701
|
+
url: '/cut/v1/projects/{project_id}/analysis';
|
|
62702
|
+
};
|
|
62703
|
+
export type CutCreateAnalysisErrors = {
|
|
62704
|
+
/**
|
|
62705
|
+
* INVALID_PARAMS or BINDING_INVALID means a request field, identifier or library binding is invalid; correct the indicated input before retrying.
|
|
62706
|
+
*/
|
|
62707
|
+
400: CutCutError;
|
|
62708
|
+
/**
|
|
62709
|
+
* The API key is missing, invalid or has no organization; supply a valid organization API key before retrying.
|
|
62710
|
+
*/
|
|
62711
|
+
401: CutCutError;
|
|
62712
|
+
/**
|
|
62713
|
+
* PERMISSION_DENIED means the credential cannot perform this operation; use a key with the required Cut access in the owning organization.
|
|
62714
|
+
*/
|
|
62715
|
+
403: CutCutError;
|
|
62716
|
+
/**
|
|
62717
|
+
* PROJECT_NOT_FOUND, EXPORT_NOT_FOUND, VERSION_NOT_FOUND or LIBRARY_NOT_FOUND means the requested resource is missing, deleted or outside the organization; choose an accessible identifier from its list operation.
|
|
62718
|
+
*/
|
|
62719
|
+
404: CutCutError;
|
|
62720
|
+
/**
|
|
62721
|
+
* INTERNAL means the request could not complete; inspect current project state before retrying a write to avoid duplicating a committed edit.
|
|
62722
|
+
*/
|
|
62723
|
+
500: CutCutError;
|
|
62724
|
+
/**
|
|
62725
|
+
* MEDIA_OFFLINE, MEDIA_UNAVAILABLE, MEDIA_IMPORT_FAILED or EXPORT_FAILED means required media or rendering could not complete; inspect source availability or the export error before retrying.
|
|
62726
|
+
*/
|
|
62727
|
+
503: CutCutError;
|
|
62728
|
+
};
|
|
62729
|
+
export type CutCreateAnalysisError = CutCreateAnalysisErrors[keyof CutCreateAnalysisErrors];
|
|
62730
|
+
export type CutCreateAnalysisResponses = {
|
|
62731
|
+
/**
|
|
62732
|
+
* Requested resource or operation result; use its revision when preparing a guarded edit.
|
|
62733
|
+
*/
|
|
62734
|
+
200: CutAnalysisResult;
|
|
62735
|
+
};
|
|
62736
|
+
export type CutCreateAnalysisResponse = CutCreateAnalysisResponses[keyof CutCreateAnalysisResponses];
|
|
62737
|
+
export type CutListBindingsData = {
|
|
62738
|
+
body?: never;
|
|
62739
|
+
path: {
|
|
62740
|
+
/**
|
|
62741
|
+
* Project identifier returned by its create or list operation; use the id, not a display name.
|
|
62742
|
+
*/
|
|
62743
|
+
project_id: string;
|
|
62744
|
+
};
|
|
62745
|
+
query?: never;
|
|
62746
|
+
url: '/cut/v1/projects/{project_id}/bindings';
|
|
62747
|
+
};
|
|
62748
|
+
export type CutListBindingsErrors = {
|
|
62749
|
+
/**
|
|
62750
|
+
* INVALID_PARAMS or BINDING_INVALID means a request field, identifier or library binding is invalid; correct the indicated input before retrying.
|
|
62751
|
+
*/
|
|
62752
|
+
400: CutCutError;
|
|
62753
|
+
/**
|
|
62754
|
+
* The API key is missing, invalid or has no organization; supply a valid organization API key before retrying.
|
|
62755
|
+
*/
|
|
62756
|
+
401: CutCutError;
|
|
62757
|
+
/**
|
|
62758
|
+
* PERMISSION_DENIED means the credential cannot perform this operation; use a key with the required Cut access in the owning organization.
|
|
62759
|
+
*/
|
|
62760
|
+
403: CutCutError;
|
|
62761
|
+
/**
|
|
62762
|
+
* PROJECT_NOT_FOUND, EXPORT_NOT_FOUND, VERSION_NOT_FOUND or LIBRARY_NOT_FOUND means the requested resource is missing, deleted or outside the organization; choose an accessible identifier from its list operation.
|
|
62763
|
+
*/
|
|
62764
|
+
404: CutCutError;
|
|
62765
|
+
/**
|
|
62766
|
+
* INTERNAL means the request could not complete; inspect current project state before retrying a write to avoid duplicating a committed edit.
|
|
62767
|
+
*/
|
|
62768
|
+
500: CutCutError;
|
|
62769
|
+
};
|
|
62770
|
+
export type CutListBindingsError = CutListBindingsErrors[keyof CutListBindingsErrors];
|
|
62771
|
+
export type CutListBindingsResponses = {
|
|
62772
|
+
/**
|
|
62773
|
+
* Requested resource or operation result; use its revision when preparing a guarded edit.
|
|
62774
|
+
*/
|
|
62775
|
+
200: CutBindingsResult;
|
|
62776
|
+
};
|
|
62777
|
+
export type CutListBindingsResponse = CutListBindingsResponses[keyof CutListBindingsResponses];
|
|
62778
|
+
export type CutCreateBindingData = {
|
|
62779
|
+
/**
|
|
62780
|
+
* Attach a media library using a project-local name.
|
|
62781
|
+
*/
|
|
62782
|
+
body: CutBindingInput;
|
|
62783
|
+
path: {
|
|
62784
|
+
/**
|
|
62785
|
+
* Project identifier returned by its create or list operation; use the id, not a display name.
|
|
62786
|
+
*/
|
|
62787
|
+
project_id: string;
|
|
62788
|
+
};
|
|
62789
|
+
query?: never;
|
|
62790
|
+
url: '/cut/v1/projects/{project_id}/bindings';
|
|
62791
|
+
};
|
|
62792
|
+
export type CutCreateBindingErrors = {
|
|
62793
|
+
/**
|
|
62794
|
+
* INVALID_PARAMS or BINDING_INVALID means a request field, identifier or library binding is invalid; correct the indicated input before retrying.
|
|
62795
|
+
*/
|
|
62796
|
+
400: CutCutError;
|
|
62797
|
+
/**
|
|
62798
|
+
* The API key is missing, invalid or has no organization; supply a valid organization API key before retrying.
|
|
62799
|
+
*/
|
|
62800
|
+
401: CutCutError;
|
|
62801
|
+
/**
|
|
62802
|
+
* PERMISSION_DENIED means the credential cannot perform this operation; use a key with the required Cut access in the owning organization.
|
|
62803
|
+
*/
|
|
62804
|
+
403: CutCutError;
|
|
62805
|
+
/**
|
|
62806
|
+
* PROJECT_NOT_FOUND, EXPORT_NOT_FOUND, VERSION_NOT_FOUND or LIBRARY_NOT_FOUND means the requested resource is missing, deleted or outside the organization; choose an accessible identifier from its list operation.
|
|
62807
|
+
*/
|
|
62808
|
+
404: CutCutError;
|
|
62809
|
+
/**
|
|
62810
|
+
* INTERNAL means the request could not complete; inspect current project state before retrying a write to avoid duplicating a committed edit.
|
|
62811
|
+
*/
|
|
62812
|
+
500: CutCutError;
|
|
62813
|
+
};
|
|
62814
|
+
export type CutCreateBindingError = CutCreateBindingErrors[keyof CutCreateBindingErrors];
|
|
62815
|
+
export type CutCreateBindingResponses = {
|
|
62816
|
+
/**
|
|
62817
|
+
* New resource; save its id for subsequent calls.
|
|
62818
|
+
*/
|
|
62819
|
+
201: CutBinding;
|
|
62820
|
+
};
|
|
62821
|
+
export type CutCreateBindingResponse = CutCreateBindingResponses[keyof CutCreateBindingResponses];
|
|
62822
|
+
export type CutDeleteBindingData = {
|
|
62823
|
+
body?: never;
|
|
62824
|
+
path: {
|
|
62825
|
+
/**
|
|
62826
|
+
* Project identifier returned by its create or list operation; use the id, not a display name.
|
|
62827
|
+
*/
|
|
62828
|
+
project_id: string;
|
|
62829
|
+
/**
|
|
62830
|
+
* Project-local binding alias from bindings.list; detach only after removing all clips that reference its library.
|
|
62831
|
+
*/
|
|
62832
|
+
name: string;
|
|
62833
|
+
};
|
|
62834
|
+
query?: never;
|
|
62835
|
+
url: '/cut/v1/projects/{project_id}/bindings/{name}';
|
|
62836
|
+
};
|
|
62837
|
+
export type CutDeleteBindingErrors = {
|
|
62838
|
+
/**
|
|
62839
|
+
* INVALID_PARAMS or BINDING_INVALID means a request field, identifier or library binding is invalid; correct the indicated input before retrying.
|
|
62840
|
+
*/
|
|
62841
|
+
400: CutCutError;
|
|
62842
|
+
/**
|
|
62843
|
+
* The API key is missing, invalid or has no organization; supply a valid organization API key before retrying.
|
|
62844
|
+
*/
|
|
62845
|
+
401: CutCutError;
|
|
62846
|
+
/**
|
|
62847
|
+
* PERMISSION_DENIED means the credential cannot perform this operation; use a key with the required Cut access in the owning organization.
|
|
62848
|
+
*/
|
|
62849
|
+
403: CutCutError;
|
|
62850
|
+
/**
|
|
62851
|
+
* PROJECT_NOT_FOUND, EXPORT_NOT_FOUND, VERSION_NOT_FOUND or LIBRARY_NOT_FOUND means the requested resource is missing, deleted or outside the organization; choose an accessible identifier from its list operation.
|
|
62852
|
+
*/
|
|
62853
|
+
404: CutCutError;
|
|
62854
|
+
/**
|
|
62855
|
+
* BINDING_IN_USE means timeline clips still reference this library; remove or replace those clips before detaching the binding.
|
|
62856
|
+
*/
|
|
62857
|
+
409: CutCutError;
|
|
62858
|
+
/**
|
|
62859
|
+
* INTERNAL means the request could not complete; inspect current project state before retrying a write to avoid duplicating a committed edit.
|
|
62860
|
+
*/
|
|
62861
|
+
500: CutCutError;
|
|
62862
|
+
};
|
|
62863
|
+
export type CutDeleteBindingError = CutDeleteBindingErrors[keyof CutDeleteBindingErrors];
|
|
62864
|
+
export type CutDeleteBindingResponses = {
|
|
62865
|
+
/**
|
|
62866
|
+
* Requested resource or operation result; use its revision when preparing a guarded edit.
|
|
62867
|
+
*/
|
|
62868
|
+
200: CutDeletedBinding;
|
|
62869
|
+
};
|
|
62870
|
+
export type CutDeleteBindingResponse = CutDeleteBindingResponses[keyof CutDeleteBindingResponses];
|
|
62871
|
+
export type CutImportMediaData = {
|
|
62872
|
+
/**
|
|
62873
|
+
* Import one external asset into a writable project library.
|
|
62874
|
+
*/
|
|
62875
|
+
body: CutMediaImportInput;
|
|
62876
|
+
path: {
|
|
62877
|
+
/**
|
|
62878
|
+
* Project identifier returned by its create or list operation; use the id, not a display name.
|
|
62879
|
+
*/
|
|
62880
|
+
project_id: string;
|
|
62881
|
+
};
|
|
62882
|
+
query?: never;
|
|
62883
|
+
url: '/cut/v1/projects/{project_id}/media:import';
|
|
62884
|
+
};
|
|
62885
|
+
export type CutImportMediaErrors = {
|
|
62886
|
+
/**
|
|
62887
|
+
* INVALID_PARAMS or BINDING_INVALID means a request field, identifier or library binding is invalid; correct the indicated input before retrying.
|
|
62888
|
+
*/
|
|
62889
|
+
400: CutCutError;
|
|
62890
|
+
/**
|
|
62891
|
+
* The API key is missing, invalid or has no organization; supply a valid organization API key before retrying.
|
|
62892
|
+
*/
|
|
62893
|
+
401: CutCutError;
|
|
62894
|
+
/**
|
|
62895
|
+
* PERMISSION_DENIED means the credential cannot perform this operation; use a key with the required Cut access in the owning organization.
|
|
62896
|
+
*/
|
|
62897
|
+
403: CutCutError;
|
|
62898
|
+
/**
|
|
62899
|
+
* PROJECT_NOT_FOUND, EXPORT_NOT_FOUND, VERSION_NOT_FOUND or LIBRARY_NOT_FOUND means the requested resource is missing, deleted or outside the organization; choose an accessible identifier from its list operation.
|
|
62900
|
+
*/
|
|
62901
|
+
404: CutCutError;
|
|
62902
|
+
/**
|
|
62903
|
+
* INTERNAL means the request could not complete; inspect current project state before retrying a write to avoid duplicating a committed edit.
|
|
62904
|
+
*/
|
|
62905
|
+
500: CutCutError;
|
|
62906
|
+
/**
|
|
62907
|
+
* MEDIA_OFFLINE, MEDIA_UNAVAILABLE, MEDIA_IMPORT_FAILED or EXPORT_FAILED means required media or rendering could not complete; inspect source availability or the export error before retrying.
|
|
62908
|
+
*/
|
|
62909
|
+
503: CutCutError;
|
|
62910
|
+
};
|
|
62911
|
+
export type CutImportMediaError = CutImportMediaErrors[keyof CutImportMediaErrors];
|
|
62912
|
+
export type CutImportMediaResponses = {
|
|
62913
|
+
/**
|
|
62914
|
+
* Requested resource or operation result; use its revision when preparing a guarded edit.
|
|
62915
|
+
*/
|
|
62916
|
+
200: CutImportedMedia;
|
|
62917
|
+
};
|
|
62918
|
+
export type CutImportMediaResponse = CutImportMediaResponses[keyof CutImportMediaResponses];
|
|
62919
|
+
export type CutListExportsData = {
|
|
62920
|
+
body?: never;
|
|
62921
|
+
path: {
|
|
62922
|
+
/**
|
|
62923
|
+
* Project identifier returned by its create or list operation; use the id, not a display name.
|
|
62924
|
+
*/
|
|
62925
|
+
project_id: string;
|
|
62926
|
+
};
|
|
62927
|
+
query?: {
|
|
62928
|
+
/**
|
|
62929
|
+
* Maximum resources in one page, from 1 to 100; defaults to 50.
|
|
62930
|
+
*/
|
|
62931
|
+
page_size?: number;
|
|
62932
|
+
/**
|
|
62933
|
+
* Opaque next_page_token from the preceding page; omit on the first request.
|
|
62934
|
+
*/
|
|
62935
|
+
page_token?: string;
|
|
62936
|
+
/**
|
|
62937
|
+
* Optional resource filter; projects supports state = "active" or state = "deleted".
|
|
62938
|
+
*/
|
|
62939
|
+
filter?: string;
|
|
62940
|
+
/**
|
|
62941
|
+
* Optional ordering expression; projects supports updateTime desc.
|
|
62942
|
+
*/
|
|
62943
|
+
order_by?: string;
|
|
62944
|
+
};
|
|
62945
|
+
url: '/cut/v1/projects/{project_id}/exports';
|
|
62946
|
+
};
|
|
62947
|
+
export type CutListExportsErrors = {
|
|
62948
|
+
/**
|
|
62949
|
+
* INVALID_PARAMS or BINDING_INVALID means a request field, identifier or library binding is invalid; correct the indicated input before retrying.
|
|
62950
|
+
*/
|
|
62951
|
+
400: CutCutError;
|
|
62952
|
+
/**
|
|
62953
|
+
* The API key is missing, invalid or has no organization; supply a valid organization API key before retrying.
|
|
62954
|
+
*/
|
|
62955
|
+
401: CutCutError;
|
|
62956
|
+
/**
|
|
62957
|
+
* PERMISSION_DENIED means the credential cannot perform this operation; use a key with the required Cut access in the owning organization.
|
|
62958
|
+
*/
|
|
62959
|
+
403: CutCutError;
|
|
62960
|
+
/**
|
|
62961
|
+
* PROJECT_NOT_FOUND, EXPORT_NOT_FOUND, VERSION_NOT_FOUND or LIBRARY_NOT_FOUND means the requested resource is missing, deleted or outside the organization; choose an accessible identifier from its list operation.
|
|
62962
|
+
*/
|
|
62963
|
+
404: CutCutError;
|
|
62964
|
+
/**
|
|
62965
|
+
* INTERNAL means the request could not complete; inspect current project state before retrying a write to avoid duplicating a committed edit.
|
|
62966
|
+
*/
|
|
62967
|
+
500: CutCutError;
|
|
62968
|
+
};
|
|
62969
|
+
export type CutListExportsError = CutListExportsErrors[keyof CutListExportsErrors];
|
|
62970
|
+
export type CutListExportsResponses = {
|
|
62971
|
+
/**
|
|
62972
|
+
* Requested resource or operation result; use its revision when preparing a guarded edit.
|
|
62973
|
+
*/
|
|
62974
|
+
200: CutExportPage;
|
|
62975
|
+
};
|
|
62976
|
+
export type CutListExportsResponse = CutListExportsResponses[keyof CutListExportsResponses];
|
|
62977
|
+
export type CutCreateExportData = {
|
|
62978
|
+
/**
|
|
62979
|
+
* Start an export from a project revision into a bound library.
|
|
62980
|
+
*/
|
|
62981
|
+
body: CutExportInput;
|
|
62982
|
+
path: {
|
|
62983
|
+
/**
|
|
62984
|
+
* Project identifier returned by its create or list operation; use the id, not a display name.
|
|
62985
|
+
*/
|
|
62986
|
+
project_id: string;
|
|
62987
|
+
};
|
|
62988
|
+
query?: never;
|
|
62989
|
+
url: '/cut/v1/projects/{project_id}/exports';
|
|
62990
|
+
};
|
|
62991
|
+
export type CutCreateExportErrors = {
|
|
62992
|
+
/**
|
|
62993
|
+
* INVALID_PARAMS or BINDING_INVALID means a request field, identifier or library binding is invalid; correct the indicated input before retrying.
|
|
62994
|
+
*/
|
|
62995
|
+
400: CutCutError;
|
|
62996
|
+
/**
|
|
62997
|
+
* The API key is missing, invalid or has no organization; supply a valid organization API key before retrying.
|
|
62998
|
+
*/
|
|
62999
|
+
401: CutCutError;
|
|
63000
|
+
/**
|
|
63001
|
+
* PERMISSION_DENIED means the credential cannot perform this operation; use a key with the required Cut access in the owning organization.
|
|
63002
|
+
*/
|
|
63003
|
+
403: CutCutError;
|
|
63004
|
+
/**
|
|
63005
|
+
* PROJECT_NOT_FOUND, EXPORT_NOT_FOUND, VERSION_NOT_FOUND or LIBRARY_NOT_FOUND means the requested resource is missing, deleted or outside the organization; choose an accessible identifier from its list operation.
|
|
63006
|
+
*/
|
|
63007
|
+
404: CutCutError;
|
|
63008
|
+
/**
|
|
63009
|
+
* CUT_BUSY means too much work is queued for this project; let pending work complete before retrying.
|
|
63010
|
+
*/
|
|
63011
|
+
429: CutCutError;
|
|
63012
|
+
/**
|
|
63013
|
+
* INTERNAL means the request could not complete; inspect current project state before retrying a write to avoid duplicating a committed edit.
|
|
63014
|
+
*/
|
|
63015
|
+
500: CutCutError;
|
|
63016
|
+
/**
|
|
63017
|
+
* MEDIA_OFFLINE, MEDIA_UNAVAILABLE, MEDIA_IMPORT_FAILED or EXPORT_FAILED means required media or rendering could not complete; inspect source availability or the export error before retrying.
|
|
63018
|
+
*/
|
|
63019
|
+
503: CutCutError;
|
|
63020
|
+
};
|
|
63021
|
+
export type CutCreateExportError = CutCreateExportErrors[keyof CutCreateExportErrors];
|
|
63022
|
+
export type CutCreateExportResponses = {
|
|
63023
|
+
/**
|
|
63024
|
+
* Export accepted; poll exports.retrieve until status is done, failed or canceled.
|
|
63025
|
+
*/
|
|
63026
|
+
202: CutExport;
|
|
63027
|
+
};
|
|
63028
|
+
export type CutCreateExportResponse = CutCreateExportResponses[keyof CutCreateExportResponses];
|
|
63029
|
+
export type CutRetrieveExportData = {
|
|
63030
|
+
body?: never;
|
|
63031
|
+
path: {
|
|
63032
|
+
/**
|
|
63033
|
+
* Export identifier returned by its create or list operation; use the id, not a display name.
|
|
63034
|
+
*/
|
|
63035
|
+
export_id: string;
|
|
63036
|
+
};
|
|
63037
|
+
query?: never;
|
|
63038
|
+
url: '/cut/v1/exports/{export_id}';
|
|
63039
|
+
};
|
|
63040
|
+
export type CutRetrieveExportErrors = {
|
|
63041
|
+
/**
|
|
63042
|
+
* INVALID_PARAMS or BINDING_INVALID means a request field, identifier or library binding is invalid; correct the indicated input before retrying.
|
|
63043
|
+
*/
|
|
63044
|
+
400: CutCutError;
|
|
63045
|
+
/**
|
|
63046
|
+
* The API key is missing, invalid or has no organization; supply a valid organization API key before retrying.
|
|
63047
|
+
*/
|
|
63048
|
+
401: CutCutError;
|
|
63049
|
+
/**
|
|
63050
|
+
* PERMISSION_DENIED means the credential cannot perform this operation; use a key with the required Cut access in the owning organization.
|
|
63051
|
+
*/
|
|
63052
|
+
403: CutCutError;
|
|
63053
|
+
/**
|
|
63054
|
+
* PROJECT_NOT_FOUND, EXPORT_NOT_FOUND, VERSION_NOT_FOUND or LIBRARY_NOT_FOUND means the requested resource is missing, deleted or outside the organization; choose an accessible identifier from its list operation.
|
|
63055
|
+
*/
|
|
63056
|
+
404: CutCutError;
|
|
63057
|
+
/**
|
|
63058
|
+
* INTERNAL means the request could not complete; inspect current project state before retrying a write to avoid duplicating a committed edit.
|
|
63059
|
+
*/
|
|
63060
|
+
500: CutCutError;
|
|
63061
|
+
};
|
|
63062
|
+
export type CutRetrieveExportError = CutRetrieveExportErrors[keyof CutRetrieveExportErrors];
|
|
63063
|
+
export type CutRetrieveExportResponses = {
|
|
63064
|
+
/**
|
|
63065
|
+
* Requested resource or operation result; use its revision when preparing a guarded edit.
|
|
63066
|
+
*/
|
|
63067
|
+
200: CutExport;
|
|
63068
|
+
};
|
|
63069
|
+
export type CutRetrieveExportResponse = CutRetrieveExportResponses[keyof CutRetrieveExportResponses];
|
|
63070
|
+
export type CutCancelExportData = {
|
|
63071
|
+
body?: never;
|
|
63072
|
+
path: {
|
|
63073
|
+
/**
|
|
63074
|
+
* Export identifier returned by its create or list operation; use the id, not a display name.
|
|
63075
|
+
*/
|
|
63076
|
+
export_id: string;
|
|
63077
|
+
};
|
|
63078
|
+
query?: never;
|
|
63079
|
+
url: '/cut/v1/exports/{export_id}:cancel';
|
|
63080
|
+
};
|
|
63081
|
+
export type CutCancelExportErrors = {
|
|
63082
|
+
/**
|
|
63083
|
+
* INVALID_PARAMS or BINDING_INVALID means a request field, identifier or library binding is invalid; correct the indicated input before retrying.
|
|
63084
|
+
*/
|
|
63085
|
+
400: CutCutError;
|
|
63086
|
+
/**
|
|
63087
|
+
* The API key is missing, invalid or has no organization; supply a valid organization API key before retrying.
|
|
63088
|
+
*/
|
|
63089
|
+
401: CutCutError;
|
|
63090
|
+
/**
|
|
63091
|
+
* PERMISSION_DENIED means the credential cannot perform this operation; use a key with the required Cut access in the owning organization.
|
|
63092
|
+
*/
|
|
63093
|
+
403: CutCutError;
|
|
63094
|
+
/**
|
|
63095
|
+
* PROJECT_NOT_FOUND, EXPORT_NOT_FOUND, VERSION_NOT_FOUND or LIBRARY_NOT_FOUND means the requested resource is missing, deleted or outside the organization; choose an accessible identifier from its list operation.
|
|
63096
|
+
*/
|
|
63097
|
+
404: CutCutError;
|
|
63098
|
+
/**
|
|
63099
|
+
* INTERNAL means the request could not complete; inspect current project state before retrying a write to avoid duplicating a committed edit.
|
|
63100
|
+
*/
|
|
63101
|
+
500: CutCutError;
|
|
63102
|
+
};
|
|
63103
|
+
export type CutCancelExportError = CutCancelExportErrors[keyof CutCancelExportErrors];
|
|
63104
|
+
export type CutCancelExportResponses = {
|
|
63105
|
+
/**
|
|
63106
|
+
* Requested resource or operation result; use its revision when preparing a guarded edit.
|
|
63107
|
+
*/
|
|
63108
|
+
200: CutExport;
|
|
63109
|
+
};
|
|
63110
|
+
export type CutCancelExportResponse = CutCancelExportResponses[keyof CutCancelExportResponses];
|
|
63111
|
+
export type CutListVersionsData = {
|
|
63112
|
+
body?: never;
|
|
63113
|
+
path: {
|
|
63114
|
+
/**
|
|
63115
|
+
* Project identifier returned by its create or list operation; use the id, not a display name.
|
|
63116
|
+
*/
|
|
63117
|
+
project_id: string;
|
|
63118
|
+
};
|
|
63119
|
+
query?: {
|
|
63120
|
+
/**
|
|
63121
|
+
* Maximum resources in one page, from 1 to 100; defaults to 50.
|
|
63122
|
+
*/
|
|
63123
|
+
page_size?: number;
|
|
63124
|
+
/**
|
|
63125
|
+
* Opaque next_page_token from the preceding page; omit on the first request.
|
|
63126
|
+
*/
|
|
63127
|
+
page_token?: string;
|
|
63128
|
+
/**
|
|
63129
|
+
* Optional resource filter; projects supports state = "active" or state = "deleted".
|
|
63130
|
+
*/
|
|
63131
|
+
filter?: string;
|
|
63132
|
+
/**
|
|
63133
|
+
* Optional ordering expression; projects supports updateTime desc.
|
|
63134
|
+
*/
|
|
63135
|
+
order_by?: string;
|
|
63136
|
+
};
|
|
63137
|
+
url: '/cut/v1/projects/{project_id}/versions';
|
|
63138
|
+
};
|
|
63139
|
+
export type CutListVersionsErrors = {
|
|
63140
|
+
/**
|
|
63141
|
+
* INVALID_PARAMS or BINDING_INVALID means a request field, identifier or library binding is invalid; correct the indicated input before retrying.
|
|
63142
|
+
*/
|
|
63143
|
+
400: CutCutError;
|
|
63144
|
+
/**
|
|
63145
|
+
* The API key is missing, invalid or has no organization; supply a valid organization API key before retrying.
|
|
63146
|
+
*/
|
|
63147
|
+
401: CutCutError;
|
|
63148
|
+
/**
|
|
63149
|
+
* PERMISSION_DENIED means the credential cannot perform this operation; use a key with the required Cut access in the owning organization.
|
|
63150
|
+
*/
|
|
63151
|
+
403: CutCutError;
|
|
63152
|
+
/**
|
|
63153
|
+
* PROJECT_NOT_FOUND, EXPORT_NOT_FOUND, VERSION_NOT_FOUND or LIBRARY_NOT_FOUND means the requested resource is missing, deleted or outside the organization; choose an accessible identifier from its list operation.
|
|
63154
|
+
*/
|
|
63155
|
+
404: CutCutError;
|
|
63156
|
+
/**
|
|
63157
|
+
* INTERNAL means the request could not complete; inspect current project state before retrying a write to avoid duplicating a committed edit.
|
|
63158
|
+
*/
|
|
63159
|
+
500: CutCutError;
|
|
63160
|
+
};
|
|
63161
|
+
export type CutListVersionsError = CutListVersionsErrors[keyof CutListVersionsErrors];
|
|
63162
|
+
export type CutListVersionsResponses = {
|
|
63163
|
+
/**
|
|
63164
|
+
* Requested resource or operation result; use its revision when preparing a guarded edit.
|
|
63165
|
+
*/
|
|
63166
|
+
200: CutVersionPage;
|
|
63167
|
+
};
|
|
63168
|
+
export type CutListVersionsResponse = CutListVersionsResponses[keyof CutListVersionsResponses];
|
|
63169
|
+
export type CutCreateVersionData = {
|
|
63170
|
+
/**
|
|
63171
|
+
* Save the current project revision with an optional label.
|
|
63172
|
+
*/
|
|
63173
|
+
body: CutVersionInput;
|
|
63174
|
+
path: {
|
|
63175
|
+
/**
|
|
63176
|
+
* Project identifier returned by its create or list operation; use the id, not a display name.
|
|
63177
|
+
*/
|
|
63178
|
+
project_id: string;
|
|
63179
|
+
};
|
|
63180
|
+
query?: never;
|
|
63181
|
+
url: '/cut/v1/projects/{project_id}/versions';
|
|
63182
|
+
};
|
|
63183
|
+
export type CutCreateVersionErrors = {
|
|
63184
|
+
/**
|
|
63185
|
+
* INVALID_PARAMS or BINDING_INVALID means a request field, identifier or library binding is invalid; correct the indicated input before retrying.
|
|
63186
|
+
*/
|
|
63187
|
+
400: CutCutError;
|
|
63188
|
+
/**
|
|
63189
|
+
* The API key is missing, invalid or has no organization; supply a valid organization API key before retrying.
|
|
63190
|
+
*/
|
|
63191
|
+
401: CutCutError;
|
|
63192
|
+
/**
|
|
63193
|
+
* PERMISSION_DENIED means the credential cannot perform this operation; use a key with the required Cut access in the owning organization.
|
|
63194
|
+
*/
|
|
63195
|
+
403: CutCutError;
|
|
63196
|
+
/**
|
|
63197
|
+
* PROJECT_NOT_FOUND, EXPORT_NOT_FOUND, VERSION_NOT_FOUND or LIBRARY_NOT_FOUND means the requested resource is missing, deleted or outside the organization; choose an accessible identifier from its list operation.
|
|
63198
|
+
*/
|
|
63199
|
+
404: CutCutError;
|
|
63200
|
+
/**
|
|
63201
|
+
* INTERNAL means the request could not complete; inspect current project state before retrying a write to avoid duplicating a committed edit.
|
|
63202
|
+
*/
|
|
63203
|
+
500: CutCutError;
|
|
63204
|
+
};
|
|
63205
|
+
export type CutCreateVersionError = CutCreateVersionErrors[keyof CutCreateVersionErrors];
|
|
63206
|
+
export type CutCreateVersionResponses = {
|
|
63207
|
+
/**
|
|
63208
|
+
* New resource; save its id for subsequent calls.
|
|
63209
|
+
*/
|
|
63210
|
+
201: CutVersion;
|
|
63211
|
+
};
|
|
63212
|
+
export type CutCreateVersionResponse = CutCreateVersionResponses[keyof CutCreateVersionResponses];
|
|
63213
|
+
export type CutRestoreVersionData = {
|
|
63214
|
+
body?: never;
|
|
63215
|
+
path: {
|
|
63216
|
+
/**
|
|
63217
|
+
* Version identifier returned by its create or list operation; use the id, not a display name.
|
|
63218
|
+
*/
|
|
63219
|
+
version_id: string;
|
|
63220
|
+
};
|
|
63221
|
+
query?: never;
|
|
63222
|
+
url: '/cut/v1/versions/{version_id}:restore';
|
|
63223
|
+
};
|
|
63224
|
+
export type CutRestoreVersionErrors = {
|
|
63225
|
+
/**
|
|
63226
|
+
* INVALID_PARAMS or BINDING_INVALID means a request field, identifier or library binding is invalid; correct the indicated input before retrying.
|
|
63227
|
+
*/
|
|
63228
|
+
400: CutCutError;
|
|
63229
|
+
/**
|
|
63230
|
+
* The API key is missing, invalid or has no organization; supply a valid organization API key before retrying.
|
|
63231
|
+
*/
|
|
63232
|
+
401: CutCutError;
|
|
63233
|
+
/**
|
|
63234
|
+
* PERMISSION_DENIED means the credential cannot perform this operation; use a key with the required Cut access in the owning organization.
|
|
63235
|
+
*/
|
|
63236
|
+
403: CutCutError;
|
|
63237
|
+
/**
|
|
63238
|
+
* PROJECT_NOT_FOUND, EXPORT_NOT_FOUND, VERSION_NOT_FOUND or LIBRARY_NOT_FOUND means the requested resource is missing, deleted or outside the organization; choose an accessible identifier from its list operation.
|
|
63239
|
+
*/
|
|
63240
|
+
404: CutCutError;
|
|
63241
|
+
/**
|
|
63242
|
+
* REVISION_CONFLICT means the project changed since expected_revision or while preparing the second-based response; retrieve the current state and inspect whether a write committed before retrying, then merge concurrent edits.
|
|
63243
|
+
*/
|
|
63244
|
+
409: CutCutError;
|
|
63245
|
+
/**
|
|
63246
|
+
* PROJECT_TOO_LARGE or RESPONSE_TOO_LARGE means an edit or response exceeds its size limit; reduce the edit batch or narrow the requested timeline range.
|
|
63247
|
+
*/
|
|
63248
|
+
413: CutCutError;
|
|
63249
|
+
/**
|
|
63250
|
+
* INTERNAL means the request could not complete; inspect current project state before retrying a write to avoid duplicating a committed edit.
|
|
63251
|
+
*/
|
|
63252
|
+
500: CutCutError;
|
|
63253
|
+
};
|
|
63254
|
+
export type CutRestoreVersionError = CutRestoreVersionErrors[keyof CutRestoreVersionErrors];
|
|
63255
|
+
export type CutRestoreVersionResponses = {
|
|
63256
|
+
/**
|
|
63257
|
+
* Requested resource or operation result; use its revision when preparing a guarded edit.
|
|
63258
|
+
*/
|
|
63259
|
+
200: CutTransaction;
|
|
63260
|
+
};
|
|
63261
|
+
export type CutRestoreVersionResponse = CutRestoreVersionResponses[keyof CutRestoreVersionResponses];
|
|
60761
63262
|
export type DatabaseListDatabasesData = {
|
|
60762
63263
|
body?: never;
|
|
60763
63264
|
path?: never;
|