@deepraxis/sdk 0.1.1-dev.016e776 → 0.1.1-dev.02959a2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/METHODS.md +95 -1
- package/dist/core/errors.d.ts +6 -0
- package/dist/core/errors.js +8 -0
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +287 -135
- package/dist/generated/sdk.gen.js +506 -134
- package/dist/generated/types.gen.d.ts +2801 -106
- package/dist/operations.generated.d.ts +666 -12
- package/dist/operations.generated.js +833 -11
- package/dist/resources.generated.d.ts +67 -1
- package/dist/resources.generated.js +55 -0
- package/package.json +1 -1
|
@@ -12602,6 +12602,10 @@ export type CutProject = {
|
|
|
12602
12602
|
* ISO 8601 timestamp when this project was created.
|
|
12603
12603
|
*/
|
|
12604
12604
|
create_time: string;
|
|
12605
|
+
/**
|
|
12606
|
+
* Link that opens this project in the Praxis Console, in the Console of the environment serving the request. Open this URL when telling a user where to edit the project, and use the value as given — do not build the link yourself, because the Console host differs per environment (develop and production are different hosts) and a composed address will not open.
|
|
12607
|
+
*/
|
|
12608
|
+
console_url?: string;
|
|
12605
12609
|
/**
|
|
12606
12610
|
* ISO 8601 timestamp of the latest committed project update.
|
|
12607
12611
|
*/
|
|
@@ -12860,6 +12864,113 @@ export type CutAnalysisResult = {
|
|
|
12860
12864
|
retry_after_sec?: number;
|
|
12861
12865
|
}>;
|
|
12862
12866
|
};
|
|
12867
|
+
/**
|
|
12868
|
+
* One mix measurement of the project's own rendered mix (kind mix). Seconds are relative to the measured range's start. A second nothing sounds in is measured at the -60 LUFS floor.
|
|
12869
|
+
*/
|
|
12870
|
+
export type CutMixAnalysis = {
|
|
12871
|
+
/**
|
|
12872
|
+
* Always mix; distinguishes this reply from the per-asset analysis results.
|
|
12873
|
+
*/
|
|
12874
|
+
kind: 'mix';
|
|
12875
|
+
/**
|
|
12876
|
+
* Range start on the project clock. In seconds, not frames or microseconds.
|
|
12877
|
+
*/
|
|
12878
|
+
from: number;
|
|
12879
|
+
/**
|
|
12880
|
+
* Range end on the project clock, exclusive. In seconds, not frames or microseconds.
|
|
12881
|
+
*/
|
|
12882
|
+
to: number;
|
|
12883
|
+
/**
|
|
12884
|
+
* Project revision measured.
|
|
12885
|
+
*/
|
|
12886
|
+
revision: number;
|
|
12887
|
+
/**
|
|
12888
|
+
* pending means the measurement is still rendering, not that it is complete; ready means the mix is below; failed means it did not complete.
|
|
12889
|
+
*/
|
|
12890
|
+
status: 'pending' | 'ready' | 'failed';
|
|
12891
|
+
/**
|
|
12892
|
+
* The measurement's own id. Pass it back with kind mix to poll; a measurement is never listed, so this is the only handle on it.
|
|
12893
|
+
*/
|
|
12894
|
+
id?: string;
|
|
12895
|
+
/**
|
|
12896
|
+
* Suggested delay before polling again; present while status is pending. In seconds, not frames or microseconds.
|
|
12897
|
+
*/
|
|
12898
|
+
retry_after_sec?: number;
|
|
12899
|
+
/**
|
|
12900
|
+
* Why a failed measurement did not complete.
|
|
12901
|
+
*/
|
|
12902
|
+
error?: {
|
|
12903
|
+
/**
|
|
12904
|
+
* Machine-readable failure code.
|
|
12905
|
+
*/
|
|
12906
|
+
code: string;
|
|
12907
|
+
/**
|
|
12908
|
+
* Bounded human-readable cause; provider text and capability URLs are stripped.
|
|
12909
|
+
*/
|
|
12910
|
+
message: string;
|
|
12911
|
+
};
|
|
12912
|
+
/**
|
|
12913
|
+
* When the measurement was requested, RFC 3339.
|
|
12914
|
+
*/
|
|
12915
|
+
created: string;
|
|
12916
|
+
/**
|
|
12917
|
+
* When it reached ready or failed, RFC 3339.
|
|
12918
|
+
*/
|
|
12919
|
+
finished?: string;
|
|
12920
|
+
/**
|
|
12921
|
+
* The measurement, present once status is ready. loudness is the whole mix — what a listener hears — and roles is the same measurement per role, so a problem can be attributed to the voice or to the bed.
|
|
12922
|
+
*/
|
|
12923
|
+
mix?: {
|
|
12924
|
+
loudness: CutMixLoudness;
|
|
12925
|
+
/**
|
|
12926
|
+
* Per-role loudness. A role the timeline carries no clip of is null, never a silent render.
|
|
12927
|
+
*/
|
|
12928
|
+
roles: {
|
|
12929
|
+
/**
|
|
12930
|
+
* Loudness of the speech tracks — those declaring role voice, or carrying a transcript. Null when the timeline has no voice at all.
|
|
12931
|
+
*/
|
|
12932
|
+
voice: CutMixLoudness;
|
|
12933
|
+
/**
|
|
12934
|
+
* Loudness of the bed — tracks declaring role music, plus every audio track that is neither speech nor a declared effect. Null when the timeline has no bed.
|
|
12935
|
+
*/
|
|
12936
|
+
music: CutMixLoudness;
|
|
12937
|
+
/**
|
|
12938
|
+
* Loudness of tracks declaring role sfx. Never inferred, so it is null unless an editor declared one.
|
|
12939
|
+
*/
|
|
12940
|
+
sfx: CutMixLoudness;
|
|
12941
|
+
};
|
|
12942
|
+
/**
|
|
12943
|
+
* Voice against music, second by second, merged into runs of one sign and empty when either role is absent. A run's value is the mean over its seconds.
|
|
12944
|
+
*/
|
|
12945
|
+
dialogue_to_music_db: Array<{
|
|
12946
|
+
/**
|
|
12947
|
+
* Run start, in seconds relative to the measured range.
|
|
12948
|
+
*/
|
|
12949
|
+
start: number;
|
|
12950
|
+
/**
|
|
12951
|
+
* Run length in whole seconds.
|
|
12952
|
+
*/
|
|
12953
|
+
duration: number;
|
|
12954
|
+
/**
|
|
12955
|
+
* Mean voice-minus-music level over the run, in dB. Positive means the voice sits above the bed.
|
|
12956
|
+
*/
|
|
12957
|
+
value: number;
|
|
12958
|
+
}>;
|
|
12959
|
+
/**
|
|
12960
|
+
* Where speech is masked — the voice is audible and sits less than 10 dB above the music. Music alone is never masked speech, and a silent voice is not speech.
|
|
12961
|
+
*/
|
|
12962
|
+
masked_speech: Array<{
|
|
12963
|
+
/**
|
|
12964
|
+
* Interval start, in seconds relative to the measured range.
|
|
12965
|
+
*/
|
|
12966
|
+
start: number;
|
|
12967
|
+
/**
|
|
12968
|
+
* Interval length in whole seconds.
|
|
12969
|
+
*/
|
|
12970
|
+
duration: number;
|
|
12971
|
+
}>;
|
|
12972
|
+
};
|
|
12973
|
+
};
|
|
12863
12974
|
/**
|
|
12864
12975
|
* Select analysis kinds and optionally limit source assets.
|
|
12865
12976
|
*/
|
|
@@ -12869,9 +12980,25 @@ export type CutAnalysisInput = {
|
|
|
12869
12980
|
*/
|
|
12870
12981
|
media?: Array<CutMediaRef>;
|
|
12871
12982
|
/**
|
|
12872
|
-
* Analysis types to request
|
|
12983
|
+
* 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.
|
|
12984
|
+
*/
|
|
12985
|
+
kinds: Array<'silence' | 'filler' | 'scenes' | 'mix'>;
|
|
12986
|
+
/**
|
|
12987
|
+
* 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.
|
|
12988
|
+
*/
|
|
12989
|
+
from?: number;
|
|
12990
|
+
/**
|
|
12991
|
+
* Range end for kind mix, in seconds on the project clock, exclusive. A range longer than 120 seconds is refused; request several ranges instead.
|
|
12992
|
+
*/
|
|
12993
|
+
to?: number;
|
|
12994
|
+
/**
|
|
12995
|
+
* Optional committed project revision to measure; omission uses the current revision. Mix only.
|
|
12996
|
+
*/
|
|
12997
|
+
revision?: number;
|
|
12998
|
+
/**
|
|
12999
|
+
* Poll one running mix measurement by the id its first call returned. Sending id reads that measurement and renders nothing.
|
|
12873
13000
|
*/
|
|
12874
|
-
|
|
13001
|
+
id?: string;
|
|
12875
13002
|
};
|
|
12876
13003
|
/**
|
|
12877
13004
|
* Current project media library bindings.
|
|
@@ -13052,7 +13179,7 @@ export type CutExport = {
|
|
|
13052
13179
|
audio: 'pending' | 'done';
|
|
13053
13180
|
};
|
|
13054
13181
|
/**
|
|
13055
|
-
* Present when
|
|
13182
|
+
* Present when the export was normalized (the default, or an explicit target); contains the target and the measured output levels. Absent when loudness was null, and when the timeline is silent (nothing to normalize).
|
|
13056
13183
|
*/
|
|
13057
13184
|
loudness?: {
|
|
13058
13185
|
/**
|
|
@@ -13072,6 +13199,35 @@ export type CutExport = {
|
|
|
13072
13199
|
*/
|
|
13073
13200
|
measured_true_peak_dbtp: number;
|
|
13074
13201
|
};
|
|
13202
|
+
/**
|
|
13203
|
+
* Problems found in the timeline when the export was frozen. Every check is a warning and never blocks the export; read them before delivering, fix the timeline and export again when one is real. A check may be intentional (a fade from black, a deliberate placeholder) and then needs no action.
|
|
13204
|
+
*/
|
|
13205
|
+
checks?: Array<{
|
|
13206
|
+
/**
|
|
13207
|
+
* BLACK_FIRST_FRAME: the first frame is black or empty. PLACEHOLDER_TEXT: a text or caption looks like unfinished placeholder text (TODO, XXX, ___). UPSCALED_SOURCE: a source is enlarged more than 1.5x and will look soft. CAPTION_TOO_SHORT: a caption is on screen too briefly to read. CAPTION_OUT_OF_SAFE_AREA: a caption or text box reaches into the frame edge where players crop or overlay controls.
|
|
13208
|
+
*/
|
|
13209
|
+
code: 'BLACK_FIRST_FRAME' | 'PLACEHOLDER_TEXT' | 'UPSCALED_SOURCE' | 'CAPTION_TOO_SHORT' | 'CAPTION_OUT_OF_SAFE_AREA';
|
|
13210
|
+
/**
|
|
13211
|
+
* Always warning in this version.
|
|
13212
|
+
*/
|
|
13213
|
+
severity: 'warning';
|
|
13214
|
+
/**
|
|
13215
|
+
* Timeline position in seconds the check refers to, when it has one.
|
|
13216
|
+
*/
|
|
13217
|
+
at?: number;
|
|
13218
|
+
/**
|
|
13219
|
+
* Clip the check refers to, when it has one.
|
|
13220
|
+
*/
|
|
13221
|
+
clip_id?: string;
|
|
13222
|
+
/**
|
|
13223
|
+
* What was found and how to fix it.
|
|
13224
|
+
*/
|
|
13225
|
+
detail: string;
|
|
13226
|
+
}>;
|
|
13227
|
+
/**
|
|
13228
|
+
* Timeline position in seconds the cover frame was taken at, frame-exact, and the moment written as the exported asset's cover. Present on exports frozen from this version onward: the requested poster.at, or the first frame with picture when poster was omitted.
|
|
13229
|
+
*/
|
|
13230
|
+
poster_at?: number;
|
|
13075
13231
|
/**
|
|
13076
13232
|
* Output media reference, available after the export reaches done.
|
|
13077
13233
|
*/
|
|
@@ -13145,7 +13301,7 @@ export type CutExportInput = {
|
|
|
13145
13301
|
binding?: string;
|
|
13146
13302
|
revision?: CutRevision;
|
|
13147
13303
|
/**
|
|
13148
|
-
*
|
|
13304
|
+
* 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.
|
|
13149
13305
|
*/
|
|
13150
13306
|
loudness?: {
|
|
13151
13307
|
/**
|
|
@@ -13156,6 +13312,15 @@ export type CutExportInput = {
|
|
|
13156
13312
|
* Maximum true peak in dBTP.
|
|
13157
13313
|
*/
|
|
13158
13314
|
true_peak_dbtp: number;
|
|
13315
|
+
} | null;
|
|
13316
|
+
/**
|
|
13317
|
+
* 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.
|
|
13318
|
+
*/
|
|
13319
|
+
poster?: {
|
|
13320
|
+
/**
|
|
13321
|
+
* Timeline position in seconds the cover is taken at; rounded to the nearest project frame.
|
|
13322
|
+
*/
|
|
13323
|
+
at: number;
|
|
13159
13324
|
};
|
|
13160
13325
|
};
|
|
13161
13326
|
/**
|
|
@@ -13171,6 +13336,93 @@ export type CutExportPage = {
|
|
|
13171
13336
|
*/
|
|
13172
13337
|
next_page_token?: string;
|
|
13173
13338
|
};
|
|
13339
|
+
/**
|
|
13340
|
+
* A draft range render of one timeline interval, stored as a temporary file that expires and belongs to no media library.
|
|
13341
|
+
*/
|
|
13342
|
+
export type CutDraftRender = {
|
|
13343
|
+
/**
|
|
13344
|
+
* Draft render id returned by create; use as render_id for retrieve.
|
|
13345
|
+
*/
|
|
13346
|
+
id?: string;
|
|
13347
|
+
/**
|
|
13348
|
+
* Project whose timeline is rendered.
|
|
13349
|
+
*/
|
|
13350
|
+
project_id?: string;
|
|
13351
|
+
/**
|
|
13352
|
+
* queued is accepted and not started; rendering is producing the interval; done means file_id and url are usable; failed means inspect error and, if the interval matters, submit it again. Only done yields a url.
|
|
13353
|
+
*/
|
|
13354
|
+
status?: 'queued' | 'rendering' | 'done' | 'failed';
|
|
13355
|
+
/**
|
|
13356
|
+
* What was rendered, as chosen at creation; audio is an .m4a of the mix, video is a draft-quality .mp4.
|
|
13357
|
+
*/
|
|
13358
|
+
kind?: 'audio' | 'video';
|
|
13359
|
+
/**
|
|
13360
|
+
* Start of the rendered interval in seconds on the project clock, inclusive.
|
|
13361
|
+
*/
|
|
13362
|
+
from?: number;
|
|
13363
|
+
/**
|
|
13364
|
+
* End of the rendered interval in seconds on the project clock, exclusive.
|
|
13365
|
+
*/
|
|
13366
|
+
to?: number;
|
|
13367
|
+
/**
|
|
13368
|
+
* Revision the interval was sliced from, frozen when the draft was created.
|
|
13369
|
+
*/
|
|
13370
|
+
revision?: CutRevision;
|
|
13371
|
+
/**
|
|
13372
|
+
* Seconds of rendered material, present once the render finished; this is what the draft bills for.
|
|
13373
|
+
*/
|
|
13374
|
+
duration?: number;
|
|
13375
|
+
/**
|
|
13376
|
+
* Temporary file holding the rendered bytes, present once status is done. It expires 24 hours after it was stored and is not a media asset, so it can be read but never referenced as library material.
|
|
13377
|
+
*/
|
|
13378
|
+
file_id?: string;
|
|
13379
|
+
/**
|
|
13380
|
+
* Short-lived link for reading the finished draft, present only while status is done. It expires within minutes, so retrieve the render again rather than saving it.
|
|
13381
|
+
*/
|
|
13382
|
+
url?: string;
|
|
13383
|
+
/**
|
|
13384
|
+
* Present when status is failed; nothing was stored.
|
|
13385
|
+
*/
|
|
13386
|
+
error?: {
|
|
13387
|
+
/**
|
|
13388
|
+
* Stable error code, EXPORT_FAILED for a render that could not finish.
|
|
13389
|
+
*/
|
|
13390
|
+
code: string;
|
|
13391
|
+
/**
|
|
13392
|
+
* Bounded cause of the failure, safe to read; provider URLs are stripped.
|
|
13393
|
+
*/
|
|
13394
|
+
message: string;
|
|
13395
|
+
};
|
|
13396
|
+
/**
|
|
13397
|
+
* When the draft was accepted, as an RFC 3339 timestamp.
|
|
13398
|
+
*/
|
|
13399
|
+
create_time?: string;
|
|
13400
|
+
/**
|
|
13401
|
+
* When the draft reached done or failed, as an RFC 3339 timestamp; absent while it is still running.
|
|
13402
|
+
*/
|
|
13403
|
+
finish_time?: string;
|
|
13404
|
+
};
|
|
13405
|
+
/**
|
|
13406
|
+
* The interval of the timeline to render as a draft.
|
|
13407
|
+
*/
|
|
13408
|
+
export type CutDraftRenderInput = {
|
|
13409
|
+
/**
|
|
13410
|
+
* 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.
|
|
13411
|
+
*/
|
|
13412
|
+
kind: 'audio' | 'video';
|
|
13413
|
+
/**
|
|
13414
|
+
* Start of the interval in seconds on the project clock, inclusive. Must be less than to.
|
|
13415
|
+
*/
|
|
13416
|
+
from: number;
|
|
13417
|
+
/**
|
|
13418
|
+
* 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.
|
|
13419
|
+
*/
|
|
13420
|
+
to: number;
|
|
13421
|
+
/**
|
|
13422
|
+
* Optional revision to render. Omitted renders the project's current revision; a revision that is no longer current is refused with REVISION_CONFLICT, so read the project state first when the interval must match an earlier edit.
|
|
13423
|
+
*/
|
|
13424
|
+
revision?: CutRevision;
|
|
13425
|
+
};
|
|
13174
13426
|
/**
|
|
13175
13427
|
* One page of organization-accessible versions.
|
|
13176
13428
|
*/
|
|
@@ -13592,6 +13844,826 @@ export type DatabasePostgrestError = {
|
|
|
13592
13844
|
details: string | null;
|
|
13593
13845
|
hint: string | null;
|
|
13594
13846
|
};
|
|
13847
|
+
/**
|
|
13848
|
+
* The test catalog discovered at one commit — what the discovery found and how it differs from the catalog published before it.
|
|
13849
|
+
*/
|
|
13850
|
+
export type DevopsCatalogVersion = {
|
|
13851
|
+
/**
|
|
13852
|
+
* The project this catalog belongs to, from the project list or create answer.
|
|
13853
|
+
*/
|
|
13854
|
+
project: string;
|
|
13855
|
+
/**
|
|
13856
|
+
* Full 40-character commit sha the discovery read; a catalog always describes exactly one commit, never a moving branch.
|
|
13857
|
+
*/
|
|
13858
|
+
commit: string;
|
|
13859
|
+
/**
|
|
13860
|
+
* RFC 3339 UTC time the discovery finished and this version became readable.
|
|
13861
|
+
*/
|
|
13862
|
+
publishTime: string;
|
|
13863
|
+
/**
|
|
13864
|
+
* Test frameworks the discovery found in this commit, in the order it found them.
|
|
13865
|
+
*/
|
|
13866
|
+
frameworks: Array<'gherkin' | 'bun' | 'vitest' | 'jest' | 'pytest' | 'go' | 'playwright'>;
|
|
13867
|
+
/**
|
|
13868
|
+
* How many suites this catalog holds; a suite is one test file in one framework.
|
|
13869
|
+
*/
|
|
13870
|
+
suiteCount: number;
|
|
13871
|
+
/**
|
|
13872
|
+
* How many cases this catalog holds; cases are the individual tests a plan selects from.
|
|
13873
|
+
*/
|
|
13874
|
+
caseCount: number;
|
|
13875
|
+
/**
|
|
13876
|
+
* How many cases this catalog holds per test size, which is what a size-based selector matches against.
|
|
13877
|
+
*/
|
|
13878
|
+
sizeCounts: {
|
|
13879
|
+
/**
|
|
13880
|
+
* Cases declared small — one process, no network, about a minute.
|
|
13881
|
+
*/
|
|
13882
|
+
small?: number;
|
|
13883
|
+
/**
|
|
13884
|
+
* Cases declared medium — local services allowed, about five minutes.
|
|
13885
|
+
*/
|
|
13886
|
+
medium?: number;
|
|
13887
|
+
/**
|
|
13888
|
+
* Cases declared large — external systems allowed, about fifteen minutes.
|
|
13889
|
+
*/
|
|
13890
|
+
large?: number;
|
|
13891
|
+
};
|
|
13892
|
+
/**
|
|
13893
|
+
* How this catalog differs from the one published before it, which explains a moved case count.
|
|
13894
|
+
*/
|
|
13895
|
+
diff: {
|
|
13896
|
+
/**
|
|
13897
|
+
* Cases present here and absent from the previous catalog.
|
|
13898
|
+
*/
|
|
13899
|
+
added?: number;
|
|
13900
|
+
/**
|
|
13901
|
+
* Cases present in the previous catalog and absent here, because their code was deleted.
|
|
13902
|
+
*/
|
|
13903
|
+
removed?: number;
|
|
13904
|
+
/**
|
|
13905
|
+
* Cases whose declaration changed — steps, tags, size or owners — while keeping their identity.
|
|
13906
|
+
*/
|
|
13907
|
+
changed?: number;
|
|
13908
|
+
/**
|
|
13909
|
+
* Cases whose title changed but whose identity did not, so their history moved with them instead of starting over.
|
|
13910
|
+
*/
|
|
13911
|
+
renamed?: number;
|
|
13912
|
+
};
|
|
13913
|
+
};
|
|
13914
|
+
export type DevopsDevOpsError = {
|
|
13915
|
+
/**
|
|
13916
|
+
* Failure details for a non-2xx answer; the operation's status and code description say what to do about it.
|
|
13917
|
+
*/
|
|
13918
|
+
error: {
|
|
13919
|
+
/**
|
|
13920
|
+
* Machine-readable failure category, such as PROJECT_NOT_FOUND or PLAN_GATE_ENVIRONMENT_MISMATCH; the operation's error descriptions name the action each one calls for.
|
|
13921
|
+
*/
|
|
13922
|
+
code: string;
|
|
13923
|
+
/**
|
|
13924
|
+
* Human-readable explanation naming the offending field or condition, so a retry can be corrected rather than repeated unchanged.
|
|
13925
|
+
*/
|
|
13926
|
+
message: string;
|
|
13927
|
+
/**
|
|
13928
|
+
* Canonical problem kind for programmatic handling — validation, not_found, conflict, or one of the other problem-protocol kinds; stable across services.
|
|
13929
|
+
*/
|
|
13930
|
+
kind?: string;
|
|
13931
|
+
/**
|
|
13932
|
+
* The action that resolves this failure — fix_request, retry_later, authenticate, contact_support or none; none means repeating the call cannot help.
|
|
13933
|
+
*/
|
|
13934
|
+
recovery?: string;
|
|
13935
|
+
/**
|
|
13936
|
+
* Whether the identical request may be sent again; true means the condition was transient, so retry after a delay.
|
|
13937
|
+
*/
|
|
13938
|
+
retryable?: boolean;
|
|
13939
|
+
};
|
|
13940
|
+
};
|
|
13941
|
+
/**
|
|
13942
|
+
* One page of suites, with the cursor that reaches the following page.
|
|
13943
|
+
*/
|
|
13944
|
+
export type DevopsSuitePage = {
|
|
13945
|
+
/**
|
|
13946
|
+
* The suites on this page, in the project's catalog file order.
|
|
13947
|
+
*/
|
|
13948
|
+
items: Array<DevopsSuite>;
|
|
13949
|
+
/**
|
|
13950
|
+
* How many items match this list's project and filter across every page, so a dashboard can show a total without walking the pages. Returned on the first page only; a page reached by a pageToken omits it, so read it from the first request rather than expecting it on every page.
|
|
13951
|
+
*/
|
|
13952
|
+
totalSize?: number;
|
|
13953
|
+
/**
|
|
13954
|
+
* Cursor for the next page; an empty string means this was the last page, which is the only signal a list is finished.
|
|
13955
|
+
*/
|
|
13956
|
+
nextPageToken: string;
|
|
13957
|
+
};
|
|
13958
|
+
/**
|
|
13959
|
+
* One test file as the catalog discovered it, with the grouping metadata a case list is read through.
|
|
13960
|
+
*/
|
|
13961
|
+
export type DevopsSuite = {
|
|
13962
|
+
/**
|
|
13963
|
+
* Suite identifier used to retrieve the suite or to look up the cases that belong to it.
|
|
13964
|
+
*/
|
|
13965
|
+
id: string;
|
|
13966
|
+
/**
|
|
13967
|
+
* The resource type of this answer, always test_suite; use it to tell answers apart when several kinds are handled together.
|
|
13968
|
+
*/
|
|
13969
|
+
object: 'test_suite';
|
|
13970
|
+
/**
|
|
13971
|
+
* RFC 3339 UTC time this suite was first discovered in any catalog of the project.
|
|
13972
|
+
*/
|
|
13973
|
+
createTime: string;
|
|
13974
|
+
/**
|
|
13975
|
+
* RFC 3339 UTC time this suite's declaration last changed.
|
|
13976
|
+
*/
|
|
13977
|
+
updateTime: string;
|
|
13978
|
+
/**
|
|
13979
|
+
* Canonical Console link for this suite, for putting a human-readable reference in a card or a message.
|
|
13980
|
+
*/
|
|
13981
|
+
viewerUrl: string;
|
|
13982
|
+
/**
|
|
13983
|
+
* The project this suite belongs to, from the project list or create answer.
|
|
13984
|
+
*/
|
|
13985
|
+
project: string;
|
|
13986
|
+
/**
|
|
13987
|
+
* The test framework that runs this suite, which decides how its cases are declared and run.
|
|
13988
|
+
*/
|
|
13989
|
+
framework: 'gherkin' | 'bun' | 'vitest' | 'jest' | 'pytest' | 'go' | 'playwright';
|
|
13990
|
+
/**
|
|
13991
|
+
* The repository package the file lives in, such as services/devops, which is what a package-based selector matches.
|
|
13992
|
+
*/
|
|
13993
|
+
package: string;
|
|
13994
|
+
/**
|
|
13995
|
+
* Path of the test file inside the repository, relative to its root; paired with the package it locates the file exactly.
|
|
13996
|
+
*/
|
|
13997
|
+
file: string;
|
|
13998
|
+
/**
|
|
13999
|
+
* Title the suite declares — the Gherkin Feature title, or the file-level description other frameworks carry.
|
|
14000
|
+
*/
|
|
14001
|
+
title: string;
|
|
14002
|
+
/**
|
|
14003
|
+
* The suite's declared test size, which decides its time budget and which selectors match it.
|
|
14004
|
+
*/
|
|
14005
|
+
size: 'small' | 'medium' | 'large';
|
|
14006
|
+
/**
|
|
14007
|
+
* ISTQB purpose tags the suite declares; a purpose-based selector matches against these.
|
|
14008
|
+
*/
|
|
14009
|
+
purposes: Array<'smoke' | 'regression' | 'acceptance' | 'contract' | 'performance'>;
|
|
14010
|
+
/**
|
|
14011
|
+
* Free-form tags the suite declares, matched by an anyTags or allTags selector.
|
|
14012
|
+
*/
|
|
14013
|
+
tags: Array<string>;
|
|
14014
|
+
/**
|
|
14015
|
+
* How many cases this suite holds in this catalog version.
|
|
14016
|
+
*/
|
|
14017
|
+
caseCount: number;
|
|
14018
|
+
/**
|
|
14019
|
+
* The commit whose catalog discovered this suite; read that catalog to see the counts it was part of.
|
|
14020
|
+
*/
|
|
14021
|
+
catalogCommit: string;
|
|
14022
|
+
/**
|
|
14023
|
+
* True when the suite's file is no longer in the newest catalog; its cases and their history stay readable, and plans selecting them simply match nothing new.
|
|
14024
|
+
*/
|
|
14025
|
+
archived: boolean;
|
|
14026
|
+
};
|
|
14027
|
+
/**
|
|
14028
|
+
* One page of test cases, with the cursor that reaches the following page.
|
|
14029
|
+
*/
|
|
14030
|
+
export type DevopsTestCasePage = {
|
|
14031
|
+
/**
|
|
14032
|
+
* The cases on this page, in the project's catalog file order.
|
|
14033
|
+
*/
|
|
14034
|
+
items: Array<DevopsTestCase>;
|
|
14035
|
+
/**
|
|
14036
|
+
* How many items match this list's project and filter across every page, so a dashboard can show a total without walking the pages. Returned on the first page only; a page reached by a pageToken omits it, so read it from the first request rather than expecting it on every page.
|
|
14037
|
+
*/
|
|
14038
|
+
totalSize?: number;
|
|
14039
|
+
/**
|
|
14040
|
+
* Cursor for the next page; an empty string means this was the last page, which is the only signal a list is finished.
|
|
14041
|
+
*/
|
|
14042
|
+
nextPageToken: string;
|
|
14043
|
+
};
|
|
14044
|
+
/**
|
|
14045
|
+
* One test case with everything a triage needs — where it lives, how it is declared, and what its recorded history says about it.
|
|
14046
|
+
*/
|
|
14047
|
+
export type DevopsTestCase = {
|
|
14048
|
+
/**
|
|
14049
|
+
* Fingerprint-derived case identifier that follows the case across a rename; use it for every later read or state change.
|
|
14050
|
+
*/
|
|
14051
|
+
id: string;
|
|
14052
|
+
/**
|
|
14053
|
+
* The resource type of this answer, always test_case; use it to tell answers apart when several kinds are handled together.
|
|
14054
|
+
*/
|
|
14055
|
+
object: 'test_case';
|
|
14056
|
+
/**
|
|
14057
|
+
* RFC 3339 UTC time this case was first discovered; it is not reset by a rename.
|
|
14058
|
+
*/
|
|
14059
|
+
createTime: string;
|
|
14060
|
+
/**
|
|
14061
|
+
* RFC 3339 UTC time this case's declaration or state last changed.
|
|
14062
|
+
*/
|
|
14063
|
+
updateTime: string;
|
|
14064
|
+
/**
|
|
14065
|
+
* Canonical Console link for this case, for putting a human-readable reference in a card or a message.
|
|
14066
|
+
*/
|
|
14067
|
+
viewerUrl: string;
|
|
14068
|
+
/**
|
|
14069
|
+
* The project this case belongs to, from the project list or create answer.
|
|
14070
|
+
*/
|
|
14071
|
+
project: string;
|
|
14072
|
+
/**
|
|
14073
|
+
* The suite that holds this case, retrievable with a suite read for its file and framework.
|
|
14074
|
+
*/
|
|
14075
|
+
suite: string;
|
|
14076
|
+
/**
|
|
14077
|
+
* The case's current title. A rename changes this and keeps the id, so history recorded under the old title stays attached.
|
|
14078
|
+
*/
|
|
14079
|
+
title: string;
|
|
14080
|
+
/**
|
|
14081
|
+
* The describe/context titles enclosing the case, outermost first, which is how the case reads inside its file.
|
|
14082
|
+
*/
|
|
14083
|
+
suitePath: Array<string>;
|
|
14084
|
+
/**
|
|
14085
|
+
* Distinguishes cases that share a title in one file, such as a table-driven case per row; absent when the title is unique.
|
|
14086
|
+
*/
|
|
14087
|
+
variant?: string;
|
|
14088
|
+
/**
|
|
14089
|
+
* Path of the file declaring the case, relative to the repository root.
|
|
14090
|
+
*/
|
|
14091
|
+
file: string;
|
|
14092
|
+
/**
|
|
14093
|
+
* Line in that file where the case is declared, valid for the commit that discovered it.
|
|
14094
|
+
*/
|
|
14095
|
+
line: number;
|
|
14096
|
+
/**
|
|
14097
|
+
* The case's declared test size, which decides its time budget and which selectors match it.
|
|
14098
|
+
*/
|
|
14099
|
+
size: 'small' | 'medium' | 'large';
|
|
14100
|
+
/**
|
|
14101
|
+
* ISTQB purpose tags this case declares; a purpose-based selector matches against these.
|
|
14102
|
+
*/
|
|
14103
|
+
purposes: Array<'smoke' | 'regression' | 'acceptance' | 'contract' | 'performance'>;
|
|
14104
|
+
/**
|
|
14105
|
+
* True when the case may run against a production environment; a plan selecting prodSafeOnly keeps only these.
|
|
14106
|
+
*/
|
|
14107
|
+
prodSafe: boolean;
|
|
14108
|
+
/**
|
|
14109
|
+
* Free-form tags the case declares, matched by an anyTags or allTags selector.
|
|
14110
|
+
*/
|
|
14111
|
+
tags: Array<string>;
|
|
14112
|
+
/**
|
|
14113
|
+
* Code owners the case declares for triage routing; empty when the file names none.
|
|
14114
|
+
*/
|
|
14115
|
+
owners: Array<string>;
|
|
14116
|
+
/**
|
|
14117
|
+
* The case's declared steps as written, when the framework exposes them; absent for frameworks whose cases are code only.
|
|
14118
|
+
*/
|
|
14119
|
+
steps?: Array<string>;
|
|
14120
|
+
/**
|
|
14121
|
+
* What recent results say about the case — flaky when it both passes and fails without a code change, broken when it has stopped passing.
|
|
14122
|
+
*/
|
|
14123
|
+
health: 'unknown' | 'healthy' | 'flaky' | 'broken';
|
|
14124
|
+
/**
|
|
14125
|
+
* RFC 3339 UTC time the current health value was set; absent while health is unknown.
|
|
14126
|
+
*/
|
|
14127
|
+
healthSince?: string;
|
|
14128
|
+
stats: DevopsCaseStats;
|
|
14129
|
+
/**
|
|
14130
|
+
* The case's own latest executions, at most the last 30, oldest first — the strip a test board draws per row. Absent when the case has not run yet, which is why it is not an empty list. Each entry is one execution; read state and health for the judgement drawn from the whole history.
|
|
14131
|
+
*/
|
|
14132
|
+
recent?: Array<{
|
|
14133
|
+
/**
|
|
14134
|
+
* How this execution ended. failed counts against the run unless the case was quarantined; skipped neither passes nor fails it.
|
|
14135
|
+
*/
|
|
14136
|
+
status?: 'passed' | 'failed' | 'skipped' | 'pending' | 'other' | 'timed_out' | 'cancelled';
|
|
14137
|
+
/**
|
|
14138
|
+
* True when this execution failed and then passed on a retry inside the same run — the per-execution fact behind the case's flaky health.
|
|
14139
|
+
*/
|
|
14140
|
+
flaky?: boolean;
|
|
14141
|
+
/**
|
|
14142
|
+
* RFC 3339 UTC time the execution was recorded, which is what orders the strip; two executions of the same commit are told apart by it.
|
|
14143
|
+
*/
|
|
14144
|
+
time?: string;
|
|
14145
|
+
/**
|
|
14146
|
+
* Full 40-hex commit sha this execution ran at; the commits the strip shows are the ones a bisect or a regression read compares.
|
|
14147
|
+
*/
|
|
14148
|
+
commit?: string;
|
|
14149
|
+
}>;
|
|
14150
|
+
state: DevopsCaseState;
|
|
14151
|
+
/**
|
|
14152
|
+
* True when the case may never be quarantined — a safety or security check whose failure must always count; a quarantine attempt on it is refused.
|
|
14153
|
+
*/
|
|
14154
|
+
neverQuarantine: boolean;
|
|
14155
|
+
/**
|
|
14156
|
+
* Ids this case was known by before a rename, newest first; read with them to reconcile history recorded under an older title.
|
|
14157
|
+
*/
|
|
14158
|
+
aliases: Array<string>;
|
|
14159
|
+
/**
|
|
14160
|
+
* The commit whose catalog first discovered this case; a rename does not move it, so it dates the case's real age.
|
|
14161
|
+
*/
|
|
14162
|
+
firstSeenCommit: string;
|
|
14163
|
+
/**
|
|
14164
|
+
* The commit after which the case was no longer discovered; absent while the case is still in the newest catalog.
|
|
14165
|
+
*/
|
|
14166
|
+
retiredCommit?: string;
|
|
14167
|
+
};
|
|
14168
|
+
/**
|
|
14169
|
+
* One page of test plans, with the cursor that reaches the following page.
|
|
14170
|
+
*/
|
|
14171
|
+
export type DevopsPlanPage = {
|
|
14172
|
+
/**
|
|
14173
|
+
* The plans on this page, in creation order.
|
|
14174
|
+
*/
|
|
14175
|
+
items: Array<DevopsPlan>;
|
|
14176
|
+
/**
|
|
14177
|
+
* How many items match this list's project and filter across every page, so a dashboard can show a total without walking the pages. Returned on the first page only; a page reached by a pageToken omits it, so read it from the first request rather than expecting it on every page.
|
|
14178
|
+
*/
|
|
14179
|
+
totalSize?: number;
|
|
14180
|
+
/**
|
|
14181
|
+
* Cursor for the next page; an empty string means this was the last page, which is the only signal a list is finished.
|
|
14182
|
+
*/
|
|
14183
|
+
nextPageToken: string;
|
|
14184
|
+
};
|
|
14185
|
+
/**
|
|
14186
|
+
* The plan to create; environment is required exactly when the gate guards one.
|
|
14187
|
+
*/
|
|
14188
|
+
export type DevopsPlanCreate = {
|
|
14189
|
+
/**
|
|
14190
|
+
* Short name for the plan, unique inside the project; a key already in use is refused rather than silently reused.
|
|
14191
|
+
*/
|
|
14192
|
+
key: string;
|
|
14193
|
+
/**
|
|
14194
|
+
* Display title of the plan, shown wherever the plan is listed.
|
|
14195
|
+
*/
|
|
14196
|
+
title: string;
|
|
14197
|
+
/**
|
|
14198
|
+
* Which stage of delivery this plan belongs to, which decides when it is expected to run.
|
|
14199
|
+
*/
|
|
14200
|
+
stage: 'dev' | 'presubmit' | 'postsubmit' | 'nightly' | 'production';
|
|
14201
|
+
trigger: DevopsPlanTrigger;
|
|
14202
|
+
selector: DevopsCaseSelector;
|
|
14203
|
+
/**
|
|
14204
|
+
* 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.
|
|
14205
|
+
*/
|
|
14206
|
+
environment?: string;
|
|
14207
|
+
/**
|
|
14208
|
+
* Whether this plan's result blocks a stage; a merge or promotion gate must name its environment.
|
|
14209
|
+
*/
|
|
14210
|
+
gate: 'merge' | 'promotion' | 'observation' | 'none';
|
|
14211
|
+
/**
|
|
14212
|
+
* 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.
|
|
14213
|
+
*/
|
|
14214
|
+
repeat?: number;
|
|
14215
|
+
/**
|
|
14216
|
+
* How many minutes a run of this plan may take before it is timed out; omit for the service's default.
|
|
14217
|
+
*/
|
|
14218
|
+
timeoutMinutes?: number;
|
|
14219
|
+
};
|
|
14220
|
+
/**
|
|
14221
|
+
* One test plan — the standing decision about which cases a stage must run and whether their result blocks that stage.
|
|
14222
|
+
*/
|
|
14223
|
+
export type DevopsPlan = {
|
|
14224
|
+
/**
|
|
14225
|
+
* Plan identifier used for later reads, updates and runs that name this plan.
|
|
14226
|
+
*/
|
|
14227
|
+
id: string;
|
|
14228
|
+
/**
|
|
14229
|
+
* The resource type of this answer, always test_plan; use it to tell answers apart when several kinds are handled together.
|
|
14230
|
+
*/
|
|
14231
|
+
object: 'test_plan';
|
|
14232
|
+
/**
|
|
14233
|
+
* RFC 3339 UTC time the plan was created.
|
|
14234
|
+
*/
|
|
14235
|
+
createTime: string;
|
|
14236
|
+
/**
|
|
14237
|
+
* RFC 3339 UTC time the plan or its pause state last changed.
|
|
14238
|
+
*/
|
|
14239
|
+
updateTime: string;
|
|
14240
|
+
/**
|
|
14241
|
+
* Canonical Console link for this plan, for putting a human-readable reference in a card or a message.
|
|
14242
|
+
*/
|
|
14243
|
+
viewerUrl: string;
|
|
14244
|
+
/**
|
|
14245
|
+
* The project this plan belongs to, from the project list or create answer.
|
|
14246
|
+
*/
|
|
14247
|
+
project: string;
|
|
14248
|
+
/**
|
|
14249
|
+
* Short human-chosen name unique inside the project, used to refer to the plan in conversation and in a run's record.
|
|
14250
|
+
*/
|
|
14251
|
+
key: string;
|
|
14252
|
+
/**
|
|
14253
|
+
* Display title of the plan, shown wherever the plan is listed.
|
|
14254
|
+
*/
|
|
14255
|
+
title: string;
|
|
14256
|
+
/**
|
|
14257
|
+
* Which stage of delivery this plan belongs to, which decides when it is expected to run and how long it may take.
|
|
14258
|
+
*/
|
|
14259
|
+
stage: 'dev' | 'presubmit' | 'postsubmit' | 'nightly' | 'production';
|
|
14260
|
+
trigger: DevopsPlanTrigger;
|
|
14261
|
+
selector: DevopsCaseSelector;
|
|
14262
|
+
/**
|
|
14263
|
+
* The environment this plan runs against, required by a merge or promotion gate and absent for plans that need none.
|
|
14264
|
+
*/
|
|
14265
|
+
environment: string;
|
|
14266
|
+
/**
|
|
14267
|
+
* Whether the plan's result blocks a stage. Merge blocks landing a change, promotion blocks carrying a release to an environment, observation only records, none is advisory.
|
|
14268
|
+
*/
|
|
14269
|
+
gate: 'merge' | 'promotion' | 'observation' | 'none';
|
|
14270
|
+
/**
|
|
14271
|
+
* How many times each selected case runs in one run; more than one is how a flake is told apart from a real failure.
|
|
14272
|
+
*/
|
|
14273
|
+
repeat: number;
|
|
14274
|
+
/**
|
|
14275
|
+
* How many minutes a run of this plan may take before it is timed out and its result recorded as timed out.
|
|
14276
|
+
*/
|
|
14277
|
+
timeoutMinutes: number;
|
|
14278
|
+
/**
|
|
14279
|
+
* False stops this plan from being selected by its trigger; it is a quieter form of pause that carries no reason.
|
|
14280
|
+
*/
|
|
14281
|
+
enabled: boolean;
|
|
14282
|
+
/**
|
|
14283
|
+
* Present while the plan is paused, carrying who paused it, why and until when; absent when the plan is running normally.
|
|
14284
|
+
*/
|
|
14285
|
+
paused?: {
|
|
14286
|
+
/**
|
|
14287
|
+
* Why the plan was paused, as given by whoever paused it.
|
|
14288
|
+
*/
|
|
14289
|
+
reason?: string;
|
|
14290
|
+
by?: DevopsActor;
|
|
14291
|
+
/**
|
|
14292
|
+
* RFC 3339 UTC time the plan resumes by itself; absent when it stays paused until resumed by hand.
|
|
14293
|
+
*/
|
|
14294
|
+
until?: string;
|
|
14295
|
+
};
|
|
14296
|
+
/**
|
|
14297
|
+
* RFC 3339 UTC time the plan's trigger next fires it; absent for plans without a schedule.
|
|
14298
|
+
*/
|
|
14299
|
+
nextRunTime?: string;
|
|
14300
|
+
};
|
|
14301
|
+
/**
|
|
14302
|
+
* A patch to a plan; only the fields present inside plan are changed.
|
|
14303
|
+
*/
|
|
14304
|
+
export type DevopsPlanUpdate = {
|
|
14305
|
+
/**
|
|
14306
|
+
* 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.
|
|
14307
|
+
*/
|
|
14308
|
+
plan: {
|
|
14309
|
+
/**
|
|
14310
|
+
* New display title, shown wherever the plan is listed.
|
|
14311
|
+
*/
|
|
14312
|
+
title?: string;
|
|
14313
|
+
trigger?: DevopsPlanTrigger;
|
|
14314
|
+
selector?: DevopsCaseSelector;
|
|
14315
|
+
/**
|
|
14316
|
+
* New gate; a merge or promotion gate needs the plan's environment to be set, or the update is refused.
|
|
14317
|
+
*/
|
|
14318
|
+
gate?: 'merge' | 'promotion' | 'observation' | 'none';
|
|
14319
|
+
/**
|
|
14320
|
+
* New number of times each selected case runs in one run.
|
|
14321
|
+
*/
|
|
14322
|
+
repeat?: number;
|
|
14323
|
+
/**
|
|
14324
|
+
* New number of minutes a run of this plan may take before it is timed out.
|
|
14325
|
+
*/
|
|
14326
|
+
timeoutMinutes?: number;
|
|
14327
|
+
/**
|
|
14328
|
+
* False stops the plan from being selected by its trigger without pausing it; true makes it eligible again.
|
|
14329
|
+
*/
|
|
14330
|
+
enabled?: boolean;
|
|
14331
|
+
};
|
|
14332
|
+
/**
|
|
14333
|
+
* 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.
|
|
14334
|
+
*/
|
|
14335
|
+
updateMask?: string;
|
|
14336
|
+
};
|
|
14337
|
+
/**
|
|
14338
|
+
* The answer to a plan deletion.
|
|
14339
|
+
*/
|
|
14340
|
+
export type DevopsPlanDeleted = {
|
|
14341
|
+
/**
|
|
14342
|
+
* True once the plan no longer schedules runs; it is the only outcome of this call.
|
|
14343
|
+
*/
|
|
14344
|
+
deleted: boolean;
|
|
14345
|
+
};
|
|
14346
|
+
/**
|
|
14347
|
+
* The pause to record on a plan.
|
|
14348
|
+
*/
|
|
14349
|
+
export type DevopsPlanPause = {
|
|
14350
|
+
/**
|
|
14351
|
+
* Why the plan is being paused; it is stored on the plan and read by whoever finds it stopped.
|
|
14352
|
+
*/
|
|
14353
|
+
reason: string;
|
|
14354
|
+
/**
|
|
14355
|
+
* RFC 3339 UTC time the plan resumes by itself; omit it to stay paused until someone resumes it.
|
|
14356
|
+
*/
|
|
14357
|
+
until?: string;
|
|
14358
|
+
};
|
|
14359
|
+
/**
|
|
14360
|
+
* One page of test runs, with the cursor that reaches the following page.
|
|
14361
|
+
*/
|
|
14362
|
+
export type DevopsRunPage = {
|
|
14363
|
+
/**
|
|
14364
|
+
* The runs on this page, newest first.
|
|
14365
|
+
*/
|
|
14366
|
+
items: Array<DevopsRun>;
|
|
14367
|
+
/**
|
|
14368
|
+
* How many items match this list's project and filter across every page, so a dashboard can show a total without walking the pages. Returned on the first page only; a page reached by a pageToken omits it, so read it from the first request rather than expecting it on every page.
|
|
14369
|
+
*/
|
|
14370
|
+
totalSize?: number;
|
|
14371
|
+
/**
|
|
14372
|
+
* Cursor for the next page; an empty string means this was the last page, which is the only signal a list is finished.
|
|
14373
|
+
*/
|
|
14374
|
+
nextPageToken: string;
|
|
14375
|
+
};
|
|
14376
|
+
/**
|
|
14377
|
+
* The run to create: which commit to test, and what decides the cases.
|
|
14378
|
+
*/
|
|
14379
|
+
export type DevopsRunCreate = {
|
|
14380
|
+
ref: DevopsRunRef;
|
|
14381
|
+
/**
|
|
14382
|
+
* 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.
|
|
14383
|
+
*/
|
|
14384
|
+
plan?: string;
|
|
14385
|
+
/**
|
|
14386
|
+
* 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.
|
|
14387
|
+
*/
|
|
14388
|
+
selector?: {
|
|
14389
|
+
/**
|
|
14390
|
+
* Keep only cases of these declared sizes; omit to allow every size.
|
|
14391
|
+
*/
|
|
14392
|
+
sizes?: Array<'small' | 'medium' | 'large'>;
|
|
14393
|
+
/**
|
|
14394
|
+
* Keep only cases carrying at least one of these tags.
|
|
14395
|
+
*/
|
|
14396
|
+
anyTags?: Array<string>;
|
|
14397
|
+
/**
|
|
14398
|
+
* Keep only cases in these repository packages.
|
|
14399
|
+
*/
|
|
14400
|
+
packages?: Array<string>;
|
|
14401
|
+
/**
|
|
14402
|
+
* Run exactly these cases, named by id; the usual way to re-run a known failure.
|
|
14403
|
+
*/
|
|
14404
|
+
cases?: Array<string>;
|
|
14405
|
+
};
|
|
14406
|
+
/**
|
|
14407
|
+
* Environment to run against; it decides whether production-only cases become selectable. Omit it for a run that needs no environment.
|
|
14408
|
+
*/
|
|
14409
|
+
environment?: string;
|
|
14410
|
+
/**
|
|
14411
|
+
* How many times each selected case runs, which is how a flake is told apart from a real failure; omit for once.
|
|
14412
|
+
*/
|
|
14413
|
+
repeat?: number;
|
|
14414
|
+
/**
|
|
14415
|
+
* 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.
|
|
14416
|
+
*/
|
|
14417
|
+
waitUntil?: 'queued' | 'started' | 'finished';
|
|
14418
|
+
/**
|
|
14419
|
+
* 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.
|
|
14420
|
+
*/
|
|
14421
|
+
executor?: 'cloud' | 'external';
|
|
14422
|
+
/**
|
|
14423
|
+
* 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.
|
|
14424
|
+
*/
|
|
14425
|
+
requestId?: string;
|
|
14426
|
+
};
|
|
14427
|
+
/**
|
|
14428
|
+
* One execution of tests against one commit: what it selected, how far it has got, and what it concluded.
|
|
14429
|
+
*/
|
|
14430
|
+
export type DevopsRun = {
|
|
14431
|
+
/**
|
|
14432
|
+
* Run identifier used for later reads, cancellations and execution listings.
|
|
14433
|
+
*/
|
|
14434
|
+
id: string;
|
|
14435
|
+
/**
|
|
14436
|
+
* The resource type of this answer, always test_run; use it to tell answers apart when several kinds are handled together.
|
|
14437
|
+
*/
|
|
14438
|
+
object: 'test_run';
|
|
14439
|
+
/**
|
|
14440
|
+
* RFC 3339 UTC time the run was created, which is when its selection was fixed.
|
|
14441
|
+
*/
|
|
14442
|
+
createTime: string;
|
|
14443
|
+
/**
|
|
14444
|
+
* RFC 3339 UTC time the run's state or counts last changed.
|
|
14445
|
+
*/
|
|
14446
|
+
updateTime: string;
|
|
14447
|
+
/**
|
|
14448
|
+
* Canonical Console link for this run, for putting a human-readable reference in a card or a message.
|
|
14449
|
+
*/
|
|
14450
|
+
viewerUrl: string;
|
|
14451
|
+
/**
|
|
14452
|
+
* The project this run belongs to, from the project list or create answer.
|
|
14453
|
+
*/
|
|
14454
|
+
project: string;
|
|
14455
|
+
/**
|
|
14456
|
+
* The plan that selected this run's cases; absent for a run created with an ad-hoc selector.
|
|
14457
|
+
*/
|
|
14458
|
+
plan: string;
|
|
14459
|
+
/**
|
|
14460
|
+
* What started this run, which is how a run is attributed back to the event that wanted it.
|
|
14461
|
+
*/
|
|
14462
|
+
trigger: 'manual' | 'pull_request' | 'merge_group' | 'promotion' | 'schedule' | 'retry' | 'fix_attempt';
|
|
14463
|
+
ref: DevopsRunRef;
|
|
14464
|
+
/**
|
|
14465
|
+
* The environment the run executed against; absent when the run needed none. It decides whether production-only cases are selectable.
|
|
14466
|
+
*/
|
|
14467
|
+
environment: string;
|
|
14468
|
+
/**
|
|
14469
|
+
* Where the cases actually ran. Cloud means Praxis provisioned the execution; external means a caller ran them and uploaded a report.
|
|
14470
|
+
*/
|
|
14471
|
+
executor: 'cloud' | 'external';
|
|
14472
|
+
selection: DevopsSelection;
|
|
14473
|
+
/**
|
|
14474
|
+
* How many times each selected case ran in this run; more than one means a flake can be told apart from a real failure.
|
|
14475
|
+
*/
|
|
14476
|
+
repeat: number;
|
|
14477
|
+
/**
|
|
14478
|
+
* How far the run has got, from being queued to being finished; finished is the only state where the result is final.
|
|
14479
|
+
*/
|
|
14480
|
+
state: 'queued' | 'provisioning' | 'running' | 'reporting' | 'finished';
|
|
14481
|
+
/**
|
|
14482
|
+
* The verdict. Pending means no verdict yet, not success; cancelled and timed_out are outcomes of the run itself, not of the cases.
|
|
14483
|
+
*/
|
|
14484
|
+
result: 'pending' | 'passed' | 'failed' | 'errored' | 'cancelled' | 'timed_out';
|
|
14485
|
+
counts: DevopsResultCounts;
|
|
14486
|
+
/**
|
|
14487
|
+
* The external tool that produced the results, present for runs whose results arrived as an uploaded report.
|
|
14488
|
+
*/
|
|
14489
|
+
tool?: {
|
|
14490
|
+
/**
|
|
14491
|
+
* Name of the tool that ran the cases, as the uploader declared it.
|
|
14492
|
+
*/
|
|
14493
|
+
name?: string;
|
|
14494
|
+
/**
|
|
14495
|
+
* Version of that tool, when the uploader declared one; absent otherwise.
|
|
14496
|
+
*/
|
|
14497
|
+
version?: string;
|
|
14498
|
+
};
|
|
14499
|
+
/**
|
|
14500
|
+
* How many parallel pieces the run's cases were split into, which bounds how long the run takes.
|
|
14501
|
+
*/
|
|
14502
|
+
shards: number;
|
|
14503
|
+
requestedBy: DevopsActor;
|
|
14504
|
+
/**
|
|
14505
|
+
* The earlier run this one re-runs cases from; absent unless the trigger is a retry.
|
|
14506
|
+
*/
|
|
14507
|
+
retryOf?: string;
|
|
14508
|
+
/**
|
|
14509
|
+
* RFC 3339 UTC time execution actually began; absent while the run is still queued.
|
|
14510
|
+
*/
|
|
14511
|
+
startTime?: string;
|
|
14512
|
+
/**
|
|
14513
|
+
* RFC 3339 UTC time the run stopped, whether it finished, failed, was cancelled or timed out; absent while it is still going.
|
|
14514
|
+
*/
|
|
14515
|
+
endTime?: string;
|
|
14516
|
+
/**
|
|
14517
|
+
* Why the run was cancelled, as given by whoever cancelled it; present only for cancelled runs.
|
|
14518
|
+
*/
|
|
14519
|
+
cancelReason?: string;
|
|
14520
|
+
/**
|
|
14521
|
+
* What the executor reported when the run errored; present only for errored runs, and it concerns the run, not the cases.
|
|
14522
|
+
*/
|
|
14523
|
+
errorMessage?: string;
|
|
14524
|
+
/**
|
|
14525
|
+
* Present only when the read asked to expand failedExecutions; it lists this run's non-passed executions so a second call is not needed.
|
|
14526
|
+
*/
|
|
14527
|
+
failedExecutions?: Array<DevopsExecution>;
|
|
14528
|
+
};
|
|
14529
|
+
/**
|
|
14530
|
+
* The cancellation to record on a run.
|
|
14531
|
+
*/
|
|
14532
|
+
export type DevopsRunCancel = {
|
|
14533
|
+
/**
|
|
14534
|
+
* Why the run is being cancelled; it is stored on the run and is what a later reader finds instead of a result.
|
|
14535
|
+
*/
|
|
14536
|
+
reason: string;
|
|
14537
|
+
};
|
|
14538
|
+
/**
|
|
14539
|
+
* One page of executions inside a run, with the cursor that reaches the following page.
|
|
14540
|
+
*/
|
|
14541
|
+
export type DevopsExecutionPage = {
|
|
14542
|
+
/**
|
|
14543
|
+
* The executions on this page.
|
|
14544
|
+
*/
|
|
14545
|
+
items: Array<DevopsExecution>;
|
|
14546
|
+
/**
|
|
14547
|
+
* Cursor for the next page; an empty string means this was the last page, which is the only signal a list is finished.
|
|
14548
|
+
*/
|
|
14549
|
+
nextPageToken: string;
|
|
14550
|
+
};
|
|
14551
|
+
/**
|
|
14552
|
+
* One case's result inside one run, with every attempt it took, which is what tells a flake apart from a failure.
|
|
14553
|
+
*/
|
|
14554
|
+
export type DevopsExecution = {
|
|
14555
|
+
/**
|
|
14556
|
+
* The run this execution belongs to, from the run list or create answer.
|
|
14557
|
+
*/
|
|
14558
|
+
run: string;
|
|
14559
|
+
/**
|
|
14560
|
+
* The case that was executed, retrievable with a case read for its declaration and state.
|
|
14561
|
+
*/
|
|
14562
|
+
case: string;
|
|
14563
|
+
/**
|
|
14564
|
+
* The case's title as it read when this run executed it, which may predate a later rename.
|
|
14565
|
+
*/
|
|
14566
|
+
title: string;
|
|
14567
|
+
/**
|
|
14568
|
+
* The repository package the executed case lives in.
|
|
14569
|
+
*/
|
|
14570
|
+
package: string;
|
|
14571
|
+
/**
|
|
14572
|
+
* Path of the file that declared the case, relative to the repository root.
|
|
14573
|
+
*/
|
|
14574
|
+
file?: string;
|
|
14575
|
+
/**
|
|
14576
|
+
* How this execution ended. A skipped case neither passes nor fails the run.
|
|
14577
|
+
*/
|
|
14578
|
+
status: 'passed' | 'failed' | 'skipped' | 'pending' | 'other' | 'timed_out' | 'cancelled';
|
|
14579
|
+
/**
|
|
14580
|
+
* True when the case failed and then passed on a retry inside the same run — the fact behind the run's flaky count.
|
|
14581
|
+
*/
|
|
14582
|
+
flaky: boolean;
|
|
14583
|
+
/**
|
|
14584
|
+
* True when the case was quarantined at the time of the run, so its failure was recorded but did not fail the verdict.
|
|
14585
|
+
*/
|
|
14586
|
+
quarantined: boolean;
|
|
14587
|
+
/**
|
|
14588
|
+
* How long the case took in milliseconds, summed over its attempts.
|
|
14589
|
+
*/
|
|
14590
|
+
durationMs: number;
|
|
14591
|
+
/**
|
|
14592
|
+
* Every attempt this case took, in order; more than one is what a retry or a flake looks like.
|
|
14593
|
+
*/
|
|
14594
|
+
attempts: Array<DevopsAttempt>;
|
|
14595
|
+
/**
|
|
14596
|
+
* The failure message the tool reported, as written; absent for executions that did not fail.
|
|
14597
|
+
*/
|
|
14598
|
+
message?: string;
|
|
14599
|
+
/**
|
|
14600
|
+
* The step that failed, when the tool identifies one; absent for tools that report only a message.
|
|
14601
|
+
*/
|
|
14602
|
+
failedStep?: string;
|
|
14603
|
+
/**
|
|
14604
|
+
* Stack trace or equivalent diagnostic text; absent when the tool reported none.
|
|
14605
|
+
*/
|
|
14606
|
+
trace?: string;
|
|
14607
|
+
/**
|
|
14608
|
+
* Files recorded as evidence for this execution, such as screenshots or reports; empty when the tool attached none.
|
|
14609
|
+
*/
|
|
14610
|
+
evidence: Array<DevopsEvidence>;
|
|
14611
|
+
/**
|
|
14612
|
+
* True when the executed case was not in the catalog at that commit, so a result exists for a case the project no longer knows; it is surfaced rather than dropped.
|
|
14613
|
+
*/
|
|
14614
|
+
uncatalogued: boolean;
|
|
14615
|
+
};
|
|
14616
|
+
/**
|
|
14617
|
+
* An externally produced test report to record against a run.
|
|
14618
|
+
*/
|
|
14619
|
+
export type DevopsReportUploadRequest = {
|
|
14620
|
+
/**
|
|
14621
|
+
* Your own identifier for this report. Uploading the same id again is idempotent and counts once, so a retry after a timeout is safe.
|
|
14622
|
+
*/
|
|
14623
|
+
reportId: string;
|
|
14624
|
+
/**
|
|
14625
|
+
* Which report format the document is in; it decides how the document is parsed.
|
|
14626
|
+
*/
|
|
14627
|
+
format: 'ctrf' | 'junit';
|
|
14628
|
+
ref: DevopsRunRef;
|
|
14629
|
+
/**
|
|
14630
|
+
* 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.
|
|
14631
|
+
*/
|
|
14632
|
+
report: string;
|
|
14633
|
+
};
|
|
14634
|
+
/**
|
|
14635
|
+
* The stored report, so the caller can confirm what was recorded and how much of it.
|
|
14636
|
+
*/
|
|
14637
|
+
export type DevopsReportUpload = {
|
|
14638
|
+
/**
|
|
14639
|
+
* Identifier of the stored report, for reference when reconciling an upload with a run.
|
|
14640
|
+
*/
|
|
14641
|
+
id: string;
|
|
14642
|
+
/**
|
|
14643
|
+
* The run this report was folded into, whose counts were recomputed from it.
|
|
14644
|
+
*/
|
|
14645
|
+
run: string;
|
|
14646
|
+
/**
|
|
14647
|
+
* The report format that was parsed, echoed back so a caller mixing formats can confirm which one was recorded.
|
|
14648
|
+
*/
|
|
14649
|
+
format: 'ctrf' | 'junit';
|
|
14650
|
+
/**
|
|
14651
|
+
* RFC 3339 UTC time the report was received; a repeat upload of the same reportId keeps the first time.
|
|
14652
|
+
*/
|
|
14653
|
+
receivedTime: string;
|
|
14654
|
+
/**
|
|
14655
|
+
* How many executions this report carried, which is how a caller notices a report that folded in fewer results than expected.
|
|
14656
|
+
*/
|
|
14657
|
+
executionCount: number;
|
|
14658
|
+
/**
|
|
14659
|
+
* How many cases this upload added to the catalog because the report named cases the catalog did not have yet. Zero on a repeat upload of the same reportId: the cases were catalogued by its first acceptance, and a case is never catalogued twice.
|
|
14660
|
+
*/
|
|
14661
|
+
autoCataloged?: number;
|
|
14662
|
+
/**
|
|
14663
|
+
* The file holding this report's original bytes, which is how a caller fetches the document a run's results were computed from. Null only for a report stored before reports had files.
|
|
14664
|
+
*/
|
|
14665
|
+
file?: string;
|
|
14666
|
+
};
|
|
13595
14667
|
export type KnowledgeNativeVectorStore = {
|
|
13596
14668
|
/**
|
|
13597
14669
|
* Resource ID.
|
|
@@ -25877,6 +26949,40 @@ export type CutMediaRef = {
|
|
|
25877
26949
|
*/
|
|
25878
26950
|
asset_id: string;
|
|
25879
26951
|
};
|
|
26952
|
+
/**
|
|
26953
|
+
* Loudness of one rendered mix, measured with ffmpeg ebur128 over the range (ADR-071). The shape is the asset-side loudness shape (BS.1770-4); only the gating series it does not need is absent.
|
|
26954
|
+
*/
|
|
26955
|
+
export type CutMixLoudness = {
|
|
26956
|
+
/**
|
|
26957
|
+
* Measurement standard the numbers follow. BS.1770-4 is ITU-R BS.1770-4, the loudness and true-peak standard every number here is measured to.
|
|
26958
|
+
*/
|
|
26959
|
+
standard: 'BS.1770-4';
|
|
26960
|
+
/**
|
|
26961
|
+
* Integrated loudness over the range, in LUFS. Silence is measured at the -60 LUFS floor.
|
|
26962
|
+
*/
|
|
26963
|
+
integrated_lufs: number;
|
|
26964
|
+
/**
|
|
26965
|
+
* Loudness range, in LU.
|
|
26966
|
+
*/
|
|
26967
|
+
range_lu: number;
|
|
26968
|
+
/**
|
|
26969
|
+
* Loudest true peak over the range, in dBTP.
|
|
26970
|
+
*/
|
|
26971
|
+
true_peak_dbtp: number;
|
|
26972
|
+
/**
|
|
26973
|
+
* The measurement over time, one point per whole second — the interval at which the asset-side series is fixed too.
|
|
26974
|
+
*/
|
|
26975
|
+
series: {
|
|
26976
|
+
/**
|
|
26977
|
+
* Seconds between points. 1 is the only interval a measurement reports, the same one the asset-side loudness series is fixed at.
|
|
26978
|
+
*/
|
|
26979
|
+
interval_sec: 1;
|
|
26980
|
+
/**
|
|
26981
|
+
* Momentary loudness (a 400 ms window) at the end of each whole second, in LUFS. The first whole second is the first measurable one; a second holding no signal reads the -60 floor.
|
|
26982
|
+
*/
|
|
26983
|
+
momentary_lufs: Array<number>;
|
|
26984
|
+
};
|
|
26985
|
+
};
|
|
25880
26986
|
/**
|
|
25881
26987
|
* Rendering options for an exported video.
|
|
25882
26988
|
*/
|
|
@@ -25898,9 +27004,9 @@ export type CutExportOutput = {
|
|
|
25898
27004
|
*/
|
|
25899
27005
|
fps?: number;
|
|
25900
27006
|
/**
|
|
25901
|
-
* draft
|
|
27007
|
+
* Compression of the encoded video, like Shotstack quality. medium is the default and balances render, upload and storage at about 70% of the bitrate of high. draft is about 40% of high, for review renders. high is for delivery that will be transcoded again or needs the most detail.
|
|
25902
27008
|
*/
|
|
25903
|
-
quality?: 'draft' | 'high';
|
|
27009
|
+
quality?: 'draft' | 'medium' | 'high';
|
|
25904
27010
|
};
|
|
25905
27011
|
export type DatabaseField = {
|
|
25906
27012
|
/**
|
|
@@ -26028,6 +27134,300 @@ export type DatabaseField = {
|
|
|
26028
27134
|
multiple: boolean;
|
|
26029
27135
|
};
|
|
26030
27136
|
};
|
|
27137
|
+
/**
|
|
27138
|
+
* Rolling result counts for one case over a fixed window, recomputed rather than accumulated, so a fixed case's numbers recover on their own.
|
|
27139
|
+
*/
|
|
27140
|
+
export type DevopsCaseStats = {
|
|
27141
|
+
/**
|
|
27142
|
+
* The trailing period these numbers cover; the counts are always relative to now, not to a catalog commit.
|
|
27143
|
+
*/
|
|
27144
|
+
window: '7d' | '30d';
|
|
27145
|
+
/**
|
|
27146
|
+
* How many times the case ran in this window, counting every attempt of every run.
|
|
27147
|
+
*/
|
|
27148
|
+
executions: number;
|
|
27149
|
+
/**
|
|
27150
|
+
* How many of those executions failed, including failures that later passed on retry.
|
|
27151
|
+
*/
|
|
27152
|
+
failures: number;
|
|
27153
|
+
/**
|
|
27154
|
+
* How many executions failed and then passed on a retry inside the same run — the evidence behind a flaky health.
|
|
27155
|
+
*/
|
|
27156
|
+
flakes: number;
|
|
27157
|
+
/**
|
|
27158
|
+
* Failures divided by executions in this window, from 0 to 1; 0 when the case did not run.
|
|
27159
|
+
*/
|
|
27160
|
+
failureRate: number;
|
|
27161
|
+
/**
|
|
27162
|
+
* RFC 3339 UTC time of the most recent failure in this window; absent when the case did not fail.
|
|
27163
|
+
*/
|
|
27164
|
+
lastFailureTime?: string;
|
|
27165
|
+
/**
|
|
27166
|
+
* How many distinct pull requests saw this case fail in this window, which is how much the failure is costing delivery.
|
|
27167
|
+
*/
|
|
27168
|
+
impactedPullRequests: number;
|
|
27169
|
+
};
|
|
27170
|
+
/**
|
|
27171
|
+
* The case's current test state and the rule that put it there, so an exclusion is auditable rather than assumed.
|
|
27172
|
+
*/
|
|
27173
|
+
export type DevopsCaseState = {
|
|
27174
|
+
/**
|
|
27175
|
+
* The state in force. Quarantined means the case still runs and still records its result, but its failure does not fail the run.
|
|
27176
|
+
*/
|
|
27177
|
+
name: 'active' | 'quarantined' | 'disabled' | 'fixed';
|
|
27178
|
+
/**
|
|
27179
|
+
* RFC 3339 UTC time this state began, which is how long an exclusion has been in force.
|
|
27180
|
+
*/
|
|
27181
|
+
since: string;
|
|
27182
|
+
/**
|
|
27183
|
+
* The rule that set the state — a person acting by hand, or an automatic rule such as a failure rate or an expiring quarantine.
|
|
27184
|
+
*/
|
|
27185
|
+
policy: 'manual' | 'failure_rate' | 'branch_flake' | 'days_active' | 'fixed_quiet' | 'fix_attempt' | 'expired';
|
|
27186
|
+
actor: DevopsActor;
|
|
27187
|
+
/**
|
|
27188
|
+
* Why the state was set, as recorded; absent for automatic transitions that carry no note.
|
|
27189
|
+
*/
|
|
27190
|
+
reason?: string;
|
|
27191
|
+
/**
|
|
27192
|
+
* The work item that owns this exclusion; a quarantine that outlives its ticket is reported as an expired exclusion.
|
|
27193
|
+
*/
|
|
27194
|
+
ticket?: string;
|
|
27195
|
+
/**
|
|
27196
|
+
* RFC 3339 UTC time this state lapses and the case returns to active; absent when it stays until changed by hand.
|
|
27197
|
+
*/
|
|
27198
|
+
expireTime?: string;
|
|
27199
|
+
/**
|
|
27200
|
+
* The repair attempt being watched, present only while the state came from a fix attempt.
|
|
27201
|
+
*/
|
|
27202
|
+
fixAttempt?: {
|
|
27203
|
+
/**
|
|
27204
|
+
* The run that attempted the repair; read it to see whether the fix held.
|
|
27205
|
+
*/
|
|
27206
|
+
run?: string;
|
|
27207
|
+
/**
|
|
27208
|
+
* The commit the repair attempt ran at, which is the code the grace period is judging.
|
|
27209
|
+
*/
|
|
27210
|
+
commit?: string;
|
|
27211
|
+
/**
|
|
27212
|
+
* RFC 3339 UTC time the grace period ends and the attempt is judged.
|
|
27213
|
+
*/
|
|
27214
|
+
graceUntil?: string;
|
|
27215
|
+
};
|
|
27216
|
+
};
|
|
27217
|
+
/**
|
|
27218
|
+
* What starts a run of this plan. Exactly one kind applies; the fields a kind needs are the ones it carries.
|
|
27219
|
+
*/
|
|
27220
|
+
export type DevopsPlanTrigger = {
|
|
27221
|
+
/**
|
|
27222
|
+
* Which event starts the plan, which decides the other fields present and when the plan runs without anyone asking.
|
|
27223
|
+
*/
|
|
27224
|
+
kind: 'manual' | 'pull_request' | 'merge_group' | 'promotion' | 'schedule';
|
|
27225
|
+
/**
|
|
27226
|
+
* The environment whose promotion starts the plan; present only for the promotion kind.
|
|
27227
|
+
*/
|
|
27228
|
+
environment?: string;
|
|
27229
|
+
/**
|
|
27230
|
+
* Five-field cron expression for the schedule kind, evaluated in the declared time zone.
|
|
27231
|
+
*/
|
|
27232
|
+
cron?: string;
|
|
27233
|
+
/**
|
|
27234
|
+
* IANA time zone the cron expression is read in, for example Asia/Shanghai; present only for the schedule kind.
|
|
27235
|
+
*/
|
|
27236
|
+
timeZone?: string;
|
|
27237
|
+
};
|
|
27238
|
+
/**
|
|
27239
|
+
* 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.
|
|
27240
|
+
*/
|
|
27241
|
+
export type DevopsCaseSelector = {
|
|
27242
|
+
/**
|
|
27243
|
+
* Keep only cases of these declared sizes; omit to allow every size.
|
|
27244
|
+
*/
|
|
27245
|
+
sizes?: Array<'small' | 'medium' | 'large'>;
|
|
27246
|
+
/**
|
|
27247
|
+
* Keep only cases carrying at least one of these purpose tags; omit to allow every purpose.
|
|
27248
|
+
*/
|
|
27249
|
+
purposes?: Array<'smoke' | 'regression' | 'acceptance' | 'contract' | 'performance'>;
|
|
27250
|
+
/**
|
|
27251
|
+
* Keep only cases from these test frameworks; omit to allow every framework.
|
|
27252
|
+
*/
|
|
27253
|
+
frameworks?: Array<'gherkin' | 'bun' | 'vitest' | 'jest' | 'pytest' | 'go' | 'playwright'>;
|
|
27254
|
+
/**
|
|
27255
|
+
* Keep only cases carrying every one of these tags; use it to narrow to an area without naming each case.
|
|
27256
|
+
*/
|
|
27257
|
+
allTags?: Array<string>;
|
|
27258
|
+
/**
|
|
27259
|
+
* Keep only cases carrying at least one of these tags; use it to widen across neighbouring areas.
|
|
27260
|
+
*/
|
|
27261
|
+
anyTags?: Array<string>;
|
|
27262
|
+
/**
|
|
27263
|
+
* Keep only cases in these repository packages; the package is the directory the file lives in.
|
|
27264
|
+
*/
|
|
27265
|
+
packages?: Array<string>;
|
|
27266
|
+
/**
|
|
27267
|
+
* Run exactly these cases, named by id; use it to re-run a known failure without widening to its whole area.
|
|
27268
|
+
*/
|
|
27269
|
+
cases?: Array<string>;
|
|
27270
|
+
/**
|
|
27271
|
+
* True keeps only cases declared safe to run against a production environment; use it for a plan whose environment is production.
|
|
27272
|
+
*/
|
|
27273
|
+
prodSafeOnly?: boolean;
|
|
27274
|
+
/**
|
|
27275
|
+
* Present to select only the cases a commit range can affect, the way a presubmit wants it.
|
|
27276
|
+
*/
|
|
27277
|
+
affected?: {
|
|
27278
|
+
/**
|
|
27279
|
+
* The commit the change is measured against; the affected set is what changed between this commit and the run's own commit.
|
|
27280
|
+
*/
|
|
27281
|
+
base?: string;
|
|
27282
|
+
};
|
|
27283
|
+
};
|
|
27284
|
+
/**
|
|
27285
|
+
* Who performed an action, so a state change or a run can be attributed rather than guessed at.
|
|
27286
|
+
*/
|
|
27287
|
+
export type DevopsActor = {
|
|
27288
|
+
/**
|
|
27289
|
+
* What sort of actor this is, which decides how the id should be read.
|
|
27290
|
+
*/
|
|
27291
|
+
kind: 'user' | 'agent' | 'system';
|
|
27292
|
+
/**
|
|
27293
|
+
* Identifier of the actor within its kind, such as a user id for a person.
|
|
27294
|
+
*/
|
|
27295
|
+
id: string;
|
|
27296
|
+
/**
|
|
27297
|
+
* Display name for the actor at the time, so a record reads the way it did when it was written; absent when none was known.
|
|
27298
|
+
*/
|
|
27299
|
+
label?: string;
|
|
27300
|
+
};
|
|
27301
|
+
/**
|
|
27302
|
+
* The exact revision a run tested. A commit is always named, because a run without one has nothing to report against.
|
|
27303
|
+
*/
|
|
27304
|
+
export type DevopsRunRef = {
|
|
27305
|
+
/**
|
|
27306
|
+
* Branch the commit was reached through, for display and attribution; it does not pin the run, the commit does.
|
|
27307
|
+
*/
|
|
27308
|
+
branch?: string;
|
|
27309
|
+
/**
|
|
27310
|
+
* Full 40-character commit sha the run tested, which is what its result is evidence about.
|
|
27311
|
+
*/
|
|
27312
|
+
commit: string;
|
|
27313
|
+
/**
|
|
27314
|
+
* The proposed change whose testing started this run; absent for runs started by a schedule or by hand.
|
|
27315
|
+
*/
|
|
27316
|
+
pullRequest?: string;
|
|
27317
|
+
/**
|
|
27318
|
+
* Commit at the head of the group being landed together, when the run tested a merged candidate rather than one change.
|
|
27319
|
+
*/
|
|
27320
|
+
mergeGroupHead?: string;
|
|
27321
|
+
/**
|
|
27322
|
+
* The release this run is evidence about; absent unless the run belongs to a release.
|
|
27323
|
+
*/
|
|
27324
|
+
release?: string;
|
|
27325
|
+
/**
|
|
27326
|
+
* The promotion this run belongs to; absent unless the run was started to guard or observe one.
|
|
27327
|
+
*/
|
|
27328
|
+
promotion?: string;
|
|
27329
|
+
};
|
|
27330
|
+
/**
|
|
27331
|
+
* What the run decided to test, and why the set came out that size — the record that explains an unexpectedly small run.
|
|
27332
|
+
*/
|
|
27333
|
+
export type DevopsSelection = {
|
|
27334
|
+
selector: DevopsCaseSelector;
|
|
27335
|
+
/**
|
|
27336
|
+
* How many cases the run selected; compare it with the catalog's case count when a run looks too small.
|
|
27337
|
+
*/
|
|
27338
|
+
selectedCount: number;
|
|
27339
|
+
/**
|
|
27340
|
+
* Which rule produced this set — a plan's selector, an explicit list, or the affected set of a commit range.
|
|
27341
|
+
*/
|
|
27342
|
+
reason: 'affected' | 'plan' | 'explicit';
|
|
27343
|
+
/**
|
|
27344
|
+
* What the affected selection reacted to — the changed packages, files or cases; present only when reason is affected.
|
|
27345
|
+
*/
|
|
27346
|
+
affectedBy?: Array<string>;
|
|
27347
|
+
};
|
|
27348
|
+
/**
|
|
27349
|
+
* How the run's executions came out. Failed counts failures that decide the verdict, so a quarantined failure is reported separately rather than hidden.
|
|
27350
|
+
*/
|
|
27351
|
+
export type DevopsResultCounts = {
|
|
27352
|
+
/**
|
|
27353
|
+
* Executions that passed, counting a case that passed on a retry as passed.
|
|
27354
|
+
*/
|
|
27355
|
+
passed: number;
|
|
27356
|
+
/**
|
|
27357
|
+
* Executions that failed and counted against the run; quarantined failures are not included here.
|
|
27358
|
+
*/
|
|
27359
|
+
failed: number;
|
|
27360
|
+
/**
|
|
27361
|
+
* Executions that failed and then passed on a retry inside this run.
|
|
27362
|
+
*/
|
|
27363
|
+
flaky: number;
|
|
27364
|
+
/**
|
|
27365
|
+
* Selected executions the tool reported as skipped; they neither pass nor fail the run.
|
|
27366
|
+
*/
|
|
27367
|
+
skipped: number;
|
|
27368
|
+
/**
|
|
27369
|
+
* Selected executions that have not reported yet, which is why a run may still change its result.
|
|
27370
|
+
*/
|
|
27371
|
+
pending: number;
|
|
27372
|
+
/**
|
|
27373
|
+
* Executions reported under a status outside the known set, kept visible instead of being folded into passed or failed.
|
|
27374
|
+
*/
|
|
27375
|
+
other: number;
|
|
27376
|
+
/**
|
|
27377
|
+
* Failures from quarantined cases; they are recorded but do not fail the run, so they explain a failed case that did not fail the verdict.
|
|
27378
|
+
*/
|
|
27379
|
+
quarantinedFailures: number;
|
|
27380
|
+
};
|
|
27381
|
+
/**
|
|
27382
|
+
* One try at a case inside a run, so a retry is visible as its own result rather than hidden.
|
|
27383
|
+
*/
|
|
27384
|
+
export type DevopsAttempt = {
|
|
27385
|
+
/**
|
|
27386
|
+
* Which try this was, counting from 1.
|
|
27387
|
+
*/
|
|
27388
|
+
attempt: number;
|
|
27389
|
+
/**
|
|
27390
|
+
* How this try ended, using the same vocabulary as the execution it belongs to.
|
|
27391
|
+
*/
|
|
27392
|
+
status: 'passed' | 'failed' | 'skipped' | 'pending' | 'other' | 'timed_out' | 'cancelled';
|
|
27393
|
+
/**
|
|
27394
|
+
* How long this try took in milliseconds.
|
|
27395
|
+
*/
|
|
27396
|
+
durationMs: number;
|
|
27397
|
+
/**
|
|
27398
|
+
* The failure message for this try; absent when it did not fail.
|
|
27399
|
+
*/
|
|
27400
|
+
message?: string;
|
|
27401
|
+
/**
|
|
27402
|
+
* Diagnostic text for this try, such as a stack trace; absent when none was reported.
|
|
27403
|
+
*/
|
|
27404
|
+
trace?: string;
|
|
27405
|
+
/**
|
|
27406
|
+
* RFC 3339 UTC time this try began; absent when the tool reported no timing.
|
|
27407
|
+
*/
|
|
27408
|
+
startTime?: string;
|
|
27409
|
+
};
|
|
27410
|
+
/**
|
|
27411
|
+
* One file recorded against an execution, such as a screenshot or a coverage report.
|
|
27412
|
+
*/
|
|
27413
|
+
export type DevopsEvidence = {
|
|
27414
|
+
/**
|
|
27415
|
+
* File name as the producing tool wrote it, for display when listing evidence.
|
|
27416
|
+
*/
|
|
27417
|
+
name: string;
|
|
27418
|
+
/**
|
|
27419
|
+
* Media type of the stored file, which decides whether it can be shown inline.
|
|
27420
|
+
*/
|
|
27421
|
+
contentType: string;
|
|
27422
|
+
/**
|
|
27423
|
+
* Identifier of the stored file, used to fetch its contents through the file API.
|
|
27424
|
+
*/
|
|
27425
|
+
fileId: string;
|
|
27426
|
+
/**
|
|
27427
|
+
* Size of the stored file in bytes.
|
|
27428
|
+
*/
|
|
27429
|
+
size: number;
|
|
27430
|
+
};
|
|
26031
27431
|
/**
|
|
26032
27432
|
* Counts of files still attached to the store or batch, grouped by ingestion status.
|
|
26033
27433
|
*/
|
|
@@ -26629,7 +28029,7 @@ export type MediaUnderstanding = {
|
|
|
26629
28029
|
*/
|
|
26630
28030
|
asset_version: number;
|
|
26631
28031
|
/**
|
|
26632
|
-
* 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.
|
|
28032
|
+
* 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. loudness is the measured BS.1770-4 loudness of the audio (integrated loudness, loudness range, true and sample peak, a one-point-per-second series and the clipped sections); beats is the measured tempo, beat and bar grid with the sections of the music, recorded as not_applicable with a reason when the asset has no music; content is derived from those measurements and from the transcript into speech, music and silence percentages and sections. Their time values are seconds and their data is not model output.
|
|
26633
28033
|
*/
|
|
26634
28034
|
kind: MediaUnderstandingKind;
|
|
26635
28035
|
/**
|
|
@@ -31716,9 +33116,9 @@ export type MediaTranscriptCorrection = {
|
|
|
31716
33116
|
*/
|
|
31717
33117
|
export type MediaUnderstandingId = string;
|
|
31718
33118
|
/**
|
|
31719
|
-
* 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.
|
|
33119
|
+
* 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. loudness is the measured BS.1770-4 loudness of the audio (integrated loudness, loudness range, true and sample peak, a one-point-per-second series and the clipped sections); beats is the measured tempo, beat and bar grid with the sections of the music, recorded as not_applicable with a reason when the asset has no music; content is derived from those measurements and from the transcript into speech, music and silence percentages and sections. Their time values are seconds and their data is not model output.
|
|
31720
33120
|
*/
|
|
31721
|
-
export type MediaUnderstandingKind = 'caption' | 'tags' | 'ocr' | 'transcript' | 'frame' | 'overview' | 'audio' | 'embedding';
|
|
33121
|
+
export type MediaUnderstandingKind = 'caption' | 'tags' | 'ocr' | 'transcript' | 'frame' | 'overview' | 'audio' | 'loudness' | 'beats' | 'content' | 'embedding';
|
|
31722
33122
|
/**
|
|
31723
33123
|
* Time range within the source media, expressed in milliseconds.
|
|
31724
33124
|
*/
|
|
@@ -32610,6 +34010,10 @@ export type CutItem = {
|
|
|
32610
34010
|
* Time to recover the original level. In seconds, not frames or microseconds.
|
|
32611
34011
|
*/
|
|
32612
34012
|
release?: number;
|
|
34013
|
+
/**
|
|
34014
|
+
* What triggers the duck. occupancy (the default, and what an omitted mode means) lowers this clip while a clip on the under track is audible, whatever its level; level lowers this clip only while the under track's measured level is above -40 dBFS, so a silent clip on the under track no longer ducks.
|
|
34015
|
+
*/
|
|
34016
|
+
mode?: 'occupancy' | 'level';
|
|
32613
34017
|
};
|
|
32614
34018
|
/**
|
|
32615
34019
|
* Transition at the incoming clip edge.
|
|
@@ -34109,7 +35513,7 @@ export type MediaUnderstandingWritable = {
|
|
|
34109
35513
|
*/
|
|
34110
35514
|
asset_version: number;
|
|
34111
35515
|
/**
|
|
34112
|
-
* 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.
|
|
35516
|
+
* 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. loudness is the measured BS.1770-4 loudness of the audio (integrated loudness, loudness range, true and sample peak, a one-point-per-second series and the clipped sections); beats is the measured tempo, beat and bar grid with the sections of the music, recorded as not_applicable with a reason when the asset has no music; content is derived from those measurements and from the transcript into speech, music and silence percentages and sections. Their time values are seconds and their data is not model output.
|
|
34113
35517
|
*/
|
|
34114
35518
|
kind: MediaUnderstandingKind;
|
|
34115
35519
|
/**
|
|
@@ -34443,6 +35847,46 @@ export type CutExportId = string;
|
|
|
34443
35847
|
* Version identifier returned by its create or list operation; use the id, not a display name.
|
|
34444
35848
|
*/
|
|
34445
35849
|
export type CutVersionId = string;
|
|
35850
|
+
/**
|
|
35851
|
+
* Identifies the project whose data you are reading, from the project list or create answer.
|
|
35852
|
+
*/
|
|
35853
|
+
export type DevopsProjectPath = string;
|
|
35854
|
+
/**
|
|
35855
|
+
* 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.
|
|
35856
|
+
*/
|
|
35857
|
+
export type DevopsPageSize = number;
|
|
35858
|
+
/**
|
|
35859
|
+
* The cursor from the previous page's nextPageToken. Treat it as opaque and never build one yourself; omit it for the first page.
|
|
35860
|
+
*/
|
|
35861
|
+
export type DevopsPageToken = string;
|
|
35862
|
+
/**
|
|
35863
|
+
* 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.
|
|
35864
|
+
*/
|
|
35865
|
+
export type DevopsOrderBy = string;
|
|
35866
|
+
/**
|
|
35867
|
+
* The suite identifier returned by a suite list, not the file path it was discovered from.
|
|
35868
|
+
*/
|
|
35869
|
+
export type DevopsSuiteId = string;
|
|
35870
|
+
/**
|
|
35871
|
+
* The case identifier returned by a case list, or an older id listed in that case's aliases.
|
|
35872
|
+
*/
|
|
35873
|
+
export type DevopsCaseId = string;
|
|
35874
|
+
/**
|
|
35875
|
+
* The plan identifier returned by a plan list or create answer.
|
|
35876
|
+
*/
|
|
35877
|
+
export type DevopsPlanId = string;
|
|
35878
|
+
/**
|
|
35879
|
+
* The run identifier returned by a run list or create answer.
|
|
35880
|
+
*/
|
|
35881
|
+
export type DevopsRunId = string;
|
|
35882
|
+
/**
|
|
35883
|
+
* The run whose executions you are reading, from a run list or create answer.
|
|
35884
|
+
*/
|
|
35885
|
+
export type DevopsRunPath = string;
|
|
35886
|
+
/**
|
|
35887
|
+
* The case to read inside that run, from the run's execution list or the project's case list.
|
|
35888
|
+
*/
|
|
35889
|
+
export type DevopsCasePath = string;
|
|
34446
35890
|
/**
|
|
34447
35891
|
* A type name from types.list, with its dots preserved — a display label is not accepted.
|
|
34448
35892
|
*/
|
|
@@ -39665,7 +41109,273 @@ export type ComputersFilesListErrors = {
|
|
|
39665
41109
|
/**
|
|
39666
41110
|
* Platform error in the one /agent/v1 error body; computer failures add error.hint
|
|
39667
41111
|
*/
|
|
39668
|
-
503: {
|
|
41112
|
+
503: {
|
|
41113
|
+
type: 'error';
|
|
41114
|
+
error: {
|
|
41115
|
+
/**
|
|
41116
|
+
* Anthropic error type, such as invalid_request_error or not_found_error.
|
|
41117
|
+
*/
|
|
41118
|
+
type: string;
|
|
41119
|
+
message: string;
|
|
41120
|
+
code: string;
|
|
41121
|
+
retryable: boolean;
|
|
41122
|
+
/**
|
|
41123
|
+
* How to recover, for computer failures.
|
|
41124
|
+
*/
|
|
41125
|
+
hint?: string;
|
|
41126
|
+
};
|
|
41127
|
+
/**
|
|
41128
|
+
* Equals the X-Request-Id response header.
|
|
41129
|
+
*/
|
|
41130
|
+
request_id: string;
|
|
41131
|
+
};
|
|
41132
|
+
};
|
|
41133
|
+
export type ComputersFilesListError = ComputersFilesListErrors[keyof ComputersFilesListErrors];
|
|
41134
|
+
export type ComputersFilesListResponses = {
|
|
41135
|
+
/**
|
|
41136
|
+
* Computer result
|
|
41137
|
+
*/
|
|
41138
|
+
200: {
|
|
41139
|
+
/**
|
|
41140
|
+
* Items of this page, in the order requested by the call.
|
|
41141
|
+
*/
|
|
41142
|
+
data: Array<{
|
|
41143
|
+
/**
|
|
41144
|
+
* Absolute path of the entry on the computer.
|
|
41145
|
+
*/
|
|
41146
|
+
path: string;
|
|
41147
|
+
/**
|
|
41148
|
+
* Name of the entry or object.
|
|
41149
|
+
*/
|
|
41150
|
+
name: string;
|
|
41151
|
+
/**
|
|
41152
|
+
* Kind of entry: a file, a directory or a symbolic link.
|
|
41153
|
+
*/
|
|
41154
|
+
type: 'file' | 'dir' | 'symlink';
|
|
41155
|
+
/**
|
|
41156
|
+
* Size in bytes.
|
|
41157
|
+
*/
|
|
41158
|
+
size: number;
|
|
41159
|
+
/**
|
|
41160
|
+
* MIME type of the file.
|
|
41161
|
+
*/
|
|
41162
|
+
mime_type: string;
|
|
41163
|
+
/**
|
|
41164
|
+
* True when the entry cannot be modified through the API.
|
|
41165
|
+
*/
|
|
41166
|
+
read_only: boolean;
|
|
41167
|
+
/**
|
|
41168
|
+
* Content digest of the file; null when not computed.
|
|
41169
|
+
*/
|
|
41170
|
+
digest?: string | null;
|
|
41171
|
+
/**
|
|
41172
|
+
* RFC 3339 time at which the object was last modified.
|
|
41173
|
+
*/
|
|
41174
|
+
updated_at: string | null;
|
|
41175
|
+
}>;
|
|
41176
|
+
/**
|
|
41177
|
+
* Whether more items exist beyond this page.
|
|
41178
|
+
*/
|
|
41179
|
+
has_more: false;
|
|
41180
|
+
/**
|
|
41181
|
+
* Machine tier used to read this directory: light is the lightweight computer; heavy is the full computer.
|
|
41182
|
+
*/
|
|
41183
|
+
tier: 'light' | 'heavy';
|
|
41184
|
+
};
|
|
41185
|
+
};
|
|
41186
|
+
export type ComputersFilesListResponse = ComputersFilesListResponses[keyof ComputersFilesListResponses];
|
|
41187
|
+
export type ComputersFilesContentData = {
|
|
41188
|
+
body?: never;
|
|
41189
|
+
headers?: {
|
|
41190
|
+
/**
|
|
41191
|
+
* Quoted digest entity-tag; legacy unquoted digests are also accepted.
|
|
41192
|
+
*/
|
|
41193
|
+
'If-None-Match'?: string;
|
|
41194
|
+
/**
|
|
41195
|
+
* Single byte range, including open-ended and suffix ranges.
|
|
41196
|
+
*/
|
|
41197
|
+
Range?: string;
|
|
41198
|
+
};
|
|
41199
|
+
path: {
|
|
41200
|
+
/**
|
|
41201
|
+
* Computer id (cmp_...), as returned by computers.create or computers.list.
|
|
41202
|
+
*/
|
|
41203
|
+
computer_id: string;
|
|
41204
|
+
};
|
|
41205
|
+
query: {
|
|
41206
|
+
/**
|
|
41207
|
+
* Absolute path of the file whose content to download, as returned in the path field of computers.files.list.
|
|
41208
|
+
*/
|
|
41209
|
+
path: string;
|
|
41210
|
+
};
|
|
41211
|
+
url: '/agent/v1/computers/{computer_id}/files/content';
|
|
41212
|
+
};
|
|
41213
|
+
export type ComputersFilesContentErrors = {
|
|
41214
|
+
/**
|
|
41215
|
+
* Platform error in the one /agent/v1 error body; computer failures add error.hint
|
|
41216
|
+
*/
|
|
41217
|
+
400: {
|
|
41218
|
+
type: 'error';
|
|
41219
|
+
error: {
|
|
41220
|
+
/**
|
|
41221
|
+
* Anthropic error type, such as invalid_request_error or not_found_error.
|
|
41222
|
+
*/
|
|
41223
|
+
type: string;
|
|
41224
|
+
message: string;
|
|
41225
|
+
code: string;
|
|
41226
|
+
retryable: boolean;
|
|
41227
|
+
/**
|
|
41228
|
+
* How to recover, for computer failures.
|
|
41229
|
+
*/
|
|
41230
|
+
hint?: string;
|
|
41231
|
+
};
|
|
41232
|
+
/**
|
|
41233
|
+
* Equals the X-Request-Id response header.
|
|
41234
|
+
*/
|
|
41235
|
+
request_id: string;
|
|
41236
|
+
};
|
|
41237
|
+
/**
|
|
41238
|
+
* Platform error in the one /agent/v1 error body; computer failures add error.hint
|
|
41239
|
+
*/
|
|
41240
|
+
401: {
|
|
41241
|
+
type: 'error';
|
|
41242
|
+
error: {
|
|
41243
|
+
/**
|
|
41244
|
+
* Anthropic error type, such as invalid_request_error or not_found_error.
|
|
41245
|
+
*/
|
|
41246
|
+
type: string;
|
|
41247
|
+
message: string;
|
|
41248
|
+
code: string;
|
|
41249
|
+
retryable: boolean;
|
|
41250
|
+
/**
|
|
41251
|
+
* How to recover, for computer failures.
|
|
41252
|
+
*/
|
|
41253
|
+
hint?: string;
|
|
41254
|
+
};
|
|
41255
|
+
/**
|
|
41256
|
+
* Equals the X-Request-Id response header.
|
|
41257
|
+
*/
|
|
41258
|
+
request_id: string;
|
|
41259
|
+
};
|
|
41260
|
+
/**
|
|
41261
|
+
* Platform error in the one /agent/v1 error body; computer failures add error.hint
|
|
41262
|
+
*/
|
|
41263
|
+
403: {
|
|
41264
|
+
type: 'error';
|
|
41265
|
+
error: {
|
|
41266
|
+
/**
|
|
41267
|
+
* Anthropic error type, such as invalid_request_error or not_found_error.
|
|
41268
|
+
*/
|
|
41269
|
+
type: string;
|
|
41270
|
+
message: string;
|
|
41271
|
+
code: string;
|
|
41272
|
+
retryable: boolean;
|
|
41273
|
+
/**
|
|
41274
|
+
* How to recover, for computer failures.
|
|
41275
|
+
*/
|
|
41276
|
+
hint?: string;
|
|
41277
|
+
};
|
|
41278
|
+
/**
|
|
41279
|
+
* Equals the X-Request-Id response header.
|
|
41280
|
+
*/
|
|
41281
|
+
request_id: string;
|
|
41282
|
+
};
|
|
41283
|
+
/**
|
|
41284
|
+
* Computer or path not found; foreign computers are indistinguishable from absent computers.
|
|
41285
|
+
*/
|
|
41286
|
+
404: {
|
|
41287
|
+
type: 'error';
|
|
41288
|
+
error: {
|
|
41289
|
+
/**
|
|
41290
|
+
* Anthropic error type, such as invalid_request_error or not_found_error.
|
|
41291
|
+
*/
|
|
41292
|
+
type: string;
|
|
41293
|
+
message: string;
|
|
41294
|
+
code: string;
|
|
41295
|
+
retryable: boolean;
|
|
41296
|
+
/**
|
|
41297
|
+
* How to recover, for computer failures.
|
|
41298
|
+
*/
|
|
41299
|
+
hint?: string;
|
|
41300
|
+
};
|
|
41301
|
+
/**
|
|
41302
|
+
* Equals the X-Request-Id response header.
|
|
41303
|
+
*/
|
|
41304
|
+
request_id: string;
|
|
41305
|
+
};
|
|
41306
|
+
/**
|
|
41307
|
+
* Platform error in the one /agent/v1 error body; computer failures add error.hint
|
|
41308
|
+
*/
|
|
41309
|
+
409: {
|
|
41310
|
+
type: 'error';
|
|
41311
|
+
error: {
|
|
41312
|
+
/**
|
|
41313
|
+
* Anthropic error type, such as invalid_request_error or not_found_error.
|
|
41314
|
+
*/
|
|
41315
|
+
type: string;
|
|
41316
|
+
message: string;
|
|
41317
|
+
code: string;
|
|
41318
|
+
retryable: boolean;
|
|
41319
|
+
/**
|
|
41320
|
+
* How to recover, for computer failures.
|
|
41321
|
+
*/
|
|
41322
|
+
hint?: string;
|
|
41323
|
+
};
|
|
41324
|
+
/**
|
|
41325
|
+
* Equals the X-Request-Id response header.
|
|
41326
|
+
*/
|
|
41327
|
+
request_id: string;
|
|
41328
|
+
};
|
|
41329
|
+
/**
|
|
41330
|
+
* Platform error in the one /agent/v1 error body; computer failures add error.hint
|
|
41331
|
+
*/
|
|
41332
|
+
413: {
|
|
41333
|
+
type: 'error';
|
|
41334
|
+
error: {
|
|
41335
|
+
/**
|
|
41336
|
+
* Anthropic error type, such as invalid_request_error or not_found_error.
|
|
41337
|
+
*/
|
|
41338
|
+
type: string;
|
|
41339
|
+
message: string;
|
|
41340
|
+
code: string;
|
|
41341
|
+
retryable: boolean;
|
|
41342
|
+
/**
|
|
41343
|
+
* How to recover, for computer failures.
|
|
41344
|
+
*/
|
|
41345
|
+
hint?: string;
|
|
41346
|
+
};
|
|
41347
|
+
/**
|
|
41348
|
+
* Equals the X-Request-Id response header.
|
|
41349
|
+
*/
|
|
41350
|
+
request_id: string;
|
|
41351
|
+
};
|
|
41352
|
+
/**
|
|
41353
|
+
* Range unavailable
|
|
41354
|
+
*/
|
|
41355
|
+
416: {
|
|
41356
|
+
type: 'error';
|
|
41357
|
+
error: {
|
|
41358
|
+
/**
|
|
41359
|
+
* Anthropic error type, such as invalid_request_error or not_found_error.
|
|
41360
|
+
*/
|
|
41361
|
+
type: string;
|
|
41362
|
+
message: string;
|
|
41363
|
+
code: string;
|
|
41364
|
+
retryable: boolean;
|
|
41365
|
+
/**
|
|
41366
|
+
* How to recover, for computer failures.
|
|
41367
|
+
*/
|
|
41368
|
+
hint?: string;
|
|
41369
|
+
};
|
|
41370
|
+
/**
|
|
41371
|
+
* Equals the X-Request-Id response header.
|
|
41372
|
+
*/
|
|
41373
|
+
request_id: string;
|
|
41374
|
+
};
|
|
41375
|
+
/**
|
|
41376
|
+
* Platform error in the one /agent/v1 error body; computer failures add error.hint
|
|
41377
|
+
*/
|
|
41378
|
+
429: {
|
|
39669
41379
|
type: 'error';
|
|
39670
41380
|
error: {
|
|
39671
41381
|
/**
|
|
@@ -39685,72 +41395,71 @@ export type ComputersFilesListErrors = {
|
|
|
39685
41395
|
*/
|
|
39686
41396
|
request_id: string;
|
|
39687
41397
|
};
|
|
39688
|
-
};
|
|
39689
|
-
export type ComputersFilesListError = ComputersFilesListErrors[keyof ComputersFilesListErrors];
|
|
39690
|
-
export type ComputersFilesListResponses = {
|
|
39691
41398
|
/**
|
|
39692
|
-
*
|
|
41399
|
+
* Platform error in the one /agent/v1 error body; computer failures add error.hint
|
|
39693
41400
|
*/
|
|
39694
|
-
|
|
39695
|
-
|
|
39696
|
-
|
|
39697
|
-
*/
|
|
39698
|
-
data: Array<{
|
|
39699
|
-
/**
|
|
39700
|
-
* Absolute path of the entry on the computer.
|
|
39701
|
-
*/
|
|
39702
|
-
path: string;
|
|
39703
|
-
/**
|
|
39704
|
-
* Name of the entry or object.
|
|
39705
|
-
*/
|
|
39706
|
-
name: string;
|
|
39707
|
-
/**
|
|
39708
|
-
* Kind of entry: a file, a directory or a symbolic link.
|
|
39709
|
-
*/
|
|
39710
|
-
type: 'file' | 'dir' | 'symlink';
|
|
39711
|
-
/**
|
|
39712
|
-
* Size in bytes.
|
|
39713
|
-
*/
|
|
39714
|
-
size: number;
|
|
41401
|
+
500: {
|
|
41402
|
+
type: 'error';
|
|
41403
|
+
error: {
|
|
39715
41404
|
/**
|
|
39716
|
-
*
|
|
41405
|
+
* Anthropic error type, such as invalid_request_error or not_found_error.
|
|
39717
41406
|
*/
|
|
39718
|
-
|
|
41407
|
+
type: string;
|
|
41408
|
+
message: string;
|
|
41409
|
+
code: string;
|
|
41410
|
+
retryable: boolean;
|
|
39719
41411
|
/**
|
|
39720
|
-
*
|
|
41412
|
+
* How to recover, for computer failures.
|
|
39721
41413
|
*/
|
|
39722
|
-
|
|
41414
|
+
hint?: string;
|
|
41415
|
+
};
|
|
41416
|
+
/**
|
|
41417
|
+
* Equals the X-Request-Id response header.
|
|
41418
|
+
*/
|
|
41419
|
+
request_id: string;
|
|
41420
|
+
};
|
|
41421
|
+
/**
|
|
41422
|
+
* Platform error in the one /agent/v1 error body; computer failures add error.hint
|
|
41423
|
+
*/
|
|
41424
|
+
503: {
|
|
41425
|
+
type: 'error';
|
|
41426
|
+
error: {
|
|
39723
41427
|
/**
|
|
39724
|
-
*
|
|
41428
|
+
* Anthropic error type, such as invalid_request_error or not_found_error.
|
|
39725
41429
|
*/
|
|
39726
|
-
|
|
41430
|
+
type: string;
|
|
41431
|
+
message: string;
|
|
41432
|
+
code: string;
|
|
41433
|
+
retryable: boolean;
|
|
39727
41434
|
/**
|
|
39728
|
-
*
|
|
41435
|
+
* How to recover, for computer failures.
|
|
39729
41436
|
*/
|
|
39730
|
-
|
|
39731
|
-
}
|
|
39732
|
-
/**
|
|
39733
|
-
* Whether more items exist beyond this page.
|
|
39734
|
-
*/
|
|
39735
|
-
has_more: false;
|
|
41437
|
+
hint?: string;
|
|
41438
|
+
};
|
|
39736
41439
|
/**
|
|
39737
|
-
*
|
|
41440
|
+
* Equals the X-Request-Id response header.
|
|
39738
41441
|
*/
|
|
39739
|
-
|
|
41442
|
+
request_id: string;
|
|
39740
41443
|
};
|
|
39741
41444
|
};
|
|
39742
|
-
export type
|
|
39743
|
-
export type
|
|
39744
|
-
|
|
39745
|
-
|
|
39746
|
-
|
|
39747
|
-
|
|
39748
|
-
|
|
39749
|
-
|
|
41445
|
+
export type ComputersFilesContentError = ComputersFilesContentErrors[keyof ComputersFilesContentErrors];
|
|
41446
|
+
export type ComputersFilesContentResponses = {
|
|
41447
|
+
/**
|
|
41448
|
+
* Raw file bytes (at most 16 MiB); Content-Type is inferred from the extension. ETag is present only when a digest is available. Larger files require the sandbox connection issued by connect.
|
|
41449
|
+
*/
|
|
41450
|
+
200: Blob | File;
|
|
41451
|
+
/**
|
|
41452
|
+
* Single byte range
|
|
41453
|
+
*/
|
|
41454
|
+
206: Blob | File;
|
|
41455
|
+
};
|
|
41456
|
+
export type ComputersFilesContentResponse = ComputersFilesContentResponses[keyof ComputersFilesContentResponses];
|
|
41457
|
+
export type ComputersFilesConvertData = {
|
|
41458
|
+
body: {
|
|
39750
41459
|
/**
|
|
39751
|
-
*
|
|
41460
|
+
* Name of the entry or object.
|
|
39752
41461
|
*/
|
|
39753
|
-
|
|
41462
|
+
name: string;
|
|
39754
41463
|
};
|
|
39755
41464
|
path: {
|
|
39756
41465
|
/**
|
|
@@ -39758,15 +41467,10 @@ export type ComputersFilesContentData = {
|
|
|
39758
41467
|
*/
|
|
39759
41468
|
computer_id: string;
|
|
39760
41469
|
};
|
|
39761
|
-
query
|
|
39762
|
-
|
|
39763
|
-
* Absolute path of the file whose content to download, as returned in the path field of computers.files.list.
|
|
39764
|
-
*/
|
|
39765
|
-
path: string;
|
|
39766
|
-
};
|
|
39767
|
-
url: '/agent/v1/computers/{computer_id}/files/content';
|
|
41470
|
+
query?: never;
|
|
41471
|
+
url: '/agent/v1/computers/{computer_id}/files/convert';
|
|
39768
41472
|
};
|
|
39769
|
-
export type
|
|
41473
|
+
export type ComputersFilesConvertErrors = {
|
|
39770
41474
|
/**
|
|
39771
41475
|
* Platform error in the one /agent/v1 error body; computer failures add error.hint
|
|
39772
41476
|
*/
|
|
@@ -39905,29 +41609,6 @@ export type ComputersFilesContentErrors = {
|
|
|
39905
41609
|
*/
|
|
39906
41610
|
request_id: string;
|
|
39907
41611
|
};
|
|
39908
|
-
/**
|
|
39909
|
-
* Range unavailable
|
|
39910
|
-
*/
|
|
39911
|
-
416: {
|
|
39912
|
-
type: 'error';
|
|
39913
|
-
error: {
|
|
39914
|
-
/**
|
|
39915
|
-
* Anthropic error type, such as invalid_request_error or not_found_error.
|
|
39916
|
-
*/
|
|
39917
|
-
type: string;
|
|
39918
|
-
message: string;
|
|
39919
|
-
code: string;
|
|
39920
|
-
retryable: boolean;
|
|
39921
|
-
/**
|
|
39922
|
-
* How to recover, for computer failures.
|
|
39923
|
-
*/
|
|
39924
|
-
hint?: string;
|
|
39925
|
-
};
|
|
39926
|
-
/**
|
|
39927
|
-
* Equals the X-Request-Id response header.
|
|
39928
|
-
*/
|
|
39929
|
-
request_id: string;
|
|
39930
|
-
};
|
|
39931
41612
|
/**
|
|
39932
41613
|
* Platform error in the one /agent/v1 error body; computer failures add error.hint
|
|
39933
41614
|
*/
|
|
@@ -39998,18 +41679,55 @@ export type ComputersFilesContentErrors = {
|
|
|
39998
41679
|
request_id: string;
|
|
39999
41680
|
};
|
|
40000
41681
|
};
|
|
40001
|
-
export type
|
|
40002
|
-
export type
|
|
40003
|
-
/**
|
|
40004
|
-
* Raw file bytes (at most 16 MiB); Content-Type is inferred from the extension. ETag is present only when a digest is available. Larger files require the sandbox connection issued by connect.
|
|
40005
|
-
*/
|
|
40006
|
-
200: Blob | File;
|
|
41682
|
+
export type ComputersFilesConvertError = ComputersFilesConvertErrors[keyof ComputersFilesConvertErrors];
|
|
41683
|
+
export type ComputersFilesConvertResponses = {
|
|
40007
41684
|
/**
|
|
40008
|
-
*
|
|
41685
|
+
* Computer result
|
|
40009
41686
|
*/
|
|
40010
|
-
|
|
41687
|
+
200: {
|
|
41688
|
+
/**
|
|
41689
|
+
* Always `computer`. A computer.
|
|
41690
|
+
*/
|
|
41691
|
+
type: 'computer';
|
|
41692
|
+
/**
|
|
41693
|
+
* Computer id (cmp_...), the computer_id of computer calls.
|
|
41694
|
+
*/
|
|
41695
|
+
id: string;
|
|
41696
|
+
/**
|
|
41697
|
+
* Display name of the computer, 1 to 255 characters.
|
|
41698
|
+
*/
|
|
41699
|
+
name: string;
|
|
41700
|
+
/**
|
|
41701
|
+
* Public id of the sandbox that backs the computer, usable with the sandbox API; null while none has been created.
|
|
41702
|
+
*/
|
|
41703
|
+
sandbox_id: string | null;
|
|
41704
|
+
/**
|
|
41705
|
+
* not_started means the machine has not been created; first use provisions it. provisioned means a machine has been created, whether running or paused.
|
|
41706
|
+
*/
|
|
41707
|
+
machine_state: 'not_started' | 'provisioned';
|
|
41708
|
+
/**
|
|
41709
|
+
* Environment recipe the computer was created with; null when none.
|
|
41710
|
+
*/
|
|
41711
|
+
environment_id: string | null;
|
|
41712
|
+
/**
|
|
41713
|
+
* active computers can be used by new sessions; archived ones keep their files readable but cannot start new sessions.
|
|
41714
|
+
*/
|
|
41715
|
+
status: 'active' | 'archived';
|
|
41716
|
+
/**
|
|
41717
|
+
* RFC 3339 time at which the computer was created.
|
|
41718
|
+
*/
|
|
41719
|
+
created_at: string;
|
|
41720
|
+
/**
|
|
41721
|
+
* RFC 3339 time at which the computer was last modified.
|
|
41722
|
+
*/
|
|
41723
|
+
updated_at: string;
|
|
41724
|
+
/**
|
|
41725
|
+
* RFC 3339 time at which the computer was archived; null while active.
|
|
41726
|
+
*/
|
|
41727
|
+
archived_at: string | null;
|
|
41728
|
+
};
|
|
40011
41729
|
};
|
|
40012
|
-
export type
|
|
41730
|
+
export type ComputersFilesConvertResponse = ComputersFilesConvertResponses[keyof ComputersFilesConvertResponses];
|
|
40013
41731
|
export type ConnectComputerData = {
|
|
40014
41732
|
body?: {
|
|
40015
41733
|
/**
|
|
@@ -70666,7 +72384,7 @@ export type CutListFramesResponses = {
|
|
|
70666
72384
|
export type CutListFramesResponse = CutListFramesResponses[keyof CutListFramesResponses];
|
|
70667
72385
|
export type CutCreateAnalysisData = {
|
|
70668
72386
|
/**
|
|
70669
|
-
* Select analysis kinds and optionally limit source assets.
|
|
72387
|
+
* Select analysis kinds and optionally limit source assets. kind mix measures the project's own mix over a range and answers a MixAnalysis, which is polled by the id it returns.
|
|
70670
72388
|
*/
|
|
70671
72389
|
body: CutAnalysisInput;
|
|
70672
72390
|
path: {
|
|
@@ -70709,7 +72427,11 @@ export type CutCreateAnalysisResponses = {
|
|
|
70709
72427
|
/**
|
|
70710
72428
|
* Requested resource or operation result; use its revision when preparing a guarded edit.
|
|
70711
72429
|
*/
|
|
70712
|
-
200:
|
|
72430
|
+
200: ({
|
|
72431
|
+
kind: 'cut-AnalysisResult';
|
|
72432
|
+
} & CutAnalysisResult) | ({
|
|
72433
|
+
kind: 'cut-MixAnalysis';
|
|
72434
|
+
} & CutMixAnalysis);
|
|
70713
72435
|
};
|
|
70714
72436
|
export type CutCreateAnalysisResponse = CutCreateAnalysisResponses[keyof CutCreateAnalysisResponses];
|
|
70715
72437
|
export type CutListBindingsData = {
|
|
@@ -71004,6 +72726,99 @@ export type CutCreateExportResponses = {
|
|
|
71004
72726
|
202: CutExport;
|
|
71005
72727
|
};
|
|
71006
72728
|
export type CutCreateExportResponse = CutCreateExportResponses[keyof CutCreateExportResponses];
|
|
72729
|
+
export type CutCreateRenderData = {
|
|
72730
|
+
/**
|
|
72731
|
+
* The interval to render, on the project's own second-based clock. The interval is bounded so a draft stays a listening or viewing aid rather than a delivery; long passages are requested in several ranges.
|
|
72732
|
+
*/
|
|
72733
|
+
body: CutDraftRenderInput;
|
|
72734
|
+
path: {
|
|
72735
|
+
/**
|
|
72736
|
+
* Project identifier returned by its create or list operation; use the id, not a display name.
|
|
72737
|
+
*/
|
|
72738
|
+
project_id: string;
|
|
72739
|
+
};
|
|
72740
|
+
query?: never;
|
|
72741
|
+
url: '/cut/v1/projects/{project_id}/renders';
|
|
72742
|
+
};
|
|
72743
|
+
export type CutCreateRenderErrors = {
|
|
72744
|
+
/**
|
|
72745
|
+
* INVALID_PARAMS or BINDING_INVALID means a request field, identifier or library binding is invalid; correct the indicated input before retrying.
|
|
72746
|
+
*/
|
|
72747
|
+
400: CutCutError;
|
|
72748
|
+
/**
|
|
72749
|
+
* The API key is missing, invalid or has no organization; supply a valid organization API key before retrying.
|
|
72750
|
+
*/
|
|
72751
|
+
401: CutCutError;
|
|
72752
|
+
/**
|
|
72753
|
+
* PERMISSION_DENIED means the credential cannot perform this operation; use a key with the required Cut access in the owning organization.
|
|
72754
|
+
*/
|
|
72755
|
+
403: CutCutError;
|
|
72756
|
+
/**
|
|
72757
|
+
* PROJECT_NOT_FOUND, EXPORT_NOT_FOUND, VERSION_NOT_FOUND or LIBRARY_NOT_FOUND means the requested resource is missing, deleted or outside the organization; choose an accessible identifier from its list operation.
|
|
72758
|
+
*/
|
|
72759
|
+
404: CutCutError;
|
|
72760
|
+
/**
|
|
72761
|
+
* CUT_BUSY means too much work is queued for this project; let pending work complete before retrying.
|
|
72762
|
+
*/
|
|
72763
|
+
429: CutCutError;
|
|
72764
|
+
/**
|
|
72765
|
+
* INTERNAL means the request could not complete; inspect current project state before retrying a write to avoid duplicating a committed edit.
|
|
72766
|
+
*/
|
|
72767
|
+
500: CutCutError;
|
|
72768
|
+
/**
|
|
72769
|
+
* MEDIA_OFFLINE, MEDIA_UNAVAILABLE, MEDIA_IMPORT_FAILED or EXPORT_FAILED means required media or rendering could not complete; inspect source availability or the export error before retrying.
|
|
72770
|
+
*/
|
|
72771
|
+
503: CutCutError;
|
|
72772
|
+
};
|
|
72773
|
+
export type CutCreateRenderError = CutCreateRenderErrors[keyof CutCreateRenderErrors];
|
|
72774
|
+
export type CutCreateRenderResponses = {
|
|
72775
|
+
/**
|
|
72776
|
+
* Draft render accepted; poll renders.retrieve until status is done or failed.
|
|
72777
|
+
*/
|
|
72778
|
+
202: CutDraftRender;
|
|
72779
|
+
};
|
|
72780
|
+
export type CutCreateRenderResponse = CutCreateRenderResponses[keyof CutCreateRenderResponses];
|
|
72781
|
+
export type CutRetrieveRenderData = {
|
|
72782
|
+
body?: never;
|
|
72783
|
+
path: {
|
|
72784
|
+
/**
|
|
72785
|
+
* Draft render id (cutr_…) returned by projects.renders.create.
|
|
72786
|
+
*/
|
|
72787
|
+
render_id: string;
|
|
72788
|
+
};
|
|
72789
|
+
query?: never;
|
|
72790
|
+
url: '/cut/v1/renders/{render_id}';
|
|
72791
|
+
};
|
|
72792
|
+
export type CutRetrieveRenderErrors = {
|
|
72793
|
+
/**
|
|
72794
|
+
* INVALID_PARAMS or BINDING_INVALID means a request field, identifier or library binding is invalid; correct the indicated input before retrying.
|
|
72795
|
+
*/
|
|
72796
|
+
400: CutCutError;
|
|
72797
|
+
/**
|
|
72798
|
+
* The API key is missing, invalid or has no organization; supply a valid organization API key before retrying.
|
|
72799
|
+
*/
|
|
72800
|
+
401: CutCutError;
|
|
72801
|
+
/**
|
|
72802
|
+
* PERMISSION_DENIED means the credential cannot perform this operation; use a key with the required Cut access in the owning organization.
|
|
72803
|
+
*/
|
|
72804
|
+
403: CutCutError;
|
|
72805
|
+
/**
|
|
72806
|
+
* PROJECT_NOT_FOUND, EXPORT_NOT_FOUND, VERSION_NOT_FOUND or LIBRARY_NOT_FOUND means the requested resource is missing, deleted or outside the organization; choose an accessible identifier from its list operation.
|
|
72807
|
+
*/
|
|
72808
|
+
404: CutCutError;
|
|
72809
|
+
/**
|
|
72810
|
+
* INTERNAL means the request could not complete; inspect current project state before retrying a write to avoid duplicating a committed edit.
|
|
72811
|
+
*/
|
|
72812
|
+
500: CutCutError;
|
|
72813
|
+
};
|
|
72814
|
+
export type CutRetrieveRenderError = CutRetrieveRenderErrors[keyof CutRetrieveRenderErrors];
|
|
72815
|
+
export type CutRetrieveRenderResponses = {
|
|
72816
|
+
/**
|
|
72817
|
+
* Draft render state; file_id and url are present only once status is done.
|
|
72818
|
+
*/
|
|
72819
|
+
200: CutDraftRender;
|
|
72820
|
+
};
|
|
72821
|
+
export type CutRetrieveRenderResponse = CutRetrieveRenderResponses[keyof CutRetrieveRenderResponses];
|
|
71007
72822
|
export type CutRetrieveExportData = {
|
|
71008
72823
|
body?: never;
|
|
71009
72824
|
path: {
|
|
@@ -72325,6 +74140,886 @@ export type DatabaseInsertResponses = {
|
|
|
72325
74140
|
201: Array<DatabaseRow | DatabaseProjectedRow>;
|
|
72326
74141
|
};
|
|
72327
74142
|
export type DatabaseInsertResponse = DatabaseInsertResponses[keyof DatabaseInsertResponses];
|
|
74143
|
+
export type DevopsTestCatalogGetData = {
|
|
74144
|
+
body?: never;
|
|
74145
|
+
path: {
|
|
74146
|
+
/**
|
|
74147
|
+
* Identifies the project whose data you are reading, from the project list or create answer.
|
|
74148
|
+
*/
|
|
74149
|
+
project: string;
|
|
74150
|
+
};
|
|
74151
|
+
query?: {
|
|
74152
|
+
/**
|
|
74153
|
+
* 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.
|
|
74154
|
+
*/
|
|
74155
|
+
commit?: string;
|
|
74156
|
+
};
|
|
74157
|
+
url: '/devops/v1/projects/{project}/test-catalog';
|
|
74158
|
+
};
|
|
74159
|
+
export type DevopsTestCatalogGetErrors = {
|
|
74160
|
+
/**
|
|
74161
|
+
* INVALID_PARAMS or INVALID_ARGUMENT means a field, query value or identifier violates the documented format or range — an unknown enum value, a pageSize outside 1..100, an unsupported filter or orderBy field, or an id with the wrong prefix. Correct the named input; nothing was read or written.
|
|
74162
|
+
*/
|
|
74163
|
+
400: DevopsDevOpsError;
|
|
74164
|
+
/**
|
|
74165
|
+
* The API key is missing or invalid; send a valid Praxis API key in the Authorization header before retrying.
|
|
74166
|
+
*/
|
|
74167
|
+
401: DevopsDevOpsError;
|
|
74168
|
+
/**
|
|
74169
|
+
* The credential carries no organization, or that organization cannot reach this project; use a key belonging to the project's organization. No cross-organization read is possible.
|
|
74170
|
+
*/
|
|
74171
|
+
403: DevopsDevOpsError;
|
|
74172
|
+
/**
|
|
74173
|
+
* PROJECT_NOT_FOUND means no project with that id is visible to this organization; list the projects and use an id from that answer.
|
|
74174
|
+
*/
|
|
74175
|
+
404: DevopsDevOpsError;
|
|
74176
|
+
/**
|
|
74177
|
+
* CATALOG_NOT_READY means discovery for that commit is still running, so the catalog is not final; read again in a moment. A catalog is never invented for a commit that has none.
|
|
74178
|
+
*/
|
|
74179
|
+
409: DevopsDevOpsError;
|
|
74180
|
+
/**
|
|
74181
|
+
* INTERNAL means the service could not complete the request; retry once, and if it repeats report the request id. A read is safe to repeat; a write that failed this way should be re-read before it is sent again.
|
|
74182
|
+
*/
|
|
74183
|
+
500: DevopsDevOpsError;
|
|
74184
|
+
};
|
|
74185
|
+
export type DevopsTestCatalogGetError = DevopsTestCatalogGetErrors[keyof DevopsTestCatalogGetErrors];
|
|
74186
|
+
export type DevopsTestCatalogGetResponses = {
|
|
74187
|
+
/**
|
|
74188
|
+
* The catalog version in force at that commit, with its counts and its diff against the previous published catalog.
|
|
74189
|
+
*/
|
|
74190
|
+
200: DevopsCatalogVersion;
|
|
74191
|
+
};
|
|
74192
|
+
export type DevopsTestCatalogGetResponse = DevopsTestCatalogGetResponses[keyof DevopsTestCatalogGetResponses];
|
|
74193
|
+
export type DevopsTestSuitesListData = {
|
|
74194
|
+
body?: never;
|
|
74195
|
+
path: {
|
|
74196
|
+
/**
|
|
74197
|
+
* Identifies the project whose data you are reading, from the project list or create answer.
|
|
74198
|
+
*/
|
|
74199
|
+
project: string;
|
|
74200
|
+
};
|
|
74201
|
+
query?: {
|
|
74202
|
+
/**
|
|
74203
|
+
* 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.
|
|
74204
|
+
*/
|
|
74205
|
+
pageSize?: number;
|
|
74206
|
+
/**
|
|
74207
|
+
* The cursor from the previous page's nextPageToken. Treat it as opaque and never build one yourself; omit it for the first page.
|
|
74208
|
+
*/
|
|
74209
|
+
pageToken?: string;
|
|
74210
|
+
/**
|
|
74211
|
+
* 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.
|
|
74212
|
+
*/
|
|
74213
|
+
orderBy?: string;
|
|
74214
|
+
};
|
|
74215
|
+
url: '/devops/v1/projects/{project}/test-suites';
|
|
74216
|
+
};
|
|
74217
|
+
export type DevopsTestSuitesListErrors = {
|
|
74218
|
+
/**
|
|
74219
|
+
* INVALID_PARAMS or INVALID_ARGUMENT means a field, query value or identifier violates the documented format or range — an unknown enum value, a pageSize outside 1..100, an unsupported filter or orderBy field, or an id with the wrong prefix. Correct the named input; nothing was read or written.
|
|
74220
|
+
*/
|
|
74221
|
+
400: DevopsDevOpsError;
|
|
74222
|
+
/**
|
|
74223
|
+
* The API key is missing or invalid; send a valid Praxis API key in the Authorization header before retrying.
|
|
74224
|
+
*/
|
|
74225
|
+
401: DevopsDevOpsError;
|
|
74226
|
+
/**
|
|
74227
|
+
* The credential carries no organization, or that organization cannot reach this project; use a key belonging to the project's organization. No cross-organization read is possible.
|
|
74228
|
+
*/
|
|
74229
|
+
403: DevopsDevOpsError;
|
|
74230
|
+
/**
|
|
74231
|
+
* PROJECT_NOT_FOUND means no project with that id is visible to this organization; list the projects and use an id from that answer.
|
|
74232
|
+
*/
|
|
74233
|
+
404: DevopsDevOpsError;
|
|
74234
|
+
/**
|
|
74235
|
+
* INTERNAL means the service could not complete the request; retry once, and if it repeats report the request id. A read is safe to repeat; a write that failed this way should be re-read before it is sent again.
|
|
74236
|
+
*/
|
|
74237
|
+
500: DevopsDevOpsError;
|
|
74238
|
+
};
|
|
74239
|
+
export type DevopsTestSuitesListError = DevopsTestSuitesListErrors[keyof DevopsTestSuitesListErrors];
|
|
74240
|
+
export type DevopsTestSuitesListResponses = {
|
|
74241
|
+
/**
|
|
74242
|
+
* One page of suites, newest catalog first; nextPageToken is the cursor for the following page and is empty on the last one.
|
|
74243
|
+
*/
|
|
74244
|
+
200: DevopsSuitePage;
|
|
74245
|
+
};
|
|
74246
|
+
export type DevopsTestSuitesListResponse = DevopsTestSuitesListResponses[keyof DevopsTestSuitesListResponses];
|
|
74247
|
+
export type DevopsTestSuitesGetData = {
|
|
74248
|
+
body?: never;
|
|
74249
|
+
path: {
|
|
74250
|
+
/**
|
|
74251
|
+
* The suite identifier returned by a suite list, not the file path it was discovered from.
|
|
74252
|
+
*/
|
|
74253
|
+
id: string;
|
|
74254
|
+
};
|
|
74255
|
+
query?: never;
|
|
74256
|
+
url: '/devops/v1/test-suites/{id}';
|
|
74257
|
+
};
|
|
74258
|
+
export type DevopsTestSuitesGetErrors = {
|
|
74259
|
+
/**
|
|
74260
|
+
* The API key is missing or invalid; send a valid Praxis API key in the Authorization header before retrying.
|
|
74261
|
+
*/
|
|
74262
|
+
401: DevopsDevOpsError;
|
|
74263
|
+
/**
|
|
74264
|
+
* The credential carries no organization, or that organization cannot reach this project; use a key belonging to the project's organization. No cross-organization read is possible.
|
|
74265
|
+
*/
|
|
74266
|
+
403: DevopsDevOpsError;
|
|
74267
|
+
/**
|
|
74268
|
+
* SUITE_NOT_FOUND means no suite with that id exists in this organization; a suite id comes from a suite list, and one from another organization is never readable.
|
|
74269
|
+
*/
|
|
74270
|
+
404: DevopsDevOpsError;
|
|
74271
|
+
/**
|
|
74272
|
+
* INTERNAL means the service could not complete the request; retry once, and if it repeats report the request id. A read is safe to repeat; a write that failed this way should be re-read before it is sent again.
|
|
74273
|
+
*/
|
|
74274
|
+
500: DevopsDevOpsError;
|
|
74275
|
+
};
|
|
74276
|
+
export type DevopsTestSuitesGetError = DevopsTestSuitesGetErrors[keyof DevopsTestSuitesGetErrors];
|
|
74277
|
+
export type DevopsTestSuitesGetResponses = {
|
|
74278
|
+
/**
|
|
74279
|
+
* The suite, with the catalog commit it was discovered at.
|
|
74280
|
+
*/
|
|
74281
|
+
200: DevopsSuite;
|
|
74282
|
+
};
|
|
74283
|
+
export type DevopsTestSuitesGetResponse = DevopsTestSuitesGetResponses[keyof DevopsTestSuitesGetResponses];
|
|
74284
|
+
export type DevopsTestCasesListData = {
|
|
74285
|
+
body?: never;
|
|
74286
|
+
path: {
|
|
74287
|
+
/**
|
|
74288
|
+
* Identifies the project whose data you are reading, from the project list or create answer.
|
|
74289
|
+
*/
|
|
74290
|
+
project: string;
|
|
74291
|
+
};
|
|
74292
|
+
query?: {
|
|
74293
|
+
/**
|
|
74294
|
+
* 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.
|
|
74295
|
+
*/
|
|
74296
|
+
pageSize?: number;
|
|
74297
|
+
/**
|
|
74298
|
+
* The cursor from the previous page's nextPageToken. Treat it as opaque and never build one yourself; omit it for the first page.
|
|
74299
|
+
*/
|
|
74300
|
+
pageToken?: string;
|
|
74301
|
+
/**
|
|
74302
|
+
* 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.
|
|
74303
|
+
*/
|
|
74304
|
+
filter?: string;
|
|
74305
|
+
/**
|
|
74306
|
+
* 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.
|
|
74307
|
+
*/
|
|
74308
|
+
orderBy?: string;
|
|
74309
|
+
};
|
|
74310
|
+
url: '/devops/v1/projects/{project}/test-cases';
|
|
74311
|
+
};
|
|
74312
|
+
export type DevopsTestCasesListErrors = {
|
|
74313
|
+
/**
|
|
74314
|
+
* INVALID_PARAMS or INVALID_ARGUMENT means a field, query value or identifier violates the documented format or range — an unknown enum value, a pageSize outside 1..100, an unsupported filter or orderBy field, or an id with the wrong prefix. Correct the named input; nothing was read or written.
|
|
74315
|
+
*/
|
|
74316
|
+
400: DevopsDevOpsError;
|
|
74317
|
+
/**
|
|
74318
|
+
* The API key is missing or invalid; send a valid Praxis API key in the Authorization header before retrying.
|
|
74319
|
+
*/
|
|
74320
|
+
401: DevopsDevOpsError;
|
|
74321
|
+
/**
|
|
74322
|
+
* The credential carries no organization, or that organization cannot reach this project; use a key belonging to the project's organization. No cross-organization read is possible.
|
|
74323
|
+
*/
|
|
74324
|
+
403: DevopsDevOpsError;
|
|
74325
|
+
/**
|
|
74326
|
+
* PROJECT_NOT_FOUND means no project with that id is visible to this organization; list the projects and use an id from that answer.
|
|
74327
|
+
*/
|
|
74328
|
+
404: DevopsDevOpsError;
|
|
74329
|
+
/**
|
|
74330
|
+
* INTERNAL means the service could not complete the request; retry once, and if it repeats report the request id. A read is safe to repeat; a write that failed this way should be re-read before it is sent again.
|
|
74331
|
+
*/
|
|
74332
|
+
500: DevopsDevOpsError;
|
|
74333
|
+
};
|
|
74334
|
+
export type DevopsTestCasesListError = DevopsTestCasesListErrors[keyof DevopsTestCasesListErrors];
|
|
74335
|
+
export type DevopsTestCasesListResponses = {
|
|
74336
|
+
/**
|
|
74337
|
+
* One page of cases in catalog file order; nextPageToken is empty when the page is the last.
|
|
74338
|
+
*/
|
|
74339
|
+
200: DevopsTestCasePage;
|
|
74340
|
+
};
|
|
74341
|
+
export type DevopsTestCasesListResponse = DevopsTestCasesListResponses[keyof DevopsTestCasesListResponses];
|
|
74342
|
+
export type DevopsTestCasesGetData = {
|
|
74343
|
+
body?: never;
|
|
74344
|
+
path: {
|
|
74345
|
+
/**
|
|
74346
|
+
* The case identifier returned by a case list, or an older id listed in that case's aliases.
|
|
74347
|
+
*/
|
|
74348
|
+
id: string;
|
|
74349
|
+
};
|
|
74350
|
+
query?: never;
|
|
74351
|
+
url: '/devops/v1/test-cases/{id}';
|
|
74352
|
+
};
|
|
74353
|
+
export type DevopsTestCasesGetErrors = {
|
|
74354
|
+
/**
|
|
74355
|
+
* The API key is missing or invalid; send a valid Praxis API key in the Authorization header before retrying.
|
|
74356
|
+
*/
|
|
74357
|
+
401: DevopsDevOpsError;
|
|
74358
|
+
/**
|
|
74359
|
+
* The credential carries no organization, or that organization cannot reach this project; use a key belonging to the project's organization. No cross-organization read is possible.
|
|
74360
|
+
*/
|
|
74361
|
+
403: DevopsDevOpsError;
|
|
74362
|
+
/**
|
|
74363
|
+
* CASE_NOT_FOUND means no case with that id exists in this organization, or its id prefix is not a case id; list the project's cases and use an id from that answer.
|
|
74364
|
+
*/
|
|
74365
|
+
404: DevopsDevOpsError;
|
|
74366
|
+
/**
|
|
74367
|
+
* INTERNAL means the service could not complete the request; retry once, and if it repeats report the request id. A read is safe to repeat; a write that failed this way should be re-read before it is sent again.
|
|
74368
|
+
*/
|
|
74369
|
+
500: DevopsDevOpsError;
|
|
74370
|
+
};
|
|
74371
|
+
export type DevopsTestCasesGetError = DevopsTestCasesGetErrors[keyof DevopsTestCasesGetErrors];
|
|
74372
|
+
export type DevopsTestCasesGetResponses = {
|
|
74373
|
+
/**
|
|
74374
|
+
* The case with its state, statistics and alias ids.
|
|
74375
|
+
*/
|
|
74376
|
+
200: DevopsTestCase;
|
|
74377
|
+
};
|
|
74378
|
+
export type DevopsTestCasesGetResponse = DevopsTestCasesGetResponses[keyof DevopsTestCasesGetResponses];
|
|
74379
|
+
export type DevopsTestPlansListData = {
|
|
74380
|
+
body?: never;
|
|
74381
|
+
path: {
|
|
74382
|
+
/**
|
|
74383
|
+
* Identifies the project whose data you are reading, from the project list or create answer.
|
|
74384
|
+
*/
|
|
74385
|
+
project: string;
|
|
74386
|
+
};
|
|
74387
|
+
query?: {
|
|
74388
|
+
/**
|
|
74389
|
+
* 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.
|
|
74390
|
+
*/
|
|
74391
|
+
pageSize?: number;
|
|
74392
|
+
/**
|
|
74393
|
+
* The cursor from the previous page's nextPageToken. Treat it as opaque and never build one yourself; omit it for the first page.
|
|
74394
|
+
*/
|
|
74395
|
+
pageToken?: string;
|
|
74396
|
+
/**
|
|
74397
|
+
* 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.
|
|
74398
|
+
*/
|
|
74399
|
+
orderBy?: string;
|
|
74400
|
+
};
|
|
74401
|
+
url: '/devops/v1/projects/{project}/test-plans';
|
|
74402
|
+
};
|
|
74403
|
+
export type DevopsTestPlansListErrors = {
|
|
74404
|
+
/**
|
|
74405
|
+
* INVALID_PARAMS or INVALID_ARGUMENT means a field, query value or identifier violates the documented format or range — an unknown enum value, a pageSize outside 1..100, an unsupported filter or orderBy field, or an id with the wrong prefix. Correct the named input; nothing was read or written.
|
|
74406
|
+
*/
|
|
74407
|
+
400: DevopsDevOpsError;
|
|
74408
|
+
/**
|
|
74409
|
+
* The API key is missing or invalid; send a valid Praxis API key in the Authorization header before retrying.
|
|
74410
|
+
*/
|
|
74411
|
+
401: DevopsDevOpsError;
|
|
74412
|
+
/**
|
|
74413
|
+
* The credential carries no organization, or that organization cannot reach this project; use a key belonging to the project's organization. No cross-organization read is possible.
|
|
74414
|
+
*/
|
|
74415
|
+
403: DevopsDevOpsError;
|
|
74416
|
+
/**
|
|
74417
|
+
* PROJECT_NOT_FOUND means no project with that id is visible to this organization; list the projects and use an id from that answer.
|
|
74418
|
+
*/
|
|
74419
|
+
404: DevopsDevOpsError;
|
|
74420
|
+
/**
|
|
74421
|
+
* INTERNAL means the service could not complete the request; retry once, and if it repeats report the request id. A read is safe to repeat; a write that failed this way should be re-read before it is sent again.
|
|
74422
|
+
*/
|
|
74423
|
+
500: DevopsDevOpsError;
|
|
74424
|
+
};
|
|
74425
|
+
export type DevopsTestPlansListError = DevopsTestPlansListErrors[keyof DevopsTestPlansListErrors];
|
|
74426
|
+
export type DevopsTestPlansListResponses = {
|
|
74427
|
+
/**
|
|
74428
|
+
* One page of plans in creation order; nextPageToken is empty on the last page.
|
|
74429
|
+
*/
|
|
74430
|
+
200: DevopsPlanPage;
|
|
74431
|
+
};
|
|
74432
|
+
export type DevopsTestPlansListResponse = DevopsTestPlansListResponses[keyof DevopsTestPlansListResponses];
|
|
74433
|
+
export type DevopsTestPlansCreateData = {
|
|
74434
|
+
/**
|
|
74435
|
+
* The plan to create; key, title, stage, trigger, selector and gate are required.
|
|
74436
|
+
*/
|
|
74437
|
+
body: DevopsPlanCreate;
|
|
74438
|
+
path: {
|
|
74439
|
+
/**
|
|
74440
|
+
* Identifies the project whose data you are reading, from the project list or create answer.
|
|
74441
|
+
*/
|
|
74442
|
+
project: string;
|
|
74443
|
+
};
|
|
74444
|
+
query?: never;
|
|
74445
|
+
url: '/devops/v1/projects/{project}/test-plans';
|
|
74446
|
+
};
|
|
74447
|
+
export type DevopsTestPlansCreateErrors = {
|
|
74448
|
+
/**
|
|
74449
|
+
* INVALID_PARAMS or INVALID_ARGUMENT means a field, query value or identifier violates the documented format or range — an unknown enum value, a pageSize outside 1..100, an unsupported filter or orderBy field, or an id with the wrong prefix. Correct the named input; nothing was read or written.
|
|
74450
|
+
*/
|
|
74451
|
+
400: DevopsDevOpsError;
|
|
74452
|
+
/**
|
|
74453
|
+
* The API key is missing or invalid; send a valid Praxis API key in the Authorization header before retrying.
|
|
74454
|
+
*/
|
|
74455
|
+
401: DevopsDevOpsError;
|
|
74456
|
+
/**
|
|
74457
|
+
* The credential carries no organization, or that organization cannot reach this project; use a key belonging to the project's organization. No cross-organization read is possible.
|
|
74458
|
+
*/
|
|
74459
|
+
403: DevopsDevOpsError;
|
|
74460
|
+
/**
|
|
74461
|
+
* PROJECT_NOT_FOUND means no project with that id is visible to this organization; list the projects and use an id from that answer.
|
|
74462
|
+
*/
|
|
74463
|
+
404: DevopsDevOpsError;
|
|
74464
|
+
/**
|
|
74465
|
+
* PLAN_GATE_ENVIRONMENT_MISMATCH means the gate needs an environment and none was named, or an environment was named for a gate that does not guard one; name the environment the gate protects, or clear the gate. Nothing was created.
|
|
74466
|
+
*/
|
|
74467
|
+
409: DevopsDevOpsError;
|
|
74468
|
+
/**
|
|
74469
|
+
* INTERNAL means the service could not complete the request; retry once, and if it repeats report the request id. A read is safe to repeat; a write that failed this way should be re-read before it is sent again.
|
|
74470
|
+
*/
|
|
74471
|
+
500: DevopsDevOpsError;
|
|
74472
|
+
};
|
|
74473
|
+
export type DevopsTestPlansCreateError = DevopsTestPlansCreateErrors[keyof DevopsTestPlansCreateErrors];
|
|
74474
|
+
export type DevopsTestPlansCreateResponses = {
|
|
74475
|
+
/**
|
|
74476
|
+
* The created plan, already enabled, with its id for later runs and updates.
|
|
74477
|
+
*/
|
|
74478
|
+
200: DevopsPlan;
|
|
74479
|
+
};
|
|
74480
|
+
export type DevopsTestPlansCreateResponse = DevopsTestPlansCreateResponses[keyof DevopsTestPlansCreateResponses];
|
|
74481
|
+
export type DevopsTestPlansDeleteData = {
|
|
74482
|
+
body?: never;
|
|
74483
|
+
path: {
|
|
74484
|
+
/**
|
|
74485
|
+
* The plan identifier returned by a plan list or create answer.
|
|
74486
|
+
*/
|
|
74487
|
+
id: string;
|
|
74488
|
+
};
|
|
74489
|
+
query?: never;
|
|
74490
|
+
url: '/devops/v1/test-plans/{id}';
|
|
74491
|
+
};
|
|
74492
|
+
export type DevopsTestPlansDeleteErrors = {
|
|
74493
|
+
/**
|
|
74494
|
+
* The API key is missing or invalid; send a valid Praxis API key in the Authorization header before retrying.
|
|
74495
|
+
*/
|
|
74496
|
+
401: DevopsDevOpsError;
|
|
74497
|
+
/**
|
|
74498
|
+
* The credential carries no organization, or that organization cannot reach this project; use a key belonging to the project's organization. No cross-organization read is possible.
|
|
74499
|
+
*/
|
|
74500
|
+
403: DevopsDevOpsError;
|
|
74501
|
+
/**
|
|
74502
|
+
* PLAN_NOT_FOUND means no plan with that id exists in this organization; list the project's plans and use an id from that answer.
|
|
74503
|
+
*/
|
|
74504
|
+
404: DevopsDevOpsError;
|
|
74505
|
+
/**
|
|
74506
|
+
* INTERNAL means the service could not complete the request; retry once, and if it repeats report the request id. A read is safe to repeat; a write that failed this way should be re-read before it is sent again.
|
|
74507
|
+
*/
|
|
74508
|
+
500: DevopsDevOpsError;
|
|
74509
|
+
};
|
|
74510
|
+
export type DevopsTestPlansDeleteError = DevopsTestPlansDeleteErrors[keyof DevopsTestPlansDeleteErrors];
|
|
74511
|
+
export type DevopsTestPlansDeleteResponses = {
|
|
74512
|
+
/**
|
|
74513
|
+
* The deletion result; deleted true means the plan no longer schedules runs.
|
|
74514
|
+
*/
|
|
74515
|
+
200: DevopsPlanDeleted;
|
|
74516
|
+
};
|
|
74517
|
+
export type DevopsTestPlansDeleteResponse = DevopsTestPlansDeleteResponses[keyof DevopsTestPlansDeleteResponses];
|
|
74518
|
+
export type DevopsTestPlansGetData = {
|
|
74519
|
+
body?: never;
|
|
74520
|
+
path: {
|
|
74521
|
+
/**
|
|
74522
|
+
* The plan identifier returned by a plan list or create answer.
|
|
74523
|
+
*/
|
|
74524
|
+
id: string;
|
|
74525
|
+
};
|
|
74526
|
+
query?: never;
|
|
74527
|
+
url: '/devops/v1/test-plans/{id}';
|
|
74528
|
+
};
|
|
74529
|
+
export type DevopsTestPlansGetErrors = {
|
|
74530
|
+
/**
|
|
74531
|
+
* The API key is missing or invalid; send a valid Praxis API key in the Authorization header before retrying.
|
|
74532
|
+
*/
|
|
74533
|
+
401: DevopsDevOpsError;
|
|
74534
|
+
/**
|
|
74535
|
+
* The credential carries no organization, or that organization cannot reach this project; use a key belonging to the project's organization. No cross-organization read is possible.
|
|
74536
|
+
*/
|
|
74537
|
+
403: DevopsDevOpsError;
|
|
74538
|
+
/**
|
|
74539
|
+
* PLAN_NOT_FOUND means no plan with that id exists in this organization; list the project's plans and use an id from that answer.
|
|
74540
|
+
*/
|
|
74541
|
+
404: DevopsDevOpsError;
|
|
74542
|
+
/**
|
|
74543
|
+
* INTERNAL means the service could not complete the request; retry once, and if it repeats report the request id. A read is safe to repeat; a write that failed this way should be re-read before it is sent again.
|
|
74544
|
+
*/
|
|
74545
|
+
500: DevopsDevOpsError;
|
|
74546
|
+
};
|
|
74547
|
+
export type DevopsTestPlansGetError = DevopsTestPlansGetErrors[keyof DevopsTestPlansGetErrors];
|
|
74548
|
+
export type DevopsTestPlansGetResponses = {
|
|
74549
|
+
/**
|
|
74550
|
+
* The plan with its selector, trigger, gate and pause state.
|
|
74551
|
+
*/
|
|
74552
|
+
200: DevopsPlan;
|
|
74553
|
+
};
|
|
74554
|
+
export type DevopsTestPlansGetResponse = DevopsTestPlansGetResponses[keyof DevopsTestPlansGetResponses];
|
|
74555
|
+
export type DevopsTestPlansUpdateData = {
|
|
74556
|
+
/**
|
|
74557
|
+
* A patch whose plan object holds only the fields to change, plus an optional update mask naming them.
|
|
74558
|
+
*/
|
|
74559
|
+
body: DevopsPlanUpdate;
|
|
74560
|
+
path: {
|
|
74561
|
+
/**
|
|
74562
|
+
* The plan identifier returned by a plan list or create answer.
|
|
74563
|
+
*/
|
|
74564
|
+
id: string;
|
|
74565
|
+
};
|
|
74566
|
+
query?: never;
|
|
74567
|
+
url: '/devops/v1/test-plans/{id}';
|
|
74568
|
+
};
|
|
74569
|
+
export type DevopsTestPlansUpdateErrors = {
|
|
74570
|
+
/**
|
|
74571
|
+
* INVALID_PARAMS or INVALID_ARGUMENT means a field, query value or identifier violates the documented format or range — an unknown enum value, a pageSize outside 1..100, an unsupported filter or orderBy field, or an id with the wrong prefix. Correct the named input; nothing was read or written.
|
|
74572
|
+
*/
|
|
74573
|
+
400: DevopsDevOpsError;
|
|
74574
|
+
/**
|
|
74575
|
+
* The API key is missing or invalid; send a valid Praxis API key in the Authorization header before retrying.
|
|
74576
|
+
*/
|
|
74577
|
+
401: DevopsDevOpsError;
|
|
74578
|
+
/**
|
|
74579
|
+
* The credential carries no organization, or that organization cannot reach this project; use a key belonging to the project's organization. No cross-organization read is possible.
|
|
74580
|
+
*/
|
|
74581
|
+
403: DevopsDevOpsError;
|
|
74582
|
+
/**
|
|
74583
|
+
* PLAN_NOT_FOUND means no plan with that id exists in this organization; list the project's plans and use an id from that answer.
|
|
74584
|
+
*/
|
|
74585
|
+
404: DevopsDevOpsError;
|
|
74586
|
+
/**
|
|
74587
|
+
* INTERNAL means the service could not complete the request; retry once, and if it repeats report the request id. A read is safe to repeat; a write that failed this way should be re-read before it is sent again.
|
|
74588
|
+
*/
|
|
74589
|
+
500: DevopsDevOpsError;
|
|
74590
|
+
};
|
|
74591
|
+
export type DevopsTestPlansUpdateError = DevopsTestPlansUpdateErrors[keyof DevopsTestPlansUpdateErrors];
|
|
74592
|
+
export type DevopsTestPlansUpdateResponses = {
|
|
74593
|
+
/**
|
|
74594
|
+
* The plan after the patch, with its update time advanced.
|
|
74595
|
+
*/
|
|
74596
|
+
200: DevopsPlan;
|
|
74597
|
+
};
|
|
74598
|
+
export type DevopsTestPlansUpdateResponse = DevopsTestPlansUpdateResponses[keyof DevopsTestPlansUpdateResponses];
|
|
74599
|
+
export type DevopsTestPlansPauseData = {
|
|
74600
|
+
/**
|
|
74601
|
+
* The reason to record, and optionally the time the plan resumes by itself.
|
|
74602
|
+
*/
|
|
74603
|
+
body: DevopsPlanPause;
|
|
74604
|
+
path: {
|
|
74605
|
+
/**
|
|
74606
|
+
* The plan identifier returned by a plan list or create answer.
|
|
74607
|
+
*/
|
|
74608
|
+
id: string;
|
|
74609
|
+
};
|
|
74610
|
+
query?: never;
|
|
74611
|
+
url: '/devops/v1/test-plans/{id}:pause';
|
|
74612
|
+
};
|
|
74613
|
+
export type DevopsTestPlansPauseErrors = {
|
|
74614
|
+
/**
|
|
74615
|
+
* INVALID_PARAMS or INVALID_ARGUMENT means a field, query value or identifier violates the documented format or range — an unknown enum value, a pageSize outside 1..100, an unsupported filter or orderBy field, or an id with the wrong prefix. Correct the named input; nothing was read or written.
|
|
74616
|
+
*/
|
|
74617
|
+
400: DevopsDevOpsError;
|
|
74618
|
+
/**
|
|
74619
|
+
* The API key is missing or invalid; send a valid Praxis API key in the Authorization header before retrying.
|
|
74620
|
+
*/
|
|
74621
|
+
401: DevopsDevOpsError;
|
|
74622
|
+
/**
|
|
74623
|
+
* The credential carries no organization, or that organization cannot reach this project; use a key belonging to the project's organization. No cross-organization read is possible.
|
|
74624
|
+
*/
|
|
74625
|
+
403: DevopsDevOpsError;
|
|
74626
|
+
/**
|
|
74627
|
+
* PLAN_NOT_FOUND means no plan with that id exists in this organization; list the project's plans and use an id from that answer.
|
|
74628
|
+
*/
|
|
74629
|
+
404: DevopsDevOpsError;
|
|
74630
|
+
/**
|
|
74631
|
+
* PLAN_PAUSED means the plan is already paused; read it for the reason and resume time in force instead of pausing it again.
|
|
74632
|
+
*/
|
|
74633
|
+
409: DevopsDevOpsError;
|
|
74634
|
+
/**
|
|
74635
|
+
* INTERNAL means the service could not complete the request; retry once, and if it repeats report the request id. A read is safe to repeat; a write that failed this way should be re-read before it is sent again.
|
|
74636
|
+
*/
|
|
74637
|
+
500: DevopsDevOpsError;
|
|
74638
|
+
};
|
|
74639
|
+
export type DevopsTestPlansPauseError = DevopsTestPlansPauseErrors[keyof DevopsTestPlansPauseErrors];
|
|
74640
|
+
export type DevopsTestPlansPauseResponses = {
|
|
74641
|
+
/**
|
|
74642
|
+
* The plan now paused, carrying the reason and the optional resume time.
|
|
74643
|
+
*/
|
|
74644
|
+
200: DevopsPlan;
|
|
74645
|
+
};
|
|
74646
|
+
export type DevopsTestPlansPauseResponse = DevopsTestPlansPauseResponses[keyof DevopsTestPlansPauseResponses];
|
|
74647
|
+
export type DevopsTestPlansResumeData = {
|
|
74648
|
+
body?: never;
|
|
74649
|
+
path: {
|
|
74650
|
+
/**
|
|
74651
|
+
* The plan identifier returned by a plan list or create answer.
|
|
74652
|
+
*/
|
|
74653
|
+
id: string;
|
|
74654
|
+
};
|
|
74655
|
+
query?: never;
|
|
74656
|
+
url: '/devops/v1/test-plans/{id}:resume';
|
|
74657
|
+
};
|
|
74658
|
+
export type DevopsTestPlansResumeErrors = {
|
|
74659
|
+
/**
|
|
74660
|
+
* The API key is missing or invalid; send a valid Praxis API key in the Authorization header before retrying.
|
|
74661
|
+
*/
|
|
74662
|
+
401: DevopsDevOpsError;
|
|
74663
|
+
/**
|
|
74664
|
+
* The credential carries no organization, or that organization cannot reach this project; use a key belonging to the project's organization. No cross-organization read is possible.
|
|
74665
|
+
*/
|
|
74666
|
+
403: DevopsDevOpsError;
|
|
74667
|
+
/**
|
|
74668
|
+
* PLAN_NOT_FOUND means no plan with that id exists in this organization; list the project's plans and use an id from that answer.
|
|
74669
|
+
*/
|
|
74670
|
+
404: DevopsDevOpsError;
|
|
74671
|
+
/**
|
|
74672
|
+
* INTERNAL means the service could not complete the request; retry once, and if it repeats report the request id. A read is safe to repeat; a write that failed this way should be re-read before it is sent again.
|
|
74673
|
+
*/
|
|
74674
|
+
500: DevopsDevOpsError;
|
|
74675
|
+
};
|
|
74676
|
+
export type DevopsTestPlansResumeError = DevopsTestPlansResumeErrors[keyof DevopsTestPlansResumeErrors];
|
|
74677
|
+
export type DevopsTestPlansResumeResponses = {
|
|
74678
|
+
/**
|
|
74679
|
+
* The plan with its pause cleared.
|
|
74680
|
+
*/
|
|
74681
|
+
200: DevopsPlan;
|
|
74682
|
+
};
|
|
74683
|
+
export type DevopsTestPlansResumeResponse = DevopsTestPlansResumeResponses[keyof DevopsTestPlansResumeResponses];
|
|
74684
|
+
export type DevopsTestRunsListData = {
|
|
74685
|
+
body?: never;
|
|
74686
|
+
path: {
|
|
74687
|
+
/**
|
|
74688
|
+
* Identifies the project whose data you are reading, from the project list or create answer.
|
|
74689
|
+
*/
|
|
74690
|
+
project: string;
|
|
74691
|
+
};
|
|
74692
|
+
query?: {
|
|
74693
|
+
/**
|
|
74694
|
+
* 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.
|
|
74695
|
+
*/
|
|
74696
|
+
pageSize?: number;
|
|
74697
|
+
/**
|
|
74698
|
+
* The cursor from the previous page's nextPageToken. Treat it as opaque and never build one yourself; omit it for the first page.
|
|
74699
|
+
*/
|
|
74700
|
+
pageToken?: string;
|
|
74701
|
+
/**
|
|
74702
|
+
* 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.
|
|
74703
|
+
*/
|
|
74704
|
+
filter?: string;
|
|
74705
|
+
/**
|
|
74706
|
+
* 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.
|
|
74707
|
+
*/
|
|
74708
|
+
orderBy?: string;
|
|
74709
|
+
};
|
|
74710
|
+
url: '/devops/v1/projects/{project}/test-runs';
|
|
74711
|
+
};
|
|
74712
|
+
export type DevopsTestRunsListErrors = {
|
|
74713
|
+
/**
|
|
74714
|
+
* INVALID_PARAMS or INVALID_ARGUMENT means a field, query value or identifier violates the documented format or range — an unknown enum value, a pageSize outside 1..100, an unsupported filter or orderBy field, or an id with the wrong prefix. Correct the named input; nothing was read or written.
|
|
74715
|
+
*/
|
|
74716
|
+
400: DevopsDevOpsError;
|
|
74717
|
+
/**
|
|
74718
|
+
* The API key is missing or invalid; send a valid Praxis API key in the Authorization header before retrying.
|
|
74719
|
+
*/
|
|
74720
|
+
401: DevopsDevOpsError;
|
|
74721
|
+
/**
|
|
74722
|
+
* The credential carries no organization, or that organization cannot reach this project; use a key belonging to the project's organization. No cross-organization read is possible.
|
|
74723
|
+
*/
|
|
74724
|
+
403: DevopsDevOpsError;
|
|
74725
|
+
/**
|
|
74726
|
+
* PROJECT_NOT_FOUND means no project with that id is visible to this organization; list the projects and use an id from that answer.
|
|
74727
|
+
*/
|
|
74728
|
+
404: DevopsDevOpsError;
|
|
74729
|
+
/**
|
|
74730
|
+
* INTERNAL means the service could not complete the request; retry once, and if it repeats report the request id. A read is safe to repeat; a write that failed this way should be re-read before it is sent again.
|
|
74731
|
+
*/
|
|
74732
|
+
500: DevopsDevOpsError;
|
|
74733
|
+
};
|
|
74734
|
+
export type DevopsTestRunsListError = DevopsTestRunsListErrors[keyof DevopsTestRunsListErrors];
|
|
74735
|
+
export type DevopsTestRunsListResponses = {
|
|
74736
|
+
/**
|
|
74737
|
+
* One page of runs, newest first; nextPageToken is empty on the last page.
|
|
74738
|
+
*/
|
|
74739
|
+
200: DevopsRunPage;
|
|
74740
|
+
};
|
|
74741
|
+
export type DevopsTestRunsListResponse = DevopsTestRunsListResponses[keyof DevopsTestRunsListResponses];
|
|
74742
|
+
export type DevopsTestRunsCreateData = {
|
|
74743
|
+
/**
|
|
74744
|
+
* The commit to test, plus the plan or selector that decides which cases run.
|
|
74745
|
+
*/
|
|
74746
|
+
body: DevopsRunCreate;
|
|
74747
|
+
path: {
|
|
74748
|
+
/**
|
|
74749
|
+
* Identifies the project whose data you are reading, from the project list or create answer.
|
|
74750
|
+
*/
|
|
74751
|
+
project: string;
|
|
74752
|
+
};
|
|
74753
|
+
query?: never;
|
|
74754
|
+
url: '/devops/v1/projects/{project}/test-runs';
|
|
74755
|
+
};
|
|
74756
|
+
export type DevopsTestRunsCreateErrors = {
|
|
74757
|
+
/**
|
|
74758
|
+
* INVALID_PARAMS or INVALID_ARGUMENT means a field, query value or identifier violates the documented format or range — an unknown enum value, a pageSize outside 1..100, an unsupported filter or orderBy field, or an id with the wrong prefix. Correct the named input; nothing was read or written.
|
|
74759
|
+
*/
|
|
74760
|
+
400: DevopsDevOpsError;
|
|
74761
|
+
/**
|
|
74762
|
+
* The API key is missing or invalid; send a valid Praxis API key in the Authorization header before retrying.
|
|
74763
|
+
*/
|
|
74764
|
+
401: DevopsDevOpsError;
|
|
74765
|
+
/**
|
|
74766
|
+
* The credential carries no organization, or that organization cannot reach this project; use a key belonging to the project's organization. No cross-organization read is possible.
|
|
74767
|
+
*/
|
|
74768
|
+
403: DevopsDevOpsError;
|
|
74769
|
+
/**
|
|
74770
|
+
* PROJECT_NOT_FOUND means no project with that id is visible to this organization; list the projects and use an id from that answer.
|
|
74771
|
+
*/
|
|
74772
|
+
404: DevopsDevOpsError;
|
|
74773
|
+
/**
|
|
74774
|
+
* INTERNAL means the service could not complete the request; retry once, and if it repeats report the request id. A read is safe to repeat; a write that failed this way should be re-read before it is sent again.
|
|
74775
|
+
*/
|
|
74776
|
+
500: DevopsDevOpsError;
|
|
74777
|
+
};
|
|
74778
|
+
export type DevopsTestRunsCreateError = DevopsTestRunsCreateErrors[keyof DevopsTestRunsCreateErrors];
|
|
74779
|
+
export type DevopsTestRunsCreateResponses = {
|
|
74780
|
+
/**
|
|
74781
|
+
* The created run; its result is pending until executions are reported, unless waitUntil already waited for a verdict.
|
|
74782
|
+
*/
|
|
74783
|
+
200: DevopsRun;
|
|
74784
|
+
};
|
|
74785
|
+
export type DevopsTestRunsCreateResponse = DevopsTestRunsCreateResponses[keyof DevopsTestRunsCreateResponses];
|
|
74786
|
+
export type DevopsTestRunsGetData = {
|
|
74787
|
+
body?: never;
|
|
74788
|
+
path: {
|
|
74789
|
+
/**
|
|
74790
|
+
* The run identifier returned by a run list or create answer.
|
|
74791
|
+
*/
|
|
74792
|
+
id: string;
|
|
74793
|
+
};
|
|
74794
|
+
query?: {
|
|
74795
|
+
/**
|
|
74796
|
+
* 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.
|
|
74797
|
+
*/
|
|
74798
|
+
expand?: Array<'failedExecutions'>;
|
|
74799
|
+
};
|
|
74800
|
+
url: '/devops/v1/test-runs/{id}';
|
|
74801
|
+
};
|
|
74802
|
+
export type DevopsTestRunsGetErrors = {
|
|
74803
|
+
/**
|
|
74804
|
+
* INVALID_PARAMS or INVALID_ARGUMENT means a field, query value or identifier violates the documented format or range — an unknown enum value, a pageSize outside 1..100, an unsupported filter or orderBy field, or an id with the wrong prefix. Correct the named input; nothing was read or written.
|
|
74805
|
+
*/
|
|
74806
|
+
400: DevopsDevOpsError;
|
|
74807
|
+
/**
|
|
74808
|
+
* The API key is missing or invalid; send a valid Praxis API key in the Authorization header before retrying.
|
|
74809
|
+
*/
|
|
74810
|
+
401: DevopsDevOpsError;
|
|
74811
|
+
/**
|
|
74812
|
+
* The credential carries no organization, or that organization cannot reach this project; use a key belonging to the project's organization. No cross-organization read is possible.
|
|
74813
|
+
*/
|
|
74814
|
+
403: DevopsDevOpsError;
|
|
74815
|
+
/**
|
|
74816
|
+
* RUN_NOT_FOUND means no run with that id exists in this organization; list the project's runs and use an id from that answer. A run belonging to another organization reads the same way.
|
|
74817
|
+
*/
|
|
74818
|
+
404: DevopsDevOpsError;
|
|
74819
|
+
/**
|
|
74820
|
+
* INTERNAL means the service could not complete the request; retry once, and if it repeats report the request id. A read is safe to repeat; a write that failed this way should be re-read before it is sent again.
|
|
74821
|
+
*/
|
|
74822
|
+
500: DevopsDevOpsError;
|
|
74823
|
+
};
|
|
74824
|
+
export type DevopsTestRunsGetError = DevopsTestRunsGetErrors[keyof DevopsTestRunsGetErrors];
|
|
74825
|
+
export type DevopsTestRunsGetResponses = {
|
|
74826
|
+
/**
|
|
74827
|
+
* The run, with failedExecutions present only when that expand was requested.
|
|
74828
|
+
*/
|
|
74829
|
+
200: DevopsRun;
|
|
74830
|
+
};
|
|
74831
|
+
export type DevopsTestRunsGetResponse = DevopsTestRunsGetResponses[keyof DevopsTestRunsGetResponses];
|
|
74832
|
+
export type DevopsTestRunsCancelData = {
|
|
74833
|
+
/**
|
|
74834
|
+
* The reason to record on the run; it is required and is shown to later readers.
|
|
74835
|
+
*/
|
|
74836
|
+
body: DevopsRunCancel;
|
|
74837
|
+
path: {
|
|
74838
|
+
/**
|
|
74839
|
+
* The run identifier returned by a run list or create answer.
|
|
74840
|
+
*/
|
|
74841
|
+
id: string;
|
|
74842
|
+
};
|
|
74843
|
+
query?: never;
|
|
74844
|
+
url: '/devops/v1/test-runs/{id}:cancel';
|
|
74845
|
+
};
|
|
74846
|
+
export type DevopsTestRunsCancelErrors = {
|
|
74847
|
+
/**
|
|
74848
|
+
* INVALID_PARAMS or INVALID_ARGUMENT means a field, query value or identifier violates the documented format or range — an unknown enum value, a pageSize outside 1..100, an unsupported filter or orderBy field, or an id with the wrong prefix. Correct the named input; nothing was read or written.
|
|
74849
|
+
*/
|
|
74850
|
+
400: DevopsDevOpsError;
|
|
74851
|
+
/**
|
|
74852
|
+
* The API key is missing or invalid; send a valid Praxis API key in the Authorization header before retrying.
|
|
74853
|
+
*/
|
|
74854
|
+
401: DevopsDevOpsError;
|
|
74855
|
+
/**
|
|
74856
|
+
* The credential carries no organization, or that organization cannot reach this project; use a key belonging to the project's organization. No cross-organization read is possible.
|
|
74857
|
+
*/
|
|
74858
|
+
403: DevopsDevOpsError;
|
|
74859
|
+
/**
|
|
74860
|
+
* RUN_NOT_FOUND means no run with that id exists in this organization; list the project's runs and use an id from that answer. A run belonging to another organization reads the same way.
|
|
74861
|
+
*/
|
|
74862
|
+
404: DevopsDevOpsError;
|
|
74863
|
+
/**
|
|
74864
|
+
* RUN_ALREADY_FINISHED means the run already reached a verdict, so there is nothing to cancel; read its result and start a new run if the commit needs testing again.
|
|
74865
|
+
*/
|
|
74866
|
+
409: DevopsDevOpsError;
|
|
74867
|
+
/**
|
|
74868
|
+
* INTERNAL means the service could not complete the request; retry once, and if it repeats report the request id. A read is safe to repeat; a write that failed this way should be re-read before it is sent again.
|
|
74869
|
+
*/
|
|
74870
|
+
500: DevopsDevOpsError;
|
|
74871
|
+
};
|
|
74872
|
+
export type DevopsTestRunsCancelError = DevopsTestRunsCancelErrors[keyof DevopsTestRunsCancelErrors];
|
|
74873
|
+
export type DevopsTestRunsCancelResponses = {
|
|
74874
|
+
/**
|
|
74875
|
+
* The run now cancelled, carrying the reason and its end time.
|
|
74876
|
+
*/
|
|
74877
|
+
200: DevopsRun;
|
|
74878
|
+
};
|
|
74879
|
+
export type DevopsTestRunsCancelResponse = DevopsTestRunsCancelResponses[keyof DevopsTestRunsCancelResponses];
|
|
74880
|
+
export type DevopsTestExecutionsListData = {
|
|
74881
|
+
body?: never;
|
|
74882
|
+
path: {
|
|
74883
|
+
/**
|
|
74884
|
+
* The run whose executions you are reading, from a run list or create answer.
|
|
74885
|
+
*/
|
|
74886
|
+
run: string;
|
|
74887
|
+
};
|
|
74888
|
+
query?: {
|
|
74889
|
+
/**
|
|
74890
|
+
* 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.
|
|
74891
|
+
*/
|
|
74892
|
+
pageSize?: number;
|
|
74893
|
+
/**
|
|
74894
|
+
* The cursor from the previous page's nextPageToken. Treat it as opaque and never build one yourself; omit it for the first page.
|
|
74895
|
+
*/
|
|
74896
|
+
pageToken?: string;
|
|
74897
|
+
/**
|
|
74898
|
+
* 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.
|
|
74899
|
+
*/
|
|
74900
|
+
filter?: string;
|
|
74901
|
+
/**
|
|
74902
|
+
* 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.
|
|
74903
|
+
*/
|
|
74904
|
+
orderBy?: string;
|
|
74905
|
+
};
|
|
74906
|
+
url: '/devops/v1/test-runs/{run}/executions';
|
|
74907
|
+
};
|
|
74908
|
+
export type DevopsTestExecutionsListErrors = {
|
|
74909
|
+
/**
|
|
74910
|
+
* INVALID_PARAMS or INVALID_ARGUMENT means a field, query value or identifier violates the documented format or range — an unknown enum value, a pageSize outside 1..100, an unsupported filter or orderBy field, or an id with the wrong prefix. Correct the named input; nothing was read or written.
|
|
74911
|
+
*/
|
|
74912
|
+
400: DevopsDevOpsError;
|
|
74913
|
+
/**
|
|
74914
|
+
* The API key is missing or invalid; send a valid Praxis API key in the Authorization header before retrying.
|
|
74915
|
+
*/
|
|
74916
|
+
401: DevopsDevOpsError;
|
|
74917
|
+
/**
|
|
74918
|
+
* The credential carries no organization, or that organization cannot reach this project; use a key belonging to the project's organization. No cross-organization read is possible.
|
|
74919
|
+
*/
|
|
74920
|
+
403: DevopsDevOpsError;
|
|
74921
|
+
/**
|
|
74922
|
+
* RUN_NOT_FOUND means no run with that id exists in this organization; list the project's runs and use an id from that answer. A run belonging to another organization reads the same way.
|
|
74923
|
+
*/
|
|
74924
|
+
404: DevopsDevOpsError;
|
|
74925
|
+
/**
|
|
74926
|
+
* INTERNAL means the service could not complete the request; retry once, and if it repeats report the request id. A read is safe to repeat; a write that failed this way should be re-read before it is sent again.
|
|
74927
|
+
*/
|
|
74928
|
+
500: DevopsDevOpsError;
|
|
74929
|
+
};
|
|
74930
|
+
export type DevopsTestExecutionsListError = DevopsTestExecutionsListErrors[keyof DevopsTestExecutionsListErrors];
|
|
74931
|
+
export type DevopsTestExecutionsListResponses = {
|
|
74932
|
+
/**
|
|
74933
|
+
* One page of executions; nextPageToken is empty on the last page.
|
|
74934
|
+
*/
|
|
74935
|
+
200: DevopsExecutionPage;
|
|
74936
|
+
};
|
|
74937
|
+
export type DevopsTestExecutionsListResponse = DevopsTestExecutionsListResponses[keyof DevopsTestExecutionsListResponses];
|
|
74938
|
+
export type DevopsTestExecutionsGetData = {
|
|
74939
|
+
body?: never;
|
|
74940
|
+
path: {
|
|
74941
|
+
/**
|
|
74942
|
+
* The run whose executions you are reading, from a run list or create answer.
|
|
74943
|
+
*/
|
|
74944
|
+
run: string;
|
|
74945
|
+
/**
|
|
74946
|
+
* The case to read inside that run, from the run's execution list or the project's case list.
|
|
74947
|
+
*/
|
|
74948
|
+
case: string;
|
|
74949
|
+
};
|
|
74950
|
+
query?: never;
|
|
74951
|
+
url: '/devops/v1/test-runs/{run}/executions/{case}';
|
|
74952
|
+
};
|
|
74953
|
+
export type DevopsTestExecutionsGetErrors = {
|
|
74954
|
+
/**
|
|
74955
|
+
* The API key is missing or invalid; send a valid Praxis API key in the Authorization header before retrying.
|
|
74956
|
+
*/
|
|
74957
|
+
401: DevopsDevOpsError;
|
|
74958
|
+
/**
|
|
74959
|
+
* The credential carries no organization, or that organization cannot reach this project; use a key belonging to the project's organization. No cross-organization read is possible.
|
|
74960
|
+
*/
|
|
74961
|
+
403: DevopsDevOpsError;
|
|
74962
|
+
/**
|
|
74963
|
+
* NOT_FOUND means that case was not executed in that run — it was not selected, or the run had not reached it when it was cancelled. List the run's executions to see which cases it actually holds.
|
|
74964
|
+
*/
|
|
74965
|
+
404: DevopsDevOpsError;
|
|
74966
|
+
/**
|
|
74967
|
+
* INTERNAL means the service could not complete the request; retry once, and if it repeats report the request id. A read is safe to repeat; a write that failed this way should be re-read before it is sent again.
|
|
74968
|
+
*/
|
|
74969
|
+
500: DevopsDevOpsError;
|
|
74970
|
+
};
|
|
74971
|
+
export type DevopsTestExecutionsGetError = DevopsTestExecutionsGetErrors[keyof DevopsTestExecutionsGetErrors];
|
|
74972
|
+
export type DevopsTestExecutionsGetResponses = {
|
|
74973
|
+
/**
|
|
74974
|
+
* The execution for that case in that run, with its attempts and evidence.
|
|
74975
|
+
*/
|
|
74976
|
+
200: DevopsExecution;
|
|
74977
|
+
};
|
|
74978
|
+
export type DevopsTestExecutionsGetResponse = DevopsTestExecutionsGetResponses[keyof DevopsTestExecutionsGetResponses];
|
|
74979
|
+
export type DevopsTestReportsUploadData = {
|
|
74980
|
+
/**
|
|
74981
|
+
* The report document, its format, the run it belongs to, and the caller's own report id.
|
|
74982
|
+
*/
|
|
74983
|
+
body: DevopsReportUploadRequest;
|
|
74984
|
+
path: {
|
|
74985
|
+
/**
|
|
74986
|
+
* Identifies the project whose data you are reading, from the project list or create answer.
|
|
74987
|
+
*/
|
|
74988
|
+
project: string;
|
|
74989
|
+
};
|
|
74990
|
+
query?: never;
|
|
74991
|
+
url: '/devops/v1/projects/{project}/test-reports';
|
|
74992
|
+
};
|
|
74993
|
+
export type DevopsTestReportsUploadErrors = {
|
|
74994
|
+
/**
|
|
74995
|
+
* REPORT_INVALID means the body is not a well-formed report of the declared format, or a required field is missing; nothing was recorded, so correct the document and upload it again.
|
|
74996
|
+
*/
|
|
74997
|
+
400: DevopsDevOpsError;
|
|
74998
|
+
/**
|
|
74999
|
+
* The API key is missing or invalid; send a valid Praxis API key in the Authorization header before retrying.
|
|
75000
|
+
*/
|
|
75001
|
+
401: DevopsDevOpsError;
|
|
75002
|
+
/**
|
|
75003
|
+
* The credential carries no organization, or that organization cannot reach this project; use a key belonging to the project's organization. No cross-organization read is possible.
|
|
75004
|
+
*/
|
|
75005
|
+
403: DevopsDevOpsError;
|
|
75006
|
+
/**
|
|
75007
|
+
* PROJECT_NOT_FOUND means no project with that id is visible to this organization; list the projects and use an id from that answer.
|
|
75008
|
+
*/
|
|
75009
|
+
404: DevopsDevOpsError;
|
|
75010
|
+
/**
|
|
75011
|
+
* INTERNAL means the service could not complete the request; retry once, and if it repeats report the request id. A read is safe to repeat; a write that failed this way should be re-read before it is sent again.
|
|
75012
|
+
*/
|
|
75013
|
+
500: DevopsDevOpsError;
|
|
75014
|
+
};
|
|
75015
|
+
export type DevopsTestReportsUploadError = DevopsTestReportsUploadErrors[keyof DevopsTestReportsUploadErrors];
|
|
75016
|
+
export type DevopsTestReportsUploadResponses = {
|
|
75017
|
+
/**
|
|
75018
|
+
* The stored report with how many executions it carried and when it was received.
|
|
75019
|
+
*/
|
|
75020
|
+
200: DevopsReportUpload;
|
|
75021
|
+
};
|
|
75022
|
+
export type DevopsTestReportsUploadResponse = DevopsTestReportsUploadResponses[keyof DevopsTestReportsUploadResponses];
|
|
72328
75023
|
export type KnowledgeListVectorStoresData = {
|
|
72329
75024
|
body?: never;
|
|
72330
75025
|
path?: never;
|
|
@@ -74999,9 +77694,9 @@ export type MediaListUnderstandingsData = {
|
|
|
74999
77694
|
*/
|
|
75000
77695
|
include_superseded?: boolean;
|
|
75001
77696
|
/**
|
|
75002
|
-
* 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.
|
|
77697
|
+
* 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.
|
|
75003
77698
|
*/
|
|
75004
|
-
kind?: 'caption' | 'tags' | 'ocr' | 'transcript' | 'frame' | 'overview' | 'audio' | 'embedding';
|
|
77699
|
+
kind?: 'caption' | 'tags' | 'ocr' | 'transcript' | 'frame' | 'overview' | 'audio' | 'loudness' | 'beats' | 'content' | 'embedding';
|
|
75005
77700
|
/**
|
|
75006
77701
|
* Cursor from the previous next_cursor.
|
|
75007
77702
|
*/
|
|
@@ -76023,7 +78718,7 @@ export type MediaListUnderstandingsByLibraryData = {
|
|
|
76023
78718
|
*/
|
|
76024
78719
|
folder?: string;
|
|
76025
78720
|
/**
|
|
76026
|
-
* Comma-separated output kinds: caption, tags, ocr, frame, transcript, overview, audio, embedding. Omit or empty to include every kind.
|
|
78721
|
+
* Comma-separated output kinds: caption, tags, ocr, frame, transcript, overview, audio, loudness, beats, content, embedding. Omit or empty to include every kind.
|
|
76027
78722
|
*/
|
|
76028
78723
|
kinds?: string;
|
|
76029
78724
|
/**
|