@deepraxis/sdk 0.1.1-dev.48a97c5 → 0.1.1-dev.4b420a8

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.
@@ -7001,13 +7001,19 @@ export const operations = [
7001
7001
  "resource": "browser.contexts",
7002
7002
  "method": "list",
7003
7003
  "summary": "列出浏览器上下文",
7004
- "description": "分页列出当前账户保存的登录态,按登录态 ID 升序排列。每项返回名称、标签及保存内容的统计信息;将 nextCursor 原样传入读取下一页,直到其为 null。",
7004
+ "description": "分页列出当前账户保存的登录态,按登录态 ID 升序排列。每项返回名称、标签及保存内容的统计信息;将 nextCursor 原样传入读取下一页,直到其为 null。传 name 时只返回该名称的登录态;名称在当前账户内唯一,所以最多一条。",
7005
7005
  "http": "GET",
7006
7006
  "path": "/browser/v1/contexts",
7007
7007
  "streaming": "no",
7008
7008
  "pagination": false,
7009
7009
  "pathParams": [],
7010
7010
  "query": [
7011
+ {
7012
+ "name": "name",
7013
+ "type": "string",
7014
+ "required": false,
7015
+ "description": "按登录态名称精确匹配;名称在当前账户内唯一,所以最多返回一条。省略时列出全部登录态。"
7016
+ },
7011
7017
  {
7012
7018
  "name": "cursor",
7013
7019
  "type": "string",
@@ -9855,8 +9861,8 @@ export const operations = [
9855
9861
  {
9856
9862
  "resource": "cut.projects.analysis",
9857
9863
  "method": "create",
9858
- "summary": "Analyze project media",
9859
- "description": "Request silence, filler-word or scene analysis for selected bound assets before editing. Omit media to select project sources; ranges returned in segments use source seconds. A pending result is not completion: use retry_after_sec before checking again, and inspect failed or unsupported asset results before deciding which edits are possible. Silence measures transcript-based speech pauses, not music or loudness. A completed transcript without words returns ready with empty segments and reason no_speech; no completed transcript returns unsupported with reason no_transcript. A failed transcription remains failed.",
9864
+ "summary": "Analyze project media or measure the project mix",
9865
+ "description": "Request silence, filler-word or scene analysis for selected bound assets before editing, or measure the mix the timeline itself renders with kind mix. That kind is a render job, not a read: it answers pending with retry_after_sec and an id. Poll by calling this same method again with body { kinds: [\"mix\"], id } (there is no separate retrieve method); that call reads the measurement and renders nothing. The answer only exists once the audio has been rendered and measured. Omit media to select project sources; ranges returned in segments use source seconds. A pending result is not completion: use retry_after_sec before checking again, and inspect failed or unsupported asset results before deciding which edits are possible. Silence measures transcript-based speech pauses, not music or loudness. A completed transcript without words returns ready with empty segments and reason no_speech; no completed transcript returns unsupported with reason no_transcript. A failed transcription remains failed. kind mix is separate: it reports the project mix loudness, the loudness of each role and where music masks speech, so an editor can fix the mix rather than guess at it.",
9860
9866
  "http": "POST",
9861
9867
  "path": "/cut/v1/projects/{project_id}/analysis",
9862
9868
  "streaming": "no",
@@ -9886,10 +9892,35 @@ export const operations = [
9886
9892
  "enum": [
9887
9893
  "silence",
9888
9894
  "filler",
9889
- "scenes"
9895
+ "scenes",
9896
+ "mix"
9890
9897
  ],
9891
9898
  "required": true,
9892
- "description": "Analysis types to request for the selected source assets."
9899
+ "description": "Analysis types to request. silence, filler and scenes analyze the selected source assets and are read from the media library; mix measures the project's own rendered mix and is requested on its own."
9900
+ },
9901
+ {
9902
+ "name": "from",
9903
+ "type": "number",
9904
+ "required": false,
9905
+ "description": "Range start for kind mix, in seconds on the project clock. Omitted with to, the whole timeline is measured, capped at 120 seconds. Ignored by the asset kinds."
9906
+ },
9907
+ {
9908
+ "name": "to",
9909
+ "type": "number",
9910
+ "required": false,
9911
+ "description": "Range end for kind mix, in seconds on the project clock, exclusive. A range longer than 120 seconds is refused; request several ranges instead."
9912
+ },
9913
+ {
9914
+ "name": "revision",
9915
+ "type": "integer",
9916
+ "required": false,
9917
+ "description": "Optional committed project revision to measure; omission uses the current revision. Mix only."
9918
+ },
9919
+ {
9920
+ "name": "id",
9921
+ "type": "string",
9922
+ "required": false,
9923
+ "description": "Poll one running mix measurement by the id its first call returned. Sending id reads that measurement and renders nothing."
9893
9924
  }
9894
9925
  ]
9895
9926
  }
@@ -10062,6 +10093,12 @@ export const operations = [
10062
10093
  "type": "object",
10063
10094
  "required": false,
10064
10095
  "description": "Loudness normalization target. Omitted, the export is normalized to -14 LUFS integrated and -1 dBTP true peak, the level short-video and streaming platforms play at; null renders without normalization. Normalization adds analysis and rendering work."
10096
+ },
10097
+ {
10098
+ "name": "poster",
10099
+ "type": "object",
10100
+ "required": false,
10101
+ "description": "Cover frame, in seconds on the project clock. Omitted, the cover is the first frame with picture that is not inside a fade-in or a transition — a black opening no longer makes the library thumbnail black. A frame inside a transition is skipped, and a timeline that is black throughout keeps its first frame (reported as BLACK_FIRST_FRAME). The frame actually used is reported as poster_at on the export."
10065
10102
  }
10066
10103
  ]
10067
10104
  }
@@ -10144,6 +10181,57 @@ export const operations = [
10144
10181
  ]
10145
10182
  }
10146
10183
  },
10184
+ {
10185
+ "resource": "cut.projects.renders",
10186
+ "method": "create",
10187
+ "summary": "Create draft range render",
10188
+ "description": "Render one interval of the timeline so you can hear or look at how that passage comes out, without publishing anything to a media library. Choose kind audio for the mixed soundtrack as an .m4a file, or kind video for a draft-quality .mp4 with picture and sound. from and to are seconds on the project clock and must satisfy 0 <= from < to, to <= the timeline duration, and to - from <= 120; a longer passage is requested in several 分段请求 ranges and joined by the caller. The result is a temporary file (purpose user_data) that expires 24 hours after it is stored and is never imported into a library, so it is not a deliverable and carries no cut-export tag. HTTP 202 only accepts the job; poll praxis.cut.renders.retrieve using the returned id until status is done or failed, then read url while it lasts. A draft also bills like a draft export, by rendered seconds. Each project runs at most 2 draft renders at a time, a budget separate from its exports; a third answers HTTP 429 CUT_BUSY and the same call succeeds once one finishes.",
10189
+ "http": "POST",
10190
+ "path": "/cut/v1/projects/{project_id}/renders",
10191
+ "streaming": "no",
10192
+ "pagination": false,
10193
+ "pathParams": [
10194
+ {
10195
+ "name": "project_id",
10196
+ "sdkName": "project_id",
10197
+ "description": "Project identifier returned by its create or list operation; use the id, not a display name."
10198
+ }
10199
+ ],
10200
+ "query": [],
10201
+ "body": {
10202
+ "required": true,
10203
+ "fields": [
10204
+ {
10205
+ "name": "kind",
10206
+ "type": "string",
10207
+ "enum": [
10208
+ "audio",
10209
+ "video"
10210
+ ],
10211
+ "required": true,
10212
+ "description": "audio renders the mixed soundtrack alone as an .m4a file for listening; video renders a draft-quality .mp4 with picture and sound for looking at. An audio draft is the cheaper of the two and is what a loudness or mix measurement asks for."
10213
+ },
10214
+ {
10215
+ "name": "from",
10216
+ "type": "number",
10217
+ "required": true,
10218
+ "description": "Start of the interval in seconds on the project clock, inclusive. Must be less than to."
10219
+ },
10220
+ {
10221
+ "name": "to",
10222
+ "type": "number",
10223
+ "required": true,
10224
+ "description": "End of the interval in seconds on the project clock, exclusive. At most 120 seconds after from, and never beyond the timeline duration; a longer passage is requested as several ranges."
10225
+ },
10226
+ {
10227
+ "name": "revision",
10228
+ "type": "integer",
10229
+ "required": false,
10230
+ "description": "Committed project revision from retrieve, state, timeline or execute; increases after each successful write."
10231
+ }
10232
+ ]
10233
+ }
10234
+ },
10147
10235
  {
10148
10236
  "resource": "cut.projects",
10149
10237
  "method": "retrieveState",
@@ -10285,7 +10373,7 @@ export const operations = [
10285
10373
  "resource": "cut.projects",
10286
10374
  "method": "execute",
10287
10375
  "summary": "Execute editing script",
10288
- "description": "Edit the current timeline atomically using synchronous JavaScript source. Read state or timeline first, then pass its revision as expected_revision to detect concurrent changes. Unlike Shotstack, execute applies script edits to a persistent project in one transaction. Provide script or a saved edit_id with literal edits, never both; failures roll back writes. A revision conflict while preparing the response may follow a committed edit: retrieve state before retrying. Minimal script after creating a project: `const t = AddTrack(\"video\"); Insert(t, {type: \"color\", color: \"#123456\", start: 0, length: 3}); Print(t);`\n\n<!-- cut-reference:start -->\n### Script function, field and error reference\n\nEvery script function, clip field and error code has its own section, read one at a time:\n\n```\ncodemode.describe(\"praxis.cut.script.<Name>\") // one function: signature, arguments, return, errors, example\ncodemode.describe(\"praxis.cut.fields.<name>\") // one field: type, unit, range, default, where writable\ncodemode.describe(\"praxis.cut.errors.<CODE>\") // one code: meaning, causes, fix\ncodemode.describe(\"praxis.cut.script\") // names, one page at a time\n```\n\nPublished at https://docs.deepraxis.com/docs/developers/cut/script-reference with one anchor per entry. Names below omit the `praxis.cut.<kind>.` prefix.\n\n#### Script functions (script)\n\n- `GetTimeline` — Duration, tracks, joins; clips are under `items`.\n- `GetItem` — One clip's compact view, by id.\n- `FindItems` — Visit every clip with its track; collect results.\n- `GetMedia` — Media metadata; `durationUs` is microseconds.\n- `GetTranscript` — Transcript words in source microseconds.\n- `GetAnalysis` — Silence, filler or scene segments.\n- `ListTransitions` — Join transition kinds and parameters.\n- `ListEffects` — Visual-effect catalog and parameters.\n- `ListAnimations` — Animation presets by phase and target.\n- `ListFonts` — Font families, weights and scripts.\n- `ListTextStyles` — Text style presets for `style.preset`.\n- `ListTextTemplates` — Multi-layer templates and their slots.\n- `Insert` — Add a clip; a track never overlaps itself.\n- `Append` — Add a clip at the end of a track.\n- `Update` — Change named fields; the rest stay.\n- `SetSpeed` — Change rate, keeping source or duration.\n- `Delete` — Remove a clip. There is no `Remove`.\n- `Join` — Overlap clips; followers shift, track shortens.\n- `UpdateJoin` — Change a join's length or effect.\n- `DeleteJoin` — Remove a join; restore the butt cut.\n- `Split` — Cut a clip in two at a time.\n- `Trim` — Move one clip edge by seconds.\n- `Move` — Set a clip's start or track.\n- `RippleDeleteRange` — Cut a time range and close the gap.\n- `AddTrack` — Add a video, audio or caption track.\n- `UpdateTrack` — Change a track's name, lock, gain or role.\n- `DeleteTrack` — Remove a track and its clips.\n- `SetSettings` — Change canvas, frame rate or background.\n- `AddCaptionsFromTranscript` — Captions from a clip's kept words.\n- `InsertTemplate` — Insert a template and fill its slots.\n- `AlignCaptions` — Rebuild captions from text punctuation.\n- `ImportCaptions` — Import SRT or WebVTT onto captions.\n- `ExportCaptions` — Export captions as SRT or WebVTT.\n- `SetMarker` — Label a timeline position.\n- `Print` — Append values to the result's `prints`.\n- `Preview` — Up to 8 frames as inline PNG data URLs.\n\n#### Fields (fields)\n\n- `type` — Clip kind; decides which fields apply.\n- `start` — Clip start in seconds; snaps to frames.\n- `length` — Duration; optional for video and audio.\n- `media` — Source `{ libraryId, assetId }`.\n- `sourceIn` — First source second kept; default 0.\n- `sourceOut` — Exclusive source end; read-only.\n- `text` — Text of a text or caption clip.\n- `color` — Solid colour of a color clip.\n- `shape` — Shape clip kind: `rect` or `ellipse`.\n- `width` — Shape width, a fraction of canvas width.\n- `height` — Shape height, a fraction of canvas height.\n- `radius` — Rect corner rounding, in 1080-height px.\n- `fill` — Shape or text paint: colour or gradient.\n- `stroke` — Shape outline: colour and width.\n- `transform` — Position, scale, rotation, opacity, crop, blur.\n- `fit` — contain, cover, fill or none.\n- `blend` — Layer blend mode; null clears.\n- `style` — Text styling: font, fill, strokes, glow, position.\n- `style.position` — top, middle or bottom; omit it, never null.\n- `playback` — Rate, direction, audio policy, or freeze.\n- `volumeDb` — Audio level in dB; 0 is source level.\n- `gain` — Keyframed audio level in dB.\n- `fadeIn` — Fade-in seconds at the clip's start.\n- `fadeOut` — Fade-out seconds at the clip's end.\n- `duck` — Lower this clip while another track plays.\n- `animate` — Transform keyframes; `at` is clip-relative seconds.\n- `reveal` — Per-character, word or line reveal timing.\n- `animation` — Preset slots `{ in, out, loop }`; null clears.\n- `effects` — Effect stack, at most 8; null clears.\n- `transitionIn` — Entrance effect: kind plus seconds.\n- `transitionOut` — Exit effect: kind plus seconds.\n- `mask` — Shape, path or track matte.\n- `words` — Caption words with clip-local times.\n\n#### Error codes (errors)\n\n- `JOIN_CONFLICT` — A join is invalid or blocks this edit.\n- `INVALID_TRANSITION` — Bad transition kind, parameter or length.\n- `INVALID_STYLE` — A style value is out of range.\n- `INVALID_MASK` — A mask definition is malformed.\n- `MASK_IN_USE` — The edit would break a live mask.\n- `TOO_MANY_MASKS` — At most 16 masks per project.\n- `RATE_OUT_OF_RANGE` — A rate is outside 0.25-4.\n- `UNSUPPORTED_PLAYBACK` — Reverse without an explicit mute.\n- `INVALID_PLAYBACK` — A playback object is partial or malformed.\n- `UNKNOWN_FONT` — The family is not in `ListFonts()`.\n- `UNKNOWN_FIELD` — The field name is not accepted here.\n- `UNKNOWN_TEXT_STYLE` — `style.preset` is not in the catalog.\n- `TEXT_STYLE_TARGET_MISMATCH` — Preset on the wrong clip type.\n- `CAPTION_ALIGN_LOW_CONFIDENCE` — Alignment confidence too low; nothing changed.\n- `OVERLAP` — Two clips on one track would share time.\n- `OUT_OF_SOURCE` — The clip would read past its source.\n- `LOCKED_TRACK` — The edit targets a locked track.\n- `UNBOUND_LIBRARY` — The library is not bound to the project.\n- `TRACK_KIND_MISMATCH` — The clip type does not fit the track.\n- `NOT_FOUND` — The named id is not in this project.\n- `TOO_SHORT` — The result would be under one frame.\n- `INVALID_DUCK` — Bad `duck` level or a missing track.\n- `UNKNOWN_ANIMATION` — The preset is not in `ListAnimations()`.\n- `INVALID_ANIMATION_PARAM` — Bad slot, parameter or keyframe limit.\n- `ANIMATION_TOO_LONG` — In plus out exceed the clip length.\n- `ANIMATION_TARGET_MISMATCH` — The preset does not match the clip type.\n- `ANIMATION_PHASE_MISMATCH` — The preset is in the wrong slot.\n- `UNKNOWN_EFFECT` — The effect is not in `ListEffects()`.\n- `INVALID_EFFECT_PARAM` — Bad effect parameter or keyframe.\n- `TOO_MANY_EFFECTS` — More than 8 effects on one clip.\n- `PROJECT_NOT_FOUND` — No visible project has this id.\n- `EXPORT_NOT_FOUND` — No such export in this project.\n- `VERSION_NOT_FOUND` — No saved version has this revision.\n- `LIBRARY_NOT_FOUND` — The library is missing or invisible.\n- `BINDING_INVALID` — The binding request is malformed.\n- `BINDING_IN_USE` — Clips still use this library's assets.\n- `NOTHING_TO_UNDO` — No earlier revision to return to.\n- `NOTHING_TO_REDO` — No undone revision is waiting.\n- `UNDO_CONFLICT` — The revision to undo is no longer head.\n- `REVISION_CONFLICT` — The project moved; your revision is stale.\n- `CUT_BUSY` — The project is busy; retry.\n- `INVALID_CAPTION_FILE` — The subtitle file is malformed or too big.\n- `SCRIPT_ERROR` — The script threw or did not parse.\n- `SCRIPT_LIMIT` — An execute budget was exceeded.\n- `OPS_REJECTED` — An op failed; the whole edit rolled back.\n- `EDIT_EXPIRED` — The saved edit id is over ten minutes old.\n- `MEDIA_OFFLINE` — The asset cannot be fetched right now.\n- `MEDIA_UNAVAILABLE` — The asset is not usable for rendering.\n- `MEDIA_IMPORT_FAILED` — Importing media failed.\n- `FRAME_OUT_OF_RANGE` — The preview time is outside the project.\n- `PROJECT_TOO_LARGE` — The project exceeds the size limit.\n- `RESPONSE_TOO_LARGE` — The response would exceed its budget.\n- `EXPORT_FAILED` — The render failed; read `error.cause`.\n- `INVALID_PARAMS` — The request is malformed.\n- `PERMISSION_DENIED` — This credential may not do that here.\n- `NOT_IMPLEMENTED` — Not available on this platform yet.\n- `INTERNAL` — Unexpected failure; retry with the request id.\n<!-- cut-reference:end -->\n",
10376
+ "description": "Edit the current timeline atomically using synchronous JavaScript source. Read state or timeline first, then pass its revision as expected_revision to detect concurrent changes. Unlike Shotstack, execute applies script edits to a persistent project in one transaction. Provide script or a saved edit_id with literal edits, never both; failures roll back writes. A revision conflict while preparing the response may follow a committed edit: retrieve state before retrying. Minimal script after creating a project: `const t = AddTrack(\"video\"); Insert(t, {type: \"color\", color: \"#123456\", start: 0, length: 3}); Print(t);`\n\n<!-- cut-reference:start -->\n### Script function, field and error reference\n\nEvery script function, clip field and error code has its own section, read one at a time:\n\n```\ncodemode.describe(\"praxis.cut.script.<Name>\") // one function: signature, arguments, return, errors, example\ncodemode.describe(\"praxis.cut.fields.<name>\") // one field: type, unit, range, default, where writable\ncodemode.describe(\"praxis.cut.errors.<CODE>\") // one code: meaning, causes, fix\ncodemode.describe(\"praxis.cut.script\") // names, one page at a time\n```\n\nPublished at https://docs.deepraxis.com/docs/developers/cut/script-reference with one anchor per entry. Names below omit the `praxis.cut.<kind>.` prefix.\n\n#### Script functions (script)\n\n- `GetTimeline` — Duration, tracks, joins; clips are under `items`.\n- `GetItem` — One clip's compact view, by id.\n- `FindItems` — Visit every clip with its track; collect results.\n- `GetMedia` — Media metadata; `duration` is seconds.\n- `GetTranscript` — Transcript words in source microseconds.\n- `GetAnalysis` — Silence, filler or scene segments.\n- `ListTransitions` — Join transition kinds and parameters.\n- `ListEffects` — Visual-effect catalog and parameters.\n- `ListAnimations` — Animation presets by phase and target.\n- `ListFonts` — Font families, weights and scripts.\n- `ListTextStyles` — Text style presets for `style.preset`.\n- `ListTextTemplates` — Multi-layer templates and their slots.\n- `Insert` — Add a clip; a track never overlaps itself.\n- `Append` — Add a clip at the end of a track.\n- `Update` — Change named fields; the rest stay.\n- `SetSpeed` — Change rate, keeping source or duration.\n- `Delete` — Remove a clip. There is no `Remove`.\n- `Join` — Overlap clips; followers shift, track shortens.\n- `UpdateJoin` — Change a join's length or effect.\n- `DeleteJoin` — Remove a join; restore the butt cut.\n- `Split` — Cut a clip in two at a time.\n- `Trim` — Move one clip edge by seconds.\n- `Move` — Set a clip's start or track.\n- `RippleDeleteRange` — Cut a time range and close the gap.\n- `AddTrack` — Add a video, audio or caption track.\n- `UpdateTrack` — Change a track's name, lock, gain or role.\n- `DeleteTrack` — Remove a track and its clips.\n- `SetSettings` — Change canvas, frame rate or background.\n- `AddCaptionsFromTranscript` — Captions from a clip's kept words.\n- `InsertTemplate` — Insert a template and fill its slots.\n- `AlignCaptions` — Rebuild captions from text punctuation.\n- `ImportCaptions` — Import SRT or WebVTT onto captions.\n- `ExportCaptions` — Export captions as SRT or WebVTT.\n- `SetMarker` — Label a timeline position.\n- `Print` — Append values to the result's `prints`.\n- `Preview` — Up to 8 frames as inline PNG data URLs.\n\n#### Fields (fields)\n\n- `type` — Clip kind; decides which fields apply.\n- `start` — Clip start in seconds; snaps to frames.\n- `length` — Duration; video and audio may omit it or write \"auto\".\n- `media` — Source `{ libraryId, assetId }`.\n- `sourceIn` — First source second kept; default 0.\n- `sourceOut` — Exclusive source end; read-only.\n- `text` — Text of a text or caption clip.\n- `color` — Solid colour of a color clip.\n- `shape` — Shape clip kind: `rect` or `ellipse`.\n- `width` — Shape width, a fraction of canvas width.\n- `height` — Shape height, a fraction of canvas height.\n- `radius` — Rect corner rounding, in 1080-height px.\n- `fill` — Shape or text paint: colour or gradient.\n- `stroke` — Shape outline: colour and width.\n- `transform` — Position, scale, rotation, opacity, crop, blur.\n- `fit` — contain, cover, fill or none.\n- `blend` — Layer blend mode; null clears.\n- `style` — Text styling: font, fill, strokes, glow, position.\n- `style.position` — top, middle or bottom; omit it, never null.\n- `playback` — Rate, direction, audio policy, or freeze.\n- `volumeDb` — Audio level in dB; 0 is source level.\n- `gain` — Keyframed audio level in dB.\n- `fadeIn` — Fade-in seconds at the clip's start.\n- `fadeOut` — Fade-out seconds at the clip's end.\n- `duck` — Lower this clip while another track plays.\n- `animate` — Transform keyframes; `at` is clip-relative seconds.\n- `reveal` — Per-character, word or line reveal timing.\n- `animation` — Preset slots `{ in, out, loop }`; null clears.\n- `effects` — Effect stack, at most 8; null clears.\n- `transitionIn` — Entrance effect: kind plus seconds.\n- `transitionOut` — Exit effect: kind plus seconds.\n- `mask` — Shape, path or track matte.\n- `words` — Caption words with clip-local times.\n\n#### Error codes (errors)\n\n- `JOIN_CONFLICT` — A join is invalid or blocks this edit.\n- `INVALID_TRANSITION` — Bad transition kind, parameter or length.\n- `INVALID_STYLE` — A style value is out of range.\n- `INVALID_MASK` — A mask definition is malformed.\n- `MASK_IN_USE` — The edit would break a live mask.\n- `TOO_MANY_MASKS` — At most 16 masks per project.\n- `RATE_OUT_OF_RANGE` — A rate is outside 0.25-4.\n- `UNSUPPORTED_PLAYBACK` — Reverse without an explicit mute.\n- `INVALID_PLAYBACK` — A playback object is partial or malformed.\n- `UNKNOWN_FONT` — The family is not in `ListFonts()`.\n- `UNKNOWN_FIELD` — The field name is not accepted here.\n- `UNKNOWN_TEXT_STYLE` — `style.preset` is not in the catalog.\n- `TEXT_STYLE_TARGET_MISMATCH` — Preset on the wrong clip type.\n- `CAPTION_ALIGN_LOW_CONFIDENCE` — Alignment confidence too low; nothing changed.\n- `OVERLAP` — Two clips on one track would share time.\n- `OUT_OF_SOURCE` — The clip would read past its source.\n- `LOCKED_TRACK` — The edit targets a locked track.\n- `UNBOUND_LIBRARY` — The library is not bound to the project.\n- `TRACK_KIND_MISMATCH` — The clip type does not fit the track.\n- `NOT_FOUND` — The named id is not in this project.\n- `TOO_SHORT` — The result would be under one frame.\n- `INVALID_DUCK` — Bad `duck` level or a missing track.\n- `UNKNOWN_ANIMATION` — The preset is not in `ListAnimations()`.\n- `INVALID_ANIMATION_PARAM` — Bad slot, parameter or keyframe limit.\n- `ANIMATION_TOO_LONG` — In plus out exceed the clip length.\n- `ANIMATION_TARGET_MISMATCH` — The preset does not match the clip type.\n- `ANIMATION_PHASE_MISMATCH` — The preset is in the wrong slot.\n- `UNKNOWN_EFFECT` — The effect is not in `ListEffects()`.\n- `INVALID_EFFECT_PARAM` — Bad effect parameter or keyframe.\n- `TOO_MANY_EFFECTS` — More than 8 effects on one clip.\n- `PROJECT_NOT_FOUND` — No visible project has this id.\n- `EXPORT_NOT_FOUND` — No such export in this project.\n- `DRAFT_RENDER_NOT_FOUND` — No such draft render.\n- `VERSION_NOT_FOUND` — No saved version has this revision.\n- `LIBRARY_NOT_FOUND` — The library is missing or invisible.\n- `BINDING_INVALID` — The binding request is malformed.\n- `BINDING_IN_USE` — Clips still use this library's assets.\n- `NOTHING_TO_UNDO` — No earlier revision to return to.\n- `NOTHING_TO_REDO` — No undone revision is waiting.\n- `UNDO_CONFLICT` — The revision to undo is no longer head.\n- `REVISION_CONFLICT` — The project moved; your revision is stale.\n- `CUT_BUSY` — The project is busy; retry.\n- `INVALID_CAPTION_FILE` — The subtitle file is malformed or too big.\n- `SCRIPT_ERROR` — The script threw or did not parse.\n- `SCRIPT_LIMIT` — An execute budget was exceeded.\n- `OPS_REJECTED` — An op failed; the whole edit rolled back.\n- `EDIT_EXPIRED` — The saved edit id is over ten minutes old.\n- `MEDIA_OFFLINE` — The asset cannot be fetched right now.\n- `MEDIA_UNAVAILABLE` — The asset is not usable for rendering.\n- `MEDIA_IMPORT_FAILED` — Importing media failed.\n- `FRAME_OUT_OF_RANGE` — The preview time is outside the project.\n- `PROJECT_TOO_LARGE` — The project exceeds the size limit.\n- `RESPONSE_TOO_LARGE` — The response would exceed its budget.\n- `EXPORT_FAILED` — The render failed; read `error.cause`.\n- `INVALID_PARAMS` — The request is malformed.\n- `PERMISSION_DENIED` — This credential may not do that here.\n- `NOT_IMPLEMENTED` — Not available on this platform yet.\n- `INTERNAL` — Unexpected failure; retry with the request id.\n<!-- cut-reference:end -->\n",
10289
10377
  "http": "POST",
10290
10378
  "path": "/cut/v1/projects/{project_id}:execute",
10291
10379
  "streaming": "no",
@@ -10347,6 +10435,24 @@ export const operations = [
10347
10435
  ],
10348
10436
  "query": []
10349
10437
  },
10438
+ {
10439
+ "resource": "cut.renders",
10440
+ "method": "retrieve",
10441
+ "summary": "Retrieve draft range render",
10442
+ "description": "Poll a draft render id returned by projects.renders.create to see whether the interval is ready, then read url while it lasts. queued and rendering are in progress; done provides file_id and a short-lived url for the rendered .m4a or .mp4; failed provides error. Only done yields a url, and the file behind it disappears 24 hours after it was stored, so retrieve again when the link has expired.",
10443
+ "http": "GET",
10444
+ "path": "/cut/v1/renders/{render_id}",
10445
+ "streaming": "no",
10446
+ "pagination": false,
10447
+ "pathParams": [
10448
+ {
10449
+ "name": "render_id",
10450
+ "sdkName": "render_id",
10451
+ "description": "Draft render id (cutr_…) returned by projects.renders.create."
10452
+ }
10453
+ ],
10454
+ "query": []
10455
+ },
10350
10456
  {
10351
10457
  "resource": "cut.versions",
10352
10458
  "method": "restore",
@@ -11317,6 +11423,696 @@ export const operations = [
11317
11423
  ]
11318
11424
  }
11319
11425
  },
11426
+ {
11427
+ "resource": "devops.projects.testCases",
11428
+ "method": "list",
11429
+ "summary": "List test cases",
11430
+ "description": "List a project's cases with their health, state and recent statistics, so you can decide which ones a plan must run and which are quarantined. This is the read a test dashboard is built on; filter it to narrow by state or health instead of paging through everything. A case's id is a fingerprint of its own title and path, so it survives a rename — read aliases when reconciling history recorded under an older title.",
11431
+ "http": "GET",
11432
+ "path": "/devops/v1/projects/{project}/test-cases",
11433
+ "streaming": "no",
11434
+ "pagination": false,
11435
+ "pathParams": [
11436
+ {
11437
+ "name": "project",
11438
+ "sdkName": "project",
11439
+ "description": "Identifies the project whose data you are reading, from the project list or create answer."
11440
+ }
11441
+ ],
11442
+ "query": [
11443
+ {
11444
+ "name": "pageSize",
11445
+ "type": "integer",
11446
+ "required": false,
11447
+ "description": "How many items this page returns, 1 to 100; omitted uses 50. A larger value is capped at 100 rather than refused, and 0 falls back to the default, so a paging loop never fails on a size alone."
11448
+ },
11449
+ {
11450
+ "name": "pageToken",
11451
+ "type": "string",
11452
+ "required": false,
11453
+ "description": "The cursor from the previous page's nextPageToken. Treat it as opaque and never build one yourself; omit it for the first page."
11454
+ },
11455
+ {
11456
+ "name": "filter",
11457
+ "type": "string",
11458
+ "required": false,
11459
+ "description": "AIP-160 equality filter over one declared field at a time, for example state=quarantined or health=broken. Fields a case list does not declare are refused with INVALID_ARGUMENT rather than ignored, so a typo never silently widens the result."
11460
+ },
11461
+ {
11462
+ "name": "orderBy",
11463
+ "type": "string",
11464
+ "required": false,
11465
+ "description": "Comma-separated fields to order by, each optionally suffixed with desc, for example createTime desc. Only the fields the resource declares are accepted; anything else is refused so an ordering typo cannot silently return a different order. Omitted uses the resource's own order."
11466
+ }
11467
+ ]
11468
+ },
11469
+ {
11470
+ "resource": "devops.projects",
11471
+ "method": "retrieveTestCatalog",
11472
+ "summary": "Read a commit's test catalog",
11473
+ "description": "Read the catalog version discovered at one commit — how many suites and cases it holds, which frameworks they come from, and how the commit changed them. Call this first: it tells you which suites, cases and sizes exist before you list them or select them into a plan, and the reported diff explains why a case count moved. A commit whose discovery has not finished answers CATALOG_NOT_READY, which means \"not yet\", not \"no tests\"; wait and read again. Omit commit to read the newest catalog published for the project.",
11474
+ "http": "GET",
11475
+ "path": "/devops/v1/projects/{project}/test-catalog",
11476
+ "streaming": "no",
11477
+ "pagination": false,
11478
+ "pathParams": [
11479
+ {
11480
+ "name": "project",
11481
+ "sdkName": "project",
11482
+ "description": "Identifies the project whose data you are reading, from the project list or create answer."
11483
+ }
11484
+ ],
11485
+ "query": [
11486
+ {
11487
+ "name": "commit",
11488
+ "type": "string",
11489
+ "required": false,
11490
+ "description": "Full 40-character commit sha whose catalog you want, from a project branch or commit read. Omit it to read the newest catalog published for the project."
11491
+ }
11492
+ ]
11493
+ },
11494
+ {
11495
+ "resource": "devops.projects.testPlans",
11496
+ "method": "list",
11497
+ "summary": "List test plans",
11498
+ "description": "List the project's plans — what each one selects, which stage and gate it belongs to, and when it runs next. Read this before creating a plan, so a new plan extends what exists instead of duplicating a selector an existing plan already covers.",
11499
+ "http": "GET",
11500
+ "path": "/devops/v1/projects/{project}/test-plans",
11501
+ "streaming": "no",
11502
+ "pagination": false,
11503
+ "pathParams": [
11504
+ {
11505
+ "name": "project",
11506
+ "sdkName": "project",
11507
+ "description": "Identifies the project whose data you are reading, from the project list or create answer."
11508
+ }
11509
+ ],
11510
+ "query": [
11511
+ {
11512
+ "name": "pageSize",
11513
+ "type": "integer",
11514
+ "required": false,
11515
+ "description": "How many items this page returns, 1 to 100; omitted uses 50. A larger value is capped at 100 rather than refused, and 0 falls back to the default, so a paging loop never fails on a size alone."
11516
+ },
11517
+ {
11518
+ "name": "pageToken",
11519
+ "type": "string",
11520
+ "required": false,
11521
+ "description": "The cursor from the previous page's nextPageToken. Treat it as opaque and never build one yourself; omit it for the first page."
11522
+ },
11523
+ {
11524
+ "name": "orderBy",
11525
+ "type": "string",
11526
+ "required": false,
11527
+ "description": "Comma-separated fields to order by, each optionally suffixed with desc, for example createTime desc. Only the fields the resource declares are accepted; anything else is refused so an ordering typo cannot silently return a different order. Omitted uses the resource's own order."
11528
+ }
11529
+ ]
11530
+ },
11531
+ {
11532
+ "resource": "devops.projects.testPlans",
11533
+ "method": "create",
11534
+ "summary": "Create a test plan",
11535
+ "description": "Create a plan that decides which cases a stage must run. The plan's key is unique inside the project and is what a later run names; the selector chooses cases by size, purpose, tag, package or explicit ids, and the trigger says when the plan fires by itself. A merge or promotion gate must name the environment it guards, and a plan with a gate but no environment is refused with PLAN_GATE_ENVIRONMENT_MISMATCH rather than created and silently ignored. A plan has no revision history: update it with a patch.",
11536
+ "http": "POST",
11537
+ "path": "/devops/v1/projects/{project}/test-plans",
11538
+ "streaming": "no",
11539
+ "pagination": false,
11540
+ "pathParams": [
11541
+ {
11542
+ "name": "project",
11543
+ "sdkName": "project",
11544
+ "description": "Identifies the project whose data you are reading, from the project list or create answer."
11545
+ }
11546
+ ],
11547
+ "query": [],
11548
+ "body": {
11549
+ "required": true,
11550
+ "fields": [
11551
+ {
11552
+ "name": "key",
11553
+ "type": "string",
11554
+ "required": true,
11555
+ "description": "Short name for the plan, unique inside the project; a key already in use is refused rather than silently reused."
11556
+ },
11557
+ {
11558
+ "name": "title",
11559
+ "type": "string",
11560
+ "required": true,
11561
+ "description": "Display title of the plan, shown wherever the plan is listed."
11562
+ },
11563
+ {
11564
+ "name": "stage",
11565
+ "type": "string",
11566
+ "enum": [
11567
+ "dev",
11568
+ "presubmit",
11569
+ "postsubmit",
11570
+ "nightly",
11571
+ "production"
11572
+ ],
11573
+ "required": true,
11574
+ "description": "Which stage of delivery this plan belongs to, which decides when it is expected to run."
11575
+ },
11576
+ {
11577
+ "name": "trigger",
11578
+ "type": "object",
11579
+ "required": true,
11580
+ "description": "What starts a run of this plan. Exactly one kind applies; the fields a kind needs are the ones it carries."
11581
+ },
11582
+ {
11583
+ "name": "selector",
11584
+ "type": "object",
11585
+ "required": true,
11586
+ "description": "Which cases a plan or run selects. Every member is optional and they combine as an intersection, so a selector with no member selects every case in the catalog."
11587
+ },
11588
+ {
11589
+ "name": "environment",
11590
+ "type": "string",
11591
+ "required": false,
11592
+ "description": "The environment this plan runs against; required by a merge or promotion gate, and refused with PLAN_GATE_ENVIRONMENT_MISMATCH when it disagrees with the gate."
11593
+ },
11594
+ {
11595
+ "name": "gate",
11596
+ "type": "string",
11597
+ "enum": [
11598
+ "merge",
11599
+ "promotion",
11600
+ "observation",
11601
+ "none"
11602
+ ],
11603
+ "required": true,
11604
+ "description": "Whether this plan's result blocks a stage; a merge or promotion gate must name its environment."
11605
+ },
11606
+ {
11607
+ "name": "repeat",
11608
+ "type": "integer",
11609
+ "required": false,
11610
+ "description": "How many times each selected case runs in one run; omit for once. More than one is how a flake is told apart from a real failure."
11611
+ },
11612
+ {
11613
+ "name": "timeoutMinutes",
11614
+ "type": "integer",
11615
+ "required": false,
11616
+ "description": "How many minutes a run of this plan may take before it is timed out; omit for the service's default."
11617
+ }
11618
+ ]
11619
+ }
11620
+ },
11621
+ {
11622
+ "resource": "devops.projects.testReports",
11623
+ "method": "create",
11624
+ "summary": "Upload an external test report",
11625
+ "description": "Record the results of a run executed outside Praxis by uploading a CTRF or JUnit report. Nothing has to exist first: a first upload from CI creates the run it reports on (executor external) and catalogues the cases the report names, so there is no setup call before the first result. When the report already belongs to a run, pass ref and the upload joins it; the run's counts and verdict are recomputed from the report. Uploading the same reportId again is idempotent and counts once, so a retry after a timeout is safe — and a reported case is catalogued once, however many reports carry it. The report's bytes are kept as a file (the file field of the answer) rather than in the results database, so the original document stays retrievable.",
11626
+ "http": "POST",
11627
+ "path": "/devops/v1/projects/{project}/test-reports",
11628
+ "streaming": "no",
11629
+ "pagination": false,
11630
+ "pathParams": [
11631
+ {
11632
+ "name": "project",
11633
+ "sdkName": "project",
11634
+ "description": "Identifies the project whose data you are reading, from the project list or create answer."
11635
+ }
11636
+ ],
11637
+ "query": [],
11638
+ "body": {
11639
+ "required": true,
11640
+ "fields": [
11641
+ {
11642
+ "name": "reportId",
11643
+ "type": "string",
11644
+ "required": true,
11645
+ "description": "Your own identifier for this report. Uploading the same id again is idempotent and counts once, so a retry after a timeout is safe."
11646
+ },
11647
+ {
11648
+ "name": "format",
11649
+ "type": "string",
11650
+ "enum": [
11651
+ "ctrf",
11652
+ "junit"
11653
+ ],
11654
+ "required": true,
11655
+ "description": "Which report format the document is in; it decides how the document is parsed."
11656
+ },
11657
+ {
11658
+ "name": "ref",
11659
+ "type": "object",
11660
+ "required": true,
11661
+ "description": "The exact revision a run tested. A commit is always named, because a run without one has nothing to report against."
11662
+ },
11663
+ {
11664
+ "name": "report",
11665
+ "type": "string",
11666
+ "required": true,
11667
+ "description": "The report document itself, as text — JSON for ctrf, XML for junit. Send the file's contents unchanged; a malformed document is refused with REPORT_INVALID and records nothing."
11668
+ }
11669
+ ]
11670
+ }
11671
+ },
11672
+ {
11673
+ "resource": "devops.projects.testRuns",
11674
+ "method": "list",
11675
+ "summary": "List test runs",
11676
+ "description": "List the project's runs newest first, with each run's state, result and counts. Use it to find the run id whose executions you want to read, or to see whether a commit's tests have finished. A run whose result is pending has not reached a verdict yet — read it again rather than treating it as passed. Filter by state or result to watch only the runs still in flight.",
11677
+ "http": "GET",
11678
+ "path": "/devops/v1/projects/{project}/test-runs",
11679
+ "streaming": "no",
11680
+ "pagination": false,
11681
+ "pathParams": [
11682
+ {
11683
+ "name": "project",
11684
+ "sdkName": "project",
11685
+ "description": "Identifies the project whose data you are reading, from the project list or create answer."
11686
+ }
11687
+ ],
11688
+ "query": [
11689
+ {
11690
+ "name": "pageSize",
11691
+ "type": "integer",
11692
+ "required": false,
11693
+ "description": "How many items this page returns, 1 to 100; omitted uses 50. A larger value is capped at 100 rather than refused, and 0 falls back to the default, so a paging loop never fails on a size alone."
11694
+ },
11695
+ {
11696
+ "name": "pageToken",
11697
+ "type": "string",
11698
+ "required": false,
11699
+ "description": "The cursor from the previous page's nextPageToken. Treat it as opaque and never build one yourself; omit it for the first page."
11700
+ },
11701
+ {
11702
+ "name": "filter",
11703
+ "type": "string",
11704
+ "required": false,
11705
+ "description": "AIP-160 equality filter over one declared field, for example state=running or result=failed. An undeclared field is refused with INVALID_ARGUMENT; it is never ignored, so a mistyped filter cannot quietly return everything."
11706
+ },
11707
+ {
11708
+ "name": "orderBy",
11709
+ "type": "string",
11710
+ "required": false,
11711
+ "description": "Comma-separated fields to order by, each optionally suffixed with desc, for example createTime desc. Only the fields the resource declares are accepted; anything else is refused so an ordering typo cannot silently return a different order. Omitted uses the resource's own order."
11712
+ }
11713
+ ]
11714
+ },
11715
+ {
11716
+ "resource": "devops.projects.testRuns",
11717
+ "method": "create",
11718
+ "summary": "Create a test run",
11719
+ "description": "Start a run of the project's tests at one commit. Name a plan to use its selector, or pass a selector directly for this run alone; the ref says which commit to test and is required, because a run without a commit has nothing to report against. waitUntil decides how far the call waits before answering — queued, the default, returns as soon as the run exists; started waits until the run has begun, except for an external run, which is answered at once because it leaves queued only when your own CI uploads; finished waits for a verdict. The wait is bounded at about 25 seconds, and a wait that reaches that bound returns the run as it stands rather than failing — read state to see whether it finished. A retry of an earlier run is a new run: pass its commit and selector, and read the earlier run to compare.",
11720
+ "http": "POST",
11721
+ "path": "/devops/v1/projects/{project}/test-runs",
11722
+ "streaming": "no",
11723
+ "pagination": false,
11724
+ "pathParams": [
11725
+ {
11726
+ "name": "project",
11727
+ "sdkName": "project",
11728
+ "description": "Identifies the project whose data you are reading, from the project list or create answer."
11729
+ }
11730
+ ],
11731
+ "query": [],
11732
+ "body": {
11733
+ "required": true,
11734
+ "fields": [
11735
+ {
11736
+ "name": "ref",
11737
+ "type": "object",
11738
+ "required": true,
11739
+ "description": "The exact revision a run tested. A commit is always named, because a run without one has nothing to report against."
11740
+ },
11741
+ {
11742
+ "name": "plan",
11743
+ "type": "string",
11744
+ "required": false,
11745
+ "description": "Plan whose selector this run uses; omit it when passing selector instead. Naming a plan records the run against that plan, which is what a gate reads."
11746
+ },
11747
+ {
11748
+ "name": "selector",
11749
+ "type": "object",
11750
+ "required": false,
11751
+ "description": "An ad-hoc selector for this run alone, used instead of a plan's; it is not saved as a plan, so a run you want to repeat should name a plan."
11752
+ },
11753
+ {
11754
+ "name": "environment",
11755
+ "type": "string",
11756
+ "required": false,
11757
+ "description": "Environment to run against; it decides whether production-only cases become selectable. Omit it for a run that needs no environment."
11758
+ },
11759
+ {
11760
+ "name": "repeat",
11761
+ "type": "integer",
11762
+ "required": false,
11763
+ "description": "How many times each selected case runs, which is how a flake is told apart from a real failure; omit for once."
11764
+ },
11765
+ {
11766
+ "name": "waitUntil",
11767
+ "type": "string",
11768
+ "enum": [
11769
+ "queued",
11770
+ "started",
11771
+ "finished"
11772
+ ],
11773
+ "required": false,
11774
+ "description": "How far the call waits before answering, bounded at about 25 seconds; omit it for queued, which returns at once. The wait reads the run's own state, so a wait that reaches the bound returns the run as it stands instead of failing — check state before assuming the request was honoured."
11775
+ },
11776
+ {
11777
+ "name": "executor",
11778
+ "type": "string",
11779
+ "enum": [
11780
+ "cloud",
11781
+ "external"
11782
+ ],
11783
+ "required": false,
11784
+ "description": "Who carries the run out. cloud, the default, runs the selected cases in Praxis at the commit; external creates a run that waits for your own CI to upload a report with test-reports."
11785
+ },
11786
+ {
11787
+ "name": "requestId",
11788
+ "type": "string",
11789
+ "required": false,
11790
+ "description": "A key you choose to make creating this run idempotent: repeating the call with the same requestId returns the run it created instead of starting another, so a retry after a timeout is safe."
11791
+ }
11792
+ ]
11793
+ }
11794
+ },
11795
+ {
11796
+ "resource": "devops.projects.testSuites",
11797
+ "method": "list",
11798
+ "summary": "List test suites",
11799
+ "description": "List the suites the project's newest catalog discovered — one suite per test file and framework pair, with its size, purposes and question count. Use it to find the suite id a case belongs to, or to see which files make up an area before selecting cases from them. Suites come from the catalog, so a file added in code appears only after its commit's catalog is published. Archived suites are returned too; they carry archived true and no case is ever silently dropped from the list.",
11800
+ "http": "GET",
11801
+ "path": "/devops/v1/projects/{project}/test-suites",
11802
+ "streaming": "no",
11803
+ "pagination": false,
11804
+ "pathParams": [
11805
+ {
11806
+ "name": "project",
11807
+ "sdkName": "project",
11808
+ "description": "Identifies the project whose data you are reading, from the project list or create answer."
11809
+ }
11810
+ ],
11811
+ "query": [
11812
+ {
11813
+ "name": "pageSize",
11814
+ "type": "integer",
11815
+ "required": false,
11816
+ "description": "How many items this page returns, 1 to 100; omitted uses 50. A larger value is capped at 100 rather than refused, and 0 falls back to the default, so a paging loop never fails on a size alone."
11817
+ },
11818
+ {
11819
+ "name": "pageToken",
11820
+ "type": "string",
11821
+ "required": false,
11822
+ "description": "The cursor from the previous page's nextPageToken. Treat it as opaque and never build one yourself; omit it for the first page."
11823
+ },
11824
+ {
11825
+ "name": "orderBy",
11826
+ "type": "string",
11827
+ "required": false,
11828
+ "description": "Comma-separated fields to order by, each optionally suffixed with desc, for example createTime desc. Only the fields the resource declares are accepted; anything else is refused so an ordering typo cannot silently return a different order. Omitted uses the resource's own order."
11829
+ }
11830
+ ]
11831
+ },
11832
+ {
11833
+ "resource": "devops.testCases",
11834
+ "method": "retrieve",
11835
+ "summary": "Retrieve a test case",
11836
+ "description": "Read one case in full — its steps, tags, declared owners, current state with the policy and ticket behind it, and its rolling 7 or 30 day statistics. Use it before quarantining or fixing a case, to see what the state already is and why. A case that was renamed is reachable by both its current fingerprint id and the ids listed in aliases.",
11837
+ "http": "GET",
11838
+ "path": "/devops/v1/test-cases/{id}",
11839
+ "streaming": "no",
11840
+ "pagination": false,
11841
+ "pathParams": [
11842
+ {
11843
+ "name": "id",
11844
+ "sdkName": "id",
11845
+ "description": "The case identifier returned by a case list, or an older id listed in that case's aliases."
11846
+ }
11847
+ ],
11848
+ "query": []
11849
+ },
11850
+ {
11851
+ "resource": "devops.testPlans",
11852
+ "method": "delete",
11853
+ "summary": "Delete a test plan",
11854
+ "description": "Delete a plan so it schedules nothing further. The plan stops firing immediately; runs it already produced keep their own record and are not deleted with it. To stop a plan temporarily and keep it for later, pause it instead — deleting cannot be undone and the plan's key becomes free for another plan to take.",
11855
+ "http": "DELETE",
11856
+ "path": "/devops/v1/test-plans/{id}",
11857
+ "streaming": "no",
11858
+ "pagination": false,
11859
+ "pathParams": [
11860
+ {
11861
+ "name": "id",
11862
+ "sdkName": "id",
11863
+ "description": "The plan identifier returned by a plan list or create answer."
11864
+ }
11865
+ ],
11866
+ "query": []
11867
+ },
11868
+ {
11869
+ "resource": "devops.testPlans",
11870
+ "method": "retrieve",
11871
+ "summary": "Retrieve a test plan",
11872
+ "description": "Read one plan by the id a plan list returned, to see its selector, gate, repeat count, timeout and pause state before updating or deleting it. A paused plan carries the reason, the actor and the time it resumes, so a pause you did not set is explained here rather than guessed at.",
11873
+ "http": "GET",
11874
+ "path": "/devops/v1/test-plans/{id}",
11875
+ "streaming": "no",
11876
+ "pagination": false,
11877
+ "pathParams": [
11878
+ {
11879
+ "name": "id",
11880
+ "sdkName": "id",
11881
+ "description": "The plan identifier returned by a plan list or create answer."
11882
+ }
11883
+ ],
11884
+ "query": []
11885
+ },
11886
+ {
11887
+ "resource": "devops.testPlans",
11888
+ "method": "update",
11889
+ "summary": "Update a test plan",
11890
+ "description": "Change a plan's title, trigger, selector, gate, repeat count, timeout or enabled flag. Only the fields present in the body are changed, so a body naming one field leaves the rest exactly as they were. Changing a selector does not create a version — the plan is not a published artefact, and runs already started keep the selection they were created with. Read the plan first to know what you are leaving unchanged.",
11891
+ "http": "PATCH",
11892
+ "path": "/devops/v1/test-plans/{id}",
11893
+ "streaming": "no",
11894
+ "pagination": false,
11895
+ "pathParams": [
11896
+ {
11897
+ "name": "id",
11898
+ "sdkName": "id",
11899
+ "description": "The plan identifier returned by a plan list or create answer."
11900
+ }
11901
+ ],
11902
+ "query": [],
11903
+ "body": {
11904
+ "required": true,
11905
+ "fields": [
11906
+ {
11907
+ "name": "plan",
11908
+ "type": "object",
11909
+ "required": true,
11910
+ "description": "The fields to change. Anything absent keeps its current value, so read the plan first if you need to know what you are leaving alone."
11911
+ },
11912
+ {
11913
+ "name": "updateMask",
11914
+ "type": "string",
11915
+ "required": false,
11916
+ "description": "Comma-separated names of the plan fields this patch intends to change, for example title,enabled. Omit it to apply every field present in plan; naming fields makes the intent explicit and keeps a concurrent edit from being overwritten by accident."
11917
+ }
11918
+ ]
11919
+ }
11920
+ },
11921
+ {
11922
+ "resource": "devops.testPlans",
11923
+ "method": "pause",
11924
+ "summary": "Pause a test plan",
11925
+ "description": "Stop a plan from starting new runs while keeping it and its history. A reason is required and is recorded on the plan, so the next reader learns why it stopped. Give until to resume automatically at a time; omit it to stay paused until someone resumes it. Runs already in flight are not cancelled — cancel those individually.",
11926
+ "http": "POST",
11927
+ "path": "/devops/v1/test-plans/{id}:pause",
11928
+ "streaming": "no",
11929
+ "pagination": false,
11930
+ "pathParams": [
11931
+ {
11932
+ "name": "id",
11933
+ "sdkName": "id",
11934
+ "description": "The plan identifier returned by a plan list or create answer."
11935
+ }
11936
+ ],
11937
+ "query": [],
11938
+ "body": {
11939
+ "required": true,
11940
+ "fields": [
11941
+ {
11942
+ "name": "reason",
11943
+ "type": "string",
11944
+ "required": true,
11945
+ "description": "Why the plan is being paused; it is stored on the plan and read by whoever finds it stopped."
11946
+ },
11947
+ {
11948
+ "name": "until",
11949
+ "type": "string",
11950
+ "required": false,
11951
+ "description": "RFC 3339 UTC time the plan resumes by itself; omit it to stay paused until someone resumes it."
11952
+ }
11953
+ ]
11954
+ }
11955
+ },
11956
+ {
11957
+ "resource": "devops.testPlans",
11958
+ "method": "resume",
11959
+ "summary": "Resume a test plan",
11960
+ "description": "Clear a plan's pause so it schedules runs again. Resuming an active plan changes nothing and is safe to repeat. The plan keeps its selector, gate and key; only the pause is removed.",
11961
+ "http": "POST",
11962
+ "path": "/devops/v1/test-plans/{id}:resume",
11963
+ "streaming": "no",
11964
+ "pagination": false,
11965
+ "pathParams": [
11966
+ {
11967
+ "name": "id",
11968
+ "sdkName": "id",
11969
+ "description": "The plan identifier returned by a plan list or create answer."
11970
+ }
11971
+ ],
11972
+ "query": []
11973
+ },
11974
+ {
11975
+ "resource": "devops.testRuns",
11976
+ "method": "retrieve",
11977
+ "summary": "Retrieve a test run",
11978
+ "description": "Read one run's current state, result and counts, and ask for its failed executions inline with expand. Poll this after creating a run whose result was pending. A result is monotonic once it reaches a verdict — a failed run never becomes passed by a later report, so read the run rather than the last report to know where it ended.",
11979
+ "http": "GET",
11980
+ "path": "/devops/v1/test-runs/{id}",
11981
+ "streaming": "no",
11982
+ "pagination": false,
11983
+ "pathParams": [
11984
+ {
11985
+ "name": "id",
11986
+ "sdkName": "id",
11987
+ "description": "The run identifier returned by a run list or create answer."
11988
+ }
11989
+ ],
11990
+ "query": [
11991
+ {
11992
+ "name": "expand",
11993
+ "type": "array",
11994
+ "itemType": "string",
11995
+ "enum": [
11996
+ "failedExecutions"
11997
+ ],
11998
+ "required": false,
11999
+ "description": "Repeatable field to expand inline. failedExecutions returns the non-passed executions with the run, which saves a second call when you only need to see what broke; omit it for the bare run."
12000
+ }
12001
+ ]
12002
+ },
12003
+ {
12004
+ "resource": "devops.testRuns",
12005
+ "method": "cancel",
12006
+ "summary": "Cancel a test run",
12007
+ "description": "Stop a run that is still going. A reason is required and is recorded on the run, because a cancelled run is read later as evidence about why a commit was not verified. Cancelling a run that already reached a verdict is refused with RUN_ALREADY_FINISHED: its result is final and cancelling it would erase the verdict. Executions already recorded stay readable.",
12008
+ "http": "POST",
12009
+ "path": "/devops/v1/test-runs/{id}:cancel",
12010
+ "streaming": "no",
12011
+ "pagination": false,
12012
+ "pathParams": [
12013
+ {
12014
+ "name": "id",
12015
+ "sdkName": "id",
12016
+ "description": "The run identifier returned by a run list or create answer."
12017
+ }
12018
+ ],
12019
+ "query": [],
12020
+ "body": {
12021
+ "required": true,
12022
+ "fields": [
12023
+ {
12024
+ "name": "reason",
12025
+ "type": "string",
12026
+ "required": true,
12027
+ "description": "Why the run is being cancelled; it is stored on the run and is what a later reader finds instead of a result."
12028
+ }
12029
+ ]
12030
+ }
12031
+ },
12032
+ {
12033
+ "resource": "devops.testRuns.executions",
12034
+ "method": "list",
12035
+ "summary": "List a run's executions",
12036
+ "description": "List the executions recorded against one run — one entry per case the run selected, with its status, duration, attempts and evidence. Use it to find the case that failed, or to compare a repeat run against the previous one case by case. Reads happen while the run is still going, so a case may still be pending; filter by status to watch only the failures.",
12037
+ "http": "GET",
12038
+ "path": "/devops/v1/test-runs/{run}/executions",
12039
+ "streaming": "no",
12040
+ "pagination": false,
12041
+ "pathParams": [
12042
+ {
12043
+ "name": "run",
12044
+ "sdkName": "run",
12045
+ "description": "The run whose executions you are reading, from a run list or create answer."
12046
+ }
12047
+ ],
12048
+ "query": [
12049
+ {
12050
+ "name": "pageSize",
12051
+ "type": "integer",
12052
+ "required": false,
12053
+ "description": "How many items this page returns, 1 to 100; omitted uses 50. A larger value is capped at 100 rather than refused, and 0 falls back to the default, so a paging loop never fails on a size alone."
12054
+ },
12055
+ {
12056
+ "name": "pageToken",
12057
+ "type": "string",
12058
+ "required": false,
12059
+ "description": "The cursor from the previous page's nextPageToken. Treat it as opaque and never build one yourself; omit it for the first page."
12060
+ },
12061
+ {
12062
+ "name": "filter",
12063
+ "type": "string",
12064
+ "required": false,
12065
+ "description": "AIP-160 equality filter over one declared field, for example result=failed to read only a run's failures. Fields an execution list does not declare are refused with INVALID_ARGUMENT rather than ignored."
12066
+ },
12067
+ {
12068
+ "name": "orderBy",
12069
+ "type": "string",
12070
+ "required": false,
12071
+ "description": "Comma-separated fields to order by, each optionally suffixed with desc, for example createTime desc. Only the fields the resource declares are accepted; anything else is refused so an ordering typo cannot silently return a different order. Omitted uses the resource's own order."
12072
+ }
12073
+ ]
12074
+ },
12075
+ {
12076
+ "resource": "devops.testRuns.executions",
12077
+ "method": "retrieve",
12078
+ "summary": "Retrieve one case's execution in a run",
12079
+ "description": "Read one case's execution inside one run, including every attempt with its own duration and message. Use it after a run reports a failure to see whether the case failed once and passed on retry — that is what flaky true means — and to reach the evidence files a triage needs. Both ids come from the run and case reads; an execution that does not exist for that pair is NOT_FOUND rather than an empty answer.",
12080
+ "http": "GET",
12081
+ "path": "/devops/v1/test-runs/{run}/executions/{case}",
12082
+ "streaming": "no",
12083
+ "pagination": false,
12084
+ "pathParams": [
12085
+ {
12086
+ "name": "run",
12087
+ "sdkName": "run",
12088
+ "description": "The run whose executions you are reading, from a run list or create answer."
12089
+ },
12090
+ {
12091
+ "name": "case",
12092
+ "sdkName": "case",
12093
+ "description": "The case to read inside that run, from the run's execution list or the project's case list."
12094
+ }
12095
+ ],
12096
+ "query": []
12097
+ },
12098
+ {
12099
+ "resource": "devops.testSuites",
12100
+ "method": "retrieve",
12101
+ "summary": "Retrieve a test suite",
12102
+ "description": "Read one suite by the id a suite list returned, to learn its file, framework, size, purposes and how many cases it holds. Use it when a case's suite id needs a name for display, or to confirm which commit's catalog a suite came from. The id is opaque; it comes from the list, never from the file path.",
12103
+ "http": "GET",
12104
+ "path": "/devops/v1/test-suites/{id}",
12105
+ "streaming": "no",
12106
+ "pagination": false,
12107
+ "pathParams": [
12108
+ {
12109
+ "name": "id",
12110
+ "sdkName": "id",
12111
+ "description": "The suite identifier returned by a suite list, not the file path it was discovered from."
12112
+ }
12113
+ ],
12114
+ "query": []
12115
+ },
11320
12116
  {
11321
12117
  "resource": "file.files",
11322
12118
  "method": "list",
@@ -13232,10 +14028,13 @@ export const operations = [
13232
14028
  "frame",
13233
14029
  "overview",
13234
14030
  "audio",
14031
+ "loudness",
14032
+ "beats",
14033
+ "content",
13235
14034
  "embedding"
13236
14035
  ],
13237
14036
  "required": false,
13238
- "description": "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."
14037
+ "description": "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, loudness is measured loudness, beats is the measured tempo and beat grid, content is the derived speech, music and silence split, and embedding reports a failed embedding step."
13239
14038
  },
13240
14039
  {
13241
14040
  "name": "cursor",
@@ -13987,7 +14786,7 @@ export const operations = [
13987
14786
  "name": "kinds",
13988
14787
  "type": "string",
13989
14788
  "required": false,
13990
- "description": "Comma-separated output kinds: caption, tags, ocr, frame, transcript, overview, audio, embedding. Omit or empty to include every kind."
14789
+ "description": "Comma-separated output kinds: caption, tags, ocr, frame, transcript, overview, audio, loudness, beats, content, embedding. Omit or empty to include every kind."
13991
14790
  },
13992
14791
  {
13993
14792
  "name": "cursor",