@deepraxis/sdk 0.1.1-dev.64696fb → 0.1.1-dev.6602a93
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 +16 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +41 -9
- package/dist/generated/sdk.gen.js +97 -8
- package/dist/generated/types.gen.d.ts +868 -129
- package/dist/operations.generated.d.ts +1 -0
- package/dist/operations.generated.js +401 -14
- package/dist/resources.generated.d.ts +14 -0
- package/dist/resources.generated.js +9 -0
- package/package.json +1 -1
|
@@ -10012,9 +10012,9 @@ export type ApplicationGrant = {
|
|
|
10012
10012
|
/**
|
|
10013
10013
|
* Resource type.
|
|
10014
10014
|
*/
|
|
10015
|
-
type: 'database' | 'files' | 'knowledge' | 'models';
|
|
10015
|
+
type: 'database' | 'files' | 'knowledge' | 'models' | 'agent';
|
|
10016
10016
|
/**
|
|
10017
|
-
* Database
|
|
10017
|
+
* Database, knowledge base or agent ID; * for files and models.
|
|
10018
10018
|
*/
|
|
10019
10019
|
id: string;
|
|
10020
10020
|
};
|
|
@@ -10039,9 +10039,9 @@ export type ApplicationCreateGrantInput = {
|
|
|
10039
10039
|
/**
|
|
10040
10040
|
* Resource type.
|
|
10041
10041
|
*/
|
|
10042
|
-
type: 'database' | 'files' | 'knowledge' | 'models';
|
|
10042
|
+
type: 'database' | 'files' | 'knowledge' | 'models' | 'agent';
|
|
10043
10043
|
/**
|
|
10044
|
-
* Database
|
|
10044
|
+
* Database, knowledge base or agent ID in your organization; * for files and models.
|
|
10045
10045
|
*/
|
|
10046
10046
|
id: string;
|
|
10047
10047
|
};
|
|
@@ -16655,27 +16655,57 @@ export type DevopsTestPlan = {
|
|
|
16655
16655
|
* Every feature scenario of the affected packages at the gate's sizes, sorted by package and title, each with whether this diff requires it and what evidence answers it. This is the finer reading of packages: a merge asks for evidence only on the required cases.
|
|
16656
16656
|
*/
|
|
16657
16657
|
cases: Array<DevopsTestPlanCase>;
|
|
16658
|
+
/**
|
|
16659
|
+
* Present only for view summary: one row per package that has cases, counting its cases. required is what this diff requires evidence for, unaffected is what it does not reach, and of the required ones evidenced have a passing row at their deps hash, missing have none and failed have a newest failing row (required = evidenced + missing + failed). In this view cases lists the required cases only.
|
|
16660
|
+
*/
|
|
16661
|
+
caseCounts?: Array<DevopsTestPlanCaseCounts>;
|
|
16658
16662
|
/**
|
|
16659
16663
|
* The changed paths the ownership rule could not place, present only when selection is failed. Fix the rule or the paths: with no package named over paths that were not judged none, neither a pass nor a run is the truth.
|
|
16660
16664
|
*/
|
|
16661
16665
|
failedPaths?: Array<string>;
|
|
16662
16666
|
};
|
|
16663
16667
|
/**
|
|
16664
|
-
*
|
|
16668
|
+
* A new project: its name and, for a project with code, where the code lives.
|
|
16665
16669
|
*/
|
|
16666
|
-
export type
|
|
16670
|
+
export type DevopsProjectCreate = {
|
|
16667
16671
|
/**
|
|
16668
|
-
*
|
|
16672
|
+
* Kebab-case name, unique within the organization.
|
|
16669
16673
|
*/
|
|
16670
|
-
|
|
16674
|
+
name: string;
|
|
16671
16675
|
/**
|
|
16672
|
-
*
|
|
16676
|
+
* What the project is for, in your own words.
|
|
16673
16677
|
*/
|
|
16674
|
-
|
|
16678
|
+
description?: string;
|
|
16675
16679
|
/**
|
|
16676
|
-
*
|
|
16680
|
+
* Where the code lives: github (the default) or platform, a git package of our own Git.
|
|
16677
16681
|
*/
|
|
16678
|
-
|
|
16682
|
+
provider?: 'github' | 'platform';
|
|
16683
|
+
/**
|
|
16684
|
+
* provider platform only: the id of a git package of your organization's registry. Not valid with connection or repository.
|
|
16685
|
+
*/
|
|
16686
|
+
package?: string;
|
|
16687
|
+
/**
|
|
16688
|
+
* provider platform only: an existing branch (for example import) to create the default branch from, when the package has none yet. Refused with DEFAULT_BRANCH_EXISTS if the default branch exists, REF_NOT_FOUND if this branch does not; no project is created then.
|
|
16689
|
+
*/
|
|
16690
|
+
initialRef?: string;
|
|
16691
|
+
/**
|
|
16692
|
+
* provider github only: the connection of a completed GitHub App install that can see the repository.
|
|
16693
|
+
*/
|
|
16694
|
+
connection?: string;
|
|
16695
|
+
/**
|
|
16696
|
+
* provider github only: the repository as owner/name.
|
|
16697
|
+
*/
|
|
16698
|
+
repository?: string;
|
|
16699
|
+
/**
|
|
16700
|
+
* Delivery settings; keys you leave out take their defaults.
|
|
16701
|
+
*/
|
|
16702
|
+
settings?: {
|
|
16703
|
+
[key: string]: unknown;
|
|
16704
|
+
};
|
|
16705
|
+
/**
|
|
16706
|
+
* Idempotency key: repeat the call with the same value to be given the same answer.
|
|
16707
|
+
*/
|
|
16708
|
+
requestId?: string;
|
|
16679
16709
|
};
|
|
16680
16710
|
/**
|
|
16681
16711
|
* One delivery project — the unit a release, a promotion and a flag all belong to.
|
|
@@ -16721,6 +16751,49 @@ export type DevopsProject = {
|
|
|
16721
16751
|
[key: string]: string;
|
|
16722
16752
|
};
|
|
16723
16753
|
};
|
|
16754
|
+
/**
|
|
16755
|
+
* One page of the organization's delivery projects, newest first, and how many projects the organization has in total.
|
|
16756
|
+
*/
|
|
16757
|
+
export type DevopsProjectPage = {
|
|
16758
|
+
/**
|
|
16759
|
+
* The projects on this page, ordered by creation time descending; a project of another organization is never among them.
|
|
16760
|
+
*/
|
|
16761
|
+
items: Array<DevopsProject>;
|
|
16762
|
+
/**
|
|
16763
|
+
* Cursor for the next page; an empty string means this was the last page, which is the only signal a list is finished.
|
|
16764
|
+
*/
|
|
16765
|
+
nextPageToken: string;
|
|
16766
|
+
/**
|
|
16767
|
+
* How many undeleted projects the caller's own organization has: 0 means the organization has none yet, not that the read returned nothing. Visible means visible to the credential's organization — the count filters rows by organization_id and is not a permission check, so it says nothing about what the caller may be granted. It is the organization's total across all pages, never this page's length: while paging it is at least the length of items, and equal on the first page when every project fits. Always present, so items: [] together with visibleProjects: 0 is an answer rather than an empty response to guess at; an organization without projects still answers 200.
|
|
16768
|
+
*/
|
|
16769
|
+
visibleProjects: number;
|
|
16770
|
+
};
|
|
16771
|
+
/**
|
|
16772
|
+
* Where to start the default branch.
|
|
16773
|
+
*/
|
|
16774
|
+
export type DevopsDefaultBranchInitialize = {
|
|
16775
|
+
/**
|
|
16776
|
+
* An existing branch of the repository, for example import. The default branch is created at its head.
|
|
16777
|
+
*/
|
|
16778
|
+
from: string;
|
|
16779
|
+
};
|
|
16780
|
+
/**
|
|
16781
|
+
* The default branch that now exists.
|
|
16782
|
+
*/
|
|
16783
|
+
export type DevopsDefaultBranchInitialized = {
|
|
16784
|
+
/**
|
|
16785
|
+
* The default branch the project declares, now created.
|
|
16786
|
+
*/
|
|
16787
|
+
defaultBranch: string;
|
|
16788
|
+
/**
|
|
16789
|
+
* The branch it was started from.
|
|
16790
|
+
*/
|
|
16791
|
+
from: string;
|
|
16792
|
+
/**
|
|
16793
|
+
* The commit the default branch points at, the head of from when it was read.
|
|
16794
|
+
*/
|
|
16795
|
+
commit: string;
|
|
16796
|
+
};
|
|
16724
16797
|
/**
|
|
16725
16798
|
* A patch to a project; only the fields named in updateMask are written.
|
|
16726
16799
|
*/
|
|
@@ -17098,6 +17171,27 @@ export type DevopsPromotionConcludeRequest = {
|
|
|
17098
17171
|
*/
|
|
17099
17172
|
reason: string;
|
|
17100
17173
|
};
|
|
17174
|
+
/**
|
|
17175
|
+
* What a deploy machine fetches a platform-Git project's code with: the repository's clone URL and a pull-only credential for that one repository.
|
|
17176
|
+
*/
|
|
17177
|
+
export type DevopsCheckoutCredential = {
|
|
17178
|
+
/**
|
|
17179
|
+
* The https clone URL of the project's repository on the platform's Git. It carries no credential; send the credential below through git's credential helper.
|
|
17180
|
+
*/
|
|
17181
|
+
cloneUrl: string;
|
|
17182
|
+
/**
|
|
17183
|
+
* The user name git sends with the password.
|
|
17184
|
+
*/
|
|
17185
|
+
username: string;
|
|
17186
|
+
/**
|
|
17187
|
+
* A secret: the pull credential. It reads this one repository and nothing else, and stops working at expireTime. Never print or store it.
|
|
17188
|
+
*/
|
|
17189
|
+
password: string;
|
|
17190
|
+
/**
|
|
17191
|
+
* RFC 3339 UTC time the credential stops working, 15 minutes after it was issued. Ask again for a new one rather than extending.
|
|
17192
|
+
*/
|
|
17193
|
+
expireTime: string;
|
|
17194
|
+
};
|
|
17101
17195
|
/**
|
|
17102
17196
|
* One page of a promotion's rollouts, in plan order.
|
|
17103
17197
|
*/
|
|
@@ -17206,9 +17300,13 @@ export type DevopsEnvironmentUpdate = {
|
|
|
17206
17300
|
* Suffix such as -develop that this environment adds to site hostnames, or null for none.
|
|
17207
17301
|
*/
|
|
17208
17302
|
domainSuffix?: string | null;
|
|
17303
|
+
/**
|
|
17304
|
+
* Which stage of the path the environment belongs to: integration environments receive every merge, release environments receive promotions only. Moving an environment between stages changes what the next merge deploys and what a promotion into a release environment waits for; the observation and blocking rules it already carries are not rewritten.
|
|
17305
|
+
*/
|
|
17306
|
+
stage?: 'integration' | 'release';
|
|
17209
17307
|
};
|
|
17210
17308
|
/**
|
|
17211
|
-
* Which environment fields to write, by name: name, order, requireApproval, observeMinutes, blocksLater, domainSuffix. Omit it to write every field the environment object carries.
|
|
17309
|
+
* Which environment fields to write, by name: name, order, requireApproval, observeMinutes, blocksLater, domainSuffix, stage. Omit it to write every field the environment object carries.
|
|
17212
17310
|
*/
|
|
17213
17311
|
updateMask?: Array<string>;
|
|
17214
17312
|
};
|
|
@@ -17249,7 +17347,11 @@ export type DevopsEnvironment = {
|
|
|
17249
17347
|
*/
|
|
17250
17348
|
tier: 'production' | 'staging' | 'testing' | 'development' | 'other';
|
|
17251
17349
|
/**
|
|
17252
|
-
*
|
|
17350
|
+
* Which stage of the path this environment belongs to (Sean 2026-11-24: development, integration, release). Every merge is deployed to every integration-stage environment; a promotion into a release-stage environment needs the release deployed successfully to every integration-stage environment, and verification never gates it.
|
|
17351
|
+
*/
|
|
17352
|
+
stage: 'integration' | 'release';
|
|
17353
|
+
/**
|
|
17354
|
+
* Position in the promotion sequence, starting at 1 and contiguous. A release-stage environment needs the release deployed in every integration-stage environment, wherever they sit in the order.
|
|
17253
17355
|
*/
|
|
17254
17356
|
order: number;
|
|
17255
17357
|
/**
|
|
@@ -17881,6 +17983,10 @@ export type DevopsChangeOpenPullRequestRequest = {
|
|
|
17881
17983
|
* The pull request for a change's branch.
|
|
17882
17984
|
*/
|
|
17883
17985
|
export type DevopsChangePullRequestOpened = {
|
|
17986
|
+
/**
|
|
17987
|
+
* The pull request's platform id (pr_…), which retrieve, rerunGate, merge and recordVerdict address. Always present on our own Git; on GitHub it is present once the webhook that records the pull request has arrived, and absent before.
|
|
17988
|
+
*/
|
|
17989
|
+
id?: string;
|
|
17884
17990
|
/**
|
|
17885
17991
|
* The pull request's number on the git host.
|
|
17886
17992
|
*/
|
|
@@ -18136,6 +18242,7 @@ export type DevopsPullRequest = {
|
|
|
18136
18242
|
time?: string;
|
|
18137
18243
|
}>;
|
|
18138
18244
|
};
|
|
18245
|
+
review?: DevopsReviewVerdict;
|
|
18139
18246
|
/**
|
|
18140
18247
|
* The commit it landed as, present only once it is merged.
|
|
18141
18248
|
*/
|
|
@@ -18171,7 +18278,7 @@ export type DevopsPullRequestMergeRequest = {
|
|
|
18171
18278
|
requestId?: string;
|
|
18172
18279
|
};
|
|
18173
18280
|
/**
|
|
18174
|
-
* A
|
|
18281
|
+
* A reviewer's verdict on a pull request, recorded against one commit, after the fact; the merge gate never waits for it.
|
|
18175
18282
|
*/
|
|
18176
18283
|
export type DevopsPullRequestVerdictRequest = {
|
|
18177
18284
|
/**
|
|
@@ -18446,7 +18553,7 @@ export type DevopsSegmentUpdate = {
|
|
|
18446
18553
|
*/
|
|
18447
18554
|
export type DevopsWorkspaceList = {
|
|
18448
18555
|
/**
|
|
18449
|
-
* The project's workspaces, development first, then integration, then
|
|
18556
|
+
* The project's workspaces, development first, then integration, then release.
|
|
18450
18557
|
*/
|
|
18451
18558
|
items: Array<DevopsWorkspace>;
|
|
18452
18559
|
};
|
|
@@ -18583,9 +18690,9 @@ export type DevopsUnit = {
|
|
|
18583
18690
|
transitions?: Array<DevopsUnitTransition>;
|
|
18584
18691
|
};
|
|
18585
18692
|
/**
|
|
18586
|
-
* Where in the delivery line a workspace or unit sits: development merges changes, integration deploys and finds problems,
|
|
18693
|
+
* Where in the delivery line a workspace or unit sits: development merges changes, integration deploys every merge and finds problems, release deploys and serves steadily (Sean 2026-11-24: development, integration, release).
|
|
18587
18694
|
*/
|
|
18588
|
-
export type DevopsWorkspaceStage = 'development' | 'integration' | '
|
|
18695
|
+
export type DevopsWorkspaceStage = 'development' | 'integration' | 'release';
|
|
18589
18696
|
/**
|
|
18590
18697
|
* The phase a unit was last observed in; it is an observed fact, not the request, so it changes as the sandbox answers.
|
|
18591
18698
|
*/
|
|
@@ -18607,6 +18714,23 @@ export type DevopsUnitPage = {
|
|
|
18607
18714
|
*/
|
|
18608
18715
|
nextPageToken: string;
|
|
18609
18716
|
};
|
|
18717
|
+
/**
|
|
18718
|
+
* One page of a project's cleanup ledger, newest decision first.
|
|
18719
|
+
*/
|
|
18720
|
+
export type DevopsCleanupPage = {
|
|
18721
|
+
/**
|
|
18722
|
+
* The ledger rows on this page.
|
|
18723
|
+
*/
|
|
18724
|
+
items: Array<DevopsCleanupEntry>;
|
|
18725
|
+
/**
|
|
18726
|
+
* How many rows the project's ledger holds across every page; returned on the first page only.
|
|
18727
|
+
*/
|
|
18728
|
+
totalSize?: number;
|
|
18729
|
+
/**
|
|
18730
|
+
* Cursor for the next page; an empty string means this was the last page.
|
|
18731
|
+
*/
|
|
18732
|
+
nextPageToken: string;
|
|
18733
|
+
};
|
|
18610
18734
|
/**
|
|
18611
18735
|
* A field the unit retrieve can inline; only the values listed are accepted, and any other value is refused with INVALID_ARGUMENT.
|
|
18612
18736
|
*/
|
|
@@ -35961,14 +36085,43 @@ export type DevopsTestPlanCase = {
|
|
|
35961
36085
|
*/
|
|
35962
36086
|
run?: string;
|
|
35963
36087
|
};
|
|
36088
|
+
/**
|
|
36089
|
+
* The case counts of one package in the summary view of a test plan.
|
|
36090
|
+
*/
|
|
36091
|
+
export type DevopsTestPlanCaseCounts = {
|
|
36092
|
+
/**
|
|
36093
|
+
* The package directory these counts are for.
|
|
36094
|
+
*/
|
|
36095
|
+
package: string;
|
|
36096
|
+
/**
|
|
36097
|
+
* Cases this diff requires evidence for; the merge asks for nothing else.
|
|
36098
|
+
*/
|
|
36099
|
+
required: number;
|
|
36100
|
+
/**
|
|
36101
|
+
* Cases this diff cannot affect, which need no evidence.
|
|
36102
|
+
*/
|
|
36103
|
+
unaffected: number;
|
|
36104
|
+
/**
|
|
36105
|
+
* Required cases that already have a passing row at their deps hash.
|
|
36106
|
+
*/
|
|
36107
|
+
evidenced: number;
|
|
36108
|
+
/**
|
|
36109
|
+
* Required cases with no evidence row at their deps hash.
|
|
36110
|
+
*/
|
|
36111
|
+
missing: number;
|
|
36112
|
+
/**
|
|
36113
|
+
* Required cases whose newest evidence at their deps hash failed.
|
|
36114
|
+
*/
|
|
36115
|
+
failed: number;
|
|
36116
|
+
};
|
|
35964
36117
|
/**
|
|
35965
36118
|
* The git repository a project is bound to, and how far the service's mirror of it has been read.
|
|
35966
36119
|
*/
|
|
35967
36120
|
export type DevopsRepositoryRef = {
|
|
35968
36121
|
/**
|
|
35969
|
-
* The git host serving this repository;
|
|
36122
|
+
* The git host serving this repository; the value decides how fullName is read.
|
|
35970
36123
|
*/
|
|
35971
|
-
provider: 'github';
|
|
36124
|
+
provider: 'github' | 'platform';
|
|
35972
36125
|
/**
|
|
35973
36126
|
* Owner and repository name as the git host spells them, which is what a person sees in a clone URL.
|
|
35974
36127
|
*/
|
|
@@ -35978,7 +36131,7 @@ export type DevopsRepositoryRef = {
|
|
|
35978
36131
|
*/
|
|
35979
36132
|
defaultBranch: string;
|
|
35980
36133
|
/**
|
|
35981
|
-
* The git host connection that authorizes reads of this repository;
|
|
36134
|
+
* The git host connection that authorizes reads of this repository; null for a repository on our own Git, which needs none. The connection itself is outside this domain's operations.
|
|
35982
36135
|
*/
|
|
35983
36136
|
connection: string;
|
|
35984
36137
|
/**
|
|
@@ -36012,6 +36165,7 @@ export type DevopsProjectSettings = {
|
|
|
36012
36165
|
*/
|
|
36013
36166
|
requireGate: boolean;
|
|
36014
36167
|
gate?: DevopsGatePolicy;
|
|
36168
|
+
retention?: DevopsProjectRetention;
|
|
36015
36169
|
};
|
|
36016
36170
|
/**
|
|
36017
36171
|
* When the project cuts releases by itself, in a five-field cron and the zone it is read in.
|
|
@@ -36801,9 +36955,9 @@ export type DevopsChangePullRequestRef = {
|
|
|
36801
36955
|
*/
|
|
36802
36956
|
export type DevopsChangeStageDetail = {
|
|
36803
36957
|
/**
|
|
36804
|
-
* The change's position; with several pull requests it is the slice furthest behind.
|
|
36958
|
+
* The change's position; with several pull requests it is the slice furthest behind. The path is development, integration, release: integrating and integrated are the integration stage.
|
|
36805
36959
|
*/
|
|
36806
|
-
stage: 'developing' | 'reviewing' | '
|
|
36960
|
+
stage: 'developing' | 'reviewing' | 'integrating' | 'integrated' | 'deployed' | 'rolling_out' | 'done' | 'abandoned' | 'rolled_back';
|
|
36807
36961
|
/**
|
|
36808
36962
|
* The environment the stage refers to, from the project's environment list; absent for stages that are not tied to one.
|
|
36809
36963
|
*/
|
|
@@ -36910,6 +37064,32 @@ export type DevopsMergeGate = {
|
|
|
36910
37064
|
*/
|
|
36911
37065
|
decideTime?: string;
|
|
36912
37066
|
};
|
|
37067
|
+
/**
|
|
37068
|
+
* A reviewer's verdict on a pull request, recorded after the merge gate decided; present once someone recorded one. It is a record, never a gate input: a failed verdict on a merged pull request is a finding for follow-up and the merge stands.
|
|
37069
|
+
*/
|
|
37070
|
+
export type DevopsReviewVerdict = {
|
|
37071
|
+
/**
|
|
37072
|
+
* passed when the reviewer found nothing wrong, failed when they found something to fix or roll back.
|
|
37073
|
+
*/
|
|
37074
|
+
result: 'passed' | 'failed';
|
|
37075
|
+
/**
|
|
37076
|
+
* What the reviewer found, in a sentence a reader can act on.
|
|
37077
|
+
*/
|
|
37078
|
+
reason: string;
|
|
37079
|
+
by: DevopsActor;
|
|
37080
|
+
/**
|
|
37081
|
+
* The commit the review is about.
|
|
37082
|
+
*/
|
|
37083
|
+
headSha: string;
|
|
37084
|
+
/**
|
|
37085
|
+
* RFC 3339 UTC time the verdict was recorded.
|
|
37086
|
+
*/
|
|
37087
|
+
time: string;
|
|
37088
|
+
/**
|
|
37089
|
+
* True when the pull request had already merged when the verdict was recorded; a failed verdict with merged true is a finding.
|
|
37090
|
+
*/
|
|
37091
|
+
merged: boolean;
|
|
37092
|
+
};
|
|
36913
37093
|
/**
|
|
36914
37094
|
* The GitHub account an installation belongs to.
|
|
36915
37095
|
*/
|
|
@@ -37026,7 +37206,7 @@ export type DevopsWorkspaceUpdateFields = {
|
|
|
37026
37206
|
enabled?: boolean;
|
|
37027
37207
|
};
|
|
37028
37208
|
/**
|
|
37029
|
-
* The vaults (by vault id, at most 10) this stage's units take their runtime environment from. Only the development workspace accepts it: a value here for integration or
|
|
37209
|
+
* The vaults (by vault id, at most 10) this stage's units take their runtime environment from. Only the development workspace accepts it: a value here for integration or release is refused with INVALID_ARGUMENT. Each id must exist in this organization; the values are never read back through this API.
|
|
37030
37210
|
*/
|
|
37031
37211
|
vaults?: Array<string>;
|
|
37032
37212
|
};
|
|
@@ -37178,6 +37358,63 @@ export type DevopsUnitTransition = {
|
|
|
37178
37358
|
*/
|
|
37179
37359
|
error: null | DevopsUnitTransitionError;
|
|
37180
37360
|
};
|
|
37361
|
+
/**
|
|
37362
|
+
* One cleanup action the job decided and carried out (or tried to).
|
|
37363
|
+
*/
|
|
37364
|
+
export type DevopsCleanupEntry = {
|
|
37365
|
+
/**
|
|
37366
|
+
* The ledger row's id.
|
|
37367
|
+
*/
|
|
37368
|
+
id: string;
|
|
37369
|
+
/**
|
|
37370
|
+
* Always cleanup.
|
|
37371
|
+
*/
|
|
37372
|
+
object: string;
|
|
37373
|
+
/**
|
|
37374
|
+
* When the action was decided (RFC 3339).
|
|
37375
|
+
*/
|
|
37376
|
+
createTime: string;
|
|
37377
|
+
/**
|
|
37378
|
+
* When the action was last touched: done, or decided when it is not done yet.
|
|
37379
|
+
*/
|
|
37380
|
+
updateTime: string;
|
|
37381
|
+
/**
|
|
37382
|
+
* The Console page of the project the action belongs to.
|
|
37383
|
+
*/
|
|
37384
|
+
viewerUrl: string;
|
|
37385
|
+
/**
|
|
37386
|
+
* The project the action belongs to.
|
|
37387
|
+
*/
|
|
37388
|
+
project: string;
|
|
37389
|
+
/**
|
|
37390
|
+
* What was cleaned.
|
|
37391
|
+
*/
|
|
37392
|
+
kind: 'branch' | 'unit' | 'evidence' | 'prebuild';
|
|
37393
|
+
/**
|
|
37394
|
+
* Which one: branch name and pull request number, unit id, evidence table and cutoff day, or prebuild id.
|
|
37395
|
+
*/
|
|
37396
|
+
subject: string;
|
|
37397
|
+
/**
|
|
37398
|
+
* archive keeps the record and drops the heavy content; delete removes it.
|
|
37399
|
+
*/
|
|
37400
|
+
action: 'archive' | 'delete';
|
|
37401
|
+
/**
|
|
37402
|
+
* Why, as a stable code with its numbers, for example branch-merged, unit-stopped-30d, evidence-older-than-90d (37 rows) or prebuild-beyond-2.
|
|
37403
|
+
*/
|
|
37404
|
+
reason: string;
|
|
37405
|
+
/**
|
|
37406
|
+
* When the job decided the action (RFC 3339).
|
|
37407
|
+
*/
|
|
37408
|
+
decidedAt: string;
|
|
37409
|
+
/**
|
|
37410
|
+
* When the action was carried out; null while it is not done.
|
|
37411
|
+
*/
|
|
37412
|
+
doneAt: string | null;
|
|
37413
|
+
/**
|
|
37414
|
+
* Why the last attempt failed; null once it is done. A failed action stays open and is tried again by the next run.
|
|
37415
|
+
*/
|
|
37416
|
+
error: string | null;
|
|
37417
|
+
};
|
|
37181
37418
|
/**
|
|
37182
37419
|
* Counts of files still attached to the store or batch, grouped by ingestion status.
|
|
37183
37420
|
*/
|
|
@@ -44817,6 +45054,27 @@ export type DevopsMirrorState = {
|
|
|
44817
45054
|
*/
|
|
44818
45055
|
error?: string;
|
|
44819
45056
|
};
|
|
45057
|
+
/**
|
|
45058
|
+
* What the project keeps and for how long. Every item has an industry default and may be left out; an update naming one item keeps the others as they were. The daily cleanup job reads these and records what it removed in the cleanup ledger. How long a running machine may sit idle before it pauses (30 minutes by default) is the development workspace's own idleTimeoutMinutes, not an item here.
|
|
45059
|
+
*/
|
|
45060
|
+
export type DevopsProjectRetention = {
|
|
45061
|
+
/**
|
|
45062
|
+
* Delete a pull request's branch as soon as it merges, as GitHub's automatic head-branch deletion does. The default branch and any branch another open pull request still uses are never deleted. Default true.
|
|
45063
|
+
*/
|
|
45064
|
+
deleteMergedBranch?: boolean;
|
|
45065
|
+
/**
|
|
45066
|
+
* Days a stopped unit whose change is still open is kept before it is deleted (the unit pushes its work to a WIP ref first and is kept when it cannot). A unit whose change has merged or been abandoned follows the workspace's own retentionDays instead. Default 30.
|
|
45067
|
+
*/
|
|
45068
|
+
stoppedUnitDays?: number;
|
|
45069
|
+
/**
|
|
45070
|
+
* Days test evidence rows are kept. The evidence for the current deps hash of a package or case on the default branch is kept whatever its age, because test selection reads it. Default 90.
|
|
45071
|
+
*/
|
|
45072
|
+
evidenceDays?: number;
|
|
45073
|
+
/**
|
|
45074
|
+
* How many ready prebuilds each workspace keeps, newest first; older ones are archived and their snapshots deleted. Default 2.
|
|
45075
|
+
*/
|
|
45076
|
+
prebuildVersions?: number;
|
|
45077
|
+
};
|
|
44820
45078
|
/**
|
|
44821
45079
|
* One target's render result inside a release.
|
|
44822
45080
|
*/
|
|
@@ -44888,7 +45146,7 @@ export type DevopsPlanRefusal = {
|
|
|
44888
45146
|
/**
|
|
44889
45147
|
* Which rule refused, which is the value a caller branches on; the remaining fields carry that rule's own evidence.
|
|
44890
45148
|
*/
|
|
44891
|
-
code: 'PICK_NOT_ON_MAIN' | 'PICK_NOT_ON_DEVELOP' | 'PICK_ALREADY_IN_PRODUCTION' | 'PICK_CONFLICT' | 'PATCH_HAS_MIGRATION' | 'PATCH_CHANGES_BINDING' | 'PATCH_CHANGES_CONTRACT' | 'BASE_NOT_UNIFORM' | '
|
|
45149
|
+
code: 'PICK_NOT_ON_MAIN' | 'PICK_NOT_ON_DEVELOP' | 'PICK_ALREADY_IN_PRODUCTION' | 'PICK_CONFLICT' | 'PATCH_HAS_MIGRATION' | 'PATCH_CHANGES_BINDING' | 'PATCH_CHANGES_CONTRACT' | 'BASE_NOT_UNIFORM' | 'NOT_DEPLOYED_UPSTREAM' | 'CONFIG_MISSING' | 'MISSING_PATCH_PICKS' | 'RELEASE_NOT_READY' | 'RELEASE_ABANDONED' | 'DEADLINE_EXCEEDED' | 'EXECUTOR_UNAVAILABLE' | 'FEATURE_NOT_SUPPORTED';
|
|
44892
45150
|
/**
|
|
44893
45151
|
* The commit this refusal is about, present for the pick rules; it is the pick the request carried.
|
|
44894
45152
|
*/
|
|
@@ -48840,7 +49098,7 @@ export type DevopsEnvironmentQuery = string;
|
|
|
48840
49098
|
*/
|
|
48841
49099
|
export type DevopsSegmentIdPath = string;
|
|
48842
49100
|
/**
|
|
48843
|
-
* The stage whose workspace you address: development, integration or
|
|
49101
|
+
* The stage whose workspace you address: development, integration or release. development is the persistent stage that carries changes; integration and release hold one-off units.
|
|
48844
49102
|
*/
|
|
48845
49103
|
export type DevopsWorkspaceStagePath = DevopsWorkspaceStage;
|
|
48846
49104
|
/**
|
|
@@ -56405,7 +56663,369 @@ export type ComputersFilesContentErrors = {
|
|
|
56405
56663
|
/**
|
|
56406
56664
|
* Platform error in the one /agent/v1 error body; computer failures add error.hint
|
|
56407
56665
|
*/
|
|
56408
|
-
409: {
|
|
56666
|
+
409: {
|
|
56667
|
+
type: 'error';
|
|
56668
|
+
error: {
|
|
56669
|
+
/**
|
|
56670
|
+
* Anthropic error type, such as invalid_request_error or not_found_error.
|
|
56671
|
+
*/
|
|
56672
|
+
type: string;
|
|
56673
|
+
message: string;
|
|
56674
|
+
code: string;
|
|
56675
|
+
retryable: boolean;
|
|
56676
|
+
/**
|
|
56677
|
+
* How to recover, for computer failures.
|
|
56678
|
+
*/
|
|
56679
|
+
hint?: string;
|
|
56680
|
+
};
|
|
56681
|
+
/**
|
|
56682
|
+
* Equals the X-Request-Id response header.
|
|
56683
|
+
*/
|
|
56684
|
+
request_id: string;
|
|
56685
|
+
};
|
|
56686
|
+
/**
|
|
56687
|
+
* Platform error in the one /agent/v1 error body; computer failures add error.hint
|
|
56688
|
+
*/
|
|
56689
|
+
413: {
|
|
56690
|
+
type: 'error';
|
|
56691
|
+
error: {
|
|
56692
|
+
/**
|
|
56693
|
+
* Anthropic error type, such as invalid_request_error or not_found_error.
|
|
56694
|
+
*/
|
|
56695
|
+
type: string;
|
|
56696
|
+
message: string;
|
|
56697
|
+
code: string;
|
|
56698
|
+
retryable: boolean;
|
|
56699
|
+
/**
|
|
56700
|
+
* How to recover, for computer failures.
|
|
56701
|
+
*/
|
|
56702
|
+
hint?: string;
|
|
56703
|
+
};
|
|
56704
|
+
/**
|
|
56705
|
+
* Equals the X-Request-Id response header.
|
|
56706
|
+
*/
|
|
56707
|
+
request_id: string;
|
|
56708
|
+
};
|
|
56709
|
+
/**
|
|
56710
|
+
* Range unavailable
|
|
56711
|
+
*/
|
|
56712
|
+
416: {
|
|
56713
|
+
type: 'error';
|
|
56714
|
+
error: {
|
|
56715
|
+
/**
|
|
56716
|
+
* Anthropic error type, such as invalid_request_error or not_found_error.
|
|
56717
|
+
*/
|
|
56718
|
+
type: string;
|
|
56719
|
+
message: string;
|
|
56720
|
+
code: string;
|
|
56721
|
+
retryable: boolean;
|
|
56722
|
+
/**
|
|
56723
|
+
* How to recover, for computer failures.
|
|
56724
|
+
*/
|
|
56725
|
+
hint?: string;
|
|
56726
|
+
};
|
|
56727
|
+
/**
|
|
56728
|
+
* Equals the X-Request-Id response header.
|
|
56729
|
+
*/
|
|
56730
|
+
request_id: string;
|
|
56731
|
+
};
|
|
56732
|
+
/**
|
|
56733
|
+
* Platform error in the one /agent/v1 error body; computer failures add error.hint
|
|
56734
|
+
*/
|
|
56735
|
+
429: {
|
|
56736
|
+
type: 'error';
|
|
56737
|
+
error: {
|
|
56738
|
+
/**
|
|
56739
|
+
* Anthropic error type, such as invalid_request_error or not_found_error.
|
|
56740
|
+
*/
|
|
56741
|
+
type: string;
|
|
56742
|
+
message: string;
|
|
56743
|
+
code: string;
|
|
56744
|
+
retryable: boolean;
|
|
56745
|
+
/**
|
|
56746
|
+
* How to recover, for computer failures.
|
|
56747
|
+
*/
|
|
56748
|
+
hint?: string;
|
|
56749
|
+
};
|
|
56750
|
+
/**
|
|
56751
|
+
* Equals the X-Request-Id response header.
|
|
56752
|
+
*/
|
|
56753
|
+
request_id: string;
|
|
56754
|
+
};
|
|
56755
|
+
/**
|
|
56756
|
+
* Platform error in the one /agent/v1 error body; computer failures add error.hint
|
|
56757
|
+
*/
|
|
56758
|
+
500: {
|
|
56759
|
+
type: 'error';
|
|
56760
|
+
error: {
|
|
56761
|
+
/**
|
|
56762
|
+
* Anthropic error type, such as invalid_request_error or not_found_error.
|
|
56763
|
+
*/
|
|
56764
|
+
type: string;
|
|
56765
|
+
message: string;
|
|
56766
|
+
code: string;
|
|
56767
|
+
retryable: boolean;
|
|
56768
|
+
/**
|
|
56769
|
+
* How to recover, for computer failures.
|
|
56770
|
+
*/
|
|
56771
|
+
hint?: string;
|
|
56772
|
+
};
|
|
56773
|
+
/**
|
|
56774
|
+
* Equals the X-Request-Id response header.
|
|
56775
|
+
*/
|
|
56776
|
+
request_id: string;
|
|
56777
|
+
};
|
|
56778
|
+
/**
|
|
56779
|
+
* Platform error in the one /agent/v1 error body; computer failures add error.hint
|
|
56780
|
+
*/
|
|
56781
|
+
503: {
|
|
56782
|
+
type: 'error';
|
|
56783
|
+
error: {
|
|
56784
|
+
/**
|
|
56785
|
+
* Anthropic error type, such as invalid_request_error or not_found_error.
|
|
56786
|
+
*/
|
|
56787
|
+
type: string;
|
|
56788
|
+
message: string;
|
|
56789
|
+
code: string;
|
|
56790
|
+
retryable: boolean;
|
|
56791
|
+
/**
|
|
56792
|
+
* How to recover, for computer failures.
|
|
56793
|
+
*/
|
|
56794
|
+
hint?: string;
|
|
56795
|
+
};
|
|
56796
|
+
/**
|
|
56797
|
+
* Equals the X-Request-Id response header.
|
|
56798
|
+
*/
|
|
56799
|
+
request_id: string;
|
|
56800
|
+
};
|
|
56801
|
+
};
|
|
56802
|
+
export type ComputersFilesContentError = ComputersFilesContentErrors[keyof ComputersFilesContentErrors];
|
|
56803
|
+
export type ComputersFilesContentResponses = {
|
|
56804
|
+
/**
|
|
56805
|
+
* 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.
|
|
56806
|
+
*/
|
|
56807
|
+
200: Blob | File;
|
|
56808
|
+
/**
|
|
56809
|
+
* Single byte range
|
|
56810
|
+
*/
|
|
56811
|
+
206: Blob | File;
|
|
56812
|
+
};
|
|
56813
|
+
export type ComputersFilesContentResponse = ComputersFilesContentResponses[keyof ComputersFilesContentResponses];
|
|
56814
|
+
export type UpdateComputerFileContentData = {
|
|
56815
|
+
body: Blob | File;
|
|
56816
|
+
headers: {
|
|
56817
|
+
/**
|
|
56818
|
+
* The file version you edited, as the file listing gives it (<size>-<mtimeMs>); a quoted value is accepted.
|
|
56819
|
+
*/
|
|
56820
|
+
'If-Match': string;
|
|
56821
|
+
};
|
|
56822
|
+
path: {
|
|
56823
|
+
/**
|
|
56824
|
+
* Computer id from computer creation or listing; a computer another tenant owns is not found.
|
|
56825
|
+
*/
|
|
56826
|
+
computer_id: string;
|
|
56827
|
+
};
|
|
56828
|
+
query: {
|
|
56829
|
+
/**
|
|
56830
|
+
* Absolute path of the existing file on the computer, or a /workspace/ relative path.
|
|
56831
|
+
*/
|
|
56832
|
+
path: string;
|
|
56833
|
+
};
|
|
56834
|
+
url: '/agent/v1/computers/{computer_id}/files/content';
|
|
56835
|
+
};
|
|
56836
|
+
export type UpdateComputerFileContentErrors = {
|
|
56837
|
+
/**
|
|
56838
|
+
* INVALID_PARAMS: path is missing, a query parameter is unsupported, or the path is a directory (IS_DIRECTORY).
|
|
56839
|
+
*/
|
|
56840
|
+
400: {
|
|
56841
|
+
type: 'error';
|
|
56842
|
+
error: {
|
|
56843
|
+
/**
|
|
56844
|
+
* Anthropic error type, such as invalid_request_error or not_found_error.
|
|
56845
|
+
*/
|
|
56846
|
+
type: string;
|
|
56847
|
+
message: string;
|
|
56848
|
+
code: string;
|
|
56849
|
+
retryable: boolean;
|
|
56850
|
+
/**
|
|
56851
|
+
* How to recover, for computer failures.
|
|
56852
|
+
*/
|
|
56853
|
+
hint?: string;
|
|
56854
|
+
};
|
|
56855
|
+
/**
|
|
56856
|
+
* Equals the X-Request-Id response header.
|
|
56857
|
+
*/
|
|
56858
|
+
request_id: string;
|
|
56859
|
+
};
|
|
56860
|
+
/**
|
|
56861
|
+
* Platform error in the one /agent/v1 error body; computer failures add error.hint
|
|
56862
|
+
*/
|
|
56863
|
+
401: {
|
|
56864
|
+
type: 'error';
|
|
56865
|
+
error: {
|
|
56866
|
+
/**
|
|
56867
|
+
* Anthropic error type, such as invalid_request_error or not_found_error.
|
|
56868
|
+
*/
|
|
56869
|
+
type: string;
|
|
56870
|
+
message: string;
|
|
56871
|
+
code: string;
|
|
56872
|
+
retryable: boolean;
|
|
56873
|
+
/**
|
|
56874
|
+
* How to recover, for computer failures.
|
|
56875
|
+
*/
|
|
56876
|
+
hint?: string;
|
|
56877
|
+
};
|
|
56878
|
+
/**
|
|
56879
|
+
* Equals the X-Request-Id response header.
|
|
56880
|
+
*/
|
|
56881
|
+
request_id: string;
|
|
56882
|
+
};
|
|
56883
|
+
/**
|
|
56884
|
+
* READ_ONLY: the path is under /attachments or /skills.
|
|
56885
|
+
*/
|
|
56886
|
+
403: {
|
|
56887
|
+
type: 'error';
|
|
56888
|
+
error: {
|
|
56889
|
+
/**
|
|
56890
|
+
* Anthropic error type, such as invalid_request_error or not_found_error.
|
|
56891
|
+
*/
|
|
56892
|
+
type: string;
|
|
56893
|
+
message: string;
|
|
56894
|
+
code: string;
|
|
56895
|
+
retryable: boolean;
|
|
56896
|
+
/**
|
|
56897
|
+
* How to recover, for computer failures.
|
|
56898
|
+
*/
|
|
56899
|
+
hint?: string;
|
|
56900
|
+
};
|
|
56901
|
+
/**
|
|
56902
|
+
* Equals the X-Request-Id response header.
|
|
56903
|
+
*/
|
|
56904
|
+
request_id: string;
|
|
56905
|
+
};
|
|
56906
|
+
/**
|
|
56907
|
+
* Computer or path not found; foreign computers are indistinguishable from absent computers, and a write never creates a file.
|
|
56908
|
+
*/
|
|
56909
|
+
404: {
|
|
56910
|
+
type: 'error';
|
|
56911
|
+
error: {
|
|
56912
|
+
/**
|
|
56913
|
+
* Anthropic error type, such as invalid_request_error or not_found_error.
|
|
56914
|
+
*/
|
|
56915
|
+
type: string;
|
|
56916
|
+
message: string;
|
|
56917
|
+
code: string;
|
|
56918
|
+
retryable: boolean;
|
|
56919
|
+
/**
|
|
56920
|
+
* How to recover, for computer failures.
|
|
56921
|
+
*/
|
|
56922
|
+
hint?: string;
|
|
56923
|
+
};
|
|
56924
|
+
/**
|
|
56925
|
+
* Equals the X-Request-Id response header.
|
|
56926
|
+
*/
|
|
56927
|
+
request_id: string;
|
|
56928
|
+
};
|
|
56929
|
+
/**
|
|
56930
|
+
* FILE_VERSION_MISMATCH: the file changed since the version in If-Match; error.current_version is its version now. Nothing was written.
|
|
56931
|
+
*/
|
|
56932
|
+
412: {
|
|
56933
|
+
type: 'error';
|
|
56934
|
+
error: {
|
|
56935
|
+
/**
|
|
56936
|
+
* Anthropic error type, such as invalid_request_error or not_found_error.
|
|
56937
|
+
*/
|
|
56938
|
+
type: string;
|
|
56939
|
+
message: string;
|
|
56940
|
+
code: string;
|
|
56941
|
+
retryable: boolean;
|
|
56942
|
+
/**
|
|
56943
|
+
* How to recover, for computer failures.
|
|
56944
|
+
*/
|
|
56945
|
+
hint?: string;
|
|
56946
|
+
/**
|
|
56947
|
+
* The file's version now (<size>-<mtimeMs>); read the file again and write with this version.
|
|
56948
|
+
*/
|
|
56949
|
+
current_version?: string;
|
|
56950
|
+
};
|
|
56951
|
+
/**
|
|
56952
|
+
* Equals the X-Request-Id response header.
|
|
56953
|
+
*/
|
|
56954
|
+
request_id: string;
|
|
56955
|
+
};
|
|
56956
|
+
/**
|
|
56957
|
+
* FILE_TOO_LARGE: the body exceeds 16 MiB.
|
|
56958
|
+
*/
|
|
56959
|
+
413: {
|
|
56960
|
+
type: 'error';
|
|
56961
|
+
error: {
|
|
56962
|
+
/**
|
|
56963
|
+
* Anthropic error type, such as invalid_request_error or not_found_error.
|
|
56964
|
+
*/
|
|
56965
|
+
type: string;
|
|
56966
|
+
message: string;
|
|
56967
|
+
code: string;
|
|
56968
|
+
retryable: boolean;
|
|
56969
|
+
/**
|
|
56970
|
+
* How to recover, for computer failures.
|
|
56971
|
+
*/
|
|
56972
|
+
hint?: string;
|
|
56973
|
+
};
|
|
56974
|
+
/**
|
|
56975
|
+
* Equals the X-Request-Id response header.
|
|
56976
|
+
*/
|
|
56977
|
+
request_id: string;
|
|
56978
|
+
};
|
|
56979
|
+
/**
|
|
56980
|
+
* FILE_VERSION_REQUIRED: If-Match is missing. Nothing was written.
|
|
56981
|
+
*/
|
|
56982
|
+
428: {
|
|
56983
|
+
type: 'error';
|
|
56984
|
+
error: {
|
|
56985
|
+
/**
|
|
56986
|
+
* Anthropic error type, such as invalid_request_error or not_found_error.
|
|
56987
|
+
*/
|
|
56988
|
+
type: string;
|
|
56989
|
+
message: string;
|
|
56990
|
+
code: string;
|
|
56991
|
+
retryable: boolean;
|
|
56992
|
+
/**
|
|
56993
|
+
* How to recover, for computer failures.
|
|
56994
|
+
*/
|
|
56995
|
+
hint?: string;
|
|
56996
|
+
};
|
|
56997
|
+
/**
|
|
56998
|
+
* Equals the X-Request-Id response header.
|
|
56999
|
+
*/
|
|
57000
|
+
request_id: string;
|
|
57001
|
+
};
|
|
57002
|
+
/**
|
|
57003
|
+
* Platform error in the one /agent/v1 error body; computer failures add error.hint
|
|
57004
|
+
*/
|
|
57005
|
+
429: {
|
|
57006
|
+
type: 'error';
|
|
57007
|
+
error: {
|
|
57008
|
+
/**
|
|
57009
|
+
* Anthropic error type, such as invalid_request_error or not_found_error.
|
|
57010
|
+
*/
|
|
57011
|
+
type: string;
|
|
57012
|
+
message: string;
|
|
57013
|
+
code: string;
|
|
57014
|
+
retryable: boolean;
|
|
57015
|
+
/**
|
|
57016
|
+
* How to recover, for computer failures.
|
|
57017
|
+
*/
|
|
57018
|
+
hint?: string;
|
|
57019
|
+
};
|
|
57020
|
+
/**
|
|
57021
|
+
* Equals the X-Request-Id response header.
|
|
57022
|
+
*/
|
|
57023
|
+
request_id: string;
|
|
57024
|
+
};
|
|
57025
|
+
/**
|
|
57026
|
+
* Platform error in the one /agent/v1 error body; computer failures add error.hint
|
|
57027
|
+
*/
|
|
57028
|
+
500: {
|
|
56409
57029
|
type: 'error';
|
|
56410
57030
|
error: {
|
|
56411
57031
|
/**
|
|
@@ -56428,7 +57048,7 @@ export type ComputersFilesContentErrors = {
|
|
|
56428
57048
|
/**
|
|
56429
57049
|
* Platform error in the one /agent/v1 error body; computer failures add error.hint
|
|
56430
57050
|
*/
|
|
56431
|
-
|
|
57051
|
+
503: {
|
|
56432
57052
|
type: 'error';
|
|
56433
57053
|
error: {
|
|
56434
57054
|
/**
|
|
@@ -56448,111 +57068,32 @@ export type ComputersFilesContentErrors = {
|
|
|
56448
57068
|
*/
|
|
56449
57069
|
request_id: string;
|
|
56450
57070
|
};
|
|
57071
|
+
};
|
|
57072
|
+
export type UpdateComputerFileContentError = UpdateComputerFileContentErrors[keyof UpdateComputerFileContentErrors];
|
|
57073
|
+
export type UpdateComputerFileContentResponses = {
|
|
56451
57074
|
/**
|
|
56452
|
-
*
|
|
57075
|
+
* The file after the write.
|
|
56453
57076
|
*/
|
|
56454
|
-
|
|
56455
|
-
type: 'error';
|
|
56456
|
-
error: {
|
|
56457
|
-
/**
|
|
56458
|
-
* Anthropic error type, such as invalid_request_error or not_found_error.
|
|
56459
|
-
*/
|
|
56460
|
-
type: string;
|
|
56461
|
-
message: string;
|
|
56462
|
-
code: string;
|
|
56463
|
-
retryable: boolean;
|
|
56464
|
-
/**
|
|
56465
|
-
* How to recover, for computer failures.
|
|
56466
|
-
*/
|
|
56467
|
-
hint?: string;
|
|
56468
|
-
};
|
|
57077
|
+
200: {
|
|
56469
57078
|
/**
|
|
56470
|
-
*
|
|
57079
|
+
* Absolute path of the file that was written.
|
|
56471
57080
|
*/
|
|
56472
|
-
|
|
56473
|
-
};
|
|
56474
|
-
/**
|
|
56475
|
-
* Platform error in the one /agent/v1 error body; computer failures add error.hint
|
|
56476
|
-
*/
|
|
56477
|
-
429: {
|
|
56478
|
-
type: 'error';
|
|
56479
|
-
error: {
|
|
56480
|
-
/**
|
|
56481
|
-
* Anthropic error type, such as invalid_request_error or not_found_error.
|
|
56482
|
-
*/
|
|
56483
|
-
type: string;
|
|
56484
|
-
message: string;
|
|
56485
|
-
code: string;
|
|
56486
|
-
retryable: boolean;
|
|
56487
|
-
/**
|
|
56488
|
-
* How to recover, for computer failures.
|
|
56489
|
-
*/
|
|
56490
|
-
hint?: string;
|
|
56491
|
-
};
|
|
57081
|
+
path: string;
|
|
56492
57082
|
/**
|
|
56493
|
-
*
|
|
57083
|
+
* Size of the file now, in bytes.
|
|
56494
57084
|
*/
|
|
56495
|
-
|
|
56496
|
-
};
|
|
56497
|
-
/**
|
|
56498
|
-
* Platform error in the one /agent/v1 error body; computer failures add error.hint
|
|
56499
|
-
*/
|
|
56500
|
-
500: {
|
|
56501
|
-
type: 'error';
|
|
56502
|
-
error: {
|
|
56503
|
-
/**
|
|
56504
|
-
* Anthropic error type, such as invalid_request_error or not_found_error.
|
|
56505
|
-
*/
|
|
56506
|
-
type: string;
|
|
56507
|
-
message: string;
|
|
56508
|
-
code: string;
|
|
56509
|
-
retryable: boolean;
|
|
56510
|
-
/**
|
|
56511
|
-
* How to recover, for computer failures.
|
|
56512
|
-
*/
|
|
56513
|
-
hint?: string;
|
|
56514
|
-
};
|
|
57085
|
+
size: number;
|
|
56515
57086
|
/**
|
|
56516
|
-
*
|
|
57087
|
+
* Modification time of the file now, when the machine reports one.
|
|
56517
57088
|
*/
|
|
56518
|
-
|
|
56519
|
-
};
|
|
56520
|
-
/**
|
|
56521
|
-
* Platform error in the one /agent/v1 error body; computer failures add error.hint
|
|
56522
|
-
*/
|
|
56523
|
-
503: {
|
|
56524
|
-
type: 'error';
|
|
56525
|
-
error: {
|
|
56526
|
-
/**
|
|
56527
|
-
* Anthropic error type, such as invalid_request_error or not_found_error.
|
|
56528
|
-
*/
|
|
56529
|
-
type: string;
|
|
56530
|
-
message: string;
|
|
56531
|
-
code: string;
|
|
56532
|
-
retryable: boolean;
|
|
56533
|
-
/**
|
|
56534
|
-
* How to recover, for computer failures.
|
|
56535
|
-
*/
|
|
56536
|
-
hint?: string;
|
|
56537
|
-
};
|
|
57089
|
+
mtime: string | null;
|
|
56538
57090
|
/**
|
|
56539
|
-
*
|
|
57091
|
+
* The file's version now (<size>-<mtimeMs>); send it as If-Match on the next write.
|
|
56540
57092
|
*/
|
|
56541
|
-
|
|
57093
|
+
version: string;
|
|
56542
57094
|
};
|
|
56543
57095
|
};
|
|
56544
|
-
export type
|
|
56545
|
-
export type ComputersFilesContentResponses = {
|
|
56546
|
-
/**
|
|
56547
|
-
* 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.
|
|
56548
|
-
*/
|
|
56549
|
-
200: Blob | File;
|
|
56550
|
-
/**
|
|
56551
|
-
* Single byte range
|
|
56552
|
-
*/
|
|
56553
|
-
206: Blob | File;
|
|
56554
|
-
};
|
|
56555
|
-
export type ComputersFilesContentResponse = ComputersFilesContentResponses[keyof ComputersFilesContentResponses];
|
|
57096
|
+
export type UpdateComputerFileContentResponse = UpdateComputerFileContentResponses[keyof UpdateComputerFileContentResponses];
|
|
56556
57097
|
export type PreviewComputerFileData = {
|
|
56557
57098
|
body?: never;
|
|
56558
57099
|
path: {
|
|
@@ -71891,9 +72432,9 @@ export type CreateOrganizationFeedbackData = {
|
|
|
71891
72432
|
};
|
|
71892
72433
|
};
|
|
71893
72434
|
/**
|
|
71894
|
-
* Use console for Console reports or api for API callers (default)
|
|
72435
|
+
* Use console for Console reports or api for API callers (default). Machine tokens always store codemode regardless of this value and may send codemode; any other caller that sends codemode is refused.
|
|
71895
72436
|
*/
|
|
71896
|
-
source?: 'console' | 'api';
|
|
72437
|
+
source?: 'console' | 'api' | 'codemode';
|
|
71897
72438
|
/**
|
|
71898
72439
|
* Up to five attachments; decoded bytes must not exceed 10 MiB per attachment or 20 MiB in total.
|
|
71899
72440
|
*/
|
|
@@ -76851,7 +77392,7 @@ export type ClaimByodPairingResponses = {
|
|
|
76851
77392
|
*/
|
|
76852
77393
|
credential: string;
|
|
76853
77394
|
/**
|
|
76854
|
-
* The control socket to dial, wss://49982-byd<hex
|
|
77395
|
+
* The control socket to dial, wss://49982-byd<hex>.sandbox[-<env>].praxisusercontent.com/; connect with the credential in an Authorization: Bearer header. The connection carries the phone channel's frames.
|
|
76855
77396
|
*/
|
|
76856
77397
|
socket_url: string;
|
|
76857
77398
|
};
|
|
@@ -99744,6 +100285,10 @@ export type DevopsTestPlanGetData = {
|
|
|
99744
100285
|
* What the diff is measured against: a commit id or a branch name. Defaults to the project's default branch. A base that is neither a branch of the project's repository nor a readable commit is refused as COMMIT_NOT_FOUND, so a typo cannot silently plan against the whole repository.
|
|
99745
100286
|
*/
|
|
99746
100287
|
base?: string;
|
|
100288
|
+
/**
|
|
100289
|
+
* How much of the plan to return: full lists every feature scenario of the affected packages, summary returns per package only the counts (caseCounts) and lists only the cases this diff requires. A change that touches no tested code (a README) answers tens of kilobytes in the full view, because every case is listed as unaffected; ask for the summary first and use the full view only to explain one case.
|
|
100290
|
+
*/
|
|
100291
|
+
view?: 'full' | 'summary';
|
|
99747
100292
|
};
|
|
99748
100293
|
url: '/devops/v1/projects/{project}/test-plan';
|
|
99749
100294
|
};
|
|
@@ -99818,6 +100363,97 @@ export type DevopsProjectsListResponses = {
|
|
|
99818
100363
|
200: DevopsProjectPage;
|
|
99819
100364
|
};
|
|
99820
100365
|
export type DevopsProjectsListResponse = DevopsProjectsListResponses[keyof DevopsProjectsListResponses];
|
|
100366
|
+
export type DevopsProjectsCreateData = {
|
|
100367
|
+
/**
|
|
100368
|
+
* The project's name and where its code lives: a git package of our own Git, or a GitHub repository.
|
|
100369
|
+
*/
|
|
100370
|
+
body: DevopsProjectCreate;
|
|
100371
|
+
path?: never;
|
|
100372
|
+
query?: never;
|
|
100373
|
+
url: '/devops/v1/projects';
|
|
100374
|
+
};
|
|
100375
|
+
export type DevopsProjectsCreateErrors = {
|
|
100376
|
+
/**
|
|
100377
|
+
* 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.
|
|
100378
|
+
*/
|
|
100379
|
+
400: DevopsDevOpsError;
|
|
100380
|
+
/**
|
|
100381
|
+
* The API key is missing or invalid; send a valid Praxis API key in the Authorization header before retrying.
|
|
100382
|
+
*/
|
|
100383
|
+
401: DevopsDevOpsError;
|
|
100384
|
+
/**
|
|
100385
|
+
* 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.
|
|
100386
|
+
*/
|
|
100387
|
+
403: DevopsDevOpsError;
|
|
100388
|
+
/**
|
|
100389
|
+
* CONNECTION_NOT_FOUND means no connection with that id exists in this organization, or it belongs to another organization; list the connections and use an id from that answer. A deleted connection is still readable until it is removed, so this answer means the id itself is unknown.
|
|
100390
|
+
*/
|
|
100391
|
+
404: DevopsDevOpsError;
|
|
100392
|
+
/**
|
|
100393
|
+
* PROJECT_NAME_TAKEN means the name is used in this organization; REPOSITORY_ALREADY_BOUND means the package or repository already backs a project; DEFAULT_BRANCH_EXISTS means initialRef was given but the default branch already exists. Nothing was created.
|
|
100394
|
+
*/
|
|
100395
|
+
409: DevopsDevOpsError;
|
|
100396
|
+
/**
|
|
100397
|
+
* 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.
|
|
100398
|
+
*/
|
|
100399
|
+
500: DevopsDevOpsError;
|
|
100400
|
+
};
|
|
100401
|
+
export type DevopsProjectsCreateError = DevopsProjectsCreateErrors[keyof DevopsProjectsCreateErrors];
|
|
100402
|
+
export type DevopsProjectsCreateResponses = {
|
|
100403
|
+
/**
|
|
100404
|
+
* The created project with its repository binding, settings and labels.
|
|
100405
|
+
*/
|
|
100406
|
+
200: DevopsProject;
|
|
100407
|
+
};
|
|
100408
|
+
export type DevopsProjectsCreateResponse = DevopsProjectsCreateResponses[keyof DevopsProjectsCreateResponses];
|
|
100409
|
+
export type DevopsProjectsInitializeDefaultBranchData = {
|
|
100410
|
+
/**
|
|
100411
|
+
* The existing branch to start the default branch from.
|
|
100412
|
+
*/
|
|
100413
|
+
body: DevopsDefaultBranchInitialize;
|
|
100414
|
+
path: {
|
|
100415
|
+
/**
|
|
100416
|
+
* The project identifier returned by the project list, not the project's display name or its repository name.
|
|
100417
|
+
*/
|
|
100418
|
+
id: string;
|
|
100419
|
+
};
|
|
100420
|
+
query?: never;
|
|
100421
|
+
url: '/devops/v1/projects/{id}/default-branch:initialize';
|
|
100422
|
+
};
|
|
100423
|
+
export type DevopsProjectsInitializeDefaultBranchErrors = {
|
|
100424
|
+
/**
|
|
100425
|
+
* 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.
|
|
100426
|
+
*/
|
|
100427
|
+
400: DevopsDevOpsError;
|
|
100428
|
+
/**
|
|
100429
|
+
* The API key is missing or invalid; send a valid Praxis API key in the Authorization header before retrying.
|
|
100430
|
+
*/
|
|
100431
|
+
401: DevopsDevOpsError;
|
|
100432
|
+
/**
|
|
100433
|
+
* 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.
|
|
100434
|
+
*/
|
|
100435
|
+
403: DevopsDevOpsError;
|
|
100436
|
+
/**
|
|
100437
|
+
* PROJECT_NOT_FOUND means no project with that id is visible to this organization; list the projects and use an id from that answer.
|
|
100438
|
+
*/
|
|
100439
|
+
404: DevopsDevOpsError;
|
|
100440
|
+
/**
|
|
100441
|
+
* DEFAULT_BRANCH_EXISTS means the default branch is already there; it is never moved by this call.
|
|
100442
|
+
*/
|
|
100443
|
+
409: DevopsDevOpsError;
|
|
100444
|
+
/**
|
|
100445
|
+
* 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.
|
|
100446
|
+
*/
|
|
100447
|
+
500: DevopsDevOpsError;
|
|
100448
|
+
};
|
|
100449
|
+
export type DevopsProjectsInitializeDefaultBranchError = DevopsProjectsInitializeDefaultBranchErrors[keyof DevopsProjectsInitializeDefaultBranchErrors];
|
|
100450
|
+
export type DevopsProjectsInitializeDefaultBranchResponses = {
|
|
100451
|
+
/**
|
|
100452
|
+
* The default branch now exists: its name, the branch it was started from and the commit it points at.
|
|
100453
|
+
*/
|
|
100454
|
+
200: DevopsDefaultBranchInitialized;
|
|
100455
|
+
};
|
|
100456
|
+
export type DevopsProjectsInitializeDefaultBranchResponse = DevopsProjectsInitializeDefaultBranchResponses[keyof DevopsProjectsInitializeDefaultBranchResponses];
|
|
99821
100457
|
export type DevopsProjectsGetData = {
|
|
99822
100458
|
body?: never;
|
|
99823
100459
|
path: {
|
|
@@ -100388,6 +101024,55 @@ export type DevopsPromotionsConcludeResponses = {
|
|
|
100388
101024
|
200: DevopsPromotion;
|
|
100389
101025
|
};
|
|
100390
101026
|
export type DevopsPromotionsConcludeResponse = DevopsPromotionsConcludeResponses[keyof DevopsPromotionsConcludeResponses];
|
|
101027
|
+
export type DevopsPromotionsCheckoutCredentialData = {
|
|
101028
|
+
body?: never;
|
|
101029
|
+
path: {
|
|
101030
|
+
/**
|
|
101031
|
+
* The promotion identifier returned by a promotion list or create answer.
|
|
101032
|
+
*/
|
|
101033
|
+
id: string;
|
|
101034
|
+
};
|
|
101035
|
+
query?: never;
|
|
101036
|
+
url: '/devops/v1/promotions/{id}:checkoutCredential';
|
|
101037
|
+
};
|
|
101038
|
+
export type DevopsPromotionsCheckoutCredentialErrors = {
|
|
101039
|
+
/**
|
|
101040
|
+
* 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.
|
|
101041
|
+
*/
|
|
101042
|
+
400: DevopsDevOpsError;
|
|
101043
|
+
/**
|
|
101044
|
+
* The API key is missing or invalid; send a valid Praxis API key in the Authorization header before retrying.
|
|
101045
|
+
*/
|
|
101046
|
+
401: DevopsDevOpsError;
|
|
101047
|
+
/**
|
|
101048
|
+
* 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.
|
|
101049
|
+
*/
|
|
101050
|
+
403: DevopsDevOpsError;
|
|
101051
|
+
/**
|
|
101052
|
+
* PROMOTION_NOT_FOUND means no promotion with that id exists in this organization; list the project's promotions and use an id from that answer.
|
|
101053
|
+
*/
|
|
101054
|
+
404: DevopsDevOpsError;
|
|
101055
|
+
/**
|
|
101056
|
+
* PROMOTION_NOT_RUNNING means the promotion is not in a state where a deploy machine runs, so there is nothing to fetch for; read the promotion to see its state. SOURCE_NOT_PLATFORM means the project's code is on GitHub, which has no checkout credential from this call.
|
|
101057
|
+
*/
|
|
101058
|
+
409: DevopsDevOpsError;
|
|
101059
|
+
/**
|
|
101060
|
+
* 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.
|
|
101061
|
+
*/
|
|
101062
|
+
500: DevopsDevOpsError;
|
|
101063
|
+
/**
|
|
101064
|
+
* REGISTRY_UNAVAILABLE means the platform's Git registry would not issue a credential just now; the machine retries the request shortly.
|
|
101065
|
+
*/
|
|
101066
|
+
502: DevopsDevOpsError;
|
|
101067
|
+
};
|
|
101068
|
+
export type DevopsPromotionsCheckoutCredentialError = DevopsPromotionsCheckoutCredentialErrors[keyof DevopsPromotionsCheckoutCredentialErrors];
|
|
101069
|
+
export type DevopsPromotionsCheckoutCredentialResponses = {
|
|
101070
|
+
/**
|
|
101071
|
+
* The clone URL and a pull-only credential for that repository, valid until expireTime. Treat password as a secret: hand it to git through a credential helper and never print or store it.
|
|
101072
|
+
*/
|
|
101073
|
+
200: DevopsCheckoutCredential;
|
|
101074
|
+
};
|
|
101075
|
+
export type DevopsPromotionsCheckoutCredentialResponse = DevopsPromotionsCheckoutCredentialResponses[keyof DevopsPromotionsCheckoutCredentialResponses];
|
|
100391
101076
|
export type DevopsRolloutsListData = {
|
|
100392
101077
|
body?: never;
|
|
100393
101078
|
path: {
|
|
@@ -101806,7 +102491,7 @@ export type DevopsChangesOpenPullRequestErrors = {
|
|
|
101806
102491
|
export type DevopsChangesOpenPullRequestError = DevopsChangesOpenPullRequestErrors[keyof DevopsChangesOpenPullRequestErrors];
|
|
101807
102492
|
export type DevopsChangesOpenPullRequestResponses = {
|
|
101808
102493
|
/**
|
|
101809
|
-
* The pull request for the change's branch: its number,
|
|
102494
|
+
* The pull request for the change's branch: its id, number, link, whether this call opened it, and whether it rewrote an already open one.
|
|
101810
102495
|
*/
|
|
101811
102496
|
200: DevopsChangePullRequestOpened;
|
|
101812
102497
|
};
|
|
@@ -101881,6 +102566,10 @@ export type DevopsPullRequestsListData = {
|
|
|
101881
102566
|
* A GitHub login to build the "waiting on me" list: only pull requests where that person is a requested reviewer and has not answered yet are returned. Somebody who already approved, requested changes or commented is no longer waiting on, so they do not appear.
|
|
101882
102567
|
*/
|
|
101883
102568
|
reviewer?: string;
|
|
102569
|
+
/**
|
|
102570
|
+
* Review is after-the-fact sampling (Sean 2026-11-24). false lists the pull requests nobody has recorded a review verdict for — send it with filter state=merged to get the merged pull requests still waiting for a sample; true lists the ones that have a review. Omit it to ignore reviews.
|
|
102571
|
+
*/
|
|
102572
|
+
reviewed?: boolean;
|
|
101884
102573
|
};
|
|
101885
102574
|
url: '/devops/v1/projects/{project}/pull-requests';
|
|
101886
102575
|
};
|
|
@@ -102030,7 +102719,7 @@ export type DevopsPullRequestsMergeErrors = {
|
|
|
102030
102719
|
*/
|
|
102031
102720
|
404: DevopsDevOpsError;
|
|
102032
102721
|
/**
|
|
102033
|
-
* GATE_NOT_PASSED when the gate has not passed at the current head, PULL_REQUEST_NOT_OPEN when the pull request is not open, HEAD_MOVED when its head moved past the commit the gate decided on, or MERGE_REFUSED when GitHub refuses the merge for its own reason (a conflict, or a check of GitHub's that is not green) — the message carries its words.
|
|
102722
|
+
* GATE_NOT_PASSED when the gate has not passed at the current head, PULL_REQUEST_NOT_OPEN when the pull request is not open, HEAD_MOVED when its head moved past the commit the gate decided on, or MERGE_REFUSED when GitHub refuses the merge for its own reason (a conflict, or a check of GitHub's that is not green) — the message carries its words. On our own Git the failures of the write itself are named too: GIT_AUTH_FAILED (the repository refused the credential DevOps wrote with), GIT_NOT_FAST_FORWARD (the base kept moving), GIT_CONFLICT, GIT_WRITE_FAILED for any other git failure — each carries git's words with credentials masked — and PLATFORM_UNSUPPORTED for something our own Git cannot do yet.
|
|
102034
102723
|
*/
|
|
102035
102724
|
409: DevopsDevOpsError;
|
|
102036
102725
|
/**
|
|
@@ -102082,7 +102771,7 @@ export type DevopsPullRequestsRecordVerdictErrors = {
|
|
|
102082
102771
|
export type DevopsPullRequestsRecordVerdictError = DevopsPullRequestsRecordVerdictErrors[keyof DevopsPullRequestsRecordVerdictErrors];
|
|
102083
102772
|
export type DevopsPullRequestsRecordVerdictResponses = {
|
|
102084
102773
|
/**
|
|
102085
|
-
* The pull request with the
|
|
102774
|
+
* The pull request with the review recorded on it; its gate is unchanged.
|
|
102086
102775
|
*/
|
|
102087
102776
|
200: DevopsPullRequest;
|
|
102088
102777
|
};
|
|
@@ -102635,7 +103324,7 @@ export type DevopsWorkspacesGetData = {
|
|
|
102635
103324
|
*/
|
|
102636
103325
|
project: string;
|
|
102637
103326
|
/**
|
|
102638
|
-
* The stage whose workspace you address: development, integration or
|
|
103327
|
+
* The stage whose workspace you address: development, integration or release. development is the persistent stage that carries changes; integration and release hold one-off units.
|
|
102639
103328
|
*/
|
|
102640
103329
|
stage: DevopsWorkspaceStage;
|
|
102641
103330
|
};
|
|
@@ -102680,7 +103369,7 @@ export type DevopsWorkspacesUpdateData = {
|
|
|
102680
103369
|
*/
|
|
102681
103370
|
project: string;
|
|
102682
103371
|
/**
|
|
102683
|
-
* The stage whose workspace you address: development, integration or
|
|
103372
|
+
* The stage whose workspace you address: development, integration or release. development is the persistent stage that carries changes; integration and release hold one-off units.
|
|
102684
103373
|
*/
|
|
102685
103374
|
stage: DevopsWorkspaceStage;
|
|
102686
103375
|
};
|
|
@@ -102824,6 +103513,56 @@ export type DevopsUnitsCreateResponses = {
|
|
|
102824
103513
|
200: DevopsUnit;
|
|
102825
103514
|
};
|
|
102826
103515
|
export type DevopsUnitsCreateResponse = DevopsUnitsCreateResponses[keyof DevopsUnitsCreateResponses];
|
|
103516
|
+
export type DevopsCleanupsListData = {
|
|
103517
|
+
body?: never;
|
|
103518
|
+
path: {
|
|
103519
|
+
/**
|
|
103520
|
+
* Identifies the project whose data you are reading, from the project list or create answer.
|
|
103521
|
+
*/
|
|
103522
|
+
project: string;
|
|
103523
|
+
};
|
|
103524
|
+
query?: {
|
|
103525
|
+
/**
|
|
103526
|
+
* 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.
|
|
103527
|
+
*/
|
|
103528
|
+
pageSize?: number;
|
|
103529
|
+
/**
|
|
103530
|
+
* The cursor from the previous page's nextPageToken. Treat it as opaque and never build one yourself; omit it for the first page.
|
|
103531
|
+
*/
|
|
103532
|
+
pageToken?: string;
|
|
103533
|
+
};
|
|
103534
|
+
url: '/devops/v1/projects/{project}/cleanups';
|
|
103535
|
+
};
|
|
103536
|
+
export type DevopsCleanupsListErrors = {
|
|
103537
|
+
/**
|
|
103538
|
+
* 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.
|
|
103539
|
+
*/
|
|
103540
|
+
400: DevopsDevOpsError;
|
|
103541
|
+
/**
|
|
103542
|
+
* The API key is missing or invalid; send a valid Praxis API key in the Authorization header before retrying.
|
|
103543
|
+
*/
|
|
103544
|
+
401: DevopsDevOpsError;
|
|
103545
|
+
/**
|
|
103546
|
+
* 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.
|
|
103547
|
+
*/
|
|
103548
|
+
403: DevopsDevOpsError;
|
|
103549
|
+
/**
|
|
103550
|
+
* PROJECT_NOT_FOUND means no project with that id is visible to this organization; list the projects and use an id from that answer.
|
|
103551
|
+
*/
|
|
103552
|
+
404: DevopsDevOpsError;
|
|
103553
|
+
/**
|
|
103554
|
+
* 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.
|
|
103555
|
+
*/
|
|
103556
|
+
500: DevopsDevOpsError;
|
|
103557
|
+
};
|
|
103558
|
+
export type DevopsCleanupsListError = DevopsCleanupsListErrors[keyof DevopsCleanupsListErrors];
|
|
103559
|
+
export type DevopsCleanupsListResponses = {
|
|
103560
|
+
/**
|
|
103561
|
+
* One page of the project's cleanup ledger, newest decision first.
|
|
103562
|
+
*/
|
|
103563
|
+
200: DevopsCleanupPage;
|
|
103564
|
+
};
|
|
103565
|
+
export type DevopsCleanupsListResponse = DevopsCleanupsListResponses[keyof DevopsCleanupsListResponses];
|
|
102827
103566
|
export type DevopsUnitsDeleteData = {
|
|
102828
103567
|
body?: never;
|
|
102829
103568
|
path: {
|