@deepraxis/sdk 0.1.1-dev.41a24b1 → 0.1.1-dev.4421e6c
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 +14 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +96 -42
- package/dist/generated/sdk.gen.js +123 -41
- package/dist/generated/types.gen.d.ts +860 -109
- package/dist/operations.generated.d.ts +159 -54
- package/dist/operations.generated.js +189 -53
- package/dist/resources.generated.d.ts +13 -0
- package/dist/resources.generated.js +7 -0
- package/package.json +1 -1
|
@@ -12774,6 +12774,10 @@ export type CutFramesResult = {
|
|
|
12774
12774
|
images: {
|
|
12775
12775
|
[key: string]: CutRenderRef;
|
|
12776
12776
|
};
|
|
12777
|
+
/**
|
|
12778
|
+
* Frame delivery warnings; empty when every requested source frame was available.
|
|
12779
|
+
*/
|
|
12780
|
+
warnings: Array<CutFrameWarning>;
|
|
12777
12781
|
};
|
|
12778
12782
|
/**
|
|
12779
12783
|
* Analysis status and available ranges for each source asset and kind.
|
|
@@ -12789,13 +12793,17 @@ export type CutAnalysisResult = {
|
|
|
12789
12793
|
*/
|
|
12790
12794
|
version: number;
|
|
12791
12795
|
/**
|
|
12792
|
-
* silence identifies
|
|
12796
|
+
* silence identifies transcript-based speech pauses, not music or loudness; filler identifies filler-word spans; scenes identifies scene ranges.
|
|
12793
12797
|
*/
|
|
12794
12798
|
kind: 'silence' | 'filler' | 'scenes';
|
|
12795
12799
|
/**
|
|
12796
|
-
* pending means analysis is still running; ready means
|
|
12800
|
+
* pending means analysis is still running; ready means analysis completed, including an empty no_speech result; unsupported means no usable transcript or this analysis kind is inapplicable; failed means analysis did not complete.
|
|
12797
12801
|
*/
|
|
12798
12802
|
status: 'pending' | 'ready' | 'unsupported' | 'failed';
|
|
12803
|
+
/**
|
|
12804
|
+
* no_speech means a completed current-version transcript contains no words (ready with empty segments); no_transcript means no completed current-version transcript is available (unsupported). Failed transcriptions remain failed.
|
|
12805
|
+
*/
|
|
12806
|
+
reason?: 'no_speech' | 'no_transcript';
|
|
12799
12807
|
/**
|
|
12800
12808
|
* Detected source ranges in seconds, available when status is ready.
|
|
12801
12809
|
*/
|
|
@@ -12988,6 +12996,14 @@ export type CutExport = {
|
|
|
12988
12996
|
* Destination media library identifier.
|
|
12989
12997
|
*/
|
|
12990
12998
|
library_id: string;
|
|
12999
|
+
/**
|
|
13000
|
+
* Frozen destination path within the library, when supplied.
|
|
13001
|
+
*/
|
|
13002
|
+
folder?: string;
|
|
13003
|
+
/**
|
|
13004
|
+
* Frozen sanitized display name, when supplied.
|
|
13005
|
+
*/
|
|
13006
|
+
name?: string;
|
|
12991
13007
|
};
|
|
12992
13008
|
/**
|
|
12993
13009
|
* Rendering progress; partial progress is not successful completion.
|
|
@@ -13027,9 +13043,22 @@ export type CutExport = {
|
|
|
13027
13043
|
*/
|
|
13028
13044
|
chunk?: number;
|
|
13029
13045
|
/**
|
|
13030
|
-
*
|
|
13046
|
+
* Safe structured downstream failure information; older jobs may contain a string.
|
|
13047
|
+
*/
|
|
13048
|
+
cause?: string | {
|
|
13049
|
+
/**
|
|
13050
|
+
* Export stage that failed.
|
|
13051
|
+
*/
|
|
13052
|
+
stage: string;
|
|
13053
|
+
/**
|
|
13054
|
+
* Downstream service error code, when available.
|
|
13055
|
+
*/
|
|
13056
|
+
code?: string;
|
|
13057
|
+
};
|
|
13058
|
+
/**
|
|
13059
|
+
* Downstream request identifier, when supplied by the service error.
|
|
13031
13060
|
*/
|
|
13032
|
-
|
|
13061
|
+
request_id?: string;
|
|
13033
13062
|
};
|
|
13034
13063
|
/**
|
|
13035
13064
|
* ISO 8601 timestamp when this export was accepted.
|
|
@@ -13048,6 +13077,14 @@ export type CutExport = {
|
|
|
13048
13077
|
* Start an export from a project revision into a bound library.
|
|
13049
13078
|
*/
|
|
13050
13079
|
export type CutExportInput = {
|
|
13080
|
+
/**
|
|
13081
|
+
* Optional destination path within the bound media library; omitted uses its default folder.
|
|
13082
|
+
*/
|
|
13083
|
+
folder?: string;
|
|
13084
|
+
/**
|
|
13085
|
+
* Nonempty display name, frozen with the export. Path separators and control characters become hyphens; limited to 200 characters. Omitted uses project name and timestamp.
|
|
13086
|
+
*/
|
|
13087
|
+
name?: string;
|
|
13051
13088
|
/**
|
|
13052
13089
|
* Optional render settings; omitted fields use the project export defaults.
|
|
13053
13090
|
*/
|
|
@@ -13583,7 +13620,7 @@ export type KnowledgeNativeCreateVectorStore = {
|
|
|
13583
13620
|
* Existing File IDs to attach; the store allows up to 10,000 files.
|
|
13584
13621
|
*/
|
|
13585
13622
|
file_ids?: Array<string>;
|
|
13586
|
-
chunking_strategy?:
|
|
13623
|
+
chunking_strategy?: KnowledgeNativeChunkingInput;
|
|
13587
13624
|
/**
|
|
13588
13625
|
* Accepted but not saved or returned; its type is not validated.
|
|
13589
13626
|
*/
|
|
@@ -13747,7 +13784,7 @@ export type KnowledgeNativeVectorStoreFile = {
|
|
|
13747
13784
|
* Unix timestamp in seconds.
|
|
13748
13785
|
*/
|
|
13749
13786
|
created_at: number;
|
|
13750
|
-
chunking_strategy:
|
|
13787
|
+
chunking_strategy: KnowledgeNativeChunking;
|
|
13751
13788
|
/**
|
|
13752
13789
|
* File attributes used for search filtering; null means no attributes are set.
|
|
13753
13790
|
*/
|
|
@@ -13757,7 +13794,7 @@ export type KnowledgeNativeVectorStoreFile = {
|
|
|
13757
13794
|
*/
|
|
13758
13795
|
praxis?: {
|
|
13759
13796
|
/**
|
|
13760
|
-
* Specific ingestion failure: file_too_large exceeds 50 MiB; encrypted requires an unencrypted source; empty has no extractable text; unsupported_type needs a supported format; token_limit exceeds 5000000 estimated tokens; recognition_unavailable exhausted OCR retries; deadline_exceeded reached the ingestion or conversion deadline; internal is an unexpected provider or processing error. last_error retains the compatible code and an actionable message.
|
|
13797
|
+
* Specific ingestion failure: file_too_large exceeds 512 MiB for PDFs or 50 MiB for other formats (the Router conversion limit); encrypted requires an unencrypted source; empty has no extractable text; unsupported_type needs a supported format; token_limit exceeds 5000000 estimated tokens; recognition_unavailable exhausted OCR retries; deadline_exceeded reached the ingestion or conversion deadline; internal is an unexpected provider or processing error. last_error retains the compatible code and an actionable message.
|
|
13761
13798
|
*/
|
|
13762
13799
|
failure_reason?: 'file_too_large' | 'encrypted' | 'empty' | 'unsupported_type' | 'token_limit' | 'recognition_unavailable' | 'deadline_exceeded' | 'internal';
|
|
13763
13800
|
/**
|
|
@@ -13794,7 +13831,7 @@ export type KnowledgeNativeVectorStoreFile = {
|
|
|
13794
13831
|
chunk_count: number;
|
|
13795
13832
|
};
|
|
13796
13833
|
};
|
|
13797
|
-
export type
|
|
13834
|
+
export type KnowledgeNativeAttachFile = {
|
|
13798
13835
|
/**
|
|
13799
13836
|
* Existing source File ID returned by file upload; the file must be visible to the caller.
|
|
13800
13837
|
*/
|
|
@@ -13803,7 +13840,7 @@ export type KnowledgeAttachFile = {
|
|
|
13803
13840
|
* Search-filter attributes for a newly attached file; omission or null leaves attributes unset. Reattaching an existing file does not change them.
|
|
13804
13841
|
*/
|
|
13805
13842
|
attributes?: KnowledgeAttributes | null;
|
|
13806
|
-
chunking_strategy?:
|
|
13843
|
+
chunking_strategy?: KnowledgeNativeChunkingInput;
|
|
13807
13844
|
};
|
|
13808
13845
|
export type KnowledgeNativeVectorStoreFileList = {
|
|
13809
13846
|
/**
|
|
@@ -13900,7 +13937,7 @@ export type KnowledgeFileBatch = {
|
|
|
13900
13937
|
/**
|
|
13901
13938
|
* Provide exactly one of file_ids or files. Already attached files are reused without changing their attributes or chunking.
|
|
13902
13939
|
*/
|
|
13903
|
-
export type
|
|
13940
|
+
export type KnowledgeNativeCreateBatch = {
|
|
13904
13941
|
/**
|
|
13905
13942
|
* Existing File IDs to attach with shared attributes and chunking settings. Supply file_ids or files, never both.
|
|
13906
13943
|
*/
|
|
@@ -13909,7 +13946,7 @@ export type KnowledgeCreateBatch = {
|
|
|
13909
13946
|
* Search-filter attributes applied to each newly attached file; omission or null leaves them unset.
|
|
13910
13947
|
*/
|
|
13911
13948
|
attributes?: KnowledgeAttributes | null;
|
|
13912
|
-
chunking_strategy?:
|
|
13949
|
+
chunking_strategy?: KnowledgeNativeChunkingInput;
|
|
13913
13950
|
} | {
|
|
13914
13951
|
/**
|
|
13915
13952
|
* Files to attach with individual attributes and chunking settings; top-level attributes and chunking_strategy are ignored.
|
|
@@ -13920,7 +13957,7 @@ export type KnowledgeCreateBatch = {
|
|
|
13920
13957
|
*/
|
|
13921
13958
|
file_id: string;
|
|
13922
13959
|
attributes?: KnowledgeAttributes;
|
|
13923
|
-
chunking_strategy?:
|
|
13960
|
+
chunking_strategy?: KnowledgeNativeChunkingInput;
|
|
13924
13961
|
}>;
|
|
13925
13962
|
/**
|
|
13926
13963
|
* Ignored when files is supplied.
|
|
@@ -14127,7 +14164,7 @@ export type MediaMediaModelsInput = {
|
|
|
14127
14164
|
*/
|
|
14128
14165
|
embedding?: string | null;
|
|
14129
14166
|
/**
|
|
14130
|
-
* Model call ID for speech transcription. Null restores the default for this role.
|
|
14167
|
+
* Model call ID for speech transcription. Null restores the default for this role. Defaults to fun-asr with whisper-large-v3-turbo fallback.
|
|
14131
14168
|
*/
|
|
14132
14169
|
transcription?: string | null;
|
|
14133
14170
|
/**
|
|
@@ -14138,6 +14175,10 @@ export type MediaMediaModelsInput = {
|
|
|
14138
14175
|
* Model call ID for optional full-text reference ASR; defaults to qwen3-asr-flash. Reference failures do not block correction. Null restores this role’s default.
|
|
14139
14176
|
*/
|
|
14140
14177
|
reference_transcription?: string | null;
|
|
14178
|
+
/**
|
|
14179
|
+
* Model call ID for audio understanding; defaults to qwen3.8-omni-flash. Analyzes at most the first 120 seconds in up to three windows of at most 40 seconds, with at most three metered model calls per asset. BPM is an estimate; has_music=false only means no music was detected in the analyzed ranges. Null restores this role’s default.
|
|
14180
|
+
*/
|
|
14181
|
+
audio?: string | null;
|
|
14141
14182
|
} | null;
|
|
14142
14183
|
/**
|
|
14143
14184
|
* Libraries in this page, ordered by creation time descending.
|
|
@@ -14152,6 +14193,25 @@ export type MediaLibraryPage = MediaPage & {
|
|
|
14152
14193
|
*/
|
|
14153
14194
|
next_cursor: string | null;
|
|
14154
14195
|
};
|
|
14196
|
+
export type MediaFrameUrls = {
|
|
14197
|
+
/**
|
|
14198
|
+
* Frame links in the same order as the requested timestamps, including duplicates.
|
|
14199
|
+
*/
|
|
14200
|
+
frames: Array<{
|
|
14201
|
+
/**
|
|
14202
|
+
* Requested time in microseconds from the start of the video.
|
|
14203
|
+
*/
|
|
14204
|
+
at_micros: number;
|
|
14205
|
+
/**
|
|
14206
|
+
* JPEG delivery URL. Fetch it to extract the frame; authenticated links carry a bearer token and must not be shared beyond intended readers.
|
|
14207
|
+
*/
|
|
14208
|
+
url: string;
|
|
14209
|
+
/**
|
|
14210
|
+
* UTC expiry for authenticated frame links, 300 seconds after issuance. Upload asset links remain public and permanent; this timestamp does not expire those URLs.
|
|
14211
|
+
*/
|
|
14212
|
+
expires_at: string;
|
|
14213
|
+
}>;
|
|
14214
|
+
};
|
|
14155
14215
|
/**
|
|
14156
14216
|
* Receipt confirming permanent removal of a previously deleted library.
|
|
14157
14217
|
*/
|
|
@@ -14311,7 +14371,7 @@ export type MediaAsset = {
|
|
|
14311
14371
|
*/
|
|
14312
14372
|
url: string;
|
|
14313
14373
|
/**
|
|
14314
|
-
* HTTPS delivery URL for this asset version; equal to url. For authenticated assets the
|
|
14374
|
+
* HTTPS delivery URL for this asset version; equal to url. For authenticated assets the URL carries a single-file token that expires after 15 minutes, so it is ready to use but must not be stored; keep asset_id and read the asset again. Request a delivery_tokens token for transformed URLs.
|
|
14315
14375
|
*/
|
|
14316
14376
|
secure_url: string;
|
|
14317
14377
|
/**
|
|
@@ -14507,7 +14567,19 @@ export type MediaFolders = {
|
|
|
14507
14567
|
* Number of assets in this folder and all descendant folders.
|
|
14508
14568
|
*/
|
|
14509
14569
|
asset_count: number;
|
|
14570
|
+
/**
|
|
14571
|
+
* Active ready and partial assets in this folder and every descendant folder.
|
|
14572
|
+
*/
|
|
14573
|
+
understood_count: number;
|
|
14574
|
+
/**
|
|
14575
|
+
* Active failed assets in this folder and every descendant folder.
|
|
14576
|
+
*/
|
|
14577
|
+
failed_count: number;
|
|
14510
14578
|
}>;
|
|
14579
|
+
/**
|
|
14580
|
+
* False while historical folder and failure counts are being populated; refresh after backfill completes.
|
|
14581
|
+
*/
|
|
14582
|
+
counts_complete: boolean;
|
|
14511
14583
|
};
|
|
14512
14584
|
/**
|
|
14513
14585
|
* Asynchronous batch job with successful and failed item counts.
|
|
@@ -14522,9 +14594,9 @@ export type MediaJob = {
|
|
|
14522
14594
|
*/
|
|
14523
14595
|
library_id: MediaLibraryId;
|
|
14524
14596
|
/**
|
|
14525
|
-
* Batch operation: tag adds labels, untag removes labels, set_context replaces custom metadata, move changes asset_folder, and delete removes selected assets.
|
|
14597
|
+
* Batch operation: tag adds labels, untag removes labels, set_context replaces custom metadata, move changes asset_folder, and delete removes selected assets. reprocess starts fenced understanding Workflows for retryable failed steps and legacy source-size unsupported steps; kinds narrows the selection. Other unsupported and permanent steps remain unchanged.
|
|
14526
14598
|
*/
|
|
14527
|
-
action: 'tag' | 'untag' | 'set_context' | 'move' | 'delete';
|
|
14599
|
+
action: 'tag' | 'untag' | 'set_context' | 'move' | 'delete' | 'reprocess';
|
|
14528
14600
|
/**
|
|
14529
14601
|
* Job status: queued awaits execution; running is processing items; completed means all items succeeded; completed_with_errors means some succeeded and some failed; failed means all selected items failed. An empty job completes successfully.
|
|
14530
14602
|
*/
|
|
@@ -14534,7 +14606,7 @@ export type MediaJob = {
|
|
|
14534
14606
|
*/
|
|
14535
14607
|
total: number;
|
|
14536
14608
|
/**
|
|
14537
|
-
* Number of items successfully processed; failed items are counted separately.
|
|
14609
|
+
* Number of items successfully processed; failed items are counted separately. For reprocess, this counts accepted launches; inspect asset progress for model completion.
|
|
14538
14610
|
*/
|
|
14539
14611
|
done: number;
|
|
14540
14612
|
/**
|
|
@@ -14600,6 +14672,15 @@ export type MediaBatchAction = {
|
|
|
14600
14672
|
* Batch operation: tag adds labels, untag removes labels, set_context replaces custom metadata, move changes asset_folder, and delete removes selected assets.
|
|
14601
14673
|
*/
|
|
14602
14674
|
action: 'delete';
|
|
14675
|
+
} | {
|
|
14676
|
+
/**
|
|
14677
|
+
* reprocess retries recoverable failed steps and legacy source-size unsupported steps; kinds narrows the selection. Other unsupported, permanent and completed steps remain unchanged.
|
|
14678
|
+
*/
|
|
14679
|
+
action: 'reprocess';
|
|
14680
|
+
/**
|
|
14681
|
+
* Optional subset of processing kinds to inspect. Only retryable failed steps and legacy source-size unsupported steps run. Other unsupported, permanent and completed steps remain unchanged. Omit to inspect all recoverable steps.
|
|
14682
|
+
*/
|
|
14683
|
+
kinds?: Array<MediaProcessingKind>;
|
|
14603
14684
|
};
|
|
14604
14685
|
/**
|
|
14605
14686
|
* Select assets by ids or by expression, never both. Expression results and exclusions are resolved when the job is created.
|
|
@@ -14645,6 +14726,20 @@ export type MediaDeliveryToken = {
|
|
|
14645
14726
|
*/
|
|
14646
14727
|
expires_at: string;
|
|
14647
14728
|
};
|
|
14729
|
+
export type MediaFailureSummary = {
|
|
14730
|
+
/**
|
|
14731
|
+
* Number of current failed understanding entries, excluding deleted assets and superseded versions.
|
|
14732
|
+
*/
|
|
14733
|
+
total: number;
|
|
14734
|
+
/**
|
|
14735
|
+
* Failure entries grouped by code, output kind and producer model. Each group includes up to five distinct example asset IDs.
|
|
14736
|
+
*/
|
|
14737
|
+
groups: Array<MediaFailureGroup>;
|
|
14738
|
+
/**
|
|
14739
|
+
* False while historical failure and folder statistics are being populated. Counts include current writes immediately.
|
|
14740
|
+
*/
|
|
14741
|
+
counts_complete: boolean;
|
|
14742
|
+
};
|
|
14648
14743
|
/**
|
|
14649
14744
|
* Sandbox creation request. All system communication with the sandbox is always secured; the template's envd version must support secured access.
|
|
14650
14745
|
*/
|
|
@@ -24995,6 +25090,10 @@ export type CutTimeline = {
|
|
|
24995
25090
|
* Ordered tracks, topmost visual layer first.
|
|
24996
25091
|
*/
|
|
24997
25092
|
tracks: Array<CutTrack>;
|
|
25093
|
+
/**
|
|
25094
|
+
* Clip-to-clip transitions selected by track and overlap window; lengths are seconds and effect fields use snake_case on HTTP.
|
|
25095
|
+
*/
|
|
25096
|
+
joins?: Array<CutJoin>;
|
|
24998
25097
|
/**
|
|
24999
25098
|
* Named points on the timeline.
|
|
25000
25099
|
*/
|
|
@@ -25087,6 +25186,20 @@ export type CutTrackSummary = {
|
|
|
25087
25186
|
*/
|
|
25088
25187
|
items: number;
|
|
25089
25188
|
};
|
|
25189
|
+
export type CutFrameWarning = {
|
|
25190
|
+
/**
|
|
25191
|
+
* FRAME_UNAVAILABLE means a source image could not be fetched for this preview.
|
|
25192
|
+
*/
|
|
25193
|
+
code: 'FRAME_UNAVAILABLE';
|
|
25194
|
+
/**
|
|
25195
|
+
* Identifier of the clip whose source frame could not be fetched.
|
|
25196
|
+
*/
|
|
25197
|
+
clip_id?: string;
|
|
25198
|
+
/**
|
|
25199
|
+
* Actionable safe explanation; source URLs and credentials are omitted.
|
|
25200
|
+
*/
|
|
25201
|
+
message: string;
|
|
25202
|
+
};
|
|
25090
25203
|
/**
|
|
25091
25204
|
* Reference to an asset in a bound library; follows asset overwrites to the latest version rather than pinning a version.
|
|
25092
25205
|
*/
|
|
@@ -25309,7 +25422,7 @@ export type KnowledgeKnowledgeModels = {
|
|
|
25309
25422
|
*/
|
|
25310
25423
|
query_rewrite: string;
|
|
25311
25424
|
/**
|
|
25312
|
-
* Extracts text from scanned PDF pages. Default:
|
|
25425
|
+
* Extracts text from scanned PDF pages through the OCR API. Default: qwen-vl-ocr-2025-11-20, falling back to glm-ocr and qwen3.8-flash. A custom model precedes these defaults. OCR is billed by pages processed.
|
|
25313
25426
|
*/
|
|
25314
25427
|
ocr: string;
|
|
25315
25428
|
/**
|
|
@@ -25318,14 +25431,9 @@ export type KnowledgeKnowledgeModels = {
|
|
|
25318
25431
|
vision: string;
|
|
25319
25432
|
};
|
|
25320
25433
|
/**
|
|
25321
|
-
* auto
|
|
25434
|
+
* Native attachment strategy. auto uses static chunks of 800 estimated tokens with 400 overlap; static supplies explicit chunk sizes; hierarchical indexes child chunks and supplies bounded parent context. Existing attachments are reused unchanged; remove and reattach a file to change its strategy.
|
|
25322
25435
|
*/
|
|
25323
|
-
export type
|
|
25324
|
-
/**
|
|
25325
|
-
* auto uses the default static chunk size of 800 estimated tokens with 400 overlap tokens.
|
|
25326
|
-
*/
|
|
25327
|
-
type: 'auto';
|
|
25328
|
-
} | KnowledgeStaticChunking;
|
|
25436
|
+
export type KnowledgeNativeChunkingInput = KnowledgeChunkingInput | KnowledgeHierarchicalChunking;
|
|
25329
25437
|
/**
|
|
25330
25438
|
* Model roles to set. The model must exist in the model catalog and serve the role (embedding → openai.embeddings, rerank → cohere.rerank, query_rewrite → openai.chat.completions, ocr → mistral.ocr or pdf_input capability, vision → vision capability). The embedding model must output 1024-dimension vectors. Omitted roles stay unchanged; null restores all defaults. Unknown roles or empty IDs return 400 INVALID_PARAMS. The OpenAI-compatible API rejects this field with 400.
|
|
25331
25439
|
*/
|
|
@@ -25343,7 +25451,7 @@ export type KnowledgeKnowledgeModelsInput = {
|
|
|
25343
25451
|
*/
|
|
25344
25452
|
query_rewrite?: string | null;
|
|
25345
25453
|
/**
|
|
25346
|
-
* Scanned PDF text extraction model; requires mistral.ocr or pdf_input capability. null restores
|
|
25454
|
+
* Scanned PDF text extraction model; requires mistral.ocr or pdf_input capability. null restores qwen-vl-ocr-2025-11-20. The preference leads the OCR API fallback chain qwen-vl-ocr-2025-11-20, glm-ocr, qwen3.8-flash with duplicates removed.
|
|
25347
25455
|
*/
|
|
25348
25456
|
ocr?: string | null;
|
|
25349
25457
|
/**
|
|
@@ -25380,6 +25488,10 @@ export type KnowledgeNativeSearchResult = {
|
|
|
25380
25488
|
* Extracted text of the matched chunk, which may overlap neighboring chunks.
|
|
25381
25489
|
*/
|
|
25382
25490
|
text: string;
|
|
25491
|
+
/**
|
|
25492
|
+
* Optional source image File ID for this matched chunk. Use the File service to read the image; absent for chunks without an image source and omitted by the OpenAI-compatible URL.
|
|
25493
|
+
*/
|
|
25494
|
+
readonly image_file_id?: string;
|
|
25383
25495
|
/**
|
|
25384
25496
|
* Resource ID.
|
|
25385
25497
|
*/
|
|
@@ -25443,14 +25555,9 @@ export type KnowledgeFilter = {
|
|
|
25443
25555
|
filters: Array<KnowledgeFilter>;
|
|
25444
25556
|
};
|
|
25445
25557
|
/**
|
|
25446
|
-
*
|
|
25558
|
+
* Native stored strategy, including hierarchical parent and child settings. auto input resolves to static; the OpenAI-compatible URL projects hierarchical as other.
|
|
25447
25559
|
*/
|
|
25448
|
-
export type
|
|
25449
|
-
/**
|
|
25450
|
-
* other identifies a stored strategy whose chunk-size settings are unavailable.
|
|
25451
|
-
*/
|
|
25452
|
-
type: 'other';
|
|
25453
|
-
};
|
|
25560
|
+
export type KnowledgeNativeChunking = KnowledgeChunking | KnowledgeHierarchicalChunking;
|
|
25454
25561
|
/**
|
|
25455
25562
|
* File attributes used by search filters. Up to 16 keys of 64 characters; string values up to 512 characters.
|
|
25456
25563
|
*/
|
|
@@ -25574,7 +25681,7 @@ export type MediaMediaModels = {
|
|
|
25574
25681
|
*/
|
|
25575
25682
|
embedding: string;
|
|
25576
25683
|
/**
|
|
25577
|
-
* Model call ID for speech transcription.
|
|
25684
|
+
* Model call ID for speech transcription. Defaults to fun-asr; failed default ASR requests fall back to whisper-large-v3-turbo. Speaker and word availability depend on the actual producer.
|
|
25578
25685
|
*/
|
|
25579
25686
|
transcription: string;
|
|
25580
25687
|
/**
|
|
@@ -25585,6 +25692,10 @@ export type MediaMediaModels = {
|
|
|
25585
25692
|
* Model call ID for optional full-text reference ASR; defaults to qwen3-asr-flash. Reference failures do not block correction.
|
|
25586
25693
|
*/
|
|
25587
25694
|
readonly reference_transcription: string;
|
|
25695
|
+
/**
|
|
25696
|
+
* Model call ID for audio understanding; defaults to qwen3.8-omni-flash. Analyzes at most the first 120 seconds in up to three windows of at most 40 seconds, with at most three metered model calls per asset. BPM is an estimate; has_music=false only means no music was detected in the analyzed ranges.
|
|
25697
|
+
*/
|
|
25698
|
+
readonly audio: string;
|
|
25588
25699
|
};
|
|
25589
25700
|
/**
|
|
25590
25701
|
* Identifier of a library belonging to the caller.
|
|
@@ -25745,7 +25856,7 @@ export type MediaCloudinaryResource = {
|
|
|
25745
25856
|
*/
|
|
25746
25857
|
url: string;
|
|
25747
25858
|
/**
|
|
25748
|
-
* HTTPS delivery URL for this asset version; equal to url. For authenticated assets the
|
|
25859
|
+
* HTTPS delivery URL for this asset version; equal to url. For authenticated assets the URL carries a single-file token that expires after 15 minutes, so it is ready to use but must not be stored; keep asset_id and read the asset again. Request a delivery_tokens token for transformed URLs.
|
|
25749
25860
|
*/
|
|
25750
25861
|
secure_url: string;
|
|
25751
25862
|
/**
|
|
@@ -25781,13 +25892,13 @@ export type MediaChunkComplete = MediaCloudinaryResource & {
|
|
|
25781
25892
|
done: true;
|
|
25782
25893
|
};
|
|
25783
25894
|
/**
|
|
25784
|
-
* Per-task processing progress and its aggregate state for the asset.
|
|
25895
|
+
* Per-task processing progress and its aggregate state for the asset. For understanding, Media generates proxies for video sources of 25 MB or more and audio-only sources of 100 MB or more; originals remain available unchanged. The duration limit is 10 minutes. A video proxy still above 95 MB after recompression, or a source exceeding the duration limit, is reported as UNSUPPORTED with the limit in the failure message. Proxy preparation uses the organization’s metered sandbox resources.
|
|
25785
25896
|
*/
|
|
25786
25897
|
export type MediaProcessing = {
|
|
25787
25898
|
/**
|
|
25788
|
-
* Current understanding stage: probe, frames, shots, visual, transcript, transcript_reference, transcript_correction, embedding or finalize. Null after finalization; omitted on assets not yet dispatched.
|
|
25899
|
+
* Current understanding stage: probe, frames, shots, visual, transcript, transcript_reference, transcript_correction, audio_profile, overview, embedding or finalize. Null after finalization; omitted on assets not yet dispatched.
|
|
25789
25900
|
*/
|
|
25790
|
-
readonly stage?: 'probe' | 'frames' | 'shots' | 'visual' | 'transcript' | 'transcript_reference' | 'transcript_correction' | 'embedding' | 'finalize' | null;
|
|
25901
|
+
readonly stage?: 'probe' | 'frames' | 'shots' | 'visual' | 'transcript' | 'transcript_reference' | 'transcript_correction' | 'audio_profile' | 'overview' | 'embedding' | 'finalize' | null;
|
|
25791
25902
|
state: MediaProcessingState;
|
|
25792
25903
|
/**
|
|
25793
25904
|
* Processing states by kind. tagging is present when auto_tagging was requested and follows visual understanding.
|
|
@@ -25854,7 +25965,7 @@ export type MediaUnderstanding = {
|
|
|
25854
25965
|
*/
|
|
25855
25966
|
asset_version: number;
|
|
25856
25967
|
/**
|
|
25857
|
-
* Result kind: caption is a visual description, tags are recognized labels, ocr is text recognized in the image, transcript is speech text, and frame is a description of a video segment.
|
|
25968
|
+
* Result kind: caption is a visual description, tags are recognized labels, ocr is text recognized in the image, transcript is speech text, and frame is a description of a video segment. audio describes sampled speech, music, ambient sound and silence; overview is a full-video summary with chapters, IAB categories and an unverified location; embedding reports a failed embedding step.
|
|
25858
25969
|
*/
|
|
25859
25970
|
kind: MediaUnderstandingKind;
|
|
25860
25971
|
/**
|
|
@@ -25878,7 +25989,7 @@ export type MediaUnderstanding = {
|
|
|
25878
25989
|
*/
|
|
25879
25990
|
content: string | null;
|
|
25880
25991
|
/**
|
|
25881
|
-
* Structured producer output; null when absent. Transcript data retains a timed-segment array with corrected text and text_original on each segment; its first segment also carries the correction audit. Silent transcripts use an object with filtered_segments and correction. Legacy transcript arrays retain their original shape.
|
|
25992
|
+
* Structured producer output; null when absent. Transcript data retains a timed-segment array with corrected text and text_original on each segment; its first segment also carries the correction audit. Silent transcripts use an object with filtered_segments and correction. Legacy transcript arrays retain their original shape. Transcript segments may contain speaker (a diarization label, not a verified identity), words (text, start_ms and end_ms in source-media milliseconds) and producer (the actual fallback model when different from the record producer). Overview data contains chapters (first_shot, title, summary, start_ms, end_ms), iab (tier1, optional tier2, confidence from 0 to 1), and location (an unverified place guess or null); content is the full-video summary. Audio data contains segments (start_s and end_s in source-media seconds; type is speech, music, ambient or silence), has_music, genre, mood, bpm_estimate (nullable), bpm_is_estimate=true and analyzed_ranges (start_s, end_s in seconds). Genre and mood are nullable model labels. Audio understanding samples only the first 120 seconds in at most three windows of at most 40 seconds, with at most three metered model calls per asset. BPM is an estimate, not an exact tempo; has_music=false only means no music was detected within analyzed_ranges.
|
|
25882
25993
|
*/
|
|
25883
25994
|
data: unknown | null;
|
|
25884
25995
|
/**
|
|
@@ -26054,7 +26165,7 @@ export type MediaSearchAsset = {
|
|
|
26054
26165
|
*/
|
|
26055
26166
|
url: string;
|
|
26056
26167
|
/**
|
|
26057
|
-
* HTTPS delivery URL for this asset version; equal to url. For authenticated assets the
|
|
26168
|
+
* HTTPS delivery URL for this asset version; equal to url. For authenticated assets the URL carries a single-file token that expires after 15 minutes, so it is ready to use but must not be stored; keep asset_id and read the asset again. Request a delivery_tokens token for transformed URLs.
|
|
26058
26169
|
*/
|
|
26059
26170
|
secure_url: string;
|
|
26060
26171
|
/**
|
|
@@ -26207,6 +26318,36 @@ export type MediaMediaEvent = {
|
|
|
26207
26318
|
[key: string]: unknown;
|
|
26208
26319
|
};
|
|
26209
26320
|
};
|
|
26321
|
+
export type MediaFailureGroup = {
|
|
26322
|
+
/**
|
|
26323
|
+
* Failure reason code. Unknown codes are retryable.
|
|
26324
|
+
*/
|
|
26325
|
+
code: string;
|
|
26326
|
+
/**
|
|
26327
|
+
* Understanding output kind that failed, such as caption, frame, transcript or embedding.
|
|
26328
|
+
*/
|
|
26329
|
+
kind: string;
|
|
26330
|
+
/**
|
|
26331
|
+
* Producer model that reported this failure; unknown when historical provenance was unavailable.
|
|
26332
|
+
*/
|
|
26333
|
+
model: string;
|
|
26334
|
+
/**
|
|
26335
|
+
* Number of current failed entries in this group; several entries can belong to one asset.
|
|
26336
|
+
*/
|
|
26337
|
+
count: number;
|
|
26338
|
+
/**
|
|
26339
|
+
* True for a rollup of additional code, kind and model combinations after 1024 detailed groups. OTHER_RETRYABLE and OTHER_UNRECOVERABLE preserve retryability; original codes remain on each understanding and match failure_code expressions.
|
|
26340
|
+
*/
|
|
26341
|
+
overflow: boolean;
|
|
26342
|
+
/**
|
|
26343
|
+
* True when a repeated attempt may recover, including unknown error codes. False for unsupported media, limits, missing or corrupt source files.
|
|
26344
|
+
*/
|
|
26345
|
+
retryable: boolean;
|
|
26346
|
+
/**
|
|
26347
|
+
* Up to five distinct asset identifiers from this group, for inspecting original error details.
|
|
26348
|
+
*/
|
|
26349
|
+
sample_asset_ids: Array<MediaAssetId>;
|
|
26350
|
+
};
|
|
26210
26351
|
/**
|
|
26211
26352
|
* Auto-resume configuration for paused sandboxes.
|
|
26212
26353
|
*/
|
|
@@ -30533,6 +30674,32 @@ export type CutTrack = {
|
|
|
30533
30674
|
*/
|
|
30534
30675
|
items: Array<CutItem>;
|
|
30535
30676
|
};
|
|
30677
|
+
/**
|
|
30678
|
+
* Overlap between adjacent visual clips on the same track; creating it shifts the right clip and same-track followers left by its length.
|
|
30679
|
+
*/
|
|
30680
|
+
export type CutJoin = {
|
|
30681
|
+
/**
|
|
30682
|
+
* Join identifier returned by Join; reuse as the id argument to UpdateJoin or DeleteJoin inside execute.
|
|
30683
|
+
*/
|
|
30684
|
+
id: string;
|
|
30685
|
+
/**
|
|
30686
|
+
* Visual track containing both endpoints, from AddTrack or the timeline track id.
|
|
30687
|
+
*/
|
|
30688
|
+
track: string;
|
|
30689
|
+
/**
|
|
30690
|
+
* Outgoing clip identifier, from Insert or the timeline items.
|
|
30691
|
+
*/
|
|
30692
|
+
left: string;
|
|
30693
|
+
/**
|
|
30694
|
+
* Incoming clip identifier, from Insert or the timeline items.
|
|
30695
|
+
*/
|
|
30696
|
+
right: string;
|
|
30697
|
+
/**
|
|
30698
|
+
* Overlap duration in seconds, positive and shorter than each endpoint; incoming plus outgoing lengths may not exceed a clip length.
|
|
30699
|
+
*/
|
|
30700
|
+
length: number;
|
|
30701
|
+
effect: CutJoinEffect;
|
|
30702
|
+
};
|
|
30536
30703
|
/**
|
|
30537
30704
|
* A named point on the project timeline.
|
|
30538
30705
|
*/
|
|
@@ -30550,23 +30717,39 @@ export type CutMarker = {
|
|
|
30550
30717
|
*/
|
|
30551
30718
|
label: string;
|
|
30552
30719
|
};
|
|
30553
|
-
|
|
30720
|
+
/**
|
|
30721
|
+
* auto resolves to static with 800 estimated tokens and 400 overlap tokens. Unlike OpenAI vector stores, token counts are estimates; each Han character counts as one, and other whitespace-delimited words count as their UTF-16 length divided by four, rounded up.
|
|
30722
|
+
*/
|
|
30723
|
+
export type KnowledgeChunkingInput = {
|
|
30554
30724
|
/**
|
|
30555
|
-
*
|
|
30725
|
+
* auto uses the default static chunk size of 800 estimated tokens with 400 overlap tokens.
|
|
30556
30726
|
*/
|
|
30557
|
-
type: '
|
|
30727
|
+
type: 'auto';
|
|
30728
|
+
} | KnowledgeStaticChunking;
|
|
30729
|
+
/**
|
|
30730
|
+
* Native strategy that indexes small child chunks and returns bounded parent context for retrieval. Unlike OpenAI vector stores, this strategy is available only through /knowledge/v1; compatible writes reject it and compatible reads project its type as other.
|
|
30731
|
+
*/
|
|
30732
|
+
export type KnowledgeHierarchicalChunking = {
|
|
30558
30733
|
/**
|
|
30559
|
-
*
|
|
30734
|
+
* hierarchical selects smaller child chunks for matching and larger parent chunks for context.
|
|
30560
30735
|
*/
|
|
30561
|
-
|
|
30736
|
+
type: 'hierarchical';
|
|
30737
|
+
/**
|
|
30738
|
+
* Required parent, child and overlap sizes in estimated tokens. All three values must be integers.
|
|
30739
|
+
*/
|
|
30740
|
+
hierarchical: {
|
|
30562
30741
|
/**
|
|
30563
|
-
*
|
|
30742
|
+
* Maximum estimated tokens per parent chunk, from 101 through 4096; must exceed child_max_tokens.
|
|
30564
30743
|
*/
|
|
30565
|
-
|
|
30744
|
+
parent_max_tokens: number;
|
|
30566
30745
|
/**
|
|
30567
|
-
*
|
|
30746
|
+
* Maximum estimated tokens per child chunk, at least 100 and strictly smaller than parent_max_tokens.
|
|
30568
30747
|
*/
|
|
30569
|
-
|
|
30748
|
+
child_max_tokens: number;
|
|
30749
|
+
/**
|
|
30750
|
+
* Estimated tokens shared by adjacent children, from zero through floor(child_max_tokens / 2).
|
|
30751
|
+
*/
|
|
30752
|
+
child_overlap_tokens: number;
|
|
30570
30753
|
};
|
|
30571
30754
|
};
|
|
30572
30755
|
/**
|
|
@@ -30606,6 +30789,15 @@ export type KnowledgeSearchExplain = {
|
|
|
30606
30789
|
*/
|
|
30607
30790
|
matched_terms: Array<string>;
|
|
30608
30791
|
};
|
|
30792
|
+
/**
|
|
30793
|
+
* Stored chunking strategy for this attachment; auto input is returned as static settings.
|
|
30794
|
+
*/
|
|
30795
|
+
export type KnowledgeChunking = KnowledgeStaticChunking | {
|
|
30796
|
+
/**
|
|
30797
|
+
* other identifies a stored strategy whose chunk-size settings are unavailable.
|
|
30798
|
+
*/
|
|
30799
|
+
type: 'other';
|
|
30800
|
+
};
|
|
30609
30801
|
/**
|
|
30610
30802
|
* Aggregate processing state across the asset processing tasks.
|
|
30611
30803
|
*/
|
|
@@ -30671,9 +30863,9 @@ export type MediaTranscriptCorrection = {
|
|
|
30671
30863
|
*/
|
|
30672
30864
|
export type MediaUnderstandingId = string;
|
|
30673
30865
|
/**
|
|
30674
|
-
* Result kind: caption is a visual description, tags are recognized labels, ocr is text recognized in the image, transcript is speech text, and frame is a description of a video segment.
|
|
30866
|
+
* Result kind: caption is a visual description, tags are recognized labels, ocr is text recognized in the image, transcript is speech text, and frame is a description of a video segment. audio describes sampled speech, music, ambient sound and silence; overview is a full-video summary with chapters, IAB categories and an unverified location; embedding reports a failed embedding step.
|
|
30675
30867
|
*/
|
|
30676
|
-
export type MediaUnderstandingKind = 'caption' | 'tags' | 'ocr' | 'transcript' | 'frame';
|
|
30868
|
+
export type MediaUnderstandingKind = 'caption' | 'tags' | 'ocr' | 'transcript' | 'frame' | 'overview' | 'audio' | 'embedding';
|
|
30677
30869
|
/**
|
|
30678
30870
|
* Time range within the source media, expressed in milliseconds.
|
|
30679
30871
|
*/
|
|
@@ -30733,7 +30925,7 @@ export type MediaSemanticMatch = {
|
|
|
30733
30925
|
/**
|
|
30734
30926
|
* Type of change recorded for a library, asset, processing task, search index or batch.
|
|
30735
30927
|
*/
|
|
30736
|
-
export type MediaMediaEventType = 'library.status_provisioning' | 'library.status_active' | 'library.status_deleting' | 'library.status_deleted' | 'library.status_failed' | 'library.restored' | 'library.updated' | 'asset.created' | 'asset.updated' | 'asset.overwritten' | 'asset.renamed' | 'asset.deleted' | 'understanding.status_ready' | 'understanding.status_failed' | 'understanding.status_unsupported' | 'search.indexed' | 'batch.succeeded' | 'batch.failed';
|
|
30928
|
+
export type MediaMediaEventType = 'library.status_provisioning' | 'library.status_active' | 'library.status_deleting' | 'library.status_deleted' | 'library.status_failed' | 'library.restored' | 'library.updated' | 'asset.created' | 'asset.updated' | 'asset.overwritten' | 'asset.renamed' | 'asset.deleted' | 'understanding.status_ready' | 'understanding.status_failed' | 'understanding.status_unsupported' | 'search.indexed' | 'batch.succeeded' | 'batch.failed' | 'library.understanding_drained' | 'batch.created';
|
|
30737
30929
|
/**
|
|
30738
30930
|
* Auto-resume enabled flag for paused sandboxes. Default false.
|
|
30739
30931
|
*/
|
|
@@ -31365,21 +31557,25 @@ export type AnthropicToolReferenceBlock = {
|
|
|
31365
31557
|
*/
|
|
31366
31558
|
export type CutTextStyle = {
|
|
31367
31559
|
/**
|
|
31368
|
-
*
|
|
31560
|
+
* Canonical font family name; call ListFonts() in the Cut script API to retrieve the available font families.
|
|
31369
31561
|
*/
|
|
31370
|
-
font_family?:
|
|
31562
|
+
font_family?: string;
|
|
31371
31563
|
/**
|
|
31372
31564
|
* Text size in output pixels.
|
|
31373
31565
|
*/
|
|
31374
31566
|
font_size?: number;
|
|
31375
31567
|
/**
|
|
31376
|
-
*
|
|
31568
|
+
* Positive requested font weight; each family has its own available catalog weights, and unsupported values resolve to the nearest available weight, preferring the heavier weight on a tie.
|
|
31377
31569
|
*/
|
|
31378
|
-
font_weight?:
|
|
31570
|
+
font_weight?: number;
|
|
31379
31571
|
/**
|
|
31380
31572
|
* Text color in #RRGGBB or #RRGGBBAA notation.
|
|
31381
31573
|
*/
|
|
31382
31574
|
color?: string;
|
|
31575
|
+
/**
|
|
31576
|
+
* Optional solid or gradient glyph fill; gradients span the text box.
|
|
31577
|
+
*/
|
|
31578
|
+
fill?: CutFill;
|
|
31383
31579
|
/**
|
|
31384
31580
|
* Optional text outline.
|
|
31385
31581
|
*/
|
|
@@ -31389,9 +31585,60 @@ export type CutTextStyle = {
|
|
|
31389
31585
|
*/
|
|
31390
31586
|
color?: string;
|
|
31391
31587
|
/**
|
|
31392
|
-
* Outline width in output pixels.
|
|
31588
|
+
* Outline width in output pixels; must be non-negative and at most 40 pixels.
|
|
31589
|
+
*/
|
|
31590
|
+
width?: number;
|
|
31591
|
+
};
|
|
31592
|
+
/**
|
|
31593
|
+
* Additional outlines, painted from outermost to innermost; at most 4 strokes.
|
|
31594
|
+
*/
|
|
31595
|
+
strokes?: Array<{
|
|
31596
|
+
/**
|
|
31597
|
+
* Outline color in #RRGGBB or #RRGGBBAA notation.
|
|
31598
|
+
*/
|
|
31599
|
+
color?: string;
|
|
31600
|
+
/**
|
|
31601
|
+
* Outline width in output pixels, from 0 to 40.
|
|
31393
31602
|
*/
|
|
31394
31603
|
width?: number;
|
|
31604
|
+
}>;
|
|
31605
|
+
/**
|
|
31606
|
+
* Offset text shadows; at most 4 shadows. Offsets are non-negative output pixels; blur is 0 to 100 output pixels.
|
|
31607
|
+
*/
|
|
31608
|
+
shadows?: Array<{
|
|
31609
|
+
/**
|
|
31610
|
+
* Shadow color in #RRGGBB or #RRGGBBAA notation.
|
|
31611
|
+
*/
|
|
31612
|
+
color?: string;
|
|
31613
|
+
/**
|
|
31614
|
+
* Non-negative horizontal offset in output pixels.
|
|
31615
|
+
*/
|
|
31616
|
+
x?: number;
|
|
31617
|
+
/**
|
|
31618
|
+
* Non-negative vertical offset in output pixels.
|
|
31619
|
+
*/
|
|
31620
|
+
y?: number;
|
|
31621
|
+
/**
|
|
31622
|
+
* Blur radius in output pixels, from 0 to 100.
|
|
31623
|
+
*/
|
|
31624
|
+
blur?: number;
|
|
31625
|
+
}>;
|
|
31626
|
+
/**
|
|
31627
|
+
* Colored glow around glyphs; radius is in output pixels, from 0 to 100, and strength is from 0 to 1.
|
|
31628
|
+
*/
|
|
31629
|
+
glow?: {
|
|
31630
|
+
/**
|
|
31631
|
+
* Glow color in #RRGGBB or #RRGGBBAA notation.
|
|
31632
|
+
*/
|
|
31633
|
+
color?: string;
|
|
31634
|
+
/**
|
|
31635
|
+
* Glow blur radius in output pixels, from 0 to 100.
|
|
31636
|
+
*/
|
|
31637
|
+
radius?: number;
|
|
31638
|
+
/**
|
|
31639
|
+
* Glow opacity multiplier from 0 to 1.
|
|
31640
|
+
*/
|
|
31641
|
+
strength?: number;
|
|
31395
31642
|
};
|
|
31396
31643
|
/**
|
|
31397
31644
|
* Optional text background color as hexadecimal RGB or RGBA.
|
|
@@ -31406,9 +31653,13 @@ export type CutTextStyle = {
|
|
|
31406
31653
|
*/
|
|
31407
31654
|
max_width?: number;
|
|
31408
31655
|
/**
|
|
31409
|
-
*
|
|
31656
|
+
* Text or caption placement: top/middle/bottom center the box at 12%/50%/85% of height without margin; omitted text position preserves its transform.
|
|
31410
31657
|
*/
|
|
31411
31658
|
position?: 'top' | 'middle' | 'bottom';
|
|
31659
|
+
/**
|
|
31660
|
+
* Box edge distance from the top or bottom as a fraction of canvas height; middle ignores it.
|
|
31661
|
+
*/
|
|
31662
|
+
margin?: number;
|
|
31412
31663
|
/**
|
|
31413
31664
|
* Optional color applied to the currently spoken caption word.
|
|
31414
31665
|
*/
|
|
@@ -31520,6 +31771,147 @@ export type CutItem = {
|
|
|
31520
31771
|
*/
|
|
31521
31772
|
words?: Array<CutCaptionWord>;
|
|
31522
31773
|
};
|
|
31774
|
+
/**
|
|
31775
|
+
* Transition between two joined visual clips. The kind identifies an effect from ListTransitions; omitted parameters use that effect's defaults. Unknown fields and invalid values are rejected.
|
|
31776
|
+
*/
|
|
31777
|
+
export type CutJoinEffect = {
|
|
31778
|
+
/**
|
|
31779
|
+
* Dissolve: Blend the outgoing shot into the incoming shot.
|
|
31780
|
+
*/
|
|
31781
|
+
kind: 'dissolve';
|
|
31782
|
+
} | {
|
|
31783
|
+
/**
|
|
31784
|
+
* Dip: Fade through a solid color between the two shots.
|
|
31785
|
+
*/
|
|
31786
|
+
kind: 'dip';
|
|
31787
|
+
/**
|
|
31788
|
+
* Solid color shown between shots.
|
|
31789
|
+
*/
|
|
31790
|
+
color?: 'black' | 'white';
|
|
31791
|
+
} | {
|
|
31792
|
+
/**
|
|
31793
|
+
* Push: Slide the incoming shot into view as it pushes the outgoing shot away.
|
|
31794
|
+
*/
|
|
31795
|
+
kind: 'push';
|
|
31796
|
+
/**
|
|
31797
|
+
* Direction in which the transition moves across the frame.
|
|
31798
|
+
*/
|
|
31799
|
+
direction?: 'left' | 'right' | 'up' | 'down';
|
|
31800
|
+
} | {
|
|
31801
|
+
/**
|
|
31802
|
+
* Wipe: Reveal the incoming shot behind an edge moving across the outgoing shot.
|
|
31803
|
+
*/
|
|
31804
|
+
kind: 'wipe';
|
|
31805
|
+
/**
|
|
31806
|
+
* Direction in which the transition moves across the frame.
|
|
31807
|
+
*/
|
|
31808
|
+
direction?: 'left' | 'right' | 'up' | 'down';
|
|
31809
|
+
/**
|
|
31810
|
+
* Edge softness from a sharp boundary to a fully softened blend.
|
|
31811
|
+
*/
|
|
31812
|
+
softness?: number;
|
|
31813
|
+
} | {
|
|
31814
|
+
/**
|
|
31815
|
+
* Iris: Reveal the incoming shot through an expanding circular opening.
|
|
31816
|
+
*/
|
|
31817
|
+
kind: 'iris';
|
|
31818
|
+
/**
|
|
31819
|
+
* Horizontal opening center from the left edge to the right edge.
|
|
31820
|
+
*/
|
|
31821
|
+
center_x?: number;
|
|
31822
|
+
/**
|
|
31823
|
+
* Vertical opening center from the top edge to the bottom edge.
|
|
31824
|
+
*/
|
|
31825
|
+
center_y?: number;
|
|
31826
|
+
} | {
|
|
31827
|
+
/**
|
|
31828
|
+
* Blinds: Reveal the incoming shot through a set of parallel strips.
|
|
31829
|
+
*/
|
|
31830
|
+
kind: 'blinds';
|
|
31831
|
+
/**
|
|
31832
|
+
* Number of strips revealing the incoming shot.
|
|
31833
|
+
*/
|
|
31834
|
+
count?: number;
|
|
31835
|
+
/**
|
|
31836
|
+
* Orientation of the revealing strips.
|
|
31837
|
+
*/
|
|
31838
|
+
orientation?: 'vertical' | 'horizontal';
|
|
31839
|
+
} | {
|
|
31840
|
+
/**
|
|
31841
|
+
* Blur: Blur the outgoing shot into the incoming shot before returning to focus.
|
|
31842
|
+
*/
|
|
31843
|
+
kind: 'blur';
|
|
31844
|
+
/**
|
|
31845
|
+
* Blur radius in pixels at a reference frame height of 1080 pixels.
|
|
31846
|
+
*/
|
|
31847
|
+
radius?: number;
|
|
31848
|
+
} | {
|
|
31849
|
+
/**
|
|
31850
|
+
* Zoom transition.
|
|
31851
|
+
*/
|
|
31852
|
+
kind: 'zoom';
|
|
31853
|
+
/**
|
|
31854
|
+
* Zoom in or out.
|
|
31855
|
+
*/
|
|
31856
|
+
direction?: 'in' | 'out';
|
|
31857
|
+
/**
|
|
31858
|
+
* Peak scale increase as a multiple of the original scale.
|
|
31859
|
+
*/
|
|
31860
|
+
amount?: number;
|
|
31861
|
+
/**
|
|
31862
|
+
* Radial blur strength; zero disables blur sampling.
|
|
31863
|
+
*/
|
|
31864
|
+
blur?: number;
|
|
31865
|
+
} | {
|
|
31866
|
+
/**
|
|
31867
|
+
* Clock transition.
|
|
31868
|
+
*/
|
|
31869
|
+
kind: 'clock';
|
|
31870
|
+
/**
|
|
31871
|
+
* Sweep direction.
|
|
31872
|
+
*/
|
|
31873
|
+
direction?: 'clockwise' | 'counterclockwise';
|
|
31874
|
+
/**
|
|
31875
|
+
* Start angle in degrees, with zero at twelve o'clock.
|
|
31876
|
+
*/
|
|
31877
|
+
start_angle?: number;
|
|
31878
|
+
/**
|
|
31879
|
+
* Angular feather width.
|
|
31880
|
+
*/
|
|
31881
|
+
softness?: number;
|
|
31882
|
+
} | {
|
|
31883
|
+
/**
|
|
31884
|
+
* Flash transition.
|
|
31885
|
+
*/
|
|
31886
|
+
kind: 'flash';
|
|
31887
|
+
/**
|
|
31888
|
+
* Flash color.
|
|
31889
|
+
*/
|
|
31890
|
+
color?: 'white' | 'black';
|
|
31891
|
+
/**
|
|
31892
|
+
* Flash strength.
|
|
31893
|
+
*/
|
|
31894
|
+
intensity?: number;
|
|
31895
|
+
};
|
|
31896
|
+
export type KnowledgeStaticChunking = {
|
|
31897
|
+
/**
|
|
31898
|
+
* static selects explicit chunk-size and overlap settings.
|
|
31899
|
+
*/
|
|
31900
|
+
type: 'static';
|
|
31901
|
+
/**
|
|
31902
|
+
* Chunk-size and overlap limits in estimated tokens.
|
|
31903
|
+
*/
|
|
31904
|
+
static: {
|
|
31905
|
+
/**
|
|
31906
|
+
* Estimated tokens per chunk.
|
|
31907
|
+
*/
|
|
31908
|
+
max_chunk_size_tokens: number;
|
|
31909
|
+
/**
|
|
31910
|
+
* Must not exceed half of max_chunk_size_tokens.
|
|
31911
|
+
*/
|
|
31912
|
+
chunk_overlap_tokens: number;
|
|
31913
|
+
};
|
|
31914
|
+
};
|
|
31523
31915
|
export type MediaTranscriptEdit = {
|
|
31524
31916
|
/**
|
|
31525
31917
|
* Original literal text replaced by this accepted edit.
|
|
@@ -31741,6 +32133,51 @@ export type AnthropicCitationsConfig = {
|
|
|
31741
32133
|
*/
|
|
31742
32134
|
enabled: boolean;
|
|
31743
32135
|
};
|
|
32136
|
+
/**
|
|
32137
|
+
* Solid color or a gradient over the styled text box.
|
|
32138
|
+
*/
|
|
32139
|
+
export type CutFill = string | {
|
|
32140
|
+
/**
|
|
32141
|
+
* Linear gradient; angle is in degrees and stop positions range from 0 to 1.
|
|
32142
|
+
*/
|
|
32143
|
+
linear?: {
|
|
32144
|
+
/**
|
|
32145
|
+
* Gradient angle in degrees; 0 runs left to right.
|
|
32146
|
+
*/
|
|
32147
|
+
angle?: number;
|
|
32148
|
+
/**
|
|
32149
|
+
* Gradient color stops; each position is a fraction from 0 to 1.
|
|
32150
|
+
*/
|
|
32151
|
+
stops?: Array<{
|
|
32152
|
+
/**
|
|
32153
|
+
* Stop position as a fraction from 0 to 1.
|
|
32154
|
+
*/
|
|
32155
|
+
at?: number;
|
|
32156
|
+
/**
|
|
32157
|
+
* Stop color in #RRGGBB or #RRGGBBAA notation.
|
|
32158
|
+
*/
|
|
32159
|
+
color?: string;
|
|
32160
|
+
}>;
|
|
32161
|
+
};
|
|
32162
|
+
/**
|
|
32163
|
+
* Radial gradient with stop positions as fractions from 0 to 1.
|
|
32164
|
+
*/
|
|
32165
|
+
radial?: {
|
|
32166
|
+
/**
|
|
32167
|
+
* Gradient color stops; each position is a fraction from 0 to 1.
|
|
32168
|
+
*/
|
|
32169
|
+
stops?: Array<{
|
|
32170
|
+
/**
|
|
32171
|
+
* Stop position as a fraction from 0 to 1.
|
|
32172
|
+
*/
|
|
32173
|
+
at?: number;
|
|
32174
|
+
/**
|
|
32175
|
+
* Stop color in #RRGGBB or #RRGGBBAA notation.
|
|
32176
|
+
*/
|
|
32177
|
+
color?: string;
|
|
32178
|
+
}>;
|
|
32179
|
+
};
|
|
32180
|
+
};
|
|
31744
32181
|
/**
|
|
31745
32182
|
* Visual placement; coordinates are normalized canvas centers.
|
|
31746
32183
|
*/
|
|
@@ -32122,6 +32559,28 @@ export type AutomationJsonValueWritable = null | string | number | boolean | Aut
|
|
|
32122
32559
|
export type AutomationJsonObjectWritable = {
|
|
32123
32560
|
[key: string]: AutomationJsonValueWritable;
|
|
32124
32561
|
};
|
|
32562
|
+
export type KnowledgeNativeSearchPageWritable = {
|
|
32563
|
+
/**
|
|
32564
|
+
* Object discriminator; vector_store.search_results.page identifies a search result page.
|
|
32565
|
+
*/
|
|
32566
|
+
object: 'vector_store.search_results.page';
|
|
32567
|
+
/**
|
|
32568
|
+
* The queries used for retrieval, one per input query; rewritten when rewrite_query is true, otherwise the input as sent.
|
|
32569
|
+
*/
|
|
32570
|
+
search_query: Array<string>;
|
|
32571
|
+
/**
|
|
32572
|
+
* One result per matched chunk; the same file_id can occur more than once.
|
|
32573
|
+
*/
|
|
32574
|
+
data: Array<KnowledgeNativeSearchResultWritable>;
|
|
32575
|
+
/**
|
|
32576
|
+
* True when filtered chunks exceed max_num_results; next_page remains null.
|
|
32577
|
+
*/
|
|
32578
|
+
has_more: boolean;
|
|
32579
|
+
/**
|
|
32580
|
+
* Always null; no next search page.
|
|
32581
|
+
*/
|
|
32582
|
+
next_page: null;
|
|
32583
|
+
};
|
|
32125
32584
|
/**
|
|
32126
32585
|
* A caller-owned media library with lifecycle, usage, understanding settings and model selections.
|
|
32127
32586
|
*/
|
|
@@ -32324,7 +32783,7 @@ export type MediaAssetWritable = {
|
|
|
32324
32783
|
*/
|
|
32325
32784
|
url: string;
|
|
32326
32785
|
/**
|
|
32327
|
-
* HTTPS delivery URL for this asset version; equal to url. For authenticated assets the
|
|
32786
|
+
* HTTPS delivery URL for this asset version; equal to url. For authenticated assets the URL carries a single-file token that expires after 15 minutes, so it is ready to use but must not be stored; keep asset_id and read the asset again. Request a delivery_tokens token for transformed URLs.
|
|
32328
32787
|
*/
|
|
32329
32788
|
secure_url: string;
|
|
32330
32789
|
/**
|
|
@@ -32514,6 +32973,58 @@ export type AgentManaged193Writable = {
|
|
|
32514
32973
|
export type AgentManaged143Writable = {
|
|
32515
32974
|
[key: string]: string;
|
|
32516
32975
|
};
|
|
32976
|
+
export type KnowledgeNativeSearchResultWritable = {
|
|
32977
|
+
/**
|
|
32978
|
+
* Resource ID.
|
|
32979
|
+
*/
|
|
32980
|
+
file_id: string;
|
|
32981
|
+
/**
|
|
32982
|
+
* Original source filename for the matched file.
|
|
32983
|
+
*/
|
|
32984
|
+
filename: string;
|
|
32985
|
+
/**
|
|
32986
|
+
* Relevance ranking score for this chunk, clamped to the range 0 to 1; not a probability.
|
|
32987
|
+
*/
|
|
32988
|
+
score: number;
|
|
32989
|
+
/**
|
|
32990
|
+
* Current file attributes used for filtering; null when unset.
|
|
32991
|
+
*/
|
|
32992
|
+
attributes: KnowledgeAttributes | null;
|
|
32993
|
+
/**
|
|
32994
|
+
* Matched chunk text and its source coordinates; one chunk per native result.
|
|
32995
|
+
*/
|
|
32996
|
+
content: Array<{
|
|
32997
|
+
/**
|
|
32998
|
+
* text identifies an extracted text chunk.
|
|
32999
|
+
*/
|
|
33000
|
+
type: 'text';
|
|
33001
|
+
/**
|
|
33002
|
+
* Extracted text of the matched chunk, which may overlap neighboring chunks.
|
|
33003
|
+
*/
|
|
33004
|
+
text: string;
|
|
33005
|
+
/**
|
|
33006
|
+
* Resource ID.
|
|
33007
|
+
*/
|
|
33008
|
+
chunk_id?: string;
|
|
33009
|
+
/**
|
|
33010
|
+
* One-based source page containing the start of this chunk; null when no page mapping is available.
|
|
33011
|
+
*/
|
|
33012
|
+
page?: number | null;
|
|
33013
|
+
/**
|
|
33014
|
+
* Start and end offsets in UTF-16 code units.
|
|
33015
|
+
*/
|
|
33016
|
+
span?: [
|
|
33017
|
+
number,
|
|
33018
|
+
number
|
|
33019
|
+
];
|
|
33020
|
+
}>;
|
|
33021
|
+
/**
|
|
33022
|
+
* Native search explanation, included only when praxis.explain is requested.
|
|
33023
|
+
*/
|
|
33024
|
+
praxis?: {
|
|
33025
|
+
explain: KnowledgeSearchExplain;
|
|
33026
|
+
};
|
|
33027
|
+
};
|
|
32517
33028
|
/**
|
|
32518
33029
|
* Resolved model call IDs for vision, embedding, timestamped transcription, reference transcription and correction.
|
|
32519
33030
|
*/
|
|
@@ -32527,7 +33038,7 @@ export type MediaMediaModelsWritable = {
|
|
|
32527
33038
|
*/
|
|
32528
33039
|
embedding: string;
|
|
32529
33040
|
/**
|
|
32530
|
-
* Model call ID for speech transcription.
|
|
33041
|
+
* Model call ID for speech transcription. Defaults to fun-asr; failed default ASR requests fall back to whisper-large-v3-turbo. Speaker and word availability depend on the actual producer.
|
|
32531
33042
|
*/
|
|
32532
33043
|
transcription: string;
|
|
32533
33044
|
};
|
|
@@ -32648,7 +33159,7 @@ export type MediaCloudinaryResourceWritable = {
|
|
|
32648
33159
|
*/
|
|
32649
33160
|
url: string;
|
|
32650
33161
|
/**
|
|
32651
|
-
* HTTPS delivery URL for this asset version; equal to url. For authenticated assets the
|
|
33162
|
+
* HTTPS delivery URL for this asset version; equal to url. For authenticated assets the URL carries a single-file token that expires after 15 minutes, so it is ready to use but must not be stored; keep asset_id and read the asset again. Request a delivery_tokens token for transformed URLs.
|
|
32652
33163
|
*/
|
|
32653
33164
|
secure_url: string;
|
|
32654
33165
|
/**
|
|
@@ -32671,7 +33182,7 @@ export type MediaChunkCompleteWritable = MediaCloudinaryResourceWritable & {
|
|
|
32671
33182
|
done: true;
|
|
32672
33183
|
};
|
|
32673
33184
|
/**
|
|
32674
|
-
* Per-task processing progress and its aggregate state for the asset.
|
|
33185
|
+
* Per-task processing progress and its aggregate state for the asset. For understanding, Media generates proxies for video sources of 25 MB or more and audio-only sources of 100 MB or more; originals remain available unchanged. The duration limit is 10 minutes. A video proxy still above 95 MB after recompression, or a source exceeding the duration limit, is reported as UNSUPPORTED with the limit in the failure message. Proxy preparation uses the organization’s metered sandbox resources.
|
|
32675
33186
|
*/
|
|
32676
33187
|
export type MediaProcessingWritable = {
|
|
32677
33188
|
state: MediaProcessingState;
|
|
@@ -32703,7 +33214,7 @@ export type MediaUnderstandingWritable = {
|
|
|
32703
33214
|
*/
|
|
32704
33215
|
asset_version: number;
|
|
32705
33216
|
/**
|
|
32706
|
-
* Result kind: caption is a visual description, tags are recognized labels, ocr is text recognized in the image, transcript is speech text, and frame is a description of a video segment.
|
|
33217
|
+
* Result kind: caption is a visual description, tags are recognized labels, ocr is text recognized in the image, transcript is speech text, and frame is a description of a video segment. audio describes sampled speech, music, ambient sound and silence; overview is a full-video summary with chapters, IAB categories and an unverified location; embedding reports a failed embedding step.
|
|
32707
33218
|
*/
|
|
32708
33219
|
kind: MediaUnderstandingKind;
|
|
32709
33220
|
/**
|
|
@@ -32727,7 +33238,7 @@ export type MediaUnderstandingWritable = {
|
|
|
32727
33238
|
*/
|
|
32728
33239
|
content: string | null;
|
|
32729
33240
|
/**
|
|
32730
|
-
* Structured producer output; null when absent. Transcript data retains a timed-segment array with corrected text and text_original on each segment; its first segment also carries the correction audit. Silent transcripts use an object with filtered_segments and correction. Legacy transcript arrays retain their original shape.
|
|
33241
|
+
* Structured producer output; null when absent. Transcript data retains a timed-segment array with corrected text and text_original on each segment; its first segment also carries the correction audit. Silent transcripts use an object with filtered_segments and correction. Legacy transcript arrays retain their original shape. Transcript segments may contain speaker (a diarization label, not a verified identity), words (text, start_ms and end_ms in source-media milliseconds) and producer (the actual fallback model when different from the record producer). Overview data contains chapters (first_shot, title, summary, start_ms, end_ms), iab (tier1, optional tier2, confidence from 0 to 1), and location (an unverified place guess or null); content is the full-video summary. Audio data contains segments (start_s and end_s in source-media seconds; type is speech, music, ambient or silence), has_music, genre, mood, bpm_estimate (nullable), bpm_is_estimate=true and analyzed_ranges (start_s, end_s in seconds). Genre and mood are nullable model labels. Audio understanding samples only the first 120 seconds in at most three windows of at most 40 seconds, with at most three metered model calls per asset. BPM is an estimate, not an exact tempo; has_music=false only means no music was detected within analyzed_ranges.
|
|
32731
33242
|
*/
|
|
32732
33243
|
data: unknown | null;
|
|
32733
33244
|
/**
|
|
@@ -32873,7 +33384,7 @@ export type MediaSearchAssetWritable = {
|
|
|
32873
33384
|
*/
|
|
32874
33385
|
url: string;
|
|
32875
33386
|
/**
|
|
32876
|
-
* HTTPS delivery URL for this asset version; equal to url. For authenticated assets the
|
|
33387
|
+
* HTTPS delivery URL for this asset version; equal to url. For authenticated assets the URL carries a single-file token that expires after 15 minutes, so it is ready to use but must not be stored; keep asset_id and read the asset again. Request a delivery_tokens token for transformed URLs.
|
|
32877
33388
|
*/
|
|
32878
33389
|
secure_url: string;
|
|
32879
33390
|
/**
|
|
@@ -43586,7 +44097,7 @@ export type FileCreateSignedUploadResponse = FileCreateSignedUploadResponses[key
|
|
|
43586
44097
|
export type FileCreateContentUrlData = {
|
|
43587
44098
|
body?: {
|
|
43588
44099
|
/**
|
|
43589
|
-
* Download link lifetime in seconds, from 1 through 604800; omitted means
|
|
44100
|
+
* Download link lifetime in seconds, from 1 through 604800; omitted means 900. This does not change the file's own expiry.
|
|
43590
44101
|
*/
|
|
43591
44102
|
ttl_seconds?: number;
|
|
43592
44103
|
};
|
|
@@ -45132,31 +45643,29 @@ export type CreateSystemoneResponse = CreateSystemoneResponses[keyof CreateSyste
|
|
|
45132
45643
|
export type CreateAudioTranscriptionData = {
|
|
45133
45644
|
body: {
|
|
45134
45645
|
/**
|
|
45135
|
-
*
|
|
45646
|
+
* Model catalog identifier declaring openai.audio.transcriptions; use it unchanged, including any creator prefix.
|
|
45136
45647
|
*/
|
|
45137
45648
|
model: string;
|
|
45138
45649
|
/**
|
|
45139
|
-
* Audio
|
|
45650
|
+
* Audio bytes uploaded as a multipart file; supported formats and input limits depend on the selected model.
|
|
45140
45651
|
*/
|
|
45141
45652
|
file: Blob | File;
|
|
45142
45653
|
/**
|
|
45143
|
-
*
|
|
45654
|
+
* Source language code when known; omit to let the model detect the language.
|
|
45144
45655
|
*/
|
|
45145
45656
|
language?: string;
|
|
45146
45657
|
/**
|
|
45147
|
-
*
|
|
45658
|
+
* Optional vocabulary or contextual guidance for recognizing the audio; support depends on the selected model.
|
|
45148
45659
|
*/
|
|
45149
45660
|
prompt?: string;
|
|
45150
45661
|
/**
|
|
45151
|
-
*
|
|
45662
|
+
* Output format: json returns text in JSON; text returns plain text; verbose_json includes requested timestamps; diarized_json includes speaker-labelled segments when supported. Defaults to json.
|
|
45152
45663
|
*/
|
|
45153
|
-
response_format?: 'json' | 'text' | 'verbose_json';
|
|
45664
|
+
response_format?: 'json' | 'text' | 'verbose_json' | 'diarized_json';
|
|
45154
45665
|
/**
|
|
45155
|
-
* Timestamp levels to
|
|
45666
|
+
* Timestamp levels to request as repeated multipart fields: word returns per-word times; segment returns segment times. Omit for the model default. Use verbose_json, or diarized_json on supporting models.
|
|
45156
45667
|
*/
|
|
45157
|
-
'timestamp_granularities[]'?:
|
|
45158
|
-
'segment'
|
|
45159
|
-
];
|
|
45668
|
+
'timestamp_granularities[]'?: Array<'word' | 'segment'>;
|
|
45160
45669
|
/**
|
|
45161
45670
|
* Both whisper-large-v3-turbo and qwen3-asr-flash return 400.
|
|
45162
45671
|
*/
|
|
@@ -45168,11 +45677,11 @@ export type CreateAudioTranscriptionData = {
|
|
|
45168
45677
|
};
|
|
45169
45678
|
export type CreateAudioTranscriptionErrors = {
|
|
45170
45679
|
/**
|
|
45171
|
-
*
|
|
45680
|
+
* A field
|
|
45172
45681
|
*/
|
|
45173
45682
|
400: unknown;
|
|
45174
45683
|
/**
|
|
45175
|
-
* No
|
|
45684
|
+
* No provider route supports this request; select an available model and its declared transcription features.
|
|
45176
45685
|
*/
|
|
45177
45686
|
503: unknown;
|
|
45178
45687
|
};
|
|
@@ -45182,58 +45691,79 @@ export type CreateAudioTranscriptionResponses = {
|
|
|
45182
45691
|
*/
|
|
45183
45692
|
200: {
|
|
45184
45693
|
/**
|
|
45185
|
-
*
|
|
45694
|
+
* Recognized speech text in the original language.
|
|
45186
45695
|
*/
|
|
45187
45696
|
text: string;
|
|
45188
45697
|
/**
|
|
45189
|
-
*
|
|
45698
|
+
* transcribe identifies speech-to-text transcription.
|
|
45190
45699
|
*/
|
|
45191
45700
|
task?: 'transcribe';
|
|
45192
45701
|
/**
|
|
45193
|
-
*
|
|
45702
|
+
* Detected or requested source language code.
|
|
45194
45703
|
*/
|
|
45195
45704
|
language?: string;
|
|
45196
45705
|
/**
|
|
45197
|
-
*
|
|
45706
|
+
* Audio duration in seconds when provided by the model.
|
|
45198
45707
|
*/
|
|
45199
45708
|
duration?: number;
|
|
45200
45709
|
/**
|
|
45201
|
-
*
|
|
45710
|
+
* Time-aligned speech segments when returned by the selected model and response format.
|
|
45202
45711
|
*/
|
|
45203
45712
|
segments?: Array<{
|
|
45204
45713
|
/**
|
|
45205
|
-
*
|
|
45714
|
+
* Segment identifier within this transcription response.
|
|
45206
45715
|
*/
|
|
45207
45716
|
id: number;
|
|
45208
45717
|
/**
|
|
45209
|
-
*
|
|
45718
|
+
* Inclusive start time in seconds from the beginning of the audio.
|
|
45210
45719
|
*/
|
|
45211
45720
|
start: number;
|
|
45212
45721
|
/**
|
|
45213
|
-
*
|
|
45722
|
+
* Exclusive end time in seconds from the beginning of the audio.
|
|
45214
45723
|
*/
|
|
45215
45724
|
end: number;
|
|
45216
45725
|
/**
|
|
45217
|
-
*
|
|
45726
|
+
* Recognized speech text in the original language.
|
|
45218
45727
|
*/
|
|
45219
45728
|
text: string;
|
|
45220
45729
|
/**
|
|
45221
|
-
*
|
|
45730
|
+
* Speaker label in diarized_json when supported; labels distinguish voices and are not verified identities.
|
|
45731
|
+
*/
|
|
45732
|
+
speaker?: string;
|
|
45733
|
+
/**
|
|
45734
|
+
* Decoding temperature reported by the transcription model.
|
|
45222
45735
|
*/
|
|
45223
45736
|
temperature?: number;
|
|
45224
45737
|
/**
|
|
45225
|
-
* Average
|
|
45738
|
+
* Average segment token log probability when provided.
|
|
45226
45739
|
*/
|
|
45227
45740
|
avg_logprob?: number;
|
|
45228
45741
|
/**
|
|
45229
|
-
*
|
|
45742
|
+
* Text compression ratio reported for this segment.
|
|
45230
45743
|
*/
|
|
45231
45744
|
compression_ratio?: number;
|
|
45232
45745
|
/**
|
|
45233
|
-
* Probability
|
|
45746
|
+
* Probability of no speech reported for this segment.
|
|
45234
45747
|
*/
|
|
45235
45748
|
no_speech_prob?: number;
|
|
45236
45749
|
}>;
|
|
45750
|
+
/**
|
|
45751
|
+
* Per-word source-audio timestamps when word granularity is requested and supported.
|
|
45752
|
+
*/
|
|
45753
|
+
words?: Array<{
|
|
45754
|
+
/**
|
|
45755
|
+
* Recognized word text in its original language.
|
|
45756
|
+
*/
|
|
45757
|
+
word: string;
|
|
45758
|
+
/**
|
|
45759
|
+
* Inclusive word start in seconds from the beginning of the audio.
|
|
45760
|
+
*/
|
|
45761
|
+
start: number;
|
|
45762
|
+
/**
|
|
45763
|
+
* Exclusive word end in seconds from the beginning of the audio.
|
|
45764
|
+
*/
|
|
45765
|
+
end: number;
|
|
45766
|
+
}>;
|
|
45237
45767
|
};
|
|
45238
45768
|
};
|
|
45239
45769
|
export type CreateAudioTranscriptionResponse = CreateAudioTranscriptionResponses[keyof CreateAudioTranscriptionResponses];
|
|
@@ -69106,7 +69636,7 @@ export type CutListFramesData = {
|
|
|
69106
69636
|
*/
|
|
69107
69637
|
at: string;
|
|
69108
69638
|
/**
|
|
69109
|
-
*
|
|
69639
|
+
* Image size multiplier, default 0.25, greater than zero and at most 0.5. Larger values return INVALID_PARAMS; pixel-area limits may reduce actual dimensions, reported as width and height.
|
|
69110
69640
|
*/
|
|
69111
69641
|
scale?: number;
|
|
69112
69642
|
/**
|
|
@@ -69448,7 +69978,7 @@ export type CutListExportsResponses = {
|
|
|
69448
69978
|
export type CutListExportsResponse = CutListExportsResponses[keyof CutListExportsResponses];
|
|
69449
69979
|
export type CutCreateExportData = {
|
|
69450
69980
|
/**
|
|
69451
|
-
* Start an export from a project revision into a bound library.
|
|
69981
|
+
* Start an export from a project revision into a bound library. Output assets carry the cut-export tag and project_id, export_id and duration (seconds) context. Unavailable source metadata rejects creation with MEDIA_UNAVAILABLE and source clip and asset identities before rendering starts. Sources follow current asset versions; the current version is frozen at creation.
|
|
69452
69982
|
*/
|
|
69453
69983
|
body: CutExportInput;
|
|
69454
69984
|
path: {
|
|
@@ -71260,7 +71790,7 @@ export type KnowledgeListFilesResponses = {
|
|
|
71260
71790
|
};
|
|
71261
71791
|
export type KnowledgeListFilesResponse = KnowledgeListFilesResponses[keyof KnowledgeListFilesResponses];
|
|
71262
71792
|
export type KnowledgeAttachFileData = {
|
|
71263
|
-
body:
|
|
71793
|
+
body: KnowledgeNativeAttachFile;
|
|
71264
71794
|
path: {
|
|
71265
71795
|
/**
|
|
71266
71796
|
* Resource ID.
|
|
@@ -71561,7 +72091,7 @@ export type KnowledgeRetrieveFileContentResponses = {
|
|
|
71561
72091
|
};
|
|
71562
72092
|
export type KnowledgeRetrieveFileContentResponse = KnowledgeRetrieveFileContentResponses[keyof KnowledgeRetrieveFileContentResponses];
|
|
71563
72093
|
export type KnowledgeCreateFileBatchData = {
|
|
71564
|
-
body:
|
|
72094
|
+
body: KnowledgeNativeCreateBatch;
|
|
71565
72095
|
path: {
|
|
71566
72096
|
/**
|
|
71567
72097
|
* Resource ID.
|
|
@@ -72365,6 +72895,80 @@ export type MediaCreateLibraryResponses = {
|
|
|
72365
72895
|
200: MediaLibrary;
|
|
72366
72896
|
};
|
|
72367
72897
|
export type MediaCreateLibraryResponse = MediaCreateLibraryResponses[keyof MediaCreateLibraryResponses];
|
|
72898
|
+
export type MediaCreateFrameUrlsData = {
|
|
72899
|
+
body: {
|
|
72900
|
+
/**
|
|
72901
|
+
* One to twenty timestamps in microseconds from the start of the video. Each must be a nonnegative safe integer strictly below the video duration; order and duplicates are preserved.
|
|
72902
|
+
*/
|
|
72903
|
+
at_micros: Array<number>;
|
|
72904
|
+
/**
|
|
72905
|
+
* Maximum JPEG width in pixels: 160 is a small thumbnail, 320 a preview and 640 a larger preview. Defaults to 640; larger widths are unavailable.
|
|
72906
|
+
*/
|
|
72907
|
+
width?: 160 | 320 | 640;
|
|
72908
|
+
};
|
|
72909
|
+
path: {
|
|
72910
|
+
/**
|
|
72911
|
+
* Library identifier returned by library creation or listing; must be accessible to the current credential.
|
|
72912
|
+
*/
|
|
72913
|
+
library_id: string;
|
|
72914
|
+
/**
|
|
72915
|
+
* Video asset identifier returned by asset upload or listing in this library; read its duration before choosing timestamps.
|
|
72916
|
+
*/
|
|
72917
|
+
asset_id: string;
|
|
72918
|
+
};
|
|
72919
|
+
query?: never;
|
|
72920
|
+
url: '/media/v1/libraries/{library_id}/assets/{asset_id}/frames';
|
|
72921
|
+
};
|
|
72922
|
+
export type MediaCreateFrameUrlsErrors = {
|
|
72923
|
+
/**
|
|
72924
|
+
* INVALID_PARAMS: supply 1–20 nonnegative integer timestamps below video duration and width 160, 320 or 640; images and audio cannot produce video frames.
|
|
72925
|
+
*/
|
|
72926
|
+
400: MediaMediaError;
|
|
72927
|
+
/**
|
|
72928
|
+
* This credential has read-only access to the library; use a write-capable binding for mutations.
|
|
72929
|
+
*/
|
|
72930
|
+
403: MediaMediaError;
|
|
72931
|
+
/**
|
|
72932
|
+
* The library or asset is missing, deleted or belongs to another tenant; verify its identifier and owner.
|
|
72933
|
+
*/
|
|
72934
|
+
404: MediaMediaError;
|
|
72935
|
+
/**
|
|
72936
|
+
* Request failed; see the error code reference.
|
|
72937
|
+
*/
|
|
72938
|
+
409: MediaMediaError;
|
|
72939
|
+
/**
|
|
72940
|
+
* The file exceeds an input limit; provide a smaller source file.
|
|
72941
|
+
*/
|
|
72942
|
+
413: MediaMediaError;
|
|
72943
|
+
/**
|
|
72944
|
+
* This media format is unsupported; provide a supported format.
|
|
72945
|
+
*/
|
|
72946
|
+
415: MediaMediaError;
|
|
72947
|
+
/**
|
|
72948
|
+
* A rate limit was reached; wait before retrying.
|
|
72949
|
+
*/
|
|
72950
|
+
429: MediaMediaError;
|
|
72951
|
+
/**
|
|
72952
|
+
* The requested operation is unsupported; choose a supported method.
|
|
72953
|
+
*/
|
|
72954
|
+
501: MediaMediaError;
|
|
72955
|
+
/**
|
|
72956
|
+
* Request failed; see the error code reference.
|
|
72957
|
+
*/
|
|
72958
|
+
502: MediaMediaError;
|
|
72959
|
+
/**
|
|
72960
|
+
* Historical projections are still being initialized, or library storage is temporarily unavailable; retry shortly and check failureSummary counts_complete.
|
|
72961
|
+
*/
|
|
72962
|
+
503: MediaMediaError;
|
|
72963
|
+
};
|
|
72964
|
+
export type MediaCreateFrameUrlsError = MediaCreateFrameUrlsErrors[keyof MediaCreateFrameUrlsErrors];
|
|
72965
|
+
export type MediaCreateFrameUrlsResponses = {
|
|
72966
|
+
/**
|
|
72967
|
+
* Successful response.
|
|
72968
|
+
*/
|
|
72969
|
+
200: MediaFrameUrls;
|
|
72970
|
+
};
|
|
72971
|
+
export type MediaCreateFrameUrlsResponse = MediaCreateFrameUrlsResponses[keyof MediaCreateFrameUrlsResponses];
|
|
72368
72972
|
export type MediaDeleteLibraryData = {
|
|
72369
72973
|
body?: never;
|
|
72370
72974
|
path: {
|
|
@@ -72809,7 +73413,7 @@ export type MediaUploadAssetData = {
|
|
|
72809
73413
|
*/
|
|
72810
73414
|
display_name?: string;
|
|
72811
73415
|
/**
|
|
72812
|
-
* Organizational folder path, separate from public_id. Empty selects the root; leading or trailing slashes, empty path segments, and . or .. segments are rejected.
|
|
73416
|
+
* Organizational folder path, separate from public_id. Empty selects the root; leading or trailing slashes, empty path segments, and . or .. segments are rejected. New path segments containing U+FFFD or consisting only of question marks are rejected with INVALID_PARAMS; send UTF-8 names. Existing affected folders remain readable and assets can be moved out.
|
|
72813
73417
|
*/
|
|
72814
73418
|
asset_folder?: string;
|
|
72815
73419
|
/**
|
|
@@ -72851,7 +73455,7 @@ export type MediaUploadAssetData = {
|
|
|
72851
73455
|
*/
|
|
72852
73456
|
resource_type?: 'image' | 'video' | 'raw' | 'auto';
|
|
72853
73457
|
/**
|
|
72854
|
-
* Asset delivery mode: upload is public; authenticated requires a signed URL or delivery token for originals and derivatives. private is unsupported.
|
|
73458
|
+
* Asset delivery mode: upload is public; authenticated requires a signed URL or delivery token for originals and derivatives. private is unsupported. New assets default to authenticated. Omitting type on overwrite preserves the current type. Unlike Cloudinary, public delivery requires explicit type=upload.
|
|
72855
73459
|
*/
|
|
72856
73460
|
type?: MediaDeliveryType;
|
|
72857
73461
|
};
|
|
@@ -72930,7 +73534,7 @@ export type MediaImportAssetData = {
|
|
|
72930
73534
|
*/
|
|
72931
73535
|
body: {
|
|
72932
73536
|
/**
|
|
72933
|
-
* File ID to copy into this library instead of file bytes. This independent copy defaults to
|
|
73537
|
+
* File ID to copy into this library instead of file bytes. This independent copy defaults to organization-private delivery (type=authenticated); explicitly set type=upload for public delivery. Deleting the source File does not delete this asset.
|
|
72934
73538
|
*/
|
|
72935
73539
|
file_id: string;
|
|
72936
73540
|
/**
|
|
@@ -72946,7 +73550,7 @@ export type MediaImportAssetData = {
|
|
|
72946
73550
|
*/
|
|
72947
73551
|
display_name?: string;
|
|
72948
73552
|
/**
|
|
72949
|
-
* Organizational folder path, separate from public_id. Empty selects the root; leading or trailing slashes, empty path segments, and . or .. segments are rejected.
|
|
73553
|
+
* Organizational folder path, separate from public_id. Empty selects the root; leading or trailing slashes, empty path segments, and . or .. segments are rejected. New path segments containing U+FFFD or consisting only of question marks are rejected with INVALID_PARAMS; send UTF-8 names. Existing affected folders remain readable and assets can be moved out.
|
|
72950
73554
|
*/
|
|
72951
73555
|
asset_folder?: string;
|
|
72952
73556
|
/**
|
|
@@ -72988,7 +73592,7 @@ export type MediaImportAssetData = {
|
|
|
72988
73592
|
*/
|
|
72989
73593
|
resource_type?: 'image' | 'video' | 'raw' | 'auto';
|
|
72990
73594
|
/**
|
|
72991
|
-
* Asset delivery mode: upload is public; authenticated requires a signed URL or delivery token for originals and derivatives. private is unsupported.
|
|
73595
|
+
* Asset delivery mode: upload is public; authenticated requires a signed URL or delivery token for originals and derivatives. private is unsupported. New assets default to authenticated. Omitting type on overwrite preserves the current type. Unlike Cloudinary, public delivery requires explicit type=upload.
|
|
72992
73596
|
*/
|
|
72993
73597
|
type?: MediaDeliveryType;
|
|
72994
73598
|
};
|
|
@@ -73191,7 +73795,7 @@ export type MediaUpdateAssetData = {
|
|
|
73191
73795
|
*/
|
|
73192
73796
|
display_name?: string;
|
|
73193
73797
|
/**
|
|
73194
|
-
* Organizational folder path, separate from public_id. Empty selects the root; leading or trailing slashes, empty path segments, and . or .. segments are rejected.
|
|
73798
|
+
* Organizational folder path, separate from public_id. Empty selects the root; leading or trailing slashes, empty path segments, and . or .. segments are rejected. New path segments containing U+FFFD or consisting only of question marks are rejected with INVALID_PARAMS; send UTF-8 names. Existing affected folders remain readable and assets can be moved out.
|
|
73195
73799
|
*/
|
|
73196
73800
|
asset_folder?: string;
|
|
73197
73801
|
/**
|
|
@@ -73274,7 +73878,7 @@ export type MediaReprocessAssetData = {
|
|
|
73274
73878
|
*/
|
|
73275
73879
|
body: {
|
|
73276
73880
|
/**
|
|
73277
|
-
* Processing tasks to rerun. Omit to retry failed tasks
|
|
73881
|
+
* Processing tasks to rerun. Omit to retry failed tasks and legacy source-size unsupported tasks; explicit kinds rerun applicable ready or failed tasks and recoverable source-size unsupported tasks. Other unsupported causes remain unchanged. Pending and running tasks are unchanged; an empty array does nothing.
|
|
73278
73882
|
*/
|
|
73279
73883
|
kinds?: Array<MediaProcessingKind>;
|
|
73280
73884
|
};
|
|
@@ -73359,9 +73963,9 @@ export type MediaListUnderstandingsData = {
|
|
|
73359
73963
|
*/
|
|
73360
73964
|
include_superseded?: boolean;
|
|
73361
73965
|
/**
|
|
73362
|
-
*
|
|
73966
|
+
* Return one output kind: caption is a visual description, tags are generated labels, ocr is visible text, transcript is speech, frame is a video shot, overview is a video summary, audio is sampled audio understanding, and embedding reports a failed embedding step.
|
|
73363
73967
|
*/
|
|
73364
|
-
kind?: 'caption' | 'tags' | 'ocr' | 'transcript' | 'frame';
|
|
73968
|
+
kind?: 'caption' | 'tags' | 'ocr' | 'transcript' | 'frame' | 'overview' | 'audio' | 'embedding';
|
|
73365
73969
|
/**
|
|
73366
73970
|
* Cursor from the previous next_cursor.
|
|
73367
73971
|
*/
|
|
@@ -73429,7 +74033,7 @@ export type MediaExpressionSearchData = {
|
|
|
73429
74033
|
*/
|
|
73430
74034
|
body: {
|
|
73431
74035
|
/**
|
|
73432
|
-
* Asset filter expression supporting field comparisons, AND, OR, NOT, parentheses and suffix wildcards. An empty expression matches all assets. For business metadata use context.sku=KETTLE-RED AND context.revision=2; request with_field: ["context"] to include context. Quality filters: flags:watermark matches any current shot with a watermark; flags.watermark:false requires an assessed video with no positive watermark judgment. The same syntax supports slideshow, hand_frame, text_sticker and low_quality. folder_mismatch:true selects lexical folder/location hints. Geometry filters support width, height, resolution:1920x1080, numeric aspect_ratio (width/height), and orientation:landscape, portrait or square. Missing geometry or unassessed legacy flags do not match positive filters.
|
|
74036
|
+
* Asset filter expression supporting field comparisons, AND, OR, NOT, parentheses and suffix wildcards. An empty expression matches all assets. For business metadata use context.sku=KETTLE-RED AND context.revision=2; request with_field: ["context"] to include context. Quality filters: flags:watermark matches any current shot with a watermark; flags.watermark:false requires an assessed video with no positive watermark judgment. The same syntax supports slideshow, hand_frame, text_sticker and low_quality. folder_mismatch:true selects lexical folder/location hints. Geometry filters support width, height, resolution:1920x1080, numeric aspect_ratio (width/height), and orientation:landscape, portrait or square. Missing geometry or unassessed legacy flags do not match positive filters. has_music:true AND audio_genre:jazz AND audio_mood:calm selects current-version audio profiles with music and matching model labels; has_music:false applies only to sampled ranges, not the entire source. failure_code=UPSTREAM_FAILED selects assets with a current failed understanding carrying that code; combine with processing_state=failed or processing_state=partial.
|
|
73433
74037
|
*/
|
|
73434
74038
|
expression?: string;
|
|
73435
74039
|
/**
|
|
@@ -73838,6 +74442,10 @@ export type MediaCreateBatchData = {
|
|
|
73838
74442
|
* Select assets by ids or by expression, never both. Expression results and exclusions are resolved when the job is created.
|
|
73839
74443
|
*/
|
|
73840
74444
|
selector: MediaBatchSelector;
|
|
74445
|
+
/**
|
|
74446
|
+
* Audit reason for the operation; required for staff Admin reprocessing and recorded with the initiating actor. Nonblank, at most 2000 characters.
|
|
74447
|
+
*/
|
|
74448
|
+
reason?: string;
|
|
73841
74449
|
};
|
|
73842
74450
|
path: {
|
|
73843
74451
|
/**
|
|
@@ -73972,6 +74580,10 @@ export type MediaBatchAssetsData = {
|
|
|
73972
74580
|
* Select assets by ids or by expression, never both. Expression results and exclusions are resolved when the job is created.
|
|
73973
74581
|
*/
|
|
73974
74582
|
selector: MediaBatchSelector;
|
|
74583
|
+
/**
|
|
74584
|
+
* Audit reason for the operation; required for staff Admin reprocessing and recorded with the initiating actor. Nonblank, at most 2000 characters.
|
|
74585
|
+
*/
|
|
74586
|
+
reason?: string;
|
|
73975
74587
|
};
|
|
73976
74588
|
path: {
|
|
73977
74589
|
/**
|
|
@@ -74185,7 +74797,7 @@ export type MediaCreateDeliveryTokenData = {
|
|
|
74185
74797
|
*/
|
|
74186
74798
|
acl?: string;
|
|
74187
74799
|
/**
|
|
74188
|
-
* Token lifetime in seconds, from 1 to 604800 inclusive; defaults to
|
|
74800
|
+
* Token lifetime in seconds, from 1 to 604800 inclusive; defaults to 900.
|
|
74189
74801
|
*/
|
|
74190
74802
|
expires_in?: number;
|
|
74191
74803
|
};
|
|
@@ -74248,6 +74860,145 @@ export type MediaCreateDeliveryTokenResponses = {
|
|
|
74248
74860
|
200: MediaDeliveryToken;
|
|
74249
74861
|
};
|
|
74250
74862
|
export type MediaCreateDeliveryTokenResponse = MediaCreateDeliveryTokenResponses[keyof MediaCreateDeliveryTokenResponses];
|
|
74863
|
+
export type MediaUnderstandingFailureSummaryData = {
|
|
74864
|
+
body?: never;
|
|
74865
|
+
path: {
|
|
74866
|
+
/**
|
|
74867
|
+
* Library ID returned by creation.
|
|
74868
|
+
*/
|
|
74869
|
+
library_id: string;
|
|
74870
|
+
};
|
|
74871
|
+
query?: never;
|
|
74872
|
+
url: '/media/v1/libraries/{library_id}/understandings/failure_summary';
|
|
74873
|
+
};
|
|
74874
|
+
export type MediaUnderstandingFailureSummaryErrors = {
|
|
74875
|
+
/**
|
|
74876
|
+
* A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
|
|
74877
|
+
*/
|
|
74878
|
+
400: MediaMediaError;
|
|
74879
|
+
/**
|
|
74880
|
+
* This credential has read-only access to the library; use a write-capable binding for mutations.
|
|
74881
|
+
*/
|
|
74882
|
+
403: MediaMediaError;
|
|
74883
|
+
/**
|
|
74884
|
+
* The library or asset is missing, deleted or belongs to another tenant; verify its identifier and owner.
|
|
74885
|
+
*/
|
|
74886
|
+
404: MediaMediaError;
|
|
74887
|
+
/**
|
|
74888
|
+
* Request failed; see the error code reference.
|
|
74889
|
+
*/
|
|
74890
|
+
409: MediaMediaError;
|
|
74891
|
+
/**
|
|
74892
|
+
* The file exceeds an input limit; provide a smaller source file.
|
|
74893
|
+
*/
|
|
74894
|
+
413: MediaMediaError;
|
|
74895
|
+
/**
|
|
74896
|
+
* This media format is unsupported; provide a supported format.
|
|
74897
|
+
*/
|
|
74898
|
+
415: MediaMediaError;
|
|
74899
|
+
/**
|
|
74900
|
+
* A rate limit was reached; wait before retrying.
|
|
74901
|
+
*/
|
|
74902
|
+
429: MediaMediaError;
|
|
74903
|
+
/**
|
|
74904
|
+
* The requested operation is unsupported; choose a supported method.
|
|
74905
|
+
*/
|
|
74906
|
+
501: MediaMediaError;
|
|
74907
|
+
/**
|
|
74908
|
+
* Request failed; see the error code reference.
|
|
74909
|
+
*/
|
|
74910
|
+
502: MediaMediaError;
|
|
74911
|
+
/**
|
|
74912
|
+
* Historical projections are still being initialized, or library storage is temporarily unavailable; retry shortly and check failureSummary counts_complete.
|
|
74913
|
+
*/
|
|
74914
|
+
503: MediaMediaError;
|
|
74915
|
+
};
|
|
74916
|
+
export type MediaUnderstandingFailureSummaryError = MediaUnderstandingFailureSummaryErrors[keyof MediaUnderstandingFailureSummaryErrors];
|
|
74917
|
+
export type MediaUnderstandingFailureSummaryResponses = {
|
|
74918
|
+
/**
|
|
74919
|
+
* Successful response.
|
|
74920
|
+
*/
|
|
74921
|
+
200: MediaFailureSummary;
|
|
74922
|
+
};
|
|
74923
|
+
export type MediaUnderstandingFailureSummaryResponse = MediaUnderstandingFailureSummaryResponses[keyof MediaUnderstandingFailureSummaryResponses];
|
|
74924
|
+
export type MediaListUnderstandingsByLibraryData = {
|
|
74925
|
+
body?: never;
|
|
74926
|
+
path: {
|
|
74927
|
+
/**
|
|
74928
|
+
* Library ID returned by creation.
|
|
74929
|
+
*/
|
|
74930
|
+
library_id: string;
|
|
74931
|
+
};
|
|
74932
|
+
query?: {
|
|
74933
|
+
/**
|
|
74934
|
+
* Folder path including all descendants; omitted or empty selects the entire library.
|
|
74935
|
+
*/
|
|
74936
|
+
folder?: string;
|
|
74937
|
+
/**
|
|
74938
|
+
* Comma-separated output kinds: caption, tags, ocr, frame, transcript, overview, audio, embedding. Omit or empty to include every kind.
|
|
74939
|
+
*/
|
|
74940
|
+
kinds?: string;
|
|
74941
|
+
/**
|
|
74942
|
+
* Cursor from the previous next_cursor.
|
|
74943
|
+
*/
|
|
74944
|
+
cursor?: string;
|
|
74945
|
+
/**
|
|
74946
|
+
* Maximum entries in this page, from 1 through 100; defaults to 100.
|
|
74947
|
+
*/
|
|
74948
|
+
limit?: number;
|
|
74949
|
+
};
|
|
74950
|
+
url: '/media/v1/libraries/{library_id}/understandings';
|
|
74951
|
+
};
|
|
74952
|
+
export type MediaListUnderstandingsByLibraryErrors = {
|
|
74953
|
+
/**
|
|
74954
|
+
* A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
|
|
74955
|
+
*/
|
|
74956
|
+
400: MediaMediaError;
|
|
74957
|
+
/**
|
|
74958
|
+
* This credential has read-only access to the library; use a write-capable binding for mutations.
|
|
74959
|
+
*/
|
|
74960
|
+
403: MediaMediaError;
|
|
74961
|
+
/**
|
|
74962
|
+
* The library or asset is missing, deleted or belongs to another tenant; verify its identifier and owner.
|
|
74963
|
+
*/
|
|
74964
|
+
404: MediaMediaError;
|
|
74965
|
+
/**
|
|
74966
|
+
* Request failed; see the error code reference.
|
|
74967
|
+
*/
|
|
74968
|
+
409: MediaMediaError;
|
|
74969
|
+
/**
|
|
74970
|
+
* The file exceeds an input limit; provide a smaller source file.
|
|
74971
|
+
*/
|
|
74972
|
+
413: MediaMediaError;
|
|
74973
|
+
/**
|
|
74974
|
+
* This media format is unsupported; provide a supported format.
|
|
74975
|
+
*/
|
|
74976
|
+
415: MediaMediaError;
|
|
74977
|
+
/**
|
|
74978
|
+
* A rate limit was reached; wait before retrying.
|
|
74979
|
+
*/
|
|
74980
|
+
429: MediaMediaError;
|
|
74981
|
+
/**
|
|
74982
|
+
* The requested operation is unsupported; choose a supported method.
|
|
74983
|
+
*/
|
|
74984
|
+
501: MediaMediaError;
|
|
74985
|
+
/**
|
|
74986
|
+
* Request failed; see the error code reference.
|
|
74987
|
+
*/
|
|
74988
|
+
502: MediaMediaError;
|
|
74989
|
+
/**
|
|
74990
|
+
* Historical projections are still being initialized, or library storage is temporarily unavailable; retry shortly and check failureSummary counts_complete.
|
|
74991
|
+
*/
|
|
74992
|
+
503: MediaMediaError;
|
|
74993
|
+
};
|
|
74994
|
+
export type MediaListUnderstandingsByLibraryError = MediaListUnderstandingsByLibraryErrors[keyof MediaListUnderstandingsByLibraryErrors];
|
|
74995
|
+
export type MediaListUnderstandingsByLibraryResponses = {
|
|
74996
|
+
/**
|
|
74997
|
+
* Successful response.
|
|
74998
|
+
*/
|
|
74999
|
+
200: MediaUnderstandingPage;
|
|
75000
|
+
};
|
|
75001
|
+
export type MediaListUnderstandingsByLibraryResponse = MediaListUnderstandingsByLibraryResponses[keyof MediaListUnderstandingsByLibraryResponses];
|
|
74251
75002
|
export type GetSandboxV1SandboxesData = {
|
|
74252
75003
|
body?: never;
|
|
74253
75004
|
path?: never;
|
|
@@ -76843,7 +77594,7 @@ export type TicketGetTicketsData = {
|
|
|
76843
77594
|
*/
|
|
76844
77595
|
page_token?: string;
|
|
76845
77596
|
/**
|
|
76846
|
-
* Filter expression.
|
|
77597
|
+
* Filter expression using field:value qualifiers, such as is:open milestone:5.
|
|
76847
77598
|
*/
|
|
76848
77599
|
filter?: string;
|
|
76849
77600
|
};
|
|
@@ -79262,7 +80013,7 @@ export type TicketGetActivityData = {
|
|
|
79262
80013
|
*/
|
|
79263
80014
|
page_token?: string;
|
|
79264
80015
|
/**
|
|
79265
|
-
*
|
|
80016
|
+
* Activity filter expression.
|
|
79266
80017
|
*/
|
|
79267
80018
|
filter?: string;
|
|
79268
80019
|
};
|