@deepraxis/sdk 0.1.1-dev.00ed035 → 0.1.1-dev.0ac7a20

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.
@@ -1144,7 +1144,7 @@ export type OwnFileDeleteFileResponse = {
1144
1144
  };
1145
1145
  export type OwnFilePraxisCreateUpload = {
1146
1146
  /**
1147
- * Exact complete file length in bytes, from 1 through 2147483648 (2 GiB); the sum of completed parts must match.
1147
+ * Exact complete file length in bytes, from 1 through 21474836480 (20 GiB); the sum of completed parts must match.
1148
1148
  */
1149
1149
  bytes: number;
1150
1150
  /**
@@ -1195,7 +1195,7 @@ export type OwnFilePraxisUpload = {
1195
1195
  */
1196
1196
  created_at: number;
1197
1197
  /**
1198
- * Expiry time as Unix seconds; unfinished uploads expire after one hour.
1198
+ * Expiry time as Unix seconds; unfinished uploads expire after 7 days.
1199
1199
  */
1200
1200
  expires_at: number;
1201
1201
  /**
@@ -1207,13 +1207,38 @@ export type OwnFilePraxisUpload = {
1207
1207
  */
1208
1208
  purpose: 'user_data' | 'assistants' | 'vision';
1209
1209
  /**
1210
- * Upload state: pending accepts parts; completed has a file; cancelled was cancelled; expired exceeded its one-hour lifetime.
1210
+ * Upload state: pending accepts parts; completed has a file; cancelled was cancelled; expired exceeded its seven-day lifetime.
1211
1211
  */
1212
1212
  status: 'pending' | 'completed' | 'cancelled' | 'expired';
1213
1213
  /**
1214
1214
  * Present after complete. A file with status uploaded is still processing; poll files.retrieve until processed before use.
1215
1215
  */
1216
1216
  file?: OwnFileOpenAiFile | null;
1217
+ /**
1218
+ * Fixed part length in bytes for a fixed-size upload, or null for a general upload. Send exactly this many bytes per numbered part except for the final remainder.
1219
+ */
1220
+ part_size?: number | null;
1221
+ /**
1222
+ * Parts the upload already holds, in resume order: numbered parts by number, then a general upload's parts by arrival. Query GET /file/v1/uploads/{upload_id} after a break and resend only the numbers missing here.
1223
+ */
1224
+ received_parts?: Array<{
1225
+ /**
1226
+ * Fixed part number, or null for a part of a general upload.
1227
+ */
1228
+ part_number: number | null;
1229
+ /**
1230
+ * Part identifier to pass to complete for this content.
1231
+ */
1232
+ id: string;
1233
+ /**
1234
+ * Accepted length of this part in bytes.
1235
+ */
1236
+ bytes: number;
1237
+ /**
1238
+ * Part content digest prefixed sha256:.
1239
+ */
1240
+ sha256: string;
1241
+ }>;
1217
1242
  /**
1218
1243
  * Declared MIME type, verified during assembly.
1219
1244
  */
@@ -1274,7 +1299,7 @@ export type OwnFileSignedUploadRequest = {
1274
1299
  */
1275
1300
  filename: string;
1276
1301
  /**
1277
- * Exact local file size in bytes, from 1 through 2147483648 (2 GiB). Up to 104857600 bytes returns one PUT URL; larger files return numbered part URLs and a completion URL. Every PUT requires its exact signed Content-Length.
1302
+ * Exact local file size in bytes, from 1 through 21474836480 (20 GiB). Up to 104857600 bytes returns one PUT URL; larger files return numbered part URLs, a completion URL and a status URL. Every PUT requires its exact signed Content-Length.
1278
1303
  */
1279
1304
  bytes: number;
1280
1305
  /**
@@ -1286,7 +1311,7 @@ export type OwnFileSignedUploadRequest = {
1286
1311
  */
1287
1312
  purpose?: 'user_data' | 'assistants' | 'vision';
1288
1313
  /**
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.
1314
+ * Lifetime in seconds, from 1 through 604800: defaults to 900 for single PUT or 604800 (7 days) for multipart. All part URLs, the status URL and the completion URL share one expiry. This does not set the resulting file's lifetime.
1290
1315
  */
1291
1316
  expires_in?: number;
1292
1317
  /**
@@ -1337,6 +1362,10 @@ export type OwnFileSignedUploadResponse = {
1337
1362
  * Bearer URL to POST without a body after every chunk is acknowledged. Returns 201 with the file object; missing chunks return 400 and successful completion replays return 410 CAPABILITY_USED.
1338
1363
  */
1339
1364
  complete_url: string;
1365
+ /**
1366
+ * Read-only bearer URL for GET that answers the same body as GET /file/v1/uploads/{upload_id}: status, part_size and the received_parts. Use it after a break to resend only the missing chunks; it needs no API key and every write on it is refused.
1367
+ */
1368
+ status_url: string;
1340
1369
  };
1341
1370
  /**
1342
1371
  * Problem document returned by the Meta method catalog on failure.
@@ -12774,6 +12803,10 @@ export type CutFramesResult = {
12774
12803
  images: {
12775
12804
  [key: string]: CutRenderRef;
12776
12805
  };
12806
+ /**
12807
+ * Frame delivery warnings; empty when every requested source frame was available.
12808
+ */
12809
+ warnings: Array<CutFrameWarning>;
12777
12810
  };
12778
12811
  /**
12779
12812
  * Analysis status and available ranges for each source asset and kind.
@@ -13018,6 +13051,27 @@ export type CutExport = {
13018
13051
  */
13019
13052
  audio: 'pending' | 'done';
13020
13053
  };
13054
+ /**
13055
+ * Present when normalization was requested; contains requested targets and measured output levels.
13056
+ */
13057
+ loudness?: {
13058
+ /**
13059
+ * Requested integrated loudness target in LUFS.
13060
+ */
13061
+ target_lufs: number;
13062
+ /**
13063
+ * Requested maximum true peak in dBTP.
13064
+ */
13065
+ true_peak_dbtp: number;
13066
+ /**
13067
+ * Measured integrated loudness of the rendered export in LUFS.
13068
+ */
13069
+ integrated_lufs: number;
13070
+ /**
13071
+ * Measured maximum true peak of the rendered export in dBTP.
13072
+ */
13073
+ measured_true_peak_dbtp: number;
13074
+ };
13021
13075
  /**
13022
13076
  * Output media reference, available after the export reaches done.
13023
13077
  */
@@ -13090,6 +13144,19 @@ export type CutExportInput = {
13090
13144
  */
13091
13145
  binding?: string;
13092
13146
  revision?: CutRevision;
13147
+ /**
13148
+ * Optional loudness normalization target; normalization adds analysis and rendering work.
13149
+ */
13150
+ loudness?: {
13151
+ /**
13152
+ * Integrated loudness target in LUFS.
13153
+ */
13154
+ target_lufs: number;
13155
+ /**
13156
+ * Maximum true peak in dBTP.
13157
+ */
13158
+ true_peak_dbtp: number;
13159
+ };
13093
13160
  };
13094
13161
  /**
13095
13162
  * One page of organization-accessible exports.
@@ -14142,7 +14209,7 @@ export type MediaLibrary = {
14142
14209
  };
14143
14210
  export type MediaMediaError = {
14144
14211
  error: {
14145
- code: 'LIBRARY_NOT_FOUND' | 'ASSET_NOT_FOUND' | 'JOB_NOT_FOUND' | 'UNDERSTANDING_NOT_FOUND' | 'ASSET_VERSION_CHANGED' | 'LIBRARY_INVALID_STATE' | 'INVALID_PARAMS' | 'INVALID_EXPRESSION' | 'UNSUPPORTED' | 'NOT_IMPLEMENTED' | 'FILE_TOO_LARGE' | 'FILE_EMPTY' | 'UNSUPPORTED_MEDIA' | 'FETCH_FAILED' | 'LIMIT_EXCEEDED' | 'CHUNK_INVALID' | 'RATE_LIMITED' | 'CAPACITY' | 'UPSTREAM_FAILED' | 'BINDING_READ_ONLY';
14212
+ code: 'LIBRARY_NOT_FOUND' | 'ASSET_NOT_FOUND' | 'JOB_NOT_FOUND' | 'UNDERSTANDING_NOT_FOUND' | 'ASSET_VERSION_CHANGED' | 'LIBRARY_INVALID_STATE' | 'INVALID_PARAMS' | 'INVALID_EXPRESSION' | 'UNSUPPORTED' | 'NOT_IMPLEMENTED' | 'FILE_TOO_LARGE' | 'FILE_EMPTY' | 'UNSUPPORTED_MEDIA' | 'FETCH_FAILED' | 'LIMIT_EXCEEDED' | 'CHUNK_INVALID' | 'RATE_LIMITED' | 'CAPACITY' | 'UPSTREAM_FAILED' | 'CONTENT_REJECTED' | 'GENERATION_FAILED' | 'CANDIDATE_EXPIRED' | 'BINDING_READ_ONLY';
14146
14213
  message: string;
14147
14214
  details: string | null;
14148
14215
  };
@@ -14171,6 +14238,10 @@ export type MediaMediaModelsInput = {
14171
14238
  * 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.
14172
14239
  */
14173
14240
  reference_transcription?: string | null;
14241
+ /**
14242
+ * 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.
14243
+ */
14244
+ audio?: string | null;
14174
14245
  } | null;
14175
14246
  /**
14176
14247
  * Libraries in this page, ordered by creation time descending.
@@ -14363,7 +14434,7 @@ export type MediaAsset = {
14363
14434
  */
14364
14435
  url: string;
14365
14436
  /**
14366
- * HTTPS delivery URL for this asset version; equal to url. For authenticated assets the server includes a signature, so the original URL is ready to use. Request a delivery_tokens token for transformed URLs.
14437
+ * 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.
14367
14438
  */
14368
14439
  secure_url: string;
14369
14440
  /**
@@ -14390,6 +14461,10 @@ export type MediaAsset = {
14390
14461
  * Resource status; active identifies an asset that has not been deleted.
14391
14462
  */
14392
14463
  status: 'active';
14464
+ /**
14465
+ * True when the source header declares an alpha channel: a PNG color type 4 or 6 or a tRNS chunk, a WebP VP8X alpha flag or VP8L alpha bit, a WebM or MKV video track AlphaMode of 1, or a GIF transparent-color flag. False when a known container has no alpha channel. Omitted when the format is unknown, the header could not be parsed, or the asset was stored before this field existed; absence does not mean the source is opaque.
14466
+ */
14467
+ has_alpha?: boolean;
14393
14468
  /**
14394
14469
  * Search-vector status: pending awaits vector generation or reprocessing; ready has searchable vectors; unavailable indicates disabled, unsupported or failed embedding. Existing vectors may still serve searches while reprocessing is pending.
14395
14470
  */
@@ -14446,6 +14521,27 @@ export type MediaAsset = {
14446
14521
  };
14447
14522
  };
14448
14523
  };
14524
+ /**
14525
+ * Source details for the video-generation job that created this asset.
14526
+ */
14527
+ generation?: {
14528
+ /**
14529
+ * Job id that generated this asset.
14530
+ */
14531
+ job_id: MediaJobId;
14532
+ /**
14533
+ * Generation intent used to create the asset; v1 supports video.generate.
14534
+ */
14535
+ intent: string;
14536
+ /**
14537
+ * Text prompt submitted for the generation job.
14538
+ */
14539
+ prompt: string;
14540
+ /**
14541
+ * Router video-generation model that produced the asset.
14542
+ */
14543
+ model: string;
14544
+ };
14449
14545
  };
14450
14546
  /**
14451
14547
  * Receipt confirming that the asset was deleted.
@@ -14588,11 +14684,11 @@ export type MediaJob = {
14588
14684
  /**
14589
14685
  * 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.
14590
14686
  */
14591
- action: 'tag' | 'untag' | 'set_context' | 'move' | 'delete' | 'reprocess';
14687
+ action: 'tag' | 'untag' | 'set_context' | 'move' | 'delete' | 'reprocess' | 'generate';
14592
14688
  /**
14593
14689
  * 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.
14594
14690
  */
14595
- status: 'queued' | 'running' | 'completed' | 'completed_with_errors' | 'failed';
14691
+ status: MediaJobStatus;
14596
14692
  /**
14597
14693
  * Number of distinct assets selected when the job was created.
14598
14694
  */
@@ -14612,12 +14708,66 @@ export type MediaJob = {
14612
14708
  /**
14613
14709
  * Identifier supplied for the failed item; it may identify a missing asset.
14614
14710
  */
14615
- asset_id: MediaAssetId;
14711
+ asset_id?: MediaAssetId;
14712
+ /**
14713
+ * Zero-based output index for a failed video-generation item.
14714
+ */
14715
+ index?: number;
14616
14716
  /**
14617
14717
  * Domain error code explaining the individual item failure.
14618
14718
  */
14619
14719
  code: MediaMediaErrorCode;
14620
14720
  }>;
14721
+ /**
14722
+ * Generation intent used by this job; v1 supports video.generate.
14723
+ */
14724
+ intent?: string;
14725
+ /**
14726
+ * Router video-generation model used for the outputs.
14727
+ */
14728
+ model?: string;
14729
+ /**
14730
+ * Per-video results in index order; save a successful candidate before expires_at.
14731
+ */
14732
+ outputs?: Array<{
14733
+ /**
14734
+ * Zero-based position of this video in the requested count.
14735
+ */
14736
+ index: number;
14737
+ /**
14738
+ * State of this requested video output.
14739
+ */
14740
+ status: MediaGenerationOutputStatus;
14741
+ /**
14742
+ * Short-lived signed URL for previewing this candidate; read the Job again to obtain a fresh URL.
14743
+ */
14744
+ preview_url?: string;
14745
+ /**
14746
+ * Router seed for this video, when returned; it may be absent.
14747
+ */
14748
+ seed?: number | null;
14749
+ /**
14750
+ * Candidate expiry time; after expiry, save returns CANDIDATE_EXPIRED.
14751
+ */
14752
+ expires_at?: MediaIsoTimestamp;
14753
+ /**
14754
+ * Library asset identifier after this candidate has been saved, or when the job requested save=library.
14755
+ */
14756
+ asset_id?: MediaAssetId;
14757
+ }>;
14758
+ /**
14759
+ * Router-reported generation charge for the job.
14760
+ */
14761
+ usage?: {
14762
+ /**
14763
+ * Decimal amount in the currency named by currency; this is not a floating-point value.
14764
+ */
14765
+ amount: string;
14766
+ /**
14767
+ * Currency code for amount.
14768
+ */
14769
+ currency: string;
14770
+ };
14621
14771
  /**
14622
14772
  * Time the batch job was created, in UTC.
14623
14773
  */
@@ -14732,6 +14882,77 @@ export type MediaFailureSummary = {
14732
14882
  */
14733
14883
  counts_complete: boolean;
14734
14884
  };
14885
+ /**
14886
+ * Current state of a batch or video-generation job.
14887
+ */
14888
+ export type MediaJobStatus = 'queued' | 'running' | 'completed' | 'completed_with_errors' | 'failed' | 'cancelled';
14889
+ /**
14890
+ * Identifier returned when a batch job is created.
14891
+ */
14892
+ export type MediaJobId = string;
14893
+ /**
14894
+ * A page of jobs in a library.
14895
+ */
14896
+ export type MediaJobPage = {
14897
+ /**
14898
+ * Jobs returned in this page.
14899
+ */
14900
+ data: Array<MediaJob>;
14901
+ /**
14902
+ * Cursor for the next page, or null when there are no more jobs.
14903
+ */
14904
+ next_cursor: MediaJobId | null;
14905
+ };
14906
+ /**
14907
+ * Current text-to-video options, concurrency and candidate retention. Generation is charged per second; unsaved candidates expire after 7 days.
14908
+ */
14909
+ export type MediaGenerationCapabilities = {
14910
+ /**
14911
+ * Text-to-video intents currently supported by Media.
14912
+ */
14913
+ intents: Array<string>;
14914
+ /**
14915
+ * Model selected when model is omitted from a generation request.
14916
+ */
14917
+ default_model: string;
14918
+ /**
14919
+ * Allowed number of videos per generation job.
14920
+ */
14921
+ count: {
14922
+ /**
14923
+ * Minimum number of videos in one generation job.
14924
+ */
14925
+ minimum: number;
14926
+ /**
14927
+ * Maximum number of videos in one generation job.
14928
+ */
14929
+ maximum: number;
14930
+ };
14931
+ /**
14932
+ * Durations in seconds supported by the default video model.
14933
+ */
14934
+ duration_seconds: Array<number>;
14935
+ /**
14936
+ * Aspect ratios supported by the default video model.
14937
+ */
14938
+ aspect_ratios: Array<string>;
14939
+ /**
14940
+ * Aspect ratio used when aspect_ratio is omitted.
14941
+ */
14942
+ default_aspect_ratio: string;
14943
+ /**
14944
+ * Maximum number of queued or running generation jobs per library.
14945
+ */
14946
+ concurrency_per_library: number;
14947
+ /**
14948
+ * Unit used to charge video generation; generated duration is billed per second by Router.
14949
+ */
14950
+ price_unit: 'per second';
14951
+ /**
14952
+ * Days an unsaved candidate is retained before its File is deleted.
14953
+ */
14954
+ candidate_retention_days: number;
14955
+ };
14735
14956
  /**
14736
14957
  * Sandbox creation request. All system communication with the sandbox is always secured; the template's envd version must support secured access.
14737
14958
  */
@@ -15174,6 +15395,10 @@ export type SandboxTemplateBuildInfo = {
15174
15395
  reason?: SandboxBuildStatusReason;
15175
15396
  };
15176
15397
  export type SandboxTemplateWithBuilds = {
15398
+ /**
15399
+ * Lifecycle classes this template can run as. ephemeral: cannot pause, snapshot or mount volumes and is deleted when it stops; persistent: can pause, resume and snapshot.
15400
+ */
15401
+ lifecycles?: Array<'ephemeral' | 'persistent'>;
15177
15402
  /**
15178
15403
  * Identifier of the template
15179
15404
  */
@@ -25178,6 +25403,20 @@ export type CutTrackSummary = {
25178
25403
  */
25179
25404
  items: number;
25180
25405
  };
25406
+ export type CutFrameWarning = {
25407
+ /**
25408
+ * FRAME_UNAVAILABLE means a source image could not be fetched for this preview.
25409
+ */
25410
+ code: 'FRAME_UNAVAILABLE';
25411
+ /**
25412
+ * Identifier of the clip whose source frame could not be fetched.
25413
+ */
25414
+ clip_id?: string;
25415
+ /**
25416
+ * Actionable safe explanation; source URLs and credentials are omitted.
25417
+ */
25418
+ message: string;
25419
+ };
25181
25420
  /**
25182
25421
  * Reference to an asset in a bound library; follows asset overwrites to the latest version rather than pinning a version.
25183
25422
  */
@@ -25400,7 +25639,7 @@ export type KnowledgeKnowledgeModels = {
25400
25639
  */
25401
25640
  query_rewrite: string;
25402
25641
  /**
25403
- * Extracts text from scanned PDF pages. Default: glm-ocr, falling back to qwen3.8-flash. A custom model precedes the platform defaults.
25642
+ * 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.
25404
25643
  */
25405
25644
  ocr: string;
25406
25645
  /**
@@ -25429,7 +25668,7 @@ export type KnowledgeKnowledgeModelsInput = {
25429
25668
  */
25430
25669
  query_rewrite?: string | null;
25431
25670
  /**
25432
- * Scanned PDF text extraction model; requires mistral.ocr or pdf_input capability. null restores glm-ocr. The preference leads the fallback chain glm-ocr, qwen3.8-flash with duplicates removed.
25671
+ * 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.
25433
25672
  */
25434
25673
  ocr?: string | null;
25435
25674
  /**
@@ -25670,6 +25909,10 @@ export type MediaMediaModels = {
25670
25909
  * Model call ID for optional full-text reference ASR; defaults to qwen3-asr-flash. Reference failures do not block correction.
25671
25910
  */
25672
25911
  readonly reference_transcription: string;
25912
+ /**
25913
+ * 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.
25914
+ */
25915
+ readonly audio: string;
25673
25916
  };
25674
25917
  /**
25675
25918
  * Identifier of a library belonging to the caller.
@@ -25830,7 +26073,7 @@ export type MediaCloudinaryResource = {
25830
26073
  */
25831
26074
  url: string;
25832
26075
  /**
25833
- * HTTPS delivery URL for this asset version; equal to url. For authenticated assets the server includes a signature, so the original URL is ready to use. Request a delivery_tokens token for transformed URLs.
26076
+ * 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.
25834
26077
  */
25835
26078
  secure_url: string;
25836
26079
  /**
@@ -25866,13 +26109,13 @@ export type MediaChunkComplete = MediaCloudinaryResource & {
25866
26109
  done: true;
25867
26110
  };
25868
26111
  /**
25869
- * Per-task processing progress and its aggregate state for the asset. For understanding, Media generates proxies for video or audio 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.
26112
+ * Per-task processing progress and its aggregate state for the asset. For understanding, Media generates proxies for video sources of 25 MB or more or longer than 10 minutes, and for audio-only sources of 100 MB or more; originals remain available unchanged. Long videos are supported. When a video proxy is needed and is still above 95 MB after recompression, the source is reported as UNSUPPORTED with the limit in the failure message. Proxy preparation uses the organization’s metered sandbox resources.
25870
26113
  */
25871
26114
  export type MediaProcessing = {
25872
26115
  /**
25873
- * Current understanding stage: probe, frames, shots, visual, transcript, transcript_reference, transcript_correction, overview, embedding or finalize. Null after finalization; omitted on assets not yet dispatched.
26116
+ * 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.
25874
26117
  */
25875
- readonly stage?: 'probe' | 'frames' | 'shots' | 'visual' | 'transcript' | 'transcript_reference' | 'transcript_correction' | 'overview' | 'embedding' | 'finalize' | null;
26118
+ readonly stage?: 'probe' | 'frames' | 'shots' | 'visual' | 'transcript' | 'transcript_reference' | 'transcript_correction' | 'audio_profile' | 'overview' | 'embedding' | 'finalize' | null;
25876
26119
  state: MediaProcessingState;
25877
26120
  /**
25878
26121
  * Processing states by kind. tagging is present when auto_tagging was requested and follows visual understanding.
@@ -25939,7 +26182,7 @@ export type MediaUnderstanding = {
25939
26182
  */
25940
26183
  asset_version: number;
25941
26184
  /**
25942
- * 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. overview is a full-video summary with chapters, IAB categories and an unverified location; embedding reports a failed embedding step.
26185
+ * 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.
25943
26186
  */
25944
26187
  kind: MediaUnderstandingKind;
25945
26188
  /**
@@ -25963,7 +26206,7 @@ export type MediaUnderstanding = {
25963
26206
  */
25964
26207
  content: string | null;
25965
26208
  /**
25966
- * 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.
26209
+ * 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.
25967
26210
  */
25968
26211
  data: unknown | null;
25969
26212
  /**
@@ -26139,7 +26382,7 @@ export type MediaSearchAsset = {
26139
26382
  */
26140
26383
  url: string;
26141
26384
  /**
26142
- * HTTPS delivery URL for this asset version; equal to url. For authenticated assets the server includes a signature, so the original URL is ready to use. Request a delivery_tokens token for transformed URLs.
26385
+ * 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.
26143
26386
  */
26144
26387
  secure_url: string;
26145
26388
  /**
@@ -26166,6 +26409,10 @@ export type MediaSearchAsset = {
26166
26409
  * Resource status; active identifies an asset that has not been deleted.
26167
26410
  */
26168
26411
  status: 'active';
26412
+ /**
26413
+ * True when the source header declares an alpha channel: a PNG color type 4 or 6 or a tRNS chunk, a WebP VP8X alpha flag or VP8L alpha bit, a WebM or MKV video track AlphaMode of 1, or a GIF transparent-color flag. False when a known container has no alpha channel. Omitted when the format is unknown, the header could not be parsed, or the asset was stored before this field existed; absence does not mean the source is opaque.
26414
+ */
26415
+ has_alpha?: boolean;
26169
26416
  /**
26170
26417
  * Search-vector status: pending awaits vector generation or reprocessing; ready has searchable vectors; unavailable indicates disabled, unsupported or failed embedding. Existing vectors may still serve searches while reprocessing is pending.
26171
26418
  */
@@ -26222,6 +26469,27 @@ export type MediaSearchAsset = {
26222
26469
  };
26223
26470
  };
26224
26471
  };
26472
+ /**
26473
+ * Source details for the video-generation job that created this asset.
26474
+ */
26475
+ generation?: {
26476
+ /**
26477
+ * Job id that generated this asset.
26478
+ */
26479
+ job_id: MediaJobId;
26480
+ /**
26481
+ * Generation intent used to create the asset; v1 supports video.generate.
26482
+ */
26483
+ intent: string;
26484
+ /**
26485
+ * Text prompt submitted for the generation job.
26486
+ */
26487
+ prompt: string;
26488
+ /**
26489
+ * Router video-generation model that produced the asset.
26490
+ */
26491
+ model: string;
26492
+ };
26225
26493
  };
26226
26494
  /**
26227
26495
  * A matching asset with its ranking score and supporting matches.
@@ -26244,11 +26512,11 @@ export type MediaSemanticHit = {
26244
26512
  */
26245
26513
  matches: Array<MediaSemanticMatch>;
26246
26514
  };
26515
+ export type MediaMediaErrorCode = 'LIBRARY_NOT_FOUND' | 'ASSET_NOT_FOUND' | 'JOB_NOT_FOUND' | 'UNDERSTANDING_NOT_FOUND' | 'ASSET_VERSION_CHANGED' | 'LIBRARY_INVALID_STATE' | 'INVALID_PARAMS' | 'INVALID_EXPRESSION' | 'UNSUPPORTED' | 'NOT_IMPLEMENTED' | 'FILE_TOO_LARGE' | 'FILE_EMPTY' | 'UNSUPPORTED_MEDIA' | 'FETCH_FAILED' | 'LIMIT_EXCEEDED' | 'CHUNK_INVALID' | 'RATE_LIMITED' | 'CAPACITY' | 'UPSTREAM_FAILED' | 'CONTENT_REJECTED' | 'GENERATION_FAILED' | 'CANDIDATE_EXPIRED' | 'BINDING_READ_ONLY';
26247
26516
  /**
26248
- * Identifier returned when a batch job is created.
26517
+ * State of a requested video output.
26249
26518
  */
26250
- export type MediaJobId = string;
26251
- export type MediaMediaErrorCode = 'LIBRARY_NOT_FOUND' | 'ASSET_NOT_FOUND' | 'JOB_NOT_FOUND' | 'UNDERSTANDING_NOT_FOUND' | 'ASSET_VERSION_CHANGED' | 'LIBRARY_INVALID_STATE' | 'INVALID_PARAMS' | 'INVALID_EXPRESSION' | 'UNSUPPORTED' | 'NOT_IMPLEMENTED' | 'FILE_TOO_LARGE' | 'FILE_EMPTY' | 'UNSUPPORTED_MEDIA' | 'FETCH_FAILED' | 'LIMIT_EXCEEDED' | 'CHUNK_INVALID' | 'RATE_LIMITED' | 'CAPACITY' | 'UPSTREAM_FAILED' | 'BINDING_READ_ONLY';
26519
+ export type MediaGenerationOutputStatus = 'pending' | 'succeeded' | 'failed';
26252
26520
  /**
26253
26521
  * A recorded library event with a monotonically increasing sequence within that library.
26254
26522
  */
@@ -30837,9 +31105,9 @@ export type MediaTranscriptCorrection = {
30837
31105
  */
30838
31106
  export type MediaUnderstandingId = string;
30839
31107
  /**
30840
- * 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. overview is a full-video summary with chapters, IAB categories and an unverified location; embedding reports a failed embedding step.
31108
+ * 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.
30841
31109
  */
30842
- export type MediaUnderstandingKind = 'caption' | 'tags' | 'ocr' | 'transcript' | 'frame' | 'overview' | 'embedding';
31110
+ export type MediaUnderstandingKind = 'caption' | 'tags' | 'ocr' | 'transcript' | 'frame' | 'overview' | 'audio' | 'embedding';
30843
31111
  /**
30844
31112
  * Time range within the source media, expressed in milliseconds.
30845
31113
  */
@@ -30899,7 +31167,7 @@ export type MediaSemanticMatch = {
30899
31167
  /**
30900
31168
  * Type of change recorded for a library, asset, processing task, search index or batch.
30901
31169
  */
30902
- 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';
31170
+ 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' | 'generation.created' | 'generation.succeeded' | 'generation.failed' | 'generation.cancelled';
30903
31171
  /**
30904
31172
  * Auto-resume enabled flag for paused sandboxes. Default false.
30905
31173
  */
@@ -31531,21 +31799,25 @@ export type AnthropicToolReferenceBlock = {
31531
31799
  */
31532
31800
  export type CutTextStyle = {
31533
31801
  /**
31534
- * Geist is the Latin typeface; Noto Sans SC is the simplified Chinese typeface.
31802
+ * Canonical font family name; call ListFonts() in the Cut script API to retrieve the available font families.
31535
31803
  */
31536
- font_family?: 'Geist' | 'Noto Sans SC';
31804
+ font_family?: string;
31537
31805
  /**
31538
31806
  * Text size in output pixels.
31539
31807
  */
31540
31808
  font_size?: number;
31541
31809
  /**
31542
- * Font weight: 400 is regular, 500 is medium and 700 is bold.
31810
+ * 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.
31543
31811
  */
31544
- font_weight?: 400 | 500 | 700;
31812
+ font_weight?: number;
31545
31813
  /**
31546
31814
  * Text color in #RRGGBB or #RRGGBBAA notation.
31547
31815
  */
31548
31816
  color?: string;
31817
+ /**
31818
+ * Optional solid or gradient glyph fill; gradients span the text box.
31819
+ */
31820
+ fill?: CutFill;
31549
31821
  /**
31550
31822
  * Optional text outline.
31551
31823
  */
@@ -31555,10 +31827,61 @@ export type CutTextStyle = {
31555
31827
  */
31556
31828
  color?: string;
31557
31829
  /**
31558
- * Outline width in output pixels.
31830
+ * Outline width in output pixels; must be non-negative and at most 40 pixels.
31559
31831
  */
31560
31832
  width?: number;
31561
31833
  };
31834
+ /**
31835
+ * Additional outlines, painted from outermost to innermost; at most 4 strokes.
31836
+ */
31837
+ strokes?: Array<{
31838
+ /**
31839
+ * Outline color in #RRGGBB or #RRGGBBAA notation.
31840
+ */
31841
+ color?: string;
31842
+ /**
31843
+ * Outline width in output pixels, from 0 to 40.
31844
+ */
31845
+ width?: number;
31846
+ }>;
31847
+ /**
31848
+ * Offset text shadows; at most 4 shadows. Offsets are non-negative output pixels; blur is 0 to 100 output pixels.
31849
+ */
31850
+ shadows?: Array<{
31851
+ /**
31852
+ * Shadow color in #RRGGBB or #RRGGBBAA notation.
31853
+ */
31854
+ color?: string;
31855
+ /**
31856
+ * Non-negative horizontal offset in output pixels.
31857
+ */
31858
+ x?: number;
31859
+ /**
31860
+ * Non-negative vertical offset in output pixels.
31861
+ */
31862
+ y?: number;
31863
+ /**
31864
+ * Blur radius in output pixels, from 0 to 100.
31865
+ */
31866
+ blur?: number;
31867
+ }>;
31868
+ /**
31869
+ * Colored glow around glyphs; radius is in output pixels, from 0 to 100, and strength is from 0 to 1.
31870
+ */
31871
+ glow?: {
31872
+ /**
31873
+ * Glow color in #RRGGBB or #RRGGBBAA notation.
31874
+ */
31875
+ color?: string;
31876
+ /**
31877
+ * Glow blur radius in output pixels, from 0 to 100.
31878
+ */
31879
+ radius?: number;
31880
+ /**
31881
+ * Glow opacity multiplier from 0 to 1.
31882
+ */
31883
+ strength?: number;
31884
+ };
31562
31885
  /**
31563
31886
  * Optional text background color as hexadecimal RGB or RGBA.
31564
31887
  */
@@ -31764,6 +32087,70 @@ export type CutJoinEffect = {
31764
32087
  * Blur radius in pixels at a reference frame height of 1080 pixels.
31765
32088
  */
31766
32089
  radius?: number;
32090
+ } | {
32091
+ /**
32092
+ * Zoom transition.
32093
+ */
32094
+ kind: 'zoom';
32095
+ /**
32096
+ * Zoom in or out.
32097
+ */
32098
+ direction?: 'in' | 'out';
32099
+ /**
32100
+ * Peak scale increase as a multiple of the original scale.
32101
+ */
32102
+ amount?: number;
32103
+ /**
32104
+ * Radial blur strength; zero disables blur sampling.
32105
+ */
32106
+ blur?: number;
32107
+ } | {
32108
+ /**
32109
+ * Clock transition.
32110
+ */
32111
+ kind: 'clock';
32112
+ /**
32113
+ * Sweep direction.
32114
+ */
32115
+ direction?: 'clockwise' | 'counterclockwise';
32116
+ /**
32117
+ * Start angle in degrees, with zero at twelve o'clock.
32118
+ */
32119
+ start_angle?: number;
32120
+ /**
32121
+ * Angular feather width.
32122
+ */
32123
+ softness?: number;
32124
+ } | {
32125
+ /**
32126
+ * Flash transition.
32127
+ */
32128
+ kind: 'flash';
32129
+ /**
32130
+ * Flash color.
32131
+ */
32132
+ color?: 'white' | 'black';
32133
+ /**
32134
+ * Flash strength.
32135
+ */
32136
+ intensity?: number;
32137
+ } | {
32138
+ /**
32139
+ * Luma transition.
32140
+ */
32141
+ kind: 'luma';
32142
+ /**
32143
+ * Built-in map. User maps are not available yet.
32144
+ */
32145
+ map?: 'radial' | 'diagonal' | 'clouds' | 'spiral' | 'honeycomb' | 'bars';
32146
+ /**
32147
+ * Edge feather width.
32148
+ */
32149
+ softness?: number;
32150
+ /**
32151
+ * Reveal order.
32152
+ */
32153
+ invert?: 'normal' | 'inverted';
31767
32154
  };
31768
32155
  export type KnowledgeStaticChunking = {
31769
32156
  /**
@@ -32005,6 +32392,51 @@ export type AnthropicCitationsConfig = {
32005
32392
  */
32006
32393
  enabled: boolean;
32007
32394
  };
32395
+ /**
32396
+ * Solid color or a gradient over the styled text box.
32397
+ */
32398
+ export type CutFill = string | {
32399
+ /**
32400
+ * Linear gradient; angle is in degrees and stop positions range from 0 to 1.
32401
+ */
32402
+ linear?: {
32403
+ /**
32404
+ * Gradient angle in degrees; 0 runs left to right.
32405
+ */
32406
+ angle?: number;
32407
+ /**
32408
+ * Gradient color stops; each position is a fraction from 0 to 1.
32409
+ */
32410
+ stops?: Array<{
32411
+ /**
32412
+ * Stop position as a fraction from 0 to 1.
32413
+ */
32414
+ at?: number;
32415
+ /**
32416
+ * Stop color in #RRGGBB or #RRGGBBAA notation.
32417
+ */
32418
+ color?: string;
32419
+ }>;
32420
+ };
32421
+ /**
32422
+ * Radial gradient with stop positions as fractions from 0 to 1.
32423
+ */
32424
+ radial?: {
32425
+ /**
32426
+ * Gradient color stops; each position is a fraction from 0 to 1.
32427
+ */
32428
+ stops?: Array<{
32429
+ /**
32430
+ * Stop position as a fraction from 0 to 1.
32431
+ */
32432
+ at?: number;
32433
+ /**
32434
+ * Stop color in #RRGGBB or #RRGGBBAA notation.
32435
+ */
32436
+ color?: string;
32437
+ }>;
32438
+ };
32439
+ };
32008
32440
  /**
32009
32441
  * Visual placement; coordinates are normalized canvas centers.
32010
32442
  */
@@ -32610,7 +33042,7 @@ export type MediaAssetWritable = {
32610
33042
  */
32611
33043
  url: string;
32612
33044
  /**
32613
- * HTTPS delivery URL for this asset version; equal to url. For authenticated assets the server includes a signature, so the original URL is ready to use. Request a delivery_tokens token for transformed URLs.
33045
+ * 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.
32614
33046
  */
32615
33047
  secure_url: string;
32616
33048
  /**
@@ -32637,6 +33069,10 @@ export type MediaAssetWritable = {
32637
33069
  * Resource status; active identifies an asset that has not been deleted.
32638
33070
  */
32639
33071
  status: 'active';
33072
+ /**
33073
+ * True when the source header declares an alpha channel: a PNG color type 4 or 6 or a tRNS chunk, a WebP VP8X alpha flag or VP8L alpha bit, a WebM or MKV video track AlphaMode of 1, or a GIF transparent-color flag. False when a known container has no alpha channel. Omitted when the format is unknown, the header could not be parsed, or the asset was stored before this field existed; absence does not mean the source is opaque.
33074
+ */
33075
+ has_alpha?: boolean;
32640
33076
  /**
32641
33077
  * Search-vector status: pending awaits vector generation or reprocessing; ready has searchable vectors; unavailable indicates disabled, unsupported or failed embedding. Existing vectors may still serve searches while reprocessing is pending.
32642
33078
  */
@@ -32693,6 +33129,27 @@ export type MediaAssetWritable = {
32693
33129
  };
32694
33130
  };
32695
33131
  };
33132
+ /**
33133
+ * Source details for the video-generation job that created this asset.
33134
+ */
33135
+ generation?: {
33136
+ /**
33137
+ * Job id that generated this asset.
33138
+ */
33139
+ job_id: MediaJobId;
33140
+ /**
33141
+ * Generation intent used to create the asset; v1 supports video.generate.
33142
+ */
33143
+ intent: string;
33144
+ /**
33145
+ * Text prompt submitted for the generation job.
33146
+ */
33147
+ prompt: string;
33148
+ /**
33149
+ * Router video-generation model that produced the asset.
33150
+ */
33151
+ model: string;
33152
+ };
32696
33153
  };
32697
33154
  /**
32698
33155
  * Understanding results in this page, ordered by creation time ascending.
@@ -32986,7 +33443,7 @@ export type MediaCloudinaryResourceWritable = {
32986
33443
  */
32987
33444
  url: string;
32988
33445
  /**
32989
- * HTTPS delivery URL for this asset version; equal to url. For authenticated assets the server includes a signature, so the original URL is ready to use. Request a delivery_tokens token for transformed URLs.
33446
+ * 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.
32990
33447
  */
32991
33448
  secure_url: string;
32992
33449
  /**
@@ -33009,7 +33466,7 @@ export type MediaChunkCompleteWritable = MediaCloudinaryResourceWritable & {
33009
33466
  done: true;
33010
33467
  };
33011
33468
  /**
33012
- * Per-task processing progress and its aggregate state for the asset. For understanding, Media generates proxies for video or audio 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.
33469
+ * Per-task processing progress and its aggregate state for the asset. For understanding, Media generates proxies for video sources of 25 MB or more or longer than 10 minutes, and for audio-only sources of 100 MB or more; originals remain available unchanged. Long videos are supported. When a video proxy is needed and is still above 95 MB after recompression, the source is reported as UNSUPPORTED with the limit in the failure message. Proxy preparation uses the organization’s metered sandbox resources.
33013
33470
  */
33014
33471
  export type MediaProcessingWritable = {
33015
33472
  state: MediaProcessingState;
@@ -33041,7 +33498,7 @@ export type MediaUnderstandingWritable = {
33041
33498
  */
33042
33499
  asset_version: number;
33043
33500
  /**
33044
- * 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. overview is a full-video summary with chapters, IAB categories and an unverified location; embedding reports a failed embedding step.
33501
+ * 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.
33045
33502
  */
33046
33503
  kind: MediaUnderstandingKind;
33047
33504
  /**
@@ -33065,7 +33522,7 @@ export type MediaUnderstandingWritable = {
33065
33522
  */
33066
33523
  content: string | null;
33067
33524
  /**
33068
- * 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.
33525
+ * 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.
33069
33526
  */
33070
33527
  data: unknown | null;
33071
33528
  /**
@@ -33211,7 +33668,7 @@ export type MediaSearchAssetWritable = {
33211
33668
  */
33212
33669
  url: string;
33213
33670
  /**
33214
- * HTTPS delivery URL for this asset version; equal to url. For authenticated assets the server includes a signature, so the original URL is ready to use. Request a delivery_tokens token for transformed URLs.
33671
+ * 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.
33215
33672
  */
33216
33673
  secure_url: string;
33217
33674
  /**
@@ -33238,6 +33695,10 @@ export type MediaSearchAssetWritable = {
33238
33695
  * Resource status; active identifies an asset that has not been deleted.
33239
33696
  */
33240
33697
  status: 'active';
33698
+ /**
33699
+ * True when the source header declares an alpha channel: a PNG color type 4 or 6 or a tRNS chunk, a WebP VP8X alpha flag or VP8L alpha bit, a WebM or MKV video track AlphaMode of 1, or a GIF transparent-color flag. False when a known container has no alpha channel. Omitted when the format is unknown, the header could not be parsed, or the asset was stored before this field existed; absence does not mean the source is opaque.
33700
+ */
33701
+ has_alpha?: boolean;
33241
33702
  /**
33242
33703
  * Search-vector status: pending awaits vector generation or reprocessing; ready has searchable vectors; unavailable indicates disabled, unsupported or failed embedding. Existing vectors may still serve searches while reprocessing is pending.
33243
33704
  */
@@ -33294,6 +33755,27 @@ export type MediaSearchAssetWritable = {
33294
33755
  };
33295
33756
  };
33296
33757
  };
33758
+ /**
33759
+ * Source details for the video-generation job that created this asset.
33760
+ */
33761
+ generation?: {
33762
+ /**
33763
+ * Job id that generated this asset.
33764
+ */
33765
+ job_id: MediaJobId;
33766
+ /**
33767
+ * Generation intent used to create the asset; v1 supports video.generate.
33768
+ */
33769
+ intent: string;
33770
+ /**
33771
+ * Text prompt submitted for the generation job.
33772
+ */
33773
+ prompt: string;
33774
+ /**
33775
+ * Router video-generation model that produced the asset.
33776
+ */
33777
+ model: string;
33778
+ };
33297
33779
  };
33298
33780
  /**
33299
33781
  * A matching asset with its ranking score and supporting matches.
@@ -33539,7 +34021,7 @@ export type ApplyAgentVersionResponses = {
33539
34021
  */
33540
34022
  note: string | null;
33541
34023
  /**
33542
- * Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search or browser. At most 20 bindings per type, no repeated type and id, and each service type at most once. A session is authorized by the agent version it runs: newly added bindings apply only to new sessions, and a version saved with apply=false changes no access until it is applied. Applying a version that disables, removes or downgrades a binding revokes it immediately in running sessions on older versions. A resource that is not bound returns 404, a service that is not opened returns 403, and a write to a resource bound read_only returns 403 BINDING_READ_ONLY. Unknown types, fields on the wrong kind (id, access or instructions on a service binding), wrong access and malformed ids return 400. The former databases, vector_stores and files fields are removed and return 400. Omit on create for no bindings. Saving checks added or changed database, vector_store, media_library and file bindings in the organization: unknown or deleted ids return 400. If an owner is unavailable or takes more than 3 seconds, saving succeeds with verified=false for the affected bindings. Unchanged bindings keep their previous verification result and are not rechecked. workflow and script ids are not verified at save time.
34024
+ * Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search, browser, ticket, crm, canvas or cut. There is no binding by default; enabling one opens every public method of that service. At most 20 bindings per type, no repeated type and id, and each service type at most once. A session is authorized by the agent version it runs: newly added bindings apply only to new sessions, and a version saved with apply=false changes no access until it is applied. Applying a version that disables, removes or downgrades a binding revokes it immediately in running sessions on older versions. A resource that is not bound returns 404, a service that is not opened returns 403, and a write to a resource bound read_only returns 403 BINDING_READ_ONLY. Unknown types, fields on the wrong kind (id, access or instructions on a service binding), wrong access and malformed ids return 400. The former databases, vector_stores and files fields are removed and return 400. Omit on create for no bindings. Saving checks added or changed database, vector_store, media_library and file bindings in the organization: unknown or deleted ids return 400. If an owner is unavailable or takes more than 3 seconds, saving succeeds with verified=false for the affected bindings. Unchanged bindings keep their previous verification result and are not rechecked. workflow and script ids are not verified at save time.
33543
34025
  */
33544
34026
  bindings: Array<{
33545
34027
  /**
@@ -33570,7 +34052,7 @@ export type ApplyAgentVersionResponses = {
33570
34052
  /**
33571
34053
  * Service type. Opens the whole service to codemode; there is no per-resource id.
33572
34054
  */
33573
- type: 'search' | 'browser';
34055
+ type: 'search' | 'browser' | 'ticket' | 'crm' | 'canvas' | 'cut';
33574
34056
  /**
33575
34057
  * Save-time verification result. false means the resource owner was unavailable; saving still succeeded. Unchanged bindings retain their previous result. true is returned for other bindings, including workflow and script ids which are not verified at save time. Client values are ignored.
33576
34058
  */
@@ -34756,7 +35238,7 @@ export type UnarchiveAgentResponses = {
34756
35238
  */
34757
35239
  note: string | null;
34758
35240
  /**
34759
- * Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search or browser. At most 20 bindings per type, no repeated type and id, and each service type at most once. A session is authorized by the agent version it runs: newly added bindings apply only to new sessions, and a version saved with apply=false changes no access until it is applied. Applying a version that disables, removes or downgrades a binding revokes it immediately in running sessions on older versions. A resource that is not bound returns 404, a service that is not opened returns 403, and a write to a resource bound read_only returns 403 BINDING_READ_ONLY. Unknown types, fields on the wrong kind (id, access or instructions on a service binding), wrong access and malformed ids return 400. The former databases, vector_stores and files fields are removed and return 400. Omit on create for no bindings. Saving checks added or changed database, vector_store, media_library and file bindings in the organization: unknown or deleted ids return 400. If an owner is unavailable or takes more than 3 seconds, saving succeeds with verified=false for the affected bindings. Unchanged bindings keep their previous verification result and are not rechecked. workflow and script ids are not verified at save time.
35241
+ * Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search, browser, ticket, crm, canvas or cut. There is no binding by default; enabling one opens every public method of that service. At most 20 bindings per type, no repeated type and id, and each service type at most once. A session is authorized by the agent version it runs: newly added bindings apply only to new sessions, and a version saved with apply=false changes no access until it is applied. Applying a version that disables, removes or downgrades a binding revokes it immediately in running sessions on older versions. A resource that is not bound returns 404, a service that is not opened returns 403, and a write to a resource bound read_only returns 403 BINDING_READ_ONLY. Unknown types, fields on the wrong kind (id, access or instructions on a service binding), wrong access and malformed ids return 400. The former databases, vector_stores and files fields are removed and return 400. Omit on create for no bindings. Saving checks added or changed database, vector_store, media_library and file bindings in the organization: unknown or deleted ids return 400. If an owner is unavailable or takes more than 3 seconds, saving succeeds with verified=false for the affected bindings. Unchanged bindings keep their previous verification result and are not rechecked. workflow and script ids are not verified at save time.
34760
35242
  */
34761
35243
  bindings: Array<{
34762
35244
  /**
@@ -34787,7 +35269,7 @@ export type UnarchiveAgentResponses = {
34787
35269
  /**
34788
35270
  * Service type. Opens the whole service to codemode; there is no per-resource id.
34789
35271
  */
34790
- type: 'search' | 'browser';
35272
+ type: 'search' | 'browser' | 'ticket' | 'crm' | 'canvas' | 'cut';
34791
35273
  /**
34792
35274
  * Save-time verification result. false means the resource owner was unavailable; saving still succeeded. Unchanged bindings retain their previous result. true is returned for other bindings, including workflow and script ids which are not verified at save time. Client values are ignored.
34793
35275
  */
@@ -43894,6 +44376,42 @@ export type FileCancelUploadResponses = {
43894
44376
  200: OwnFilePraxisUpload;
43895
44377
  };
43896
44378
  export type FileCancelUploadResponse = FileCancelUploadResponses[keyof FileCancelUploadResponses];
44379
+ export type FileRetrieveUploadData = {
44380
+ body?: never;
44381
+ path: {
44382
+ /**
44383
+ * Upload identifier returned by create on this face; the upload belongs to your organization.
44384
+ */
44385
+ upload_id: string;
44386
+ };
44387
+ query?: never;
44388
+ url: '/file/v1/uploads/{upload_id}';
44389
+ };
44390
+ export type FileRetrieveUploadErrors = {
44391
+ /**
44392
+ * INVALID_PARAMS: correct the upload_id before retrying.
44393
+ */
44394
+ 400: unknown;
44395
+ /**
44396
+ * UNAUTHENTICATED: supply a valid organization API key or signed-in session.
44397
+ */
44398
+ 401: unknown;
44399
+ /**
44400
+ * UPLOAD_NOT_FOUND: the upload is missing or belongs to another organization; create a new upload and send its parts.
44401
+ */
44402
+ 404: unknown;
44403
+ /**
44404
+ * UPLOAD_INVALID_STATE: the upload was cancelled or expired; create a new upload and send its parts again.
44405
+ */
44406
+ 409: unknown;
44407
+ };
44408
+ export type FileRetrieveUploadResponses = {
44409
+ /**
44410
+ * The upload state plus part_size and the received_parts list; complete once every part is present.
44411
+ */
44412
+ 200: OwnFilePraxisUpload;
44413
+ };
44414
+ export type FileRetrieveUploadResponse = FileRetrieveUploadResponses[keyof FileRetrieveUploadResponses];
43897
44415
  export type FileCreateSignedUploadData = {
43898
44416
  body: OwnFileSignedUploadRequest;
43899
44417
  path?: never;
@@ -51330,7 +51848,7 @@ export type AgentsListResponses = {
51330
51848
  */
51331
51849
  note: string | null;
51332
51850
  /**
51333
- * Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search or browser. At most 20 bindings per type, no repeated type and id, and each service type at most once. A session is authorized by the agent version it runs: newly added bindings apply only to new sessions, and a version saved with apply=false changes no access until it is applied. Applying a version that disables, removes or downgrades a binding revokes it immediately in running sessions on older versions. A resource that is not bound returns 404, a service that is not opened returns 403, and a write to a resource bound read_only returns 403 BINDING_READ_ONLY. Unknown types, fields on the wrong kind (id, access or instructions on a service binding), wrong access and malformed ids return 400. The former databases, vector_stores and files fields are removed and return 400. Omit on create for no bindings. Saving checks added or changed database, vector_store, media_library and file bindings in the organization: unknown or deleted ids return 400. If an owner is unavailable or takes more than 3 seconds, saving succeeds with verified=false for the affected bindings. Unchanged bindings keep their previous verification result and are not rechecked. workflow and script ids are not verified at save time.
51851
+ * Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search, browser, ticket, crm, canvas or cut. There is no binding by default; enabling one opens every public method of that service. At most 20 bindings per type, no repeated type and id, and each service type at most once. A session is authorized by the agent version it runs: newly added bindings apply only to new sessions, and a version saved with apply=false changes no access until it is applied. Applying a version that disables, removes or downgrades a binding revokes it immediately in running sessions on older versions. A resource that is not bound returns 404, a service that is not opened returns 403, and a write to a resource bound read_only returns 403 BINDING_READ_ONLY. Unknown types, fields on the wrong kind (id, access or instructions on a service binding), wrong access and malformed ids return 400. The former databases, vector_stores and files fields are removed and return 400. Omit on create for no bindings. Saving checks added or changed database, vector_store, media_library and file bindings in the organization: unknown or deleted ids return 400. If an owner is unavailable or takes more than 3 seconds, saving succeeds with verified=false for the affected bindings. Unchanged bindings keep their previous verification result and are not rechecked. workflow and script ids are not verified at save time.
51334
51852
  */
51335
51853
  bindings: Array<{
51336
51854
  /**
@@ -51361,7 +51879,7 @@ export type AgentsListResponses = {
51361
51879
  /**
51362
51880
  * Service type. Opens the whole service to codemode; there is no per-resource id.
51363
51881
  */
51364
- type: 'search' | 'browser';
51882
+ type: 'search' | 'browser' | 'ticket' | 'crm' | 'canvas' | 'cut';
51365
51883
  /**
51366
51884
  * Save-time verification result. false means the resource owner was unavailable; saving still succeeded. Unchanged bindings retain their previous result. true is returned for other bindings, including workflow and script ids which are not verified at save time. Client values are ignored.
51367
51885
  */
@@ -51869,7 +52387,7 @@ export type AgentsCreateData = {
51869
52387
  */
51870
52388
  tools?: Array<AgentManaged15 | AgentManaged29 | AgentManaged32>;
51871
52389
  /**
51872
- * Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search or browser. At most 20 bindings per type, no repeated type and id, and each service type at most once. A session is authorized by the agent version it runs: newly added bindings apply only to new sessions, and a version saved with apply=false changes no access until it is applied. Applying a version that disables, removes or downgrades a binding revokes it immediately in running sessions on older versions. A resource that is not bound returns 404, a service that is not opened returns 403, and a write to a resource bound read_only returns 403 BINDING_READ_ONLY. Unknown types, fields on the wrong kind (id, access or instructions on a service binding), wrong access and malformed ids return 400. The former databases, vector_stores and files fields are removed and return 400. Omit on create for no bindings. Saving checks added or changed database, vector_store, media_library and file bindings in the organization: unknown or deleted ids return 400. If an owner is unavailable or takes more than 3 seconds, saving succeeds with verified=false for the affected bindings. Unchanged bindings keep their previous verification result and are not rechecked. workflow and script ids are not verified at save time.
52390
+ * Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search, browser, ticket, crm, canvas or cut. There is no binding by default; enabling one opens every public method of that service. At most 20 bindings per type, no repeated type and id, and each service type at most once. A session is authorized by the agent version it runs: newly added bindings apply only to new sessions, and a version saved with apply=false changes no access until it is applied. Applying a version that disables, removes or downgrades a binding revokes it immediately in running sessions on older versions. A resource that is not bound returns 404, a service that is not opened returns 403, and a write to a resource bound read_only returns 403 BINDING_READ_ONLY. Unknown types, fields on the wrong kind (id, access or instructions on a service binding), wrong access and malformed ids return 400. The former databases, vector_stores and files fields are removed and return 400. Omit on create for no bindings. Saving checks added or changed database, vector_store, media_library and file bindings in the organization: unknown or deleted ids return 400. If an owner is unavailable or takes more than 3 seconds, saving succeeds with verified=false for the affected bindings. Unchanged bindings keep their previous verification result and are not rechecked. workflow and script ids are not verified at save time.
51873
52391
  */
51874
52392
  bindings?: Array<{
51875
52393
  /**
@@ -51900,7 +52418,7 @@ export type AgentsCreateData = {
51900
52418
  /**
51901
52419
  * Service type. Opens the whole service to codemode; there is no per-resource id.
51902
52420
  */
51903
- type: 'search' | 'browser';
52421
+ type: 'search' | 'browser' | 'ticket' | 'crm' | 'canvas' | 'cut';
51904
52422
  /**
51905
52423
  * Save-time verification result. false means the resource owner was unavailable; saving still succeeded. Unchanged bindings retain their previous result. true is returned for other bindings, including workflow and script ids which are not verified at save time. Client values are ignored.
51906
52424
  */
@@ -52470,7 +52988,7 @@ export type AgentsCreateResponses = {
52470
52988
  */
52471
52989
  note: string | null;
52472
52990
  /**
52473
- * Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search or browser. At most 20 bindings per type, no repeated type and id, and each service type at most once. A session is authorized by the agent version it runs: newly added bindings apply only to new sessions, and a version saved with apply=false changes no access until it is applied. Applying a version that disables, removes or downgrades a binding revokes it immediately in running sessions on older versions. A resource that is not bound returns 404, a service that is not opened returns 403, and a write to a resource bound read_only returns 403 BINDING_READ_ONLY. Unknown types, fields on the wrong kind (id, access or instructions on a service binding), wrong access and malformed ids return 400. The former databases, vector_stores and files fields are removed and return 400. Omit on create for no bindings. Saving checks added or changed database, vector_store, media_library and file bindings in the organization: unknown or deleted ids return 400. If an owner is unavailable or takes more than 3 seconds, saving succeeds with verified=false for the affected bindings. Unchanged bindings keep their previous verification result and are not rechecked. workflow and script ids are not verified at save time.
52991
+ * Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search, browser, ticket, crm, canvas or cut. There is no binding by default; enabling one opens every public method of that service. At most 20 bindings per type, no repeated type and id, and each service type at most once. A session is authorized by the agent version it runs: newly added bindings apply only to new sessions, and a version saved with apply=false changes no access until it is applied. Applying a version that disables, removes or downgrades a binding revokes it immediately in running sessions on older versions. A resource that is not bound returns 404, a service that is not opened returns 403, and a write to a resource bound read_only returns 403 BINDING_READ_ONLY. Unknown types, fields on the wrong kind (id, access or instructions on a service binding), wrong access and malformed ids return 400. The former databases, vector_stores and files fields are removed and return 400. Omit on create for no bindings. Saving checks added or changed database, vector_store, media_library and file bindings in the organization: unknown or deleted ids return 400. If an owner is unavailable or takes more than 3 seconds, saving succeeds with verified=false for the affected bindings. Unchanged bindings keep their previous verification result and are not rechecked. workflow and script ids are not verified at save time.
52474
52992
  */
52475
52993
  bindings: Array<{
52476
52994
  /**
@@ -52501,7 +53019,7 @@ export type AgentsCreateResponses = {
52501
53019
  /**
52502
53020
  * Service type. Opens the whole service to codemode; there is no per-resource id.
52503
53021
  */
52504
- type: 'search' | 'browser';
53022
+ type: 'search' | 'browser' | 'ticket' | 'crm' | 'canvas' | 'cut';
52505
53023
  /**
52506
53024
  * Save-time verification result. false means the resource owner was unavailable; saving still succeeded. Unchanged bindings retain their previous result. true is returned for other bindings, including workflow and script ids which are not verified at save time. Client values are ignored.
52507
53025
  */
@@ -53098,7 +53616,7 @@ export type AgentsRetrieveResponses = {
53098
53616
  */
53099
53617
  note: string | null;
53100
53618
  /**
53101
- * Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search or browser. At most 20 bindings per type, no repeated type and id, and each service type at most once. A session is authorized by the agent version it runs: newly added bindings apply only to new sessions, and a version saved with apply=false changes no access until it is applied. Applying a version that disables, removes or downgrades a binding revokes it immediately in running sessions on older versions. A resource that is not bound returns 404, a service that is not opened returns 403, and a write to a resource bound read_only returns 403 BINDING_READ_ONLY. Unknown types, fields on the wrong kind (id, access or instructions on a service binding), wrong access and malformed ids return 400. The former databases, vector_stores and files fields are removed and return 400. Omit on create for no bindings. Saving checks added or changed database, vector_store, media_library and file bindings in the organization: unknown or deleted ids return 400. If an owner is unavailable or takes more than 3 seconds, saving succeeds with verified=false for the affected bindings. Unchanged bindings keep their previous verification result and are not rechecked. workflow and script ids are not verified at save time.
53619
+ * Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search, browser, ticket, crm, canvas or cut. There is no binding by default; enabling one opens every public method of that service. At most 20 bindings per type, no repeated type and id, and each service type at most once. A session is authorized by the agent version it runs: newly added bindings apply only to new sessions, and a version saved with apply=false changes no access until it is applied. Applying a version that disables, removes or downgrades a binding revokes it immediately in running sessions on older versions. A resource that is not bound returns 404, a service that is not opened returns 403, and a write to a resource bound read_only returns 403 BINDING_READ_ONLY. Unknown types, fields on the wrong kind (id, access or instructions on a service binding), wrong access and malformed ids return 400. The former databases, vector_stores and files fields are removed and return 400. Omit on create for no bindings. Saving checks added or changed database, vector_store, media_library and file bindings in the organization: unknown or deleted ids return 400. If an owner is unavailable or takes more than 3 seconds, saving succeeds with verified=false for the affected bindings. Unchanged bindings keep their previous verification result and are not rechecked. workflow and script ids are not verified at save time.
53102
53620
  */
53103
53621
  bindings: Array<{
53104
53622
  /**
@@ -53129,7 +53647,7 @@ export type AgentsRetrieveResponses = {
53129
53647
  /**
53130
53648
  * Service type. Opens the whole service to codemode; there is no per-resource id.
53131
53649
  */
53132
- type: 'search' | 'browser';
53650
+ type: 'search' | 'browser' | 'ticket' | 'crm' | 'canvas' | 'cut';
53133
53651
  /**
53134
53652
  * Save-time verification result. false means the resource owner was unavailable; saving still succeeded. Unchanged bindings retain their previous result. true is returned for other bindings, including workflow and script ids which are not verified at save time. Client values are ignored.
53135
53653
  */
@@ -53677,7 +54195,7 @@ export type AgentsUpdateData = {
53677
54195
  /**
53678
54196
  * Service type. Opens the whole service to codemode; there is no per-resource id.
53679
54197
  */
53680
- type: 'search' | 'browser';
54198
+ type: 'search' | 'browser' | 'ticket' | 'crm' | 'canvas' | 'cut';
53681
54199
  /**
53682
54200
  * Save-time verification result. false means the resource owner was unavailable; saving still succeeded. Unchanged bindings retain their previous result. true is returned for other bindings, including workflow and script ids which are not verified at save time. Client values are ignored.
53683
54201
  */
@@ -54260,7 +54778,7 @@ export type AgentsUpdateResponses = {
54260
54778
  */
54261
54779
  note: string | null;
54262
54780
  /**
54263
- * Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search or browser. At most 20 bindings per type, no repeated type and id, and each service type at most once. A session is authorized by the agent version it runs: newly added bindings apply only to new sessions, and a version saved with apply=false changes no access until it is applied. Applying a version that disables, removes or downgrades a binding revokes it immediately in running sessions on older versions. A resource that is not bound returns 404, a service that is not opened returns 403, and a write to a resource bound read_only returns 403 BINDING_READ_ONLY. Unknown types, fields on the wrong kind (id, access or instructions on a service binding), wrong access and malformed ids return 400. The former databases, vector_stores and files fields are removed and return 400. Omit on create for no bindings. Saving checks added or changed database, vector_store, media_library and file bindings in the organization: unknown or deleted ids return 400. If an owner is unavailable or takes more than 3 seconds, saving succeeds with verified=false for the affected bindings. Unchanged bindings keep their previous verification result and are not rechecked. workflow and script ids are not verified at save time.
54781
+ * Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search, browser, ticket, crm, canvas or cut. There is no binding by default; enabling one opens every public method of that service. At most 20 bindings per type, no repeated type and id, and each service type at most once. A session is authorized by the agent version it runs: newly added bindings apply only to new sessions, and a version saved with apply=false changes no access until it is applied. Applying a version that disables, removes or downgrades a binding revokes it immediately in running sessions on older versions. A resource that is not bound returns 404, a service that is not opened returns 403, and a write to a resource bound read_only returns 403 BINDING_READ_ONLY. Unknown types, fields on the wrong kind (id, access or instructions on a service binding), wrong access and malformed ids return 400. The former databases, vector_stores and files fields are removed and return 400. Omit on create for no bindings. Saving checks added or changed database, vector_store, media_library and file bindings in the organization: unknown or deleted ids return 400. If an owner is unavailable or takes more than 3 seconds, saving succeeds with verified=false for the affected bindings. Unchanged bindings keep their previous verification result and are not rechecked. workflow and script ids are not verified at save time.
54264
54782
  */
54265
54783
  bindings: Array<{
54266
54784
  /**
@@ -54291,7 +54809,7 @@ export type AgentsUpdateResponses = {
54291
54809
  /**
54292
54810
  * Service type. Opens the whole service to codemode; there is no per-resource id.
54293
54811
  */
54294
- type: 'search' | 'browser';
54812
+ type: 'search' | 'browser' | 'ticket' | 'crm' | 'canvas' | 'cut';
54295
54813
  /**
54296
54814
  * Save-time verification result. false means the resource owner was unavailable; saving still succeeded. Unchanged bindings retain their previous result. true is returned for other bindings, including workflow and script ids which are not verified at save time. Client values are ignored.
54297
54815
  */
@@ -54874,7 +55392,7 @@ export type AgentsArchiveResponses = {
54874
55392
  */
54875
55393
  note: string | null;
54876
55394
  /**
54877
- * Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search or browser. At most 20 bindings per type, no repeated type and id, and each service type at most once. A session is authorized by the agent version it runs: newly added bindings apply only to new sessions, and a version saved with apply=false changes no access until it is applied. Applying a version that disables, removes or downgrades a binding revokes it immediately in running sessions on older versions. A resource that is not bound returns 404, a service that is not opened returns 403, and a write to a resource bound read_only returns 403 BINDING_READ_ONLY. Unknown types, fields on the wrong kind (id, access or instructions on a service binding), wrong access and malformed ids return 400. The former databases, vector_stores and files fields are removed and return 400. Omit on create for no bindings. Saving checks added or changed database, vector_store, media_library and file bindings in the organization: unknown or deleted ids return 400. If an owner is unavailable or takes more than 3 seconds, saving succeeds with verified=false for the affected bindings. Unchanged bindings keep their previous verification result and are not rechecked. workflow and script ids are not verified at save time.
55395
+ * Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search, browser, ticket, crm, canvas or cut. There is no binding by default; enabling one opens every public method of that service. At most 20 bindings per type, no repeated type and id, and each service type at most once. A session is authorized by the agent version it runs: newly added bindings apply only to new sessions, and a version saved with apply=false changes no access until it is applied. Applying a version that disables, removes or downgrades a binding revokes it immediately in running sessions on older versions. A resource that is not bound returns 404, a service that is not opened returns 403, and a write to a resource bound read_only returns 403 BINDING_READ_ONLY. Unknown types, fields on the wrong kind (id, access or instructions on a service binding), wrong access and malformed ids return 400. The former databases, vector_stores and files fields are removed and return 400. Omit on create for no bindings. Saving checks added or changed database, vector_store, media_library and file bindings in the organization: unknown or deleted ids return 400. If an owner is unavailable or takes more than 3 seconds, saving succeeds with verified=false for the affected bindings. Unchanged bindings keep their previous verification result and are not rechecked. workflow and script ids are not verified at save time.
54878
55396
  */
54879
55397
  bindings: Array<{
54880
55398
  /**
@@ -54905,7 +55423,7 @@ export type AgentsArchiveResponses = {
54905
55423
  /**
54906
55424
  * Service type. Opens the whole service to codemode; there is no per-resource id.
54907
55425
  */
54908
- type: 'search' | 'browser';
55426
+ type: 'search' | 'browser' | 'ticket' | 'crm' | 'canvas' | 'cut';
54909
55427
  /**
54910
55428
  * Save-time verification result. false means the resource owner was unavailable; saving still succeeded. Unchanged bindings retain their previous result. true is returned for other bindings, including workflow and script ids which are not verified at save time. Client values are ignored.
54911
55429
  */
@@ -55506,7 +56024,7 @@ export type AgentsVersionsListResponses = {
55506
56024
  */
55507
56025
  note: string | null;
55508
56026
  /**
55509
- * Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search or browser. At most 20 bindings per type, no repeated type and id, and each service type at most once. A session is authorized by the agent version it runs: newly added bindings apply only to new sessions, and a version saved with apply=false changes no access until it is applied. Applying a version that disables, removes or downgrades a binding revokes it immediately in running sessions on older versions. A resource that is not bound returns 404, a service that is not opened returns 403, and a write to a resource bound read_only returns 403 BINDING_READ_ONLY. Unknown types, fields on the wrong kind (id, access or instructions on a service binding), wrong access and malformed ids return 400. The former databases, vector_stores and files fields are removed and return 400. Omit on create for no bindings. Saving checks added or changed database, vector_store, media_library and file bindings in the organization: unknown or deleted ids return 400. If an owner is unavailable or takes more than 3 seconds, saving succeeds with verified=false for the affected bindings. Unchanged bindings keep their previous verification result and are not rechecked. workflow and script ids are not verified at save time.
56027
+ * Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search, browser, ticket, crm, canvas or cut. There is no binding by default; enabling one opens every public method of that service. At most 20 bindings per type, no repeated type and id, and each service type at most once. A session is authorized by the agent version it runs: newly added bindings apply only to new sessions, and a version saved with apply=false changes no access until it is applied. Applying a version that disables, removes or downgrades a binding revokes it immediately in running sessions on older versions. A resource that is not bound returns 404, a service that is not opened returns 403, and a write to a resource bound read_only returns 403 BINDING_READ_ONLY. Unknown types, fields on the wrong kind (id, access or instructions on a service binding), wrong access and malformed ids return 400. The former databases, vector_stores and files fields are removed and return 400. Omit on create for no bindings. Saving checks added or changed database, vector_store, media_library and file bindings in the organization: unknown or deleted ids return 400. If an owner is unavailable or takes more than 3 seconds, saving succeeds with verified=false for the affected bindings. Unchanged bindings keep their previous verification result and are not rechecked. workflow and script ids are not verified at save time.
55510
56028
  */
55511
56029
  bindings: Array<{
55512
56030
  /**
@@ -55537,7 +56055,7 @@ export type AgentsVersionsListResponses = {
55537
56055
  /**
55538
56056
  * Service type. Opens the whole service to codemode; there is no per-resource id.
55539
56057
  */
55540
- type: 'search' | 'browser';
56058
+ type: 'search' | 'browser' | 'ticket' | 'crm' | 'canvas' | 'cut';
55541
56059
  /**
55542
56060
  * Save-time verification result. false means the resource owner was unavailable; saving still succeeded. Unchanged bindings retain their previous result. true is returned for other bindings, including workflow and script ids which are not verified at save time. Client values are ignored.
55543
56061
  */
@@ -69298,7 +69816,7 @@ export type CutExecuteData = {
69298
69816
  };
69299
69817
  export type CutExecuteErrors = {
69300
69818
  /**
69301
- * SCRIPT_ERROR, SCRIPT_LIMIT or OPS_REJECTED means the script failed and its writes rolled back; correct the source using error.details.edit_id and edits when provided. EDIT_EXPIRED means the saved source is older than ten minutes; resubmit corrected script source.
69819
+ * SCRIPT_ERROR, SCRIPT_LIMIT, OPS_REJECTED or INVALID_CAPTION_FILE means the script failed and its writes rolled back; correct the source using error.details.edit_id and edits when provided. EDIT_EXPIRED means the saved source is older than ten minutes; resubmit corrected script source.
69302
69820
  */
69303
69821
  400: CutCutError;
69304
69822
  /**
@@ -72606,6 +73124,10 @@ export type MediaListLibrariesErrors = {
72606
73124
  * Request failed; see the error code reference.
72607
73125
  */
72608
73126
  415: MediaMediaError;
73127
+ /**
73128
+ * Request failed; see the error code reference.
73129
+ */
73130
+ 422: MediaMediaError;
72609
73131
  /**
72610
73132
  * Request failed; see the error code reference.
72611
73133
  */
@@ -72697,6 +73219,10 @@ export type MediaCreateLibraryErrors = {
72697
73219
  * Request failed; see the error code reference.
72698
73220
  */
72699
73221
  415: MediaMediaError;
73222
+ /**
73223
+ * Request failed; see the error code reference.
73224
+ */
73225
+ 422: MediaMediaError;
72700
73226
  /**
72701
73227
  * Request failed; see the error code reference.
72702
73228
  */
@@ -72771,6 +73297,10 @@ export type MediaCreateFrameUrlsErrors = {
72771
73297
  * This media format is unsupported; provide a supported format.
72772
73298
  */
72773
73299
  415: MediaMediaError;
73300
+ /**
73301
+ * Request failed; see the error code reference.
73302
+ */
73303
+ 422: MediaMediaError;
72774
73304
  /**
72775
73305
  * A rate limit was reached; wait before retrying.
72776
73306
  */
@@ -72832,6 +73362,10 @@ export type MediaDeleteLibraryErrors = {
72832
73362
  * Request failed; see the error code reference.
72833
73363
  */
72834
73364
  415: MediaMediaError;
73365
+ /**
73366
+ * Request failed; see the error code reference.
73367
+ */
73368
+ 422: MediaMediaError;
72835
73369
  /**
72836
73370
  * Request failed; see the error code reference.
72837
73371
  */
@@ -72893,6 +73427,10 @@ export type MediaGetLibraryErrors = {
72893
73427
  * Request failed; see the error code reference.
72894
73428
  */
72895
73429
  415: MediaMediaError;
73430
+ /**
73431
+ * Request failed; see the error code reference.
73432
+ */
73433
+ 422: MediaMediaError;
72896
73434
  /**
72897
73435
  * Request failed; see the error code reference.
72898
73436
  */
@@ -72993,6 +73531,10 @@ export type MediaUpdateLibraryErrors = {
72993
73531
  * Request failed; see the error code reference.
72994
73532
  */
72995
73533
  415: MediaMediaError;
73534
+ /**
73535
+ * Request failed; see the error code reference.
73536
+ */
73537
+ 422: MediaMediaError;
72996
73538
  /**
72997
73539
  * Request failed; see the error code reference.
72998
73540
  */
@@ -73054,6 +73596,10 @@ export type MediaRestoreLibraryErrors = {
73054
73596
  * Request failed; see the error code reference.
73055
73597
  */
73056
73598
  415: MediaMediaError;
73599
+ /**
73600
+ * Request failed; see the error code reference.
73601
+ */
73602
+ 422: MediaMediaError;
73057
73603
  /**
73058
73604
  * Request failed; see the error code reference.
73059
73605
  */
@@ -73115,6 +73661,10 @@ export type MediaPurgeLibraryErrors = {
73115
73661
  * Request failed; see the error code reference.
73116
73662
  */
73117
73663
  415: MediaMediaError;
73664
+ /**
73665
+ * Request failed; see the error code reference.
73666
+ */
73667
+ 422: MediaMediaError;
73118
73668
  /**
73119
73669
  * Request failed; see the error code reference.
73120
73670
  */
@@ -73193,6 +73743,10 @@ export type MediaListAssetsErrors = {
73193
73743
  * Request failed; see the error code reference.
73194
73744
  */
73195
73745
  415: MediaMediaError;
73746
+ /**
73747
+ * Request failed; see the error code reference.
73748
+ */
73749
+ 422: MediaMediaError;
73196
73750
  /**
73197
73751
  * Request failed; see the error code reference.
73198
73752
  */
@@ -73330,6 +73884,10 @@ export type MediaUploadAssetErrors = {
73330
73884
  * Request failed; see the error code reference.
73331
73885
  */
73332
73886
  415: MediaMediaError;
73887
+ /**
73888
+ * Request failed; see the error code reference.
73889
+ */
73890
+ 422: MediaMediaError;
73333
73891
  /**
73334
73892
  * Request failed; see the error code reference.
73335
73893
  */
@@ -73457,6 +74015,10 @@ export type MediaImportAssetErrors = {
73457
74015
  * Request failed; see the error code reference.
73458
74016
  */
73459
74017
  415: MediaMediaError;
74018
+ /**
74019
+ * Request failed; see the error code reference.
74020
+ */
74021
+ 422: MediaMediaError;
73460
74022
  /**
73461
74023
  * Request failed; see the error code reference.
73462
74024
  */
@@ -73522,6 +74084,10 @@ export type MediaDeleteAssetErrors = {
73522
74084
  * Request failed; see the error code reference.
73523
74085
  */
73524
74086
  415: MediaMediaError;
74087
+ /**
74088
+ * Request failed; see the error code reference.
74089
+ */
74090
+ 422: MediaMediaError;
73525
74091
  /**
73526
74092
  * Request failed; see the error code reference.
73527
74093
  */
@@ -73587,6 +74153,10 @@ export type MediaGetAssetErrors = {
73587
74153
  * Request failed; see the error code reference.
73588
74154
  */
73589
74155
  415: MediaMediaError;
74156
+ /**
74157
+ * Request failed; see the error code reference.
74158
+ */
74159
+ 422: MediaMediaError;
73590
74160
  /**
73591
74161
  * Request failed; see the error code reference.
73592
74162
  */
@@ -73674,6 +74244,10 @@ export type MediaUpdateAssetErrors = {
73674
74244
  * Request failed; see the error code reference.
73675
74245
  */
73676
74246
  415: MediaMediaError;
74247
+ /**
74248
+ * Request failed; see the error code reference.
74249
+ */
74250
+ 422: MediaMediaError;
73677
74251
  /**
73678
74252
  * Request failed; see the error code reference.
73679
74253
  */
@@ -73747,6 +74321,10 @@ export type MediaReprocessAssetErrors = {
73747
74321
  * Request failed; see the error code reference.
73748
74322
  */
73749
74323
  415: MediaMediaError;
74324
+ /**
74325
+ * Request failed; see the error code reference.
74326
+ */
74327
+ 422: MediaMediaError;
73750
74328
  /**
73751
74329
  * Request failed; see the error code reference.
73752
74330
  */
@@ -73790,9 +74368,9 @@ export type MediaListUnderstandingsData = {
73790
74368
  */
73791
74369
  include_superseded?: boolean;
73792
74370
  /**
73793
- * 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, and embedding reports a failed embedding step.
74371
+ * 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.
73794
74372
  */
73795
- kind?: 'caption' | 'tags' | 'ocr' | 'transcript' | 'frame' | 'overview' | 'embedding';
74373
+ kind?: 'caption' | 'tags' | 'ocr' | 'transcript' | 'frame' | 'overview' | 'audio' | 'embedding';
73796
74374
  /**
73797
74375
  * Cursor from the previous next_cursor.
73798
74376
  */
@@ -73829,6 +74407,10 @@ export type MediaListUnderstandingsErrors = {
73829
74407
  * Request failed; see the error code reference.
73830
74408
  */
73831
74409
  415: MediaMediaError;
74410
+ /**
74411
+ * Request failed; see the error code reference.
74412
+ */
74413
+ 422: MediaMediaError;
73832
74414
  /**
73833
74415
  * Request failed; see the error code reference.
73834
74416
  */
@@ -73860,7 +74442,7 @@ export type MediaExpressionSearchData = {
73860
74442
  */
73861
74443
  body: {
73862
74444
  /**
73863
- * 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. failure_code=UPSTREAM_FAILED selects assets with a current failed understanding carrying that code; combine with processing_state=failed or processing_state=partial.
74445
+ * 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.
73864
74446
  */
73865
74447
  expression?: string;
73866
74448
  /**
@@ -73920,6 +74502,10 @@ export type MediaExpressionSearchErrors = {
73920
74502
  * Request failed; see the error code reference.
73921
74503
  */
73922
74504
  415: MediaMediaError;
74505
+ /**
74506
+ * Request failed; see the error code reference.
74507
+ */
74508
+ 422: MediaMediaError;
73923
74509
  /**
73924
74510
  * Request failed; see the error code reference.
73925
74511
  */
@@ -74007,6 +74593,10 @@ export type MediaVisualSearchErrors = {
74007
74593
  * Request failed; see the error code reference.
74008
74594
  */
74009
74595
  415: MediaMediaError;
74596
+ /**
74597
+ * Request failed; see the error code reference.
74598
+ */
74599
+ 422: MediaMediaError;
74010
74600
  /**
74011
74601
  * Request failed; see the error code reference.
74012
74602
  */
@@ -74088,6 +74678,10 @@ export type MediaSemanticSearchErrors = {
74088
74678
  * Request failed; see the error code reference.
74089
74679
  */
74090
74680
  415: MediaMediaError;
74681
+ /**
74682
+ * Request failed; see the error code reference.
74683
+ */
74684
+ 422: MediaMediaError;
74091
74685
  /**
74092
74686
  * Request failed; see the error code reference.
74093
74687
  */
@@ -74169,6 +74763,10 @@ export type MediaSearchErrors = {
74169
74763
  * Request failed; see the error code reference.
74170
74764
  */
74171
74765
  415: MediaMediaError;
74766
+ /**
74767
+ * Request failed; see the error code reference.
74768
+ */
74769
+ 422: MediaMediaError;
74172
74770
  /**
74173
74771
  * Request failed; see the error code reference.
74174
74772
  */
@@ -74235,6 +74833,10 @@ export type MediaListFoldersErrors = {
74235
74833
  * Request failed; see the error code reference.
74236
74834
  */
74237
74835
  415: MediaMediaError;
74836
+ /**
74837
+ * Request failed; see the error code reference.
74838
+ */
74839
+ 422: MediaMediaError;
74238
74840
  /**
74239
74841
  * Request failed; see the error code reference.
74240
74842
  */
@@ -74308,6 +74910,10 @@ export type MediaCreateBatchErrors = {
74308
74910
  * Request failed; see the error code reference.
74309
74911
  */
74310
74912
  415: MediaMediaError;
74913
+ /**
74914
+ * Request failed; see the error code reference.
74915
+ */
74916
+ 422: MediaMediaError;
74311
74917
  /**
74312
74918
  * Request failed; see the error code reference.
74313
74919
  */
@@ -74373,6 +74979,10 @@ export type MediaGetBatchErrors = {
74373
74979
  * Request failed; see the error code reference.
74374
74980
  */
74375
74981
  415: MediaMediaError;
74982
+ /**
74983
+ * Request failed; see the error code reference.
74984
+ */
74985
+ 422: MediaMediaError;
74376
74986
  /**
74377
74987
  * Request failed; see the error code reference.
74378
74988
  */
@@ -74446,6 +75056,10 @@ export type MediaBatchAssetsErrors = {
74446
75056
  * Request failed; see the error code reference.
74447
75057
  */
74448
75058
  415: MediaMediaError;
75059
+ /**
75060
+ * Request failed; see the error code reference.
75061
+ */
75062
+ 422: MediaMediaError;
74449
75063
  /**
74450
75064
  * Request failed; see the error code reference.
74451
75065
  */
@@ -74479,7 +75093,7 @@ export type MediaGetJobData = {
74479
75093
  */
74480
75094
  library_id: string;
74481
75095
  /**
74482
- * Batch identifier returned by createBatch or batchAssets; resolved within this library.
75096
+ * Job identifier returned by batch creation, video-generation creation or job listing; resolved within this library.
74483
75097
  */
74484
75098
  job_id: string;
74485
75099
  };
@@ -74488,15 +75102,15 @@ export type MediaGetJobData = {
74488
75102
  };
74489
75103
  export type MediaGetJobErrors = {
74490
75104
  /**
74491
- * Request failed; see the error code reference.
75105
+ * A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
74492
75106
  */
74493
75107
  400: MediaMediaError;
74494
75108
  /**
74495
- * Request failed; see the error code reference.
75109
+ * This credential has read-only access to the library; use a write-capable binding for mutations.
74496
75110
  */
74497
75111
  403: MediaMediaError;
74498
75112
  /**
74499
- * Request failed; see the error code reference.
75113
+ * The library or asset is missing, deleted or belongs to another tenant; verify its identifier and owner.
74500
75114
  */
74501
75115
  404: MediaMediaError;
74502
75116
  /**
@@ -74504,19 +75118,23 @@ export type MediaGetJobErrors = {
74504
75118
  */
74505
75119
  409: MediaMediaError;
74506
75120
  /**
74507
- * Request failed; see the error code reference.
75121
+ * The file exceeds an input limit; provide a smaller source file.
74508
75122
  */
74509
75123
  413: MediaMediaError;
74510
75124
  /**
74511
- * Request failed; see the error code reference.
75125
+ * This media format is unsupported; provide a supported format.
74512
75126
  */
74513
75127
  415: MediaMediaError;
74514
75128
  /**
74515
75129
  * Request failed; see the error code reference.
74516
75130
  */
75131
+ 422: MediaMediaError;
75132
+ /**
75133
+ * A rate limit was reached; wait before retrying.
75134
+ */
74517
75135
  429: MediaMediaError;
74518
75136
  /**
74519
- * Request failed; see the error code reference.
75137
+ * The requested operation is unsupported; choose a supported method.
74520
75138
  */
74521
75139
  501: MediaMediaError;
74522
75140
  /**
@@ -74524,7 +75142,7 @@ export type MediaGetJobErrors = {
74524
75142
  */
74525
75143
  502: MediaMediaError;
74526
75144
  /**
74527
- * Request failed; see the error code reference.
75145
+ * Historical projections are still being initialized, or library storage is temporarily unavailable; retry shortly and check failureSummary counts_complete.
74528
75146
  */
74529
75147
  503: MediaMediaError;
74530
75148
  };
@@ -74589,6 +75207,10 @@ export type MediaListEventsErrors = {
74589
75207
  * Request failed; see the error code reference.
74590
75208
  */
74591
75209
  415: MediaMediaError;
75210
+ /**
75211
+ * Request failed; see the error code reference.
75212
+ */
75213
+ 422: MediaMediaError;
74592
75214
  /**
74593
75215
  * Request failed; see the error code reference.
74594
75216
  */
@@ -74662,6 +75284,10 @@ export type MediaCreateDeliveryTokenErrors = {
74662
75284
  * Request failed; see the error code reference.
74663
75285
  */
74664
75286
  415: MediaMediaError;
75287
+ /**
75288
+ * Request failed; see the error code reference.
75289
+ */
75290
+ 422: MediaMediaError;
74665
75291
  /**
74666
75292
  * Request failed; see the error code reference.
74667
75293
  */
@@ -74723,6 +75349,10 @@ export type MediaUnderstandingFailureSummaryErrors = {
74723
75349
  * This media format is unsupported; provide a supported format.
74724
75350
  */
74725
75351
  415: MediaMediaError;
75352
+ /**
75353
+ * Request failed; see the error code reference.
75354
+ */
75355
+ 422: MediaMediaError;
74726
75356
  /**
74727
75357
  * A rate limit was reached; wait before retrying.
74728
75358
  */
@@ -74762,7 +75392,7 @@ export type MediaListUnderstandingsByLibraryData = {
74762
75392
  */
74763
75393
  folder?: string;
74764
75394
  /**
74765
- * Comma-separated output kinds: caption, tags, ocr, frame, transcript, overview, embedding. Omit or empty to include every kind.
75395
+ * Comma-separated output kinds: caption, tags, ocr, frame, transcript, overview, audio, embedding. Omit or empty to include every kind.
74766
75396
  */
74767
75397
  kinds?: string;
74768
75398
  /**
@@ -74801,6 +75431,10 @@ export type MediaListUnderstandingsByLibraryErrors = {
74801
75431
  * This media format is unsupported; provide a supported format.
74802
75432
  */
74803
75433
  415: MediaMediaError;
75434
+ /**
75435
+ * Request failed; see the error code reference.
75436
+ */
75437
+ 422: MediaMediaError;
74804
75438
  /**
74805
75439
  * A rate limit was reached; wait before retrying.
74806
75440
  */
@@ -74826,6 +75460,425 @@ export type MediaListUnderstandingsByLibraryResponses = {
74826
75460
  200: MediaUnderstandingPage;
74827
75461
  };
74828
75462
  export type MediaListUnderstandingsByLibraryResponse = MediaListUnderstandingsByLibraryResponses[keyof MediaListUnderstandingsByLibraryResponses];
75463
+ export type MediaCreateGenerationData = {
75464
+ /**
75465
+ * Text-to-video request. Generation is charged per second; unsaved candidates expire after 7 days.
75466
+ */
75467
+ body: {
75468
+ /**
75469
+ * Generation operation; v1 accepts only video.generate text-to-video requests.
75470
+ */
75471
+ intent: 'video.generate';
75472
+ /**
75473
+ * Text prompt describing the video to generate.
75474
+ */
75475
+ prompt: string;
75476
+ /**
75477
+ * Number of videos to generate; defaults to 1 and must be from 1 to 4.
75478
+ */
75479
+ count?: number;
75480
+ /**
75481
+ * Requested video duration in seconds; Router validates the model-specific supported durations.
75482
+ */
75483
+ duration_seconds?: number;
75484
+ /**
75485
+ * Requested output aspect ratio; defaults to 16:9 and Router validates model support.
75486
+ */
75487
+ aspect_ratio?: string;
75488
+ /**
75489
+ * Router model with video_generation capability; defaults to wan2.7-t2v.
75490
+ */
75491
+ model?: string;
75492
+ /**
75493
+ * candidate keeps outputs temporary for explicit save calls; library saves successful outputs automatically.
75494
+ */
75495
+ save?: 'candidate' | 'library';
75496
+ /**
75497
+ * Folder for assets saved automatically or by later save calls; defaults to the library root. 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.
75498
+ */
75499
+ asset_folder?: string;
75500
+ /**
75501
+ * Tags applied when an output becomes a library asset.
75502
+ */
75503
+ tags?: Array<string>;
75504
+ /**
75505
+ * Understanding behavior when a candidate is saved as an asset; defaults to auto.
75506
+ */
75507
+ understanding?: 'auto' | 'skip';
75508
+ /**
75509
+ * Not supported in v1; omit this field. Only text-to-video is currently available.
75510
+ */
75511
+ references?: Array<unknown>;
75512
+ };
75513
+ headers?: {
75514
+ /**
75515
+ * Stable key for retrying the same request without creating or charging for another job; reusing it with different request content is rejected.
75516
+ */
75517
+ 'Idempotency-Key'?: string;
75518
+ };
75519
+ path: {
75520
+ /**
75521
+ * Library ID returned by creation.
75522
+ */
75523
+ library_id: string;
75524
+ };
75525
+ query?: never;
75526
+ url: '/media/v1/libraries/{library_id}/generations';
75527
+ };
75528
+ export type MediaCreateGenerationErrors = {
75529
+ /**
75530
+ * A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
75531
+ */
75532
+ 400: MediaMediaError;
75533
+ /**
75534
+ * This credential has read-only access to the library; use a write-capable binding for mutations.
75535
+ */
75536
+ 403: MediaMediaError;
75537
+ /**
75538
+ * The library or asset is missing, deleted or belongs to another tenant; verify its identifier and owner.
75539
+ */
75540
+ 404: MediaMediaError;
75541
+ /**
75542
+ * Request failed; see the error code reference.
75543
+ */
75544
+ 409: MediaMediaError;
75545
+ /**
75546
+ * The file exceeds an input limit; provide a smaller source file.
75547
+ */
75548
+ 413: MediaMediaError;
75549
+ /**
75550
+ * This media format is unsupported; provide a supported format.
75551
+ */
75552
+ 415: MediaMediaError;
75553
+ /**
75554
+ * Request failed; see the error code reference.
75555
+ */
75556
+ 422: MediaMediaError;
75557
+ /**
75558
+ * This library already has five queued or running generation jobs; wait until one finishes and retry.
75559
+ */
75560
+ 429: MediaMediaError;
75561
+ /**
75562
+ * The requested operation is unsupported; choose a supported method.
75563
+ */
75564
+ 501: MediaMediaError;
75565
+ /**
75566
+ * Request failed; see the error code reference.
75567
+ */
75568
+ 502: MediaMediaError;
75569
+ /**
75570
+ * Historical projections are still being initialized, or library storage is temporarily unavailable; retry shortly and check failureSummary counts_complete.
75571
+ */
75572
+ 503: MediaMediaError;
75573
+ };
75574
+ export type MediaCreateGenerationError = MediaCreateGenerationErrors[keyof MediaCreateGenerationErrors];
75575
+ export type MediaCreateGenerationResponses = {
75576
+ /**
75577
+ * Successful response.
75578
+ */
75579
+ 202: MediaJob;
75580
+ };
75581
+ export type MediaCreateGenerationResponse = MediaCreateGenerationResponses[keyof MediaCreateGenerationResponses];
75582
+ export type MediaListJobsData = {
75583
+ body?: never;
75584
+ path: {
75585
+ /**
75586
+ * Library ID returned by creation.
75587
+ */
75588
+ library_id: string;
75589
+ };
75590
+ query?: {
75591
+ /**
75592
+ * Filter jobs by their current status.
75593
+ */
75594
+ status?: MediaJobStatus;
75595
+ /**
75596
+ * Maximum entries in this page, from 1 through 100; defaults to 100.
75597
+ */
75598
+ limit?: number;
75599
+ /**
75600
+ * Job id from the previous page’s next_cursor; omit for the first page.
75601
+ */
75602
+ cursor?: MediaJobId;
75603
+ };
75604
+ url: '/media/v1/libraries/{library_id}/jobs';
75605
+ };
75606
+ export type MediaListJobsErrors = {
75607
+ /**
75608
+ * A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
75609
+ */
75610
+ 400: MediaMediaError;
75611
+ /**
75612
+ * This credential has read-only access to the library; use a write-capable binding for mutations.
75613
+ */
75614
+ 403: MediaMediaError;
75615
+ /**
75616
+ * The library or asset is missing, deleted or belongs to another tenant; verify its identifier and owner.
75617
+ */
75618
+ 404: MediaMediaError;
75619
+ /**
75620
+ * Request failed; see the error code reference.
75621
+ */
75622
+ 409: MediaMediaError;
75623
+ /**
75624
+ * The file exceeds an input limit; provide a smaller source file.
75625
+ */
75626
+ 413: MediaMediaError;
75627
+ /**
75628
+ * This media format is unsupported; provide a supported format.
75629
+ */
75630
+ 415: MediaMediaError;
75631
+ /**
75632
+ * Request failed; see the error code reference.
75633
+ */
75634
+ 422: MediaMediaError;
75635
+ /**
75636
+ * A rate limit was reached; wait before retrying.
75637
+ */
75638
+ 429: MediaMediaError;
75639
+ /**
75640
+ * The requested operation is unsupported; choose a supported method.
75641
+ */
75642
+ 501: MediaMediaError;
75643
+ /**
75644
+ * Request failed; see the error code reference.
75645
+ */
75646
+ 502: MediaMediaError;
75647
+ /**
75648
+ * Historical projections are still being initialized, or library storage is temporarily unavailable; retry shortly and check failureSummary counts_complete.
75649
+ */
75650
+ 503: MediaMediaError;
75651
+ };
75652
+ export type MediaListJobsError = MediaListJobsErrors[keyof MediaListJobsErrors];
75653
+ export type MediaListJobsResponses = {
75654
+ /**
75655
+ * Successful response.
75656
+ */
75657
+ 200: MediaJobPage;
75658
+ };
75659
+ export type MediaListJobsResponse = MediaListJobsResponses[keyof MediaListJobsResponses];
75660
+ export type MediaCancelJobData = {
75661
+ body?: never;
75662
+ path: {
75663
+ /**
75664
+ * Library ID returned by creation.
75665
+ */
75666
+ library_id: string;
75667
+ /**
75668
+ * Job identifier returned by batch or generation creation; the job is resolved within the specified library.
75669
+ */
75670
+ job_id: string;
75671
+ };
75672
+ query?: never;
75673
+ url: '/media/v1/libraries/{library_id}/jobs/{job_id}/cancel';
75674
+ };
75675
+ export type MediaCancelJobErrors = {
75676
+ /**
75677
+ * A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
75678
+ */
75679
+ 400: MediaMediaError;
75680
+ /**
75681
+ * This credential has read-only access to the library; use a write-capable binding for mutations.
75682
+ */
75683
+ 403: MediaMediaError;
75684
+ /**
75685
+ * The library or asset is missing, deleted or belongs to another tenant; verify its identifier and owner.
75686
+ */
75687
+ 404: MediaMediaError;
75688
+ /**
75689
+ * Request failed; see the error code reference.
75690
+ */
75691
+ 409: MediaMediaError;
75692
+ /**
75693
+ * The file exceeds an input limit; provide a smaller source file.
75694
+ */
75695
+ 413: MediaMediaError;
75696
+ /**
75697
+ * This media format is unsupported; provide a supported format.
75698
+ */
75699
+ 415: MediaMediaError;
75700
+ /**
75701
+ * Request failed; see the error code reference.
75702
+ */
75703
+ 422: MediaMediaError;
75704
+ /**
75705
+ * A rate limit was reached; wait before retrying.
75706
+ */
75707
+ 429: MediaMediaError;
75708
+ /**
75709
+ * The requested operation is unsupported; choose a supported method.
75710
+ */
75711
+ 501: MediaMediaError;
75712
+ /**
75713
+ * Request failed; see the error code reference.
75714
+ */
75715
+ 502: MediaMediaError;
75716
+ /**
75717
+ * Historical projections are still being initialized, or library storage is temporarily unavailable; retry shortly and check failureSummary counts_complete.
75718
+ */
75719
+ 503: MediaMediaError;
75720
+ };
75721
+ export type MediaCancelJobError = MediaCancelJobErrors[keyof MediaCancelJobErrors];
75722
+ export type MediaCancelJobResponses = {
75723
+ /**
75724
+ * Successful response.
75725
+ */
75726
+ 200: MediaJob;
75727
+ };
75728
+ export type MediaCancelJobResponse = MediaCancelJobResponses[keyof MediaCancelJobResponses];
75729
+ export type MediaSaveGenerationOutputData = {
75730
+ /**
75731
+ * Optional asset metadata and understanding behavior for a successful candidate.
75732
+ */
75733
+ body?: {
75734
+ /**
75735
+ * Delivery identifier for the saved asset; defaults to gen_<job_id>_<index> and is idempotent.
75736
+ */
75737
+ public_id?: string;
75738
+ /**
75739
+ * Destination folder for the saved asset; defaults to the library root. 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.
75740
+ */
75741
+ asset_folder?: string;
75742
+ /**
75743
+ * Tags to apply to the saved asset.
75744
+ */
75745
+ tags?: Array<string>;
75746
+ /**
75747
+ * Understanding behavior for the saved asset; defaults to auto.
75748
+ */
75749
+ understanding?: 'auto' | 'skip';
75750
+ };
75751
+ path: {
75752
+ /**
75753
+ * Library ID returned by creation.
75754
+ */
75755
+ library_id: string;
75756
+ /**
75757
+ * Job identifier returned by batch or generation creation; the job is resolved within the specified library.
75758
+ */
75759
+ job_id: string;
75760
+ /**
75761
+ * Zero-based position of the candidate in the Job outputs array.
75762
+ */
75763
+ index: string;
75764
+ };
75765
+ query?: never;
75766
+ url: '/media/v1/libraries/{library_id}/jobs/{job_id}/outputs/{index}/save';
75767
+ };
75768
+ export type MediaSaveGenerationOutputErrors = {
75769
+ /**
75770
+ * A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
75771
+ */
75772
+ 400: MediaMediaError;
75773
+ /**
75774
+ * This credential has read-only access to the library; use a write-capable binding for mutations.
75775
+ */
75776
+ 403: MediaMediaError;
75777
+ /**
75778
+ * The job or output is inaccessible, missing, or the candidate has expired; verify library ownership and create a new job for an expired candidate.
75779
+ */
75780
+ 404: MediaMediaError;
75781
+ /**
75782
+ * Request failed; see the error code reference.
75783
+ */
75784
+ 409: MediaMediaError;
75785
+ /**
75786
+ * The file exceeds an input limit; provide a smaller source file.
75787
+ */
75788
+ 413: MediaMediaError;
75789
+ /**
75790
+ * This media format is unsupported; provide a supported format.
75791
+ */
75792
+ 415: MediaMediaError;
75793
+ /**
75794
+ * Request failed; see the error code reference.
75795
+ */
75796
+ 422: MediaMediaError;
75797
+ /**
75798
+ * A rate limit was reached; wait before retrying.
75799
+ */
75800
+ 429: MediaMediaError;
75801
+ /**
75802
+ * The requested operation is unsupported; choose a supported method.
75803
+ */
75804
+ 501: MediaMediaError;
75805
+ /**
75806
+ * Request failed; see the error code reference.
75807
+ */
75808
+ 502: MediaMediaError;
75809
+ /**
75810
+ * Historical projections are still being initialized, or library storage is temporarily unavailable; retry shortly and check failureSummary counts_complete.
75811
+ */
75812
+ 503: MediaMediaError;
75813
+ };
75814
+ export type MediaSaveGenerationOutputError = MediaSaveGenerationOutputErrors[keyof MediaSaveGenerationOutputErrors];
75815
+ export type MediaSaveGenerationOutputResponses = {
75816
+ /**
75817
+ * Successful response.
75818
+ */
75819
+ 200: MediaAsset;
75820
+ };
75821
+ export type MediaSaveGenerationOutputResponse = MediaSaveGenerationOutputResponses[keyof MediaSaveGenerationOutputResponses];
75822
+ export type MediaGetGenerationCapabilitiesData = {
75823
+ body?: never;
75824
+ path?: never;
75825
+ query?: never;
75826
+ url: '/media/v1/generation/capabilities';
75827
+ };
75828
+ export type MediaGetGenerationCapabilitiesErrors = {
75829
+ /**
75830
+ * A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
75831
+ */
75832
+ 400: MediaMediaError;
75833
+ /**
75834
+ * This credential has read-only access to the library; use a write-capable binding for mutations.
75835
+ */
75836
+ 403: MediaMediaError;
75837
+ /**
75838
+ * The library or asset is missing, deleted or belongs to another tenant; verify its identifier and owner.
75839
+ */
75840
+ 404: MediaMediaError;
75841
+ /**
75842
+ * Request failed; see the error code reference.
75843
+ */
75844
+ 409: MediaMediaError;
75845
+ /**
75846
+ * The file exceeds an input limit; provide a smaller source file.
75847
+ */
75848
+ 413: MediaMediaError;
75849
+ /**
75850
+ * This media format is unsupported; provide a supported format.
75851
+ */
75852
+ 415: MediaMediaError;
75853
+ /**
75854
+ * Request failed; see the error code reference.
75855
+ */
75856
+ 422: MediaMediaError;
75857
+ /**
75858
+ * A rate limit was reached; wait before retrying.
75859
+ */
75860
+ 429: MediaMediaError;
75861
+ /**
75862
+ * The requested operation is unsupported; choose a supported method.
75863
+ */
75864
+ 501: MediaMediaError;
75865
+ /**
75866
+ * Request failed; see the error code reference.
75867
+ */
75868
+ 502: MediaMediaError;
75869
+ /**
75870
+ * Historical projections are still being initialized, or library storage is temporarily unavailable; retry shortly and check failureSummary counts_complete.
75871
+ */
75872
+ 503: MediaMediaError;
75873
+ };
75874
+ export type MediaGetGenerationCapabilitiesError = MediaGetGenerationCapabilitiesErrors[keyof MediaGetGenerationCapabilitiesErrors];
75875
+ export type MediaGetGenerationCapabilitiesResponses = {
75876
+ /**
75877
+ * Successful response.
75878
+ */
75879
+ 200: MediaGenerationCapabilities;
75880
+ };
75881
+ export type MediaGetGenerationCapabilitiesResponse = MediaGetGenerationCapabilitiesResponses[keyof MediaGetGenerationCapabilitiesResponses];
74829
75882
  export type GetSandboxV1SandboxesData = {
74830
75883
  body?: never;
74831
75884
  path?: never;
@@ -75218,6 +76271,10 @@ export type ListSandboxTemplatesResponses = {
75218
76271
  buildCount: number;
75219
76272
  envdVersion: SandboxEnvdVersion;
75220
76273
  buildStatus: SandboxTemplateBuildStatus;
76274
+ /**
76275
+ * Lifecycle classes this template can run as. ephemeral: cannot pause, snapshot or mount volumes and is deleted when it stops; persistent: can pause, resume and snapshot.
76276
+ */
76277
+ lifecycles?: Array<'ephemeral' | 'persistent'>;
75221
76278
  /**
75222
76279
  * True for an official catalog template; false for your organization's custom templates.
75223
76280
  */
@@ -77421,7 +78478,7 @@ export type TicketGetTicketsData = {
77421
78478
  */
77422
78479
  page_token?: string;
77423
78480
  /**
77424
- * Filter expression.
78481
+ * Filter expression using field:value qualifiers, such as is:open milestone:5.
77425
78482
  */
77426
78483
  filter?: string;
77427
78484
  };
@@ -79840,7 +80897,7 @@ export type TicketGetActivityData = {
79840
80897
  */
79841
80898
  page_token?: string;
79842
80899
  /**
79843
- * Filter expression.
80900
+ * Activity filter expression.
79844
80901
  */
79845
80902
  filter?: string;
79846
80903
  };