@deepraxis/sdk 0.1.1-dev.414edb9 → 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 +20 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +175 -40
- package/dist/generated/sdk.gen.js +214 -39
- package/dist/generated/types.gen.d.ts +1234 -120
- package/dist/operations.generated.d.ts +194 -62
- package/dist/operations.generated.js +229 -58
- package/dist/resources.generated.d.ts +26 -0
- package/dist/resources.generated.js +10 -0
- package/package.json +1 -1
|
@@ -1020,9 +1020,9 @@ export type OwnFileCreateFileRequest = {
|
|
|
1020
1020
|
*/
|
|
1021
1021
|
file: Blob | File;
|
|
1022
1022
|
/**
|
|
1023
|
-
* Purpose label stored with the file: user_data or vision. The vision purpose accepts only PNG, JPEG, GIF and WebP images. Conversation image references require user_data.
|
|
1023
|
+
* Purpose label stored with the file: user_data, assistants or vision. The label is stored and returned unchanged; assistants follows the same rules as user_data. The vision purpose accepts only PNG, JPEG, GIF and WebP images. Conversation image references require user_data.
|
|
1024
1024
|
*/
|
|
1025
|
-
purpose: 'user_data' | 'vision';
|
|
1025
|
+
purpose: 'user_data' | 'assistants' | 'vision';
|
|
1026
1026
|
expires_after?: OwnFileFileExpirationAfter;
|
|
1027
1027
|
};
|
|
1028
1028
|
/**
|
|
@@ -1058,7 +1058,7 @@ export type OwnFileOpenAiFile = {
|
|
|
1058
1058
|
/**
|
|
1059
1059
|
* Upload purpose. Image references in conversations require user_data.
|
|
1060
1060
|
*/
|
|
1061
|
-
purpose: 'user_data' | 'vision';
|
|
1061
|
+
purpose: 'user_data' | 'assistants' | 'vision';
|
|
1062
1062
|
/**
|
|
1063
1063
|
* Deprecated. The current status of the file, which can be either `uploaded`, `processed`, or `error`.
|
|
1064
1064
|
*
|
|
@@ -1156,9 +1156,9 @@ export type OwnFilePraxisCreateUpload = {
|
|
|
1156
1156
|
*/
|
|
1157
1157
|
mime_type: string;
|
|
1158
1158
|
/**
|
|
1159
|
-
* Use user_data for conversation attachments, or vision for PNG, JPEG, GIF and WebP images.
|
|
1159
|
+
* Use user_data for conversation attachments, assistants for assistant files, or vision for PNG, JPEG, GIF and WebP images.
|
|
1160
1160
|
*/
|
|
1161
|
-
purpose: 'user_data' | 'vision';
|
|
1161
|
+
purpose: 'user_data' | 'assistants' | 'vision';
|
|
1162
1162
|
/**
|
|
1163
1163
|
* Optional expiry policy for the resulting file; omission retains the file until deletion.
|
|
1164
1164
|
*/
|
|
@@ -1203,9 +1203,9 @@ export type OwnFilePraxisUpload = {
|
|
|
1203
1203
|
*/
|
|
1204
1204
|
filename: string;
|
|
1205
1205
|
/**
|
|
1206
|
-
* File purpose: user_data for conversation attachments, vision for images.
|
|
1206
|
+
* File purpose: user_data for conversation attachments, assistants for assistant files, vision for images.
|
|
1207
1207
|
*/
|
|
1208
|
-
purpose: 'user_data' | 'vision';
|
|
1208
|
+
purpose: 'user_data' | 'assistants' | 'vision';
|
|
1209
1209
|
/**
|
|
1210
1210
|
* Upload state: pending accepts parts; completed has a file; cancelled was cancelled; expired exceeded its one-hour lifetime.
|
|
1211
1211
|
*/
|
|
@@ -1282,9 +1282,9 @@ export type OwnFileSignedUploadRequest = {
|
|
|
1282
1282
|
*/
|
|
1283
1283
|
content_type: string;
|
|
1284
1284
|
/**
|
|
1285
|
-
* user_data
|
|
1285
|
+
* user_data and assistants store ordinary files and conversation images with their original purpose label; vision accepts PNG, JPEG, GIF or WebP images only. Omitted means user_data.
|
|
1286
1286
|
*/
|
|
1287
|
-
purpose?: 'user_data' | 'vision';
|
|
1287
|
+
purpose?: 'user_data' | 'assistants' | 'vision';
|
|
1288
1288
|
/**
|
|
1289
1289
|
* Lifetime in seconds, from 1 through 604800: defaults to 900 for single PUT or 3600 for multipart. All part URLs and the completion URL share one expiry. This does not set the resulting file's lifetime.
|
|
1290
1290
|
*/
|
|
@@ -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.
|
|
@@ -14039,6 +14076,10 @@ export type KnowledgeEventList = {
|
|
|
14039
14076
|
* A caller-owned media library with lifecycle, usage, understanding settings and model selections.
|
|
14040
14077
|
*/
|
|
14041
14078
|
export type MediaLibrary = {
|
|
14079
|
+
/**
|
|
14080
|
+
* Correction vocabulary, at most 200 nonblank terms of at most 32 Unicode characters each. Omitted on an unconfigured library: correction derives up to 200 distinct names from the library name and every folder level, excluding generic names such as 原始素材 and 混剪成品. An explicit empty array disables this vocabulary. Updating affects subsequent understanding and explicit reprocessing, not existing results.
|
|
14081
|
+
*/
|
|
14082
|
+
readonly hotwords?: Array<string>;
|
|
14042
14083
|
/**
|
|
14043
14084
|
* Current understanding progress for active and deleting libraries. Counts exclude deleted assets; migration_complete is false until historical assets have been counted.
|
|
14044
14085
|
*/
|
|
@@ -14123,9 +14164,21 @@ export type MediaMediaModelsInput = {
|
|
|
14123
14164
|
*/
|
|
14124
14165
|
embedding?: string | null;
|
|
14125
14166
|
/**
|
|
14126
|
-
* 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.
|
|
14127
14168
|
*/
|
|
14128
14169
|
transcription?: string | null;
|
|
14170
|
+
/**
|
|
14171
|
+
* Model call ID for conservative transcript spelling correction; defaults to qwen3.8-flash. The model must support chat completions. Null restores this role’s default.
|
|
14172
|
+
*/
|
|
14173
|
+
correction?: string | null;
|
|
14174
|
+
/**
|
|
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.
|
|
14176
|
+
*/
|
|
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;
|
|
14129
14182
|
} | null;
|
|
14130
14183
|
/**
|
|
14131
14184
|
* Libraries in this page, ordered by creation time descending.
|
|
@@ -14140,6 +14193,25 @@ export type MediaLibraryPage = MediaPage & {
|
|
|
14140
14193
|
*/
|
|
14141
14194
|
next_cursor: string | null;
|
|
14142
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
|
+
};
|
|
14143
14215
|
/**
|
|
14144
14216
|
* Receipt confirming permanent removal of a previously deleted library.
|
|
14145
14217
|
*/
|
|
@@ -14299,7 +14371,7 @@ export type MediaAsset = {
|
|
|
14299
14371
|
*/
|
|
14300
14372
|
url: string;
|
|
14301
14373
|
/**
|
|
14302
|
-
* 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.
|
|
14303
14375
|
*/
|
|
14304
14376
|
secure_url: string;
|
|
14305
14377
|
/**
|
|
@@ -14408,6 +14480,10 @@ export type MediaUnderstandingPage = MediaPage & {
|
|
|
14408
14480
|
* Opaque token to pass as cursor to listUnderstandings; null means no further page.
|
|
14409
14481
|
*/
|
|
14410
14482
|
next_cursor: string | null;
|
|
14483
|
+
/**
|
|
14484
|
+
* Current-version video shots, repeated on every understanding page. Absent on legacy records, images and audio. New video processing with image-capable embedding samples at 1 fps, at most 600 frames, and produces at most 60 shots. Long clips increase the interval and merge adjacent short shots; sub-second cuts may be missed. Each shot uses one to three keyframes in one vision call. Text-only legacy embedding profiles retain frame-based processing.
|
|
14485
|
+
*/
|
|
14486
|
+
readonly shots?: Array<MediaUnderstoodShot>;
|
|
14411
14487
|
};
|
|
14412
14488
|
/**
|
|
14413
14489
|
* Expression-search page with match counts, elapsed time and optional facet counts.
|
|
@@ -14491,7 +14567,19 @@ export type MediaFolders = {
|
|
|
14491
14567
|
* Number of assets in this folder and all descendant folders.
|
|
14492
14568
|
*/
|
|
14493
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;
|
|
14494
14578
|
}>;
|
|
14579
|
+
/**
|
|
14580
|
+
* False while historical folder and failure counts are being populated; refresh after backfill completes.
|
|
14581
|
+
*/
|
|
14582
|
+
counts_complete: boolean;
|
|
14495
14583
|
};
|
|
14496
14584
|
/**
|
|
14497
14585
|
* Asynchronous batch job with successful and failed item counts.
|
|
@@ -14506,9 +14594,9 @@ export type MediaJob = {
|
|
|
14506
14594
|
*/
|
|
14507
14595
|
library_id: MediaLibraryId;
|
|
14508
14596
|
/**
|
|
14509
|
-
* 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.
|
|
14510
14598
|
*/
|
|
14511
|
-
action: 'tag' | 'untag' | 'set_context' | 'move' | 'delete';
|
|
14599
|
+
action: 'tag' | 'untag' | 'set_context' | 'move' | 'delete' | 'reprocess';
|
|
14512
14600
|
/**
|
|
14513
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.
|
|
14514
14602
|
*/
|
|
@@ -14518,7 +14606,7 @@ export type MediaJob = {
|
|
|
14518
14606
|
*/
|
|
14519
14607
|
total: number;
|
|
14520
14608
|
/**
|
|
14521
|
-
* 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.
|
|
14522
14610
|
*/
|
|
14523
14611
|
done: number;
|
|
14524
14612
|
/**
|
|
@@ -14584,6 +14672,15 @@ export type MediaBatchAction = {
|
|
|
14584
14672
|
* Batch operation: tag adds labels, untag removes labels, set_context replaces custom metadata, move changes asset_folder, and delete removes selected assets.
|
|
14585
14673
|
*/
|
|
14586
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>;
|
|
14587
14684
|
};
|
|
14588
14685
|
/**
|
|
14589
14686
|
* Select assets by ids or by expression, never both. Expression results and exclusions are resolved when the job is created.
|
|
@@ -14629,6 +14726,20 @@ export type MediaDeliveryToken = {
|
|
|
14629
14726
|
*/
|
|
14630
14727
|
expires_at: string;
|
|
14631
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
|
+
};
|
|
14632
14743
|
/**
|
|
14633
14744
|
* Sandbox creation request. All system communication with the sandbox is always secured; the template's envd version must support secured access.
|
|
14634
14745
|
*/
|
|
@@ -24979,6 +25090,10 @@ export type CutTimeline = {
|
|
|
24979
25090
|
* Ordered tracks, topmost visual layer first.
|
|
24980
25091
|
*/
|
|
24981
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>;
|
|
24982
25097
|
/**
|
|
24983
25098
|
* Named points on the timeline.
|
|
24984
25099
|
*/
|
|
@@ -25014,11 +25129,11 @@ export type CutSummary = {
|
|
|
25014
25129
|
lines: Array<string>;
|
|
25015
25130
|
};
|
|
25016
25131
|
/**
|
|
25017
|
-
* Rendered image
|
|
25132
|
+
* Rendered PNG image carried inline as a data URL.
|
|
25018
25133
|
*/
|
|
25019
25134
|
export type CutRenderRef = {
|
|
25020
25135
|
/**
|
|
25021
|
-
*
|
|
25136
|
+
* Inline PNG data URL (data:image/png;base64,...); decode the base64 payload to save the image. This is not a hosted HTTP image link.
|
|
25022
25137
|
*/
|
|
25023
25138
|
url: string;
|
|
25024
25139
|
/**
|
|
@@ -25030,7 +25145,7 @@ export type CutRenderRef = {
|
|
|
25030
25145
|
*/
|
|
25031
25146
|
height: number;
|
|
25032
25147
|
/**
|
|
25033
|
-
* ISO 8601 timestamp
|
|
25148
|
+
* ISO 8601 freshness timestamp for the render result; the inline data URL contains the image bytes and does not require a network refresh.
|
|
25034
25149
|
*/
|
|
25035
25150
|
expires_at: string;
|
|
25036
25151
|
};
|
|
@@ -25071,6 +25186,20 @@ export type CutTrackSummary = {
|
|
|
25071
25186
|
*/
|
|
25072
25187
|
items: number;
|
|
25073
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
|
+
};
|
|
25074
25203
|
/**
|
|
25075
25204
|
* Reference to an asset in a bound library; follows asset overwrites to the latest version rather than pinning a version.
|
|
25076
25205
|
*/
|
|
@@ -25293,7 +25422,7 @@ export type KnowledgeKnowledgeModels = {
|
|
|
25293
25422
|
*/
|
|
25294
25423
|
query_rewrite: string;
|
|
25295
25424
|
/**
|
|
25296
|
-
* 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.
|
|
25297
25426
|
*/
|
|
25298
25427
|
ocr: string;
|
|
25299
25428
|
/**
|
|
@@ -25302,14 +25431,9 @@ export type KnowledgeKnowledgeModels = {
|
|
|
25302
25431
|
vision: string;
|
|
25303
25432
|
};
|
|
25304
25433
|
/**
|
|
25305
|
-
* 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.
|
|
25306
25435
|
*/
|
|
25307
|
-
export type
|
|
25308
|
-
/**
|
|
25309
|
-
* auto uses the default static chunk size of 800 estimated tokens with 400 overlap tokens.
|
|
25310
|
-
*/
|
|
25311
|
-
type: 'auto';
|
|
25312
|
-
} | KnowledgeStaticChunking;
|
|
25436
|
+
export type KnowledgeNativeChunkingInput = KnowledgeChunkingInput | KnowledgeHierarchicalChunking;
|
|
25313
25437
|
/**
|
|
25314
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.
|
|
25315
25439
|
*/
|
|
@@ -25327,7 +25451,7 @@ export type KnowledgeKnowledgeModelsInput = {
|
|
|
25327
25451
|
*/
|
|
25328
25452
|
query_rewrite?: string | null;
|
|
25329
25453
|
/**
|
|
25330
|
-
* 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.
|
|
25331
25455
|
*/
|
|
25332
25456
|
ocr?: string | null;
|
|
25333
25457
|
/**
|
|
@@ -25364,6 +25488,10 @@ export type KnowledgeNativeSearchResult = {
|
|
|
25364
25488
|
* Extracted text of the matched chunk, which may overlap neighboring chunks.
|
|
25365
25489
|
*/
|
|
25366
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;
|
|
25367
25495
|
/**
|
|
25368
25496
|
* Resource ID.
|
|
25369
25497
|
*/
|
|
@@ -25427,14 +25555,9 @@ export type KnowledgeFilter = {
|
|
|
25427
25555
|
filters: Array<KnowledgeFilter>;
|
|
25428
25556
|
};
|
|
25429
25557
|
/**
|
|
25430
|
-
*
|
|
25558
|
+
* Native stored strategy, including hierarchical parent and child settings. auto input resolves to static; the OpenAI-compatible URL projects hierarchical as other.
|
|
25431
25559
|
*/
|
|
25432
|
-
export type
|
|
25433
|
-
/**
|
|
25434
|
-
* other identifies a stored strategy whose chunk-size settings are unavailable.
|
|
25435
|
-
*/
|
|
25436
|
-
type: 'other';
|
|
25437
|
-
};
|
|
25560
|
+
export type KnowledgeNativeChunking = KnowledgeChunking | KnowledgeHierarchicalChunking;
|
|
25438
25561
|
/**
|
|
25439
25562
|
* File attributes used by search filters. Up to 16 keys of 64 characters; string values up to 512 characters.
|
|
25440
25563
|
*/
|
|
@@ -25546,7 +25669,7 @@ export type MediaUnderstandingProgress = {
|
|
|
25546
25669
|
readonly migration_complete: boolean;
|
|
25547
25670
|
};
|
|
25548
25671
|
/**
|
|
25549
|
-
* Resolved model call IDs for
|
|
25672
|
+
* Resolved model call IDs for vision, embedding, timestamped transcription, reference transcription and correction.
|
|
25550
25673
|
*/
|
|
25551
25674
|
export type MediaMediaModels = {
|
|
25552
25675
|
/**
|
|
@@ -25558,9 +25681,21 @@ export type MediaMediaModels = {
|
|
|
25558
25681
|
*/
|
|
25559
25682
|
embedding: string;
|
|
25560
25683
|
/**
|
|
25561
|
-
* 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.
|
|
25562
25685
|
*/
|
|
25563
25686
|
transcription: string;
|
|
25687
|
+
/**
|
|
25688
|
+
* Model call ID for conservative transcript spelling correction; defaults to qwen3.8-flash. The model must support chat completions.
|
|
25689
|
+
*/
|
|
25690
|
+
readonly correction: string;
|
|
25691
|
+
/**
|
|
25692
|
+
* Model call ID for optional full-text reference ASR; defaults to qwen3-asr-flash. Reference failures do not block correction.
|
|
25693
|
+
*/
|
|
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;
|
|
25564
25699
|
};
|
|
25565
25700
|
/**
|
|
25566
25701
|
* Identifier of a library belonging to the caller.
|
|
@@ -25721,7 +25856,7 @@ export type MediaCloudinaryResource = {
|
|
|
25721
25856
|
*/
|
|
25722
25857
|
url: string;
|
|
25723
25858
|
/**
|
|
25724
|
-
* 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.
|
|
25725
25860
|
*/
|
|
25726
25861
|
secure_url: string;
|
|
25727
25862
|
/**
|
|
@@ -25757,13 +25892,13 @@ export type MediaChunkComplete = MediaCloudinaryResource & {
|
|
|
25757
25892
|
done: true;
|
|
25758
25893
|
};
|
|
25759
25894
|
/**
|
|
25760
|
-
* 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.
|
|
25761
25896
|
*/
|
|
25762
25897
|
export type MediaProcessing = {
|
|
25763
25898
|
/**
|
|
25764
|
-
* Current understanding stage: probe, frames, visual, transcript, 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.
|
|
25765
25900
|
*/
|
|
25766
|
-
readonly stage?: 'probe' | 'frames' | 'visual' | 'transcript' | 'embedding' | 'finalize' | null;
|
|
25901
|
+
readonly stage?: 'probe' | 'frames' | 'shots' | 'visual' | 'transcript' | 'transcript_reference' | 'transcript_correction' | 'audio_profile' | 'overview' | 'embedding' | 'finalize' | null;
|
|
25767
25902
|
state: MediaProcessingState;
|
|
25768
25903
|
/**
|
|
25769
25904
|
* Processing states by kind. tagging is present when auto_tagging was requested and follows visual understanding.
|
|
@@ -25805,6 +25940,18 @@ export type MediaStoryboard = {
|
|
|
25805
25940
|
* An immutable understanding result for an asset version, including superseded history when requested.
|
|
25806
25941
|
*/
|
|
25807
25942
|
export type MediaUnderstanding = {
|
|
25943
|
+
/**
|
|
25944
|
+
* Original hallucination-filtered ASR text before correction, present on correction-enabled transcript records. Omitted on legacy records and other kinds.
|
|
25945
|
+
*/
|
|
25946
|
+
readonly text_original?: string;
|
|
25947
|
+
/**
|
|
25948
|
+
* Corrected transcript, also returned as content and used for subtitles and search. Equals text_original when correction fails. Original segment timestamps remain unchanged.
|
|
25949
|
+
*/
|
|
25950
|
+
readonly text?: string;
|
|
25951
|
+
/**
|
|
25952
|
+
* Transcript correction audit, accepted edits and optional reference ASR. Present on correction-enabled transcript records, including failed corrections.
|
|
25953
|
+
*/
|
|
25954
|
+
readonly correction?: MediaTranscriptCorrection;
|
|
25808
25955
|
/**
|
|
25809
25956
|
* Generated identifier of this understanding result.
|
|
25810
25957
|
*/
|
|
@@ -25818,7 +25965,7 @@ export type MediaUnderstanding = {
|
|
|
25818
25965
|
*/
|
|
25819
25966
|
asset_version: number;
|
|
25820
25967
|
/**
|
|
25821
|
-
* 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.
|
|
25822
25969
|
*/
|
|
25823
25970
|
kind: MediaUnderstandingKind;
|
|
25824
25971
|
/**
|
|
@@ -25842,7 +25989,7 @@ export type MediaUnderstanding = {
|
|
|
25842
25989
|
*/
|
|
25843
25990
|
content: string | null;
|
|
25844
25991
|
/**
|
|
25845
|
-
* Structured producer output,
|
|
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.
|
|
25846
25993
|
*/
|
|
25847
25994
|
data: unknown | null;
|
|
25848
25995
|
/**
|
|
@@ -25871,6 +26018,36 @@ export type MediaUnderstanding = {
|
|
|
25871
26018
|
*/
|
|
25872
26019
|
created_at: MediaIsoTimestamp;
|
|
25873
26020
|
};
|
|
26021
|
+
export type MediaUnderstoodShot = {
|
|
26022
|
+
/**
|
|
26023
|
+
* Inclusive shot start in milliseconds.
|
|
26024
|
+
*/
|
|
26025
|
+
readonly start_ms: number;
|
|
26026
|
+
/**
|
|
26027
|
+
* Exclusive shot end in milliseconds.
|
|
26028
|
+
*/
|
|
26029
|
+
readonly end_ms: number;
|
|
26030
|
+
/**
|
|
26031
|
+
* Zero-based shot index in timeline order.
|
|
26032
|
+
*/
|
|
26033
|
+
readonly index: number;
|
|
26034
|
+
/**
|
|
26035
|
+
* One to three sampled frame timestamps in milliseconds within this shot.
|
|
26036
|
+
*/
|
|
26037
|
+
readonly keyframes_ms: Array<number>;
|
|
26038
|
+
/**
|
|
26039
|
+
* Structured interpretation, present after this shot completes visual processing.
|
|
26040
|
+
*/
|
|
26041
|
+
readonly visual?: MediaShotVisual;
|
|
26042
|
+
/**
|
|
26043
|
+
* Lexical location hint: true if the leaf folder and location guess share no place-name token. Unknown locations abstain; this is not a verified geolocation.
|
|
26044
|
+
*/
|
|
26045
|
+
readonly folder_mismatch?: boolean;
|
|
26046
|
+
/**
|
|
26047
|
+
* Vision model that generated this shot interpretation.
|
|
26048
|
+
*/
|
|
26049
|
+
readonly producer?: string;
|
|
26050
|
+
};
|
|
25874
26051
|
/**
|
|
25875
26052
|
* A native asset returned by expression search; tags and context are included only when requested in with_field.
|
|
25876
26053
|
*/
|
|
@@ -25988,7 +26165,7 @@ export type MediaSearchAsset = {
|
|
|
25988
26165
|
*/
|
|
25989
26166
|
url: string;
|
|
25990
26167
|
/**
|
|
25991
|
-
* 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.
|
|
25992
26169
|
*/
|
|
25993
26170
|
secure_url: string;
|
|
25994
26171
|
/**
|
|
@@ -26141,6 +26318,36 @@ export type MediaMediaEvent = {
|
|
|
26141
26318
|
[key: string]: unknown;
|
|
26142
26319
|
};
|
|
26143
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
|
+
};
|
|
26144
26351
|
/**
|
|
26145
26352
|
* Auto-resume configuration for paused sandboxes.
|
|
26146
26353
|
*/
|
|
@@ -30467,6 +30674,32 @@ export type CutTrack = {
|
|
|
30467
30674
|
*/
|
|
30468
30675
|
items: Array<CutItem>;
|
|
30469
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
|
+
};
|
|
30470
30703
|
/**
|
|
30471
30704
|
* A named point on the project timeline.
|
|
30472
30705
|
*/
|
|
@@ -30484,23 +30717,39 @@ export type CutMarker = {
|
|
|
30484
30717
|
*/
|
|
30485
30718
|
label: string;
|
|
30486
30719
|
};
|
|
30487
|
-
|
|
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 = {
|
|
30488
30724
|
/**
|
|
30489
|
-
*
|
|
30725
|
+
* auto uses the default static chunk size of 800 estimated tokens with 400 overlap tokens.
|
|
30490
30726
|
*/
|
|
30491
|
-
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 = {
|
|
30492
30733
|
/**
|
|
30493
|
-
*
|
|
30734
|
+
* hierarchical selects smaller child chunks for matching and larger parent chunks for context.
|
|
30494
30735
|
*/
|
|
30495
|
-
|
|
30736
|
+
type: 'hierarchical';
|
|
30737
|
+
/**
|
|
30738
|
+
* Required parent, child and overlap sizes in estimated tokens. All three values must be integers.
|
|
30739
|
+
*/
|
|
30740
|
+
hierarchical: {
|
|
30496
30741
|
/**
|
|
30497
|
-
*
|
|
30742
|
+
* Maximum estimated tokens per parent chunk, from 101 through 4096; must exceed child_max_tokens.
|
|
30498
30743
|
*/
|
|
30499
|
-
|
|
30744
|
+
parent_max_tokens: number;
|
|
30500
30745
|
/**
|
|
30501
|
-
*
|
|
30746
|
+
* Maximum estimated tokens per child chunk, at least 100 and strictly smaller than parent_max_tokens.
|
|
30502
30747
|
*/
|
|
30503
|
-
|
|
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;
|
|
30504
30753
|
};
|
|
30505
30754
|
};
|
|
30506
30755
|
/**
|
|
@@ -30540,6 +30789,15 @@ export type KnowledgeSearchExplain = {
|
|
|
30540
30789
|
*/
|
|
30541
30790
|
matched_terms: Array<string>;
|
|
30542
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
|
+
};
|
|
30543
30801
|
/**
|
|
30544
30802
|
* Aggregate processing state across the asset processing tasks.
|
|
30545
30803
|
*/
|
|
@@ -30548,14 +30806,66 @@ export type MediaProcessingState = 'pending' | 'processing' | 'ready' | 'partial
|
|
|
30548
30806
|
* Task state: pending awaits execution; running is executing; ready succeeded; failed terminated unsuccessfully; unsupported cannot process this input; skipped was disabled or does not apply.
|
|
30549
30807
|
*/
|
|
30550
30808
|
export type MediaKindState = 'pending' | 'running' | 'ready' | 'failed' | 'unsupported' | 'skipped';
|
|
30809
|
+
export type MediaTranscriptCorrection = {
|
|
30810
|
+
/**
|
|
30811
|
+
* Accepted local edits, including deterministic Arabic quantity normalization. Unsupported model edits are discarded.
|
|
30812
|
+
*/
|
|
30813
|
+
readonly edits: Array<MediaTranscriptEdit>;
|
|
30814
|
+
/**
|
|
30815
|
+
* ready means correction and validation completed; failed means text is exactly the ASR original, with no accepted edits.
|
|
30816
|
+
*/
|
|
30817
|
+
readonly correction_status: 'ready' | 'failed';
|
|
30818
|
+
/**
|
|
30819
|
+
* Configured correction model call ID; defaults to qwen3.8-flash.
|
|
30820
|
+
*/
|
|
30821
|
+
readonly correction_model: string;
|
|
30822
|
+
/**
|
|
30823
|
+
* ready means reference ASR supplied text; missing means reference failed or was unavailable and correction proceeded without it.
|
|
30824
|
+
*/
|
|
30825
|
+
readonly reference_status: 'ready' | 'missing';
|
|
30826
|
+
/**
|
|
30827
|
+
* Full reference ASR text, present when reference_status is ready. It supplies spelling evidence and has no timestamps.
|
|
30828
|
+
*/
|
|
30829
|
+
readonly reference_text?: string;
|
|
30830
|
+
/**
|
|
30831
|
+
* Model call ID that supplied the reference text; defaults to qwen3-asr-flash.
|
|
30832
|
+
*/
|
|
30833
|
+
readonly reference_model?: string;
|
|
30834
|
+
/**
|
|
30835
|
+
* Correction failure that caused verbatim fallback to the ASR original.
|
|
30836
|
+
*/
|
|
30837
|
+
readonly correction_error?: {
|
|
30838
|
+
/**
|
|
30839
|
+
* Failure code for the optional transcript enhancement step.
|
|
30840
|
+
*/
|
|
30841
|
+
code: string;
|
|
30842
|
+
/**
|
|
30843
|
+
* Failure detail; use reprocess to retry with the library’s current configuration.
|
|
30844
|
+
*/
|
|
30845
|
+
message: string;
|
|
30846
|
+
};
|
|
30847
|
+
/**
|
|
30848
|
+
* Reference failure; it does not block correction.
|
|
30849
|
+
*/
|
|
30850
|
+
readonly reference_error?: {
|
|
30851
|
+
/**
|
|
30852
|
+
* Failure code for the optional transcript enhancement step.
|
|
30853
|
+
*/
|
|
30854
|
+
code: string;
|
|
30855
|
+
/**
|
|
30856
|
+
* Failure detail; use reprocess to retry with the library’s current configuration.
|
|
30857
|
+
*/
|
|
30858
|
+
message: string;
|
|
30859
|
+
};
|
|
30860
|
+
};
|
|
30551
30861
|
/**
|
|
30552
30862
|
* Identifier of an immutable understanding result.
|
|
30553
30863
|
*/
|
|
30554
30864
|
export type MediaUnderstandingId = string;
|
|
30555
30865
|
/**
|
|
30556
|
-
* 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.
|
|
30557
30867
|
*/
|
|
30558
|
-
export type MediaUnderstandingKind = 'caption' | 'tags' | 'ocr' | 'transcript' | 'frame';
|
|
30868
|
+
export type MediaUnderstandingKind = 'caption' | 'tags' | 'ocr' | 'transcript' | 'frame' | 'overview' | 'audio' | 'embedding';
|
|
30559
30869
|
/**
|
|
30560
30870
|
* Time range within the source media, expressed in milliseconds.
|
|
30561
30871
|
*/
|
|
@@ -30569,6 +30879,28 @@ export type MediaSegment = {
|
|
|
30569
30879
|
*/
|
|
30570
30880
|
end_ms: number;
|
|
30571
30881
|
};
|
|
30882
|
+
export type MediaShotVisual = {
|
|
30883
|
+
/**
|
|
30884
|
+
* Chinese summary of the entire shot using its keyframes together.
|
|
30885
|
+
*/
|
|
30886
|
+
readonly caption: string;
|
|
30887
|
+
/**
|
|
30888
|
+
* Chinese description of the scene and shooting context.
|
|
30889
|
+
*/
|
|
30890
|
+
readonly scene: string;
|
|
30891
|
+
/**
|
|
30892
|
+
* Location inferred from recognizable landmarks or readable place names; null without evidence.
|
|
30893
|
+
*/
|
|
30894
|
+
readonly location_guess: string | null;
|
|
30895
|
+
/**
|
|
30896
|
+
* Visible text in reading order, preserving the source language.
|
|
30897
|
+
*/
|
|
30898
|
+
readonly on_screen_text: Array<string>;
|
|
30899
|
+
/**
|
|
30900
|
+
* Quality and editing characteristics with confidence for every judgment.
|
|
30901
|
+
*/
|
|
30902
|
+
readonly flags: MediaShotFlags;
|
|
30903
|
+
};
|
|
30572
30904
|
/**
|
|
30573
30905
|
* Evidence contributing to a search hit, optionally linked to an understanding and a source-media segment.
|
|
30574
30906
|
*/
|
|
@@ -30593,7 +30925,7 @@ export type MediaSemanticMatch = {
|
|
|
30593
30925
|
/**
|
|
30594
30926
|
* Type of change recorded for a library, asset, processing task, search index or batch.
|
|
30595
30927
|
*/
|
|
30596
|
-
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';
|
|
30597
30929
|
/**
|
|
30598
30930
|
* Auto-resume enabled flag for paused sandboxes. Default false.
|
|
30599
30931
|
*/
|
|
@@ -31225,21 +31557,25 @@ export type AnthropicToolReferenceBlock = {
|
|
|
31225
31557
|
*/
|
|
31226
31558
|
export type CutTextStyle = {
|
|
31227
31559
|
/**
|
|
31228
|
-
*
|
|
31560
|
+
* Canonical font family name; call ListFonts() in the Cut script API to retrieve the available font families.
|
|
31229
31561
|
*/
|
|
31230
|
-
font_family?:
|
|
31562
|
+
font_family?: string;
|
|
31231
31563
|
/**
|
|
31232
31564
|
* Text size in output pixels.
|
|
31233
31565
|
*/
|
|
31234
31566
|
font_size?: number;
|
|
31235
31567
|
/**
|
|
31236
|
-
*
|
|
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.
|
|
31237
31569
|
*/
|
|
31238
|
-
font_weight?:
|
|
31570
|
+
font_weight?: number;
|
|
31239
31571
|
/**
|
|
31240
31572
|
* Text color in #RRGGBB or #RRGGBBAA notation.
|
|
31241
31573
|
*/
|
|
31242
31574
|
color?: string;
|
|
31575
|
+
/**
|
|
31576
|
+
* Optional solid or gradient glyph fill; gradients span the text box.
|
|
31577
|
+
*/
|
|
31578
|
+
fill?: CutFill;
|
|
31243
31579
|
/**
|
|
31244
31580
|
* Optional text outline.
|
|
31245
31581
|
*/
|
|
@@ -31249,10 +31585,61 @@ export type CutTextStyle = {
|
|
|
31249
31585
|
*/
|
|
31250
31586
|
color?: string;
|
|
31251
31587
|
/**
|
|
31252
|
-
* Outline width in output pixels.
|
|
31588
|
+
* Outline width in output pixels; must be non-negative and at most 40 pixels.
|
|
31253
31589
|
*/
|
|
31254
31590
|
width?: number;
|
|
31255
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.
|
|
31602
|
+
*/
|
|
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;
|
|
31642
|
+
};
|
|
31256
31643
|
/**
|
|
31257
31644
|
* Optional text background color as hexadecimal RGB or RGBA.
|
|
31258
31645
|
*/
|
|
@@ -31266,9 +31653,13 @@ export type CutTextStyle = {
|
|
|
31266
31653
|
*/
|
|
31267
31654
|
max_width?: number;
|
|
31268
31655
|
/**
|
|
31269
|
-
*
|
|
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.
|
|
31270
31657
|
*/
|
|
31271
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;
|
|
31272
31663
|
/**
|
|
31273
31664
|
* Optional color applied to the currently spoken caption word.
|
|
31274
31665
|
*/
|
|
@@ -31380,6 +31771,183 @@ export type CutItem = {
|
|
|
31380
31771
|
*/
|
|
31381
31772
|
words?: Array<CutCaptionWord>;
|
|
31382
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
|
+
};
|
|
31915
|
+
export type MediaTranscriptEdit = {
|
|
31916
|
+
/**
|
|
31917
|
+
* Original literal text replaced by this accepted edit.
|
|
31918
|
+
*/
|
|
31919
|
+
readonly from: string;
|
|
31920
|
+
/**
|
|
31921
|
+
* Replacement text. Model edits require a length difference of at most two Unicode characters, or a target present in hotwords or the reference transcript. Arabic quantity normalization is deterministic.
|
|
31922
|
+
*/
|
|
31923
|
+
readonly to: string;
|
|
31924
|
+
/**
|
|
31925
|
+
* Zero-based index in the assembled, hallucination-filtered ASR segments. Segment timestamps do not change.
|
|
31926
|
+
*/
|
|
31927
|
+
readonly segment_id: number;
|
|
31928
|
+
};
|
|
31929
|
+
export type MediaShotFlags = {
|
|
31930
|
+
/**
|
|
31931
|
+
* Slide or screen-recorded picture/text sequence rather than live footage.
|
|
31932
|
+
*/
|
|
31933
|
+
readonly slideshow: MediaShotFlag;
|
|
31934
|
+
/**
|
|
31935
|
+
* Visible watermark.
|
|
31936
|
+
*/
|
|
31937
|
+
readonly watermark: MediaShotFlag;
|
|
31938
|
+
/**
|
|
31939
|
+
* Fingers or hands framing the scene.
|
|
31940
|
+
*/
|
|
31941
|
+
readonly hand_frame: MediaShotFlag;
|
|
31942
|
+
/**
|
|
31943
|
+
* Added text sticker or overlay.
|
|
31944
|
+
*/
|
|
31945
|
+
readonly text_sticker: MediaShotFlag;
|
|
31946
|
+
/**
|
|
31947
|
+
* Blur, severe camera shake, bad exposure or another visible quality defect.
|
|
31948
|
+
*/
|
|
31949
|
+
readonly low_quality: MediaShotFlag;
|
|
31950
|
+
};
|
|
31383
31951
|
export type SandboxSandboxIamToken = {
|
|
31384
31952
|
/**
|
|
31385
31953
|
* Audience of the workload token, stored exactly as provided.
|
|
@@ -31565,6 +32133,51 @@ export type AnthropicCitationsConfig = {
|
|
|
31565
32133
|
*/
|
|
31566
32134
|
enabled: boolean;
|
|
31567
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
|
+
};
|
|
31568
32181
|
/**
|
|
31569
32182
|
* Visual placement; coordinates are normalized canvas centers.
|
|
31570
32183
|
*/
|
|
@@ -31641,6 +32254,16 @@ export type CutCaptionWord = {
|
|
|
31641
32254
|
*/
|
|
31642
32255
|
length: number;
|
|
31643
32256
|
};
|
|
32257
|
+
export type MediaShotFlag = {
|
|
32258
|
+
/**
|
|
32259
|
+
* True when this visual characteristic is present.
|
|
32260
|
+
*/
|
|
32261
|
+
readonly value: boolean;
|
|
32262
|
+
/**
|
|
32263
|
+
* Confidence in this true or false judgment, from 0 to 1.
|
|
32264
|
+
*/
|
|
32265
|
+
readonly confidence: number;
|
|
32266
|
+
};
|
|
31644
32267
|
export type PraxisSdkSseGetBrowserV1SessionsSessionIdStream = BrowserStreamMessage;
|
|
31645
32268
|
/**
|
|
31646
32269
|
* 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.
|
|
@@ -31936,6 +32559,28 @@ export type AutomationJsonValueWritable = null | string | number | boolean | Aut
|
|
|
31936
32559
|
export type AutomationJsonObjectWritable = {
|
|
31937
32560
|
[key: string]: AutomationJsonValueWritable;
|
|
31938
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
|
+
};
|
|
31939
32584
|
/**
|
|
31940
32585
|
* A caller-owned media library with lifecycle, usage, understanding settings and model selections.
|
|
31941
32586
|
*/
|
|
@@ -31943,7 +32588,7 @@ export type MediaLibraryWritable = {
|
|
|
31943
32588
|
/**
|
|
31944
32589
|
* Resolved model call IDs used for new uploads and reprocessing.
|
|
31945
32590
|
*/
|
|
31946
|
-
models:
|
|
32591
|
+
models: MediaMediaModelsWritable;
|
|
31947
32592
|
/**
|
|
31948
32593
|
* Generated library identifier: lib_ followed by 32 lowercase hexadecimal characters.
|
|
31949
32594
|
*/
|
|
@@ -32138,7 +32783,7 @@ export type MediaAssetWritable = {
|
|
|
32138
32783
|
*/
|
|
32139
32784
|
url: string;
|
|
32140
32785
|
/**
|
|
32141
|
-
* 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.
|
|
32142
32787
|
*/
|
|
32143
32788
|
secure_url: string;
|
|
32144
32789
|
/**
|
|
@@ -32222,6 +32867,19 @@ export type MediaAssetWritable = {
|
|
|
32222
32867
|
};
|
|
32223
32868
|
};
|
|
32224
32869
|
};
|
|
32870
|
+
/**
|
|
32871
|
+
* Understanding results in this page, ordered by creation time ascending.
|
|
32872
|
+
*/
|
|
32873
|
+
export type MediaUnderstandingPageWritable = MediaPage & {
|
|
32874
|
+
/**
|
|
32875
|
+
* Understanding results in this page, ordered by creation time ascending.
|
|
32876
|
+
*/
|
|
32877
|
+
data: Array<MediaUnderstandingWritable>;
|
|
32878
|
+
/**
|
|
32879
|
+
* Opaque token to pass as cursor to listUnderstandings; null means no further page.
|
|
32880
|
+
*/
|
|
32881
|
+
next_cursor: string | null;
|
|
32882
|
+
};
|
|
32225
32883
|
/**
|
|
32226
32884
|
* Expression-search page with match counts, elapsed time and optional facet counts.
|
|
32227
32885
|
*/
|
|
@@ -32315,6 +32973,75 @@ export type AgentManaged193Writable = {
|
|
|
32315
32973
|
export type AgentManaged143Writable = {
|
|
32316
32974
|
[key: string]: string;
|
|
32317
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
|
+
};
|
|
33028
|
+
/**
|
|
33029
|
+
* Resolved model call IDs for vision, embedding, timestamped transcription, reference transcription and correction.
|
|
33030
|
+
*/
|
|
33031
|
+
export type MediaMediaModelsWritable = {
|
|
33032
|
+
/**
|
|
33033
|
+
* Model call ID for visual descriptions; the model must support image input.
|
|
33034
|
+
*/
|
|
33035
|
+
vision: string;
|
|
33036
|
+
/**
|
|
33037
|
+
* Model call ID for search embeddings; must produce compatible vectors and cannot change while assets exist.
|
|
33038
|
+
*/
|
|
33039
|
+
embedding: string;
|
|
33040
|
+
/**
|
|
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.
|
|
33042
|
+
*/
|
|
33043
|
+
transcription: string;
|
|
33044
|
+
};
|
|
32318
33045
|
/**
|
|
32319
33046
|
* Cloudinary-compatible resource. processing is present when the asset was uploaded with auto_tagging; otherwise it is omitted. Native Asset responses always include processing.
|
|
32320
33047
|
*/
|
|
@@ -32432,7 +33159,7 @@ export type MediaCloudinaryResourceWritable = {
|
|
|
32432
33159
|
*/
|
|
32433
33160
|
url: string;
|
|
32434
33161
|
/**
|
|
32435
|
-
* 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.
|
|
32436
33163
|
*/
|
|
32437
33164
|
secure_url: string;
|
|
32438
33165
|
/**
|
|
@@ -32455,7 +33182,7 @@ export type MediaChunkCompleteWritable = MediaCloudinaryResourceWritable & {
|
|
|
32455
33182
|
done: true;
|
|
32456
33183
|
};
|
|
32457
33184
|
/**
|
|
32458
|
-
* 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.
|
|
32459
33186
|
*/
|
|
32460
33187
|
export type MediaProcessingWritable = {
|
|
32461
33188
|
state: MediaProcessingState;
|
|
@@ -32470,6 +33197,76 @@ export type MediaProcessingWritable = {
|
|
|
32470
33197
|
*/
|
|
32471
33198
|
updated_at: MediaIsoTimestamp;
|
|
32472
33199
|
};
|
|
33200
|
+
/**
|
|
33201
|
+
* An immutable understanding result for an asset version, including superseded history when requested.
|
|
33202
|
+
*/
|
|
33203
|
+
export type MediaUnderstandingWritable = {
|
|
33204
|
+
/**
|
|
33205
|
+
* Generated identifier of this understanding result.
|
|
33206
|
+
*/
|
|
33207
|
+
id: MediaUnderstandingId;
|
|
33208
|
+
/**
|
|
33209
|
+
* Identifier of the asset from which this result was produced.
|
|
33210
|
+
*/
|
|
33211
|
+
asset_id: MediaAssetId;
|
|
33212
|
+
/**
|
|
33213
|
+
* Asset version processed to produce this result; compare with the asset’s current version.
|
|
33214
|
+
*/
|
|
33215
|
+
asset_version: number;
|
|
33216
|
+
/**
|
|
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.
|
|
33218
|
+
*/
|
|
33219
|
+
kind: MediaUnderstandingKind;
|
|
33220
|
+
/**
|
|
33221
|
+
* Producer model identifier; a failure may use the configured model when no model response is available.
|
|
33222
|
+
*/
|
|
33223
|
+
producer: string;
|
|
33224
|
+
/**
|
|
33225
|
+
* Version of the producer that generated this understanding result.
|
|
33226
|
+
*/
|
|
33227
|
+
producer_version: string;
|
|
33228
|
+
/**
|
|
33229
|
+
* Source-media time range for a frame or transcript segment; null for results without a segment.
|
|
33230
|
+
*/
|
|
33231
|
+
segment: MediaSegment | null;
|
|
33232
|
+
/**
|
|
33233
|
+
* Result status: ready contains completed output; failed records an error.
|
|
33234
|
+
*/
|
|
33235
|
+
status: 'ready' | 'failed';
|
|
33236
|
+
/**
|
|
33237
|
+
* Text output, such as a caption, recognized text or transcript; null for structured-only or failed results.
|
|
33238
|
+
*/
|
|
33239
|
+
content: string | null;
|
|
33240
|
+
/**
|
|
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.
|
|
33242
|
+
*/
|
|
33243
|
+
data: unknown | null;
|
|
33244
|
+
/**
|
|
33245
|
+
* Confidence value recorded by the producer; null when no confidence value is recorded.
|
|
33246
|
+
*/
|
|
33247
|
+
confidence: number | null;
|
|
33248
|
+
/**
|
|
33249
|
+
* Failure code and message, or null for a successful result.
|
|
33250
|
+
*/
|
|
33251
|
+
error: {
|
|
33252
|
+
/**
|
|
33253
|
+
* Failure code identifying why understanding could not complete.
|
|
33254
|
+
*/
|
|
33255
|
+
code: string;
|
|
33256
|
+
/**
|
|
33257
|
+
* Human-readable explanation of the understanding failure.
|
|
33258
|
+
*/
|
|
33259
|
+
message: string;
|
|
33260
|
+
} | null;
|
|
33261
|
+
/**
|
|
33262
|
+
* Whether a newer result or asset version has replaced this result. Excluded from listing unless include_superseded is true.
|
|
33263
|
+
*/
|
|
33264
|
+
superseded: boolean;
|
|
33265
|
+
/**
|
|
33266
|
+
* Time this immutable result was recorded, in UTC.
|
|
33267
|
+
*/
|
|
33268
|
+
created_at: MediaIsoTimestamp;
|
|
33269
|
+
};
|
|
32473
33270
|
/**
|
|
32474
33271
|
* A native asset returned by expression search; tags and context are included only when requested in with_field.
|
|
32475
33272
|
*/
|
|
@@ -32587,7 +33384,7 @@ export type MediaSearchAssetWritable = {
|
|
|
32587
33384
|
*/
|
|
32588
33385
|
url: string;
|
|
32589
33386
|
/**
|
|
32590
|
-
* 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.
|
|
32591
33388
|
*/
|
|
32592
33389
|
secure_url: string;
|
|
32593
33390
|
/**
|
|
@@ -32695,6 +33492,9 @@ export type MediaSemanticHitWritable = {
|
|
|
32695
33492
|
export type AgentManaged34Writable = {
|
|
32696
33493
|
[key: string]: unknown;
|
|
32697
33494
|
};
|
|
33495
|
+
export type MediaTranscriptCorrectionWritable = {
|
|
33496
|
+
[key: string]: unknown;
|
|
33497
|
+
};
|
|
32698
33498
|
/**
|
|
32699
33499
|
* Id of the sandbox, the `sandboxID` returned by the create call (or listed by listSandboxes). Another team's sandbox and an unknown id both answer 404.
|
|
32700
33500
|
*/
|
|
@@ -43297,7 +44097,7 @@ export type FileCreateSignedUploadResponse = FileCreateSignedUploadResponses[key
|
|
|
43297
44097
|
export type FileCreateContentUrlData = {
|
|
43298
44098
|
body?: {
|
|
43299
44099
|
/**
|
|
43300
|
-
* 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.
|
|
43301
44101
|
*/
|
|
43302
44102
|
ttl_seconds?: number;
|
|
43303
44103
|
};
|
|
@@ -44843,31 +45643,29 @@ export type CreateSystemoneResponse = CreateSystemoneResponses[keyof CreateSyste
|
|
|
44843
45643
|
export type CreateAudioTranscriptionData = {
|
|
44844
45644
|
body: {
|
|
44845
45645
|
/**
|
|
44846
|
-
*
|
|
45646
|
+
* Model catalog identifier declaring openai.audio.transcriptions; use it unchanged, including any creator prefix.
|
|
44847
45647
|
*/
|
|
44848
45648
|
model: string;
|
|
44849
45649
|
/**
|
|
44850
|
-
* Audio
|
|
45650
|
+
* Audio bytes uploaded as a multipart file; supported formats and input limits depend on the selected model.
|
|
44851
45651
|
*/
|
|
44852
45652
|
file: Blob | File;
|
|
44853
45653
|
/**
|
|
44854
|
-
*
|
|
45654
|
+
* Source language code when known; omit to let the model detect the language.
|
|
44855
45655
|
*/
|
|
44856
45656
|
language?: string;
|
|
44857
45657
|
/**
|
|
44858
|
-
*
|
|
45658
|
+
* Optional vocabulary or contextual guidance for recognizing the audio; support depends on the selected model.
|
|
44859
45659
|
*/
|
|
44860
45660
|
prompt?: string;
|
|
44861
45661
|
/**
|
|
44862
|
-
*
|
|
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.
|
|
44863
45663
|
*/
|
|
44864
|
-
response_format?: 'json' | 'text' | 'verbose_json';
|
|
45664
|
+
response_format?: 'json' | 'text' | 'verbose_json' | 'diarized_json';
|
|
44865
45665
|
/**
|
|
44866
|
-
* 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.
|
|
44867
45667
|
*/
|
|
44868
|
-
'timestamp_granularities[]'?:
|
|
44869
|
-
'segment'
|
|
44870
|
-
];
|
|
45668
|
+
'timestamp_granularities[]'?: Array<'word' | 'segment'>;
|
|
44871
45669
|
/**
|
|
44872
45670
|
* Both whisper-large-v3-turbo and qwen3-asr-flash return 400.
|
|
44873
45671
|
*/
|
|
@@ -44879,11 +45677,11 @@ export type CreateAudioTranscriptionData = {
|
|
|
44879
45677
|
};
|
|
44880
45678
|
export type CreateAudioTranscriptionErrors = {
|
|
44881
45679
|
/**
|
|
44882
|
-
*
|
|
45680
|
+
* A field
|
|
44883
45681
|
*/
|
|
44884
45682
|
400: unknown;
|
|
44885
45683
|
/**
|
|
44886
|
-
* No
|
|
45684
|
+
* No provider route supports this request; select an available model and its declared transcription features.
|
|
44887
45685
|
*/
|
|
44888
45686
|
503: unknown;
|
|
44889
45687
|
};
|
|
@@ -44893,58 +45691,79 @@ export type CreateAudioTranscriptionResponses = {
|
|
|
44893
45691
|
*/
|
|
44894
45692
|
200: {
|
|
44895
45693
|
/**
|
|
44896
|
-
*
|
|
45694
|
+
* Recognized speech text in the original language.
|
|
44897
45695
|
*/
|
|
44898
45696
|
text: string;
|
|
44899
45697
|
/**
|
|
44900
|
-
*
|
|
45698
|
+
* transcribe identifies speech-to-text transcription.
|
|
44901
45699
|
*/
|
|
44902
45700
|
task?: 'transcribe';
|
|
44903
45701
|
/**
|
|
44904
|
-
*
|
|
45702
|
+
* Detected or requested source language code.
|
|
44905
45703
|
*/
|
|
44906
45704
|
language?: string;
|
|
44907
45705
|
/**
|
|
44908
|
-
*
|
|
45706
|
+
* Audio duration in seconds when provided by the model.
|
|
44909
45707
|
*/
|
|
44910
45708
|
duration?: number;
|
|
44911
45709
|
/**
|
|
44912
|
-
*
|
|
45710
|
+
* Time-aligned speech segments when returned by the selected model and response format.
|
|
44913
45711
|
*/
|
|
44914
45712
|
segments?: Array<{
|
|
44915
45713
|
/**
|
|
44916
|
-
*
|
|
45714
|
+
* Segment identifier within this transcription response.
|
|
44917
45715
|
*/
|
|
44918
45716
|
id: number;
|
|
44919
45717
|
/**
|
|
44920
|
-
*
|
|
45718
|
+
* Inclusive start time in seconds from the beginning of the audio.
|
|
44921
45719
|
*/
|
|
44922
45720
|
start: number;
|
|
44923
45721
|
/**
|
|
44924
|
-
*
|
|
45722
|
+
* Exclusive end time in seconds from the beginning of the audio.
|
|
44925
45723
|
*/
|
|
44926
45724
|
end: number;
|
|
44927
45725
|
/**
|
|
44928
|
-
*
|
|
45726
|
+
* Recognized speech text in the original language.
|
|
44929
45727
|
*/
|
|
44930
45728
|
text: string;
|
|
44931
45729
|
/**
|
|
44932
|
-
*
|
|
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.
|
|
44933
45735
|
*/
|
|
44934
45736
|
temperature?: number;
|
|
44935
45737
|
/**
|
|
44936
|
-
* Average
|
|
45738
|
+
* Average segment token log probability when provided.
|
|
44937
45739
|
*/
|
|
44938
45740
|
avg_logprob?: number;
|
|
44939
45741
|
/**
|
|
44940
|
-
*
|
|
45742
|
+
* Text compression ratio reported for this segment.
|
|
44941
45743
|
*/
|
|
44942
45744
|
compression_ratio?: number;
|
|
44943
45745
|
/**
|
|
44944
|
-
* Probability
|
|
45746
|
+
* Probability of no speech reported for this segment.
|
|
44945
45747
|
*/
|
|
44946
45748
|
no_speech_prob?: number;
|
|
44947
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
|
+
}>;
|
|
44948
45767
|
};
|
|
44949
45768
|
};
|
|
44950
45769
|
export type CreateAudioTranscriptionResponse = CreateAudioTranscriptionResponses[keyof CreateAudioTranscriptionResponses];
|
|
@@ -47791,6 +48610,76 @@ export type CountResponseInputTokensResponses = {
|
|
|
47791
48610
|
};
|
|
47792
48611
|
};
|
|
47793
48612
|
export type CountResponseInputTokensResponse = CountResponseInputTokensResponses[keyof CountResponseInputTokensResponses];
|
|
48613
|
+
export type ListOrganizationMembersData = {
|
|
48614
|
+
body?: never;
|
|
48615
|
+
path?: never;
|
|
48616
|
+
query?: {
|
|
48617
|
+
/**
|
|
48618
|
+
* Maximum members per page, from 1 to 100; defaults to 20.
|
|
48619
|
+
*/
|
|
48620
|
+
limit?: number;
|
|
48621
|
+
/**
|
|
48622
|
+
* Opaque next_page cursor returned by the previous response; omit for the first page.
|
|
48623
|
+
*/
|
|
48624
|
+
page?: string;
|
|
48625
|
+
};
|
|
48626
|
+
url: '/organization/v1/members';
|
|
48627
|
+
};
|
|
48628
|
+
export type ListOrganizationMembersErrors = {
|
|
48629
|
+
/**
|
|
48630
|
+
* Invalid limit or page cursor; use limit 1 to 100 and copy next_page from the previous response.
|
|
48631
|
+
*/
|
|
48632
|
+
400: unknown;
|
|
48633
|
+
/**
|
|
48634
|
+
* Missing or invalid credentials; provide a valid organization API key or runtime token.
|
|
48635
|
+
*/
|
|
48636
|
+
401: unknown;
|
|
48637
|
+
/**
|
|
48638
|
+
* Organization identity was refused; use a credential belonging to the organization.
|
|
48639
|
+
*/
|
|
48640
|
+
403: unknown;
|
|
48641
|
+
};
|
|
48642
|
+
export type ListOrganizationMembersResponses = {
|
|
48643
|
+
/**
|
|
48644
|
+
* Members of the authenticated organization, earliest join first.
|
|
48645
|
+
*/
|
|
48646
|
+
200: {
|
|
48647
|
+
/**
|
|
48648
|
+
* Organization members in ascending join order.
|
|
48649
|
+
*/
|
|
48650
|
+
data: Array<{
|
|
48651
|
+
/**
|
|
48652
|
+
* User identifier (usr_...). Use this id to assign an approver to an approval task.
|
|
48653
|
+
*/
|
|
48654
|
+
id: string;
|
|
48655
|
+
/**
|
|
48656
|
+
* Display name of the member; null when no name is set.
|
|
48657
|
+
*/
|
|
48658
|
+
name: string | null;
|
|
48659
|
+
/**
|
|
48660
|
+
* Email address of a member of your organization.
|
|
48661
|
+
*/
|
|
48662
|
+
email: string;
|
|
48663
|
+
/**
|
|
48664
|
+
* Organization role: owner owns the organization; admin manages it; member is a regular participant.
|
|
48665
|
+
*/
|
|
48666
|
+
role: 'owner' | 'admin' | 'member';
|
|
48667
|
+
/**
|
|
48668
|
+
* UTC ISO 8601 instant when this user joined the organization.
|
|
48669
|
+
*/
|
|
48670
|
+
joined_at: string;
|
|
48671
|
+
}>;
|
|
48672
|
+
/**
|
|
48673
|
+
* Whether another page of members is available.
|
|
48674
|
+
*/
|
|
48675
|
+
has_more: boolean;
|
|
48676
|
+
/**
|
|
48677
|
+
* Cursor to pass as page; null when no more members remain.
|
|
48678
|
+
*/
|
|
48679
|
+
next_page: string | null;
|
|
48680
|
+
};
|
|
48681
|
+
};
|
|
48682
|
+
export type ListOrganizationMembersResponse = ListOrganizationMembersResponses[keyof ListOrganizationMembersResponses];
|
|
47794
48683
|
export type ListOrganizationFeedbackData = {
|
|
47795
48684
|
body?: never;
|
|
47796
48685
|
path?: never;
|
|
@@ -68747,7 +69636,7 @@ export type CutListFramesData = {
|
|
|
68747
69636
|
*/
|
|
68748
69637
|
at: string;
|
|
68749
69638
|
/**
|
|
68750
|
-
*
|
|
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.
|
|
68751
69640
|
*/
|
|
68752
69641
|
scale?: number;
|
|
68753
69642
|
/**
|
|
@@ -69089,7 +69978,7 @@ export type CutListExportsResponses = {
|
|
|
69089
69978
|
export type CutListExportsResponse = CutListExportsResponses[keyof CutListExportsResponses];
|
|
69090
69979
|
export type CutCreateExportData = {
|
|
69091
69980
|
/**
|
|
69092
|
-
* 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.
|
|
69093
69982
|
*/
|
|
69094
69983
|
body: CutExportInput;
|
|
69095
69984
|
path: {
|
|
@@ -70901,7 +71790,7 @@ export type KnowledgeListFilesResponses = {
|
|
|
70901
71790
|
};
|
|
70902
71791
|
export type KnowledgeListFilesResponse = KnowledgeListFilesResponses[keyof KnowledgeListFilesResponses];
|
|
70903
71792
|
export type KnowledgeAttachFileData = {
|
|
70904
|
-
body:
|
|
71793
|
+
body: KnowledgeNativeAttachFile;
|
|
70905
71794
|
path: {
|
|
70906
71795
|
/**
|
|
70907
71796
|
* Resource ID.
|
|
@@ -71202,7 +72091,7 @@ export type KnowledgeRetrieveFileContentResponses = {
|
|
|
71202
72091
|
};
|
|
71203
72092
|
export type KnowledgeRetrieveFileContentResponse = KnowledgeRetrieveFileContentResponses[keyof KnowledgeRetrieveFileContentResponses];
|
|
71204
72093
|
export type KnowledgeCreateFileBatchData = {
|
|
71205
|
-
body:
|
|
72094
|
+
body: KnowledgeNativeCreateBatch;
|
|
71206
72095
|
path: {
|
|
71207
72096
|
/**
|
|
71208
72097
|
* Resource ID.
|
|
@@ -72006,6 +72895,80 @@ export type MediaCreateLibraryResponses = {
|
|
|
72006
72895
|
200: MediaLibrary;
|
|
72007
72896
|
};
|
|
72008
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];
|
|
72009
72972
|
export type MediaDeleteLibraryData = {
|
|
72010
72973
|
body?: never;
|
|
72011
72974
|
path: {
|
|
@@ -72133,6 +73096,10 @@ export type MediaUpdateLibraryData = {
|
|
|
72133
73096
|
* Partial update of an active media library.
|
|
72134
73097
|
*/
|
|
72135
73098
|
body: {
|
|
73099
|
+
/**
|
|
73100
|
+
* Correction vocabulary, at most 200 nonblank terms of at most 32 Unicode characters each. Omitted on an unconfigured library: correction derives up to 200 distinct names from the library name and every folder level, excluding generic names such as 原始素材 and 混剪成品. An explicit empty array disables this vocabulary. Updating affects subsequent understanding and explicit reprocessing, not existing results.
|
|
73101
|
+
*/
|
|
73102
|
+
hotwords?: Array<string>;
|
|
72136
73103
|
/**
|
|
72137
73104
|
* Model role overrides. Omitted roles keep their current values on update and use defaults on creation; null restores all defaults, and a null role restores that role’s default. Changing embedding is rejected while the library contains assets.
|
|
72138
73105
|
*/
|
|
@@ -72446,7 +73413,7 @@ export type MediaUploadAssetData = {
|
|
|
72446
73413
|
*/
|
|
72447
73414
|
display_name?: string;
|
|
72448
73415
|
/**
|
|
72449
|
-
* 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.
|
|
72450
73417
|
*/
|
|
72451
73418
|
asset_folder?: string;
|
|
72452
73419
|
/**
|
|
@@ -72488,7 +73455,7 @@ export type MediaUploadAssetData = {
|
|
|
72488
73455
|
*/
|
|
72489
73456
|
resource_type?: 'image' | 'video' | 'raw' | 'auto';
|
|
72490
73457
|
/**
|
|
72491
|
-
* 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.
|
|
72492
73459
|
*/
|
|
72493
73460
|
type?: MediaDeliveryType;
|
|
72494
73461
|
};
|
|
@@ -72567,7 +73534,7 @@ export type MediaImportAssetData = {
|
|
|
72567
73534
|
*/
|
|
72568
73535
|
body: {
|
|
72569
73536
|
/**
|
|
72570
|
-
* 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.
|
|
72571
73538
|
*/
|
|
72572
73539
|
file_id: string;
|
|
72573
73540
|
/**
|
|
@@ -72583,7 +73550,7 @@ export type MediaImportAssetData = {
|
|
|
72583
73550
|
*/
|
|
72584
73551
|
display_name?: string;
|
|
72585
73552
|
/**
|
|
72586
|
-
* 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.
|
|
72587
73554
|
*/
|
|
72588
73555
|
asset_folder?: string;
|
|
72589
73556
|
/**
|
|
@@ -72625,7 +73592,7 @@ export type MediaImportAssetData = {
|
|
|
72625
73592
|
*/
|
|
72626
73593
|
resource_type?: 'image' | 'video' | 'raw' | 'auto';
|
|
72627
73594
|
/**
|
|
72628
|
-
* 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.
|
|
72629
73596
|
*/
|
|
72630
73597
|
type?: MediaDeliveryType;
|
|
72631
73598
|
};
|
|
@@ -72828,7 +73795,7 @@ export type MediaUpdateAssetData = {
|
|
|
72828
73795
|
*/
|
|
72829
73796
|
display_name?: string;
|
|
72830
73797
|
/**
|
|
72831
|
-
* 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.
|
|
72832
73799
|
*/
|
|
72833
73800
|
asset_folder?: string;
|
|
72834
73801
|
/**
|
|
@@ -72911,7 +73878,7 @@ export type MediaReprocessAssetData = {
|
|
|
72911
73878
|
*/
|
|
72912
73879
|
body: {
|
|
72913
73880
|
/**
|
|
72914
|
-
* 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.
|
|
72915
73882
|
*/
|
|
72916
73883
|
kinds?: Array<MediaProcessingKind>;
|
|
72917
73884
|
};
|
|
@@ -72996,9 +73963,9 @@ export type MediaListUnderstandingsData = {
|
|
|
72996
73963
|
*/
|
|
72997
73964
|
include_superseded?: boolean;
|
|
72998
73965
|
/**
|
|
72999
|
-
*
|
|
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.
|
|
73000
73967
|
*/
|
|
73001
|
-
kind?: 'caption' | 'tags' | 'ocr' | 'transcript' | 'frame';
|
|
73968
|
+
kind?: 'caption' | 'tags' | 'ocr' | 'transcript' | 'frame' | 'overview' | 'audio' | 'embedding';
|
|
73002
73969
|
/**
|
|
73003
73970
|
* Cursor from the previous next_cursor.
|
|
73004
73971
|
*/
|
|
@@ -73066,7 +74033,7 @@ export type MediaExpressionSearchData = {
|
|
|
73066
74033
|
*/
|
|
73067
74034
|
body: {
|
|
73068
74035
|
/**
|
|
73069
|
-
* 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.
|
|
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.
|
|
73070
74037
|
*/
|
|
73071
74038
|
expression?: string;
|
|
73072
74039
|
/**
|
|
@@ -73475,6 +74442,10 @@ export type MediaCreateBatchData = {
|
|
|
73475
74442
|
* Select assets by ids or by expression, never both. Expression results and exclusions are resolved when the job is created.
|
|
73476
74443
|
*/
|
|
73477
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;
|
|
73478
74449
|
};
|
|
73479
74450
|
path: {
|
|
73480
74451
|
/**
|
|
@@ -73609,6 +74580,10 @@ export type MediaBatchAssetsData = {
|
|
|
73609
74580
|
* Select assets by ids or by expression, never both. Expression results and exclusions are resolved when the job is created.
|
|
73610
74581
|
*/
|
|
73611
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;
|
|
73612
74587
|
};
|
|
73613
74588
|
path: {
|
|
73614
74589
|
/**
|
|
@@ -73822,7 +74797,7 @@ export type MediaCreateDeliveryTokenData = {
|
|
|
73822
74797
|
*/
|
|
73823
74798
|
acl?: string;
|
|
73824
74799
|
/**
|
|
73825
|
-
* Token lifetime in seconds, from 1 to 604800 inclusive; defaults to
|
|
74800
|
+
* Token lifetime in seconds, from 1 to 604800 inclusive; defaults to 900.
|
|
73826
74801
|
*/
|
|
73827
74802
|
expires_in?: number;
|
|
73828
74803
|
};
|
|
@@ -73885,6 +74860,145 @@ export type MediaCreateDeliveryTokenResponses = {
|
|
|
73885
74860
|
200: MediaDeliveryToken;
|
|
73886
74861
|
};
|
|
73887
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];
|
|
73888
75002
|
export type GetSandboxV1SandboxesData = {
|
|
73889
75003
|
body?: never;
|
|
73890
75004
|
path?: never;
|
|
@@ -76480,7 +77594,7 @@ export type TicketGetTicketsData = {
|
|
|
76480
77594
|
*/
|
|
76481
77595
|
page_token?: string;
|
|
76482
77596
|
/**
|
|
76483
|
-
* Filter expression.
|
|
77597
|
+
* Filter expression using field:value qualifiers, such as is:open milestone:5.
|
|
76484
77598
|
*/
|
|
76485
77599
|
filter?: string;
|
|
76486
77600
|
};
|
|
@@ -78899,7 +80013,7 @@ export type TicketGetActivityData = {
|
|
|
78899
80013
|
*/
|
|
78900
80014
|
page_token?: string;
|
|
78901
80015
|
/**
|
|
78902
|
-
*
|
|
80016
|
+
* Activity filter expression.
|
|
78903
80017
|
*/
|
|
78904
80018
|
filter?: string;
|
|
78905
80019
|
};
|